/* palette: bg=#F2ECDB fg=#16130F accent=#CFA063 */
/* fonts: display="Archivo" body="Space Grotesk" mono="Space Mono" */

:root {
  --bg: #F2ECDB;        /* cream washi paper */
  --bg-alt: #ECE3CC;    /* alternating deeper cream */
  --fg: #16130F;        /* sumi ink, near-black */
  --fg-soft: #2C271E;   /* slightly lifted ink */
  --muted: #726857;     /* secondary text */
  --accent: #CFA063;    /* caramel / sand */
  --accent-deep: #A87B45; /* darker caramel for hover */
  --panel: #CCA274;     /* tan kraft panel */
  --panel-deep: #B98A56;
  --border: rgba(22, 19, 15, 0.14);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

*, *::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;
  text-rendering: optimizeLegibility;
  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 { margin: 0; font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
p { margin: 0; }

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

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

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 236, 219, 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(22,19,15,0.08);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 9px;
}
.brand__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex: none;
  box-shadow: 0 0 0 3px rgba(207,160,99,0.25);
}
.nav { display: none; gap: 34px; align-items: center; }
@media (min-width: 960px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--fg-soft);
  transition: color .25s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--accent-deep); }
.nav__tag {
  font-family: var(--serif); font-weight: 800; font-size: 13px;
  letter-spacing: -0.01em; color: var(--fg);
}
.header__cta {
  display: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 9px 18px; border-radius: 9999px;
  border: 1px solid var(--fg);
  transition: background .25s var(--ease), color .25s var(--ease);
}
@media (min-width: 960px) { .header__cta { display: inline-block; } }
.header__cta:hover { background: var(--fg); color: var(--bg); }

/* hamburger */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px; width: 30px; height: 30px;
  align-items: center; justify-content: center;
}
@media (min-width: 960px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 2px; background: var(--fg); display: block;
  transition: transform .3s var(--ease), opacity .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 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 28px;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.2rem, 11vw, 3.6rem);
  letter-spacing: -0.03em; line-height: 1.18;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .eyebrow { margin-bottom: 24px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(10px, 4vw, 30px);
  padding: 80px 20px 0;
  text-align: center;
}
@media (min-width: 900px) {
  .hero__main {
    grid-template-columns: 1fr auto 1fr;
    padding: 40px 32px 0;
  }
}
.hero__word {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(3.4rem, 13vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--fg);
}
.hero__word--left { justify-self: center; }
@media (min-width: 900px) { .hero__word--left { justify-self: end; } .hero__word--right { justify-self: start; } }
.hero__orb {
  width: clamp(150px, 26vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 60px -16px rgba(22,19,15,0.45);
  border: 5px solid var(--bg);
  animation: orbFloat 7s var(--ease) infinite alternate;
}
.hero__orb img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes orbFloat { from { transform: translateY(-8px); } to { transform: translateY(8px); } }

.hero__foot {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  padding: 32px 20px 40px;
  align-items: end;
  text-align: center;
}
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1fr 1.4fr 1fr; padding: 36px 32px 44px; text-align: left; }
}
.hero__def { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero__lede {
  max-width: 460px; margin: 0 auto;
  font-size: 15px; line-height: 1.7; color: var(--fg-soft);
}
.hero__scroll {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  justify-self: center; display: inline-flex; gap: 8px; align-items: center;
  color: var(--fg-soft);
}
@media (min-width: 900px) { .hero__scroll { justify-self: end; } }
.hero__scroll span { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--bg-alt); text-align: center; }
.manifesto__statement {
  max-width: 980px; margin: 0 auto;
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 4rem);
  letter-spacing: -0.025em; line-height: 1.08;
  color: var(--fg);
}
.manifesto__statement em { color: var(--accent-deep); font-style: normal; }
.manifesto__sub { max-width: 560px; margin: 28px auto 0; color: var(--muted); font-size: 16px; }

/* ---------- Anatomy / skewed panel ---------- */
.anatomy { position: relative; padding: clamp(90px, 14vw, 180px) 0; overflow: hidden; }
.anatomy__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 70px);
  align-items: center;
}
@media (min-width: 980px) { .anatomy__grid { grid-template-columns: 0.85fr 1.15fr; } }
.anatomy__lead h2 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  letter-spacing: -0.03em; line-height: 0.94;
}
.anatomy__lead p { margin-top: 26px; color: var(--fg-soft); font-size: 17px; max-width: 420px; }
.anatomy__panel {
  position: relative;
  background: var(--panel);
  border-radius: 6px;
  padding: clamp(34px, 5vw, 60px);
  transform: rotate(-2.2deg);
  overflow: hidden;
  box-shadow: 0 24px 70px -24px rgba(22,19,15,0.45);
}
.anatomy__watermark {
  position: absolute; inset: -10% -5%;
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(3rem, 9vw, 7rem); line-height: 0.92;
  color: rgba(255,255,255,0.10);
  letter-spacing: 0.02em; pointer-events: none;
  word-break: break-all; user-select: none;
}
.anatomy__panel-inner { position: relative; transform: rotate(2.2deg); }
.anatomy__panel-inner h3 {
  font-size: clamp(2.4rem, 7vw, 4.2rem); color: var(--fg);
  margin-bottom: 8px;
}
.anatomy__panel-inner .eyebrow { color: rgba(22,19,15,0.6); }
.anatomy__list { list-style: none; margin: 28px 0 0; padding: 0; }
.anatomy__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid rgba(22,19,15,0.22);
  color: var(--fg-soft);
}
.anatomy__list li:last-child { border-bottom: 1px solid rgba(22,19,15,0.22); }
.anatomy__num { font-family: var(--mono); font-size: 13px; color: rgba(22,19,15,0.55); }
.anatomy__list strong { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--fg); display: block; }
.anatomy__list span { font-size: 14px; line-height: 1.55; }

/* ---------- Services / cards ---------- */
.services { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.025em; margin-top: 16px;
}
.section-head p { margin-top: 22px; color: var(--fg-soft); font-size: 17px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 30px 36px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(22,19,15,0.08);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px -10px rgba(22,19,15,0.18); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-deep); }
.card h3 { font-size: 1.5rem; margin: 18px 0 12px; letter-spacing: -0.02em; line-height: 1.05; }
.card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.65; }
.card__link {
  margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--fg); display: inline-flex; gap: 7px; align-items: center;
}
.card__link .arrow { transition: transform .3s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(5px); }

/* image cards (work) */
.work { background: var(--bg-alt); }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card {
  border-radius: 6px; overflow: hidden; background: var(--bg);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 20px 52px -12px rgba(22,19,15,0.22); }
.work-card__img { aspect-ratio: 16/10; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.06); }
.work-card__body { padding: 26px 28px 30px; }
.work-card__body .eyebrow { color: var(--accent-deep); }
.work-card__body h3 { font-size: 1.5rem; margin: 12px 0 10px; letter-spacing: -0.02em; }
.work-card__body p { color: var(--fg-soft); font-size: 15px; }

/* ---------- Dark stats band ---------- */
.band { background: var(--fg); color: var(--bg); }
.band .eyebrow { color: var(--accent); }
.band__head { max-width: 760px; margin-bottom: 56px; }
.band__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.025em; margin-top: 14px; }
.band__head p { margin-top: 20px; color: rgba(242,236,219,0.7); font-size: 17px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.03em; line-height: 1;
  color: var(--accent);
}
.stat__label { margin-top: 12px; font-size: 14px; color: rgba(242,236,219,0.7); line-height: 1.5; }

/* ---------- Testimonials ---------- */
.quotes { background: var(--bg); }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px;
  padding: 34px 30px; display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--serif); font-weight: 800; font-size: 3.4rem; line-height: 0.6; color: var(--accent); height: 30px; }
.quote p { font-size: 16px; line-height: 1.65; color: var(--fg-soft); margin-top: 18px; flex: 1; }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 15px; color: var(--bg);
  letter-spacing: -0.01em;
}
.quote__by div span { display: block; }
.quote__name { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--fg); }
.quote__role { font-size: 13px; color: var(--muted); font-family: var(--mono); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq__grid { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); padding: 26px 0; }
.faq__grid .faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
.faq-item p { margin-top: 12px; color: var(--fg-soft); font-size: 16px; line-height: 1.7; }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: var(--fg); text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -0.03em; line-height: 0.98; max-width: 900px; margin: 0 auto; }
.cta p { margin: 26px auto 0; max-width: 520px; font-size: 17px; color: var(--fg-soft); }
.cta__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  padding: 15px 30px; border-radius: 9999px;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -10px rgba(22,19,15,0.5); }
.btn--ghost { border: 1px solid var(--fg); color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.textlink {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  display: inline-flex; gap: 8px; align-items: center; color: var(--fg);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.textlink:hover { border-bottom-color: var(--fg); }

/* ---------- Generic page hero ---------- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(50px, 7vw, 90px); }
.page-hero h1 {
  font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.04em; line-height: 0.92; max-width: 14ch;
}
.page-hero p { margin-top: 28px; max-width: 540px; color: var(--fg-soft); font-size: 18px; }
.page-hero .eyebrow { margin-bottom: 22px; }

/* ---------- About prose ---------- */
.prose-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 70px); }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 0.8fr 1.2fr; } }
.prose-grid h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.025em; }
.prose p { color: var(--fg-soft); font-size: 17px; line-height: 1.78; margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }

.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; gap: 0 40px; } }
.values li { border-top: 1px solid var(--border); padding: 24px 0; }
.values strong { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; display: block; margin-bottom: 8px; }
.values span { color: var(--fg-soft); font-size: 15px; }

/* team text cards */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { border: 1px solid var(--border); border-radius: 6px; padding: 30px 28px; background: var(--bg-alt); }
.team-card .avatar { width: 52px; height: 52px; font-size: 17px; margin-bottom: 20px; }
.team-card h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.team-card .role { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); letter-spacing: 0.05em; margin-top: 6px; }
.team-card p { margin-top: 16px; color: var(--fg-soft); font-size: 14.5px; line-height: 1.62; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 70px); }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 26px; }
.contact-info dd { margin: 6px 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.contact-info dd a:hover { color: var(--accent-deep); }
.form { display: grid; gap: 18px; }
.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-alt); border: 1px solid var(--border); border-radius: 5px;
  padding: 14px 16px; width: 100%; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(207,160,99,0.22);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--fg); color: var(--bg); padding: clamp(60px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; }
.footer__brand p { font-family: var(--sans); font-weight: 400; font-size: 15px; color: rgba(242,236,219,0.65); margin-top: 18px; max-width: 320px; letter-spacing: 0; }
.footer__col h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(242,236,219,0.78); font-size: 14.5px; margin-bottom: 11px; }
.footer__col a:hover { color: var(--bg); }
.footer__bottom {
  margin-top: clamp(50px, 8vw, 90px); padding-top: 26px; border-top: 1px solid rgba(242,236,219,0.16);
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center;
}
.footer__bottom p, .footer__bottom a { font-size: 13px; color: rgba(242,236,219,0.6); font-family: var(--mono); letter-spacing: 0.02em; }
.footer__bottom a:hover { color: var(--bg); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 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__orb, .hero__orb img, .hero__scroll span { animation: none; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup { position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;justify-content:center;padding:24px;background:rgba(22,19,15,0.42);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 34px;max-width:480px;border-radius:6px;border:1px solid var(--border);box-shadow:0 24px 70px -20px rgba(22,19,15,0.5); }
.cookie-popup__label { font-family:var(--mono);font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:12px; }
.cookie-popup__card h3 { font-size:1.4rem;letter-spacing:-0.02em;margin-bottom:12px; }
.cookie-popup__card p { font-size:14.5px;line-height:1.62;color:var(--fg-soft); }
.cookie-popup__actions { display:flex;gap:12px;margin-top:22px; }
.cookie-popup__actions button { padding:11px 24px;border:1px solid var(--border);cursor:pointer;font-size:13px;font-family:var(--mono);letter-spacing:0.03em;border-radius:9999px;transition:background .25s var(--ease),color .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-deep);border-color:var(--accent-deep); }

/* ---------- Legal / thanks ---------- */
.legal { padding: clamp(120px, 15vw, 180px) 0 clamp(70px, 10vw, 120px); }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 0.98; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 18px; letter-spacing: 0.04em; }
.legal h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin: 44px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 10px; font-family: var(--serif); font-weight: 700; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-deep); border-bottom: 1px solid transparent; }
.legal a:hover { border-bottom-color: var(--accent-deep); }

.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 620px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); letter-spacing: -0.03em; line-height: 0.96; }
.thanks p { margin: 26px auto 0; color: var(--fg-soft); font-size: 18px; max-width: 460px; }
.thanks .btn { margin-top: 38px; }
.thanks__mark { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 26px; display: block; }
