/* CreArt Canada — design system v2 ("gallery").  Mobile first · 700px tablet · 1024px desktop.
   Display: Instrument Serif (Latin) / Noto Serif SC (Chinese) · Text: Inter / PingFang.
   Colour is restrained: ink + warm paper; the logo gradient appears only as a fine accent. */
:root {
  --ink: #0e1030;
  --ink-2: #23275a;
  --text: #2a2c3f;
  --muted: #6b6f86;
  --paper: #f6f3ee;
  --paper-2: #efe9e0;
  --card: #fffdfa;
  --line: #e2dbcf;
  --line-dark: rgba(255, 255, 255, .14);
  --orange: #f7931e;
  --pink: #e8336f;
  --grad: linear-gradient(90deg, #f7931e, #ee4f46 55%, #e8336f);
  --gold: #b8862b; --silver: #8a93a3; --bronze: #a8693a;
  --r: 6px; --r-sm: 4px;
  --shadow: 0 1px 1px rgba(14, 16, 48, .04), 0 12px 32px -8px rgba(14, 16, 48, .14);
  --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --hdr: 68px;
}
html:lang(zh-Hans) { --serif: "Noto Serif SC", "Songti SC", "Instrument Serif", serif; }
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html:lang(zh-Hans) body { line-height: 1.85; letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; }
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2 { font-weight: 700; line-height: 1.28; letter-spacing: .02em; }
h3 { font-family: var(--sans); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; font-size: 1.1rem; }
em { font-style: italic; }
html:lang(zh-Hans) em { font-style: normal; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); font-size: .93rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* kicker = small label above headings, with a fine gradient rule */
.kicker { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
html:lang(zh-Hans) .kicker { letter-spacing: .12em; font-size: .8rem; }
.kicker-line { width: 36px; height: 2px; background: var(--grad); flex-shrink: 0; }
.eyebrow { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .65em 1.35em; border-radius: var(--r-sm); font-family: var(--sans); font-weight: 600; font-size: .94rem; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; cursor: pointer; }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1rem; }
.btn-dark, .btn-grad { background: var(--ink); color: #fff; }
.btn-dark:hover, .btn-grad:hover { background: var(--ink-2); color: #fff; }
.btn-grad { position: relative; }
.btn-grad::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px; background: var(--grad); }
.btn-ghost { border-color: rgba(14, 16, 48, .28); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 238, .9); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.site-header.scrolled { border-color: var(--line); background: rgba(246, 243, 238, .96); }
.hdr { display: flex; align-items: center; gap: 16px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: "Instrument Serif", Georgia, serif; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; font-weight: 400; }
.brand b { font-weight: 400; font-style: italic; margin-left: .2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 2px; }
.brand-light { color: #fff; }
.brand-light img { background: #fff; border-radius: 50%; padding: 3px; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"] { color: var(--ink); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px; background: var(--card); }
.lang a { white-space: nowrap; text-decoration: none; font-size: .78rem; font-weight: 600; color: var(--muted); padding: .32em .7em; border-radius: 3px; min-width: 40px; text-align: center; line-height: 1.6; letter-spacing: .04em; }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.hdr-cta { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 1023px) {
  /* no backdrop-filter on phones: it would trap the fixed menu inside the header */
  .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { position: fixed; inset: var(--hdr) 0 0 0; background: var(--paper); padding: 16px 20px 32px; overflow-y: auto; display: none; margin: 0; }
  .nav.open { display: block; animation: navIn .22s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav > ul > li { border-bottom: 1px solid var(--line); position: relative; }
  .nav > ul > li > a { display: block; padding: 16px 2px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
  html:lang(zh-Hans) .nav > ul > li > a { font-size: 1.3rem; font-weight: 700; }
  .sub-toggle { position: absolute; right: 0; top: 10px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
  .sub-toggle::after { content: ""; display: block; width: 9px; height: 9px; margin: auto; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .sub { list-style: none; padding: 0 0 14px 2px; margin: 0; display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { display: block; padding: 9px 2px; color: var(--muted); }
  .nav-foot { padding-top: 24px; }
  .nav-foot .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .burger, .nav-foot { display: none; }
  .hdr-cta { display: inline-flex; min-height: 40px; padding: .5em 1.1em; }
  .nav > ul { display: flex; gap: 2px; align-items: center; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a { display: block; padding: 8px 13px; font-size: .93rem; position: relative; }
  .nav > ul > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .sub-toggle { display: none; }
  .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 4px; min-width: 240px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .18s; border-radius: var(--r); }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: block; padding: 9px 12px; font-size: .92rem; border-radius: 3px; }
  .sub a:hover { background: var(--paper); color: var(--ink); }
  .hdr-actions { margin-left: 10px; }
}

/* ---------- home: hero ---------- */
.hero2 { background: var(--ink); color: #d9dbea; position: relative; overflow: hidden; }
.hero2::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 88% 18%, rgba(247, 147, 30, .16), transparent 70%), radial-gradient(45% 55% at 70% 95%, rgba(232, 51, 111, .14), transparent 70%); pointer-events: none; }
.hero2-grid { position: relative; display: grid; gap: 40px; padding-top: 44px; padding-bottom: 44px; }
.hero2 .kicker { color: #b5b8d3; }
.hero2 h1 { color: #fff; font-size: clamp(2.6rem, 9vw, 5.4rem); margin-bottom: .35em; }
.hero2 h1 em { display: block; color: #fff; opacity: .9; }
html:lang(zh-Hans) .hero2 h1 { font-size: clamp(2.2rem, 8vw, 4.4rem); }
html:lang(zh-Hans) .hero2 h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 1; }
.hero2-theme { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 6px; padding: 16px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); max-width: 560px; }
.hero2-theme span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #9ea2c4; font-weight: 600; }
.hero2-theme b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 2.1rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
html:lang(zh-Hans) .hero2-theme b { font-style: normal; font-weight: 700; }
.hero2-theme i { font-style: normal; color: #d9dbea; flex-basis: 100%; }
.hero2-dates { color: #9ea2c4; font-size: .92rem; margin: 0; }
.hero2-art { margin: 0; justify-self: center; width: min(100%, 460px); }
.hero2-frame { display: block; background: #fff; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(-1.2deg); transition: transform .4s; }
.hero2-frame:hover { transform: rotate(0); }
.hero2-frame img { width: 100%; max-height: 62vh; object-fit: contain; background: #f1ede6; }
.hero2-art figcaption { margin-top: 18px; padding-left: 12px; border-left: 2px solid #ee4f46; font-size: .86rem; line-height: 1.5; color: #b5b8d3; }
.hero2-art figcaption b { display: block; color: #fff; font-weight: 600; font-size: .95rem; }
.hero2-art figcaption span { display: block; }
@media (min-width: 900px) {
  .hero2-grid { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 72px; padding-top: 80px; padding-bottom: 72px; }
}
/* moving strip of winning artworks */
.strip { position: relative; overflow: hidden; padding: 0 0 28px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: strip 70s linear infinite; }
.strip span { flex: 0 0 auto; height: 120px; background: #fff; padding: 5px; }
.strip img { height: 110px; width: auto; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (min-width: 900px) { .strip span { height: 150px; } .strip img { height: 140px; } }

/* stats row */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.stats > div { padding: 26px 8px 22px 0; border-right: 1px solid var(--line); }
.stats > div:nth-child(2n) { border-right: 0; padding-left: 20px; }
.stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1; color: var(--ink); }
.stats sup { font-size: .45em; vertical-align: super; }
.stats span { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div { padding: 34px 28px !important; border-top: 0 !important; border-right: 1px solid var(--line) !important; }
  .stats > div:first-child { padding-left: 0 !important; }
  .stats > div:last-child { border-right: 0 !important; }
}

/* ---------- bands ---------- */
.band { padding: 64px 0; }
.band-soft { background: var(--paper-2); }
.band-ink { background: var(--ink); color: #c9cbe0; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink .kicker { color: #9ea2c4; }
.sec-intro { margin-bottom: 36px; max-width: 760px; }
.sec-intro.row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.sec-intro h2, .band h2 { font-size: clamp(2rem, 5.4vw, 3.4rem); margin-bottom: 0; }
html:lang(zh-Hans) .sec-intro h2, html:lang(zh-Hans) .band h2 { font-size: clamp(1.7rem, 4.6vw, 2.7rem); }
@media (min-width: 900px) { .band { padding: 104px 0; } }

/* theme */
.theme-grid { display: grid; gap: 44px; align-items: center; }
.display { font-size: clamp(4rem, 17vw, 9.5rem) !important; line-height: .9 !important; font-style: italic; margin: 0 0 .1em !important; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
html:lang(zh-Hans) .display { font-style: normal; font-size: clamp(3.6rem, 15vw, 7.5rem) !important; }
.theme-tag { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--ink); margin-bottom: 1em; }
html:lang(zh-Hans) .theme-tag { font-size: 1.35rem; font-weight: 500; }
.theme-poem { max-width: 560px; color: var(--text); }
.theme-end { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35; color: var(--ink); margin-top: 1.2em; }
html:lang(zh-Hans) .theme-end { font-style: normal; font-size: 1.2rem; font-weight: 500; }
.poster { margin: 0; justify-self: center; max-width: 420px; }
.poster img { box-shadow: 0 30px 60px -24px rgba(14, 16, 48, .4); }
.poster figcaption { text-align: center; margin-top: 16px; font-size: .9rem; font-weight: 500; }
@media (min-width: 900px) { .theme-grid { grid-template-columns: 1.15fr .85fr; gap: 88px; } }

/* rules at a glance (home + rules page) */
.glance { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.glance > div { padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
html:lang(zh-Hans) .glance dt { letter-spacing: .08em; font-size: .8rem; }
.glance dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; color: var(--ink); }
html:lang(zh-Hans) .glance dd { font-size: 1.12rem; font-weight: 500; }
@media (min-width: 900px) { .glance { grid-template-columns: repeat(3, 1fr); } .glance > div { padding: 24px 24px 24px 0; } }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 28px; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li:first-child::before, .timeline li:nth-child(2)::before { background: var(--grad); border-color: transparent; }
.timeline time { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.timeline span { color: var(--muted); font-size: .93rem; }
@media (min-width: 760px) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline li { border-left: 0; border-top: 1px solid var(--line); padding: 22px 16px 0 0; margin: 0; }
  .timeline li::before { left: 0; top: -6px; }
}

/* categories */
.cat-grid { display: grid; gap: 18px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; position: relative; color: var(--text); }
.band-ink .cat { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); color: #c9cbe0; }
.cat-n { font-family: var(--serif); font-size: 1rem; color: var(--muted); margin-bottom: 4px; }
.band-ink .cat-n { color: #9ea2c4; }
.cat h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1.1; margin-bottom: .35em; }
html:lang(zh-Hans) .cat h3 { font-weight: 700; font-size: 1.7rem; }
.cat > p { opacity: .85; }
.groups { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.band-ink .groups { border-color: var(--line-dark); }
.groups li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.band-ink .groups li { border-color: var(--line-dark); }
.groups .g { width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-content: center; font-weight: 600; font-size: .78rem; opacity: .8; }
.groups b { font-weight: 600; color: inherit; }
.band-ink .groups b { color: #fff; }
.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prize { text-align: left; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); }
.band-ink .prize { background: transparent; border-color: var(--line-dark); }
.prize b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--ink); }
.band-ink .prize b { color: #fff; }
.prize span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.prize-gold span { color: var(--gold); } .prize-silver span { color: var(--silver); } .prize-bronze span { color: var(--bronze); }
.band-ink .prize-gold span { color: #e3b75c; } .band-ink .prize-silver span { color: #c3cad6; } .band-ink .prize-bronze span { color: #d79a6c; }
.prizes-lg .prize b { font-size: 2.3rem; }
@media (min-width: 760px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .cat { padding: 36px 34px; } }

/* info + volunteers + partners */
.info-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info { background: var(--paper-2); padding: 30px 26px; }
.info-n { font-family: var(--serif); font-size: 1rem; color: var(--muted); margin-bottom: 10px; }
.info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
html:lang(zh-Hans) .info h3 { font-weight: 700; font-size: 1.3rem; }
.info p { color: var(--muted); font-size: .95rem; }
.more { font-weight: 600; text-decoration: none; font-size: .93rem; }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); } .info { padding: 40px 34px; } }
.vol-grid { display: grid; gap: 36px; align-items: start; }
.roles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.roles li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.role-n { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--muted); min-width: 34px; }
.roles h3 { margin-bottom: .1em; }
.role-k { color: var(--pink); font-weight: 500; font-size: .84rem; letter-spacing: .04em; margin-bottom: .4em; }
.roles p { margin-bottom: 0; font-size: .94rem; color: var(--muted); }
.roles .role-k { color: var(--pink); }
.qr-card { background: var(--ink); color: #fff; padding: 28px; text-align: center; justify-self: center; max-width: 320px; border-radius: var(--r); }
.qr-card img { background: #fff; padding: 10px; margin: 0 auto 16px; width: 220px; }
.qr-card p { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .vol-grid { grid-template-columns: 1.5fr .7fr; gap: 72px; } .roles { grid-template-columns: 1fr 1fr; column-gap: 36px; } .qr-card { position: sticky; top: calc(var(--hdr) + 24px); } }
.partners { padding-top: 40px; }
.partner-row { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); }
.partner-row h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0; font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; gap: 20px 34px; align-items: center; margin: 12px 0; }
.logos img { max-height: 60px; width: auto; max-width: 180px; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 760px) { .partner-row { grid-template-columns: 260px 1fr; align-items: center; } .logos { margin: 0; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: 32px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero.has-img { color: #fff; background: var(--ink); border: 0; padding: 56px 0 52px; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero.has-img .wrap { position: relative; }
.page-hero.has-img h1, .page-hero.has-img .crumbs a, .page-hero.has-img .crumbs li { color: #fff; }
.page-hero.has-img .kicker, .page-hero.has-img .eyebrow { color: #c9cbe0; }
.page-hero h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); margin-bottom: .25em; max-width: 20ch; }
html:lang(zh-Hans) .page-hero h1 { font-size: clamp(1.9rem, 6vw, 3.4rem); max-width: 24ch; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }
.page-hero.has-img .lead { color: #d0d2e6; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.content { padding-top: 36px; padding-bottom: 72px; }
.content > * + * { margin-top: 22px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin-top: 1em; }
.prose h3 { margin-top: .9em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.sec-h { font-size: clamp(1.7rem, 4.6vw, 2.5rem); margin-top: 56px !important; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
html:lang(zh-Hans) .sec-h { font-size: clamp(1.4rem, 4vw, 2rem); }
.sec-h small { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.medal-dot { width: 13px; height: 13px; border-radius: 50%; align-self: center; flex-shrink: 0; }
.medal-gold .medal-dot { background: radial-gradient(circle at 30% 30%, #f5d98b, var(--gold)); }
.medal-silver .medal-dot { background: radial-gradient(circle at 30% 30%, #fff, var(--silver)); }
.medal-bronze .medal-dot { background: radial-gradient(circle at 30% 30%, #f0c39d, var(--bronze)); }
.chips { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); }
.chip-col { padding: 12px 18px 12px 0; display: flex; flex-direction: column; min-width: 140px; flex: 1 1 160px; border-bottom: 1px solid var(--line); }
.chip-col span { font-weight: 500; color: var(--ink); }
.medal-chip { font-weight: 600 !important; text-transform: uppercase; font-size: .74rem; letter-spacing: .14em; }
.medal-chip.medal-gold { color: var(--gold) !important; } .medal-chip.medal-silver { color: var(--silver) !important; } .medal-chip.medal-bronze { color: var(--bronze) !important; }
.cols { display: grid; gap: 18px; }
.card-soft { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; max-width: none; }
.card-soft > :last-child { margin-bottom: 0; }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* galleries: museum frames, whole artwork visible */
.gallery { columns: 2 150px; column-gap: 16px; }
.gallery-2 { columns: 2 220px; max-width: 920px; }
.art { break-inside: avoid; margin: 0 0 18px; }
.art .lb { background: #fff; padding: 8px; box-shadow: 0 1px 2px rgba(14, 16, 48, .06), 0 6px 18px -6px rgba(14, 16, 48, .12); transition: box-shadow .25s; }
.art:hover .lb { box-shadow: 0 1px 2px rgba(14, 16, 48, .06), 0 18px 36px -10px rgba(14, 16, 48, .28); }
.art img { width: 100%; background: #f1ede6; }
.art figcaption { padding: 10px 2px 0; line-height: 1.35; }
.art figcaption strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; }
.art figcaption span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
@media (min-width: 700px) { .gallery { columns: 3 200px; column-gap: 26px; } .art { margin-bottom: 30px; } .art .lb { padding: 10px; } }
@media (min-width: 1100px) { .gallery { columns: 4 220px; } }
.figure { margin: 0; max-width: 920px; }
.figure-wide { max-width: none; }
.figure figcaption { padding-top: 10px; color: var(--muted); font-size: .9rem; }
.lb { display: block; cursor: zoom-in; }

/* link cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.cards-lg { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card-img { aspect-ratio: 4/5; background: var(--paper-2); overflow: hidden; border-radius: 2px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.04); }
.card-label { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 0 12px; font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.3; border-bottom: 1px solid var(--line); }
.card-label small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 3px; }
.card-label i { font-style: normal; transition: transform .25s; }
.card:hover .card-label i { transform: translateX(4px); }
.card:hover .card-label { color: var(--ink); }

/* gallery hub */
.year-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.year-jump a { text-decoration: none; font-family: "Instrument Serif", Georgia, serif; font-size: 1.2rem; color: var(--ink); border: 1px solid var(--line); padding: .2em .9em; border-radius: var(--r-sm); background: var(--card); }
.year-jump a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.year { padding: 40px 0 8px; border-top: 1px solid var(--line); }
.year:first-child { border-top: 0; padding-top: 8px; }
.year-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.year-head h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(3rem, 9vw, 5rem); margin: 0; line-height: 1; }
.year-head p { margin: 0; color: var(--muted); }

.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; font-size: .9rem; color: var(--muted); }
.related { padding-bottom: 72px; border-top: 1px solid var(--line); padding-top: 32px; }
.related h2 { font-size: 1.8rem; }
.video { position: relative; aspect-ratio: 16/9; max-width: 920px; overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map { overflow: hidden; min-height: 320px; border: 1px solid var(--line); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.4); }

/* contact */
.contact-grid { display: grid; gap: 24px; }
.contact-cards { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.ccard { display: block; padding: 20px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
a.ccard:hover b { color: var(--pink); }
.ccard span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ccard b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--ink); font-size: 1.6rem; line-height: 1.25; word-break: break-word; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } .map, .map iframe { min-height: 460px; } }

/* ---------- rules page ---------- */
.rules-hero { padding-bottom: 8px; border: 0; }
.glance-hero { margin-top: 36px; }
.timeline-page { margin: 40px 0 8px; }
.rules-layout { display: grid; gap: 32px; padding: 32px 0 80px; }
.toc { display: none; }
@media (min-width: 1024px) {
  .rules-layout { grid-template-columns: 220px 1fr; gap: 64px; }
  .toc { display: block; position: sticky; top: calc(var(--hdr) + 28px); align-self: start; }
  .toc p { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
  .toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; border-left: 1px solid var(--line); }
  .toc li { counter-increment: toc; }
  .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: .9rem; line-height: 1.35; }
  .toc a::before { content: counter(toc, decimal-leading-zero) "\00a0\00a0"; font-variant-numeric: tabular-nums; opacity: .6; }
  .toc li:last-child a::before { content: ""; }
  .toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--pink); }
}
.rules-main { min-width: 0; }
.rule { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 20px); }
.rule:first-child { border-top: 0; padding-top: 0; }
.rule-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.rule-n { font-family: "Instrument Serif", Georgia, serif; font-size: 1.3rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 28px; }
.rule h2 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); margin: 0; }
html:lang(zh-Hans) .rule h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.rule-body { max-width: 780px; }
@media (min-width: 700px) { .rule-body { padding-left: 46px; } }
.rule-body > p { font-size: 1.04rem; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
.elig { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
.elig th, .elig td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.elig thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.elig tbody th { font-weight: 600; color: var(--ink); }
.elig td.yes { color: var(--ink); font-weight: 700; }
.elig td.no { color: #b9b3a8; }
.rule-cards { display: grid; gap: 14px; margin-top: 8px; }
.rule-cards > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.rule-cards h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: .3em; }
html:lang(zh-Hans) .rule-cards h3 { font-weight: 700; font-size: 1.25rem; }
.rule-cards p { margin: 0; color: var(--muted); }
@media (min-width: 700px) { .rule-cards { grid-template-columns: 1fr 1fr; } }
.checks { list-style: none; padding: 0; margin: 10px 0; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 13px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.crosses li::before { content: "×"; border: 0; transform: none; top: 7px; left: 3px; width: auto; height: auto; color: var(--pink); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.rule-steps { list-style: none; padding: 0; margin: 10px 0; counter-reset: rs; display: grid; }
.rule-steps li { counter-increment: rs; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rule-steps li::before { content: counter(rs); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-content: center; font-size: .85rem; font-weight: 600; }
.rule-steps b { color: var(--ink); font-weight: 600; }
.rule-steps span { color: var(--muted); }
.fee-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 12px 0 18px; }
.fee-table > div { background: var(--card); padding: 18px 20px; }
.fee-table span { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fee-table b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 2.2rem; color: var(--ink); line-height: 1.15; }
.tip { margin-top: 16px; padding: 14px 18px; background: var(--paper-2); border-left: 2px solid #ee4f46; font-size: .95rem; color: var(--text); }
.legal { font-size: .9rem; line-height: 1.75; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 20px 22px; border-radius: var(--r); }
.prizes-lg { margin: 12px 0 18px; }

/* entry box + form */
.entry { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; margin: 40px 0 !important; scroll-margin-top: calc(var(--hdr) + 16px); }
.entry-head { background: var(--ink); color: #fff; padding: 28px 24px; position: relative; }
.entry-head::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--grad); }
.entry-head h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .15em; }
.entry-head p { margin: 0; color: #b5b8d3; }
.entry-body { padding: 24px; }
.entry-status { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.entry-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247, 147, 30, .18); flex-shrink: 0; }
.fee-list { padding-left: 1.2em; }
.fee-list li { margin-bottom: .6em; }
@media (min-width: 760px) { .entry-head, .entry-body { padding: 34px 40px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d3ccbf; border-radius: var(--r-sm); font: inherit; font-size: 16px; background: #fff; color: var(--text); }
.field textarea { min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(14, 16, 48, .08); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field.err input, .field.err select { border-color: #c4314b; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 24px; }
.steps-bar span { flex: 1; height: 3px; background: var(--line); }
.steps-bar span.on { background: var(--grad); }
.artwork-card { border: 1px dashed #cfc6b6; border-radius: var(--r); padding: 18px; display: grid; gap: 12px; }
.drop { display: grid; place-items: center; text-align: center; min-height: 150px; background: var(--paper); cursor: pointer; padding: 12px; font-weight: 500; color: var(--muted); border-radius: var(--r-sm); }
.drop img { max-height: 220px; width: auto; }
.sig { width: 100%; height: 160px; border: 1px solid #d3ccbf; border-radius: var(--r-sm); background: #fff; touch-action: none; }
.total { display: flex; justify-content: space-between; align-items: center; background: var(--paper); padding: 16px 20px; font-weight: 600; color: var(--ink); }
.total b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.9rem; }
.form-msg { padding: 12px 16px; background: #fbeef0; color: #9b1c33; font-weight: 500; border-left: 3px solid #c4314b; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b5b8d3; padding: 64px 0 28px; }
.foot { display: grid; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e2e4f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.foot-brand .brand span { font-size: 1.8rem; }
.foot-brand p { margin-top: 18px; max-width: 400px; font-size: .93rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: .84rem; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 11, 30, .96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; grid-column: 2; display: grid; justify-items: center; gap: 14px; max-height: 100vh; padding: 60px 0 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; background: #fff; padding: 10px; }
.lightbox figcaption { color: #fff; text-align: center; font-weight: 500; padding: 0 8px; }
.lightbox button { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 1.7rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; justify-self: center; line-height: 1; }
.lightbox button:hover { border-color: #fff; }
.lb-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 699px) { .lightbox { grid-template-columns: 0 1fr 0; } .lb-prev, .lb-next { position: absolute; bottom: 20px; } .lb-prev { left: 30%; } .lb-next { right: 30%; } .lightbox figure { padding: 60px 8px 90px; } }

/* ---------- galleries v3: justified rows, reading order, award tiers ---------- */
.jg { --rh: 150px; display: flex; flex-wrap: wrap; gap: 26px 14px; margin-top: 18px; }
.jg::after { content: ""; flex-grow: 100000; }
.jg .art { flex: var(--g) 1 calc(var(--r) * var(--rh)); min-width: 0; margin: 0; display: flex; flex-direction: column; }
.jg .art .lb { padding: 7px; background: #fff; box-shadow: 0 1px 2px rgba(14, 16, 48, .06), 0 8px 22px -10px rgba(14, 16, 48, .22); transition: box-shadow .3s, transform .3s; }
.jg .art:hover .lb { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14, 16, 48, .06), 0 22px 40px -14px rgba(14, 16, 48, .38); }
.jg .art img { width: 100%; aspect-ratio: var(--r); object-fit: cover; background: #efe9e0; }
.jg .art figcaption { padding: 12px 2px 0; line-height: 1.35; display: flex; flex-direction: column; gap: 3px; }
.jg .art figcaption strong { color: var(--ink); font-size: .95rem; font-weight: 600; }
.jg .art figcaption span { color: var(--muted); font-size: .8rem; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
html:lang(zh-Hans) .chip { letter-spacing: .04em; font-size: .74rem; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip-gold { color: var(--gold); } .chip-silver { color: var(--silver); } .chip-bronze { color: var(--bronze); }
.chip-special { color: var(--pink); } .chip-outstanding { color: var(--ink-2); }
.jg-lg { --rh: 260px; gap: 36px 22px; }
.jg-lg .art .lb { padding: 12px; }
.jg-lg .art figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
html:lang(zh-Hans) .jg-lg .art figcaption strong { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; }
/* large tier (Gold, or a pair of works): even gallery wall, each work shown whole */
.jg.jg-lg { display: grid; grid-template-columns: 1fr; align-items: end; }
.jg.jg-lg::after { display: none; }
.jg.jg-lg .art img { aspect-ratio: auto; object-fit: contain; max-height: 70vh; }
@media (min-width: 700px) { .jg.jg-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tier-gold .art .lb { box-shadow: 0 0 0 1px rgba(184, 134, 43, .35), 0 14px 34px -14px rgba(120, 84, 16, .45); }
@media (min-width: 700px) { .jg { --rh: 210px; gap: 34px 22px; } .jg-lg { --rh: 340px; gap: 44px 30px; } .jg .art .lb { padding: 9px; } .jg-lg .art .lb { padding: 14px; } }
@media (min-width: 1100px) { .jg { --rh: 250px; } .jg-lg { --rh: 420px; } }

/* gallery page: artwork count + jump to award */
.gal-bar { position: sticky; top: var(--hdr); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 0; margin: -12px 0 8px; background: rgba(246, 243, 238, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.gal-count { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gal-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 100%; }
.gal-jump::-webkit-scrollbar { display: none; }
.gal-jump a { flex: 0 0 auto; text-decoration: none; font-size: .85rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line); background: var(--card); padding: .35em .85em; border-radius: 999px; white-space: nowrap; }
.gal-jump a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 1023px) { .gal-bar { position: static; } }
.sec-h { scroll-margin-top: calc(var(--hdr) + 70px); }

/* collage covers on the year index */
.card-img.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--paper); }
.card-img.mosaic img:first-child { grid-row: span 2; }

/* lightbox: counter + award */
.lb-count { position: absolute; top: 22px; left: 22px; color: #b5b8d3; font-size: .82rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.lightbox figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.lightbox figcaption small { display: block; color: #b5b8d3; font-size: .85rem; margin-top: 2px; }
.lightbox figcaption .chip { margin-top: 8px; align-self: center; }
.lightbox figcaption { display: grid; justify-items: center; }
.lightbox img { transition: opacity .2s; }
.lightbox img.loading { opacity: .25; }

/* entry: step preview in the header */
.entry-head .kicker { color: #9ea2c4; margin-bottom: 10px; }
.entry-steps { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: #c9cbe0; }
.entry-steps li { display: flex; align-items: center; gap: 8px; }
.entry-steps span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-content: center; font-size: .75rem; }
.entry-steps li.on { color: #fff; }
.entry-steps li.on span { background: var(--grad); border-color: transparent; }
.entry-steps li.done span { background: #fff; color: var(--ink); border-color: #fff; }
.entry-body h3 { margin-top: 1.2em; }
.entry-body form > h3:first-of-type { margin-top: 0; font-family: var(--serif); font-weight: 400; font-size: 2rem; }
html:lang(zh-Hans) .entry-body form > h3:first-of-type { font-weight: 700; font-size: 1.5rem; }
@media (min-width: 700px) { .form-grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.field label i { color: var(--pink); font-style: normal; }
.entrant { border-top: 1px solid var(--line); padding: 20px 0 8px; display: grid; gap: 14px; }
.entrant:first-of-type { border-top: 0; padding-top: 6px; }
.entrant-head, .art-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.entrant-head b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
html:lang(zh-Hans) .entrant-head b { font-weight: 700; font-size: 1.15rem; }
.art-card-head b { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--muted); font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: #c4314b; }
.age-note { margin: 0; font-size: .92rem; color: var(--muted); }
.age-note b { color: var(--ink); }
.add-btn { justify-self: start; border-style: dashed; }
.artwork-card { background: #fff; border: 1px solid var(--line); }
.drop { position: relative; min-height: 170px; border: 1.5px dashed #cfc6b6; transition: border-color .2s, background .2s; overflow: hidden; }
.drop:hover, .drop:focus-visible { border-color: var(--ink); background: #fff; }
.drop.has { border-style: solid; background: #fff; }
.drop .drop-inner { display: grid; gap: 6px; justify-items: center; }
.drop .up-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; font-size: 1.1rem; color: var(--ink); background: #fff; }
.drop b { color: var(--ink); font-weight: 600; }
.drop .up-note { font-size: .8rem; color: var(--muted); }
.drop .up-ok { color: var(--ink); font-weight: 600; }
.drop img { max-height: 240px; width: auto; box-shadow: 0 6px 18px -6px rgba(14, 16, 48, .25); background: #fff; padding: 6px; }
.drop .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.drop .bar i { display: block; height: 100%; background: var(--grad); transition: width .2s; }
.drop.busy { pointer-events: none; opacity: .85; }
.review { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.review > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review ul { list-style: none; padding: 0; margin: 6px 0 0; }
.review ul li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .94rem; padding: 2px 0; }
.review ul li span { color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-methods { border: 0; padding: 0; margin: 22px 0 6px; display: grid; gap: 10px; }
.pay-methods legend { font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 8px; }
.pm { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.pm:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pm input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; }
.pm b { display: block; color: var(--ink); font-weight: 600; }
.pm small { color: var(--muted); font-size: .85rem; }
.pay-btn { width: 100%; margin-top: 18px; }
.secure { text-align: center; font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.card-box { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.card-box-h { margin: 0 0 14px; color: var(--ink); font-weight: 600; }
.stripe-mount { min-height: 60px; }
.mock-card { padding: 16px; border: 1px dashed #e0a43b; background: #fff8ea; border-radius: var(--r-sm); font-size: .9rem; color: #7a5410; }
.mock-field { margin-top: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; }
.entry-done { text-align: center; padding: 18px 0 6px; max-width: 560px; margin: 0 auto; }
.done-mark { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.9rem; display: grid; place-content: center; }
.entry-done h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; margin: 0 0 .4em; }
html:lang(zh-Hans) .entry-done h3 { font-weight: 700; font-size: 1.6rem; }
.codes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.codes li { font-family: ui-monospace, Menlo, monospace; font-size: 1.05rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--r-sm); letter-spacing: .04em; }
.entry-wrap { padding-bottom: 80px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.pay-note { margin: 18px 0 0; color: var(--muted); font-size: .93rem; }
