/* =============================================================
   Beyond Borders — design v0.2 (provisional)
   Two design drafts share the same markup:
     html[data-design="a"]  light, simple, trustworthy
     html[data-design="b"]  dark, photo-led, video-production feel
   Colours, fonts and spacing are variables — change them here.
   ============================================================= */

:root, [data-design="a"] {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --ink: #0d1626;
  --ink-2: #47526b;
  --ink-3: #6b7690;
  --line: #e2e6ee;
  --line-strong: #c6cddb;
  --accent: #2853e0;
  --accent-ink: #ffffff;
  --accent-soft: #e9eeff;
  --accent-hover: #1d40b8;
  --ok: #157347; --ok-soft: #e4f5eb;
  --warn: #8a5300; --warn-soft: #fff4dc; --warn-line: #e7c98c;
  --muted-status: #5b6477; --muted-soft: #eef0f4;
  --error: #b42318; --error-soft: #fdecea;
  --focus: #f0a400;
  --header-bg: rgba(255, 255, 255, .92);
  --stage: #0d1626; --stage-ink: #eef2fa; --stage-ink-2: #aab5ca; --stage-line: #26324a;
  --footer-bg: #0d1626;
  --shadow: 0 1px 2px rgba(13, 22, 38, .05), 0 8px 24px rgba(13, 22, 38, .06);
  --shadow-lg: 0 24px 60px rgba(13, 22, 38, .18);
  color-scheme: light;
}

[data-design="b"] {
  --bg: #0a111e;
  --bg-alt: #0f1828;
  --surface: #131e32;
  --surface-2: #18243b;
  --ink: #f2f5fb;
  --ink-2: #b6c0d4;
  --ink-3: #8c98af;
  --line: #233049;
  --line-strong: #34435f;
  --accent: #7d97ff;
  --accent-ink: #0a111e;
  --accent-soft: rgba(125, 151, 255, .14);
  --accent-hover: #a2b5ff;
  --ok: #5fd39a; --ok-soft: rgba(95, 211, 154, .13);
  --warn: #f2c063; --warn-soft: rgba(242, 192, 99, .13); --warn-line: rgba(242, 192, 99, .45);
  --muted-status: #a3adc0; --muted-soft: rgba(163, 173, 192, .13);
  --error: #ff8a80; --error-soft: rgba(255, 138, 128, .12);
  --focus: #ffc94d;
  --header-bg: rgba(10, 17, 30, .86);
  --stage: #060b14; --stage-ink: #eef2fa; --stage-ink-2: #aab5ca; --stage-line: #233049;
  --footer-bg: #060b14;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --fs-sm: .875rem;
  --fs-lg: 1.125rem;
  --fs-h2: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.2vw, 4rem);
  --container: 1120px;
  --gutter: 1.5rem;
  --radius: 18px;
  --radius-sm: 10px;
  --section-y: clamp(3rem, 2.2rem + 3vw, 5rem);
  --header-h: 68px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
:lang(ja) body, body:lang(ja) { line-height: 1.75; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; line-break: strict; letter-spacing: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -0.02em; font-weight: 750; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
.h-small { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .75rem; }
:lang(ja) .h-small { letter-spacing: .02em; text-transform: none; font-size: .875rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
img, video, svg { max-width: 100%; }
img { display: block; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) [data-js-only] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--bg); }
.proto-banner { display: flex; gap: .5rem; align-items: center; justify-content: center; padding: .4rem var(--gutter); background: var(--warn-soft); color: var(--warn); font-size: .8125rem; text-align: center; border-bottom: 1px solid var(--warn-line); }
.embed .proto-banner, .embed .design-switch { display: none !important; }
.noscript { margin: 0; padding: .75rem var(--gutter); background: var(--bg-alt); text-align: center; font-size: var(--fs-sm); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.2rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; text-align: center; white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--secondary { background: var(--accent-soft); color: var(--accent); }
.btn--secondary:hover { color: var(--accent-hover); filter: brightness(.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }

/* ---------- small pieces ---------- */
.badge { display: inline-flex; align-items: center; padding: .02rem .45rem; border-radius: 6px; font-size: .6875rem; font-weight: 750; letter-spacing: .04em; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
.badge--draft { background: var(--warn-soft); color: var(--warn); border: 1px dashed var(--warn-line); text-transform: uppercase; }
:lang(ja) .badge--draft { text-transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; font-size: var(--fs-sm); font-weight: 650; color: var(--accent); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker { margin: 0 0 .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
:lang(ja) .kicker { letter-spacing: .04em; }
.chip-list, .chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.chip .icon { color: var(--accent); }
.chip--sm { padding: .15rem .6rem; font-size: .8125rem; }
.tag { display: inline-block; padding: .05rem .5rem; border-radius: 6px; background: var(--muted-soft); color: var(--ink-2); font-size: .75rem; font-weight: 650; }
.tag--accent { background: var(--accent-soft); color: var(--accent); }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; font-weight: 650; padding: .15rem .55rem .15rem .4rem; border-radius: 999px; white-space: nowrap; }
.status--available, .status--yes { background: var(--ok-soft); color: var(--ok); }
.status--inquiry, .status--tbd, .status--consult { background: var(--warn-soft); color: var(--warn); }
.status--unavailable, .status--no { background: var(--muted-soft); color: var(--muted-status); }
.tbd { color: var(--warn); font-weight: 650; }
.note { display: flex; gap: .45rem; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-sm); margin: 1rem 0 0; }
.note .icon { margin-top: .2rem; color: var(--ink-3); }
.note--small { font-size: .8125rem; }
.notice { display: flex; gap: .55rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-sm); margin: 0 0 1.5rem; }
.notice .icon { margin-top: .15rem; color: var(--accent); }
.notice--small { font-size: .8125rem; margin: 0; padding: .65rem .8rem; }
.chev { transition: transform .2s; color: var(--ink-3); }
details[open] > summary .chev { transform: rotate(180deg); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.more > summary { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 650; font-size: var(--fs-sm); color: var(--accent); }
.more > summary .chev { color: currentColor; }
.more--block { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.more--block > summary { display: flex; justify-content: space-between; width: 100%; padding: .6rem 1.25rem; }
.more--block .more__body { padding: 0 1.25rem 1.25rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand__mark { color: var(--ink); }
.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 1.25rem; }
.nav__links { display: flex; gap: .1rem; }
.nav__links a { display: block; padding: .5rem .65rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 550; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); background: var(--bg-alt); }
:lang(ja) .nav__links a { font-size: .875rem; padding-inline: .5rem; }
.nav__toggle { display: none; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; font-weight: 650; font-size: var(--fs-sm); }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: inline; }
.lang-switch { display: flex; align-items: center; gap: .3rem; font-size: var(--fs-sm); }
.lang-switch__label { display: inline-flex; color: var(--ink-3); }
.lang-switch ul { display: flex; gap: .1rem; }
.lang-switch a, .lang-switch span[aria-current] { display: inline-block; padding: .35rem .5rem; border-radius: 6px; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.lang-switch a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-switch span[aria-current] { color: var(--ink); font-weight: 700; background: var(--bg-alt); }
@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: .75rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .nav__menu:not([data-open]) { display: none; }
  html:not(.js) .nav__toggle { display: none; }
  html:not(.js) .nav__menu { position: static; box-shadow: none; border: 0; padding: 0 0 1rem; }
  html:not(.js) .header__inner { flex-wrap: wrap; }
  .nav__links { flex-direction: column; }
  .nav__links a, :lang(ja) .nav__links a { padding: .8rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { align-self: flex-start; }
}
@media (max-width: 380px) { .nav__toggle-label { display: none; } }

/* ---------- photos ---------- */
.photo { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Decorative stand-in used until a licensed photo is added (never shown as a project) */
.photo--fallback { position: relative; overflow: hidden; background:
    radial-gradient(60% 55% at 22% 18%, rgba(40, 83, 224, .40), transparent 70%),
    radial-gradient(55% 50% at 85% 80%, rgba(20, 170, 160, .32), transparent 70%),
    radial-gradient(40% 40% at 75% 15%, rgba(140, 90, 240, .28), transparent 70%),
    linear-gradient(150deg, #dfe6ff, #eef2ff 45%, #e3f4f3); }
.photo--fallback::before { content: ""; position: absolute; inset: -20%; background:
    repeating-radial-gradient(circle at 70% 120%, transparent 0 46px, rgba(40, 83, 224, .10) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(40, 83, 224, .06) 79px 80px); }
.photo--fallback .photo__glow { position: absolute; width: 46%; aspect-ratio: 1; right: 8%; top: 12%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 65%); filter: blur(4px); }
[data-design="b"] .photo--fallback { background:
    radial-gradient(55% 55% at 20% 25%, rgba(70, 105, 255, .45), transparent 70%),
    radial-gradient(50% 50% at 85% 80%, rgba(16, 185, 170, .28), transparent 70%),
    radial-gradient(45% 45% at 70% 10%, rgba(160, 90, 255, .30), transparent 70%),
    linear-gradient(160deg, #0d1a33, #081020 60%, #0a1628); }
[data-design="b"] .photo--fallback::before { background:
    repeating-radial-gradient(circle at 70% 120%, transparent 0 46px, rgba(150, 175, 255, .10) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(150, 175, 255, .05) 79px 80px); }
[data-design="b"] .photo--fallback .photo__glow { background: radial-gradient(circle at 35% 35%, rgba(130, 160, 255, .35), rgba(130, 160, 255, 0) 65%); }

/* ---------- hero (centred) ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
/* The block is centred; headline and buttons are centre-aligned, longer text stays readable */
.hero__copy { max-width: 46rem; margin: 0 auto; text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::before { display: none; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 1rem; }
:lang(ja) .hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.25; letter-spacing: 0; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 36rem; margin: 0 auto 1.75rem; }
.hero__actions { justify-content: center; }
.hero__visual { position: relative; margin: clamp(2rem, 1.5rem + 2vw, 3.25rem) auto 0; max-width: 1040px; padding: clamp(1.25rem, .5rem + 3.5vw, 3.5rem) clamp(1rem, .25rem + 5vw, 5rem) 0; border-radius: 28px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.hero__frame { position: absolute; inset: 0; z-index: -1; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 22, 38, 0) 40%, rgba(13, 22, 38, .35) 100%); }

/* Editing-window illustration */
.editor { position: relative; border-radius: 14px 14px 0 0; background: #0f1828; color: #c9d3e6; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); border-bottom: 0; font-size: .75rem; }
.editor__bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.editor__bar i { width: 9px; height: 9px; border-radius: 50%; background: #34405a; }
.editor__bar i:first-child { background: #ff6a5f; } .editor__bar i:nth-child(2) { background: #ffbe3c; } .editor__bar i:nth-child(3) { background: #33c95b; }
.editor__bar span { margin-left: .6rem; height: 8px; width: 28%; border-radius: 4px; background: #212c43; }
.editor__body { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: .8rem; padding: .8rem; }
.editor__preview { position: relative; aspect-ratio: 2.4 / 1; border-radius: 8px; overflow: hidden; background: #1b2650; }
.editor__scene { display: block; width: 100%; height: 100%; }
.editor__subs { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: 56%; display: grid; gap: 5px; justify-items: center; }
.editor__subs i { display: block; height: 9px; width: 100%; border-radius: 3px; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.editor__subs i + i { width: 64%; }
.editor__versions { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; align-content: start; }
.editor__versions li { display: flex; align-items: center; gap: .5rem; padding: .5rem .6rem; border-radius: 8px; background: #172137; font-weight: 650; color: #9fb0cf; }
.editor__versions li.is-on { background: #2853e0; color: #fff; }
.editor__tracks { position: relative; display: grid; gap: .35rem; padding: .2rem .8rem .9rem; }
.track { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .5rem; align-items: center; }
.track__label { font-size: .6875rem; font-weight: 650; color: #8494b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__lane { position: relative; height: 18px; border-radius: 4px; background: #141d30; }
.track__lane i.clip, .track__lane i.sub { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; }
.track__lane i.clip { background: linear-gradient(90deg, #3a4f8f, #4b62aa); }
.track__lane i.sub { background: #ffcf6e; }
.track__lane--wave { display: flex; align-items: center; gap: 2px; padding: 0 3px; }
.track__lane--wave i { flex: 1; height: var(--h); border-radius: 1px; background: #5fd3b0; }
.editor__playhead { position: absolute; top: -.2rem; bottom: .7rem; left: calc(.8rem + 5.5rem + .5rem + 38%); width: 2px; background: #ff6a5f; border-radius: 2px; }

[data-design="a"] .hero { background: radial-gradient(900px 420px at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); }
[data-design="b"] .hero { background: radial-gradient(900px 480px at 50% 0%, rgba(125, 151, 255, .22), transparent 70%), var(--bg); }
[data-design="b"] .hero h1 { color: #fff; }
[data-design="b"] .eyebrow { color: #a9bbff; }
[data-design="b"] .hero__visual { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---------- value strip ---------- */
.value { border-block: 1px solid var(--line); background: var(--bg); }
.value__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value__item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.6rem 1.5rem; }
.value__item + .value__item { border-left: 1px solid var(--line); }
.value__item:first-child { padding-left: 0; }
.value__item strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.value__item > span:last-child > span { display: block; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.value__icon { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; padding-bottom: 1.5rem; }
.stat { display: grid; gap: .2rem; }
.stat__value { font-size: 2rem; color: var(--accent); line-height: 1.1; }
.stat__source { font-size: .8125rem; }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 44rem; margin-bottom: 1.75rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: var(--fs-h2); }
.section__lead { font-size: var(--fs-lg); color: var(--ink-2); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow); min-width: 0; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: minmax(0, 1fr); }
.services--photo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.services__media { aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; border-top: 1px solid var(--line); }
.services--photo .svc-list { grid-template-columns: minmax(0, 1fr); }
.svc-list > li { border-bottom: 1px solid var(--line); }
.svc > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .95rem .2rem; }
.svc > summary:hover strong { color: var(--accent); }
.svc__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.svc__text strong { display: block; font-size: 1.0625rem; transition: color .15s; }
.svc__text span { display: block; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.svc__details { margin: 0; padding: 0 .5rem 1.1rem calc(42px + 1.1rem); color: var(--ink-2); font-size: .9375rem; }
.vtypes { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; }
.vtypes__label { font-weight: 700; font-size: .875rem; color: var(--ink-2); }
.vtypes__more { flex-basis: 100%; margin-top: -.25rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: .75rem 1.25rem; margin: .5rem 0 0; }
.facts dt { font-size: .8125rem; color: var(--ink-3); font-weight: 650; }
.facts dd { margin: 0; font-weight: 600; font-size: .9375rem; }
.facts--rows { grid-template-columns: 1fr; gap: 0; margin: 0; }
.facts--rows > div { display: grid; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts--rows > div:last-child { border-bottom: 0; }

/* Samples strip shown while no approved work exists */
.strip { padding-bottom: var(--section-y); }
.strip__inner { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: var(--surface-2); }
.strip__icon { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.strip__text { flex: 1; min-width: 0; margin: 0; font-size: .9375rem; color: var(--ink-2); }
.strip__text strong { color: var(--ink); margin-right: .35rem; }

/* ---------- work showcase ---------- */
.section--stage { background: var(--bg-alt); }
[data-design="b"] .section--stage { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.stage { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 0; border-radius: 24px; overflow: hidden; background: var(--stage); color: var(--stage-ink); box-shadow: var(--shadow-lg); }
.stage .player { padding: 1rem; }
.stage .work-info { padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-left: 1px solid var(--stage-line); }
.stage .muted, .stage .note { color: var(--stage-ink-2); }
.stage .tag { background: rgba(255, 255, 255, .1); color: var(--stage-ink); }
.stage .tag--accent { background: rgba(125, 151, 255, .2); color: #c2cfff; }
.stage .chip { background: transparent; border-color: var(--stage-line); color: var(--stage-ink-2); }
.stage .chip .icon { color: #9db0ff; }
.stage .more > summary { color: #a9bbff; }
.stage .facts dt { color: var(--stage-ink-2); }
.stage .h-small { color: var(--stage-ink-2); }
.stage .table-wrap { border-color: var(--stage-line); background: rgba(255, 255, 255, .03); }
.stage .table th, .stage .table td { border-color: var(--stage-line); }
.stage .table thead th { background: rgba(255, 255, 255, .05); color: var(--stage-ink-2); }
.stage a:not(.btn) { color: #a9bbff; }
.work-info__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; min-height: 1px; }
.work-info__title { font-size: 1.5rem; margin-bottom: .4rem; }
.work-info__langs { display: flex; gap: .45rem; align-items: center; font-weight: 600; color: var(--stage-ink); margin-bottom: 1rem; }
.work-info__langs .icon { color: #9db0ff; }
.work-info .chip-row { margin-bottom: .5rem; }

.player__screens { display: grid; gap: .75rem; }
.player__screen { display: none; }
.player__screens[data-current="original"] .player__screen[data-version="original"],
.player__screens[data-current="subtitled"] .player__screen[data-version="subtitled"],
.player__screens[data-current="dubbed"] .player__screen[data-version="dubbed"] { display: block; }
.player__screens[data-current="side"] { grid-template-columns: 1fr 1fr; }
.player__screens[data-current="side"] .player__screen[data-version="original"],
.player__screens[data-current="side"] .player__screen.is-localized { display: block; }
html:not(.js) .player__screens .player__screen { display: block !important; }
.player__screen { margin: 0; min-width: 0; }
.player__screen figcaption { display: flex; gap: .5rem; align-items: center; margin-top: .5rem; font-size: .8125rem; color: var(--stage-ink-2); }
.player__bar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: .9rem; }
.player__sync { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; }
.stage .seg { background: rgba(255, 255, 255, .06); border-color: var(--stage-line); }
.stage .seg__btn { color: var(--stage-ink-2); }
.stage .seg__btn[aria-pressed="true"] { background: #fff; color: #0d1626; }
.stage .btn--ghost { color: var(--stage-ink); border-color: var(--stage-line); }
.stage .btn--secondary { background: rgba(125, 151, 255, .2); color: #dbe3ff; }
.media { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.media__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.media--yt { display: grid; place-items: center; background: #0b1424; }
.yt__btn { display: grid; justify-items: center; gap: .5rem; padding: 1rem; background: none; border: 0; color: #fff; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); }
.yt__btn .icon { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.yt__btn:hover .icon { background: rgba(255, 255, 255, .26); }
.media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.stage--empty { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.stage--empty .stage__screen { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: radial-gradient(70% 80% at 30% 30%, rgba(70, 105, 255, .35), transparent 70%), radial-gradient(60% 60% at 90% 90%, rgba(16, 185, 170, .2), transparent 70%); }
.stage--empty .mock { position: relative; left: auto; bottom: auto; width: 100%; background: rgba(255, 255, 255, .06); border-color: var(--stage-line); box-shadow: none; }
.stage--empty .mock__tabs { background: rgba(255, 255, 255, .08); color: var(--stage-ink-2); }
.stage--empty .mock__tabs .is-on { background: #fff; color: #0d1626; }
.stage__copy { padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.stage__copy h3 { font-size: 1.5rem; }
.stage__copy p { color: var(--stage-ink-2); }
.stage__copy .btn { margin-top: 1.5rem; }
.vchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.vchip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--stage-line); color: var(--stage-ink); font-size: var(--fs-sm); font-weight: 600; }
.vchip .icon { color: #9db0ff; }

.rail { margin-top: 1.75rem; }
.rail__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.rail__head .h-small { margin: 0; }
.rail__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.thumb { display: grid; gap: .35rem; width: 100%; padding: .5rem .5rem .8rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.thumb:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.thumb__img { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 9px; overflow: hidden; background: linear-gradient(160deg, #1d2a44, #0d1626); color: rgba(255, 255, 255, .8); margin-bottom: .25rem; }
.thumb__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__dur { position: absolute; right: .4rem; bottom: .4rem; padding: 0 .35rem; border-radius: 4px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .75rem; font-weight: 600; }
.thumb__title { font-weight: 700; padding-inline: .25rem; }
.thumb__meta { font-size: .8125rem; color: var(--ink-3); padding-inline: .25rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter { min-height: 36px; padding: .3rem .9rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 650; font-size: .8125rem; color: var(--ink-2); cursor: pointer; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.rail__list > li[hidden] { display: none; }

.seg { display: inline-flex; flex-wrap: wrap; gap: .2rem; padding: .25rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.seg__btn { min-height: 38px; padding: .35rem .95rem; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font-weight: 650; font-size: var(--fs-sm); cursor: pointer; white-space: nowrap; }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.seg--radio { border-radius: var(--radius-sm); padding: .35rem .75rem; margin: 0; display: flex; align-items: center; gap: .75rem; }
.seg--radio legend { float: left; font-weight: 700; font-size: .8125rem; margin-right: .25rem; padding: 0; }
.seg--radio label { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; cursor: pointer; min-height: 32px; }
.seg--radio input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--surface-2); font-size: .8125rem; color: var(--ink-2); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table--compare { min-width: 560px; }
.table--compare tbody th { font-weight: 600; }

/* ---------- languages ---------- */
.section--photo { color: #fff; isolation: isolate; overflow: hidden; }
.section__bg { position: absolute; inset: 0; z-index: -1; }
.section__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 14, 26, .92) 0%, rgba(8, 14, 26, .78) 50%, rgba(8, 14, 26, .55) 100%); }
.section--photo .photo--fallback { background: radial-gradient(60% 60% at 15% 20%, rgba(70, 105, 255, .55), transparent 70%), radial-gradient(50% 60% at 90% 90%, rgba(16, 185, 170, .35), transparent 70%), linear-gradient(160deg, #0d1a33, #081020); }
.section--photo .photo--fallback::before { background: repeating-radial-gradient(circle at 80% 50%, transparent 0 60px, rgba(150, 175, 255, .09) 60px 61px); }
.section--photo .kicker { color: #a9bbff; }
.section--photo .section__lead, .section--photo .note { color: #c3cce0; }
.section--photo .h-small { color: #a7b2c8; }
.langs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.lang-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.lang-chip { display: inline-flex; align-items: baseline; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: .9375rem; }
.lang-chip__native { font-size: .8125rem; font-weight: 500; color: #b8c3da; }
.lang-list .badge--draft { background: rgba(242, 192, 99, .18); color: #f6d48f; border-color: rgba(242, 192, 99, .5); }
.lang-tool { padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.lang-tool .h-small { color: var(--ink-3); margin-top: 1.25rem; }
.lang-tool .note { color: var(--ink-2); margin: .75rem 0 1rem; }
.lang-tool__selects { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .6rem; align-items: end; }
.lang-tool__selects .field { margin: 0; }
.lang-tool__swap { margin-bottom: 1px; }
.status-list { display: grid; gap: .45rem; }
.status-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .55rem .75rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.status-list__name { font-weight: 650; flex: 1 1 auto; min-width: 0; font-size: .9375rem; }
.lang-msg { margin: 0; color: var(--ink-2); font-weight: 600; }

/* ---------- plans & pricing ---------- */
.pricing__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.pricing__top .section__head { margin-bottom: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.5rem 1.4rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.plan--highlight { border: 2px solid var(--accent); }
.plan__flag { position: absolute; top: -.8rem; left: 1.4rem; padding: .1rem .7rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 750; }
.plan h3 { margin-bottom: .25rem; }
.plan .muted { font-size: .9375rem; }
.plan__prices { margin: .25rem 0 1rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.plan__prices small { font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.plan__prices .on-request { font-size: 1.125rem; color: var(--ink); }
.plan__list { display: grid; gap: .45rem; margin: .5rem 0 1.5rem; flex: 1; align-content: start; }
.plan__scope { flex: 1; margin: .5rem 0 1.5rem; font-size: .9375rem; color: var(--ink-2); }
.plan__list li { display: flex; gap: .5rem; align-items: center; font-size: .9375rem; }
.plan__list li .icon { color: var(--ok); }
.plan__feat { color: var(--ink-2); flex: 1 1 auto; min-width: 0; }
.pricing__extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.pricing__extra--single { grid-template-columns: minmax(0, 1fr); }
.pricing__extra .more--block { margin: 0; }
.monthly { display: flex; gap: 1rem; align-items: center; padding: .8rem 1.25rem; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); }
.monthly__icon { color: var(--accent); }
.monthly__text { flex: 1; min-width: 0; font-size: .9375rem; }
.monthly__text strong { display: block; }
.monthly__text span { color: var(--ink-2); font-size: .875rem; }
.monthly__price { font-weight: 700; white-space: nowrap; }
.on-request { color: var(--ink-2); font-weight: 650; }

/* ---------- how we work ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.how .h-small { margin-bottom: .9rem; }
.how__qtitle { margin-top: 2rem; }
.how__qkey { margin: 0 0 .6rem; color: var(--ink-2); font-size: .9375rem; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.step { position: relative; display: grid; justify-items: start; gap: .5rem; }
.step__num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .875rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 40px; right: -.25rem; height: 2px; background: var(--line-strong); }
.step__title { font-weight: 650; font-size: .875rem; line-height: 1.3; }
.step-details { margin: .25rem 0 0; padding-left: 1.25rem; display: grid; gap: .35rem; color: var(--ink-2); font-size: .9375rem; }
.qc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .6rem; margin-top: .5rem; }
.qc { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem .95rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.qc > .icon { color: var(--ok); margin-top: .15rem; }
.qc strong { display: block; font-size: .9375rem; }
.qc span span { display: block; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.how .chip .icon { color: var(--ok); }
.how .note { margin-top: 1.25rem; }
.how__about { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.how__about h3 { font-size: 1.125rem; }
.how__about > p { font-size: .9375rem; }
.about__list { display: grid; gap: 1rem; margin-top: 1.25rem; }
.about__pt { display: flex; gap: .8rem; align-items: flex-start; }
.about__pt .value__icon { width: 36px; height: 36px; border-radius: 10px; }
.about__pt strong { display: block; font-size: .9375rem; }
.about__pt span span { display: block; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.faq-wrap .section__head { margin-bottom: .5rem; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; margin-top: 1.25rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem .2rem; min-height: 52px; font-weight: 650; }
.faq__item > summary:hover { color: var(--accent); }
.faq__answer { padding: 0 2rem 1rem .2rem; color: var(--ink-2); font-size: .9375rem; }

/* ---------- start a project (quote + contact) ---------- */
.section--start { background: var(--bg-alt); }
.start { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.start__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.start__aside .section__head { margin-bottom: 1.5rem; }
.summary { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary__media { aspect-ratio: 16 / 7; }
.summary__media:has(> .photo--fallback) { display: none; }
.summary__body { padding: 1.25rem 1.4rem 1.4rem; }
.summary__body dt { font-size: .8125rem; color: var(--ink-3); font-weight: 650; }
.summary__body dd { margin: 0; font-weight: 650; font-size: .9375rem; }
.summary__price { margin-top: 1rem; }
.summary__label { font-size: .8125rem; font-weight: 700; color: var(--ink-2); margin-bottom: .2rem; }
.summary__value { margin: 0; font-weight: 650; font-size: .9375rem; }
.quote__amount { font-size: 1.75rem; font-weight: 800; margin: 0 0 .2rem; }
.form { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.form__group { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.form__group + .form__group { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.form__legend { float: left; width: 100%; display: flex; align-items: center; gap: .6rem; font-size: 1.125rem; font-weight: 750; margin-bottom: .4rem; padding: 0; }
.form__legend + * { clear: both; }
.form__hint { margin: 0 0 1.25rem; font-size: .875rem; color: var(--ink-3); }
.form__legend + .field { margin-top: 1.25rem; }
.form__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .875rem; font-weight: 800; }
.field { display: grid; gap: .35rem; margin: 0 0 1.15rem; min-width: 0; border: 0; padding: 0; }
.field label, .field legend { font-weight: 650; font-size: .9375rem; padding: 0; }
.field legend { margin-bottom: .4rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 1rem; }
.field-row--tight { grid-template-columns: 1fr 1fr; gap: 0 .75rem; margin: 0; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: .6rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 1rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238c98af' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error) !important; background-color: var(--error-soft) !important; }
.field__hint { margin: 0; font-size: .8125rem; color: var(--ink-3); }
.field__error { display: flex; gap: .35rem; align-items: flex-start; margin: 0; color: var(--error); font-size: var(--fs-sm); font-weight: 650; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: .1rem; border-radius: 50%; background: var(--error); color: var(--bg); font-size: .75rem; font-weight: 800; }
.req, .opt { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border-radius: 4px; font-size: .6875rem; font-weight: 700; vertical-align: middle; }
.req { background: var(--error-soft); color: var(--error); }
.opt { background: var(--muted-soft); color: var(--muted-status); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check-grid, .radio-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.check-chip, .radio-card { position: relative; display: inline-flex; cursor: pointer; }
.check-chip input, .radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span, .radio-card span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.check-chip span::before, .radio-card span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink-3); flex: none; }
.radio-card span::before { border-radius: 50%; }
.check-chip input:checked + span, .radio-card input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.check-chip input:checked + span::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--accent); }
.radio-card input:checked + span::before { border: 4.5px solid var(--accent); }
.check-chip input:focus-visible + span, .radio-card input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check-chip input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.error-summary { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 2px solid var(--error); border-radius: var(--radius-sm); background: var(--error-soft); color: var(--error); }
.error-summary ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.error-summary a { color: var(--error); font-weight: 650; }
.form .note { margin: 0 0 1rem; }
.form-result { margin-top: 1.5rem; padding: 1.15rem 1.25rem; border-radius: var(--radius-sm); border: 2px solid var(--ok); background: var(--ok-soft); color: var(--ok); font-weight: 650; }
.form-result--error { border-color: var(--error); background: var(--error-soft); color: var(--error); }
.form-result--warn { border-color: var(--warn-line); background: var(--warn-soft); color: var(--ink); font-weight: 400; }
.form-result__title { display: flex; gap: .5rem; align-items: center; color: var(--warn); margin-bottom: .5rem; }
.copy-area { width: 100%; margin: .5rem 0 .75rem; padding: .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8125rem; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { padding: 3.5rem 0 3rem; background: var(--footer-bg); color: #c8d0e0; font-size: var(--fs-sm); }
.site-footer a { color: #e6ebf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .muted { color: #96a2b9; margin: 0; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2rem; }
.brand--footer, .brand--footer:hover { color: #fff; }
.brand--footer .brand__mark { color: #fff; }
.site-footer { --accent: #7d97ff; --accent-ink: #0a111e; --accent-hover: #a2b5ff; }
.footer__brand p { margin: .75rem 0 1.25rem; color: #96a2b9; }
.site-footer .btn--primary { color: var(--accent-ink); text-decoration: none; }
.footer__links { display: grid; gap: .5rem; }
.footer__meta { display: grid; gap: .65rem; align-content: start; }
.footer__langs, .footer__social { display: flex; gap: .75rem; flex-wrap: wrap; }
.footer__langs span[aria-current] { color: #fff; font-weight: 700; }
.footer__credits ul { display: grid; gap: .2rem; margin-top: .3rem; font-size: .8125rem; color: #96a2b9; }

/* ---------- prototype design switcher ---------- */
.design-switch { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: flex; align-items: center; gap: .25rem; padding: .3rem .35rem .3rem .8rem; border-radius: 999px; background: #0d1626; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); font-size: .8125rem; }
.design-switch__label { font-weight: 700; margin-right: .3rem; white-space: nowrap; }
.design-switch button { min-height: 34px; padding: .25rem .75rem; border: 0; border-radius: 999px; background: transparent; color: #c9d2e4; font-weight: 650; cursor: pointer; white-space: nowrap; }
.design-switch button[aria-pressed="true"] { background: #fff; color: #0d1626; }
.design-switch a { padding: .3rem .7rem; color: #a9bbff; font-weight: 650; text-decoration: none; white-space: nowrap; }
.design-switch a:hover { text-decoration: underline; color: #c9d4ff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .services--photo, .langs, .start, .how { grid-template-columns: minmax(0, 1fr); }
  .services__media { aspect-ratio: 16 / 9; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .start__aside { position: static; }
  .summary { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .summary__media { aspect-ratio: auto; }
  .stage, .stage--empty { grid-template-columns: minmax(0, 1fr); }
  .stage .work-info { border-left: 0; border-top: 1px solid var(--stage-line); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pricing__extra { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .editor__body { grid-template-columns: minmax(0, 1fr) 9rem; }
}
@media (max-width: 720px) {
  .value__list { grid-template-columns: minmax(0, 1fr); }
  .value__item, .value__item:first-child { padding: .85rem 0; }
  .value__item + .value__item { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .step:nth-child(3n)::after { display: none; }
  .strip__inner { flex-wrap: wrap; }
  .strip__text { flex-basis: calc(100% - 60px); }
}
@media (max-width: 640px) {
  :root { --gutter: 1.1rem; --header-h: 60px; }
  .btn-row .btn--lg { flex: 1 1 100%; }
  .hero__visual { border-radius: 18px; padding: 1rem .75rem 0; }
  .editor__body { grid-template-columns: minmax(0, 1fr); padding: .6rem; }
  .editor__versions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editor__versions li { justify-content: center; padding: .4rem .3rem; font-size: .6875rem; }
  .editor__versions li .icon { display: none; }
  .editor__tracks { padding: .1rem .6rem .7rem; }
  .track { grid-template-columns: 3.8rem minmax(0, 1fr); gap: .4rem; }
  .editor__playhead { left: calc(.6rem + 3.8rem + .4rem + 38%); }
  .player__screens[data-current="side"] { grid-template-columns: 1fr; }
  .stage .player { padding: .6rem; }
  .lang-tool__selects { grid-template-columns: minmax(0, 1fr); }
  .lang-tool__swap { justify-self: center; transform: rotate(90deg); }
  .status-list li { flex-wrap: wrap; }
  .summary { display: block; }
  .summary__media { aspect-ratio: 16 / 6; }
  .svc__details { padding-left: .25rem; padding-right: .25rem; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding-bottom: 5.5rem; }
  .design-switch { left: .75rem; right: .75rem; justify-content: center; bottom: .75rem; }
  .design-switch__label { display: none; }
}

@media print {
  .site-header, .proto-banner, .design-switch, .btn { display: none !important; }
}

/* Until a licensed photo is added, drop purely decorative stand-ins on small screens */
@media (max-width: 960px) {
  .services__media:has(> .photo--fallback), .summary__media:has(> .photo--fallback) { display: none; }
  .summary:has(> .summary__media > .photo--fallback) { display: block; }
}

/* v0.3: compact lists on small screens */
.lang-list > summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; margin-bottom: .5rem; }
.lang-list > summary .chev { color: currentColor; }
@media (max-width: 960px) {
  .summary--no-estimate { display: none; }
}

/* =============================================================
   Design C — "Globe": cinematic, professional, with a slowly turning globe.
   Original Beyond Borders design (no third-party assets or code).
   ============================================================= */
[data-design="c"] {
  --bg: #070a12;
  --bg-alt: #0b101b;
  --surface: #0e1522;
  --surface-2: #121b2b;
  --ink: #f3f5f9;
  --ink-2: #aab3c5;
  --ink-3: #7c879b;
  --line: #1b2433;
  --line-strong: #2b384d;
  --accent: #5fe0cb;
  --accent-ink: #04130f;
  --accent-soft: rgba(95, 224, 203, .12);
  --accent-hover: #8ff0e0;
  --warm: #ffb27a;
  --ok: #5fe0a4; --ok-soft: rgba(95, 224, 164, .12);
  --warn: #f3c46b; --warn-soft: rgba(243, 196, 107, .12); --warn-line: rgba(243, 196, 107, .45);
  --muted-status: #a3adc0; --muted-soft: rgba(163, 173, 192, .12);
  --error: #ff8f86; --error-soft: rgba(255, 143, 134, .12);
  --focus: #ffd166;
  --header-bg: rgba(7, 10, 18, .82);
  --stage: #04070d; --stage-line: #1b2433;
  --footer-bg: #04070d;
  --shadow: none;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);
  --globe-dot: 210, 225, 245;
  --globe-arc-a: 95, 224, 203;
  --globe-arc-b: 255, 178, 122;
  color-scheme: dark;
}
.hero__globe, .strip__compare { display: none; }

/* typography & surfaces */
[data-design="c"] .kicker { color: var(--accent); letter-spacing: .16em; font-size: .75rem; }
[data-design="c"] .section__head h2 { letter-spacing: -0.025em; }
[data-design="c"] .card, [data-design="c"] .plan, [data-design="c"] .how__about, [data-design="c"] .summary { box-shadow: none; }
[data-design="c"] .section--alt, [data-design="c"] .section--start { background: var(--bg-alt); }
[data-design="c"] .section { border-top: 1px solid var(--line); }
[data-design="c"] .btn--ghost { border-color: rgba(255, 255, 255, .28); }
[data-design="c"] .btn--ghost:hover { border-color: #fff; }
[data-design="c"] .plan--highlight { border-color: var(--accent); }
[data-design="c"] .value { border-color: var(--line); background: var(--bg); }
[data-design="c"] .value__icon, [data-design="c"] .svc__icon, [data-design="c"] .strip__icon { background: transparent; border: 1px solid var(--line-strong); color: var(--accent); }

/* hero: copy on the left, globe on the right */
[data-design="c"] .hero { background: radial-gradient(800px 600px at 78% 45%, rgba(95, 224, 203, .10), transparent 65%), radial-gradient(600px 400px at 90% 90%, rgba(255, 178, 122, .07), transparent 70%), var(--bg); }
[data-design="c"] .hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 2rem; align-items: center; min-height: min(78vh, 760px); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
[data-design="c"] .hero__copy { text-align: left; margin: 0; max-width: 37rem; }
[data-design="c"] .hero .eyebrow { justify-content: flex-start; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; }
[data-design="c"] :lang(ja) .hero .eyebrow, [data-design="c"] .hero .eyebrow:lang(ja) { letter-spacing: .06em; }
[data-design="c"] .hero .eyebrow::before { display: inline-block; content: ""; width: 28px; height: 1px; background: currentColor; }
[data-design="c"] .hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 3.1vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
[data-design="c"] :lang(ja) .hero h1, [data-design="c"] .hero h1:lang(ja) { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); letter-spacing: 0; line-height: 1.25; }
[data-design="c"] .hero__lead { margin-left: 0; margin-right: 0; }
[data-design="c"] .hero__actions { justify-content: flex-start; }
[data-design="c"] .hero__visual { display: none; }
[data-design="c"] .hero__globe { display: block; position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: end; }
.hero__globe canvas { display: block; width: 100%; height: 100%; }
.hero__globe::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; box-shadow: 0 0 120px 20px rgba(95, 224, 203, .08); pointer-events: none; }

/* samples strip: a calm A/B audio comparison visual */
[data-design="c"] .strip { padding-top: var(--section-y); border-top: 1px solid var(--line); }
[data-design="c"] .strip__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon text cta" "cmp cmp cmp"; gap: 1rem 1.25rem; padding: 1.5rem; border-style: solid; border-color: var(--line); background: var(--surface); }
[data-design="c"] .strip__icon { grid-area: icon; }
[data-design="c"] .strip__text { grid-area: text; }
[data-design="c"] .strip__inner > .btn { grid-area: cta; }
[data-design="c"] .strip__compare { grid-area: cmp; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.25rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.ab { display: grid; gap: .5rem; }
.ab__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: .55rem .75rem; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-3); }
.ab__row.is-on { border-color: rgba(95, 224, 203, .45); background: var(--accent-soft); color: var(--ink); }
.ab__label { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.ab__wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.ab__wave i { flex: 1; height: var(--h); border-radius: 2px; background: currentColor; opacity: .55; }
.ab__row.is-on .ab__wave i { background: var(--accent); opacity: .9; }
.strip__caption { margin: 0; font-size: .875rem; color: var(--ink-2); }

[data-design="c"] .site-footer { border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  [data-design="c"] .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  [data-design="c"] .hero__globe { order: -1; justify-self: center; width: min(78vw, 380px); margin-bottom: .5rem; }
  [data-design="c"] .strip__compare { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  [data-design="c"] .strip__inner { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon text" "cta cta" "cmp cmp"; }
  [data-design="c"] .strip__inner > .btn { justify-self: start; }
  .ab__row { grid-template-columns: 6.5rem minmax(0, 1fr); }
}

/* Form not connected: say so before anyone fills it in */
.notice--offline { background: var(--warn-soft); border-color: var(--warn-line); color: var(--ink); }
.notice--offline .icon { color: var(--warn); }
.proto-banner { flex-wrap: wrap; }
.proto-banner a { white-space: nowrap; color: inherit; font-weight: 700; margin-left: .35rem; }
.player__error { display: flex; gap: .4rem; align-items: flex-start; margin: .5rem 0 0; padding: .5rem .75rem; border-radius: 8px; background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--ink); font-size: .875rem; }
.player__error[hidden] { display: none; }
.player__error .icon { color: var(--warn); flex: none; margin-top: .15rem; }
