/* palette: bg=#FFFFFF fg=#0E0E10 accent=#11D0BC */
/* fonts: display="Archivo" body="Inter" mono="IBM Plex Mono" */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F2F3F4;
  --fg: #0E0E10;
  --fg-soft: #26282B;
  --muted: #74787E;
  --accent: #11D0BC;
  --accent-deep: #0BAE9D;
  --ink: #111214;
  --border: rgba(14, 14, 16, 0.12);
  --border-soft: rgba(14, 14, 16, 0.07);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

*, *::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;
  text-rendering: optimizeLegibility;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(72px, 12vw, 160px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.7; color: var(--fg-soft); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- 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); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(14,14,16,0.06), 0 12px 30px -18px rgba(14,14,16,0.25);
  border-color: var(--border-soft);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: baseline; gap: 9px; font-family: var(--serif); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; }
.brand__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); align-self: center; }
.brand span { color: var(--muted); font-weight: 500; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a { font-size: 0.9rem; color: var(--fg-soft); transition: color 0.25s var(--ease); position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s var(--ease); }
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after { width: 100%; }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); background: var(--ink); box-shadow: 0 14px 30px -12px rgba(14,14,16,0.5); }
.btn--accent { background: var(--accent); color: #05201D; }
.btn--accent:hover { transform: translateY(-2px); background: var(--accent-deep); box-shadow: 0 14px 30px -12px rgba(11,174,157,0.6); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--fg); transition: gap 0.28s var(--ease), color 0.28s var(--ease); }
.arrow-link svg { transition: transform 0.28s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- hamburger ---------- */
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; }
@media (min-width: 900px) { .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 ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: 96px 24px 40px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.mobile-menu[data-open="true"] { transform: translateY(0); pointer-events: all; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 9vw, 96px) 0 0; }
.hero__grid { display: grid; gap: 28px; }
.hero__head { max-width: 1000px; }
.hero h1 {
  font-size: clamp(3rem, 9.2vw, 7.4rem);
  letter-spacing: -0.04em; line-height: 0.96; font-weight: 800;
  margin: 8px 0 26px;
}
.hero h1 em { font-style: normal; color: var(--accent-deep); }
.hero__sub { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 8px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__figure {
  position: relative; margin-top: clamp(44px, 7vw, 80px);
  aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: var(--bg-alt);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; backdrop-filter: blur(8px) saturate(160%); -webkit-backdrop-filter: blur(8px) saturate(160%);
  background: rgba(14,14,16,0.62); color: #fff; border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px; padding: 14px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em;
}
.hero__overlay strong { display: block; font-family: var(--serif); font-size: 1.15rem; letter-spacing: -0.02em; margin-top: 4px; color: var(--accent); }
.hero__overlay--a { top: 7%; left: 5%; }
.hero__overlay--b { bottom: 9%; right: 6%; }
@media (max-width: 620px) { .hero__overlay--a { top: 5%; left: 4%; } .hero__overlay--b { bottom: 5%; right: 4%; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: slide 26s linear infinite; }
.marquee__track span { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--muted); display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 0.7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -0.03em; }
.section-head p { margin-top: 20px; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-end; max-width: none; }

/* ---------- services grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: 8px;
  padding: 30px 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(14,14,16,0.05);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 46px -12px rgba(14,14,16,0.16); border-color: var(--border); }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); letter-spacing: 0.14em; }
.card__ico { width: 46px; height: 46px; border-radius: 10px; background: var(--bg-alt); display: grid; place-items: center; margin-bottom: 22px; }
.card__ico svg { width: 22px; height: 22px; stroke: var(--fg); }
.card h3 { font-size: 1.3rem; margin: 14px 0 12px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card li { font-size: 0.9rem; color: var(--fg-soft); padding: 8px 0; border-top: 1px solid var(--border-soft); display: flex; gap: 10px; }
.card li::before { content: "→"; color: var(--accent-deep); }

/* ---------- dark band / manifesto ---------- */
.band-dark { background: var(--ink); color: #fff; }
.band-dark .eyebrow { color: var(--accent); }
.band-dark .muted { color: rgba(255,255,255,0.6); }
.manifesto { text-align: center; }
.manifesto p.statement {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3.7rem); line-height: 1.16; letter-spacing: -0.02em;
  max-width: 15ch; margin: 0 auto; color: #fff;
}
.manifesto p.statement em { font-style: normal; color: var(--accent); }
.manifesto .quote-mark { font-family: var(--serif); font-size: 5rem; line-height: 0.5; color: var(--accent); display: block; margin-bottom: 16px; }

/* ---------- work / cases ---------- */
.work-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { position: relative; overflow: hidden; border-radius: 8px; background: var(--bg-alt); }
.work-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.05); }
.work-card__body { padding: 24px 26px 28px; }
.work-card__tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); }
.work-card h3 { font-size: 1.5rem; margin: 12px 0 10px; }
.work-card p { color: var(--muted); font-size: 0.96rem; }
.work-card__meta { display: flex; gap: 20px; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.work-card--wide { grid-column: 1 / -1; }
.work-card--wide .work-card__img { aspect-ratio: 21 / 8; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 32px 20px; border-top: 2px solid var(--accent); }
.stat b { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.03em; display: block; line-height: 1; }
.stat span { font-size: 0.9rem; color: var(--muted); display: block; margin-top: 12px; }
.band-dark .stat span { color: rgba(255,255,255,0.6); }

/* ---------- process ---------- */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--border); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--border); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); letter-spacing: 0.1em; padding-top: 6px; }
.step h3 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
.step p { color: var(--muted); margin-top: 10px; max-width: 60ch; }
@media (min-width: 860px) { .step { grid-template-columns: 90px 1fr; gap: 40px; } }

/* ---------- principles (text team) ---------- */
.principle { padding: 28px 0; border-top: 1px solid var(--border-soft); }
.principle h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 12px; }
.principle .mono-tag { font-family: var(--mono); font-size: 11px; color: var(--accent-deep); letter-spacing: 0.12em; }
.principle p { color: var(--muted); margin-top: 10px; max-width: 68ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.4rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--accent-deep); transition: transform 0.3s var(--ease); }
.faq summary .plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq summary .plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { color: var(--muted); padding: 0 0 26px; max-width: 74ch; line-height: 1.75; }

/* ---------- CTA / form ---------- */
.cta-wrap { display: grid; gap: 40px; }
@media (min-width: 940px) { .cta-wrap { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 0.98rem; padding: 14px 16px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg); color: var(--fg); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17,208,188,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form small { color: var(--muted); font-size: 0.8rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--border-soft); }
.contact-list .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: block; margin-bottom: 6px; }
.contact-list .v { font-size: 1.05rem; color: var(--fg); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: clamp(60px, 9vw, 100px) 0 34px; }
.footer a { transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand { color: #fff; font-size: 1.5rem; }
.footer__brand p { margin-top: 18px; max-width: 34ch; color: rgba(255,255,255,0.56); font-size: 0.95rem; }
.footer h4 { font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.42); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer li { font-size: 0.94rem; }
.footer__bottom { margin-top: clamp(48px, 7vw, 72px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.44); }

/* ---------- 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); 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: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-deep); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.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: 999px; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.cookie-popup__actions button:first-child:hover { background: var(--bg-alt); }
.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(--ink); }

/* ---------- legal ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 16px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1rem; line-height: 1.8; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 20px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-deep); text-decoration: underline; }

/* ---------- thanks ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 5rem); margin-bottom: 20px; }
.thanks .mark { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; }
.thanks .mark svg { width: 34px; height: 34px; stroke: #05201D; }

/* ---------- utilities ---------- */
.split-intro { display: grid; gap: 30px; }
@media (min-width: 900px) { .split-intro { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
.figure-frame { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.figure-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
