/* palette: bg=#0E0E0C fg=#ECEAE1 accent=#CDFF4F */
/* fonts: display="Shippori Mincho" body="Noto Sans" mono="Space Mono" */

:root {
  --bg: #0E0E0C;          /* sumi ink — dominant background */
  --bg-alt: #16150F;      /* lifted dark — alternating sections / cards */
  --bg-card: #1A1912;     /* card surface on dark */
  --paper: #ECEAE1;       /* washi paper — light inverted band */
  --paper-soft: #E2DFD3;  /* washi, slightly deeper */
  --fg: #ECEAE1;          /* primary text on dark */
  --fg-soft: #C7C4B8;     /* softened foreground */
  --muted: #7C7B70;       /* secondary text */
  --ink: #12110C;         /* dark text used on washi sections */
  --accent: #CDFF4F;      /* lime signature — from reference CTA/checks */
  --accent-deep: #B2E62E; /* darker lime for hover */
  --accent-dim: rgba(205, 255, 79, 0.12);
  --border: rgba(236, 234, 225, 0.14);
  --border-strong: rgba(236, 234, 225, 0.28);
  --border-ink: rgba(18, 17, 12, 0.14);
  --serif: 'Shippori Mincho', ui-serif, Georgia, 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);
  --shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
}

*, *::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;
  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; }
::selection { background: var(--accent); color: var(--ink); }

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

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }

.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .muted,
.section--paper .eyebrow { color: #6b6a5f; }
.section--paper .eyebrow::before { background: var(--ink); }

.section--alt { background: var(--bg-alt); }

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

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .lead { color: var(--fg-soft); font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 22px; max-width: 620px; }
.section--paper .section-head .lead { color: #4a4940; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

h2.display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
}
h3.display { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; line-height: 1.12; }

.display em { font-style: italic; color: var(--accent); }
.section--paper .display em { color: #5a7a00; }

/* ───────────────────────── 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; }
  * { animation: none !important; }
}

/* ───────────────────────── buttons ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 9999px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), opacity 0.35s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--outline { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.section--paper .btn--outline { border-color: var(--border-ink); color: var(--ink); }
.section--paper .btn--outline:hover { border-color: #5a7a00; color: #4a6600; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.link-arrow .ar { transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 14px; }
.section--paper .link-arrow { color: #4a6600; }

/* ───────────────────────── header ───────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 12, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(14, 14, 12, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; align-self: center; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 36px; }
}
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--accent); }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px; height: 1.5px; background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.35s 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); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 36px; align-self: flex-start; }

/* ───────────────────────── hero ───────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(56px, 9vw, 110px);
  padding-top: 120px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
  opacity: 0.42;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,12,0.6) 0%, rgba(14,14,12,0.4) 42%, rgba(14,14,12,0.96) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 14ch;
  margin: 0;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__sub {
  max-width: 540px;
  margin-top: 30px;
  color: var(--fg-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.68;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 40px; }

.hero__meta {
  position: absolute;
  top: clamp(110px, 16vw, 150px);
  right: 0;
  z-index: 1;
  display: none;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2.1;
}
@media (min-width: 1024px) { .hero__meta { display: block; } }

/* ───────────────────────── intro strip ───────────────────────── */
.intro {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) { .intro { grid-template-columns: 0.9fr 1.3fr; gap: 64px; } }
.intro__statement {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.intro__statement em { color: var(--accent); font-style: italic; }
.intro__body p { color: var(--fg-soft); margin: 0 0 20px; }
.intro__body p:last-child { margin-bottom: 0; }

/* logos / trust row */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  align-items: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.trust span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  opacity: 0.85;
}

/* ───────────────────────── solutions grid ───────────────────────── */
.grid-cards { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 0.4s var(--ease);
}
.section--alt .card { background: var(--bg-alt); }
.card:hover { background: var(--bg-card); }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 28px;
}
.card__title { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.card__text { color: var(--fg-soft); font-size: 15.5px; line-height: 1.68; margin: 0 0 24px; }
.card__foot { margin-top: auto; }

/* ───────────────────────── plans / engagement cards ───────────────────────── */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.plan--feature { border-color: rgba(205,255,79,0.4); background: linear-gradient(180deg, rgba(205,255,79,0.06), var(--bg-card) 55%); }
.plan__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.plan__name { font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.plan__desc { color: var(--fg-soft); font-size: 14.5px; line-height: 1.6; margin: 0 0 24px; }
.plan__price { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--fg-soft); line-height: 1.5; }
.plan li .chk {
  flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent-dim);
}
.plan li .chk svg { width: 11px; height: 11px; stroke: var(--accent); }
.plan .btn { width: 100%; justify-content: center; }

/* ───────────────────────── manifesto (inverted washi) ───────────────────────── */
.manifesto { text-align: center; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  opacity: 0.9;
}
.section--paper .manifesto__mark { color: #7a9a10; }
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 0 auto;
  font-weight: 400;
}
.manifesto em { font-style: italic; color: #5a7a00; }
.manifesto__by { margin-top: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b6a5f; }

/* ───────────────────────── stats ───────────────────────── */
.stats { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(36px, 5vw, 56px) clamp(24px, 3vw, 36px); }
.section--alt .stat { background: var(--bg-alt); }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -0.02em; line-height: 1; color: var(--fg); }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ───────────────────────── process ───────────────────────── */
.process { display: grid; gap: 0; }
.step {
  display: grid;
  gap: 16px 40px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
@media (min-width: 820px) { .step { grid-template-columns: 110px 0.9fr 1.4fr; } }
.step:last-child { border-bottom: 1px solid var(--border); }
.step__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.step__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }
.step__text { color: var(--fg-soft); font-size: 15.5px; line-height: 1.68; }
.section--paper .step { border-color: var(--border-ink); }
.section--paper .step__num { color: #5a7a00; }
.section--paper .step__text { color: #4a4940; }

/* ───────────────────────── FAQ ───────────────────────── */
.faq { max-width: 880px; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 8px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico {
  flex: 0 0 auto;
  width: 26px; height: 26px; position: relative;
  transition: transform 0.4s var(--ease);
}
.faq summary .ico::before, .faq summary .ico::after {
  content: ""; position: absolute; background: var(--accent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq summary .ico::before { width: 14px; height: 1.5px; }
.faq summary .ico::after { width: 1.5px; height: 14px; transition: transform 0.4s var(--ease); }
.faq details[open] summary .ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details[open] summary .ico { transform: rotate(90deg); }
.faq__answer { padding: 0 0 26px; color: var(--fg-soft); font-size: 16px; line-height: 1.72; max-width: 680px; }
.section--paper .faq details { border-color: var(--border-ink); }
.section--paper .faq__answer { color: #4a4940; }
.section--paper .faq summary .ico::before, .section--paper .faq summary .ico::after { background: #5a7a00; }

/* ───────────────────────── CTA band ───────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14,14,12,0.5), var(--bg) 78%); }
.cta__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p { color: var(--fg-soft); max-width: 560px; margin: 26px auto 40px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ───────────────────────── footer ───────────────────────── */
.footer { background: var(--bg-alt); padding: clamp(64px, 9vw, 110px) 0 44px; border-top: 1px solid var(--border); }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand .brand { font-size: 1.7rem; margin-bottom: 20px; }
.footer__tag { color: var(--fg-soft); max-width: 300px; font-size: 15px; line-height: 1.65; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer__col a, .footer__col li { font-size: 15px; color: var(--fg-soft); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center;
  margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.footer__bottom .mono { font-family: var(--mono); letter-spacing: 0.04em; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }

/* ───────────────────────── contact / forms ───────────────────────── */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 2px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #5a5951; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg); color: var(--fg); }
.form .btn { align-self: flex-start; margin-top: 8px; }

.contact-info { display: flex; flex-direction: column; gap: 34px; }
.contact-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 12px; }
.contact-block p, .contact-block a { color: var(--fg-soft); font-size: 16px; line-height: 1.6; }
.contact-block a:hover { color: var(--accent); }

/* ───────────────────────── page hero (inner) ───────────────────────── */
.page-hero { padding: clamp(130px, 18vw, 200px) 0 clamp(60px, 8vw, 100px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; font-weight: 300; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { max-width: 560px; margin-top: 28px; color: var(--fg-soft); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }

/* value grid (about) */
.values { display: grid; gap: 40px 56px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 18px; }
.value h3 { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.value p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.68; margin: 0; }

/* split feature */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split--reverse .split__media { order: -1; }
@media (min-width: 900px) { .split--reverse .split__media { order: 0; } }
.split__media { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 24px; }
.split p { color: var(--fg-soft); margin: 0 0 20px; }
.split .link-arrow { margin-top: 8px; }

/* team — monogram, text-only */
.team { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 680px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { background: var(--bg); padding: clamp(28px, 3.5vw, 40px); }
.section--alt .member { background: var(--bg-alt); }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
  margin-bottom: 24px;
}
.member h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.member__bio { color: var(--fg-soft); font-size: 14.5px; line-height: 1.64; margin: 16px 0 0; }

/* legal pages */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; margin: 56px 0 18px; font-weight: 400; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--serif); font-size: 1.25rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal p { margin: 0 0 18px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 48px; }

/* thank you */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { color: var(--fg-soft); margin: 26px auto 40px; font-size: 1.1rem; }

/* ───────────────────────── 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.5);
  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-alt); border: 1px solid var(--border);
  padding: 32px 36px; max-width: 480px; border-radius: 8px; box-shadow: var(--shadow-lg);
}
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 12px; font-weight: 400; }
.cookie-popup p { color: var(--fg-soft); font-size: 14px; line-height: 1.64; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px; border: 1px solid var(--border-strong); cursor: pointer; font-size: 14px;
  border-radius: 9999px; transition: all 0.3s var(--ease); color: var(--fg); flex: 1;
}
.cookie-popup__actions button:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 600; }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* decorative ensō accent */
.enso {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid var(--border); opacity: 0.6; pointer-events: none;
  display: none;
}
@media (min-width: 1100px) { .enso { display: block; } }

@media (max-width: 480px) {
  .cookie-popup { padding: 14px; }
  .cookie-popup__card { padding: 26px 24px; }
}
