/* =========================================================
   TOWN. Virgin Islands  |  Site styles
   Warm white, deep teal and photography first.
   Pillar colors are accents only.
   ========================================================= */

@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/montserrat-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-900-normal.woff2") format("woff2"); }

:root {
  --cream: #FBF8F2;
  --paper: #F5EFE4;
  --sand: #EDE4D3;
  --line: #E2D8C6;
  --line-soft: #ECE5D8;
  --ink: #092D39;
  --ink-2: #29434D;
  --muted: #61747A;
  --teal: #114C5C;
  --ocean: #16A5BE;
  --coral: #F15D4E;
  --gold: #FCB122;
  --olive: #5E8E3E;
  --navy: #092D39;
  --white: #FFFFFF;

  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(9, 45, 57, .04), 0 12px 32px -18px rgba(9, 45, 57, .22);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink-2);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Type system ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.label-teal { color: var(--teal); }
.label-light { color: rgba(255, 255, 255, .72); }
.label .rule, .rule { display: inline-block; width: 32px; height: 1.5px; background: currentColor; opacity: .9; }
.label .sep { opacity: .5; }

.display {
  font-size: clamp(42px, 6.4vw, 96px);
  font-weight: 900; text-transform: uppercase; line-height: .94; letter-spacing: -0.025em;
}
.section-title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.025em; }
.section-title.xl { font-size: clamp(36px, 5vw, 72px); line-height: 1.02; }
.section-sub { margin: 14px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--ink-2); max-width: 36em; }
.display-word { font-size: clamp(44px, 6vw, 92px); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: -0.03em; }

.brand-dot {
  display: inline-block; width: .2em; height: .2em; margin-left: .06em;
  background: var(--dot, var(--gold)); border-radius: 50%; vertical-align: baseline;
}

/* Lockup: small line over the TOWN. wordmark */
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--ink); }
.lockup-top { display: block; font-size: .36em; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: .14em; }
.lockup-mark { display: block; height: .78em; width: auto; overflow: visible; }
h1 .lockup, .display .lockup { font-size: clamp(64px, 8.6vw, 132px); }

/* ---------- Buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--pill); border: 1.5px solid transparent;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .arrow, .btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); text-decoration: none; position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.6em; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- Dots, chips, tags ---------- */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--gold)); flex: none; }
.dot-lg { width: 18px; height: 18px; }
.pillar-tags { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; }
.pillar-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  text-decoration: none;
}
.pillar-tag .dot { width: 8px; height: 8px; }
a.pillar-tag:hover { color: var(--teal); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--white);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .dot { width: 8px; height: 8px; }

.sample-badge {
  display: inline-flex; align-items: center; margin-left: 10px; padding: 2px 8px;
  border: 1px dashed currentColor; border-radius: var(--pill);
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral);
  vertical-align: middle;
}

.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.status-progress::before, .status-ongoing::before { background: currentColor; }
.status-completed::before { background: var(--olive); border-color: var(--olive); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 242, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line-soft); box-shadow: 0 8px 24px -20px rgba(9, 45, 57, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { width: 132px; height: auto; }
.brand-sub { font-size: 9.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.3; max-width: 70px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.main-nav a, .mega-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0; background: none; border: 0;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  text-decoration: none;
}
.main-nav a::after, .mega-toggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current]::after, .mega-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.mega-toggle svg { transition: transform .3s var(--ease); }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dot { position: absolute; top: 6px; right: -10px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); text-decoration: none; transition: background .2s; }
.icon-btn:hover { background: var(--paper); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -40px rgba(9, 45, 57, .45);
  opacity: 0; transform: translateY(-6px); transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.mega.is-open { opacity: 1; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1.05fr 2.6fr 1fr; gap: clamp(28px, 3.5vw, 56px); padding-top: 44px; padding-bottom: 36px; }
.mega-title { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.mega-intro .link-arrow { display: flex; margin-top: 14px; }
.mega-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 28px; }
.mega-pillar-head { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-decoration: none; margin-bottom: 10px; }
.mega-pillar-head .dot { grid-row: span 2; width: 12px; height: 12px; align-self: start; margin-top: 6px; }
.mega-pillar-name { font-size: 14px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.mega-pillar-sub { font-size: 13px; color: var(--muted); font-style: italic; }
.mega-pillar-head:hover .mega-pillar-name { color: var(--c); }
.mega-links { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line-soft); margin-left: 5px; }
.mega-links a { display: block; padding: 4px 0 4px 12px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .2s, transform .2s; }
.mega-links a:hover { color: var(--c); transform: translateX(3px); }
.mega-next { border-left: 1px solid var(--line-soft); padding-left: clamp(20px, 2.5vw, 36px); }
.mega-event { display: block; text-decoration: none; margin-bottom: 16px; }
.mega-event .media { border-radius: var(--radius-sm); margin-bottom: 12px; }
.mega-event-date { display: block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); }
.mega-event-title { display: block; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 4px 0; }
.mega-event-meta { display: block; font-size: 13px; color: var(--muted); }
.mega-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 18px; padding-bottom: 20px; border-top: 1px dashed var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.mega-strip > span:not(.strip-rule) { flex: none; }
.strip-rule { flex: 1; height: 1.5px; max-width: 80px; background: var(--ocean); opacity: .7; }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--cream); overflow-y: auto; }
.mobile-nav-inner { padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; }
.mobile-search input { width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); margin-bottom: 10px; }
.m-link, .m-pillars summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
}
.m-pillars summary::-webkit-details-marker { display: none; }
.m-pillars summary::after { content: "+"; font-weight: 400; font-size: 26px; transition: transform .3s; }
.m-pillars[open] summary::after { transform: rotate(45deg); }
.m-pillars ul { list-style: none; margin: 0; padding: 8px 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.m-pillars a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; font-size: 13px; line-height: 1.25; flex-wrap: wrap; }
.m-pillars a strong { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.m-pillars a span:last-child { width: 100%; padding-left: 20px; color: var(--muted); font-style: italic; }
.m-next { display: block; margin: 18px 0 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); text-decoration: none; }
.m-next .label { margin-bottom: 4px; }
.m-next strong { display: block; color: var(--ink); line-height: 1.35; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.media img.is-ph { object-position: 0 50%; }
.hero-photo .ph-tag { top: 14px; bottom: auto; }
.media-empty { display: grid; place-items: center; min-height: 160px; }
.media-empty .dot { width: 14px; height: 14px; background: var(--gold); }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ph-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(9, 45, 57, .82); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; line-height: 1.3;
  pointer-events: none; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Sections + heads ---------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head > div { max-width: 760px; }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.divider { border: 0; border-top: 1px dashed var(--line); margin: 0; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card:hover .card-media img { transform: scale(1.035); }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card-link:focus-visible { outline-offset: -3px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 21px; font-weight: 700; line-height: 1.22; letter-spacing: -0.015em; margin-bottom: 6px; }
.card-meta { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.card-excerpt { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card .label { margin-bottom: 10px; font-size: 10.5px; }
.card-project .card-body::before, .card-story .card-body::before {
  content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--c); margin-bottom: 16px;
}

/* Event card */
.card-event .card-body { flex-direction: row; gap: 20px; }
.card-event .card-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.date-block {
  flex: none; width: 64px; padding: 10px 0 12px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); align-self: flex-start; background: var(--cream);
  border-top: 3px solid var(--c);
}
.date-mon { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.date-day { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -0.03em; }
.card-event.row { flex-direction: row; align-items: stretch; }
.card-event.row .card-media { width: 34%; flex: none; aspect-ratio: auto; min-height: 100%; }
.card-event.row .card-title { font-size: 18px; }
.card-event.row .card-body { padding: 18px 20px; }
.card-event.feature .card-title { font-size: clamp(24px, 2.2vw, 32px); }
.card-event.feature .card-media { aspect-ratio: 16 / 10; }

/* Team card */
.card-team { background: transparent; border: 0; border-radius: 0; }
.card-team:hover { transform: none; box-shadow: none; }
.card-team .card-media { border-radius: var(--radius); }
.card-team .card-body { padding: 18px 2px 0; }
.card-team .card-title { font-size: 19px; display: flex; align-items: center; flex-wrap: wrap; }
.card-team .label { margin-bottom: 8px; }

/* Place card */
.card-place .card-media { aspect-ratio: 4 / 3; }
.card-place .card-body { padding: 18px 20px 20px; }
.card-place .card-title { font-size: 19px; margin: 0; }

/* ---------- Home hero ---------- */
.home-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-lockup { font-size: clamp(76px, 10.4vw, 168px); margin: 6px 0 20px; color: var(--ink); line-height: 1; }
.hero-lockup .lockup-top { font-size: .36em; margin-bottom: .1em; display: block; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.hero-lockup .lockup-mark { height: .8em; width: auto; display: block; }
.hero-sub { font-size: 13px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); margin-bottom: 22px; }
.hero-dots { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-dots a { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.hero-dots a:hover { color: var(--ink); }
.hero-dots .dot { width: 8px; height: 8px; transition: transform .3s var(--ease); }
.hero-dots a:hover .dot { transform: scale(1.5); }
.home-hero-visual { position: relative; }
.hero-photo { aspect-ratio: 5 / 6; border-radius: 28px 28px 28px 160px; }
.hero-wash {
  position: absolute; left: -12%; bottom: -10%; width: 46%;
  border-radius: var(--radius); overflow: hidden; background: var(--cream);
  box-shadow: 0 0 0 10px var(--cream);
}
.hero-wash .media { aspect-ratio: 3 / 2; background: var(--paper); }
.hero-caption {
  position: absolute; right: 22px; top: 22px; margin: 0; padding: 12px 16px;
  background: rgba(251, 248, 242, .92); border-radius: var(--radius-sm);
  font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); line-height: 1.6;
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.intro-copy { font-size: 18px; }
.intro-copy p { color: var(--ink-2); }
.intro-words {
  display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 7vw, 100px);
  flex-wrap: wrap;
  font-size: clamp(30px, 4.3vw, 64px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.2px var(--line);
}
.intro-words span:nth-child(2) { -webkit-text-stroke-color: transparent; color: var(--sand); }

/* ---------- Pillars band ---------- */
.pillars-band { background: var(--paper); padding-top: var(--section) !important; }
.pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.pillar-card { border-right: 1px solid var(--line); }
.pillar-card:last-child { border-right: 0; }
.pillar-card a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 30px 22px 34px; text-decoration: none; transition: background .35s var(--ease);
}
.pillar-card a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pillar-card a:hover { background: var(--cream); }
.pillar-card a:hover::before { transform: scaleX(1); }
.pillar-num { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; margin-bottom: 28px; }
.pillar-card .dot { margin-bottom: 18px; transition: transform .45s var(--ease); }
.pillar-card a:hover .dot { transform: translateX(6px) scale(1.15); }
.pillar-name { font-size: 15px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.pillar-sub { font-size: 14px; font-style: italic; color: var(--muted); margin: 2px 0 16px; }
.pillar-text { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 24px; }
.pillar-arrow { margin-top: auto; font-size: 18px; color: var(--c); transition: transform .3s var(--ease); }
.pillar-card a:hover .pillar-arrow { transform: translateX(5px); }

/* ---------- Events (home) ---------- */
.events-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.events-list { display: flex; flex-direction: column; gap: 16px; }

/* ---------- People feature ---------- */
.people-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.people-photo { border-radius: 160px 160px var(--radius) var(--radius); }
.big-quote { margin: 34px 0 30px; padding: 0 0 0 28px; border-left: 3px solid var(--gold); }
.big-quote p { font-size: clamp(24px, 2.4vw, 34px); font-style: italic; font-weight: 500; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 18px; }
.big-quote footer { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.big-quote footer strong { color: var(--ink); }

/* ---------- Places mosaic ---------- */
.places-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(230px, auto)); gap: clamp(14px, 1.6vw, 22px); }
.places-mosaic .card { border: 0; background: var(--ink); }
.places-mosaic .card-media { position: absolute; inset: 0; aspect-ratio: auto !important; }
.places-mosaic .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 45, 57, 0) 40%, rgba(9, 45, 57, .78)); }
.places-mosaic .card-body { position: relative; z-index: 2; margin-top: auto; flex: 0 0 auto; padding: 22px; color: #fff; }
.places-mosaic .card-title { color: #fff; }
.places-mosaic .label { color: rgba(255, 255, 255, .8); }
.places-mosaic .ph-tag { top: 10px; bottom: auto; }
.mosaic-1 { grid-column: span 2; grid-row: span 2; min-height: 480px; }
.mosaic-1 .card-title { font-size: 28px; }
.mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5 { min-height: 230px; }

/* ---------- Stories ---------- */
.stories-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 2.4vw, 32px); }
.stories-side { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.card-story.lead .card-title { font-size: clamp(26px, 2.4vw, 34px); }
.card-story.compact { flex-direction: row; }
.card-story.compact .card-media { width: 42%; flex: none; aspect-ratio: auto; }
.card-story.compact .card-title { font-size: 18px; }
.card-story.compact .card-excerpt { display: none; }

/* ---------- Community CTA ---------- */
.community-cta { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.community-cta .cta-bg { position: absolute; inset: 0; }
.community-cta .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9, 45, 57, .92) 0%, rgba(9, 45, 57, .72) 45%, rgba(9, 45, 57, .2) 100%); }
.cta-inner { position: relative; z-index: 2; padding-top: var(--section); padding-bottom: var(--section); }
.cta-title { color: #fff; font-size: clamp(40px, 5.6vw, 88px); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -0.03em; max-width: 12ch; }
.cta-sub { font-size: clamp(18px, 1.6vw, 22px); font-style: italic; margin-top: 22px; max-width: 30em; color: rgba(255, 255, 255, .88); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 90px); border-bottom: 1px solid var(--line-soft); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero-grid.no-image { grid-template-columns: 1fr; }
.page-hero .lede { margin-top: 22px; }
.page-hero-media { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) var(--radius) 120px; }
.page-hero .display .lockup { font-size: clamp(60px, 8vw, 124px); }
.page-hero .lede-italic { font-style: italic; }

.filters { display: flex; flex-direction: column; gap: 14px; padding: 28px 0; border-bottom: 1px dashed var(--line); margin-bottom: clamp(32px, 4vw, 52px); }
.filters .filter-label { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-right: 6px; min-width: 70px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.view-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); gap: 2px; }
.view-tabs a { padding: 9px 18px; border-radius: var(--pill); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.view-tabs a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- Pillar page ---------- */
.pillar-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.pillar-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pillar-hero .pillar-word { white-space: nowrap; font-size: clamp(44px, 6vw, 96px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; line-height: .86; color: var(--ink); margin: 8px 0 6px; }
.pillar-hero .pillar-word .brand-dot { --dot: var(--c); }
.pillar-hero .pillar-subtitle { font-size: clamp(20px, 2vw, 28px); font-style: italic; color: var(--muted); font-weight: 500; }
.pillar-hero .media { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 140px var(--radius); }
.pillar-accent { height: 4px; width: 72px; background: var(--c); border-radius: 4px; margin: 24px 0; }
.statement { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -0.015em; max-width: 26em; }
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-soft); margin-top: clamp(40px, 5vw, 64px); }
.pillar-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- Detail pages ---------- */
.detail-hero { padding: clamp(32px, 4vw, 56px) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.detail-title { font-size: clamp(36px, 5vw, 76px); font-weight: 900; letter-spacing: -0.03em; line-height: .98; max-width: 16ch; }
.detail-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); margin: 18px 0 0; max-width: 40em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; align-items: center; }
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-item .k { font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.meta-item .v { font-size: 15px; font-weight: 600; color: var(--ink); }
.detail-media { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--radius); aspect-ratio: 21 / 9; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.aside-card dl { margin: 0; display: grid; gap: 14px; }
.aside-card dt { font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.aside-card dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); font-weight: 500; }
.block { margin-bottom: clamp(40px, 5vw, 64px); }
.block > h2 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 18px; }
.block-label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.block-label::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }

.prose { font-size: 18px; line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose a { color: var(--teal); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); font-style: italic; font-size: 1.08em; color: var(--ink); }
.prose blockquote.pull-quote { border: 0; padding: 0; margin: 2.2em 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; font-style: normal; line-height: 1.25; letter-spacing: -0.015em; position: relative; padding-top: 30px; }
.prose blockquote.pull-quote::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; background: var(--c, var(--gold)); border-radius: 4px; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius-sm); width: 100%; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); }
.prose img { border-radius: var(--radius-sm); }

.goal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.goal-list li { display: flex; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }
.goal-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ocean)); margin-top: 8px; flex: none; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 1.5px dashed var(--line); }
.timeline li { position: relative; padding: 0 0 26px 38px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--c, var(--teal)); background: var(--cream); }
.timeline li.done::before { background: var(--c, var(--teal)); }
.timeline .when { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.timeline strong { display: block; font-size: 17px; color: var(--ink); margin: 2px 0 4px; }
.timeline p { font-size: 15px; margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid .media { aspect-ratio: 1; border-radius: var(--radius-sm); }
.gallery-grid figure { margin: 0; }
.gallery-grid figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

.people-row { display: flex; flex-wrap: wrap; gap: 14px; }
.person-chip { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1px solid var(--line-soft); border-radius: var(--pill); background: var(--white); text-decoration: none; }
.person-chip .media { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.person-chip .ph-tag { display: none; }
.person-chip strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.person-chip span { font-size: 12px; color: var(--muted); }

.related { padding: clamp(56px, 7vw, 100px) 0; background: var(--paper); }

.cta-band { margin-top: 12px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2, .cta-band h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 6px 0 0; }

/* ---------- Events page ---------- */
.event-list { display: grid; gap: 16px; }
.month-group + .month-group { margin-top: 44px; }
.month-label { font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; display: flex; justify-content: space-between; }
.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.cal-head h2 { font-size: 22px; }
.cal-nav { display: flex; gap: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { padding: 10px 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-soft); background: var(--cream); }
.cal-day { min-height: 118px; padding: 10px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.is-out { background: var(--cream); color: var(--line); }
.cal-day.is-today .cal-num { background: var(--ink); color: #fff; }
.cal-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cal-ev { display: block; margin-top: 4px; padding: 5px 8px; border-radius: 8px; background: var(--paper); border-left: 3px solid var(--c, var(--teal)); text-decoration: none; font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cal-ev:hover { background: var(--sand); }
.cal-list { display: none; }

/* Walk stops */
.stops { list-style: none; margin: 0; padding: 0; counter-reset: stop; display: grid; gap: 14px; }
.stops li { counter-increment: stop; display: grid; grid-template-columns: 54px 120px 1fr; gap: 18px; align-items: center; padding: 14px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); position: relative; }
.stops li::before { content: counter(stop, decimal-leading-zero); font-size: 22px; font-weight: 900; color: var(--c, var(--ocean)); text-align: center; }
.stops .media { aspect-ratio: 4 / 3; border-radius: 10px; }
.stops .ph-tag { display: none; }
.stops strong { display: block; color: var(--ink); font-size: 17px; }
.stops span { font-size: 14px; color: var(--muted); }
.stops a { text-decoration: none; }
.walk-art { border-radius: var(--radius); background: var(--paper); }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 16 / 10; background: var(--paper); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* RSVP */
.rsvp-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.rsvp-card h3 { font-size: 22px; margin-bottom: 4px; letter-spacing: -0.01em; text-transform: none; }
.capacity { height: 6px; border-radius: 6px; background: var(--paper); overflow: hidden; margin: 14px 0 6px; }
.capacity span { display: block; height: 100%; background: var(--c, var(--ocean)); border-radius: 6px; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rsvp-jump { margin-left: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .flabel, fieldset legend { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.req { color: var(--coral); }
input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(17, 76, 92, .1); }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset legend { margin-bottom: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); background: var(--white); cursor: pointer; font-size: 15px; transition: border-color .2s, background .2s;
}
.check:hover { border-color: var(--line); }
.check input { width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.check:has(input:checked) { border-color: var(--teal); background: rgba(17, 76, 92, .04); }
.pillar-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pillar-pick label { position: relative; }
.pillar-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pillar-pick span {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 20px;
  border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); transition: all .2s;
}
.pillar-pick span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.pillar-pick input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, white); }
.pillar-pick input:checked + span::after { content: "✓"; font-size: 13px; }
.pillar-pick input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 2px; }
.form-error { padding: 14px 18px; border-radius: var(--radius-sm); background: #FDECEA; color: #8A2A20; font-weight: 500; }
.form-ok { padding: 14px 18px; border-radius: var(--radius-sm); background: #EAF3E4; color: #2F5320; font-weight: 500; }
.form-note { font-size: 13px; margin: 8px 0 0; min-height: 1em; }
.form-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: 28px; padding: clamp(24px, 4vw, 52px); }
.form-context { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--paper); font-weight: 500; color: var(--ink); }

/* ---------- Get involved ---------- */
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 28px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.way.is-active { border-color: var(--c); box-shadow: 0 0 0 1px var(--c); }
.way .dot { margin-bottom: 18px; width: 14px; height: 14px; }
.way strong { font-size: 19px; color: var(--ink); }
.way span:not(.dot) { font-size: 15px; color: var(--muted); }
.way .arrow { position: absolute; right: 24px; top: 24px; color: var(--c); font-size: 18px; }

.thanks { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.thanks .lockup { align-items: center; font-size: clamp(60px, 8vw, 120px); }
.thanks p { font-size: 20px; margin-top: 24px; }

/* ---------- Team ---------- */
.team-group + .team-group { margin-top: clamp(48px, 6vw, 80px); }
.team-group h2 { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); align-items: start; }
.profile-grid .media { border-radius: var(--radius); aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- About ---------- */
.about-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--line-soft); }
.about-section:nth-of-type(even) .media { order: -1; }
.about-section.no-image { grid-template-columns: 1fr 1.6fr; align-items: start; }
.about-section .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.about-section h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 18px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px; min-height: 140px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--white); text-decoration: none; text-align: center; }
.partner img { max-height: 56px; width: auto; }
.partner strong { color: var(--ink); font-size: 15px; }

/* ---------- Pillars index ---------- */
.pillar-rows { border-top: 1px solid var(--line); }
.pillar-row { display: grid; grid-template-columns: 80px 1fr 1.2fr 40px; gap: 28px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), background .35s; }
.pillar-row:hover { padding-left: 16px; background: var(--paper); }
.pillar-row .num { font-size: 13px; font-weight: 700; color: var(--muted); }
.pillar-row .name { font-size: clamp(34px, 4.4vw, 64px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; color: var(--ink); line-height: 1; display: flex; align-items: baseline; }
.pillar-row .name .brand-dot { --dot: var(--c); }
.pillar-row .sub { display: block; font-size: 15px; font-style: italic; color: var(--muted); margin-top: 8px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.pillar-row p { margin: 0; color: var(--ink-2); }
.pillar-row .arrow { font-size: 22px; color: var(--c); }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 10px; max-width: 720px; margin-top: 26px; }
.search-form input { min-height: 58px; border-radius: var(--pill); padding: 0 24px; }
.result-group + .result-group { margin-top: 40px; }
.result { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; align-items: center; }
.result .media { aspect-ratio: 4 / 3; border-radius: 10px; }
.result .ph-tag { display: none; }
.result strong { display: block; color: var(--ink); font-size: 18px; }
.result span { font-size: 14px; color: var(--muted); }

/* ---------- Empty + 404 ---------- */
.empty-state { padding: clamp(40px, 6vw, 72px) 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--cream); }
.empty-state h3 { font-size: 24px; margin: 18px 0 8px; }
.empty-state p { font-style: italic; color: var(--muted); }
.dot-row { display: inline-flex; gap: 8px; }
.dot-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--ocean); animation: dotbob 2.4s var(--ease) infinite; }
.dot-row i:nth-child(2) { background: var(--coral); animation-delay: .2s; }
.dot-row i:nth-child(3) { background: var(--gold); animation-delay: .4s; }
@keyframes dotbob { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px); } }
.notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound .display { max-width: 12ch; }
.notfound p { font-size: 22px; font-style: italic; color: var(--muted); margin: 22px 0 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(44px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: 190px; height: auto; }
.footer-place { font-size: 11px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: #fff; margin: 12px 0 22px; }
.footer-tag { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.35; letter-spacing: -0.01em; }
.footer-text { font-size: 15px; max-width: 30em; }
.footer-news-text { font-size: 16px; }
.news-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; }
.news-form input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; border-radius: var(--pill); padding: 0 20px; }
.news-form input::placeholder { color: rgba(255, 255, 255, .5); }
.news-form input:focus { border-color: var(--gold); box-shadow: none; }
.news-form .form-note { grid-column: 1 / -1; color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: clamp(40px, 5vw, 60px) 0; }
.footer-cols a, .footer-cols span { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, .78); text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: #fff; }
.footer-cols .dot { width: 7px; height: 7px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }
.footer-word { margin: 0 0 28px; user-select: none; }
.footer-word svg { width: 100%; height: auto; opacity: .05; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer-legal a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-legal .credit { margin-left: auto; color: rgba(255, 255, 255, .5); font-size: 12px; letter-spacing: .04em; }

/* ---------- Floating panel ---------- */
.panel-tab {
  position: fixed; right: 0; top: 50%; z-index: 70; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px; border: 1px solid var(--line); border-right: 0; border-radius: 16px 0 0 16px;
  background: var(--white); box-shadow: var(--shadow); color: var(--ink);
  transition: padding .25s var(--ease), background .25s;
}
.panel-tab:hover { padding-right: 16px; }
.panel-tab-word { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; font-weight: 900; letter-spacing: .24em; }
.panel-tab-word .gold { color: var(--gold); }
.panel-tab-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 16px; line-height: 1; }
.panel-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(9, 45, 57, .35); opacity: 0; transition: opacity .3s; }
.panel-backdrop.is-open { opacity: 1; }
.panel {
  position: fixed; z-index: 90; right: 16px; top: 50%; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  transform: translate(24px, -50%); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
  background: var(--cream); border: 1px solid var(--line); border-radius: 26px; padding: 26px 26px 22px; box-shadow: 0 40px 80px -30px rgba(9, 45, 57, .45);
}
.panel.is-open { transform: translate(0, -50%); opacity: 1; }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.panel-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.panel-title { font-size: 24px; margin: 4px 0 20px; }
.panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.panel-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s; }
.panel-list a:hover { border-color: var(--c); transform: translateX(-2px); }
.panel-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.panel-list em { font-style: normal; font-size: 13px; color: var(--muted); }
.panel-list .arrow { color: var(--c); }
.panel-foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; display: grid; gap: 8px; }
.panel-foot a { color: var(--teal); }
.panel-social { display: flex; gap: 16px; }
.panel-tag { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav ul { gap: 18px; }
  .brand-sub { display: none; }
  .mega-grid { grid-template-columns: 1fr 2.4fr; }
  .mega-next { display: none; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-card:nth-child(3) { border-right: 0; }
  .pillar-card:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .mega { display: none !important; }
  .home-hero-grid, .page-hero-grid, .pillar-hero-grid, .intro-grid, .people-grid, .events-layout, .stories-layout,
  .why-grid, .detail-layout, .profile-grid, .about-section, .about-section.no-image, .footer-top { grid-template-columns: 1fr; }
  .home-hero-visual { order: -1; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 22px 22px 22px 90px; }
  .hero-wash { width: 40%; left: auto; right: 14px; bottom: -28px; }
  .hero-caption { display: none; }
  .about-section:nth-of-type(even) .media { order: 0; }
  .detail-aside { position: static; }
  .profile-grid .media { position: static; max-width: 420px; }
  .grid-3, .grid-4, .ways-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .places-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic-1 { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .intro-words { font-size: clamp(26px, 7vw, 56px); }
  .pillar-row { grid-template-columns: 50px 1fr 30px; }
  .pillar-row p { grid-column: 2 / 3; }
  .cal-grid { display: none; }
  .cal-list { display: block; padding: 8px 18px 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { width: 112px; }
  .grid-2, .grid-3, .grid-4, .ways-grid, .form-row, .check-grid, .gallery-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar-card { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .pillar-card:nth-child(2n) { border-right: 0 !important; }
  .pillar-card a { padding: 22px 16px 26px; }
  .pillar-num { margin-bottom: 16px; }
  .pillar-text { display: none; }
  .places-mosaic { grid-template-columns: 1fr; }
  .mosaic-1 { grid-column: auto; min-height: 320px; }
  .mosaic-2, .mosaic-3, .mosaic-4, .mosaic-5 { min-height: 220px; }
  .card-event.row { flex-direction: column; }
  .card-event.row .card-media { width: 100%; aspect-ratio: 3 / 2; }
  .card-story.compact { flex-direction: column; }
  .card-story.compact .card-media { width: 100%; aspect-ratio: 4 / 3; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal .credit { margin-left: 0; width: 100%; }
  .news-form { grid-template-columns: 1fr; }
  .stops li { grid-template-columns: 40px 1fr; }
  .stops .media { display: none; }
  .section-head { align-items: flex-start; }
  .panel-tab { top: auto; bottom: 18px; right: 16px; transform: none; flex-direction: row; padding: 10px 14px 10px 18px; border: 1px solid var(--line); border-radius: var(--pill); }
  .panel-tab:hover { padding-right: 14px; }
  .panel-tab-word { writing-mode: horizontal-tb; transform: none; }
  .panel { top: auto; bottom: 0; right: 0; left: 0; width: 100%; max-height: 88vh; border-radius: 26px 26px 0 0; transform: translateY(30px); }
  .panel.is-open { transform: none; }
  .result { grid-template-columns: 80px 1fr; }
  .community-cta { min-height: 560px; }
  .detail-media { aspect-ratio: 4 / 3; }
  .detail-title { font-size: clamp(32px, 9vw, 44px); }
  .btn { padding: 0 22px; }
}

.inline-mark { display: inline-block; height: .74em; width: auto; vertical-align: -0.02em; margin-left: .12em; }
