/* palette: bg=#FFFFFF fg=#111111 accent=#F41E13 */
/* fonts: display="Shippori Mincho" body="Noto Sans" mono="Space Mono" */

:root {
  --bg: #FFFFFF;        /* washi paper — dominant background from reference */
  --bg-alt: #F3F2EE;    /* alternating off-white section */
  --bg-ink: #111111;    /* dark inverted band */
  --fg: #111111;        /* sumi ink — primary text */
  --fg-soft: #2C2C2A;   /* slightly lighter fg */
  --muted: #7C7A74;     /* secondary text */
  --line: #E4E2DC;      /* hairline dividers */
  --accent: #F41E13;    /* vermilion red — the hamburger / CTA accent */
  --accent-deep: #C21308; /* darker accent for hover */
  --border: rgba(17, 17, 17, 0.12);

  --serif: 'Shippori Mincho', ui-serif, 'Times New Roman', serif;
  --sans: 'Noto Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --pad: clamp(20px, 5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding: clamp(80px, 12vw, 168px) 0; }
.section--tight { padding: clamp(64px, 8vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1.2em; }
em { font-style: normal; color: var(--accent); }

.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: var(--fg-soft);
  font-weight: 400;
  max-width: 46ch;
}
.muted { color: var(--muted); }

/* ---------- buttons + links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  color: var(--fg);
  background: transparent;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--fg); color: var(--bg); }
.btn--accent { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--ghost-inverse { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--ghost-inverse:hover { background: #fff; color: var(--fg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.link-arrow .arw { transition: transform 0.35s var(--ease); color: var(--accent); }
.link-arrow:hover { gap: 16px; }
.link-arrow:hover .arw { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(17,17,17,0.06);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.brand__dot { color: var(--accent); font-family: var(--sans); }
.nav { display: none; gap: 34px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  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%; }
.nav a[aria-current="page"] { color: var(--fg); }
.header__cta { display: none; }

/* red hamburger — mirrors the reference */
.menu-toggle {
  width: 44px;
  height: 30px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 210;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.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(-7.5px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  padding: 96px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__nav a em { color: var(--accent); }
.mobile-menu__meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu__meta a { color: var(--fg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 72px;
  padding-bottom: 48px;
}
.hero__inner { width: 100%; }
.hero__eyebrow { margin-bottom: 36px; }
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 15ch;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero__foot {
  margin-top: clamp(48px, 8vw, 88px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}
.hero__lede { max-width: 40ch; }
.hero__contact {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2;
  text-align: right;
  color: var(--fg-soft);
}
.hero__contact a { color: var(--fg); }
.hero__contact span { display: block; color: var(--muted); }
.hero__scroll {
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--muted);
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* full-bleed image band */
.imgband {
  height: clamp(320px, 56vh, 620px);
  overflow: hidden;
  position: relative;
}
.imgband img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.imgband__cap {
  position: absolute;
  left: var(--pad); bottom: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(17,17,17,0.55);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
}

/* ---------- intro / manifesto statement ---------- */
.statement {
  max-width: 1000px;
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.statement em { color: var(--accent); font-style: italic; }

/* dark inverted manifesto band */
.manifesto {
  background: var(--bg-ink);
  color: #EDEBE6;
  padding: clamp(96px, 15vw, 200px) 0;
}
.manifesto .eyebrow { color: var(--accent); }
.manifesto .eyebrow::before { background: var(--accent); }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: -0.02em;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  color: #F4F2EC;
}
.manifesto__quote em { color: var(--accent); font-style: italic; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--accent);
  line-height: 0.6;
  text-align: center;
  display: block;
  margin-bottom: 8px;
}
.manifesto__sig {
  text-align: center;
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237,235,230,0.6);
}

/* ---------- section headers ---------- */
.sec-head {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.sec-head__lead { max-width: 20ch; }
.sec-head__aside { max-width: 46ch; }

/* ---------- work / case grid ---------- */
.work-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); }
.case {
  display: block;
  position: relative;
}
.case__media {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
}
.case__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.case:hover .case__media img { transform: scale(1.05); }
.case__index {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(17,17,17,0.55);
  padding: 6px 10px;
  backdrop-filter: blur(4px);
}
.case__body {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__tags span { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.case__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.case p { color: var(--muted); margin: 0; font-size: 15.5px; }
.case__more {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.case__more .arw { color: var(--accent); transition: transform 0.35s var(--ease); }
.case:hover .case__more .arw { transform: translateX(5px); }

/* ---------- featured deep-dive (split) ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.feature__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--bg-alt);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__badge {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  background: var(--accent); padding: 6px 12px;
}
.feature__body { max-width: 52ch; }
.feature__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.feature__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  margin: 34px 0;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.feature__stats dt { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -0.02em; }
.feature__stats dt em { color: var(--accent); }
.feature__stats dd { margin: 4px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- services list ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease);
}
.svc:hover { padding-left: 14px; }
.svc__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.svc__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 400; }
.svc__desc { color: var(--muted); max-width: 60ch; margin: 8px 0 0; }
.svc__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}

/* ---------- stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat { background: var(--bg); padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.stat__num em { color: var(--accent); }
.stat__label { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- principles / values grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px); }
.pcard { border-top: 2px solid var(--fg); padding-top: 24px; }
.pcard__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.pcard h3 { margin-bottom: 12px; }
.pcard p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* text-only team / principles cards */
.people { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--bg); padding: clamp(24px, 3vw, 36px); display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  flex: 0 0 auto;
  width: 60px; height: 60px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.02em;
}
.person__meta { min-width: 0; }
.person__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 4px 0 10px; }
.person__bio { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- testimonial ---------- */
.quote-block { max-width: 900px; }
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}
.quote-block em { color: var(--accent); font-style: italic; }
.quote-block cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(24px, 3vw, 34px) 44px clamp(24px, 3vw, 34px) 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 26px;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 44px 32px 0; color: var(--muted); max-width: 74ch; }
.faq__a p { margin: 0 0 1em; }
.faq__a p:last-child { margin: 0; }

/* ---------- contact / CTA ---------- */
.cta {
  background: var(--bg-ink);
  color: #EDEBE6;
}
.cta .eyebrow { color: var(--accent); }
.cta .eyebrow::before { background: var(--accent); }
.cta h2 { color: #F4F2EC; }
.cta h2 em { color: var(--accent); }
.cta p { color: rgba(237,235,230,0.62); }
.cta__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
.cta__contacts { display: grid; gap: 24px; margin-top: 8px; }
.cta__contact-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.cta__contact-v { font-size: 17px; color: #EDEBE6; }
.cta__contact-v a:hover { color: #fff; }

/* form */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 128px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 22px; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.form__consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* on the dark contact page the form sits on light card */
.form-card { background: var(--bg); color: var(--fg); padding: clamp(28px, 4vw, 44px); border-radius: 4px; }
.form-card .field label { color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; }
.footer__brand-mark {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 13vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.footer__brand-mark em { color: var(--accent); }
.footer__tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-top: 18px; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col span { font-size: 14.5px; color: var(--fg-soft); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--fg); }

/* ---------- cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(17,17,17,0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -12px rgba(17,17,17,0.28);
}
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s 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); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(120px, 14vw, 180px) 0 clamp(64px, 8vw, 100px); }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; margin-bottom: 20px; }
.legal__updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 500; margin: 48px 0 16px; }
.legal h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.75; }
.legal ul { list-style: none; display: grid; gap: 8px; margin: 0 0 1.2em; }
.legal li { padding-left: 20px; position: relative; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal a:hover { text-decoration: underline; }

/* thank-you */
.thanks { min-height: 78vh; display: flex; align-items: center; }
.thanks__inner { max-width: 720px; }
.thanks h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; margin-bottom: 24px; }
.thanks h1 em { color: var(--accent); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.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; }
  .imgband img, .hero__scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 120px 1fr; gap: 32px; align-items: baseline; }
  .svc__num { padding-top: 6px; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta {
    display: inline-flex;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 1px solid var(--fg);
    border-radius: 999px;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
  }
  .header__cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
  .menu-toggle { display: none; }
  .sec-head { grid-template-columns: 1fr 1fr; }
  .sec-head--stack { grid-template-columns: 0.8fr 1.2fr; }
  .feature { grid-template-columns: 1.05fr 0.95fr; }
  .feature--reverse .feature__media { order: 2; }
  .footer__top { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .work-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .header__inner { height: 84px; }
}
