/* palette: bg=#EEEDE8 fg=#141414 accent=#E8432A */
/* fonts: display="Bricolage Grotesque" body="DM Sans" mono="Space Mono" */

:root {
  --bg: #EEEDE8;
  --bg-alt: #E4E2DA;
  --fg: #141414;
  --fg-soft: #2E2E2C;
  --muted: #6E6E67;
  --accent: #E8432A;
  --accent-deep: #C4331C;
  --dark: #0F0F0E;
  --dark-soft: #191917;
  --border: rgba(20, 20, 20, 0.14);
  --border-soft: rgba(20, 20, 20, 0.08);
  --serif: 'Bricolage Grotesque', 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);
  --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; }

/* ---------- Layout ---------- */
.container { 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);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.12; }
p { margin: 0 0 1.1em; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--fg-soft); line-height: 1.7; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(20,20,20,0.5); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--fg); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { transform: translateY(-2px); background: var(--accent-deep); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--fg);
  transition: gap .3s var(--ease);
}
.arrow-link::after { content: "\2192"; transition: transform .3s var(--ease); }
.arrow-link:hover { gap: 12px; color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 237, 232, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(20,20,20,0.06), 0 10px 30px -20px rgba(20,20,20,0.4);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .header__inner { padding: 18px 32px; } }
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a { font-size: 14px; color: var(--fg-soft); transition: color .25s; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } .header__cta .btn { padding: 11px 22px; font-size: 14px; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 24px; height: 2px; background: var(--fg); transition: transform .3s var(--ease), opacity .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); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  letter-spacing: -0.02em;
}
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}
.hero__inner { max-width: 1000px; padding: 0 20px; }
.hero h1 {
  font-size: clamp(3.2rem, 9.5vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--fg);
}
.hero h1 .line-strong { font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  max-width: 540px;
  margin: 28px auto 34px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__media {
  width: 100%;
  max-width: 1240px;
  margin: clamp(48px, 8vw, 90px) auto 0;
  padding: 0 20px;
}
.hero__media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  aspect-ratio: 16 / 8;
  background: var(--dark);
}
.hero__media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

/* ---------- Marquee ---------- */
.marquee {
  padding: 26px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 34s linear infinite; }
.marquee__track span {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track span::after { content: "\2022"; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head p { margin-top: 20px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Work grid ---------- */
.work-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(20,20,20,0.08);
  position: relative;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 18px 46px -12px rgba(20,20,20,0.18); }
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.85) contrast(1.02); transition: filter .5s var(--ease), transform .8s var(--ease); }
.work-card:hover .work-card__media img { filter: grayscale(0); transform: scale(1.04); }
.work-card__body { padding: 22px 24px 26px; }
.work-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.work-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.work-card__num { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.work-card h3 { margin-bottom: 10px; }
.work-card p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.work-card__note {
  font-family: var(--serif);
  color: var(--accent);
  font-style: italic;
  font-size: 14px;
  transform: rotate(-2deg);
  display: inline-block;
}

/* ---------- Stats ---------- */
.stats { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
  background: rgba(255,255,255,0.4);
}
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Dark band ---------- */
.band-dark { background: var(--dark); color: var(--bg); }
.band-dark .eyebrow { color: rgba(238,237,232,0.55); }
.band-dark h2 em { color: var(--accent); }
.band-dark .section-head p { color: rgba(238,237,232,0.62); }

.quote-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  background: var(--dark-soft);
  border: 1px solid rgba(238,237,232,0.09);
  border-radius: 10px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
}
.quote-card__ascii {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.15;
  color: rgba(232,67,42,0.7);
  white-space: pre;
  margin-bottom: 22px;
  opacity: 0.9;
}
.quote-card p { font-size: 1.05rem; line-height: 1.6; color: rgba(238,237,232,0.9); }
.quote-card__who { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote-card__who .name { font-weight: 600; font-size: 14px; }
.quote-card__who .role { font-size: 13px; color: rgba(238,237,232,0.5); }
.tag-ph { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(238,237,232,0.35); text-transform: uppercase; margin-top: 8px; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  max-width: 940px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.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.4; display: block; margin-bottom: 10px; }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--border); }
.svc-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  transition: background .35s var(--ease), padding .35s var(--ease);
}
@media (min-width: 860px) {
  .svc-item { grid-template-columns: 64px 1.1fr 1.4fr auto; align-items: baseline; gap: 32px; }
  .svc-item:hover { padding-left: 16px; padding-right: 16px; background: rgba(255,255,255,0.45); }
}
.svc-item__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.svc-item h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.svc-item p { font-size: 15px; color: var(--muted); margin: 0; }
.svc-item__link { align-self: center; }

/* ---------- Split / feature ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: -1; } }
.split__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) contrast(1.03); }
.split h2 { margin-bottom: 22px; }
.split ul { list-style: none; padding: 0; margin: 24px 0 0; }
.split li { padding: 14px 0; border-top: 1px solid var(--border-soft); display: flex; gap: 14px; font-size: 16px; }
.split li::before { content: "\2192"; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -0.01em;
}
.faq__q .icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .icon::before, .faq__q .icon::after { content: ""; position: absolute; background: var(--accent); transition: transform .35s var(--ease); }
.faq__q .icon::before { top: 12px; left: 3px; width: 20px; height: 2px; }
.faq__q .icon::after { left: 12px; top: 3px; width: 2px; height: 20px; }
.faq__item[data-open="true"] .icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { padding: 0 0 26px; margin: 0; color: var(--muted); max-width: 680px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 800px; margin: 0 auto 26px; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 26px; }
.contact-info dd { margin: 6px 0 0; font-size: 17px; }
.form { display: grid; gap: 18px; }
.form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.01em; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
  font: inherit;
  color: var(--fg);
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,67,42,0.14);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--bg); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { color: var(--bg); font-size: 26px; }
.footer__brand p { margin-top: 18px; color: rgba(238,237,232,0.55); max-width: 320px; font-size: 15px; }
.footer h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(238,237,232,0.5); margin: 0 0 18px; font-weight: 400; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: rgba(238,237,232,0.82); font-size: 15px; transition: color .25s; }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 26px;
  border-top: 1px solid rgba(238,237,232,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(238,237,232,0.5);
}
.footer__bottom a { color: rgba(238,237,232,0.7); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 70px); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.035em; max-width: 15ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { max-width: 560px; margin-top: 26px; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 48px 0 16px; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; color: var(--fg-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* ---------- Thank you ---------- */
.thanks { min-height: 74vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 620px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; letter-spacing: -0.03em; }
.thanks h1 em { font-style: normal; color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .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-frame img { animation: none; }
  .marquee__track { 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.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: 30px 32px; max-width: 460px; border-radius: 8px; box-shadow: 0 24px 60px -12px rgba(0,0,0,0.4); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border); border-radius: 9999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: transform .25s, background .25s; }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
