/* palette: bg=#F1F0EB fg=#16181C accent=#F04E2A */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #F1F0EB;
  --bg-alt: #17191E;
  --fg: #16181C;
  --fg-soft: #3A3D44;
  --muted: #6B6E76;
  --accent: #F04E2A;
  --accent-deep: #D13C1B;
  --panel: #1C1F25;
  --panel-soft: #23262D;
  --line-dark: rgba(255, 255, 255, 0.12);
  --border: rgba(20, 22, 26, 0.12);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains 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;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }

.container { 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(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.pill-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 9999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { background: var(--accent); color: #fff; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link .arrow { transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--accent); }
.arrow-link:hover .arrow { transform: translateX(5px); }

/* Circular explore link */
.explore {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
}
.explore__circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  flex: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease);
}
.explore:hover .explore__circle { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  background: rgba(241, 240, 235, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.header[data-scrolled="true"] { box-shadow: 0 1px 0 var(--border); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--fg);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  font-family: var(--mono);
}
.nav { display: none; gap: 30px; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }
@media (min-width: 940px) { .header__cta { display: inline-flex; } }

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

/* ---------- Hero ---------- */
.hero { padding: 12px 0 clamp(60px, 8vw, 100px); }
.hero__panel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
  color: #fff;
  background: var(--bg-alt);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__panel::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,16,20,0.55) 0%, rgba(15,16,20,0.25) 40%, rgba(15,16,20,0.8) 100%);
}
.hero__top, .hero__bottom { position: relative; z-index: 2; }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero__badge {
  font-family: var(--mono);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.hero__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Section basics ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { max-width: 60ch; }
.section-head h2 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  font-weight: 500;
  margin-top: 22px;
}
.section-head p { margin-top: 22px; color: var(--fg-soft); font-size: 18px; }

/* ---------- Split intro (dark, like Strategic Marketing) ---------- */
.split-dark {
  background: var(--bg-alt);
  color: #fff;
}
.split-dark__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .split-dark__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-dark h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 500;
  margin: 22px 0 0;
}
.split-dark h2 em { font-style: normal; color: var(--accent); }
.split-dark p { color: rgba(255,255,255,0.72); margin-top: 24px; font-size: 18px; }
.split-dark .explore { margin-top: 34px; color: #fff; }
.split-dark .eyebrow { color: rgba(255,255,255,0.6); }
.split-dark__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.split-dark__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  gap: 20px;
  margin-top: 60px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px -8px rgba(0,0,0,0.14); }
.service-card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.service-card h3 { font-size: 24px; margin-top: 22px; font-weight: 500; }
.service-card p { margin-top: 14px; color: var(--fg-soft); font-size: 15.5px; line-height: 1.65; flex: 1; }
.service-card .arrow-link { margin-top: 22px; }

/* ---------- Work / case studies ---------- */
.work-grid { display: grid; gap: 24px; margin-top: 60px; }
@media (min-width: 820px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: 0 16px 46px -12px rgba(0,0,0,0.2); }
.work-card__img { aspect-ratio: 16 / 10; 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: 26px 28px 30px; }
.work-card__meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.work-card h3 { font-size: 26px; margin-top: 16px; font-weight: 500; }
.work-card p { margin-top: 12px; color: var(--fg-soft); font-size: 15.5px; }

/* ---------- Manifesto (dark band) ---------- */
.manifesto {
  background: var(--bg-alt);
  color: #fff;
  text-align: center;
}
.manifesto .container { max-width: 980px; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--accent);
  line-height: 0.6;
  display: block;
  margin-bottom: 10px;
}
.manifesto__by { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 0; margin-top: 60px; }
.process-step {
  display: grid;
  gap: 8px 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 780px) { .process-step { grid-template-columns: 120px 1fr 1.2fr; } }
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.process-step h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; }
.process-step p { color: var(--fg-soft); font-size: 16.5px; }

/* ---------- Stats ---------- */
.stats { background: var(--bg-alt); color: #fff; }
.stats-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -0.03em; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 10px; color: rgba(255,255,255,0.66); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #fff; }
.cta .container { max-width: 900px; text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 500; }
.cta p { margin: 24px auto 0; max-width: 52ch; font-size: 18px; color: rgba(255,255,255,0.9); }
.cta__actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info h3 { font-size: 20px; margin-top: 30px; font-weight: 500; }
.contact-info p { color: var(--fg-soft); margin-top: 8px; font-size: 16px; }
.contact-info .row { margin-top: 26px; }
.contact-info .row:first-of-type { margin-top: 40px; }
.form { display: grid; gap: 20px; }
.form .field { display: grid; gap: 8px; }
.form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--fg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,78,42,0.14);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .row-2 { display: grid; gap: 20px; }
@media (min-width: 560px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); color: #fff; padding: clamp(64px, 8vw, 100px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.footer__brand p { margin-top: 18px; color: rgba(255,255,255,0.6); font-size: 15px; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 12px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Legal / article pages ---------- */
.legal { padding: clamp(60px, 9vw, 120px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.legal h2 { font-size: 1.5rem; font-weight: 500; margin-top: 48px; }
.legal p { margin-top: 16px; color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; }
.legal ul { margin-top: 16px; padding-left: 20px; color: var(--fg-soft); }
.legal li { margin-top: 8px; line-height: 1.7; }

/* Thank-you */
.thanks { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 500; }
.thanks p { margin: 24px auto 0; max-width: 46ch; color: var(--fg-soft); font-size: 18px; }
.thanks .btn { margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; margin-top: 54px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 500;
}
.faq__q .ico { flex: none; font-size: 22px; color: var(--accent); transition: transform 0.35s var(--ease); }
.faq__item[data-open="true"] .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq__a p { padding: 0 0 28px; color: var(--fg-soft); font-size: 16.5px; max-width: 68ch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(70px, 10vw, 130px) 0 clamp(40px, 6vw, 70px); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.03em; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 26px; max-width: 56ch; font-size: 19px; color: var(--fg-soft); }

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

/* ---------- 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 0.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: 14px; box-shadow: 0 20px 60px -12px rgba(0,0,0,0.35); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.cookie-popup__card h3 { font-size: 20px; margin-top: 12px; font-weight: 500; }
.cookie-popup__card p { margin-top: 12px; font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.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; transition: background 0.3s, color 0.3s; }
.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); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
