/* =========================================================
   SHUWA SHOJI — www.shuwashoji.com
   Corporate site · white / navy · autoplay hero videos
   ========================================================= */
:root {
  --bg: #ffffff;
  --tint: #f4f6f9;
  --ink: #0f1c33;
  --text: #1b2740;
  --muted: #5f6675;
  --line: rgba(15, 28, 51, 0.1);
  --line-2: rgba(15, 28, 51, 0.18);
  --blue: #1f4f8f;
  --blue-2: #7fa2d6;
  --red: #c8102e;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", serif;
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Noto Sans JP", "Hiragino Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(18px, 4vw, 56px);
  --header-h: 76px;
  --radius: 14px;
}
/* zh: a full simplified-Chinese serif (iPhone has no Songti; the Japanese Mincho lacks 们/联/询… and the browser then mixes in a sans) */
html[lang="zh"] { --serif: "Noto Serif SC", "Songti SC", "STSong", serif; --sans: "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.85; letter-spacing: .02em; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--blue); color: #fff; }
main { transition: opacity .32s ease; }
body.is-leaving main, body.is-leaving .footer { opacity: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 920px; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tint { background: var(--tint); }
.accent { color: var(--blue); }
.muted { color: var(--muted); }
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ---------- Loader / progress ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.loader__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 46%, #fff 0%, #fff 34%, #eef4fa 100%); }
.ret .loader__bg { background: #fff; }
.ret .loader__inner { display: none; }
.loader__inner { --w: clamp(224px, 25vw, 360px); position: relative; width: var(--w); display: grid; justify-items: center; transform: translateY(-2vh); }
html:not(.ret) .is-loading .brand__mark { opacity: 0; }   /* the intro mark lands here */
/* brand intro: ribbon is drawn · world opens from Japan · ship sails in · name rises (layers: tools/cut_logo_layers.py) */
.intro { position: relative; width: 100%; aspect-ratio: 717 / 497; transform-origin: 0 0; will-change: transform; }
.intro > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__globe { clip-path: circle(0% at 51.8% 33.5%); }
.intro__ship { opacity: 0; transform: translateX(-15%); }
.intro__ribbon { overflow: visible; }
.intro__ribbon path { fill: none; stroke: #fff; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.02; }
.intro__name { width: 84%; margin-top: 30px; display: grid; justify-items: center; gap: 12px; }
.intro__name span { display: block; overflow: hidden; width: 100%; }
.intro__name span + span { width: 72%; }
.intro__name img { height: auto; transform: translateY(105%); }
.intro__line { width: 84%; height: 1px; margin-top: 30px; background: var(--line); overflow: hidden; }
.intro__line i { display: block; height: 100%; background: linear-gradient(90deg, #0a2f66, #1a9ad2); transform: scaleX(0); transform-origin: left; }
.is-go .intro__ribbon path { animation: introDraw .95s cubic-bezier(.5, .05, .25, 1) forwards; }
.is-go .intro__ribbon path + path { animation-duration: .8s; animation-delay: .6s; }
.is-go .intro__globe { animation: introGlobe 1.25s .3s cubic-bezier(.3, .1, .2, 1) forwards; }
.is-go .intro__ship { animation: introShip .95s .75s var(--ease) forwards; }
.is-go .intro__name img { animation: introRise .75s .9s var(--ease) forwards; }
.is-go .intro__name span + span img { animation-delay: 1.02s; }
.is-go .intro__line i { animation: introLine 1.75s cubic-bezier(.45, 0, .2, 1) forwards; }
.is-drawn .intro__ribbon image { mask: none; }
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introGlobe { to { clip-path: circle(75% at 51.8% 33.5%); } }
@keyframes introShip { to { opacity: 1; transform: none; } }
@keyframes introRise { to { transform: none; } }
@keyframes introLine { to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .intro__globe { clip-path: none; }
  .intro__ship { opacity: 1; transform: none; }
  .intro__ribbon image { mask: none; }
  .intro__name img, .intro__line i { transform: none; }
  .is-go .intro *, .is-go .intro__name img, .is-go .intro__line i { animation: none !important; }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); transform-origin: left; transform: scaleX(0); }

/* ---------- Buttons / type ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), transform .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn .arr { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost { background: rgba(255,255,255,.75); color: var(--ink); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { color: #fff; border-color: var(--blue); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--block { width: 100%; padding: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .28em; color: var(--blue); text-transform: uppercase; }
.eyebrow .num { font-family: var(--serif-en); font-size: 15px; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.eyebrow .num::after { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--line-2); margin-left: 12px; vertical-align: middle; }
.eyebrow .line { width: 40px; height: 1px; background: var(--blue); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 52px); line-height: 1.3; letter-spacing: .04em; color: var(--ink); margin-top: 14px; word-break: keep-all; overflow-wrap: anywhere; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; letter-spacing: .04em; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.lead { font-size: clamp(15px, 1.2vw, 17px); color: var(--muted); line-height: 2; margin-top: 22px; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.link-arrow i { font-style: normal; transition: transform .4s var(--ease); }
.link-arrow:hover i { transform: translateX(6px); }
.section-head--row .link-arrow { margin-top: 0; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); background: rgba(255,255,255,.72); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid transparent; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.header.is-scrolled { background: rgba(255,255,255,.92); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: auto; height: 46px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .1em; }
.brand__text small { font-size: 9.5px; letter-spacing: .26em; color: var(--muted); }
.nav { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--text); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-current { color: var(--blue); }
.header__right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: #fff; }
.lang button { font-size: 11px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; color: var(--muted); transition: all .3s; }
.lang button.is-active { background: var(--ink); color: #fff; }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 95; background: #fff; display: flex; flex-direction: column; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(24px, 6.5vw, 34px); color: var(--ink); }
.menu__links a.is-current { color: var(--blue); }
.menu__links em { font-family: var(--serif-en); font-style: normal; font-size: 14px; color: var(--blue); }
.menu__foot { margin-top: auto; color: var(--muted); font-size: 12px; letter-spacing: .08em; }

/* =========================================================
   HERO VIDEO
   ========================================================= */
.seq { position: relative; background: var(--tint); overflow: hidden; }
.seq__sticky { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.seq:not(.seq--home) .seq__sticky { height: 86vh; height: 86svh; }
.seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.seq__video { object-fit: cover; transform-origin: 50% 50%; will-change: transform; background: var(--tint) center / cover no-repeat; }
.seq__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 30%, rgba(255,255,255,.12) 58%, rgba(255,255,255,0) 75%),
              linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 18%); }
.seq__layer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); will-change: opacity, transform; }
.seq__layer > * { max-width: 640px; }
.seq__kicker { font-family: var(--serif-en); font-size: 15px; letter-spacing: .3em; color: var(--blue); margin-bottom: 18px; }
.seq__big { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.6vw, 66px); line-height: 1.35; letter-spacing: .04em; color: var(--ink); word-break: keep-all; }
html[lang="en"] .seq__big { font-family: var(--serif-en); font-size: clamp(36px, 5vw, 72px); line-height: 1.12; letter-spacing: 0; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 92px); line-height: 1.18; letter-spacing: .04em; color: var(--ink); margin-top: 22px; word-break: keep-all; }
html[lang="en"] .hero__title { font-family: var(--serif-en); font-size: clamp(44px, 7vw, 104px); line-height: 1.04; letter-spacing: 0; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 96px); line-height: 1.15; letter-spacing: .06em; color: var(--ink); margin-top: 18px; }
html[lang="en"] .page-title { font-family: var(--serif-en); letter-spacing: 0; }
.hero__lead { max-width: 520px; margin-top: 24px; color: var(--text); font-size: clamp(14px, 1.2vw, 16.5px); line-height: 1.95; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.seq__hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .36em; color: var(--muted); pointer-events: none; }
.seq__hint i { width: 1px; height: 48px; background: var(--line-2); position: relative; overflow: hidden; }
.seq__hint i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--blue); animation: hint 2s var(--ease) infinite; }
@keyframes hint { to { top: 100%; } }

/* sub-page hero without sequence */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 72px; overflow: hidden; background: var(--tint); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.75) 40%, rgba(255,255,255,.2) 80%); }
.page-hero__inner { position: relative; }

/* sticky in-page navigation */
.subnav { position: sticky; top: var(--header-h); transition: top .5s var(--ease); z-index: 50; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); max-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: 13px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); transition: all .3s; }
.subnav a:hover, .subnav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; max-height: 640px; }
.split__media img { will-change: transform; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15,28,51,.3); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 22px 26px; }
.card__num { font-family: var(--serif-en); color: var(--blue); font-size: 16px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--ink); margin: 4px 0 6px; letter-spacing: .04em; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* vehicle tiles */
.vstrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.vtile { display: block; }
.vtile__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.vtile__media img { transition: transform 1s var(--ease); }
.vtile:hover .vtile__media img { transform: scale(1.06); }
.vtile h3 { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); margin-top: 12px; letter-spacing: .04em; }

/* numbers band */
.band { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.band__bg { position: absolute; inset: 0; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(15,28,51,.55); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); color: #fff; }
.stat { padding: 4px 28px; border-left: 1px solid rgba(255,255,255,.3); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif-en); font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.85); }

/* news */
.news-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.news { list-style: none; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 110px 82px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--serif-en); font-size: 17px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tag { display: inline-block; text-align: center; font-size: 10.5px; letter-spacing: .12em; padding: 3px 0; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.tag--new { background: var(--red); border-color: var(--red); color: #fff; }
.news p { color: var(--text); }

/* makes marquee */
.marquee { overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); padding: clamp(20px, 2.6vw, 34px) 0; }
.marquee__track { display: flex; align-items: center; width: max-content; white-space: nowrap; will-change: transform; }
.marquee__track span { font-family: var(--serif-en); font-weight: 500; font-size: clamp(26px, 3.4vw, 50px); line-height: 1; letter-spacing: .16em; color: var(--ink); padding: 0 clamp(18px, 2.2vw, 36px); }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(15, 28, 51, .55); }
.marquee__track i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* about facts */
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px clamp(24px, 3vw, 44px); margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.facts dd { font-family: var(--serif); font-size: 16px; color: var(--ink); margin-top: 4px; white-space: nowrap; }

/* business cards: service points */
.card__body { flex: 1; }
.card__list { list-style: none; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.card__list li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.65; color: var(--text); }
.card__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 7px; height: 1px; background: var(--blue); }

/* home business: large stacking cards */
.stack { display: grid; gap: clamp(24px, 3vw, 40px); }
.stack__card { --top: calc(var(--header-h) + 28px); position: sticky; top: var(--top); display: grid; grid-template-columns: 1.15fr 1fr; height: min(68vh, 600px); min-height: 460px; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -60px rgba(15, 28, 51, .45); transform-origin: 50% 0; will-change: transform; }
.stack__card:nth-child(2) { top: calc(var(--top) + 14px); }
.stack__card:nth-child(3) { top: calc(var(--top) + 28px); }
.stack__card:nth-child(4) { top: calc(var(--top) + 42px); }
.stack__media { overflow: hidden; }
.stack__media img { transition: transform 1.2s var(--ease); }
.stack__card:hover .stack__media img { transform: scale(1.05); }
.stack__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 60px); }
.stack__en { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; color: var(--blue); }
.stack__en span { font-family: var(--serif-en); font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.stack__text h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.3; letter-spacing: .04em; color: var(--ink); margin: 12px 0 14px; word-break: keep-all; }
html[lang="en"] .stack__text h3 { font-family: var(--serif-en); letter-spacing: 0; }
.stack__desc { font-size: 14.5px; line-height: 1.95; color: var(--muted); }
.stack__text .card__list { margin-top: 20px; padding-top: 18px; gap: 9px; }
.stack__text .card__list li { font-size: 13.5px; }
.stack__more { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.stack__more i { font-style: normal; transition: transform .4s var(--ease); }
.stack__card:hover .stack__more i { transform: translateX(6px); }
/* the media side carries a 3:2 marketing poster (headline baked in): show it whole, never crop the copy */
.stack__card { grid-template-columns: 1.55fr 1fr; height: auto; min-height: 0; }
.stack__media { aspect-ratio: 3 / 2; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; }
.stack__text { padding: clamp(24px, 3vw, 48px); }
@media (max-width: 900px), (max-height: 680px) {
  .stack__card { position: relative; top: auto !important; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .stack__media { aspect-ratio: 3 / 2; }
}

/* vehicle tiles: model names */
.vtile p { font-family: var(--serif-en); font-style: italic; font-size: 14.5px; line-height: 1.4; color: var(--blue); margin-top: 2px; }

/* why us */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 32px); }
.why__media { margin-top: 36px; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; }
.why__media img { object-position: 62% 60%; }
.why__list { list-style: none; border-top: 1px solid var(--line); }
.why__list li { position: relative; display: grid; grid-template-columns: clamp(56px, 6vw, 84px) 1fr; gap: 18px; padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.why__list li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.why__list li:hover::after { transform: scaleX(1); }
.why__list b { font-family: var(--serif-en); font-weight: 400; font-size: clamp(38px, 4vw, 56px); line-height: .9; color: var(--blue); }
.why__list h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; letter-spacing: .04em; color: var(--ink); }
.why__list p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* export flow timeline (line fills while scrolling) */
.steps { --p: 0; position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.steps::after { height: 2px; top: 6.5px; background: var(--blue); transform: scaleX(var(--p)); transform-origin: left; }
.steps li { position: relative; padding-top: 38px; opacity: .4; transition: opacity .6s var(--ease); }
.steps li.is-on { opacity: 1; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .6s var(--ease); }
.steps li.is-on::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(31, 79, 143, .12); }
.steps span { font-family: var(--serif-en); font-size: 32px; line-height: 1; color: var(--blue); }
.steps h4 { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--ink); margin: 12px 0 8px; }
.steps p { font-size: 13px; line-height: 1.85; color: var(--muted); }

/* destinations */
.dest { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dest li { position: relative; padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .5s var(--ease); }
.dest li:hover { background: var(--tint); }
.dest em { font-family: var(--serif-en); font-style: normal; font-size: 15px; color: var(--muted); }
.dest h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2vw, 26px); color: var(--ink); margin: 6px 0 10px; letter-spacing: .04em; }
.dest p { font-family: var(--serif-en); font-style: italic; font-size: 16px; line-height: 1.6; color: var(--blue); }

/* CTA */
.cta { position: relative; padding: clamp(100px, 13vw, 180px) 0; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.82); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.45; color: var(--ink); margin: 16px 0 34px; max-width: 860px; word-break: keep-all; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Business page ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; scroll-margin-top: 140px; }
.feature--rev .feature__media { order: 2; }
.feature__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.feature__num { display: block; font-family: var(--serif-en); font-size: 56px; line-height: 1; color: var(--blue); margin-bottom: 10px; }
.feature__text > p { color: var(--muted); margin-top: 16px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: f; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; position: relative; }
.flow li span { font-family: var(--serif-en); font-size: 40px; line-height: 1; color: var(--blue); }
.flow h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ink); margin: 14px 0 8px; line-height: 1.45; }
.flow p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.fields { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fields li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; color: var(--text); background: #fff; }

/* business chapters: each field gets its own full section */
.chapter { position: relative; scroll-margin-top: 120px; }
.chapter__hero { position: relative; height: clamp(380px, 64vh, 640px); overflow: hidden; display: flex; align-items: flex-end; background: var(--tint); }
.chapter__bg { position: absolute; inset: 0; }
.chapter__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.86) 18%, rgba(255,255,255,.1) 52%, rgba(255,255,255,0) 70%), linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 50%); }
.chapter__bg img { will-change: transform; }
.chapter__head { position: relative; padding-bottom: clamp(20px, 3vw, 40px); }
.chapter__en { display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .28em; color: var(--blue); }
.chapter__en span { font-family: var(--serif-en); font-size: 16px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.chapter__title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.2; letter-spacing: .05em; color: var(--ink); margin-top: 12px; word-break: keep-all; }
html[lang="en"] .chapter__title { font-family: var(--serif-en); letter-spacing: 0; }
.chapter__body { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 100px); align-items: start; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(80px, 10vw, 140px); }
.chapter__intro { position: sticky; top: calc(var(--header-h) + 90px); }
.chapter__lead { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 2; color: var(--text); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { font-size: 11px; font-weight: 500; letter-spacing: .14em; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: #fff; }
.svc { list-style: none; border-top: 1px solid var(--line); }
.svc li { position: relative; display: grid; grid-template-columns: clamp(48px, 5vw, 72px) 1fr; gap: 16px; padding: clamp(26px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); }
.svc li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.svc li:hover::after { transform: scaleX(1); }
.svc b { font-family: var(--serif-en); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: .95; color: var(--blue); }
.svc h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.svc p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Vehicles page ---------- */
.models__label { margin-top: 30px; font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--muted); }
.models { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-top: 1px solid var(--line); }
.models li { font-family: var(--serif-en); font-style: italic; font-size: clamp(17px, 1.5vw, 20px); color: var(--blue); padding: 10px 0; border-bottom: 1px solid var(--line); }
.models li:nth-child(odd) { padding-right: 12px; }
.chapter .models + .link-arrow { margin-top: 30px; }
.vlist { display: grid; gap: clamp(48px, 7vw, 96px); }
.vrow { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: 120px; }
.vrow--rev .vrow__media { order: 2; }
.vrow__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.vrow__num { display: block; font-family: var(--serif-en); font-size: 48px; line-height: 1; color: var(--blue); margin-bottom: 8px; }
.vrow__models { font-family: var(--serif-en); font-style: italic; font-size: 18px; color: var(--blue); margin: 10px 0 12px; }
.vrow__text > p:last-child { color: var(--muted); }
.qlist { list-style: none; margin-top: 30px; display: grid; gap: 22px; }
.qlist li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.qlist b { font-family: var(--serif-en); font-weight: 500; font-size: 22px; color: var(--blue); }
.qlist h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); }
.qlist p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Company page ---------- */
.philo { display: grid; grid-template-columns: auto auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.philo__kanji { display: flex; flex-direction: column; gap: 6px; }
.philo__kanji b { font-family: var(--serif); font-weight: 500; font-size: clamp(80px, 9vw, 140px); line-height: 1; color: var(--ink); }
.philo__kanji span { font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.philo__text { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(40px, 6vw, 72px); }
.value { border-top: 2px solid var(--ink); padding-top: 18px; }
.value em { font-family: var(--serif-en); font-style: normal; color: var(--blue); font-size: 18px; }
.value h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ink); margin: 6px 0; }
.value p { font-size: 14px; color: var(--muted); }
.sign { margin-top: 28px; font-family: var(--serif); color: var(--ink); }
.profile-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.profile { border-top: 2px solid var(--ink); }
.profile > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-size: 14px; font-weight: 500; color: var(--ink); }
.profile dd { font-size: 15px; color: var(--text); }
.profile small { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.globe-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; cursor: grab; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.regions { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.regions li { border-bottom: 1px solid var(--line); }
.regions button { width: 100%; text-align: left; padding: 14px 0; display: flex; align-items: center; gap: 12px; }
.regions button::before { content: ""; width: 0; height: 2px; background: var(--blue); transition: width .5s var(--ease); }
.regions h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--muted); transition: color .4s; }
.regions p { max-height: 0; overflow: hidden; font-family: var(--serif-en); font-style: italic; font-size: 15.5px; color: var(--blue); transition: max-height .5s var(--ease), padding .5s; }
.regions li.is-on h4 { color: var(--ink); }
.regions li.is-on button::before { width: 24px; }
.regions li.is-on p { max-height: 4em; padding-bottom: 14px; }
.access { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.access p { color: var(--text); margin-top: 14px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contact page ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__list { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact__list span { font-size: 11px; letter-spacing: .2em; color: var(--muted); white-space: nowrap; }
.contact__list em { font-style: normal; text-align: right; }
.contact__list a:hover { color: var(--blue); }
.form { padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 30px 80px -50px rgba(15,28,51,.35); display: grid; gap: 6px; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15px; padding: 28px 0 10px; outline: none; resize: vertical; border-radius: 0; transition: border-color .4s; -webkit-appearance: none; appearance: none; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 10px) 34px, calc(100% - 5px) 34px; background-size: 5px 5px; background-repeat: no-repeat; }
.field label { position: absolute; left: 0; top: 28px; color: var(--muted); font-size: 14px; pointer-events: none; transition: all .35s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.is-fixed { top: 4px; font-size: 11px; letter-spacing: .12em; color: var(--blue); }
.field.is-error input, .field.is-error textarea { border-color: var(--red); }
.form .btn--block { margin-top: 22px; }
.form__note { min-height: 1.5em; font-size: 13px; color: var(--blue); text-align: center; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; position: relative; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.82); padding-top: clamp(60px, 8vw, 96px); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand b { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; color: #fff; letter-spacing: .08em; }
.footer__brand span { display: block; font-size: 11px; letter-spacing: .26em; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.footer__brand p { font-size: 13.5px; line-height: 1.9; margin-top: 6px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14px; }
.footer__nav a:hover { color: #fff; }
.footer__cta { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); position: relative; transition: background .4s, border-color .4s; }
.footer__cta:hover { background: var(--blue); border-color: var(--blue); }
.footer__cta span { font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.6); }
.footer__cta b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: #fff; }
.footer__cta i { position: absolute; right: 26px; bottom: 24px; font-style: normal; font-size: 20px; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: rgba(255,255,255,.55); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .vstrip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__right .btn--sm { display: none; }
  .brand__text b { font-size: 15px; }
  .split, .feature, .vrow, .profile-wrap, .globe-wrap, .access, .contact__grid, .news-wrap, .footer__grid { grid-template-columns: 1fr; }
  .feature--rev .feature__media, .vrow--rev .vrow__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; max-height: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .philo { grid-template-columns: auto auto; }
  .philo__text { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr; gap: 0; }
  .value { padding: 18px 0; border-top-width: 1px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .why { grid-template-columns: 1fr; }
  .chapter__body { grid-template-columns: 1fr; gap: 28px; }
  .chapter__intro { position: static; }
  .chapter__hero { height: clamp(300px, 52vh, 460px); }
  .why__head { position: static; }
  .dest { grid-template-columns: 1fr 1fr; }
  /* timeline turns vertical */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .steps::after { left: 6.5px; width: 2px; transform: scaleY(var(--p)); transform-origin: top; }
  .steps li { padding: 0 0 30px 42px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps span { font-size: 26px; }
  .steps h4 { margin-top: 6px; }
  /* sequence hero: copy sits at the bottom over a white fade */
  .seq__scrim { background: linear-gradient(0deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 30%, rgba(255,255,255,.2) 58%, rgba(255,255,255,0) 72%), linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 14%); }
  .seq__layer { justify-content: flex-end; padding-bottom: 72px; }
  .seq__hint { display: none; }
}
@media (max-width: 640px) {
  .cards--4 { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card__media { width: 38%; aspect-ratio: auto; flex: none; }
  .card__body { padding: 16px 18px; }
  .card h3 { font-size: 18px; }
  .card__list { margin-top: 10px; padding-top: 10px; gap: 4px; }
  .card__list li { font-size: 12px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .dest { grid-template-columns: 1fr; }
  .dest li { padding: 22px 20px 24px; }
  .dest h4 { margin: 2px 0 6px; }
  .why__list li { grid-template-columns: 48px 1fr; gap: 12px; }
  .vtile p { font-size: 13px; }
  .vstrip { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .vstrip .vtile:last-child { grid-column: 1 / -1; }
  .vstrip .vtile:last-child .vtile__media { aspect-ratio: 16 / 9; }
  .flow { grid-template-columns: 1fr; }
  .news li { grid-template-columns: auto auto; gap: 6px 12px; padding: 18px 0; }
  .news li p { grid-column: 1 / -1; }
  .tag { padding: 2px 10px; }
  .profile > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact__list li { flex-direction: column; gap: 2px; }
  .contact__list em { text-align: left; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: clamp(34px, 10vw, 48px); }
  .page-title { font-size: clamp(40px, 12vw, 56px); }
  .seq__big { font-size: clamp(26px, 7.4vw, 34px); }
  .hero__lead { font-size: 14px; margin-top: 16px; }
  .hero__cta { margin-top: 22px; }
  .hero__cta .btn { padding: 13px 22px; font-size: 13px; }
  .lang button { padding: 5px 8px; }
  .brand__text small { display: none; }
  .page-hero { min-height: 52vh; padding-bottom: 48px; }
}

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

body.hdr-hidden .subnav { top: 0; }
@media (max-width: 640px) { .brand__kk { display: none; } }

/* =========================================================
   Vehicle category pages (vehicles-*.html) + overview cards
   ========================================================= */
.stack__card:nth-child(5) { top: calc(var(--top) + 56px); }
.card__list--models li { font-family: var(--serif-en); font-style: italic; font-size: 17px; color: var(--ink); }
.page-hero--veh { min-height: 82vh; }
.page-hero--veh { background: #fff; }
.page-hero--veh .page-hero__bg { left: 34%; }
.page-hero--veh .page-hero__bg { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, #000 32%); }
.page-hero--veh .page-hero__bg::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%); }
.page-hero--veh .page-hero__inner { width: 100%; }
.page-hero--veh .page-hero__bg { overflow: hidden; }
.page-hero--veh .page-title { font-size: clamp(38px, 4.2vw, 66px); max-width: 48vw; }
.page-hero--veh .hero__lead { max-width: min(30em, 40vw); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s; }
.crumbs a:hover { border-color: var(--ink); }
.crumbs i { font-style: normal; opacity: .5; }
.page-hero__models { margin-top: 22px; font-family: var(--serif-en); font-style: italic; font-size: clamp(16px, 1.4vw, 20px); color: var(--blue); }
.chapter__body--page { padding-top: 0; padding-bottom: 0; }
.chapter__body--page .chapter__intro { top: calc(var(--header-h) + 100px); }

.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 5vw, 80px) clamp(24px, 3.5vw, 56px); align-items: start; }
.mgrid .mcard:nth-child(even) { margin-top: clamp(40px, 9vw, 140px); }
.mcard__media { aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #e9edf2; }
.mcard__body { padding-top: 26px; }
.mcard__maker { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; color: var(--blue); }
.mcard__maker span { font-family: var(--serif-en); font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.mcard__name { font-family: var(--serif-en); font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; color: var(--ink); margin-top: 10px; }
.mcard__desc { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: var(--muted); max-width: 34em; }
.mcard__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mcard__tags li { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: #fff; }
.mcard__ask { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13.5px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.mcard__ask i { font-style: normal; transition: transform .4s var(--ease); }
.mcard__ask:hover i { transform: translateX(6px); }
.others { margin-top: clamp(72px, 9vw, 130px); max-width: 860px; }
.others .models__label { margin-top: 0; }
.models--3 { grid-template-columns: repeat(3, 1fr); }
.models--3 li { padding-right: 12px; }
.others__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.vstrip--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .vstrip--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .page-hero--veh { min-height: 70vh; }
  .mgrid { grid-template-columns: 1fr; }
  .mgrid .mcard:nth-child(even) { margin-top: 0; }
}
@media (max-width: 640px) {
  .page-hero--veh { min-height: 64vh; }
  .page-hero--veh { align-items: stretch; flex-direction: column; justify-content: flex-start; min-height: 0; padding-top: var(--header-h); }
  .page-hero--veh .page-title, .page-hero--veh .hero__lead { max-width: none; }
  .page-hero--veh .page-hero__bg { -webkit-mask-image: none; mask-image: none; position: relative; left: auto; inset: auto; height: 46vw; min-height: 240px; margin: 0 0 4px; }
  .page-hero--veh .page-hero__bg::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 35%); }
  .models--3 { grid-template-columns: 1fr 1fr; }
  .vstrip--4 .vtile:last-child { grid-column: auto; }
  .vstrip--4 .vtile:last-child .vtile__media { aspect-ratio: 4 / 3; }
  .mcard__media { border-radius: 14px; }
}

/* =========================================================
   HOME HERO · four business scenes
   ========================================================= */
.hx__scenes { position: absolute; inset: 0; will-change: transform; }
.hx__scene { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease); background: var(--tint); }
.hx__scene.is-on { opacity: 1; z-index: 1; }
.hx__scene img, .hx__scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 50%; }
.hx__scene video { background: var(--tint) center / cover no-repeat; }
.hx .seq__layer { padding-bottom: 96px; }
.hx__tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); padding-bottom: clamp(22px, 3.2vh, 36px); }
.hx__tab { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 16px 0 0; border-top: 1px solid var(--line-2); text-align: left; color: var(--muted); font-size: 13px; letter-spacing: .06em; cursor: pointer; transition: color .4s; background: none; }
.hx__tab em { font-style: normal; font-family: var(--serif-en); font-size: 14px; color: var(--muted); }
.hx__tab span { font-weight: 500; }
.hx__tab i { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hx__tab.is-on, .hx__tab:hover { color: var(--ink); }
.hx__tab.is-on em { color: var(--red); }
/* scrim reaches the tab row so labels stay legible over any scene */
.hx .seq__scrim { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 30%, rgba(255,255,255,.12) 58%, rgba(255,255,255,0) 75%),
  linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.6) 9%, rgba(255,255,255,0) 20%),
  linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 18%); }
@media (max-width: 900px) {
  .hx .seq__layer { padding-bottom: 118px; }
  .hx__tabs { grid-template-columns: repeat(2, 1fr); gap: 0 16px; padding-bottom: 18px; }
  .hx__tab { padding: 10px 0 8px; font-size: 12px; }
  .hx .seq__scrim { background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.2) 62%, rgba(255,255,255,0) 74%), linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 14%); }
}
@media (max-width: 640px) {
  .hx .eyebrow { font-size: 10.5px; letter-spacing: .18em; }
  .hx .eyebrow .line { display: none; }
}
.hx__tabs:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .hx__tabs:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
}
@media (max-width: 640px) {
  .hx__tab { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; gap: 6px; letter-spacing: .02em; }
  .hx__tab em { font-size: 12px; }
  .hx .seq__layer { padding-bottom: 122px; }
}
/* real product photos (brand close-ups): shown whole, as a framed photo on the right — never cropped into the copy */
.hx__scene--panel { background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--tint) 100%); }
.hx__scene--panel img { left: auto; right: var(--gutter); top: 0; bottom: 0; margin: auto 0; width: min(40vw, 740px); height: auto; /* natural ratio: brand photos are never cropped */ border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(15, 28, 51, .35); }
@media (max-width: 900px) {
  .hx__scene--panel img { left: var(--gutter); right: auto; top: calc(var(--header-h) + 24px); bottom: auto; width: calc(100% - 2 * var(--gutter)); height: auto; margin: 0; }
}

/* official product line-ups (full-bleed, products right of the copy); on narrow screens the photo sits above the copy and fades out */
@media (max-width: 900px) {
  .hx__scene--wide { background: #fff; }
  .hx__scene--wide img { top: var(--header-h); bottom: auto; height: 54%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
}

/* product "stage" layers (transparent cut-outs): backdrop painted here, products placed beside the copy inside the
   content column — so on very wide windows they stay next to the text instead of hugging the window edge.
   --r = layer width relative to the widest layer, so every scene keeps the same product scale. */
.hx__scene--stage { background: linear-gradient(90deg, #fff 0%, #fbfaf7 42%, #f1ede6 100%); }
.hx__scene--stage img {
  --cl: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));   /* left edge of the copy */
  --sl: calc(var(--cl) + min(720px, 52vw));                                 /* stage starts after the copy */
  --sw: min(calc(100vw - var(--sl) - max(var(--gutter), calc(var(--cl) - 8vw))), 84vh);
  inset: auto; left: calc(var(--sl) + var(--sw) * (1 - var(--r)) / 2); bottom: 12vh;
  width: calc(var(--sw) * var(--r)); height: auto; object-fit: contain; transform-origin: 50% 100%;
}
@media (max-width: 900px) {
  .hx__scene--stage { background: #fff; }
  .hx__scene--stage img { left: calc(50vw - 46vw * var(--r)); top: calc(var(--header-h) + 3vh); bottom: auto; width: calc(92vw * var(--r)); }
}

/* hero scenes whose products sit in a band (--p0..--p1 of the image width): on desktop the picture is scaled so
   that band lands between the copy and the right margin; the rest of the frame is a gradient sampled from the
   picture's edges and the picture fades into it — products stay beside the headline on any window shape. */
@media (min-width: 901px) {
  .hx__scene--fit { background: var(--fill); }   /* colours sampled from the picture's own edges */
  .hx__scene--fit img {
    --cl: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
    --L: calc(var(--cl) + min(720px, 52vw));
    --R: calc(100vw - max(var(--gutter), calc(var(--cl) - 8vw)));
    --w: min(calc((var(--R) - var(--L)) / (var(--p1) - var(--p0))), 100vh * 1.7769);
    inset: auto; left: calc(var(--L) - var(--p0) * var(--w)); bottom: 0; width: var(--w); height: auto; object-fit: contain;
    /* feather every edge that can show (left, top, right) into the fill */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 97.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 97.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%); mask-composite: intersect;
  }
  /* landscape opener (no products): runs to the window's right edge so the blossom branch is never cut mid-air */
  .hx__scene--bleed img {
    --w: min(calc((100vw - var(--L)) / (1 - var(--p0))), 95vh * 1.7769);
    left: auto; right: 0; bottom: 5vh;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 12%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 12%, #000 90%, transparent 100%);
  }
}

/* =========================================================
   BRANDS WE HANDLE (business page) — names only
   ========================================================= */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(28px, 3vw, 44px); }
.brands__group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 20px; }
.brands__group h4 { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--blue); text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.brands__group ul { display: grid; gap: 12px; margin-top: 14px; }
.brands__group li { display: flex; flex-direction: column; gap: 2px; }
.brands__group b { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--ink); }
.brands__group span { font-family: var(--serif-en); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.brands__note { margin-top: 22px; font-size: 12px; color: var(--muted); }
.hx__tabs:has(> :nth-child(6)) { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
  .hx__tabs:has(> :nth-child(6)) { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   PRODUCTS — real maker photos; colours untouched, packshots never cropped
   ========================================================= */
.prod { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); margin-top: clamp(28px, 3vw, 44px); }
.prod__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.prod__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(15, 28, 51, .35); }
.prod__media { aspect-ratio: 4 / 5; background: var(--tint); overflow: hidden; }
.prod__media img { width: 100%; height: 100%; display: block; transition: transform 1.2s var(--ease); }
.prod__media--cover img { object-fit: cover; }
.prod__media--contain { background: #fff; }
.prod__media--contain img { object-fit: contain; padding: 8%; }
.prod__card:hover .prod__media--cover img { transform: scale(1.04); }
.prod__card figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); }
.prod__cat { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--blue); text-transform: uppercase; }
.prod__card b { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.5; color: var(--ink); }
.prod__card small { font-family: var(--serif-en); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.prod__more { margin-top: 18px; }
.section--products { padding-bottom: 0; }
.brands__group small { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 2px; }
@media (max-width: 1100px) { .prod { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .prod { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod__card figcaption { padding: 12px 12px 14px; }
  .prod__card b { font-size: 14px; }
}
/* studio shot on a grey sweep: let its edges fade into the white card instead of showing a box */
.prod__media--soft img { padding: 0 2%; -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 62%, transparent 100%); }
.brands { align-items: start; }
.prod__media--contain img { padding: 5%; }
/* the mask must sit on the photo's own box (natural ratio), not on the 4:5 frame */
.prod__media--soft { display: grid; place-items: center; }
.prod__media--soft img { width: 100%; height: auto; padding: 0; -webkit-mask-image: radial-gradient(ellipse 52% 54% at 50% 50%, #000 82%, transparent 100%); mask-image: radial-gradient(ellipse 52% 54% at 50% 50%, #000 82%, transparent 100%); }
@media (max-width: 760px) { .prod__card small { letter-spacing: .06em; font-size: 11px; } }

/* =========================================================
   HOME HERO on portrait phones / tablets: one full-screen poster — copy on the picture's own clear upper half,
   products below, tabs on the floor (pictures: hero2-*-m.jpg, tools/portrait_hero.py)
   ========================================================= */
@media (max-width: 900px) and (orientation: portrait) {
  .seq--home .hx__scene--wide { background: var(--tint); }
  .seq--home .hx__scene--wide img { top: 5%; height: 100%; object-position: 50% 66% !important; transform-origin: 50% 80%; -webkit-mask-image: none; mask-image: none; }
  .seq--home .hx__scene video { height: 91%; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }   /* keeps the front row of cars above the tabs */
  .seq--home .seq__sticky { min-height: 620px; }
  .seq--home .seq__layer { justify-content: flex-start; padding-top: calc(var(--header-h) + clamp(14px, 3.4svh, 40px)); padding-bottom: 0; }
  .seq--home .seq__scrim { background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 26%, rgba(255,255,255,.5) 38%, rgba(255,255,255,0) 52%),
    linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 9%, rgba(255,255,255,0) 20%); }
  .seq--home .hero__title { margin-top: clamp(8px, 1.4svh, 18px); }
  .seq--home .hero__lead { margin-top: clamp(6px, 1.2svh, 16px); line-height: 1.75; }
  html[lang="en"] .seq--home .hero__title { font-size: clamp(34px, 10.4vw, 72px); }
  html[lang="en"] .seq--home .hero__lead { font-size: 13px; line-height: 1.6; }
  .seq--home .hero__cta { margin-top: clamp(12px, 2svh, 22px); }
}
@media (max-width: 900px) and (orientation: portrait) and (max-height: 760px) {
  .seq--home .seq__layer { padding-top: calc(var(--header-h) + 12px); }
  .seq--home .hx__scene--wide img { top: 1%; object-position: 50% 74% !important; }
  .seq--home .hx__tab { padding: 8px 0 6px; }
  .seq--home .hx__tabs { padding-bottom: 10px; }
  .seq--home .seq__scrim { background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 30%, rgba(255,255,255,.5) 42%, rgba(255,255,255,0) 54%),
    linear-gradient(0deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 13%, rgba(255,255,255,0) 21%); }
  .seq--home .hero__title { font-size: clamp(30px, 8.8vw, 44px); }
  html[lang="en"] .seq--home .hero__title { font-size: clamp(32px, 9.4vw, 46px); }
  .seq--home .hero__lead { font-size: 13px; line-height: 1.6; }
  .seq--home .hero__cta .btn { padding: 11px 20px; }
}
/* very short or squarish windows: no room for the paragraph above the products */
@media (max-width: 900px) and (orientation: portrait) and (max-height: 660px), (max-width: 900px) and (orientation: portrait) and (min-aspect-ratio: 64/100) and (max-height: 800px) {
  .seq--home .hero__lead { display: none; }
}
@media (max-width: 640px) { .brand__text b { white-space: nowrap; } }
@media (max-width: 380px) { .hero__cta .btn { padding-left: 16px !important; padding-right: 16px !important; } .brand__text b { font-size: 14px; letter-spacing: .04em; } }

/* ---- vehicle types are words now, not Latin model names: no slanted kana / hanzi, calmer size */
html:not([lang="en"]) :is(.vtile p, .models li, .card__list--models li, .page-hero__models) { font-family: var(--serif); font-style: normal; }
html:not([lang="en"]) .vtile p { font-size: 13px; line-height: 1.6; }
html:not([lang="en"]) .models li { font-size: clamp(15px, 1.25vw, 17px); }
html:not([lang="en"]) .card__list--models li { font-size: 15px; }
html:not([lang="en"]) .page-hero__models { font-size: clamp(14px, 1.15vw, 17px); }
.page-hero__models span { white-space: nowrap; }
.mcard__name { font-size: clamp(26px, 2.6vw, 38px); }
html:not([lang="en"]) .mcard__name { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.3; }
.vtile p { display: flex; flex-wrap: wrap; gap: 0 1em; }
.vtile p span { white-space: nowrap; }
