/* palette: bg=#0E1B2E fg=#F3F6FA accent=#E8622A */
/* fonts: display="Fraunces" body="DM Sans" mono="Space Mono" */
:root {
  --bg: #0E1B2E;
  --bg-alt: #13263E;
  --bg-deep: #0A1523;
  --fg: #F3F6FA;
  --fg-soft: #D3DCE8;
  --muted: #8695AC;
  --accent: #E8622A;
  --accent-deep: #C94D1B;
  --accent-soft: rgba(232, 98, 42, 0.14);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 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;
  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 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
section { position: relative; }
.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.75; color: var(--fg-soft); max-width: 60ch; }
.muted { color: var(--muted); }
em.accent, .accent-text { color: var(--accent); font-style: normal; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(232,98,42,0.7); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link:hover { gap: 14px; color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  background: rgba(14, 27, 46, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(10, 21, 35, 0.9);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.9);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: -0.01em; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  box-shadow: 0 8px 20px -10px rgba(232,98,42,0.9);
}
.brand__name { font-family: var(--serif); font-size: 20px; letter-spacing: -0.01em; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header__cta { display: none; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); transition: transform 0.35s var(--ease), opacity 0.3s; }
.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); }
@media (min-width: 980px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg-deep);
  padding: 100px 28px 40px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2rem; padding: 14px 0;
  border-bottom: 1px solid var(--border); font-weight: 300;
}
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,21,35,0.62) 0%, rgba(10,21,35,0.4) 40%, rgba(14,27,46,0.94) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vw, 108px); padding-top: 120px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 10vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin: 26px 0 30px;
}
.hero p { max-width: 46ch; color: var(--fg-soft); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

/* ---------- intro / manifesto ---------- */
.manifesto { text-align: left; }
.manifesto__statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.manifesto__grid { display: grid; gap: 40px; margin-top: 60px; }
@media (min-width: 860px) { .manifesto__grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }

/* ---------- services ---------- */
.services__head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 860px) { .services__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.svc-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  background: var(--bg);
  padding: clamp(32px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 18px;
  transition: background 0.4s var(--ease);
}
.section--alt .svc { background: var(--bg-alt); }
.svc:hover { background: var(--bg-deep); }
.svc__num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.svc__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -12px rgba(232,98,42,0.9);
}
.svc__icon svg { width: 24px; height: 24px; }
.svc h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; }
.svc p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }
.svc .arrow-link { margin-top: auto; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(40px, 6vw, 68px) 28px; }
.section--deep .stat { background: var(--bg-deep); }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 14px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* ---------- feature split ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); } }
.split--rev .split__media { order: -1; }
@media (min-width: 900px) { .split--rev .split__media { order: 0; } }
.split__media { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.split__media:hover img { transform: scale(1.05); }
.split__media--wide { aspect-ratio: 5 / 4; }
.checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.checklist li { position: relative; padding-left: 30px; color: var(--fg-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--accent);
}

/* ---------- work / cards ---------- */
.work-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  background: var(--bg-alt);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  box-shadow: 0 4px 24px -12px rgba(0,0,0,0.5);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -20px rgba(0,0,0,0.8); border-color: var(--border-strong); }
.work-card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__body { padding: 26px 26px 30px; }
.work-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.work-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin: 12px 0 10px; line-height: 1.2; }
.work-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; }

/* ---------- process ---------- */
.process { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 56px; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
.step { background: var(--bg); padding: clamp(30px, 4vw, 46px); display: flex; gap: 24px; }
.section--alt .step { background: var(--bg-alt); }
.step__num { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; color: var(--accent); line-height: 1; flex-shrink: 0; }
.step h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- quote band ---------- */
.quote-band { text-align: center; }
.quote-band__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 9rem); line-height: 0.5; color: var(--accent); display: block; height: 0.6em; }
.quote-band blockquote {
  margin: 0 auto; max-width: 900px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.24; letter-spacing: -0.02em;
}
.quote-band figcaption { margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- testimonials ---------- */
.tst-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 860px) { .tst-grid { grid-template-columns: repeat(3, 1fr); } }
.tst { border: 1px solid var(--border); border-radius: 6px; padding: 34px 30px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 22px; }
.section--deep .tst { background: var(--bg); }
.tst p { font-size: 1.02rem; line-height: 1.65; color: var(--fg-soft); }
.tst__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; color: #fff; flex-shrink: 0;
}
.tst__name { font-size: 0.92rem; font-weight: 500; }
.tst__role { font-size: 0.8rem; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- team / principles ---------- */
.prin-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 760px) { .prin-grid { grid-template-columns: repeat(2, 1fr); } }
.prin { border-top: 2px solid var(--accent); padding: 26px 4px 0; }
.prin h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin-bottom: 12px; }
.prin p { color: var(--muted); font-size: 0.96rem; line-height: 1.7; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 56px auto 0; 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-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.6rem; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 28px; max-width: 70ch; line-height: 1.75; }

/* ---------- cta band ---------- */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 22px auto 0; font-size: 1.08rem; }
.cta-band .btn--primary { background: #fff; color: var(--accent-deep); box-shadow: 0 14px 34px -14px rgba(0,0,0,0.5); margin-top: 40px; }
.cta-band .btn--primary:hover { background: var(--bg-deep); color: #fff; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 6vw, 96px); } }
.info-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 28px; }
.info-list dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.info-list dd { margin: 0; font-size: 1.05rem; color: var(--fg-soft); line-height: 1.6; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px;
  background: var(--bg-deep); border: 1px solid var(--border);
  color: var(--fg); font-family: var(--sans); font-size: 1rem;
  border-radius: 6px; transition: border-color 0.3s var(--ease), box-shadow 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.field--row { display: grid; gap: 22px; }
@media (min-width: 620px) { .field--row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.82rem; color: var(--muted); }
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- legal ---------- */
.legal { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 20px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 48px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 48px 0 16px; }
.legal p, .legal li { color: var(--fg-soft); line-height: 1.8; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- thanks ---------- */
.thanks { min-height: 76vh; display: grid; place-items: center; text-align: center; }
.thanks__mark { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 34px; box-shadow: 0 16px 40px -16px rgba(232,98,42,0.9); }
.thanks h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.05; }
.thanks p { color: var(--fg-soft); max-width: 48ch; margin: 24px auto 40px; }

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.03em; line-height: 1; margin: 24px 0 26px; max-width: 16ch; }
.page-hero p { max-width: 56ch; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); padding: clamp(64px, 8vw, 100px) 0 40px; border-top: 1px solid var(--border); }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand .brand { margin-bottom: 22px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.96rem; line-height: 1.7; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--fg-soft); font-size: 0.96rem; transition: color 0.25s var(--ease); }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 0.82rem; color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--fg); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: 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(0,0,0,0.5);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-alt);padding:32px 36px;max-width:480px;border-radius:8px;border:1px solid var(--border);box-shadow:0 30px 80px -30px rgba(0,0,0,0.9); }
.cookie-popup__label { font-family:var(--mono);font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:var(--accent);margin-bottom:14px; }
.cookie-popup__card h3 { font-family:var(--serif);font-size:1.5rem;font-weight:400;margin-bottom:12px; }
.cookie-popup__card p { color:var(--muted);font-size:0.92rem;line-height:1.65; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:22px;flex-wrap:wrap; }
.cookie-popup__actions button { padding:12px 26px;border:1px solid var(--border-strong);cursor:pointer;font-size:13px;border-radius:9999px;transition:all .3s var(--ease); }
.cookie-popup__actions button:hover { border-color:var(--accent); }
.cookie-popup__actions button:last-child { background:var(--accent);color:#fff;border-color:var(--accent); }
.cookie-popup__actions button:last-child:hover { background:var(--accent-deep); }
