/* palette: bg=#FCEEF5 fg=#2D1B4E accent=#FF6EC7 */
/* fonts: display="Orbitron" body="Inter" mono="Space Mono" */
:root {
  --bg: #FCEEF5;
  --bg-alt: #E8E0FF;
  --bg-mint: #D4F5EC;
  --fg: #2D1B4E;
  --fg-soft: #4A3578;
  --muted: #8A7AB0;
  --accent: #FF6EC7;
  --accent-deep: #C24FA6;
  --accent-cyan: #4FE0D6;
  --accent-lavender: #B89CFF;
  --border: rgba(45, 27, 78, 0.14);
  --border-soft: rgba(45, 27, 78, 0.08);
  --serif: 'Orbitron', ui-serif, serif;
  --sans: 'Inter', ui-sans-serif, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grid: linear-gradient(rgba(255, 110, 199, 0.08) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 110, 199, 0.08) 1px, transparent 1px);
}

*, *::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);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 110, 199, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(184, 156, 255, 0.22), transparent);
  -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; transition: opacity 0.3s var(--ease); }
a:hover { opacity: 0.7; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--fg); color: var(--bg); }
.section--mint { background: var(--bg-mint); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent-deep);
}
.eyebrow--mint { color: var(--accent-cyan); }
.eyebrow--mint::before { background: var(--accent-cyan); }

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
  color: var(--fg);
}
.h-display em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent), var(--accent-lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 32px;
}
.h-card {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.72;
  color: var(--fg-soft);
  max-width: 60ch;
}
.kana {
  font-family: var(--serif);
  position: absolute;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 300;
  color: var(--accent);
  opacity: 0.08;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(252, 238, 245, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 4px 24px -12px rgba(45, 27, 78, 0.18);
  border-bottom-color: var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-cyan), var(--accent-lavender), var(--accent));
  position: relative;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--bg);
  border-radius: 50%;
}
.brand__name { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.brand__kana { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--accent-deep); font-weight: 400; }

.nav { display: none; gap: 36px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
@media (min-width: 1024px) { .nav { display: inline-flex; } }

.cta-mini {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--fg);
  border-radius: 9999px;
  color: var(--fg);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cta-mini:hover { background: var(--fg); color: var(--bg); opacity: 1; }
@media (min-width: 768px) { .cta-mini { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  background: var(--bg);
  background-image: var(--grid);
  background-size: 40px 40px;
  z-index: 99;
  padding: 48px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(60px, 10vh, 120px) 0 clamp(60px, 10vh, 100px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.15fr 1fr; gap: 80px; }
}
.hero__copy { position: relative; }
.hero__kana {
  position: absolute;
  top: -120px;
  right: -40px;
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 14rem);
  color: var(--accent);
  opacity: 0.1;
  font-weight: 300;
  pointer-events: none;
}
.hero__title { margin-bottom: 28px; }
.hero__lead { margin: 0 0 40px; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow:
    0 30px 80px -20px rgba(255, 110, 199, 0.4),
    0 0 0 1px var(--border-soft);
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 110, 199, 0.3), transparent 50%),
    linear-gradient(-45deg, rgba(79, 224, 214, 0.25), transparent 50%);
  z-index: 2;
  mix-blend-mode: screen;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 12s ease-out forwards;
}
.hero__sticker {
  position: absolute;
  z-index: 3;
  background: var(--bg);
  border: 1px solid var(--fg);
  border-radius: 9999px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__sticker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.hero__sticker--tl { top: 24px; left: -16px; transform: rotate(-3deg); }
.hero__sticker--br { bottom: 24px; right: -16px; transform: rotate(2deg); background: var(--fg); color: var(--bg); }
.hero__sticker--br::before { background: var(--accent-cyan); }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 8vh, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) { .hero__meta { grid-template-columns: repeat(4, 1fr); } }
.hero__meta-item .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: block;
  line-height: 1;
}
.hero__meta-item .lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-top: 12px;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 9999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); opacity: 1; }
.btn--ghost { color: var(--fg); border-color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); opacity: 1; }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--accent-deep); opacity: 1; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 4px 0;
  border-bottom: 1px solid var(--fg);
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { opacity: 1; }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Manifesto ---------- */
.manifesto {
  text-align: center;
  position: relative;
}
.manifesto__statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
  max-width: 16ch;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.manifesto__statement em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.manifesto__sub {
  margin: 32px auto 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  position: relative;
  z-index: 2;
}
.section--dark .manifesto__sub { color: rgba(252, 238, 245, 0.7); }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 64px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature {
  background: var(--bg);
  padding: 44px 36px 48px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.feature:hover { background: var(--bg-alt); }
.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-lavender));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-family: var(--mono);
  color: var(--bg);
  font-size: 22px;
  font-weight: 700;
}
.feature:nth-child(2) .feature__icon { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-lavender)); }
.feature:nth-child(3) .feature__icon { background: linear-gradient(135deg, var(--accent-lavender), var(--accent)); }
.feature:nth-child(4) .feature__icon { background: linear-gradient(135deg, var(--accent), var(--accent-cyan)); }
.feature__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.feature p { color: var(--fg-soft); font-size: 16px; line-height: 1.65; margin: 0; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 72px;
  position: relative;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.step {
  position: relative;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 20px 50px -16px rgba(255, 110, 199, 0.3); }
.step__num {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 300;
  line-height: 0.85;
  background: linear-gradient(135deg, var(--accent), var(--accent-lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 24px;
}
.step__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.step p { color: var(--fg-soft); margin: 0; font-size: 16px; line-height: 1.65; }
.step__tag {
  position: absolute;
  top: 36px;
  right: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 72px;
}
@media (min-width: 768px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.tier {
  position: relative;
  padding: 44px 36px 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -16px rgba(184, 156, 255, 0.4); }
.tier--featured {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.tier--featured::before {
  content: 'プロ';
  position: absolute;
  top: -12px;
  left: 36px;
  background: var(--accent);
  color: var(--bg);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tier__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 16px;
}
.tier--featured .tier__name { color: var(--accent-cyan); }
.tier__price {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.tier__price span { font-size: 16px; color: var(--muted); margin-left: 8px; font-family: var(--mono); }
.tier--featured .tier__price span { color: rgba(252, 238, 245, 0.6); }
.tier__desc { color: var(--fg-soft); margin: 0 0 28px; font-size: 15px; line-height: 1.6; }
.tier--featured .tier__desc { color: rgba(252, 238, 245, 0.75); }
.tier__features { list-style: none; padding: 0; margin: 0 0 32px; flex-grow: 1; }
.tier__features li {
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tier--featured .tier__features li { border-color: rgba(252, 238, 245, 0.12); }
.tier__features li::before {
  content: '◆';
  color: var(--accent);
  font-size: 10px;
  margin-top: 6px;
}

/* ---------- Logos / Stack ---------- */
.stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 48px;
}
@media (min-width: 600px) { .stack { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stack { grid-template-columns: repeat(6, 1fr); } }
.stack__item {
  background: var(--bg);
  aspect-ratio: 1.6/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--fg);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  gap: 6px;
}
.stack__item:hover { background: var(--accent); color: var(--bg); }
.stack__item small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack__item:hover small { color: rgba(252, 238, 245, 0.8); }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.quote {
  padding: 40px 32px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 28px;
  font-family: var(--serif);
  font-size: 90px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
}
.quote__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  flex-grow: 1;
}
.quote__author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-soft); }
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.2; margin: 0; }
.quote__role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 28px;
  position: relative;
  z-index: 2;
}
.final-cta__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-cta__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}
.section--dark .final-cta__sub { color: rgba(252, 238, 245, 0.7); }

/* ---------- Section header layout ---------- */
.sect-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}
@media (min-width: 1024px) { .sect-head { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.sect-head__lead { color: var(--fg-soft); font-size: 17px; line-height: 1.72; max-width: 50ch; }

/* ---------- Page subhero ---------- */
.subhero {
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grid);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  opacity: 0.6;
}
.subhero__inner { position: relative; z-index: 2; max-width: 980px; }
.subhero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0 0 32px;
}
.subhero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhero p { max-width: 60ch; color: var(--fg-soft); font-size: 18px; line-height: 1.72; margin: 0; }

/* ---------- Services list (services page) ---------- */
.svc-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-top: 64px; }
.svc-row {
  background: var(--bg);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  transition: background 0.3s var(--ease);
}
.svc-row:hover { background: var(--bg-alt); }
@media (min-width: 768px) { .svc-row { grid-template-columns: 80px 1.2fr 1.4fr; gap: 48px; } }
.svc-row__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent-deep); padding-top: 8px; }
.svc-row__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; margin: 0 0 16px; }
.svc-row__kana { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-top: 12px; }
.svc-row__desc { color: var(--fg-soft); font-size: 16px; line-height: 1.7; margin: 0 0 20px; }
.svc-row__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-row__list li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg);
  padding-left: 18px;
  position: relative;
}
.svc-row__list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.about-grid__visual { aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 30px 80px -20px rgba(184, 156, 255, 0.4); }
.about-grid__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 110, 199, 0.18), transparent 50%, rgba(79, 224, 214, 0.2)); mix-blend-mode: screen; }
.about-grid__visual img { width: 100%; height: 100%; object-fit: cover; }
.about-grid p { color: var(--fg-soft); font-size: 17px; line-height: 1.78; margin: 0 0 20px; }

.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}
@media (min-width: 600px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }

.member { display: flex; flex-direction: column; gap: 18px; }
.member__photo {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(45, 27, 78, 0.25)); }
.member h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 4px; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 10px; }
.member p { color: var(--fg-soft); font-size: 15px; line-height: 1.65; margin: 0; }

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(252, 238, 245, 0.18);
  margin-top: 64px;
}
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 48px 36px; }
.value__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--accent-cyan); margin-bottom: 24px; }
.value__title { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 16px; line-height: 1.1; }
.value p { font-size: 15px; line-height: 1.7; color: rgba(252, 238, 245, 0.75); margin: 0; }

.timeline { margin-top: 56px; border-top: 1px solid var(--border); }
.tl-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.tl-year { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; }
.tl-row h4 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.005em; }
.tl-row p { color: var(--fg-soft); font-size: 16px; line-height: 1.65; margin: 0; max-width: 60ch; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 96px; } }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block { padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.contact-block:last-child { border-bottom: 0; }
.contact-block__lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.contact-block__val { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 6px; color: var(--fg); }
.contact-block__val a:hover { color: var(--accent); opacity: 1; }
.contact-block p { color: var(--fg-soft); font-size: 14px; line-height: 1.6; margin: 0; }

.form { display: flex; flex-direction: column; gap: 24px; padding: 48px 40px; background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--border); }
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form__row label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-soft); }
.form__row input, .form__row textarea, .form__row select {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  border-radius: 6px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form__row input:focus, .form__row textarea:focus, .form__row select:focus { outline: none; border-color: var(--accent); }
.form__row textarea { min-height: 140px; resize: vertical; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fg-soft); line-height: 1.55; }
.form__check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.form button[type="submit"] { align-self: flex-start; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(60px, 10vh, 120px) 0; }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.025em; line-height: 1; margin: 0 0 12px; }
.legal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.01em; margin: 56px 0 16px; }
.legal h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-deep); border-bottom: 1px solid var(--border); }

.thanks { text-align: center; padding: clamp(120px, 20vh, 220px) 0 clamp(60px, 10vh, 120px); }
.thanks h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.03em; line-height: 0.95; margin: 0 0 32px; }
.thanks h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.thanks p { font-size: 19px; color: var(--fg-soft); max-width: 56ch; margin: 0 auto 40px; line-height: 1.7; }

/* ---------- Footer ---------- */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(80px, 12vw, 140px) 0 36px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 110, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 224, 214, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.footer__inner { position: relative; z-index: 2; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(252, 238, 245, 0.12);
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand { color: var(--bg); }
.footer__about { color: rgba(252, 238, 245, 0.7); font-size: 15px; line-height: 1.65; max-width: 38ch; margin: 24px 0 0; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-cyan); margin: 0 0 20px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col li a { color: rgba(252, 238, 245, 0.85); }
.footer__col li a:hover { color: var(--accent); opacity: 1; }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(252, 238, 245, 0.5); }
.footer__bottom-left { display: flex; flex-wrap: wrap; gap: 20px; }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; align-items: center; } }

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(45, 27, 78, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); 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: 12px; margin: 0 auto; box-shadow: 0 30px 60px -20px rgba(45, 27, 78, 0.4); border: 1px solid var(--border); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.cookie-popup__card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 12px; }
.cookie-popup__card p { font-size: 14px; line-height: 1.6; color: var(--fg-soft); margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border); cursor: pointer; font-size: 12px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; border-radius: 9999px; background: var(--bg); color: var(--fg); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button: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); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
