/* palette: bg=#ECE5D5 fg=#0E0D0B accent=#D6321A */
/* fonts: display="Fraunces" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #ECE5D5;
  --bg-alt: #E2DAC6;
  --paper: #F4EFE2;
  --fg: #0E0D0B;
  --fg-soft: #1B1A18;
  --muted: #6E6A60;
  --accent: #D6321A;
  --accent-deep: #A8240F;
  --blue: #2E5B9A;
  --border: rgba(14, 13, 11, 0.14);
  --border-strong: rgba(14, 13, 11, 0.32);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Inter', ui-sans-serif, -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 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.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; }
::selection { background: var(--accent); color: var(--paper); }

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

/* ═══ Header ═══ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 229, 213, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(236, 229, 213, 0.94);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fg);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
}
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a.is-current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--fg);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav__cta:hover { background: var(--accent); color: var(--paper); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .25s 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 {
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.mobile-menu .mobile-menu__meta {
  margin-top: auto;
  padding-top: 32px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ═══ Common ═══ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--fg); color: var(--paper); }
.section--dark .eyebrow { color: var(--paper); opacity: 0.74; }
.section--dark .muted { color: rgba(244, 239, 226, 0.62); }

.divider-rule {
  height: 1px;
  background: var(--border);
}

/* ═══ Hero ═══ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 32px 32px 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 26px;
}
.hero__index span strong { color: var(--fg); font-weight: 500; }

.hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.hero__title-col {
  padding: 56px 56px 56px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
  position: relative;
}
.hero h1 {
  font-size: clamp(3.25rem, 9.5vw, 8.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-style: normal;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero h1 .strike {
  position: relative;
  display: inline-block;
}
.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 6px;
  background: var(--accent);
  transform: rotate(-2deg);
}
.hero__lede {
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin-top: 36px;
}
.hero__meta {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta strong { color: var(--fg); font-weight: 500; display: block; margin-top: 4px; font-size: 12px; letter-spacing: 0.04em; }

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--fg);
  min-height: 56vh;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.92) contrast(1.06);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero__shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__shape .asterisk {
  position: absolute;
  top: 14%;
  left: 8%;
  width: 14vw; max-width: 160px; min-width: 80px;
  color: var(--paper);
}
.hero__shape .ribbon {
  position: absolute;
  bottom: 18%;
  right: -6%;
  width: 38%;
  height: 22%;
  background: var(--accent);
  transform: skewY(-7deg);
  z-index: 1;
}
.hero__shape .arc {
  position: absolute;
  bottom: 6%;
  left: 12%;
  width: 30%;
  color: var(--blue);
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  gap: 24px;
  flex-wrap: wrap;
}
.hero__bottom .scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg);
}
.hero__bottom .scroll-cue::after {
  content: '↓';
  font-family: var(--sans);
  font-size: 14px;
  animation: nudge 1.8s var(--ease) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: 0.4; }
}

@media (max-width: 900px) {
  .hero__main { grid-template-columns: 1fr; }
  .hero__title-col { border-right: 0; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .hero__media { min-height: 50vh; }
  .hero__top, .hero__bottom { padding: 20px 24px; }
}

/* ═══ Work grid ═══ */
.work {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.work__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}
.work__head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  font-weight: 400;
}
.work__head h2 em { font-style: italic; color: var(--accent); }
.work__head p {
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 0;
  justify-self: end;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.work__card {
  position: relative;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background .35s var(--ease);
  grid-column: span 4;
  background: var(--bg);
}
.work__card:hover { background: var(--paper); }
.work__card:nth-child(3n) { border-right: 0; }
.work__card--wide { grid-column: span 6; }
.work__card--full { grid-column: span 12; border-right: 0; }
.work__card-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.work__card-meta strong { color: var(--fg); font-weight: 500; }
.work__card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--fg);
}
.work__card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .9s var(--ease);
  filter: grayscale(0.7) contrast(1.05);
}
.work__card:hover .work__card-img img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1);
}
.work__card-img--accent {
  background: var(--accent);
}
.work__card-img--accent::after {
  content: '*';
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 16vw;
  color: var(--paper);
  font-style: italic;
  font-weight: 300;
  line-height: 0.6;
}
.work__card-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--paper);
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  z-index: 2;
}
.work__card h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.work__card h3 em { font-style: italic; color: var(--accent); }
.work__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
}
.work__card-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.work__card-link::after {
  content: '→';
  font-family: var(--sans);
  transition: transform .3s var(--ease);
}
.work__card:hover .work__card-link::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .work__head { grid-template-columns: 1fr; padding: 40px 0; }
  .work__head p { justify-self: start; }
  .work__card, .work__card--wide, .work__card--full { grid-column: span 12; border-right: 0; }
}

/* ═══ Deep dive case ═══ */
.case {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.case__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
}
.case__media {
  position: relative;
  background: var(--fg);
  min-height: 540px;
  overflow: hidden;
}
.case__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.06);
}
.case__media .case__poster {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: var(--accent);
  color: var(--paper);
  padding: 14px 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  max-width: 240px;
  line-height: 1.1;
}
.case__body {
  padding: 72px 56px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case__body h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
}
.case__body h2 em { font-style: italic; color: var(--accent); }
.case__body p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--fg-soft);
  margin: 0;
}
.case__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.case__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}
.case__stat span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.case__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--fg);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background .25s var(--ease);
}
.case__cta:hover { background: var(--accent); }
.case__cta::after { content: '→'; font-family: var(--sans); }

@media (max-width: 900px) {
  .case__inner { grid-template-columns: 1fr; }
  .case__media { min-height: 380px; }
  .case__body { padding: 48px 24px; border-left: 0; border-top: 1px solid var(--border); }
  .case__stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ═══ Manifesto ═══ */
.manifesto {
  background: var(--fg);
  color: var(--paper);
  padding: clamp(100px, 14vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto__quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(8rem, 18vw, 16rem);
  color: var(--accent);
  line-height: 0.6;
  height: 0;
  margin-bottom: 32px;
  font-weight: 300;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  max-width: 980px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.manifesto p em { font-style: italic; color: var(--accent); }
.manifesto cite {
  display: block;
  margin-top: 56px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 226, 0.66);
}
.manifesto__rule {
  width: 56px; height: 1px;
  background: rgba(244, 239, 226, 0.32);
  margin: 24px auto 0;
}

/* ═══ Two-column intro / about ═══ */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.split__head, .split__body {
  padding: 88px 56px;
}
.split__head {
  border-right: 1px solid var(--border);
}
.split__head h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  letter-spacing: -0.025em;
  font-weight: 400;
  line-height: 1;
  margin-top: 24px;
}
.split__head h2 em { font-style: italic; color: var(--accent); }
.split__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.split__body p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--fg-soft);
  margin: 0;
  max-width: 60ch;
}
.split__body p strong { color: var(--fg); font-weight: 500; }
.split__body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--accent);
  font-weight: 300;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__head { border-right: 0; border-bottom: 1px solid var(--border); padding: 48px 24px; }
  .split__body { padding: 48px 24px; }
}

/* ═══ Numbered list / process ═══ */
.process { padding: clamp(80px, 12vw, 140px) 0; }
.process__head { max-width: 720px; margin-bottom: 64px; }
.process__head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-top: 20px;
}
.process__head h2 em { font-style: italic; color: var(--accent); }
.process__list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--border);
}
.process__item {
  display: grid;
  grid-template-columns: 1fr 4fr 6fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.process__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.process__item h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-family: var(--serif);
  font-style: italic;
}
.process__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
}

@media (max-width: 900px) {
  .process__item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
}

/* ═══ Services list ═══ */
.services-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--border);
}
.services-list li {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr 100px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: pointer;
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.services-list li:hover {
  background: var(--paper);
  padding-left: 16px; padding-right: 16px;
}
.services-list .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.services-list h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
}
.services-list h3 em { font-style: italic; color: var(--accent); }
.services-list p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.6;
}
.services-list .arrow {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.services-list .arrow::after {
  content: ' →';
  display: inline-block;
  transition: transform .3s var(--ease);
}
.services-list li:hover .arrow::after { transform: translateX(6px); }

@media (max-width: 720px) {
  .services-list li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .services-list .arrow { text-align: left; color: var(--accent); }
}

/* ═══ Team / principles (text only, no faces) ═══ */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.principle {
  padding: 48px 32px 56px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.principle:nth-child(3n) { border-right: 0; }
.principle__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.principle h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.principle h3 em { font-style: italic; color: var(--accent); }
.principle p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; padding: 36px 24px; }
}

/* ═══ Studio / monogram cards ═══ */
.team-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-card {
  padding: 36px 28px 40px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg);
  transition: background .3s var(--ease);
}
.team-card:nth-child(4n) { border-right: 0; }
.team-card:hover { background: var(--paper); }
.avatar {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.avatar--mono.bg-1 { background: var(--accent); }
.avatar--mono.bg-2 { background: var(--blue); }
.avatar--mono.bg-3 { background: var(--fg); }
.avatar--mono.bg-4 { background: var(--accent-deep); color: var(--paper); }
.team-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.team-card .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -8px;
}
.team-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .team-list { grid-template-columns: repeat(2, 1fr); }
  .team-card:nth-child(4n) { border-right: 1px solid var(--border); }
  .team-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .team-list { grid-template-columns: 1fr; }
  .team-card { border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ═══ Contact CTA ═══ */
.cta {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.cta h2 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.03em;
  font-weight: 300;
  line-height: 0.95;
  margin: 24px 0 0;
}
.cta h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.cta__details {
  display: flex; flex-direction: column; gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
}
.cta__details a { color: var(--fg); border-bottom: 1px solid var(--border-strong); padding-bottom: 4px; transition: color .25s var(--ease); }
.cta__details a:hover { color: var(--accent); }
.cta__details .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.cta__buttons { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--paper); }
.btn--primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: var(--fg); color: var(--paper); }
.btn::after { content: '→'; font-family: var(--sans); }

@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ═══ Form ═══ */
.form-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.form-wrap__intro {
  padding: 80px 56px;
  border-right: 1px solid var(--border);
}
.form-wrap__intro h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-top: 24px;
}
.form-wrap__intro h2 em { font-style: italic; color: var(--accent); }
.form-wrap__intro p { color: var(--fg-soft); font-size: 16px; line-height: 1.7; margin-top: 24px; max-width: 38ch; }
.form-wrap form { padding: 80px 56px; display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field {
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
  font: inherit;
  font-family: var(--sans);
  color: var(--fg);
  border-radius: 0;
  transition: border-color .25s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-consent {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}
.form-consent input { margin-top: 4px; }
.form-consent a { color: var(--fg); border-bottom: 1px solid var(--border-strong); }
.form-wrap form button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
  padding: 16px 32px;
  background: var(--fg);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.form-wrap form button[type="submit"]:hover { background: var(--accent); transform: translateY(-1px); }

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-wrap__intro { border-right: 0; border-bottom: 1px solid var(--border); padding: 48px 24px; }
  .form-wrap form { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══ Contact info grid ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-cell:nth-child(4n) { border-right: 0; }
.contact-cell .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-cell strong, .contact-cell address {
  font-family: var(--serif);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--fg);
}
.contact-cell p { margin: 0; color: var(--fg-soft); font-size: 14px; line-height: 1.55; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cell:nth-child(2n) { border-right: 0; }
  .contact-cell:nth-child(4n) { border-right: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cell { border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ═══ Footer ═══ */
.footer {
  background: var(--fg);
  color: var(--paper);
  padding: 80px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244, 239, 226, 0.18);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 320px;
}
.footer__brand em { font-style: italic; color: var(--accent); }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(244, 239, 226, 0.62);
  margin: 0 0 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer ul a { color: rgba(244, 239, 226, 0.86); transition: color .25s var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244, 239, 226, 0.52);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══ Reveal ═══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ═══ 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(14, 13, 11, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px -16px rgba(0,0,0,0.4);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cookie-popup__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-soft);
}
.cookie-popup__card a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie-popup__actions {
  display: flex; gap: 12px; margin-top: 20px;
}
.cookie-popup__actions button {
  padding: 10px 24px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cookie-popup__actions button:hover { background: var(--paper); }
.cookie-popup__actions button:last-child {
  background: var(--fg);
  color: var(--paper);
  border-color: var(--fg);
}
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ═══ Page hero (smaller, for sub-pages) ═══ */
.page-hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.04em;
  font-weight: 300;
  line-height: 0.95;
  margin-top: 24px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-hero p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg-soft);
  margin: 0;
  max-width: 56ch;
}

@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .page-hero { padding: 80px 0 60px; }
}

/* ═══ Logo strip / clients ═══ */
.clients {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.clients__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.clients__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.clients__list {
  display: flex; gap: 56px; flex-wrap: wrap; align-items: center;
}
.clients__list span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg);
  opacity: 0.78;
}

/* small reveal for stat numbers in dark sections */
.section--dark .case__stat span { color: rgba(244, 239, 226, 0.62); }
