/* palette: bg=#FFFFFF fg=#141414 accent=#E64B2E */
/* fonts: display="Archivo" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F2EF;
  --fg: #141414;
  --fg-soft: #2C2C2C;
  --muted: #6B6B6B;
  --accent: #E64B2E;
  --accent-deep: #C23A20;
  --border: rgba(20, 20, 20, 0.14);
  --serif: 'Archivo', ui-sans-serif, sans-serif;
  --sans: 'Inter', ui-sans-serif, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 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;
  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; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@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(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.display {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(20,20,20,0.06);
  border-color: var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex; align-items: baseline; gap: 1px;
}
.brand i { color: var(--accent); font-style: normal; }
.brand sup { color: var(--accent); font-size: 0.5em; top: -0.7em; }

.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 920px) { .nav { display: flex; } }
.nav a {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--fg-soft);
  transition: color .2s var(--ease);
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .25s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 9999px;
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--dark { background: var(--fg); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); opacity: 0.92; }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.header .btn { display: none; }
@media (min-width: 920px) { .header .btn { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
}
@media (min-width: 920px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 2px; background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  margin: 0 auto;
}
.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%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: 32px; letter-spacing: -0.01em;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 68px);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.02fr 1fr; }
}
.hero__text {
  display: flex; flex-direction: column;
  padding: 48px 20px 36px;
  position: relative;
}
@media (min-width: 768px) { .hero__text { padding: 64px 48px 40px; } }
.hero__text-inner { margin: auto 0; max-width: 560px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__lead {
  font-size: 18px; line-height: 1.65; color: var(--fg-soft);
  max-width: 440px; margin: 0;
}
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 44px;
}
.status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(230,75,46,0.18);
}
.hero__media {
  position: relative; overflow: hidden;
  min-height: 46vh;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__card {
  position: absolute; right: 20px; bottom: 20px;
  background: var(--bg); padding: 22px 24px;
  max-width: 290px;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.22);
  border-radius: 4px;
}
.hero__card p {
  font-size: 14px; line-height: 1.55; color: var(--fg-soft); margin: 0 0 16px;
}
.hero__card .btn { width: 100%; justify-content: center; }

/* ---------- SECTION SHELL ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 160px) 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 28px; margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92; letter-spacing: -0.025em; margin: 0;
}
.section-head .lede { max-width: 360px; color: var(--muted); font-size: 16px; }

/* ---------- WORK / CAROUSEL ---------- */
.work { background: var(--bg); }
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .carousel { grid-auto-columns: 42%; } }
@media (min-width: 1100px) { .carousel { grid-auto-columns: 30%; } }
.work-card { scroll-snap-align: start; }
.work-card__media {
  overflow: hidden; aspect-ratio: 4/3; border-radius: 4px; margin-bottom: 18px;
}
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px;
}
.work-card h3 {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: 22px; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 8px;
}
.work-card p { font-size: 15px; color: var(--muted); margin: 0; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--border); display: grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.carousel-nav button:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.carousel-nav svg { width: 18px; height: 18px; }

/* ---------- MANIFESTO (dark band) ---------- */
.manifesto { background: var(--fg); color: var(--bg); }
.manifesto .eyebrow { color: var(--accent); }
.manifesto__quote {
  font-family: var(--serif); font-weight: 600; text-transform: none;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.02em;
  max-width: 1000px; margin: 0;
}
.manifesto__quote em { color: var(--accent); font-style: normal; }
.manifesto__meta {
  margin-top: 48px; display: flex; flex-wrap: wrap; gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.16); padding-top: 36px;
}
.manifesto__meta div { max-width: 280px; }
.manifesto__meta h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
}
.manifesto__meta p { font-size: 15px; color: rgba(255,255,255,0.72); margin: 0; }

/* ---------- ESSAY / PROSE ---------- */
.essay__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .essay__grid { grid-template-columns: 0.4fr 0.6fr; gap: 60px; } }
.essay__lead {
  font-family: var(--serif); font-weight: 600; text-transform: none;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.18;
  letter-spacing: -0.02em; margin: 0;
}
.essay__body p { font-size: 18px; line-height: 1.78; color: var(--fg-soft); margin: 0 0 24px; }
.essay__body p:last-child { margin-bottom: 0; }
.essay__body strong { color: var(--fg); font-weight: 600; }

/* ---------- SERVICES LIST ---------- */
.svc-list { border-top: 1px solid var(--border); }
.svc-row {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 38px 0; border-bottom: 1px solid var(--border);
  align-items: start;
  transition: padding-left .3s var(--ease);
}
@media (min-width: 820px) {
  .svc-row { grid-template-columns: 90px 0.9fr 1.1fr auto; gap: 36px; align-items: center; }
}
.svc-row:hover { padding-left: 12px; }
.svc-row__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.svc-row h3 {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em;
  line-height: 1; margin: 0;
}
.svc-row p { font-size: 15px; color: var(--muted); margin: 0; }
.svc-row__go {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  display: none; place-items: center; transition: background .25s var(--ease), color .25s var(--ease);
}
@media (min-width: 820px) { .svc-row__go { display: grid; } }
.svc-row:hover .svc-row__go { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- STATS ---------- */
.stats { background: var(--bg-alt); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
@media (min-width: 820px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 40px 28px; }
.stat__num {
  font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1; letter-spacing: -0.03em; margin: 0 0 10px;
}
.stat__num em { color: var(--accent); font-style: normal; }
.stat__lbl { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- VALUES / FEATURE GRID ---------- */
.feat-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 720px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: var(--bg); padding: 40px 34px;
  transition: background .3s var(--ease);
}
.feat:hover { background: var(--bg-alt); }
.feat__k { font-family: var(--mono); font-size: 12px; color: var(--accent); margin: 0 0 22px; }
.feat h3 {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: 19px; letter-spacing: -0.005em; margin: 0 0 12px;
}
.feat p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---------- TEAM (text/monogram) ---------- */
.team-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--bg); padding: 32px 28px; }
.avatar--mono {
  width: 58px; height: 58px; border-radius: 4px;
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.member h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.member span { font-family: var(--mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 14px; }
.member p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- TESTIMONIAL ---------- */
.quote-band { background: var(--bg-alt); }
.quote-band blockquote {
  margin: 0; max-width: 980px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -0.02em;
}
.quote-band blockquote .mark { color: var(--accent); }
.quote-band cite {
  display: block; margin-top: 32px; font-style: normal;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--serif); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 26px; color: var(--accent);
  transition: transform .3s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: 16px; color: var(--fg-soft); margin: 0 0 28px; max-width: 760px; line-height: 1.72; }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #fff; }
.cta h2 {
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.025em; margin: 0 0 24px;
}
.cta p { font-size: 18px; max-width: 520px; color: rgba(255,255,255,0.9); margin: 0 0 36px; }
.cta .btn--light { background: #fff; color: var(--fg); }
.cta .btn--light:hover { transform: translateY(-2px); background: var(--fg); color: #fff; }
.cta .btn--outline { border: 1px solid rgba(255,255,255,0.6); color: #fff; }
.cta .btn--outline:hover { border-color: #fff; transform: translateY(-2px); }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.contact-info h3 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.contact-info p { font-size: 16px; color: var(--fg-soft); margin: 0 0 28px; line-height: 1.6; }
.contact-info a:hover { color: var(--accent); }
form .field { margin-bottom: 22px; }
form label {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
form input, form textarea, form select {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 14px 16px; transition: border-color .2s var(--ease);
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--accent); }
form textarea { resize: vertical; min-height: 130px; }
form .btn { margin-top: 8px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ---------- PAGE HEAD ---------- */
.page-head { border-bottom: 1px solid var(--border); padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 {
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.9; letter-spacing: -0.03em; margin: 0 0 20px;
}
.page-head h1 em { color: var(--accent); font-style: normal; }
.page-head .lede { font-size: 19px; color: var(--fg-soft); max-width: 620px; margin: 0; }

/* ---------- LEGAL / PROSE ---------- */
.prose { max-width: 780px; }
.prose h2 {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.01em; margin: 48px 0 16px;
}
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.78; color: var(--fg-soft); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }

/* ---------- FOOTER ---------- */
.footer { background: var(--fg); color: rgba(255,255,255,0.75); padding: 80px 0 36px; }
.footer__top {
  display: grid; gap: 44px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand .brand { color: #fff; font-size: 26px; margin-bottom: 18px; }
.footer__brand p { font-size: 15px; max-width: 300px; margin: 0; line-height: 1.65; }
.footer__col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.footer__col a, .footer__col p { display: block; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,0.72); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: #fff; }

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

/* ---------- COOKIE ---------- */
.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);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;box-shadow:0 20px 60px -10px rgba(0,0,0,0.4); }
.cookie-popup__label { font-family:var(--mono);font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent);margin-bottom:12px; }
.cookie-popup__card h3 { font-family:var(--serif);font-weight:700;text-transform:uppercase;font-size:20px;letter-spacing:-0.01em;margin:0 0 12px; }
.cookie-popup__card p { font-size:14px;color:var(--fg-soft);margin:0;line-height:1.6; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:20px; }
.cookie-popup__actions button { padding:11px 24px;border:1px solid var(--border);cursor:pointer;font-size:14px;border-radius:9999px;transition:transform .2s var(--ease); }
.cookie-popup__actions button:hover { transform:translateY(-2px); }
.cookie-popup__actions button:last-child { background:var(--fg);color:var(--bg);border-color:var(--fg); }

.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
