/* palette: bg=#F2F1EE fg=#2A2A28 accent=#E24E28 */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #F2F1EE;
  --bg-alt: #E6E4DF;
  --card: #E8E6E1;
  --fg: #2A2A28;
  --fg-soft: #45443F;
  --muted: #8C8B84;
  --accent: #E24E28;
  --accent-deep: #C43D1B;
  --line: rgba(42, 42, 40, 0.24);
  --line-soft: rgba(42, 42, 40, 0.14);
  --border: rgba(42, 42, 40, 0.24);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', 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; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; }
p { margin: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(72px, 12vw, 150px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 241, 238, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px dashed transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--line-soft);
  border-bottom: 1px dashed var(--line);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px;
}
.brand__dot { width: 9px; height: 9px; background: var(--accent); display: inline-block; }
.nav { display: none; gap: 34px; align-items: center; }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-soft);
  transition: color .2s var(--ease); position: relative;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--fg); }
@media (min-width: 900px) { .nav { display: flex; } }

.header__cta { display: none; }
@media (min-width: 900px) { .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;
  border: 1px solid var(--line);
}
.menu-toggle span { width: 18px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 68px 0 0; z-index: 99;
  background: var(--bg);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  padding: 28px 20px; display: flex; flex-direction: column;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: 30px; font-weight: 500;
  padding: 16px 0; border-bottom: 1px dashed var(--line); letter-spacing: -0.02em;
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 13px 24px;
  background: var(--accent); color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--fg);
  border: 1px dashed var(--line);
}
.btn--ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: #000; }

.arrow-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg); transition: gap .25s var(--ease), color .25s var(--ease);
}
.arrow-link:hover { gap: 14px; color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; }
.hero__inner { position: relative; z-index: 3; width: 100%; text-align: center; }
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 8.4rem);
  line-height: 0.98; letter-spacing: -0.035em; font-weight: 500;
  max-width: 15ch; margin: 18px auto 26px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-soft); max-width: 46ch; margin: 0 auto 34px; line-height: 1.9;
}
.hero__cta { display: inline-flex; }

/* scattered photo frames */
.hero__frames { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.frame {
  position: absolute; padding: 6px; border: 1px dashed var(--line);
  background: var(--bg);
}
.frame img { object-fit: cover; filter: grayscale(0.15) contrast(1.02); }
.frame--1 { top: 8%; left: 3%; width: 150px; }
.frame--1 img { aspect-ratio: 3/4; }
.frame--2 { top: 4%; right: 4%; width: 130px; }
.frame--2 img { aspect-ratio: 4/5; }
.frame--3 { bottom: 8%; left: 6%; width: 140px; }
.frame--3 img { aspect-ratio: 4/3; }
.frame--4 { bottom: 5%; right: 3%; width: 165px; }
.frame--4 img { aspect-ratio: 4/3; }
@media (max-width: 860px) { .hero__frames { opacity: 0.32; } .frame--2, .frame--3 { display: none; } }

/* dashed stair decoration */
.hero__stairs { position: absolute; left: 0; bottom: 12%; z-index: 0; opacity: 0.5; }
.hero__stairs span { display: block; height: 10px; border-top: 1px dashed var(--line); }
@media (max-width: 860px) { .hero__stairs { display: none; } }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__box {
  border: 1px dashed var(--line); padding: clamp(32px, 6vw, 64px);
  max-width: 900px; margin: 0 auto;
}
.manifesto__box p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.28; letter-spacing: -0.02em;
}
.manifesto__box .accent { color: var(--accent); }

/* big vertical type strip */
.bigtype { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0; }
.bigtype__word {
  font-family: var(--serif); font-weight: 700; color: var(--accent);
  font-size: clamp(4rem, 22vw, 16rem); line-height: 0.86; letter-spacing: -0.04em;
  text-align: center; opacity: 0.9;
  background-image: repeating-linear-gradient(var(--bg) 0 3px, transparent 3px 7px);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- services / process cards ---------- */
.svc-card {
  background: var(--card); padding: clamp(26px, 4vw, 44px);
  display: grid; gap: 30px; margin-bottom: 26px;
  transition: box-shadow .4s var(--ease);
}
.svc-card:hover { box-shadow: 0 12px 40px -8px rgba(42,42,40,0.14); }
@media (min-width: 860px) { .svc-card { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.svc-card__num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.svc-card h3 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; margin: 8px 0 20px; color: var(--fg); }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line); color: var(--fg-soft); background: var(--bg);
}
.svc-card__body { font-size: 17px; line-height: 1.75; color: var(--fg-soft); max-width: 46ch; }
.svc-card__media { overflow: hidden; }
.svc-card__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; filter: grayscale(0.1); }

/* ---------- stats ---------- */
.stats { background: var(--fg); color: var(--bg); }
.stats .eyebrow { color: var(--accent); }
.stats__grid { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 768px) { .stats__grid { 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: #fff; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242,241,238,0.6); margin-top: 8px; }

/* ---------- feature grid ---------- */
.grid-2 { display: grid; gap: 22px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.info-card { border: 1px dashed var(--line); padding: 30px; background: var(--bg); transition: border-color .3s var(--ease); }
.info-card:hover { border-color: var(--accent); border-style: solid; }
.info-card__k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.info-card h3 { font-size: 1.5rem; margin: 12px 0 12px; letter-spacing: -0.01em; color: var(--fg); }
.info-card p { font-size: 16px; color: var(--fg-soft); line-height: 1.7; }

/* section heading block */
.head-block { max-width: 760px; margin-bottom: 52px; }
.head-block h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.025em; line-height: 1.02; color: var(--fg); }
.head-block p { margin-top: 22px; font-size: 18px; color: var(--fg-soft); line-height: 1.75; max-width: 56ch; }

/* ---------- FAQ ---------- */
.faq__item { border-bottom: 1px dashed var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px;
  align-items: baseline; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: -0.01em; color: var(--fg);
}
.faq__q .sign { font-family: var(--mono); color: var(--accent); font-size: 20px; transition: transform .3s var(--ease); flex: none; }
.faq__item[data-open="true"] .sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 0 26px; max-width: 62ch; font-size: 16px; color: var(--fg-soft); line-height: 1.75; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 18ch; margin: 0 auto 26px; }
.cta-band p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 30px; opacity: 0.92; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: var(--fg); color: #fff; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line);
  font-family: var(--sans); font-size: 16px; color: var(--fg); transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }

.contact-grid { display: grid; gap: 48px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info dl { display: grid; gap: 26px; margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 17px; color: var(--fg-soft); line-height: 1.6; }

/* ---------- footer ---------- */
.footer { border-top: 1px dashed var(--line); padding: 64px 0 32px; }
.footer__top { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.footer__brand span { color: var(--accent); }
.footer__tag { margin-top: 16px; color: var(--fg-soft); font-size: 16px; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 400; }
.footer__col a { display: block; padding: 6px 0; color: var(--fg-soft); font-size: 15px; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px dashed var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer__bottom p, .footer__bottom a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- legal ---------- */
.legal { padding-top: 120px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 48px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 14px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 16px; color: var(--fg-soft); line-height: 1.8; max-width: 70ch; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* thanks page */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { font-size: 18px; color: var(--fg-soft); max-width: 48ch; margin: 0 auto 32px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .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 .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 32px 36px; max-width: 480px; border: 1px dashed var(--line); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { 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: 11px 24px; border: 1px solid var(--line); cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease); }
.cookie-popup__actions button: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; }
}
