/* palette: bg=#FFF2EA fg=#331023 accent=#F2622A */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #FFF2EA;          /* soft peach cream — reference warm base */
  --bg-alt: #FCE3D4;      /* deeper peach for alternating sections */
  --bg-warm: #FBD9C4;     /* warmest peach panel */
  --fg: #331023;          /* deep wine/plum ink */
  --fg-soft: #5A2438;     /* softened plum */
  --muted: #8C4A63;       /* mauve-plum secondary text */
  --accent: #F2622A;      /* tangerine — reference gradient core */
  --accent-deep: #D6461A; /* darker tangerine for hover */
  --accent-2: #C74B8C;    /* vaporwave magenta */
  --accent-3: #6C4FB0;    /* lavender-violet */
  --line: rgba(51, 16, 35, 0.14);
  --border: rgba(51, 16, 35, 0.12);
  --grad-hero: linear-gradient(158deg, #F5843F 0%, #E9541E 46%, #C4340F 100%);
  --grad-dark: linear-gradient(150deg, #3A1226 0%, #7A1E2A 52%, #C0330F 100%);
  --grad-mesh: radial-gradient(120% 90% at 15% 10%, rgba(199,75,140,0.30), transparent 55%),
               radial-gradient(100% 80% at 90% 20%, rgba(108,79,176,0.28), transparent 50%);
  --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);
  --shadow: 0 4px 24px -4px rgba(51,16,35,0.10);
  --shadow-lg: 0 18px 48px -10px rgba(51,16,35,0.20);
  --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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; 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, 160px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.24rem); line-height: 1.7; color: var(--fg-soft); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- buttons (reference: outlined pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--fg);
  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--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--accent-deep); border-color: #fff; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease);
}
.arrow-link .ar { transition: transform 0.35s var(--ease); }
.arrow-link:hover { gap: 14px; border-color: var(--accent); }
.arrow-link:hover .ar { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  background: rgba(255, 242, 234, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.header[data-scrolled="true"] { box-shadow: 0 1px 0 var(--line), 0 8px 30px -18px rgba(51,16,35,0.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.14rem; letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad-hero);
  display: grid; place-items: center;
  color: #fff; font-family: var(--mono); font-size: 15px; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 960px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }
@media (min-width: 960px) { .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; }
@media (min-width: 960px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--fg); transition: transform 0.35s var(--ease), opacity 0.3s; }
.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); }

.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2rem; font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.mobile-menu .btn { margin-top: 26px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--grad-hero);
  padding: 120px 0 80px;
}
.hero__mesh { position: absolute; inset: 0; background: var(--grad-mesh); mix-blend-mode: soft-light; animation: heroZoom 9s var(--ease) both; }
.hero__grid {
  position: absolute; left: 50%; bottom: -2px; width: 200%; height: 46%;
  transform: translateX(-50%) perspective(420px) rotateX(58deg);
  transform-origin: bottom center;
  background-image: linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to top, #000 5%, transparent 75%);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 75%);
  opacity: 0.5;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__kana {
  position: absolute; top: 16%; right: 6%;
  font-family: var(--mono); font-size: clamp(3rem, 12vw, 9rem);
  color: rgba(255,255,255,0.10); letter-spacing: 0.1em; user-select: none;
  writing-mode: vertical-rl;
}
.hero .container { position: relative; z-index: 2; }
.hero__eyebrow { color: rgba(255,255,255,0.86); }
.hero__eyebrow::before { background: rgba(255,255,255,0.7); }
.hero h1 {
  font-size: clamp(3.2rem, 9.5vw, 8.4rem);
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 15ch;
  margin-bottom: 30px;
}
.hero h1 em { font-style: normal; color: #FFE1CF; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,0.9); max-width: 54ch; line-height: 1.68; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 26px 44px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.hero__meta span strong { display: block; font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.02em; color: #fff; margin-top: 6px; text-transform: none; }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.025em; }
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head p { margin-top: 22px; }
.split-head { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.3fr 1fr; margin-bottom: clamp(40px, 6vw, 72px); } .split-head .sec-head { margin-bottom: 0; } }

/* ---------- timeline (Skeleton D core) ---------- */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2), var(--accent-3));
}
@media (min-width: 820px) { .timeline::before { left: 50%; transform: translateX(-1px); } }
.tl-item { position: relative; padding: 0 0 clamp(38px, 6vw, 64px) 62px; }
@media (min-width: 820px) {
  .tl-item { width: 50%; padding: 0 0 clamp(48px, 6vw, 78px) 0; }
  .tl-item:nth-child(odd) { left: 0; padding-right: 58px; text-align: right; }
  .tl-item:nth-child(even) { left: 50%; padding-left: 58px; }
}
.tl-item__dot {
  position: absolute; left: 10px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--accent-deep); font-weight: 700;
}
@media (min-width: 820px) {
  .tl-item:nth-child(odd) .tl-item__dot { left: auto; right: -12px; }
  .tl-item:nth-child(even) .tl-item__dot { left: -12px; }
}
.tl-item__phase { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.tl-item h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 12px 0 12px; letter-spacing: -0.02em; }
.tl-item p { color: var(--fg-soft); font-size: 1.02rem; }
.tl-item__tag { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- services grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-hero); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-deep); }
.card h3 { font-size: 1.4rem; margin: 18px 0 12px; letter-spacing: -0.02em; }
.card p { color: var(--fg-soft); font-size: 1rem; }
.card ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 9px; }
.card ul li { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-left: 18px; position: relative; letter-spacing: 0.02em; }
.card ul li::before { content: "›"; position: absolute; left: 0; color: var(--accent); }

/* ---------- manifesto / dark band ---------- */
.manifesto {
  background: var(--grad-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.manifesto__mesh { position: absolute; inset: 0; background: var(--grad-mesh); mix-blend-mode: soft-light; opacity: 0.7; }
.manifesto .container { position: relative; z-index: 2; }
.manifesto .eyebrow { color: rgba(255,255,255,0.82); justify-content: center; }
.manifesto .eyebrow::before { background: rgba(255,255,255,0.6); }
.manifesto p.statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16; letter-spacing: -0.025em;
  max-width: 960px; margin: 0 auto;
}
.manifesto p.statement em { font-style: normal; color: #FFCBB0; }
.manifesto__by { margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); }

/* ---------- stats ---------- */
.stats { background: var(--bg-alt); }
.stats__grid { display: grid; gap: 34px 20px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.03em; color: var(--fg); line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ---------- work / cases ---------- */
.cases { display: grid; gap: 22px; }
@media (min-width: 820px) { .cases { grid-template-columns: 1fr 1fr; } }
.case {
  border-radius: 20px; overflow: hidden; position: relative;
  border: 1px solid var(--border); background: var(--bg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case__img { aspect-ratio: 16/10; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case:hover .case__img img { transform: scale(1.05); }
.case__body { padding: 26px 28px 30px; }
.case__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); }
.case__body h3 { font-size: 1.5rem; margin: 14px 0 10px; letter-spacing: -0.02em; }
.case__body p { color: var(--fg-soft); font-size: 1rem; }

/* ---------- principles / team (text + monogram) ---------- */
.people { display: grid; gap: 18px; }
@media (min-width: 720px) { .people { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person {
  border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  background: var(--bg); display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.person h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.person .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.person p { color: var(--fg-soft); font-size: 0.98rem; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 26px 46px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 500; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.5rem; color: var(--accent); transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 40px 28px 0; color: var(--fg-soft); font-size: 1.04rem; max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--grad-hero); color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta__grid {
  position: absolute; left: 50%; bottom: -2px; width: 200%; height: 60%;
  transform: translateX(-50%) perspective(420px) rotateX(60deg); transform-origin: bottom center;
  background-image: linear-gradient(rgba(255,255,255,0.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.24) 1px, transparent 1px);
  background-size: 44px 44px; opacity: 0.45;
  mask-image: linear-gradient(to top, #000, transparent 80%); -webkit-mask-image: linear-gradient(to top, #000, transparent 80%);
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -0.03em; font-weight: 400; max-width: 16ch; margin: 0 auto; }
.cta h2 em { font-style: normal; color: #FFE1CF; }
.cta p { margin: 24px auto 0; max-width: 52ch; color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.cta__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.info-list { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }
.info-list .row { border-top: 1px solid var(--line); padding-top: 18px; }
.info-list .row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-list .row .v { font-size: 1.1rem; margin-top: 7px; color: var(--fg); }
.form { background: var(--bg); border: 1px solid var(--border); border-radius: 22px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-alt); color: var(--fg); font-family: var(--sans); font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,98,42,0.14); background: var(--bg);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 16px; line-height: 1.6; }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: rgba(255,255,255,0.72); padding: clamp(60px, 8vw, 96px) 0 40px; }
.footer a { color: rgba(255,255,255,0.72); transition: color 0.3s var(--ease); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer__blurb { max-width: 34ch; font-size: 0.98rem; line-height: 1.7; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 400; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 0.96rem; }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.55);
}
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 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; }
  .hero__mesh, .hero__grid { animation: none; }
  * { scroll-behavior: auto; }
}

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(51,16,35,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.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: var(--shadow-lg); border: 1px solid var(--border); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }
.cookie-popup__card h3 { font-size: 1.4rem; margin: 12px 0 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { font-size: 0.95rem; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1.5px solid var(--border); cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; border-radius: 9999px; transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s; }
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:first-child { color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- misc page helpers ---------- */
.page-hero { background: var(--bg-alt); padding: clamp(120px, 16vw, 190px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero__kana { position: absolute; right: -2%; top: 20%; font-family: var(--mono); font-size: clamp(4rem, 16vw, 13rem); color: rgba(51,16,35,0.04); writing-mode: vertical-rl; user-select: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); letter-spacing: -0.035em; font-weight: 400; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 24px; max-width: 56ch; }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent-deep); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin-bottom: 16px; line-height: 1.8; }
.prose ul { color: var(--fg-soft); padding-left: 20px; margin-bottom: 16px; line-height: 1.8; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__mark { width: 78px; height: 78px; border-radius: 20px; background: var(--grad-hero); display: grid; place-items: center; margin: 0 auto 30px; color: #fff; font-size: 2rem; box-shadow: var(--shadow-lg); }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.03em; font-weight: 400; }
.thanks p { margin: 22px auto 0; max-width: 48ch; }
.thanks .btn { margin-top: 36px; }

.intro-two { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .intro-two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.intro-two p { color: var(--fg-soft); font-size: 1.08rem; line-height: 1.78; }
.intro-two p + p { margin-top: 18px; }
.figure { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
