/* palette: bg=#0E1016 fg=#F3F4F7 accent=#FFC93C */
/* fonts: display="Sora" body="DM Sans" mono="Space Mono" */
:root {
  --bg: #0E1016;
  --bg-alt: #14171F;
  --surface: #191D27;
  --surface-2: #20242F;
  --fg: #F3F4F7;
  --fg-soft: #C9CCD5;
  --muted: #868C9B;
  --accent: #FFC93C;
  --accent-deep: #E7A916;
  --cobalt: #3D6EF5;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --serif: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 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 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }

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

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

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
  background: rgba(14, 16, 22, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border), 0 8px 30px -18px rgba(0,0,0,0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #14120A;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
}
.nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(255,255,255,0.03);
}
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  padding: 8px 16px;
  border-radius: 9999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.nav a[aria-current="page"] { color: #14120A; background: var(--accent); }

.header__cta { display: none; }
@media (min-width: 940px) { .header__cta { display: inline-flex; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 9999px;
  transition: transform .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease), border-color .3s var(--ease);
}
.btn--primary { background: var(--accent); color: #14120A; }
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { transform: translateY(-2px); opacity: .9; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
@media (min-width: 940px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .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: 74px 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 28px 24px 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 20px; justify-content: center; }
@media (min-width: 940px) { .mobile-menu { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(255,201,60,0.14), transparent 60%),
    radial-gradient(900px 600px at 8% 88%, rgba(61,110,245,0.16), transparent 60%),
    var(--bg);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  animation: heroZoom 9s var(--ease) both;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 40%, transparent 100%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7.2rem);
  letter-spacing: -0.045em;
  font-weight: 400;
  line-height: 0.98;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead {
  margin-top: 30px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--fg-soft);
}
.hero__lead strong { color: var(--fg); font-weight: 600; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__aside { display: flex; flex-direction: column; gap: 16px; }
.hcard {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border-radius: 20px;
  padding: 22px 24px;
}
.hcard__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.hcard h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.hcard p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.hcard--quote p { color: var(--fg-soft); font-size: 15px; }
.hcard__by { margin-top: 14px; display: flex; align-items: center; gap: 12px; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { max-width: 760px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  margin-top: 22px;
  font-weight: 500;
}
.section__head p { margin-top: 22px; font-size: 1.08rem; color: var(--fg-soft); max-width: 60ch; }
.section__head--center p { margin-left: auto; margin-right: auto; }

/* ---------- MANIFESTO ---------- */
.manifesto {
  background: var(--accent);
  color: #171308;
  padding: clamp(90px, 13vw, 180px) 0;
}
.manifesto .container { max-width: 1000px; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
}
.manifesto__quote em { font-style: italic; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.6;
  display: block;
  opacity: .25;
  margin-bottom: 10px;
}
.manifesto__by {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23,19,8,0.7);
}

/* ---------- SERVICE CARDS ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 30px 28px 34px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.35);
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 18px 46px -12px rgba(0,0,0,0.6); }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
}
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,201,60,0.13);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.4rem; margin: 14px 0 12px; }
.card p { font-size: 15.5px; color: var(--fg-soft); line-height: 1.68; }
.card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.card__link span { transition: transform .3s var(--ease); }
.card:hover .card__link span { transform: translateX(4px); }

/* ---------- APPROACH / EXPERIENCE ROW ---------- */
.rowcard {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 820px) { .rowcard { grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; } }
.rowcard__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.rowcard h3 { font-size: 1.5rem; }
.rowcard p { margin-top: 10px; color: var(--fg-soft); font-size: 15.5px; max-width: 60ch; }
.rowcard__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  color: var(--fg-soft);
  white-space: nowrap;
}

/* ---------- STATS ---------- */
.stats { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.03em; color: var(--accent); }
.stat__label { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- WORK / CASE COVERS ---------- */
.work { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .work { grid-template-columns: repeat(2, 1fr); } }
.work__item { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); transition: transform .4s var(--ease), border-color .4s var(--ease); }
.work__item:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.work__img { aspect-ratio: 16 / 10; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work__item:hover .work__img img { transform: scale(1.05); }
.work__body { padding: 24px 26px 28px; }
.work__body .eyebrow { margin-bottom: 12px; }
.work__body h3 { font-size: 1.4rem; }
.work__body p { margin-top: 10px; color: var(--fg-soft); font-size: 15px; }

/* ---------- TESTIMONIAL ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.24;
  margin: 0 auto;
  max-width: 900px;
}
.quote-band figcaption { margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- AVATAR ---------- */
.avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: #14120A;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border); padding: 26px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; }
.faq__a { margin-top: 12px; color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: clamp(48px, 8vw, 96px) 32px; text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 500; letter-spacing: -0.03em; }
.cta p { margin: 22px auto 0; max-width: 54ch; color: var(--fg-soft); font-size: 1.08rem; }
.cta__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.info-list { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }
.info-list__item .eyebrow { margin-bottom: 8px; }
.info-list__item p { color: var(--fg-soft); font-size: 15.5px; }
.info-list__item a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; }
.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-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--surface-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--accent); }
.form .btn { justify-content: center; margin-top: 6px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer__top { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: var(--fg-soft); font-size: 15px; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 13px; color: var(--muted); }

/* ---------- LEGAL / PROSE ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose .eyebrow { margin-bottom: 20px; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 20px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; font-weight: 600; }
.prose p { color: var(--fg-soft); font-size: 16px; line-height: 1.78; margin-bottom: 16px; }
.prose ul { color: var(--fg-soft); font-size: 16px; line-height: 1.78; padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose__updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.page-head { padding: 120px 0 20px; }

/* ---------- THANKS ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; letter-spacing: -0.03em; }
.thanks p { margin: 24px auto 0; max-width: 48ch; color: var(--fg-soft); font-size: 1.1rem; }
.thanks .icon { width: 76px; height: 76px; border-radius: 22px; background: var(--accent); color: #14120A; display: grid; place-items: center; margin: 0 auto 30px; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__bg::after { 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); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--surface); border: 1px solid var(--border-strong); padding: 30px 34px; max-width: 480px; border-radius: 20px; box-shadow: 0 24px 60px -12px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cookie-popup__card h3 { font-size: 1.3rem; margin: 12px 0 10px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.62; }
.cookie-popup__card p a { color: var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border-strong); border-radius: 9999px; font-size: 14px; transition: transform .25s var(--ease), background .25s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #14120A; border-color: var(--accent); }
