/* palette: bg=#ECEAE4 fg=#17171A accent=#2E6A64 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #ECEAE4;        /* gallery off-white, warm-neutral */
  --bg-alt: #E2DFD7;    /* deeper neutral, alternating sections */
  --bg-card: #F4F2EC;   /* lifted card surface */
  --bg-deep: #17171A;   /* dark inverted band */
  --fg: #17171A;        /* near-black, neutral */
  --fg-soft: #3B3B3F;
  --muted: #8C897F;     /* secondary text / wordmark light tone */
  --line: #D6D2C8;      /* hairlines */
  --accent: #2E6A64;    /* muted deep teal (pool water) */
  --accent-deep: #1E4C48;
  --accent-soft: #6FA39D;
  --border: rgba(23, 23, 26, 0.12);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1280px;
  --pad: clamp(80px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } body { font-size: 18px; } }

.section { padding: var(--pad) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head p.lead { color: var(--fg-soft); margin: 18px 0 0; font-size: 1.06rem; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

h2.display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 400;
}
h3.card-title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  font-weight: 500;
}
em { font-style: normal; color: var(--accent); }

.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid transparent;
  will-change: transform;
}
.btn span { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover span { transform: translateX(4px); }

.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn--line { background: transparent; color: var(--fg); border-color: var(--border); }
.btn--line:hover { border-color: var(--fg); transform: translateY(-2px); }

.btn--ghost { padding: 0; border-radius: 0; color: var(--fg); }
.btn--ghost:hover { color: var(--accent); }

.link-arrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 234, 228, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(23, 23, 26, 0.06);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { flex: none; }
.brand__mark circle { fill: var(--accent); }
.brand__mark line { stroke: var(--fg); }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__a { color: var(--muted); }
.brand__b { color: var(--fg); }

.nav { display: none; gap: 30px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-cta { display: inline-flex; align-items: center; }
  .header__inner { height: 84px; }
}

.menu-toggle {
  width: 42px; height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 11vw, 3rem);
  letter-spacing: -0.02em;
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.mobile-menu__nav a:last-child { border-bottom: none; }
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-soft);
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- hero (collage) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 90px;
}
.hero__collage { position: absolute; inset: 0; pointer-events: none; }
.hero__tile {
  position: absolute;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 10px 40px -14px rgba(23, 23, 26, 0.3);
  opacity: 0;
  animation: tileIn 1.2s var(--ease) forwards;
}
.hero__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes tileIn { to { opacity: 1; } }

/* mobile: four corner tiles, small, understated */
.hero__tile { width: 30vw; height: 22vw; }
.t1 { top: 11%;  left: 3%;  animation-delay: 0.05s; }
.t2 { top: 9%;   right: 3%; width: 34vw; height: 26vw; animation-delay: 0.15s; }
.t3 { bottom: 10%; left: 4%; animation-delay: 0.25s; }
.t4 { bottom: 8%; right: 4%; width: 33vw; height: 24vw; animation-delay: 0.35s; }
.t5, .t6 { display: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 9vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
.hero__sub {
  max-width: 560px;
  margin: 28px auto 38px;
  color: var(--fg-soft);
  font-size: 1.04rem;
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}

@media (min-width: 768px) {
  .hero__tile { width: 20vw; height: 15vw; }
  .t1 { top: 13%; left: 6%;  width: 17vw; height: 20vw; }
  .t2 { top: 10%; right: 6%; width: 21vw; height: 15vw; }
  .t3 { bottom: 13%; left: 5%; width: 19vw; height: 14vw; }
  .t4 { bottom: 11%; right: 6%; width: 18vw; height: 21vw; }
  .t5 { display: block; top: 50%; left: 2%; transform: translateY(-50%); width: 13vw; height: 13vw; animation-delay: 0.45s; }
  .t6 { display: block; top: 48%; right: 2%; transform: translateY(-50%); width: 14vw; height: 14vw; animation-delay: 0.55s; }
  .hero__scroll { display: block; }
}
@media (min-width: 1200px) {
  .t1 { top: 15%; left: 7%;  width: 14vw; height: 19vw; }
  .t2 { top: 12%; right: 8%; width: 17vw; height: 12vw; }
  .t3 { bottom: 14%; left: 8%; width: 15vw; height: 11vw; }
  .t4 { bottom: 12%; right: 7%; width: 15vw; height: 18vw; }
  .t5 { left: 4%;  width: 10vw; height: 10vw; }
  .t6 { right: 4%; width: 11vw; height: 11vw; }
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat { background: var(--bg); padding: 34px 26px; }
.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.stat__num em { color: var(--accent); }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 46px 32px; } }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.6vw, 3.3rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 940px;
  margin: 0 auto;
}
.manifesto__quote em { color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.6;
  color: var(--accent-soft);
  display: block;
  margin-bottom: 10px;
  opacity: 0.6;
}
.manifesto__cite {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 34px;
}

/* ---------- services grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.service {
  background: var(--bg);
  padding: 40px 34px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s var(--ease);
}
.service:hover { background: var(--bg-card); }
.service__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.service p { margin: 0; color: var(--fg-soft); font-size: 1rem; line-height: 1.7; }
.service__more {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- work gallery ---------- */
.work-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 680px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { display: block; }
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: var(--bg-alt);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__cat {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(236, 234, 228, 0.9);
  color: var(--fg);
  padding: 7px 12px;
  border-radius: 9999px;
}
.work-card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.work-card__title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.015em; }
.work-card__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.work-card__desc { margin: 10px 0 0; color: var(--fg-soft); font-size: 0.98rem; }
.work-card--wide { grid-column: 1 / -1; }
.work-card--wide .work-card__media { aspect-ratio: 16 / 7; }

/* ---------- dark band ---------- */
.dark-band {
  background: var(--bg-deep);
  color: var(--bg);
}
.dark-band .eyebrow { color: var(--accent-soft); }
.dark-band .eyebrow::before { background: var(--accent-soft); }
.dark-band__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
  max-width: 1000px;
}
.dark-band__quote em { color: var(--accent-soft); }
.dark-band__foot {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 32px;
}
.dark-band__foot p { margin: 0; color: rgba(236, 234, 228, 0.7); font-size: 0.98rem; max-width: 460px; }
.dark-band .btn--line { color: var(--bg); border-color: rgba(255, 255, 255, 0.28); }
.dark-band .btn--line:hover { border-color: var(--bg); background: rgba(255, 255, 255, 0.06); }

/* ---------- events / community ---------- */
.events { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 820px) { .events { grid-template-columns: repeat(3, 1fr); } }
.event {
  background: var(--bg);
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  transition: background 0.4s var(--ease);
}
.event:hover { background: var(--bg-card); }
.event__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.event__type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.event h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.015em; line-height: 1.12; }
.event p { margin: 0; color: var(--fg-soft); font-size: 0.98rem; }
.event__where { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- team (monogram, no faces) ---------- */
.team { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--bg); padding: 34px 28px 36px; display: flex; flex-direction: column; gap: 16px; }
.avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.member h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-top: -8px; }
.member p { margin: 0; color: var(--fg-soft); font-size: 0.95rem; line-height: 1.65; }

/* ---------- process (numbered) ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent-soft); line-height: 1; letter-spacing: -0.02em; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { margin: 0; color: var(--fg-soft); max-width: 640px; }
@media (min-width: 768px) {
  .step { grid-template-columns: 90px 1fr; gap: 40px; padding: 40px 0; }
}

/* ---------- faq ---------- */
.faq { max-width: 880px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent);
  left: 50%; top: 50%;
}
.faq__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__answer { padding: 0 0 30px; color: var(--fg-soft); font-size: 1.02rem; line-height: 1.72; max-width: 720px; }
.faq__answer p { margin: 0 0 12px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- cta band ---------- */
.cta { text-align: center; }
.cta h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 820px;
  margin: 0 auto;
}
.cta h2 em { color: var(--accent); }
.cta p { max-width: 520px; margin: 22px auto 0; color: var(--fg-soft); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 10px; }
.contact-block p, .contact-block a { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.4; color: var(--fg); }
.contact-block a:hover { color: var(--accent); }
.contact-block .small { font-family: var(--sans); font-size: 0.98rem; color: var(--fg-soft); line-height: 1.6; }

.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.field--check label { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--fg-soft); line-height: 1.5; }
.field--check a { color: var(--accent); border-bottom: 1px solid var(--border); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(120px, 16vw, 180px) 0 clamp(50px, 7vw, 90px); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 14ch;
}
.page-hero h1 em { color: var(--accent); }
.page-hero__lead { max-width: 560px; margin: 28px 0 0; color: var(--fg-soft); font-size: 1.08rem; line-height: 1.7; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse .split__media { order: 2; } }
.split__media { overflow: hidden; border-radius: 3px; aspect-ratio: 5 / 6; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 20px; }
.split__body p { color: var(--fg-soft); margin: 0 0 18px; }
.split__body p:last-child { margin-bottom: 0; }

/* ---------- prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.015em; margin: 48px 0 16px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--border); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- thanks ---------- */
.thanks { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px; }
.thanks__inner { max-width: 620px; }
.thanks h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.thanks h1 em { color: var(--accent); }
.thanks p { color: var(--fg-soft); margin: 24px 0 36px; font-size: 1.08rem; }
.thanks__check {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 32px; color: var(--accent);
}

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); padding: clamp(64px, 9vw, 110px) 0 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: clamp(44px, 6vw, 72px); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.1fr 1.4fr; } }
.footer__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.footer__tag { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; max-width: 420px; margin: 0 0 28px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
@media (min-width: 560px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a, .footer__col li { font-size: 0.96rem; color: var(--fg-soft); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 17vw, 13rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: clamp(50px, 8vw, 90px) 0 clamp(36px, 5vw, 56px);
  user-select: none;
}
.footer__wordmark span:first-child { color: var(--muted); }
.footer__wordmark span:last-child { color: var(--accent); }
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal nav a:hover { color: var(--accent); }
@media (min-width: 768px) {
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 40px; }
}

/* ---------- cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  background: rgba(23, 23, 26, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 34px;
  max-width: 460px;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(23, 23, 26, 0.4);
  transform: translateY(16px);
  transition: transform 0.4s var(--ease);
}
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.cookie-popup__card p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--fg-soft); }
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid var(--border); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__tile, .hero__tile img { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc ---------- */
.mt-cta { margin-top: clamp(40px, 6vw, 70px); }
.center-wrap { display: flex; justify-content: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-soft); border: 1px solid var(--line); border-radius: 9999px; padding: 7px 15px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 10px; top: 10px; }
