/* palette: bg=#FBFAF7 fg=#182A2E accent=#E85C42 */
/* fonts: display="Archivo" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #FBFAF7;
  --bg-alt: #F1EDE6;
  --fg: #182A2E;
  --fg-soft: #2C3D41;
  --muted: #6C7A7D;
  --accent: #E85C42;
  --accent-deep: #C9462F;
  --dark: #142023;
  --dark-soft: #1E2E31;
  --border: rgba(24, 42, 46, 0.12);
  --border-soft: rgba(24, 42, 46, 0.07);
  --serif: 'Archivo', ui-sans-serif, sans-serif;
  --sans: 'Inter', ui-sans-serif, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --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; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; }
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(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section { padding: clamp(72px, 12vw, 150px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #EAEDEC; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .muted { color: #97A5A6; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 6px 30px -18px rgba(20, 32, 35, 0.35);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 15px; font-weight: 700;
}
.nav { display: none; gap: 34px; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a { font-size: 15px; color: var(--fg-soft); transition: color 0.25s var(--ease); }
.nav a:hover { color: 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-size: 15px; font-weight: 500;
  padding: 13px 26px; border-radius: 9999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(232, 92, 66, 0.6); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0,0,0,0.3); }

.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); border-radius: 2px; 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 {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu a { font-family: var(--serif); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.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: flex-end;
  color: #F4F1EC;
  overflow: hidden;
  padding: 120px 0 64px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,35,0.55) 0%, rgba(20,32,35,0.35) 40%, rgba(20,32,35,0.9) 100%); }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { color: #FBC7BB; }
.hero .eyebrow::before { background: #FBC7BB; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 15ch;
  margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 52ch; color: #DCD8D1; line-height: 1.65; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 64px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.16);
}
.hero__meta .stat__num { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; }
.hero__meta .stat__label { font-size: 13px; color: #B9BEBC; }

/* ---------- Section head ---------- */
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin-top: 20px; max-width: 56ch; }
.section__head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; max-width: none; }

.muted { color: var(--muted); }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.section--alt .card { background: #fff; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px -18px rgba(20,32,35,0.24); border-color: var(--border); }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.card h3 { font-size: 1.45rem; margin: 16px 0 12px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 1rem; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--accent); transition: gap 0.3s var(--ease); }
.card:hover .card__link { gap: 13px; }

/* ---------- Feature cards with images ---------- */
.grid--2 { grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 800px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.workcard {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.workcard:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -20px rgba(20,32,35,0.28); }
.workcard__img { aspect-ratio: 16/10; overflow: hidden; }
.workcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.workcard:hover .workcard__img img { transform: scale(1.05); }
.workcard__body { padding: 28px 30px 34px; }
.workcard__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.workcard h3 { font-size: 1.55rem; margin: 14px 0 12px; }
.workcard p { color: var(--muted); font-size: 1rem; }

/* ---------- Split / manifesto ---------- */
.manifesto { text-align: center; max-width: 940px; margin: 0 auto; }
.manifesto p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.manifesto p em { font-style: normal; color: var(--accent); }
.manifesto .quote-mark { font-family: var(--serif); font-size: 5rem; color: var(--accent); line-height: 0.5; display: block; margin-bottom: 24px; }
.manifesto__cite { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 500; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.stat__label { margin-top: 14px; font-size: 0.95rem; color: inherit; opacity: 0.82; }

/* ---------- Split content ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; }
.split .lead { font-size: 1.12rem; margin: 22px 0; color: var(--fg-soft); }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-soft); }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; margin-top: 3px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Team (monogram) ---------- */
.grid--team { grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid--team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--team { grid-template-columns: repeat(3, 1fr); } }
.person { border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px; background: var(--bg); transition: border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.person:hover { border-color: var(--border); transform: translateY(-4px); }
.avatar { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 22px; color: #fff; margin-bottom: 22px; letter-spacing: -0.02em; }
.person h3 { font-size: 1.25rem; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 6px 0 14px; }
.person p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Testimonials ---------- */
.grid--test { grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 900px) { .grid--test { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; }
.section--dark .testimonial { background: var(--dark-soft); border-color: rgba(255,255,255,0.08); }
.testimonial p { font-size: 1.05rem; line-height: 1.6; color: var(--fg-soft); flex: 1; }
.section--dark .testimonial p { color: #D3D9D8; }
.testimonial__foot { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testimonial__foot .avatar { width: 44px; height: 44px; margin: 0; font-size: 16px; border-radius: 11px; }
.testimonial__name { font-weight: 600; font-size: 0.95rem; }
.testimonial__co { font-size: 0.82rem; color: var(--muted); }
.placeholder-note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); opacity: 0.6; margin-top: 30px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.faq__q span.icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq__q span.icon::before, .faq__q span.icon::after { content: ""; position: absolute; background: var(--accent); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq__q span.icon::before { width: 14px; height: 2px; }
.faq__q span.icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__q span.icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 0 26px; color: var(--muted); font-size: 1.02rem; max-width: 68ch; }
details.faq__item summary { list-style: none; cursor: pointer; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.02; max-width: 18ch; margin: 0 auto 24px; }
.cta-band p { color: #B9BEBC; max-width: 52ch; margin: 0 auto 38px; font-size: 1.1rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.info-block { margin-bottom: 34px; }
.info-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; font-weight: 500; }
.info-block p { color: var(--fg-soft); font-size: 1.05rem; }
.info-block a:hover { color: var(--accent); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--fg-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 12px;
  background: #fff; color: var(--fg); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,92,66,0.12); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__note { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #C6CCCB; padding: 80px 0 40px; }
.footer__top { display: grid; gap: 48px; grid-template-columns: 1fr; margin-bottom: 56px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer__blurb { color: #93A0A0; max-width: 34ch; font-size: 0.98rem; }
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #7E8C8C; margin: 0 0 18px; font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: #C6CCCB; font-size: 0.96rem; padding: 5px 0; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #7E8C8C; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- 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: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.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: 9999px; 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(--accent); border-color: var(--accent); }

/* ---------- 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); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(56px, 8vw, 90px); background: var(--dark); color: #F4F1EC; }
.page-hero .eyebrow { color: #FBC7BB; }
.page-hero .eyebrow::before { background: #FBC7BB; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 400; max-width: 18ch; }
.page-hero p { color: #C6CCCB; font-size: 1.15rem; max-width: 56ch; margin-top: 24px; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 44px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.03rem; line-height: 1.78; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 620px; margin: 0 auto; }
.thanks .check { width: 76px; height: 76px; border-radius: 20px; background: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; }
.thanks .check svg { width: 38px; height: 38px; stroke: #fff; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.02; margin-bottom: 20px; }
.thanks p { color: var(--muted); font-size: 1.12rem; margin-bottom: 34px; }
