/* ==========================================================================
   NYC Middle School Press Corps — stylesheet
   ========================================================================== */

:root {
  --ink: #0e1a3b;
  --ink-2: #1a2a5e;
  --ink-3: #2b3d7a;
  --paper: #fbf8f1;
  --white: #ffffff;
  --yellow: #ffcf33;
  --yellow-soft: #fff1bd;
  --coral: #f0553c;
  --teal: #1fa5a0;
  --muted: #59627f;
  --line: #e7e1d2;

  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 59, .06), 0 2px 8px rgba(14, 26, 59, .05);
  --shadow-md: 0 10px 30px -8px rgba(14, 26, 59, .22);
  --shadow-lg: 0 24px 60px -16px rgba(14, 26, 59, .35);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 248, 241, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(14, 26, 59, .08);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; color: var(--ink); }

.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  display: block; padding: 9px 16px; border-radius: 999px;
  font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-list a:hover { background: rgba(14, 26, 59, .07); }
.nav-list a[aria-current="page"] { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1.05rem/1 var(--sans); text-decoration: none;
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 8px 22px -6px rgba(255, 207, 51, .65), inset 0 -2px 0 rgba(14, 26, 59, .12);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #ffd84f; box-shadow: 0 14px 28px -8px rgba(255, 207, 51, .75), inset 0 -2px 0 rgba(14, 26, 59, .12); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: clamp(72px, 10vw, 120px) 0 clamp(128px, 13vw, 160px); /* bottom room for the overlapping card */
  display: flex; align-items: flex-end;
  min-height: clamp(520px, 78vh, 780px);
}
.hero::before { /* full-resolution group photo, shown sharp */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../images/hero.jpg") center 50% / cover no-repeat;
}
.hero::after { /* soft fade from the bottom-left so the caption reads; the rest of the photo stays clear */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(14, 26, 59, .88) 0%, rgba(14, 26, 59, .55) 28%, rgba(14, 26, 59, 0) 62%),
    linear-gradient(90deg, rgba(14, 26, 59, .55) 0%, rgba(14, 26, 59, 0) 55%),
    linear-gradient(180deg, rgba(14, 26, 59, .25), rgba(14, 26, 59, 0) 30%);
}
.hero > .container { width: min(100% - 48px, var(--container)); }
.hero-frame { max-width: 640px; text-align: left; }
.hero-frame::before { /* short accent rule */
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--yellow); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.1; letter-spacing: -.015em; font-weight: 600; margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(8, 14, 34, .5);
  text-wrap: balance;
}
.hero-tagline {
  font-family: var(--sans); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.5; font-weight: 400;
  color: rgba(255, 255, 255, .86); max-width: 38ch; margin-bottom: 24px; text-wrap: balance;
  text-shadow: 0 1px 10px rgba(8, 14, 34, .6);
}
.hero .btn { padding: 12px 22px; font-size: .95rem; }

/* Conference announcement card that overlaps the hero */
.announce-wrap { position: relative; z-index: 5; margin-top: -76px; }
.announce {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  max-width: 880px; margin-inline: 0;
  background: var(--white); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--yellow);
}
.announce-badge {
  width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border-radius: 22px; flex: none;
  display: grid; place-items: center; background: var(--ink); color: var(--yellow);
  transform: rotate(-4deg);
  box-shadow: 6px 6px 0 var(--yellow-soft);
}
.announce-badge .icon { width: 46%; height: 46%; stroke-width: 1.6; }
.announce-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.announce-title .t { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.15; }
.announce-title .d {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: var(--coral);
}
.announce-where { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.announce-where .icon { margin-top: 3px; color: var(--teal); }
.announce-where p { line-height: 1.45; }
.announce-where .l2 { display: block; color: var(--muted); font-weight: 500; }

@media (max-width: 560px) {
  .announce { grid-template-columns: 1fr; text-align: left; }
  .announce-badge { width: 64px; }
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-section { padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 10vw, 128px); }
.gallery {
  --gap: 14px;
  display: flex; flex-wrap: wrap; gap: var(--gap);
}

.g-item {
  --ar: 1.5;
  position: relative; margin: 0; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 210px);
  aspect-ratio: var(--ar);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .5s;
  opacity: 0;
}
.g-item img.loaded { opacity: 1; }
.g-item::after { /* hover veil + zoom glyph */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 26, 59, .55));
  opacity: 0; transition: opacity .35s;
}
.g-zoom {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .3s;
}
.g-item:hover, .g-item:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
@media (hover: none) { .g-zoom { opacity: 1; transform: none; width: 40px; height: 40px; } }

/* shimmer placeholder while images load */
.g-item:not(.ready) { background: linear-gradient(100deg, #ece6d6 30%, #f6f1e4 50%, #ece6d6 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Carousel */
.carousel { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.gallery:empty { display: none; }
.gallery:empty + .carousel { margin-top: 0; }
.car-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; margin: -6px -2px 0; scrollbar-width: none; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: 0; }
.carousel .g-item { --ar: 1.7798; flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start; }
@media (max-width: 900px) { .carousel .g-item { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 560px) { .carousel .g-item { flex-basis: 82%; } }
.car-btn {
  position: absolute; top: calc(50% - 30px); z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-md);
  transition: transform .2s, opacity .2s, background .2s;
}
.car-btn:hover:not(:disabled) { background: var(--yellow); transform: scale(1.08); }
.car-btn:disabled { opacity: 0; pointer-events: none; }
.car-btn .icon { width: 24px; height: 24px; }
.car-prev { left: -14px; } .car-next { right: -14px; }
@media (max-width: 640px) { .car-btn { width: 44px; height: 44px; top: calc(50% - 26px); } .car-prev { left: 6px; } .car-next { right: 6px; } }
.car-progress { height: 4px; border-radius: 2px; background: rgba(14, 26, 59, .1); overflow: hidden; margin-top: 4px; }
.car-progress span { display: block; height: 100%; border-radius: 2px; background: var(--ink); transition: transform .15s linear; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(8, 14, 34, .94); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  touch-action: pan-y;
}
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 72px clamp(12px, 8vw, 110px); }
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transition: opacity .25s, transform .25s;
}
.lb-img.swap { opacity: 0; transform: scale(.98); }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer;
  transition: background .2s, transform .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: clamp(10px, 2vw, 28px); top: 50%; translate: 0 -50%; }
.lb-next { right: clamp(10px, 2vw, 28px); top: 50%; translate: 0 -50%; }
.lb-count {
  position: absolute; left: 50%; bottom: 20px; translate: -50% 0;
  color: rgba(255, 255, 255, .85); font-size: .95rem; font-weight: 600; letter-spacing: .06em;
  background: rgba(255, 255, 255, .1); padding: 6px 16px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
@media (max-width: 640px) {
  .lb-stage { padding: 72px 8px 76px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; width: 46px; height: 46px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
}
body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   Page banner (inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 92px);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(255, 207, 51, .22), transparent 70%),
    radial-gradient(700px 360px at 0% 100%, rgba(240, 85, 60, .22), transparent 70%),
    radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
}
.page-banner h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; letter-spacing: -.015em; }
.page-banner h1::after { content: ""; display: block; width: 84px; height: 6px; border-radius: 3px; background: var(--yellow); margin-top: 22px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { padding-top: 0; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.lede {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.5; color: var(--ink);
  max-width: 62ch; margin-inline: auto; text-wrap: pretty;
}
.lede::first-letter {
  float: left; font-weight: 700; font-size: 4.4em; line-height: .82; padding: .06em .12em 0 0; color: var(--coral);
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: clamp(28px, 4vw, 48px); max-width: 34ch; text-wrap: balance; }
.section-title::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--yellow); margin-top: 18px; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.why-card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--c, var(--yellow)); color: var(--ink);
}
.why-icon .icon { width: 28px; height: 28px; }
.why-card:nth-child(1) { --c: var(--yellow); }
.why-card:nth-child(2) { --c: #ffb4a6; }
.why-card:nth-child(3) { --c: #9fe1dd; }
.why-card:nth-child(4) { --c: #c9d3ff; }
.why-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.why-card p { color: var(--muted); }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Events
   -------------------------------------------------------------------------- */
.events-block + .events-block { margin-top: clamp(56px, 8vw, 96px); }
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.event-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .event-grid.two { grid-template-columns: 1fr; } }
.event-card {
  position: relative; display: flex; flex-direction: column; gap: 22px; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 28px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.event-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--yellow); }
.event-card.past::before { background: #b9bfd3; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card h3 { font-size: 1.4rem; line-height: 1.22; }
.event-meta { display: grid; gap: 12px; }
.event-meta li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-weight: 500; line-height: 1.45; }
.event-meta .icon { margin-top: 2px; color: var(--coral); }
.event-card.past .event-meta .icon { color: var(--muted); }
.event-meta a {
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px;
  transition: text-decoration-color .2s, color .2s;
}
.event-meta a:hover { text-decoration-color: var(--coral); }
.event-card.past { background: #fdfcf8; }
.event-card.past h3 { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Resources
   -------------------------------------------------------------------------- */
.slides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.slide-frame {
  position: relative; background: var(--ink); border-radius: var(--radius); padding: 10px;
  box-shadow: var(--shadow-md);
}
.slide-frame iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: calc(var(--radius) - 8px); background: #fff; }
.slide-open {
  position: absolute; top: -14px; right: -10px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-md); text-decoration: none;
  transition: transform .2s;
}
.slide-open:hover { transform: scale(1.1) rotate(-6deg); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .86); padding: 56px 0 44px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .brand-mark { width: 46px; height: 46px; }
.foot-brand strong { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--white); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.foot-nav a { text-decoration: none; font-weight: 500; opacity: .85; transition: opacity .2s, color .2s; }
.foot-nav a:hover { opacity: 1; color: var(--yellow); }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (only active when JS is running)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Content update: nav fit, home intro, about, story, work
   ========================================================================== */
@media (min-width: 761px) and (max-width: 1040px) {
  .nav-list { gap: 2px; }
  .nav-list a { padding: 8px 11px; font-size: .88rem; }
  .brand-name { font-size: 1.2rem; }
}

.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.page-actions { margin-top: clamp(32px, 5vw, 56px); }
.page-actions.top { margin: 0 0 clamp(36px, 5vw, 56px); }

/* Home: "Coming up!" card additions */
.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px; border-radius: 999px;
  background: var(--yellow-soft); color: var(--ink); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.announce-actions { margin-top: 22px; }
.announce .btn { padding: 12px 24px; font-size: .95rem; }

/* Home: intro + link tiles */
.intro { padding-bottom: 0; }
.intro-text {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45;
  max-width: 52ch; text-wrap: pretty; margin-bottom: clamp(32px, 4.5vw, 52px);
}
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 26px 26px 58px; border-radius: var(--radius); text-decoration: none;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
.tile span { color: var(--muted); }
.tile .icon { position: absolute; left: 26px; bottom: 22px; color: var(--coral); transition: transform .2s; }
.tile:hover .icon { transform: translateX(5px); }
@media (max-width: 800px) { .tiles { grid-template-columns: 1fr; } }

/* About: tagline + vision / mission */
.tagline { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 60ch; padding-left: clamp(18px, 2.4vw, 28px); border-left: 6px solid var(--yellow); }
.tagline-big { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.8vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.tagline-sub { margin-top: 14px; font-size: 1.12rem; color: var(--muted); text-wrap: pretty; }
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.vm-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(26px, 3.4vw, 40px);
}
.vm-card:nth-child(1) { border-top: 6px solid var(--teal); }
.vm-card:nth-child(2) { border-top: 6px solid var(--coral); }
.vm-label { display: block; margin-bottom: 14px; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.vm-card p { color: var(--ink-2); }
@media (max-width: 800px) { .vm-grid { grid-template-columns: 1fr; } }
#why, #beliefs, #who-we-are, #founders, #our-story, #our-work { scroll-margin-top: calc(var(--header-h) + 104px); }

/* Work: intro paragraph without drop cap */
.lede.plain { margin-inline: 0; }
.lede.plain::first-letter { float: none; font-size: inherit; font-weight: inherit; line-height: inherit; padding: 0; color: inherit; }

/* Story */
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story-text { max-width: 66ch; }
.story-text p { font-size: 1.15rem; line-height: 1.7; }
.story-text p + p { margin-top: 1.1em; }
.story-text p:first-child { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.5; }
.story-stats {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md);
  border-top: 6px solid var(--yellow);
}
.stats-kicker { font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.story-stats ul { display: grid; gap: 14px; }
.story-stats li { display: flex; align-items: baseline; gap: 14px; }
.story-stats strong { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--yellow); min-width: 3ch; }
.story-stats span { font-size: 1.1rem; }
@media (max-width: 860px) {
  .story-layout { grid-template-columns: 1fr; }
  .story-stats { position: static; order: -1; }
}

.profiles { display: grid; gap: clamp(20px, 3vw, 32px); }
.profile {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(22px, 3.4vw, 44px); align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(24px, 3.4vw, 40px);
}
.profile-photo {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-sm);
  display: grid; place-items: center; background: linear-gradient(145deg, var(--ink), var(--ink-3));
}
.profile-photo span { font-family: var(--serif); font-weight: 600; font-size: 3.2rem; color: var(--yellow); letter-spacing: .02em; }
.profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.profile-body p + p { margin-top: 1em; }
.profile-body p { color: var(--ink-2); }
@media (max-width: 720px) {
  .profile { grid-template-columns: 1fr; }
  .profile-photo { max-width: 200px; }
}

.announce-logo { width: clamp(104px, 14vw, 156px); height: auto; flex: none; }
@media (max-width: 560px) { .announce-logo { width: 112px; } }

img.brand-mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; }

.map-link { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.map-link:hover { text-decoration-color: var(--coral); }
.map-link .l2 { text-decoration: none; }

/* About: in-page section links + sub-heading */
.subnav { position: sticky; top: var(--header-h); z-index: 90; background: rgba(251, 248, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.subnav a:hover { background: var(--yellow-soft); border-color: var(--yellow); }
.sub-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: clamp(20px, 3vw, 32px); }
