/* palette: bg=#F2EFE8 fg=#121210 accent=#8B1C1C */
/* fonts: display="Fraunces" body="Inter Tight" mono="IBM Plex Mono" */

:root {
  --bg: #F2EFE8;
  --bg-alt: #FBFAF6;
  --bg-dark: #121210;
  --fg: #121210;
  --fg-soft: #2A2926;
  --muted: #6F6B61;
  --rule: #1B1B17;
  --accent: #8B1C1C;
  --accent-deep: #5F1212;
  --paper: #ECE7DC;
  --border: rgba(18, 18, 16, 0.14);
  --border-soft: rgba(18, 18, 16, 0.08);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1280px;
}

*, *::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.72;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
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; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 500;
}
.eyebrow--muted { color: var(--muted); }

.rule {
  height: 1px;
  background: var(--rule);
  opacity: 0.18;
  width: 100%;
  border: 0;
  margin: 0;
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i:"] { transition-delay: calc(var(--i, 0) * 70ms); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(242, 239, 232, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border-soft);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  justify-self: center;
}
.nav a {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 9999px;
  transition: background 0.25s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] {
  background: rgba(18, 18, 16, 0.08);
}
.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span { width: 16px; height: 1.5px; background: var(--fg); display: block; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header__actions .btn--text { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 36px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.02em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--solid {
  background: var(--fg);
  color: var(--bg);
}
.btn--solid:hover { background: var(--accent); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--fg);
  border: 1px solid var(--border-soft);
}
.btn--ghost:hover { background: #fff; transform: translateY(-1px); }
.btn--text {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 9999px;
}
.btn--text:hover { background: rgba(18, 18, 16, 0.06); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.arrow-link:hover { gap: 16px; color: var(--accent); border-color: var(--accent); }
.arrow-link svg { width: 14px; height: 14px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__folio {
  position: absolute;
  top: 24px; left: 32px;
  display: flex; gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__folio--right { left: auto; right: 32px; }
.hero__inner { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 8.4rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero__lede {
  margin: 36px auto 0;
  max-width: 540px;
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.6;
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__watch {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.hero__watch::before {
  content: "▸";
  font-size: 12px;
}

/* Floating chips around hero (Cosmos polaroid feel) */
.hero__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.chip {
  position: absolute;
  width: 88px; height: 110px;
  border-radius: 6px;
  background: var(--bg-alt);
  box-shadow: 0 8px 32px -10px rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.6) inset;
  overflow: hidden;
  transform: rotate(var(--r, 0deg));
  animation: floatChip 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
.chip--label {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
  padding: 8px;
  letter-spacing: 0.06em;
  color: var(--fg);
  line-height: 1.4;
}
.chip--accent { background: var(--accent); color: var(--bg); }
.chip--dark { background: var(--bg-dark); color: var(--bg); }
.chip--cream { background: var(--paper); }

@keyframes floatChip {
  0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
  50% { transform: rotate(var(--r, 0deg)) translateY(-10px); }
}

/* Chip positions */
.chip:nth-child(1)  { top: 6%;  left: 4%;  --r: -8deg; --d: 0s; }
.chip:nth-child(2)  { top: 12%; left: 16%; --r: 6deg;  --d: 1.2s; }
.chip:nth-child(3)  { top: 4%;  left: 30%; --r: -4deg; --d: 2s; }
.chip:nth-child(4)  { top: 20%; right: 28%; --r: 9deg; --d: 0.8s; }
.chip:nth-child(5)  { top: 8%;  right: 14%; --r: -10deg; --d: 1.6s; }
.chip:nth-child(6)  { top: 14%; right: 3%; --r: 5deg; --d: 2.4s; }
.chip:nth-child(7)  { bottom: 18%; left: 2%; --r: -6deg; --d: 0.4s; }
.chip:nth-child(8)  { bottom: 8%;  left: 14%; --r: 11deg; --d: 1.8s; }
.chip:nth-child(9)  { bottom: 14%; left: 30%; --r: -3deg; --d: 2.6s; }
.chip:nth-child(10) { bottom: 22%; right: 24%; --r: 7deg; --d: 1s; }
.chip:nth-child(11) { bottom: 6%;  right: 10%; --r: -9deg; --d: 0.6s; }
.chip:nth-child(12) { bottom: 16%; right: 2%; --r: 4deg; --d: 2.2s; }

@media (max-width: 900px) {
  .chip { width: 64px; height: 80px; }
  .chip:nth-child(3), .chip:nth-child(4), .chip:nth-child(9), .chip:nth-child(10) { display: none; }
}
@media (max-width: 600px) {
  .hero__folio { font-size: 10px; }
  .chip { width: 52px; height: 66px; }
}

/* ===== Lede band ===== */
.lede {
  padding: 80px 0 60px;
  text-align: center;
}
.lede__text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.32;
  max-width: 720px;
  margin: 0 auto;
  color: var(--fg);
}
.lede__text span { color: var(--muted); font-style: italic; }

/* ===== Section ===== */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--bg); }
.section--dark .eyebrow { color: var(--paper); }
.section--dark h2 em { color: #E8A98A; }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 64px;
}
.section__head .title {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  letter-spacing: -0.025em;
  line-height: 1;
}
.section__head .title em { font-style: italic; color: var(--accent); }
.section__head--center { grid-template-columns: 1fr; text-align: center; }
.section__head--center .title { margin: 0 auto; }
.section__head .meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.6;
}
.section__head .meta p { max-width: 420px; }
@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Search card section (homepage) ===== */
.search-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-alt);
}
.search-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 56px;
}
.search-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .search-cards { grid-template-columns: 1fr; } }

.s-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border-soft);
}
.s-card img { width: 100%; height: 100%; object-fit: cover; }
.s-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(18, 18, 16, 0.75);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}
.s-card__popover {
  position: absolute;
  bottom: 16px; right: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  text-align: left;
}
.s-card__popover-content { flex: 1; }
.s-card__popover-content strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.s-card__popover-content small { color: var(--muted); font-size: 11px; }
.s-card__popover-actions { display: flex; gap: 4px; }
.s-card__popover-actions button {
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 9999px;
  background: var(--fg);
  color: var(--bg);
}
.s-card__popover-actions button + button { background: rgba(18,18,16,0.06); color: var(--fg); }
.s-card--solid { background: var(--accent); color: var(--bg); display: grid; place-items: center; }
.s-card--solid .s-card__label { font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; }

/* ===== Capabilities (services on homepage) ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.cap__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.cap__title {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.cap__body { font-size: 15px; color: var(--fg-soft); line-height: 1.65; flex: 1; }
.cap__link { margin-top: 24px; }

/* ===== Manifesto ===== */
.manifesto {
  text-align: center;
  padding: clamp(100px, 16vw, 180px) 0;
}
.manifesto__mark {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 24px;
  font-style: italic;
}
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
}
.manifesto__text em { font-style: italic; color: var(--accent); }
.manifesto__cite {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Editorial column (about) ===== */
.editorial {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; gap: 32px; } }
.editorial__aside {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.8;
}
.editorial__body p { font-size: 18px; line-height: 1.72; margin-bottom: 24px; color: var(--fg-soft); max-width: 640px; }
.editorial__body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 5.2em;
  float: left;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--accent);
  font-weight: 400;
}
.editorial__body h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 36px 0 16px;
  letter-spacing: -0.02em;
}

/* ===== Pull quote ===== */
.pullquote {
  margin: 60px 0;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
  font-style: italic;
}
.pullquote::before { content: "“"; color: var(--accent); display: block; font-size: 4rem; line-height: 0.4; margin-bottom: 12px; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .stats { grid-template-columns: 1fr; } }
.stat {
  padding: 40px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.stat__num em { color: var(--accent); font-style: normal; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ===== Services page table ===== */
.svc-list { border-top: 1px solid var(--rule); }
.svc {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 800px) {
  .svc { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}
.svc__num { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 8px; letter-spacing: 0.12em; }
.svc__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.1; }
.svc__body { font-size: 15px; color: var(--fg-soft); line-height: 1.65; }
.svc__body ul { margin-top: 12px; }
.svc__body li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 14px; }
.svc__body li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.svc__price { font-family: var(--mono); font-size: 13px; color: var(--fg); letter-spacing: 0.04em; padding-top: 8px; white-space: nowrap; }

/* ===== Cards / case studies ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: 0 18px 48px -16px rgba(0,0,0,0.18); }
.case__img { aspect-ratio: 4 / 3; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case__body { padding: 24px 28px 32px; }
.case__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.case__title { font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.case__body p { font-size: 14px; color: var(--fg-soft); line-height: 1.6; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.faq summary {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--fg-soft); font-size: 16px; line-height: 1.7; max-width: 680px; }

/* ===== Team (no photos — monogram) ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.team-card__name { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 4px; }
.team-card__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.team-card__bio { font-size: 14px; color: var(--fg-soft); line-height: 1.6; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--bg-dark);
  color: var(--bg);
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 28px;
  line-height: 1.02;
  color: var(--bg);
}
.cta-band h2 em { color: #E8A98A; font-style: italic; }
.cta-band p { color: rgba(251, 250, 246, 0.7); max-width: 520px; margin: 0 auto 40px; }
.cta-band .btn--solid { background: var(--bg); color: var(--fg); }
.cta-band .btn--solid:hover { background: var(--accent); color: var(--bg); }
.cta-band .btn--ghost { background: transparent; color: var(--bg); border-color: rgba(255,255,255,0.2); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.1); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.contact-info dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 24px;
  margin-top: 28px;
  font-size: 15px;
}
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-info dd { margin: 0; color: var(--fg); }

.form {
  background: var(--bg-alt);
  padding: 36px 36px 32px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
}
.form__row { display: flex; gap: 12px; }
.form__row > * { flex: 1; }
.form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  margin-top: 18px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  font: inherit;
  font-size: 16px;
  color: var(--fg);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus { border-bottom-color: var(--accent); }
.form textarea { min-height: 120px; resize: vertical; padding-top: 10px; }
.form__submit { margin-top: 28px; width: 100%; justify-content: center; }
.form__terms { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.form__terms a { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg);
  padding: 80px 0 28px;
  border-top: 1px solid var(--rule);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer__brand { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.03em; line-height: 0.95; }
.footer__brand em { font-style: italic; color: var(--accent); }
.footer__tagline { margin-top: 18px; max-width: 320px; color: var(--fg-soft); font-size: 15px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 500; }
.footer__col li { margin-bottom: 8px; font-size: 14px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.footer__bottom a:hover { color: var(--fg); }

/* ===== 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(18, 18, 16, 0.35);
  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-alt);
  padding: 32px 36px 30px;
  max-width: 480px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.3);
}
.cookie-popup__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.cookie-popup__card h3 { font-family: var(--serif); font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; line-height: 1.6; color: var(--fg-soft); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 22px;
  border: 1px solid var(--rule);
  cursor: pointer;
  font-size: 13px;
  border-radius: 9999px;
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.cookie-popup__actions button:hover { background: rgba(18,18,16,0.06); }
.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); }

/* ===== Legal pages ===== */
.legal {
  padding: 80px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 12px; }
.legal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-bottom: 48px; }
.legal h2 { font-family: var(--serif); font-size: 24px; margin: 40px 0 14px; letter-spacing: -0.02em; }
.legal p, .legal li { font-size: 16px; line-height: 1.72; color: var(--fg-soft); margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal li { list-style: disc; margin-bottom: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Thanks page ===== */
.thanks {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.03em; margin-bottom: 24px; }
.thanks h1 em { color: var(--accent); font-style: italic; }
.thanks p { font-size: 18px; color: var(--fg-soft); max-width: 480px; margin: 0 auto 36px; }

/* ===== Utility ===== */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 800px) { .split-2 { grid-template-columns: 1fr; gap: 32px; } }
