/* ============================================================
   BERN CITY SEVENS — ARCHIV
   Editorial / Swiss modernist / sports broadsheet
   ============================================================ */

/* --- Local fonts --- */

/* Bricolage Grotesque · variable (opsz 12-96, wdth 75-100, wght 200-800) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-200-800-75100-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-200-800-75100-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono · static weights 300/400/500/700 */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --- */
:root {
  /* paper */
  --paper:        #efe8db;
  --paper-warm:   #ece3d2;
  --bone:         #dcd4c0;
  --paper-deep:   #e3d8c2;

  /* ink */
  --ink:          #1a1410;
  --ink-soft:     #3a2f23;
  --ink-mid:      #6b5e4a;
  --ink-faint:    #a89678;

  /* signature */
  --pitch:        #243828;     /* deep rugby field */
  --pitch-deep:   #18241b;
  --blood:        #8b2c1f;     /* oxblood */
  --chalk:        #f7f2e7;

  /* type */
  --display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* metrics */
  --pad-page:     clamp(1.5rem, 4vw, 4rem);
  --rule:         1px solid var(--ink);
  --rule-soft:    1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.55;
  font-feature-settings: 'kern','liga','calt','ss01';
  font-variation-settings: 'opsz' 14, 'wdth' 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* --- Selection --- */
::selection { background: var(--blood); color: var(--chalk); }

/* --- Container --- */
.shell { padding-inline: var(--pad-page); }
.frame { max-width: 1480px; margin-inline: auto; padding-inline: var(--pad-page); }

/* anchor offset so jump-targets clear the sticky nav */
section[id] { scroll-margin-top: 80px; }

/* ============================================================
   ARCHIV-RIBBON (persistent state)
   ============================================================ */
.archive-tag {
  position: fixed;
  top: 1.2rem; right: 1.2rem;
  z-index: 100;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--blood);
  padding: .5rem .8rem .45rem;
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(0,0,0,.2);
  display: flex; align-items: center; gap: .5rem;
}
.archive-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--paper);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .35; transform: scale(.9); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--rule);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem var(--pad-page);
  max-width: 1480px;
  margin-inline: auto;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  font-variation-settings: 'opsz' 14;
  display: flex; align-items: center; gap: .6rem;
}
.brand__mark {
  display: inline-block;
  width: 30px; height: 30px;
  /* white-on-transparent PNG → invert + warm-down to match ink */
  filter: invert(1) brightness(.82) sepia(.18);
  object-fit: contain;
  flex-shrink: 0;
}
.brand small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-left: .25rem;
}
.nav__menu {
  display: flex; gap: 2.2rem;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav__menu a {
  position: relative;
  padding: .35rem 0;
  color: var(--ink-soft);
  transition: color .25s;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--blood);
  transition: width .35s ease, left .35s ease;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { width: 100%; left: 0; }
.nav__menu a[aria-current="page"] {
  color: var(--ink);
}
.nav__menu a[aria-current="page"]::after { width: 100%; left: 0; background: var(--ink); }
.nav__years {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-mid);
  text-transform: uppercase;
  text-align: right;
}
.nav__years strong { color: var(--ink); font-weight: 500; }

/* mobile nav */
@media (max-width: 880px) {
  .nav__inner { grid-template-columns: 1fr auto; gap: 1rem; }
  .nav__menu { display: none; }
  .nav__years { display: none; }
  .brand small { display: none; }
  .brand { font-size: .95rem; }
  .nav.open .nav__menu {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    padding: 1.5rem var(--pad-page) 2rem;
    border-bottom: var(--rule);
    gap: 1rem; align-items: flex-start;
  }
  .nav__toggle {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
}
@media (min-width: 881px) { .nav__toggle { display: none; } }

/* mobile archive tag — move to bottom to avoid nav overlap */
@media (max-width: 700px) {
  .archive-tag {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    font-size: 9px;
    padding: .4rem .65rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 980px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 3rem var(--pad-page) 2rem;
  overflow: hidden;
}
.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding-bottom: 1.5rem;
  border-bottom: var(--rule);
}
.hero__meta > * { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.hero__meta > :nth-child(2) { justify-self: center; }
.hero__meta > :nth-child(3) { justify-self: end; }
.hero__meta b { color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .hero__meta {
    grid-template-columns: 1fr;
    gap: .55rem;
    font-size: 9.5px;
    letter-spacing: .18em;
  }
  .hero__meta > * { justify-self: start !important; }
}

@media (max-width: 760px) {
  .hero__caption { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero__caption .ledger { text-align: left; }
}

.hero__title {
  margin: clamp(2.5rem, 7vh, 5rem) 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 12vw, 11.5rem);
  line-height: .82;
  letter-spacing: -.045em;
  font-variation-settings: 'opsz' 96, 'wdth' 92;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  font-weight: 380;
  color: var(--pitch);
  font-variation-settings: 'opsz' 96, 'wdth' 92;
}
.hero__title .stroke {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  font-weight: 800;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__line:nth-child(1) span { animation-delay: .1s; }
.hero__line:nth-child(2) span { animation-delay: .22s; }
.hero__line:nth-child(3) span { animation-delay: .34s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.hero__caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-top: 2rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  border-top: var(--rule);
}
.hero__caption p {
  font-family: var(--body);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  max-width: 56ch;
  line-height: 1.45;
  margin: 0;
  color: var(--ink-soft);
}
.hero__caption .ledger {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-align: right;
  line-height: 1.6;
}
.hero__caption .ledger b { color: var(--ink); font-weight: 500; }

/* --- Marquee of ghost years --- */
.ghost-years {
  border-block: var(--rule);
  padding: 1.1rem 0;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
}
.ghost-years__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -.03em;
  font-variation-settings: 'opsz' 96, 'wdth' 92;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
  animation: scroll-x 38s linear infinite;
}
.ghost-years__track span { display: inline-block; }
.ghost-years__track .strike {
  position: relative;
  color: var(--ink-faint);
  -webkit-text-stroke: 0;
}
.ghost-years__track .strike::after {
  content: "";
  position: absolute; left: -4%; right: -4%;
  top: 52%;
  height: 4px;
  background: var(--blood);
  transform: rotate(-3deg);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section {
  padding: clamp(4rem, 10vh, 8rem) var(--pad-page);
  position: relative;
}
.section--pitch {
  background: var(--pitch);
  color: var(--paper);
}
.section--pitch .eyebrow { color: var(--paper); opacity: .65; }
.section--pitch h2, .section--pitch h3 { color: var(--paper); }

.chapter {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  max-width: 1480px;
  margin-inline: auto;
}
@media (min-width: 880px) {
  .chapter--split { grid-template-columns: minmax(180px, 1fr) 4fr; }
}
.chapter__num {
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: .85;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variation-settings: 'opsz' 96, 'wdth' 92;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}
.section--pitch .chapter__num { color: var(--paper); border-top-color: var(--paper); }

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  display: inline-flex; gap: .65rem; align-items: center;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  display: inline-block;
}

h1.editorial, h2.editorial, h3.editorial {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: .95;
  font-variation-settings: 'opsz' 96;
}
h2.editorial {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  margin: 1rem 0 1.5rem;
}
h3.editorial {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  margin: 0 0 .6rem;
}

.lede {
  font-family: var(--body);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 1.5rem;
}
.lede::first-letter,
.dropcap::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.6em;
  line-height: .82;
  font-weight: 600;
  margin: .12em .14em -.05em 0;
  color: var(--blood);
  font-variation-settings: 'opsz' 96, 'wdth' 92;
}
.prose p {
  margin: 0 0 1.1em;
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.prose a {
  border-bottom: 1px solid var(--blood);
  color: var(--ink);
  transition: background .2s;
}
.prose a:hover { background: color-mix(in srgb, var(--blood) 12%, transparent); }

/* ============================================================
   STAT-LEDGER
   ============================================================ */
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  margin: clamp(3rem, 6vh, 5rem) auto 0;
  max-width: 1480px;
}
.section--pitch .ledger-grid { border-color: color-mix(in srgb, var(--paper) 35%, transparent); }
.stat {
  padding: 2rem 1.2rem;
  border-right: var(--rule);
  display: flex; flex-direction: column; gap: .4rem;
}
.section--pitch .stat { border-right-color: color-mix(in srgb, var(--paper) 25%, transparent); }
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.045em;
  font-variation-settings: 'opsz' 96, 'wdth' 92;
}
.stat__num sup { font-size: .42em; vertical-align: super; font-weight: 400; }
.stat__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.section--pitch .stat__label { color: color-mix(in srgb, var(--paper) 75%, transparent); }
@media (max-width: 720px) {
  .stat { border-right: none; border-bottom: var(--rule); padding: 1.3rem 1rem; }
  .stat:last-child { border-bottom: none; }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
  border-top: var(--rule);
}
.timeline__cell {
  padding: 2rem 1.5rem 2.4rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
  position: relative;
  display: flex; flex-direction: column; gap: .55rem;
  min-height: 260px;
}
.timeline__cell:last-child { border-right: none; }
.timeline__year { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.timeline__year {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  font-variation-settings: 'opsz' 96;
}
.timeline__cell.ghost .timeline__year {
  color: var(--ink-faint);
  font-style: italic;
  font-weight: 300;
  text-decoration: line-through;
  text-decoration-color: var(--blood);
  text-decoration-thickness: 2px;
}
.timeline__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.timeline__note {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: auto;
}
.timeline__cell.live::before {
  content: "";
  position: absolute; top: 1.5rem; right: 1rem;
  width: 8px; height: 8px;
  background: var(--blood);
  border-radius: 50%;
}
@media (max-width: 640px)  { .timeline { grid-template-columns: 1fr; } .timeline__cell { border-right: none; } }

/* ============================================================
   MEDIA / GALLERY
   ============================================================ */
.figure-pair {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 3rem;
}
@media (max-width: 720px) { .figure-pair { grid-template-columns: 1fr; } }
.figure {
  position: relative;
  overflow: hidden;
}
.figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(.3) sepia(.18) contrast(1.02);
  transition: filter .8s ease, transform 1.4s ease;
}
.figure:hover img { filter: grayscale(0) sepia(0) contrast(1); transform: scale(1.02); }
.figure figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: .75rem 0 0;
  display: flex; justify-content: space-between; gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.5rem, 1vw, 1rem);
  margin-top: 3rem;
}
.gallery-grid .figure:nth-child(1) { grid-column: span 7; }
.gallery-grid .figure:nth-child(2) { grid-column: span 5; }
.gallery-grid .figure:nth-child(3) { grid-column: span 4; }
.gallery-grid .figure:nth-child(4) { grid-column: span 4; }
.gallery-grid .figure:nth-child(5) { grid-column: span 4; }
.gallery-grid .figure:nth-child(6) { grid-column: span 6; }
.gallery-grid .figure:nth-child(7) { grid-column: span 6; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .figure { grid-column: span 1 !important; }
  .gallery-grid .figure:nth-child(1) { grid-column: span 2 !important; }
}

/* ============================================================
   MEDIA / PRESS CARDS
   ============================================================ */
.press {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-top: 3rem;
}
.press__card {
  display: block;
  position: relative;
  padding-top: 1.5rem;
  border-top: var(--rule);
  transition: transform .35s ease;
}
.press__card:hover { transform: translateY(-3px); }
.press__num {
  position: absolute; top: 1.5rem; right: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-mid);
}
.press__img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin: 1rem 0;
  filter: grayscale(.4) sepia(.15);
  transition: filter .5s;
}
.press__card:hover .press__img { filter: grayscale(0) sepia(0); }
.press__source {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blood);
}
.press__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -.018em;
  margin: .5rem 0 .7rem;
  color: var(--ink);
  font-variation-settings: 'opsz' 36;
}
.press__excerpt {
  font-size: .94rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.press__read {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ============================================================
   TEAMS
   ============================================================ */
.teams-block { margin-top: 4rem; }
.teams-block + .teams-block { margin-top: 5rem; }
.teams-block__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  border-bottom: var(--rule);
  padding-bottom: 1rem;
}
.teams-block__counter {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variation-settings: 'opsz' 96, 'wdth' 92;
}
.teams-block__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -.02em;
}
.teams-block__div {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blood);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card {
  background: var(--paper-warm);
  border: var(--rule-soft);
  padding: 1.2rem;
  display: flex; flex-direction: column; gap: .6rem;
  align-items: center;
  position: relative;
  aspect-ratio: 1/1.15;
  transition: transform .4s ease, background .3s;
}
.team-card:hover { background: var(--bone); transform: translateY(-3px); }
.team-card__img {
  width: 100%; flex: 1;
  display: flex; align-items: center; justify-content: center;
}
.team-card__img img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: grayscale(.1);
}
.team-card__name {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.3;
}
.team-card__num {
  position: absolute; top: .5rem; left: .6rem;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-faint);
}

/* ============================================================
   VALUES (about page)
   ============================================================ */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 3rem;
  border-top: var(--rule);
  border-left: var(--rule);
}
.value {
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: .6rem;
  min-height: 200px;
  background: var(--paper);
  transition: background .35s;
}
.value:hover { background: var(--bone); }
.value__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--blood);
}
.value__name {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 48;
}
.value__desc {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0;
  margin-top: auto;
}

/* ============================================================
   NOTICE BANNER (per page)
   ============================================================ */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  border: 1px solid var(--blood);
  background: color-mix(in srgb, var(--blood) 6%, var(--paper));
  padding: 1.5rem 1.8rem;
  max-width: 1480px;
  margin: 0 auto;
}
.notice__icon {
  width: 32px; height: 32px;
  background: var(--blood);
  display: grid; place-items: center;
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  transform: rotate(45deg);
  margin-top: .2rem;
}
.notice__icon span { transform: rotate(-45deg); }
.notice__body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.notice__body strong {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blood);
  font-weight: 500;
  margin-bottom: .35rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
  border-top: var(--rule);
  padding-top: 1.5rem;
  display: grid;
  gap: 2rem;
}
.contact-info__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--rule-soft);
}
.contact-info__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding-top: .3rem;
}
.contact-info__value {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
  font-variation-settings: 'opsz' 36;
}
.contact-info__value small {
  display: block;
  font-family: var(--body);
  font-size: .95rem;
  color: var(--ink-mid);
  font-weight: 380;
  margin-top: .25rem;
}
.contact-socials {
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.contact-socials a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  border: 1px solid var(--ink);
  transition: background .25s, color .25s;
}
.contact-socials a:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   SPONSOR
   ============================================================ */
.sponsor-roll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: var(--rule);
}
.sponsor {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem;
  background: var(--paper-warm);
}
.sponsor__role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blood);
}
.sponsor__logo {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin: .5rem 0;
}
.sponsor__logo img {
  max-height: 70px; max-width: 100%;
  object-fit: contain;
}
.sponsor__name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.02em;
  font-variation-settings: 'opsz' 36;
}
.sponsor__note {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: var(--rule);
  margin-top: 6rem;
  padding: 3.5rem var(--pad-page) 2rem;
  background: var(--ink);
  color: var(--paper);
}
.foot__inner {
  max-width: 1480px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
@media (max-width: 880px) { .foot__inner { grid-template-columns: 1fr 1fr; } }
.foot h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  margin: 0 0 1rem;
  font-weight: 500;
}
.foot__mark {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.03em;
  font-variation-settings: 'opsz' 96;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
}
.foot__mark em { font-style: italic; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.foot__logo {
  width: 54px; height: 54px;
  object-fit: contain;
  /* white PNG sits naturally on dark footer */
  opacity: .92;
}
.foot p, .foot a {
  font-family: var(--body);
  font-size: .98rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.foot a:hover { color: var(--paper); }
.foot__base {
  max-width: 1480px;
  margin-inline: auto;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__line span { transform: none; }
}
