/* palette: bg=#F3F4F1 fg=#1B1E1B accent=#7A8B76 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #F3F4F1;        /* pale cold neutral — dominant background */
  --bg-alt: #E8EAE4;    /* alternating cool section background */
  --bg-paper: #FBFBF9;  /* lifted card surface */
  --fg: #1B1E1B;        /* near-black cool foreground */
  --fg-soft: #3C413B;   /* softened foreground */
  --muted: #727970;     /* secondary cool grey text */
  --accent: #7A8B76;    /* dusty sage accent */
  --accent-deep: #5C6B58;   /* darker sage for hover */
  --accent-wash: #E4E9E1;   /* faint sage tint for fills */
  --line: rgba(27, 30, 27, 0.14);
  --line-soft: rgba(27, 30, 27, 0.08);
  --border: rgba(27, 30, 27, 0.12);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  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; }
::selection { background: var(--accent); color: #fff; }

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

.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }

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

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

.h-display {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 400;
}
em { font-style: normal; color: var(--accent); }

.lead { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; color: var(--fg-soft); font-weight: 400; }
.muted { color: var(--muted); }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost { border: 1px solid var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.35s var(--ease), color 0.3s var(--ease);
}
.arrow-link .ar { transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); gap: 14px; }
.arrow-link:hover .ar { transform: translateX(3px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 244, 241, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 24px -12px rgba(27, 30, 27, 0.28);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative;
  flex: none;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 2.5px;
  border-radius: 50%; background: var(--accent);
}
.nav { display: none; gap: 34px; align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--fg); transition: transform 0.35s var(--ease), opacity 0.3s 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); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 96px 24px 40px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; justify-content: space-between;
}
.mobile-menu a .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--fg);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,10,0.35) 0%, rgba(10,12,10,0.12) 42%, rgba(10,12,10,0.72) 100%);
}
.hero__wordmark {
  position: absolute; top: clamp(90px, 14vh, 150px); right: clamp(20px, 5vw, 56px);
  z-index: 1;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 13vw, 11rem);
  letter-spacing: -0.04em; line-height: 1;
  color: rgba(255,255,255,0.14);
  pointer-events: none; user-select: none;
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: rgba(255,255,255,0.78); }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { color: #c9d4c2; }
.hero__sub { color: rgba(255,255,255,0.8); max-width: 48ch; margin: 28px 0 0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__actions .btn--light { background: #fff; }
.hero__actions .btn--outline { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.hero__actions .btn--outline:hover { border-color: #fff; transform: translateY(-2px); }
.hero__meta {
  position: absolute; bottom: clamp(20px, 4vw, 40px); right: clamp(20px, 5vw, 56px);
  z-index: 2; text-align: right;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); line-height: 2;
}

/* ---------- section header ---------- */
.sec-head { display: grid; gap: 24px; margin-bottom: clamp(44px, 6vw, 72px); }
@media (min-width: 860px) {
  .sec-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 48px; }
  .sec-head__aside { padding-bottom: 8px; }
}
.sec-head__aside p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- intro / manifesto blocks ---------- */
.intro-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 860px) { .intro-grid { grid-template-columns: 0.42fr 0.58fr; gap: 64px; } }
.intro-grid__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); line-height: 1.9; }
.intro-grid__body p { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.5; font-weight: 300; letter-spacing: -0.01em; color: var(--fg); font-family: var(--serif); }
.intro-grid__body p + p { margin-top: 1em; }

.manifesto { background: var(--fg); color: var(--bg); }
.manifesto .eyebrow { color: #a9b4a3; }
.manifesto .eyebrow::before { background: var(--accent); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 980px;
  color: #f1f3ee;
}
.manifesto__quote em { color: var(--accent); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 10rem); line-height: 0.6; color: var(--accent); opacity: 0.5; display: block; margin-bottom: 12px; }
.manifesto__cite { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8c968a; }

/* ---------- work / case grid (numbered) ---------- */
.work-grid { display: grid; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.case {
  background: var(--bg);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column;
  transition: background 0.4s var(--ease);
}
.case:hover { background: var(--bg-paper); }
.case__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.case__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent-deep); }
.case__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case__media { margin: 28px 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.case:hover .case__media img { transform: scale(1.05); }
.case__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.14; margin-bottom: 14px; }
.case__desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 26px; }
.case__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__specs { display: flex; gap: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- featured deep-dive ---------- */
.feature { background: var(--bg-alt); }
.feature__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: 0.92fr 1.08fr; gap: 72px; } }
.feature__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fg); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__num { position: absolute; top: 20px; left: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: #fff; background: rgba(27,30,27,0.55); padding: 6px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.feature__body .h2 { margin: 20px 0 24px; }
.feature__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; margin: 36px 0; border-top: 1px solid var(--line); padding-top: 32px; }
.feature__stat .n { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1; display: block; }
.feature__stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; display: block; }

/* ---------- capabilities list ---------- */
.caps { border-top: 1px solid var(--line); }
.cap-row {
  display: grid; gap: 16px; align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
@media (min-width: 820px) { .cap-row { grid-template-columns: 90px 1fr 1.1fr; gap: 40px; align-items: center; } }
.cap-row:hover { padding-left: 14px; }
.cap-row__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-deep); }
.cap-row__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 1.85rem); letter-spacing: -0.015em; line-height: 1.12; }
.cap-row__desc { color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.cap-row__desc .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-row__desc .tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 36px); }
.stat .n { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; display: block; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 16px; display: block; line-height: 1.6; }

/* ---------- principles / text team ---------- */
.principles { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { background: var(--bg); padding: clamp(28px, 3.5vw, 44px); min-height: 230px; display: flex; flex-direction: column; }
.principle__i { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-deep); margin-bottom: auto; }
.principle__t { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.01em; margin: 40px 0 12px; }
.principle__d { color: var(--muted); font-size: 14.5px; line-height: 1.68; }

/* text-only team cards */
.team { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member { background: var(--bg); padding: clamp(26px, 3vw, 40px); display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: #fff;
  letter-spacing: -0.01em;
}
.member__name { 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.1em; text-transform: uppercase; color: var(--accent-deep); margin: 6px 0 12px; }
.member__bio { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 28px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote-card { background: var(--bg-paper); border: 1px solid var(--line-soft); padding: clamp(28px, 3.5vw, 44px); border-radius: 4px; box-shadow: 0 4px 24px -4px rgba(27,30,27,0.06); display: flex; flex-direction: column; }
.quote-card__text { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.42; letter-spacing: -0.01em; color: var(--fg); }
.quote-card__by { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 14px; }
.quote-card__by .avatar { width: 42px; height: 42px; font-size: 0.9rem; }
.quote-card__meta .nm { font-weight: 600; font-size: 14.5px; }
.quote-card__meta .rl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.ph-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; margin-left: auto; align-self: flex-start; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: clamp(24px, 3vw, 34px) 0; }
.faq__q h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.24; }
.faq__sign { flex: none; width: 24px; height: 24px; position: relative; margin-top: 6px; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--accent-deep); transition: transform 0.4s var(--ease); }
.faq__sign::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__sign::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item[data-open="true"] .faq__sign::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a-inner { padding: 0 48px 30px 0; color: var(--fg-soft); font-size: 16px; line-height: 1.75; max-width: 68ch; }
.faq__item[data-open="true"] .faq__a { max-height: 420px; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.contact-info dl { margin: 0; display: grid; gap: 28px; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px; }
.contact-info dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg); }
.contact-info dd a { border-bottom: 1px solid var(--line); transition: border-color 0.3s var(--ease); }
.contact-info dd a:hover { border-color: var(--fg); }

.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.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: #fff; }
.field textarea { resize: vertical; min-height: 140px; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.form__consent input { margin-top: 4px; accent-color: var(--accent-deep); }
.form__consent a { color: var(--fg); border-bottom: 1px solid var(--line); }
.form button[type="submit"] { justify-self: start; }

/* ---------- cta band ---------- */
.cta { background: var(--fg); color: var(--bg); }
.cta__inner { display: grid; gap: 36px; align-items: end; }
@media (min-width: 860px) { .cta__inner { grid-template-columns: 1.3fr 0.7fr; } }
.cta .eyebrow { color: #a9b4a3; }
.cta h2 { color: #f1f3ee; font-weight: 300; }
.cta h2 em { color: var(--accent); }
.cta__side { text-align: left; }
@media (min-width: 860px) { .cta__side { text-align: right; } }
.cta__side p { color: #a9b4a3; font-size: 15px; margin-bottom: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 92px) 0 40px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; } }
.footer__brand .brand { font-size: 1.5rem; }
.footer__tagline { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 20px 0 0; max-width: 32ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col li { font-size: 14.5px; color: var(--fg-soft); }
.footer__col a { transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent-deep); }
.footer__bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.footer__bottom p, .footer__bottom a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a:hover { color: var(--fg); }

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .page-hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 56px; } }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 300; }
.page-hero h1 em { color: var(--accent); }
.page-hero__aside p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.015em; margin: 56px 0 18px; }
.legal h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 1.2em; }
.legal li::marker { color: var(--accent); }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.legal a { color: var(--accent-deep); border-bottom: 1px solid var(--line); }

/* thank-you */
.thanks { min-height: 86svh; display: flex; align-items: center; }
.thanks__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.thanks__mark { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 16vw, 11rem); line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: -0.02em; margin: 16px 0 20px; }
.thanks p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 auto 32px; }

/* ---------- 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__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 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(15, 17, 15, 0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 34px; max-width: 460px; border-radius: 6px; box-shadow: 0 24px 64px -16px rgba(0,0,0,0.4); border: 1px solid var(--line-soft); transform: translateY(12px); transition: transform 0.4s var(--ease); }
.cookie-popup[data-open="true"] .cookie-popup__card { transform: translateY(0); }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 13.5px; line-height: 1.66; color: var(--fg-soft); }
.cookie-popup__card p a { color: var(--accent-deep); border-bottom: 1px solid var(--line); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 0.01em; transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button[data-cookie="decline"]: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-deep); border-color: var(--accent-deep); }

/* ---------- misc ---------- */
.divider-label { display: flex; align-items: center; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--fg); color: var(--bg); padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 12px; top: 12px; }
