/* ============================================================
   Penta Chronicles — Pentagon Information Technology, 30 Years
   Design system + layout
   ============================================================ */

:root {
  --cyan: #2aa9e0;
  --cyan-deep: #1b75bc;
  --gold: #f2a22e;
  --gold-deep: #e0850c;
  --ink: #141c2b;
  --ink-soft: #223049;
  --paper: #f7f5f2;
  --paper-2: #efece7;
  --white: #ffffff;
  --muted: #6b7280;
  --line: rgba(20, 28, 43, 0.12);

  --maxw: 1180px;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(20, 28, 43, 0.06);
  --shadow: 0 18px 50px -20px rgba(20, 28, 43, 0.35);
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
/* Editorial serif for display headings */
.hero h1, .section-head h2, .story-copy h2, .closing h2, .anniv-band h2 {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.02;
}

/* Film-grain depth overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  box-shadow: 0 0 12px rgba(42,169,224,0.5);
  transition: width 0.08s linear;
}
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cyan-deep);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.gold { color: var(--gold-deep); }
.eyebrow.gold::before { background: var(--cyan); }
.eyebrow.light { color: rgba(255,255,255,0.85); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.cyan { --bg: linear-gradient(120deg, var(--cyan), var(--cyan-deep)); }
.btn.gold { --bg: linear-gradient(120deg, var(--gold), var(--gold-deep)); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn.ghost.light { --fg: #fff; border-color: rgba(255,255,255,0.35); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.site-header.scrolled {
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.7rem;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.14rem; line-height: 1; }
.brand-main { display: flex; align-items: center; gap: 0.3rem; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.72rem; letter-spacing: 0.01em; line-height: 1; }
.brand .penta { color: var(--ink); }
.brand .chron { color: #6c6258; }
.brand .ribbon { height: 1.5em; width: auto; display: block; margin: 0 0.05rem; filter: drop-shadow(0 1px 2px rgba(18,96,143,0.25)); }
.brand-tag { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 0.56rem; letter-spacing: 0.33em; text-transform: uppercase; color: var(--muted); padding-left: 0.33em; white-space: nowrap; }
.brand-tag i { font-style: normal; color: var(--gold); opacity: 0.75; margin: 0 0.28em; font-weight: 400; }
.site-header.on-dark:not(.scrolled) .brand .penta,
.site-header.on-dark:not(.scrolled) .brand .chron { color: #fff; }
.site-header.on-dark:not(.scrolled) .brand-tag { color: rgba(255,255,255,0.62); }
@media (max-width: 600px) { .site-header .brand-tag { display: none; } }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--ink-soft); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--gold); transition: width 0.25s var(--ease); }
.nav a:hover::after { width: 100%; }
.site-header.on-dark:not(.scrolled) .nav a { color: rgba(255,255,255,0.85); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid;
  grid-template-columns: 5fr 6fr; align-items: center;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero-cover { position: relative; grid-column: 2; grid-row: 1; align-self: stretch; z-index: 0; }
.hero-cover img {
  position: absolute; inset: 0; height: 100%; width: 100%;
  object-fit: cover; object-position: 55% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%);
  mask-image: linear-gradient(90deg, transparent 0, #000 15%);
}
.hero-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,28,43,0.55), rgba(20,28,43,0) 40%);
}
.hero-inner { position: relative; grid-column: 1; grid-row: 1; z-index: 2; width: auto; max-width: 620px; margin-inline: auto; padding: 7rem clamp(1.25rem, 3vw, 2.5rem) 4rem; }
@media (max-width: 900px) {
  .hero { display: block; min-height: auto; }
  .hero-cover { position: relative; grid-column: auto; height: 48vh; min-height: 320px; }
  .hero-cover img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-position: 56% 18%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-cover::after {
    background:
      linear-gradient(180deg, rgba(20,28,43,0.6), rgba(20,28,43,0) 16%),
      linear-gradient(0deg, var(--ink) 1%, rgba(20,28,43,0.18) 34%, rgba(20,28,43,0) 64%);
  }
  .hero-inner { padding-block: 2rem 3.4rem; max-width: 100%; }
  .scroll-cue { display: none; }
}
.hero .anniv { display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero .anniv .num { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; background: linear-gradient(120deg, #ffd77a, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.hero .anniv .lbl { font-size: 0.82rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.hero .anniv .lbl b { display: block; font-family: var(--font-script); font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: #ffd77a; font-weight: 700; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 600; }
.hero h1 .g { background: linear-gradient(120deg, var(--cyan), #8fd6f4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.12rem; color: rgba(255,255,255,0.82); max-width: 34rem; margin: 1.4rem 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.7); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 6px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Section shell ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 1rem 0 0.8rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Story / about ---------- */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-copy .lead { font-size: 1.22rem; color: var(--ink); font-weight: 500; }
.story-copy p { color: var(--ink-soft); }
.stats { display: flex; gap: 2.2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; background: linear-gradient(120deg, var(--cyan-deep), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .k { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; object-position: center 42%; width: 100%; background: var(--ink); }
.story-media .badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--white);
  border-radius: 16px; box-shadow: var(--shadow); padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 0.8rem; border: 1px solid var(--line);
}
.story-media .badge .ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(120deg, var(--gold), var(--gold-deep)); color: #fff; font-family: var(--font-display); font-weight: 800; }
.story-media .badge small { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.story-media .badge strong { font-family: var(--font-display); }

/* ---------- Values ---------- */
.values { background: var(--paper); position: relative; overflow: hidden; }
.values::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; top: -240px; right: -160px; background: radial-gradient(circle, rgba(42,169,224,0.12), transparent 70%); pointer-events: none; }
.values::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(242,162,46,0.10), transparent 70%); pointer-events: none; }
.values .wrap { position: relative; z-index: 1; }
.value-list { display: grid; gap: 1rem; }
.value {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1rem, 2.5vw, 1.6rem);
  padding: 1.35rem clamp(1.3rem, 3vw, 1.9rem);
  background: linear-gradient(135deg, #ffffff, #faf8f4);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(20,28,43,0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative; overflow: hidden;
}
.value::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--v); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.value::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 100% 50%, var(--v-tint), transparent 55%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.value:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(20,28,43,0.42); border-color: transparent; }
.value:hover::before { transform: scaleY(1); }
.value:hover::after { opacity: 1; }
.v-badge {
  width: 58px; height: 58px; border-radius: 16px; flex: none; position: relative; z-index: 1;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--v-light), var(--v));
  box-shadow: 0 10px 20px -8px var(--v), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.45s var(--ease);
}
.value:hover .v-badge { transform: scale(1.07) rotate(-4deg); }
.v-badge svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-body { display: grid; gap: 0.1rem; position: relative; z-index: 1; }
.v-index { font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--v); }
.v-word { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -0.015em; color: var(--v); line-height: 1.05; }
.v-desc { color: var(--muted); font-size: 0.97rem; line-height: 1.5; margin: 0.18rem 0 0; }
.value.cyan { --v: #1b8fce; --v-light: #57c2ef; --v-tint: rgba(42,169,224,0.09); }
.value.gold { --v: #d9820f; --v-light: #f6b64a; --v-tint: rgba(242,162,46,0.10); }
.value.ink  { --v: #2b3a55; --v-light: #56699a; --v-tint: rgba(43,58,85,0.07); }
@media (max-width: 560px) {
  .value { padding: 1.1rem 1.15rem; gap: 1rem; }
  .v-badge { width: 48px; height: 48px; border-radius: 13px; }
  .v-badge svg { width: 23px; height: 23px; }
}

/* ---------- People ---------- */
.people { background: var(--ink); color: #fff; }
.people .section-head p { color: rgba(255,255,255,0.72); }
.team-banner { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.08); }
.team-banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; display: block; }
.team-banner:hover { box-shadow: 0 34px 64px -30px rgba(0,0,0,0.6); }
.team-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,28,43,0.28), transparent 40%); pointer-events: none; }
.people-cap { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.8rem; color: rgba(255,255,255,0.82); font-family: var(--font-script); font-size: 1.55rem; }
.people-cap::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
@media (max-width: 620px) { .team-banner img { aspect-ratio: 4 / 3; } }

/* ---------- Memories ---------- */
.memories { background: var(--white); }
.mem-quote { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 3.1vw, 2.15rem); line-height: 1.35; max-width: 46rem; margin: 0 auto 3rem; text-align: center; letter-spacing: -0.01em; font-style: italic; }
.mem-quote span { color: var(--gold-deep); }
.mem-banner { display: block; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); margin-bottom: 1rem; cursor: zoom-in; }
.mem-banner img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; object-position: center; display: block; }
.mem-banner:hover { box-shadow: 0 34px 64px -30px rgba(20,28,43,0.45); }
.mem-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mem-row a { border-radius: 14px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.mem-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.mem-row a:hover img { transform: scale(1.05); }
.mem-row a::after, .mem-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,28,43,0.32), transparent 55%); opacity: 0; transition: opacity 0.3s; }
.mem-row a:hover::after, .mem-banner:hover::after { opacity: 1; }
@media (max-width: 720px) { .mem-row { grid-template-columns: 1fr; } .mem-banner img { aspect-ratio: 16 / 10; } }

/* ---------- Anniversary band ---------- */
.anniv-band { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan)); color: #fff; position: relative; overflow: hidden; }
.anniv-band::before { content: "30"; position: absolute; right: -3rem; bottom: -6rem; font-family: var(--font-display); font-weight: 800; font-size: 26rem; color: rgba(255,255,255,0.08); line-height: 1; }
.anniv-band .section-head p { color: rgba(255,255,255,0.85); }
.anniv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; position: relative; z-index: 2; }
.anniv-cards figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: rgba(255,255,255,0.08); }
.anniv-cards img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.anniv-tag { position: relative; z-index: 2; margin-top: 2.4rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; }
.anniv-tag b { color: #ffe6b0; }
@media (max-width: 760px) { .anniv-cards { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.closing { background: var(--paper); text-align: center; position: relative; overflow: hidden; }
.closing .mono { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); background: linear-gradient(120deg, #ffcf7a, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.closing .mono small { font-family: var(--font-script); display: block; font-size: 2.4rem; color: var(--ink-soft); margin-top: -0.4rem; }
.closing h2 { font-size: clamp(1.5rem, 3.6vw, 2.6rem); margin: 1.4rem auto 0.4rem; max-width: 40rem; color: var(--ink); }
.closing .rule { width: 60px; height: 3px; background: var(--gold); margin: 1.6rem auto; border-radius: 3px; }
.closing p.body { max-width: 40rem; margin-inline: auto; color: var(--ink-soft); font-size: 1.08rem; }
.closing .thanks { color: var(--gold-deep); font-family: var(--font-display); font-weight: 600; margin-top: 1.6rem; }
.closing .best { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; font-size: 1.15rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-block: 3.5rem; }
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-brand .brand { align-items: flex-start; }
.foot-brand .brand-main { font-size: 1.95rem; }
.foot-brand .brand .penta { color: #fff; }
.foot-brand .brand .chron { color: rgba(255,255,255,0.76); }
.foot-brand .brand-tag { color: rgba(255,255,255,0.5); padding-left: 0.4em; }
.foot-brand p { margin-top: 0.7rem; max-width: 22rem; font-size: 0.95rem; }
.foot-contact { display: grid; gap: 0.6rem; font-size: 0.95rem; }
.foot-contact a { display: inline-flex; align-items: center; gap: 0.6rem; }
.foot-contact svg { flex: none; color: var(--cyan); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,16,26,0.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox .close { position: absolute; top: 1.2rem; right: 1.4rem; background: rgba(255,255,255,0.12); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.lightbox .close:hover { background: rgba(255,255,255,0.25); }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 5.5rem 2rem 2rem; gap: 1.4rem; transform: translateX(100%);
    transition: transform 0.35s var(--ease); box-shadow: var(--shadow); z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a { color: #fff !important; font-size: 1.05rem; }
  .nav .btn { margin-top: 0.5rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 95; padding: 6px; }
  .nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
  .site-header.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle.open span { background: #fff; }
}

@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-media { max-width: 26rem; } }

/* ============================================================
   Award-style enhancements — parallax, intro, cursor, marquee
   ============================================================ */

/* Parallax (images sit in overflow-hidden containers; base scale hides the shift) */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1.09)); will-change: transform; transition: none; }
.hero-cover img[data-parallax] { --ps: 1.1; }

/* Page-load intro (logo reveal) */
.intro {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
  animation: introHide 0.8s var(--ease) 2.6s forwards;
}
.intro.done { opacity: 0; visibility: hidden; }
@keyframes introHide { to { opacity: 0; visibility: hidden; } }
.intro-inner { text-align: center; padding: 1rem; }
.intro .brand-main {
  font-family: var(--font-serif); font-weight: 600; color: #fff;
  font-size: clamp(2rem, 6vw, 3.4rem); display: inline-flex; align-items: center; gap: 0.4rem;
  opacity: 0; transform: translateY(12px); animation: introUp 0.9s var(--ease) 0.2s forwards;
}
.intro .brand-main .chron { color: rgba(255,255,255,0.72); }
.intro .ribbon { height: 1.4em; width: auto; animation: introRibbon 1s var(--ease) 0.05s both; }
.intro .brand-tag {
  display: block; margin-top: 0.9rem; font-family: var(--font-serif); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase; color: rgba(255,255,255,0.42);
  opacity: 0; animation: introUp 0.9s var(--ease) 0.45s forwards;
}
.intro .intro-bar { margin: 1.7rem auto 0; width: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--gold)); animation: introBar 1.2s var(--ease) 0.55s forwards; }
@keyframes introUp { to { opacity: 1; transform: none; } }
@keyframes introRibbon { from { opacity: 0; transform: scale(0.5) rotate(-24deg); } to { opacity: 1; transform: none; } }
@keyframes introBar { to { width: 190px; } }

/* Custom cursor (hover-capable, fine-pointer devices only) */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 950; opacity: 0; }
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); transform: translate(-50%, -50%); transition: opacity 0.3s; }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(42,169,224,0.65); transform: translate(-50%, -50%); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, border-color 0.25s, opacity 0.3s; }
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-on.cursor-hover .cursor-ring { width: 56px; height: 56px; background: rgba(42,169,224,0.12); border-color: transparent; }
body.cursor-on.cursor-hover .cursor-dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on [data-lb] { cursor: none; }
}

/* Kinetic marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 1.5rem 0; border-block: 1px solid rgba(255,255,255,0.08); }
.marquee-track { display: inline-flex; align-items: center; gap: 2.6rem; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.55); }
.marquee i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); display: inline-block; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
  .marquee-track { animation: none; }
  .intro { display: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
