/* Sorae Works — site styles. Light/dark follow the OS setting. */

:root {
  --paper: #f6f9fc;
  --card: #ffffff;
  --tint: #eaf2f9;
  --ink: #0f1d2e;
  --ink-2: #4a5a70;
  --line: #d8e2ec;
  --accent: #1d6aab;
  --accent-ink: #ffffff;
  --sky-top: #7db6e6;
  --sky-mid: #bcdcf3;
  --sky-low: #f7d6c4;
  --night: #0e1a2b;
  --night-ink: #e9f0f8;
  --night-ink-2: #a9b8cb;
  --cloud: rgba(255, 255, 255, 0.85);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 29, 46, 0.06), 0 8px 24px rgba(15, 29, 46, 0.06);
  --font-latin: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial;
  --font-tc: "PingFang TC", "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC";
  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Songti TC", serif;
  --font: var(--font-latin), var(--font-tc), var(--font-jp), system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1424;
    --card: #111d31;
    --tint: #0e192c;
    --ink: #e7eef7;
    --ink-2: #9fb0c6;
    --line: #22324b;
    --accent: #8cc4f2;
    --accent-ink: #0b1424;
    --sky-top: #0f2342;
    --sky-mid: #27406a;
    --sky-low: #6b4c6f;
    --night: #060d19;
    --cloud: rgba(200, 215, 240, 0.16);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.25);
  }
}

.lang-zh-hant { --font: var(--font-latin), var(--font-tc), system-ui, sans-serif; }
.lang-ja { --font: var(--font-latin), var(--font-jp), system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lang-ja, body.lang-zh-hant { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
/* Japanese: break at phrase boundaries (Chromium 119+); other engines fall back to normal breaking. */
body.lang-ja h1, body.lang-ja h2, body.lang-ja h3, body.lang-ja .lead { word-break: auto-phrase; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.01em; }
.brand .mark { width: 30px; height: 30px; }
.mark .stop-top { stop-color: #7db6e6; }
.mark .stop-mid { stop-color: #bcdcf3; }
.mark .stop-low { stop-color: #f7d6c4; }
.brand-name { font-size: 1.05rem; white-space: nowrap; }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch a { text-decoration: none; font-size: 0.82rem; min-width: 34px; text-align: center; padding: 3px 8px; border-radius: 999px; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; margin-left: 4px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; content: ""; }
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 25%, transparent); color: var(--ink); background: color-mix(in srgb, var(--card) 55%, transparent); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: 18px; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 110px; min-height: min(88vh, 820px); display: flex; align-items: center; }
.sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 52%, var(--sky-low) 100%); }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, var(--cloud), transparent); filter: blur(6px); animation: drift 60s linear infinite alternate; }
.c1 { width: 520px; height: 150px; top: 14%; left: -6%; }
.c2 { width: 420px; height: 120px; top: 58%; left: 48%; animation-duration: 80s; animation-direction: alternate-reverse; }
.c3 { width: 300px; height: 90px; top: 30%; left: 70%; animation-duration: 70s; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(60px); } }
.kanji { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; white-space: nowrap; font-family: var(--font-serif); font-size: clamp(6rem, 13vw, 13rem); line-height: 1; letter-spacing: 0.08em; color: #fff; opacity: 0.38; user-select: none; }
.hero-inner { position: relative; }
.hero .eyebrow { color: color-mix(in srgb, var(--ink) 75%, transparent); }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 700; letter-spacing: -0.025em; max-width: 13em; }
.lang-zh-hant .hero h1, .lang-ja .hero h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); letter-spacing: 0.01em; line-height: 1.3; }
.hero .lead { margin-top: 22px; max-width: 36em; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: color-mix(in srgb, var(--ink) 82%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.meaning { margin-top: 44px; font-size: 0.92rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.meaning b { font-weight: 700; color: var(--ink); }
@media (prefers-color-scheme: dark) { .meaning { color: color-mix(in srgb, var(--ink) 90%, transparent); } }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 44em; margin-bottom: 48px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; letter-spacing: -0.02em; }
.lang-zh-hant .section h2, .lang-ja .section h2 { letter-spacing: 0.01em; line-height: 1.35; }
.section-head .lead { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: color-mix(in srgb, var(--card) 70%, transparent); }

/* Services */
#services .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 56px; align-items: start; }
#services .section-head { position: sticky; top: 104px; margin: 0; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service .num { font-family: var(--font-latin), sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--accent); padding-top: 4px; }
.service h3 { font-size: 1.28rem; }
.service p { margin-top: 8px; color: var(--ink-2); }

/* Original IP */
.persona-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.persona { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.persona-art { position: relative; aspect-ratio: 5 / 4; background:
    radial-gradient(60% 30% at 30% 35%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(45% 22% at 75% 62%, rgba(255, 255, 255, 0.4), transparent 70%),
    linear-gradient(180deg, var(--c), var(--b) 58%, var(--a)); }
.persona-art .initial { position: absolute; left: 22px; bottom: 6px; font-family: var(--font-latin), sans-serif; font-weight: 700; font-size: 6.5rem; line-height: 1; color: #fff; opacity: 0.92; text-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }
.persona-art .kana { position: absolute; right: 18px; top: 16px; writing-mode: vertical-rl; font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: 0.2em; color: #fff; opacity: 0.95; }
.persona-body { padding: 20px 22px 24px; }
.persona h3 { font-size: 1.18rem; letter-spacing: 0.06em; }
.persona-body > p { margin-top: 4px; color: var(--ink-2); }
.sky-dawn { --a: #ffd9c2; --b: #f2a9b4; --c: #8fb6e8; }
.sky-noon { --a: #e3f3ff; --b: #8cc8f1; --c: #3b8bd3; }
.sky-blossom { --a: #fde6ef; --b: #f1b5cd; --c: #ad9be0; }
.sky-overcast { --a: #e5e9ef; --b: #a9b6c5; --c: #6a7d94; }
.sky-tide { --a: #d6f2ec; --b: #7dc9c1; --c: #2c7895; }
.sky-golden { --a: #ffeab9; --b: #f5bf6c; --c: #d27e6a; }
.disclosure { margin-top: 28px; font-size: 0.92rem; color: var(--ink-2); max-width: 52em; padding-left: 14px; border-left: 3px solid var(--accent); }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.package { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.package h3 { font-size: 1.08rem; min-height: 2.6em; }
.price { margin-top: 14px; font-family: var(--font-latin), sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.price .cur { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-2); vertical-align: 0.6em; }
.price .per { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.checks { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 0.93rem; color: var(--ink-2); }
.checks li { position: relative; padding-left: 22px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.custom-quote { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--tint); }
.custom-quote p { color: var(--ink-2); max-width: 46em; }

/* Work */
.case { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); background: var(--card); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow); }
.case-art { min-height: 300px; display: grid; place-items: center; background:
    radial-gradient(50% 40% at 30% 30%, rgba(255, 255, 255, 0.5), transparent 70%),
    linear-gradient(150deg, #f4e3dc, #e2b9a7 55%, #b98472); }
.case-art span { font-family: var(--font-serif); font-size: 7rem; color: #fff; opacity: 0.9; }
.case-body { padding: 40px 40px 36px; }
.case-sector { font-size: 0.85rem; color: var(--ink-2); }
.case h3 { font-size: 1.7rem; margin: 6px 0 14px; }
.case-body > p { color: var(--ink-2); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.step-num { font-family: var(--font-latin), sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--accent); }
.steps h3 { font-size: 1.2rem; margin-top: 6px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 0.96rem; }

/* Principles */
.section-night { background:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 68% 14%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 84% 64%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 38% 80%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(180deg, var(--night), color-mix(in srgb, var(--night) 80%, #24365a));
  color: var(--night-ink); }
.section-night .eyebrow { color: #9fcdf3; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.principles h3 { font-size: 1.12rem; }
.principles p { margin-top: 8px; color: var(--night-ink-2); font-size: 0.96rem; }

/* Contact */
.contact { text-align: center; background: linear-gradient(180deg, var(--paper), var(--tint)); }
.contact .section-head { margin: 0 auto 34px; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-email a { color: var(--ink-2); font-size: 0.95rem; }
.hint { font-size: 0.9rem; color: var(--ink-2); max-width: 32em; }

/* Prose pages */
.prose-page { min-height: 60vh; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.25rem; margin: 34px 0 8px; }
.prose p { color: var(--ink-2); }
.prose.center { text-align: center; }
.prose.center p { margin-top: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 0.88rem; color: var(--ink-2); }
.footer-inner { display: grid; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--ink); }
.footer-brand .mark { width: 34px; height: 34px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.35; }
.footer-brand span { font-size: 0.82rem; color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 6px; }

/* Responsive */
@media (max-width: 1020px) {
  .package-grid, .principles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .lang-switch { margin-left: auto; order: 2; }
  .nav-toggle { display: block; order: 3; }
  #services .wrap { grid-template-columns: 1fr; gap: 0; }
  #services .section-head { position: static; margin-bottom: 36px; }
  .case { grid-template-columns: 1fr; }
  .case-art { min-height: 180px; }
  .case-body { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 12px; }
  .brand-name { font-size: 0.98rem; }
  .hero { padding: 84px 0 80px; min-height: auto; }
  .kanji { right: -4%; opacity: 0.28; }
  .section { padding: 76px 0; }
  .persona-grid, .package-grid, .principles, .steps { grid-template-columns: 1fr; }
  .persona-art { aspect-ratio: 16 / 9; }
  .persona-art .initial { font-size: 4.6rem; }
  .package h3 { min-height: 0; }
  .custom-quote { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud { animation: none; }
  .btn { transition: none; }
}

/* ---------- v2: portraits, landing pages, order flow ---------- */
.persona-art.has-photo { aspect-ratio: 4 / 5; background: var(--tint); }
.persona-photo, .persona-photo img { display: block; width: 100%; height: 100%; }
.persona-photo img { object-fit: cover; }
.persona-art.has-photo .kana { text-shadow: 0 1px 8px rgba(15, 29, 46, 0.35); }
.persona-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service .from { margin-top: 12px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.service .text-link { margin-top: 8px; }

.page-top { padding-top: 72px; }
.page-top h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; }
body.lang-zh-hant .page-top h1, body.lang-ja .page-top h1 { letter-spacing: 0.01em; line-height: 1.3; }
.wrap.narrow { max-width: 760px; }
.hero-landing { min-height: auto; padding: 96px 0 84px; }
.hero-landing h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 16em; }
body.lang-zh-hant .hero-landing h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.split .section-head { margin-bottom: 24px; }
.pains { display: grid; gap: 14px; }
.pains li { position: relative; padding: 16px 18px 16px 46px; border-radius: 14px; background: var(--tint); color: var(--ink); }
.pains li::before { content: "?"; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.checks.big { border-top: 0; padding-top: 0; margin-top: 0; font-size: 1rem; color: var(--ink); gap: 12px; }
.package-grid.cols-1 { grid-template-columns: minmax(0, 420px); }
.package-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.package-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package .summary { margin-top: 6px; color: var(--ink-2); font-size: 0.93rem; }
.package h3 { min-height: 0; }
.package .term { font-size: 0.85rem; color: var(--ink-2); margin-top: 2px; }
.package .note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-2); padding-top: 12px; border-top: 1px dashed var(--line); }
.package .btn-block { margin-top: auto; width: 100%; }
.package .checks { margin-bottom: 18px; }
.price-from { font-size: 1.6rem; }
.fine { margin-top: 18px; font-size: 0.88rem; color: var(--ink-2); }
.proof { margin-top: 30px; padding: 18px 22px; border-radius: 14px; background: var(--card); border-left: 3px solid var(--accent); color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }
.steps-compact { margin: 8px 0 56px; }
.order-group { margin-top: 56px; }
.order-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.order-group-head h2 { font-size: 1.5rem; }
.order-group-head .text-link { margin-top: 0; }
.order-notes { margin-top: 56px; display: grid; gap: 8px; font-size: 0.92rem; color: var(--ink-2); }

/* forms */
.order-form, .estimator { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.93rem; padding: 0; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 46px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); border-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.consent { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 600; }
.field [aria-invalid="true"], .consent [aria-invalid="true"] { border-color: #c0392b; outline: 2px solid color-mix(in srgb, #c0392b 35%, transparent); }
.form-status.error { color: #c0392b; }
.order-done { margin-top: 24px; padding: 32px; border-radius: var(--radius); background: var(--tint); }
.order-done h2 { font-size: 1.6rem; margin-bottom: 10px; }
.pay-now { margin-top: 18px; }
.estimator { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.estimate-out { margin-top: 22px; }
.estimate-out dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.estimate-out dl div { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.estimate-out dt { font-size: 0.85rem; color: var(--ink-2); }
.estimate-out dd { margin: 6px 0 0; font-size: 1.3rem; font-weight: 700; font-family: var(--font-latin), sans-serif; }
.disclaimer, .sources { margin-top: 14px; font-size: 0.85rem; color: var(--ink-2); }
.sources a { margin-right: 10px; color: var(--ink-2); }

@media (max-width: 1020px) {
  .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .package-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimator, .estimate-out dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .persona-grid, .package-grid.cols-2, .package-grid.cols-3, .grid-2, .estimator, .estimate-out dl { grid-template-columns: 1fr; }
  .persona-art.has-photo { aspect-ratio: 4 / 5; }
  .order-group-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- v3: hero cast, hosts, why grid, reveal ---------- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-cast { position: relative; height: 520px; }
.cast-card { position: absolute; margin: 0; width: 46%; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 24px 60px rgba(15, 29, 46, 0.22); border: 6px solid color-mix(in srgb, var(--card) 92%, transparent); animation: floaty 9s ease-in-out infinite; }
.cast-card picture, .cast-card img { display: block; width: 100%; height: auto; }
.cast-card figcaption { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-latin), sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.cast-1 { left: 4%; top: 6%; transform: rotate(-5deg); z-index: 3; }
.cast-2 { right: 2%; top: 0; transform: rotate(4deg); z-index: 2; animation-delay: -3s; }
.cast-3 { left: 18%; bottom: 0; transform: rotate(3deg); z-index: 4; animation-delay: -5s; }
.cast-4 { right: 6%; bottom: 6%; transform: rotate(-3deg); z-index: 1; animation-delay: -7s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-split ~ .kanji, .hero .kanji { right: 1%; opacity: 0.16; }
.hero-cast { z-index: 1; }

.host { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.88rem; color: var(--ink-2); }
.host-avatar, .host-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; display: block; }
.host-avatar { flex: none; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.host strong { color: var(--ink); letter-spacing: 0.06em; }

.section-why { background: linear-gradient(180deg, var(--paper), var(--tint)); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why-grid li { background: var(--card); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.why-grid li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--sky-top) 45%, transparent), transparent); }
.why-k { font-family: var(--font-latin), sans-serif; font-weight: 700; font-size: 2.2rem; letter-spacing: -0.03em; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--sky-low))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-grid h3 { font-size: 1.12rem; margin-top: 8px; }
.why-grid p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }

.lp-host { margin: 0; justify-self: center; width: min(320px, 100%); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 29, 46, 0.22); border: 6px solid color-mix(in srgb, var(--card) 92%, transparent); transform: rotate(2deg); position: relative; }
.lp-host img { display: block; width: 100%; height: auto; }
.lp-host figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 700; letter-spacing: 0.14em; font-size: 0.8rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }

/* Hidden only once site.js has run (html.js), so content is always visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-cast { height: 300px; margin-top: 8px; }
  .cast-card { width: 38%; }
  .cast-3 { left: 30%; }
  .hero .kanji { right: 4%; }
  .lp-host { width: min(240px, 70%); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-cast { height: 240px; }
  .cast-card { border-width: 4px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cast-card { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.insight-card a { display: flex; flex-direction: column; height: 100%; padding: 26px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform 0.2s ease; }
.insight-card a:hover { transform: translateY(-3px); }
.insight-card time { font-size: 0.82rem; color: var(--ink-2); }
.insight-card h2 { font-size: 1.2rem; margin-top: 8px; line-height: 1.4; }
.insight-card p { margin-top: 10px; color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.insight-card .text-link { margin-top: 16px; }
.crumbs { font-size: 0.85rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.3; }
.article-body { max-width: none; margin-top: 28px; }
.article-body h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.article-body p { color: var(--ink); margin-top: 14px; }
.article-body a { color: var(--accent); }
.article-list { list-style: disc; padding-left: 1.3em; margin-top: 12px; display: grid; gap: 8px; }
.table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--tint); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.article-cta { margin: 48px 0 28px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--tint), var(--card)); border: 1px solid var(--line); }
.article-cta h2 { font-size: 1.4rem; }
.article-cta p:not(.eyebrow) { margin: 10px 0 18px; color: var(--ink-2); }
@media (max-width: 1020px) { .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .insight-grid { grid-template-columns: 1fr; } }
