/* palette: bg=#16130F fg=#F2ECE1 accent=#C8A15A */
/* fonts: display="Fraunces" body="Archivo" mono="JetBrains Mono" */

:root {
  --bg: #16130F;            /* dominant warm espresso-black (reference dark hero) */
  --bg-alt: #1E1913;        /* alternating dark section / card surface */
  --bg-invert: #F2ECE1;     /* light inverted section (manifesto contrast) */
  --fg: #F2ECE1;            /* warm cream primary text */
  --fg-soft: #D8CFC0;       /* softened cream */
  --muted: #9A8F7E;         /* taupe secondary text */
  --accent: #C8A15A;        /* refined brass accent from warm hero */
  --accent-deep: #A9833F;   /* darker brass for hover */
  --ink: #1B1712;           /* dark text used on light sections */
  --ink-soft: #4A4238;
  --ink-muted: #7C7264;
  --border: rgba(242, 236, 225, 0.14);
  --border-strong: rgba(242, 236, 225, 0.30);
  --border-dark: rgba(27, 23, 18, 0.16);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 18px 50px -12px rgba(0, 0, 0, 0.55);
}

*, *::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;
  -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: var(--bg); }

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

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

.section--invert {
  background: var(--bg-invert);
  color: var(--ink);
}
.section--invert .eyebrow { color: var(--accent-deep); }
.section--invert .section-head__title { color: var(--ink); }
.section--invert .section-head__lead { color: var(--ink-soft); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- Section heading block ---------- */
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}
.section-head__lead {
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.72;
  color: var(--fg-soft);
  max-width: 620px;
}
.section-head--center .section-head__lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 9999px;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #16130F; }
.btn--primary:hover { background: var(--fg); color: #16130F; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.section--invert .btn--primary { background: var(--ink); color: var(--bg-invert); }
.section--invert .btn--primary:hover { background: var(--accent-deep); color: #16130F; }
.section--invert .btn--ghost { border-color: var(--border-dark); color: var(--ink); }
.section--invert .btn--ghost:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.35s var(--ease);
}
.link-arrow .arw { transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--fg); }
.link-arrow:hover .arw { transform: translateX(5px); }
.section--invert .link-arrow { color: var(--accent-deep); }
.section--invert .link-arrow:hover { color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 19, 15, 0.80);
  -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-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(22, 19, 15, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 74px;
}
.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--fg);
  justify-self: center;
  white-space: nowrap;
}
.brand:hover { color: var(--accent); }

.nav { display: none; gap: 30px; align-items: center; }
.nav--right { justify-self: end; }
.nav__link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__link--cta {
  color: var(--accent);
  border: 1px solid var(--border-strong);
  padding: 9px 18px;
  border-radius: 9999px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--accent); color: var(--bg); }

@media (min-width: 1024px) {
  .nav { display: inline-flex; }
}

/* ---------- Mobile menu ---------- */
.menu-toggle {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}
.menu-toggle span {
  width: 26px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s 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); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 74px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8%);
  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 a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 10px; }
.mobile-menu__foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 2;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--fg);
  text-align: center;
}
.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.10); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,15,11,0.72) 0%, rgba(18,15,11,0.48) 42%, rgba(18,15,11,0.86) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 120px 20px 90px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin: 0 0 6px;
}
.hero__eyebrow--sub { margin: 10px 0 0; color: var(--accent); }

.hero__title {
  margin: 22px 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.0;
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}
.hero__word {
  font-size: clamp(2.6rem, 10vw, 7.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
}
.hero__word--accent { color: var(--accent); font-style: italic; letter-spacing: -0.01em; }

.hero__scroll {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero bottom credit bar (mirrors reference footer strip) */
.hero__bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.hero__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.hero__bar-inner span { white-space: nowrap; }
.hero__bar-inner .is-accent { color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg-alt);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee__track span::after {
  content: "—";
  color: var(--accent);
  font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / lead statement ---------- */
.intro__grid {
  display: grid;
  gap: 40px;
}
.intro__lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
}
.intro__lead em { color: var(--accent); font-style: italic; }
.intro__body p { color: var(--fg-soft); margin: 0 0 20px; }
.intro__body p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 64px; }
}

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 1px; }
.grid--cards {
  gap: 24px;
}
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--cards { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: clamp(30px, 3.6vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  min-height: 100%;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--fg);
}
.card__text { color: var(--fg-soft); margin: 0; font-size: 0.98rem; line-height: 1.7; }
.card__list { margin-top: 6px; display: flex; flex-direction: column; gap: 10px; }
.card__list li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.card__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.card__foot { margin-top: auto; padding-top: 10px; }

/* ---------- Work / case studies ---------- */
.work { display: grid; gap: 28px; }
@media (min-width: 768px) { .work { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.work__item { display: block; }
.work__item--wide { grid-column: 1 / -1; }
.work__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.work__item--wide .work__frame { aspect-ratio: 16 / 8; }
.work__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work__item:hover .work__frame img { transform: scale(1.05); }
.work__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,15,11,0.55) 100%);
}
.work__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 2px 0;
}
.work__cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.work__year { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.work__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 8px 2px 0;
  line-height: 1.15;
}
.work__desc { color: var(--fg-soft); margin: 10px 2px 0; font-size: 0.98rem; max-width: 52ch; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.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: 960px;
  margin: 0 auto;
  color: var(--ink);
}
.manifesto__quote em { font-style: italic; color: var(--accent-deep); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.6;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 10px;
  opacity: 0.5;
}
.manifesto__cite {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Process (numbered) ---------- */
.process { display: grid; gap: 0; }
.process__step {
  display: grid;
  gap: 12px 40px;
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.process__step:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 768px) {
  .process__step { grid-template-columns: 120px 1fr 1.4fr; }
}
.process__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--accent);
  line-height: 1;
  font-style: italic;
}
.process__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--fg);
  line-height: 1.15;
}
.process__text { color: var(--fg-soft); margin: 0; font-size: 1rem; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 40px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid var(--border-dark); padding-top: 24px; }
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat__num em { color: var(--accent-deep); font-style: normal; }
.stat__label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 44px 28px 0; color: var(--fg-soft); margin: 0; }

/* ---------- CTA / form ---------- */
.cta { text-align: center; }
.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--fg);
}
.cta__title em { color: var(--accent); font-style: italic; }
.cta__lead { color: var(--fg-soft); max-width: 560px; margin: 0 auto 44px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.form { display: grid; gap: 22px; max-width: 720px; margin: 0 auto; text-align: left; }
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 2px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg-alt); color: var(--fg); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.form__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); max-width: 46ch; }

.section--invert .field input,
.section--invert .field textarea,
.section--invert .field select { color: var(--ink); border-bottom-color: var(--border-dark); }
.section--invert .field label,
.section--invert .form__note { color: var(--ink-muted); }
.section--invert .field input::placeholder,
.section--invert .field textarea::placeholder { color: var(--ink-muted); }

/* ---------- Contact detail blocks ---------- */
.detail-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .detail-grid { grid-template-columns: repeat(3, 1fr); } }
.detail { border-top: 1px solid var(--border); padding-top: 22px; }
.detail__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.detail__value { font-size: 1.05rem; color: var(--fg-soft); line-height: 1.7; margin: 0; }
.detail__value a:hover { color: var(--accent); }

/* ---------- Values / principles list ---------- */
.values { display: grid; gap: 0; }
.value {
  display: grid;
  gap: 10px 40px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
}
.value:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .value { grid-template-columns: 0.6fr 1.4fr; } }
.value__k {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--fg);
  margin: 0;
}
.value__v { color: var(--fg-soft); margin: 0; }

/* ---------- Team / studio (text-only, no faces) ---------- */
.team { display: grid; gap: 24px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.member:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #16130F;
  letter-spacing: 0.02em;
}
.member__name { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 0; color: var(--fg); letter-spacing: -0.01em; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: -6px 0 0; }
.member__bio { color: var(--fg-soft); font-size: 0.96rem; margin: 0; line-height: 1.7; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(64px, 8vw, 110px) 0 40px;
}
.footer__grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
}
.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--fg);
  margin: 0 0 18px;
}
.footer__tag { color: var(--muted); max-width: 34ch; font-size: 0.98rem; margin: 0; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li {
  color: var(--fg-soft);
  font-size: 0.96rem;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bar {
  margin-top: clamp(48px, 6vw, 84px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer__bar a:hover { color: var(--accent); }

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end;
  padding: 24px;
  background: rgba(0,0,0,0.5);
  -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-alt);
  border: 1px solid var(--border-strong);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--fg);
}
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #16130F; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--fg); }

/* ---------- 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) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(130px, 18vw, 220px) 0 clamp(60px, 8vw, 110px);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  color: var(--fg);
}
.page-hero__title em { color: var(--accent); font-style: italic; }
.page-hero__lead {
  margin: 32px 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--fg-soft);
  max-width: 620px;
  line-height: 1.7;
}
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* prose for legal pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 56px 0 18px;
  color: var(--fg);
}
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 32px 0 12px; color: var(--fg); }
.prose p, .prose li { color: var(--fg-soft); line-height: 1.8; }
.prose ul { padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--fg); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose__updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* thanks page */
.thanks { min-height: 76vh; display: flex; align-items: center; text-align: center; }
.thanks__mark {
  width: 84px; height: 84px; margin: 0 auto 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.4rem;
}
