/* palette: bg=#ECEBE6 fg=#0D0D0D accent=#FF5630 */
/* fonts: display="Archivo" body="Inter" mono="Space Mono" */

:root {
  --bg: #ECEBE6;
  --bg-alt: #E3E2DB;
  --fg: #0D0D0D;
  --fg-soft: #26261F;
  --muted: #6E6D64;
  --accent: #FF5630;
  --accent-deep: #DB4221;
  --border: rgba(13, 13, 13, 0.14);
  --border-soft: rgba(13, 13, 13, 0.08);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 17px;
}
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 { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--accent); color: #fff; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 235, 230, 0.86);
  -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);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border-soft), 0 10px 30px -18px rgba(0,0,0,0.4);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (min-width: 768px) { .header__inner { padding: 18px 32px; } }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 19px;
}
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--fg);
  color: var(--bg);
  border-radius: 6px;
  flex: none;
}
.brand__mark svg { width: 18px; height: 18px; }

.nav {
  display: none;
  gap: 34px;
  align-items: center;
}
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav a::after { content: " \2192"; color: var(--muted); transition: transform 0.25s var(--ease); display: inline-block; }
.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: translateX(3px); color: var(--accent); }

.header__cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--fg);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }
.header__cta:hover { background: var(--fg); color: var(--bg); }

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px 28px 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu__contact { margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ============ HERO ============ */
.hero { padding: 40px 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 0.85fr 1.6fr; gap: 48px; align-items: end; }
}
.hero__lede {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  max-width: 30ch;
  align-self: end;
}
.hero__lede .eyebrow { display: block; margin-bottom: 22px; font-weight: 400; }

/* symbol glyph grid */
.glyphs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--border-soft);
}
@media (min-width: 600px) { .glyphs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .glyphs { grid-template-columns: repeat(4, 1fr); } }
.glyph {
  aspect-ratio: 1 / 1;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease);
}
.glyph svg { width: 56%; height: 56%; }
.glyph svg [fill] { fill: var(--fg); transition: fill 0.35s var(--ease); }
.glyph:hover { background: var(--accent); }
.glyph:hover svg [fill] { fill: #fff; }

.hero__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3.5rem, 14.5vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 36px 0 0;
  padding-bottom: 6px;
}
.hero__name em { font-style: normal; color: var(--accent); }

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--fg);
  margin-top: 18px;
  padding: 14px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero__bar a:hover { color: var(--accent); }
.hero__bar-arrow { font-size: 16px; }

/* ============ SECTION SHELL ============ */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0;
}
.section__title em { font-style: normal; color: var(--accent); }
.link-arrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { color: var(--accent); gap: 12px; }

/* ============ WORK CARDS ============ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { display: block; }
.work-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: grayscale(0.15);
}
.work-card:hover .work-card__media img { transform: scale(1.05); filter: grayscale(0); }
.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 2px 0;
  gap: 12px;
}
.work-card__title { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.work-card__sub { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.work-card__year { font-family: var(--mono); font-size: 12px; color: var(--muted); flex: none; }

.btn-load {
  display: block;
  margin: 44px auto 0;
  padding: 14px 34px;
  border: 1px solid var(--fg);
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-load:hover { background: var(--fg); color: var(--bg); }

/* ============ MANIFESTO (big lowercase headline) ============ */
.manifesto { padding: clamp(70px, 11vw, 150px) 0; }
.manifesto__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  text-transform: lowercase;
}
.manifesto__title em { font-style: normal; color: var(--accent); }

/* dark inverted band */
.band-dark {
  background: var(--fg);
  color: var(--bg);
}
.band-dark .eyebrow { color: rgba(236,235,230,0.55); }
.band-dark .statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 22px 0 0;
}
.band-dark .statement em { font-style: normal; color: var(--accent); }
.band-dark .statement-wrap { max-width: 960px; }

/* ============ SERVICES LIST ROWS ============ */
.svc-list { border-top: 1px solid var(--fg); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding-left 0.4s var(--ease);
}
@media (min-width: 768px) {
  .svc-row { grid-template-columns: 0.5fr 1.2fr auto; gap: 40px; align-items: center; }
  .svc-row:hover { padding-left: 16px; }
}
.svc-row__name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.05; }
.svc-row__desc { color: var(--fg-soft); font-size: 16px; line-height: 1.7; max-width: 52ch; }
.svc-row__num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc-row__icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.svc-row__icon svg { width: 24px; height: 24px; }
.svc-row__icon svg [fill] { fill: var(--fg); transition: fill 0.35s var(--ease); }
.svc-row:hover .svc-row__icon { background: var(--accent); border-color: var(--accent); }
.svc-row:hover .svc-row__icon svg [fill] { fill: #fff; }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 36px 24px; }
.stat__num { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 10px; }

/* ============ NEWSLETTER / CTA ============ */
.cta-block { text-align: left; }
.cta-block__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 24px;
}
.cta-block__title em { font-style: normal; color: var(--accent); }
.cta-block p { font-size: 18px; color: var(--fg-soft); max-width: 48ch; margin: 0 0 32px; }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 540px;
}
.inline-form input {
  flex: 1 1 240px;
  padding: 16px 20px;
  border: 1px solid var(--fg);
  background: transparent;
  font: inherit;
  font-size: 16px;
  border-radius: 9999px;
}
.inline-form input::placeholder { color: var(--muted); }
.inline-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  padding: 16px 30px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

/* ============ CONTACT FORM ============ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  font-size: 16px;
  border-radius: 6px;
  transition: border-color 0.25s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); }
.contact-info dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 24px; }
.contact-info dd { margin: 6px 0 0; font-size: 17px; }
.contact-info dd a:hover { color: var(--accent); }

/* ============ ABOUT / PROSE ============ */
.lead-para { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.28; letter-spacing: -0.02em; max-width: 24ch; }
.prose { max-width: 64ch; }
.prose p { color: var(--fg-soft); margin: 0 0 22px; line-height: 1.78; }
.prose h3 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 40px 0 14px; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 0.7fr 1.3fr; gap: 64px; } }

/* principles cards (text-only, no faces) */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--border);
  padding: 32px 28px;
  background: var(--bg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px -8px rgba(0,0,0,0.14); }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.card__title { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; margin: 14px 0 10px; }
.card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; margin: 0; }

/* team text cards with monogram */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { border: 1px solid var(--border); padding: 28px; background: var(--bg); }
.avatar--mono {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.member__name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.member__role { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 4px 0 14px; }
.member p { color: var(--fg-soft); font-size: 15px; line-height: 1.65; margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--fg); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.faq__q { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -0.02em; }
.faq__a { color: var(--fg-soft); font-size: 16px; line-height: 1.72; margin: 12px 0 0; max-width: 70ch; }

/* page hero (interior) */
.page-hero { padding: clamp(60px, 10vw, 130px) 0 clamp(40px, 6vw, 70px); }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 18px 0 0;
}
.page-hero__title em { font-style: normal; color: var(--accent); }

/* ============ FOOTER ============ */
.footer { background: var(--fg); color: var(--bg); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__big {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 9rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0 0 56px;
}
.footer__big em { font-style: normal; color: var(--accent); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 56px; border-bottom: 1px solid rgba(236,235,230,0.16); }
@media (min-width: 768px) { .footer__cols { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer__col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(236,235,230,0.5); margin: 0 0 16px; font-weight: 400; }
.footer__col a, .footer__col p { color: rgba(236,235,230,0.82); font-size: 15px; line-height: 1.9; margin: 0; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(236,235,230,0.5); }
.footer__bottom a:hover { color: var(--accent); }

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

/* ============ 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.4);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .3s; }
.cookie-popup[data-open="true"] { opacity:1;pointer-events:all; }
.cookie-popup__card { background:var(--bg);padding:32px 36px;max-width:480px;border-radius:4px;border:1px solid var(--border);box-shadow:0 30px 80px -20px rgba(0,0,0,0.5); }
.cookie-popup__label { font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:0.14em;color:var(--accent);margin-bottom:12px; }
.cookie-popup h3 { font-family:var(--serif);font-weight:700;font-size:1.3rem;letter-spacing:-0.02em;margin:0 0 10px; }
.cookie-popup p { font-size:14px;line-height:1.65;color:var(--fg-soft);margin:0; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:20px; }
.cookie-popup__actions button { padding:10px 24px;border:1px solid var(--border);cursor:pointer;font-size:14px;border-radius:9999px;font-weight:500;transition:background .25s var(--ease),color .25s var(--ease); }
.cookie-popup__actions button:first-child:hover { border-color:var(--fg); }
.cookie-popup__actions button:last-child { background:var(--fg);color:var(--bg);border-color:var(--fg); }
.cookie-popup__actions button:last-child:hover { background:var(--accent);border-color:var(--accent); }

/* thanks page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks__title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -0.04em; line-height: 0.95; margin: 18px 0 20px; }
.thanks__title em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--fg-soft); font-size: 18px; max-width: 44ch; margin: 0 auto 32px; }
