/* ============================================================
   Japan Imports — Japanese-craft meets Oceania
   Palette: slate base · torii red action · Pacific teal · warm sand
   ============================================================ */

:root {
  /* Core */
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --border:    #E2E8F0;
  --bg:        #F7F5F1;   /* warm sand paper, not cream-default */
  --paper:     #FFFFFF;

  --red:       #DC2626;   /* torii / action */
  --red-600:   #B91C1C;
  --teal:      #0F766E;   /* Pacific */
  --teal-500:  #14B8A6;
  --teal-300:  #2DD4BF;
  --sand:      #E7DBC8;
  --sand-soft: #F0E8DB;

  /* Semantic */
  --color-primary: var(--slate-800);
  --color-accent:  var(--red);
  --color-fg:      var(--slate-900);
  --color-muted:   var(--slate-500);

  /* Type */
  --font-display: "Noto Serif JP", Georgia, serif;
  --font-body: "Noto Sans JP", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Rhythm (4/8) */
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.05);
  --shadow-md: 0 8px 28px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }

.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-200%);
  background: var(--slate-900); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 10px;
  z-index: 1000; transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--slate-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(220,38,38,.28); }
.btn-primary:hover { background: var(--red-600); box-shadow: 0 10px 24px rgba(220,38,38,.34); }
.btn-ghost { background: transparent; color: var(--slate-900); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--slate-900); background: rgba(15,23,42,.04); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15,118,110,.28); }
.btn-teal:hover { background: var(--teal-500); box-shadow: 0 10px 24px rgba(15,118,110,.34); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn-block { width: 100%; }
.header-cta-group { display: flex; align-items: center; gap: .5rem; margin-left: .4rem; }
.header-cta-group .btn { padding: .62rem 1.1rem; font-size: .92rem; }

.kicker {
  font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .7rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,241,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--slate-900); }
.brand-mark { flex: none; }
.brand-text-accent { color: var(--red); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo-footer { height: 52px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--slate-700); position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width .22s var(--ease); }
.nav a:hover { color: var(--slate-900); }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: .4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--slate-900); border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: .3rem; padding: .8rem clamp(1.1rem,4vw,2.4rem) 1.4rem; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav a { text-decoration: none; color: var(--slate-800); font-weight: 500; padding: .7rem .2rem; border-bottom: 1px solid var(--border); }
.mobile-nav a.btn { color: #fff; border: 0; margin-top: .6rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--slate-900); color: #fff; isolation: isolate; }
.hero .route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15,23,42,.96) 0%, rgba(15,23,42,.78) 46%, rgba(15,23,42,.34) 100%); }
.hero-inner { padding-block: clamp(3.4rem, 8vw, 6rem) clamp(3.6rem, 8vw, 6.5rem); max-width: 760px; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; font-size: .9rem; letter-spacing: .02em; color: var(--sand); margin-bottom: 1.3rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(220,38,38,.22); }

.hero-title { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 600; letter-spacing: -.02em; }
.title-accent { color: var(--teal-300); }
.hero-lede { margin-top: 1.4rem; font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: #D7DEE8; max-width: 60ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.2rem, 4vw, 2.6rem); margin: 2.8rem 0 0; padding: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: .86rem; color: var(--slate-300); max-width: 22ch; }

/* Route animation */
.node-label { font-family: var(--font-body); font-size: 13px; fill: #cdd7e3; text-anchor: middle; font-weight: 500; }
.pulse { animation: pulse 2.6s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { r: 6; opacity: .9; } 100% { r: 26; opacity: 0; } }
.route-path { animation: dash 26s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -640; } }
.ship { offset-path: path("M300 150 C 520 140, 560 470, 900 430"); animation: sail 9s var(--ease) infinite; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)); }
@keyframes sail { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* ============================================================
   SCROLL SHOWCASE — 3D tilt-to-flat on scroll (vanilla port of
   the Aceternity "container scroll" effect)
   ============================================================ */
.scroll-showcase { background: var(--slate-900); color: #fff; overflow: hidden; }
.ss-container { height: 56rem; display: flex; align-items: center; justify-content: center; position: relative; padding: 1rem; }
.ss-inner { width: 100%; perspective: 1000px; }
.ss-header { max-width: 64rem; margin: 0 auto 1rem; text-align: center; will-change: transform; }
.ss-eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 1rem; }
.ss-title { font-size: clamp(1.9rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.ss-title-accent { color: #C9A86A; }

.ss-card { max-width: 64rem; margin: 2.5rem auto 0; height: 30rem; width: 100%; border: 4px solid #2a3850; border-radius: 28px; padding: .6rem; background: #0b1220; box-shadow: 0 9px 20px rgba(0,0,0,.29), 0 37px 37px rgba(0,0,0,.26), 0 84px 50px rgba(0,0,0,.15); transform-style: preserve-3d; will-change: transform; }
.ss-screen { height: 100%; width: 100%; overflow: hidden; border-radius: 18px; background: #0b1220; }
.ss-scene { position: relative; height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; padding: 1.5rem; background: radial-gradient(120% 140% at 50% 120%, #1c3a44 0%, #16243a 45%, #0b1220 100%); }
.ss-sun { position: absolute; top: 8%; left: 50%; transform: translateX(-50%); width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(220,38,38,.85) 0%, rgba(220,38,38,.35) 45%, transparent 70%); filter: blur(2px); }
.ss-car { position: relative; z-index: 1; width: min(80%, 620px); height: auto; }
.lineup-title { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: #fff; text-align: center; }
.ss-lineup { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 2vw, 1.6rem) clamp(1rem, 3vw, 2.4rem); width: 100%; max-width: 780px; }
.lineup-car { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; }
.lineup-car img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: #0b1220; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.lineup-car span { font-size: clamp(.72rem, 1.5vw, .9rem); font-weight: 500; letter-spacing: .01em; color: #E2E8F0; text-align: center; white-space: nowrap; }
.ss-plate { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; background: #fff; color: var(--slate-900); border-radius: 7px; padding: .35rem .65rem; display: flex; flex-direction: column; line-height: 1.2; border: 2px solid #0b1220; }
.ss-plate span { font-size: .56rem; letter-spacing: .08em; color: var(--slate-500); }
.ss-plate strong { font-family: var(--font-display); font-size: 1.05rem; }
.ss-caption { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; font-size: .82rem; color: #C7D0DC; background: rgba(11,18,32,.6); border: 1px solid rgba(255,255,255,.12); padding: .35rem .9rem; border-radius: 999px; backdrop-filter: blur(4px); }

@media (max-width: 768px) {
  .ss-container { height: 46rem; }
  .ss-card { height: 26rem; border-width: 3px; border-radius: 20px; }
  .ss-lineup { grid-template-columns: repeat(2, 1fr); gap: .8rem 1.2rem; }
  .ss-caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-card { transform: none !important; }
  .ss-header { transform: none !important; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: var(--space-section); }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
.section-sub { margin-top: .9rem; color: var(--slate-700); font-size: 1.05rem; }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: none; }
.step { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); position: relative; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--red); display: inline-block; padding: .15rem .55rem; border: 1.5px solid var(--sand); border-radius: 8px; margin-bottom: 1rem; letter-spacing: .04em; }
.step h3 { font-size: 1.18rem; margin-bottom: .5rem; font-weight: 600; }
.step p { font-size: .97rem; color: var(--slate-700); }

/* ---------- Featured car ---------- */
/* Cinematic vehicle showcase — luxury listing treatment.
   --gold is a restrained metallic hairline used only for premium cues. */
.section-featured { background: radial-gradient(120% 90% at 80% 0%, #16243a 0%, var(--slate-900) 55%); color: #fff; }
.section-featured { --gold: #C9A86A; }

/* Top bar */
.show-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.4rem; padding-bottom: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: clamp(1.8rem, 3vw, 2.6rem); border-bottom: 1px solid rgba(255,255,255,.12); }
.show-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.show-title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.02em; margin-top: .9rem; line-height: 1.05; }
.show-sub { margin-top: .7rem; color: #AEB9C7; font-size: 1.02rem; max-width: 48ch; }
.show-cert { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-size: .85rem; font-weight: 500; color: var(--gold); border: 1px solid rgba(201,168,106,.4); background: rgba(201,168,106,.08); padding: .55rem 1rem; border-radius: 999px; }

/* Stage */
.show-stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.show-frame { position: relative; background: linear-gradient(160deg, #1a2738, #0b1220); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: clamp(1.6rem, 4vw, 3rem); overflow: hidden; box-shadow: var(--shadow-lg); }
.show-frame::before { content: "輸入"; position: absolute; right: -.3rem; bottom: -1.8rem; font-family: var(--font-display); font-size: 8rem; font-weight: 700; color: rgba(255,255,255,.035); line-height: 1; pointer-events: none; }
.car-illus { width: 100%; height: auto; position: relative; z-index: 1; border-radius: 10px; }
.plate { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; background: #fff; color: var(--slate-900); border-radius: 7px; padding: .38rem .7rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; line-height: 1.2; border: 2px solid #0b1220; }
.plate-region { font-size: .58rem; letter-spacing: .08em; color: var(--slate-500); }
.plate-no { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.status-pill { position: absolute; bottom: 1.2rem; right: 1.2rem; z-index: 2; background: rgba(20,184,166,.16); color: var(--teal-300); border: 1px solid rgba(45,212,191,.4); font-size: .78rem; font-weight: 500; padding: .35rem .8rem; border-radius: 999px; }

.show-frame { min-height: 280px; }
/* Placeholder views (interior / engine until real photos arrive) */
.frame-placeholder { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; min-height: 240px; padding: 1.5rem; }
.frame-placeholder svg { width: 44px; height: 44px; color: var(--gold); opacity: .8; }
.fp-label { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-top: .3rem; }
.fp-hint { font-size: .9rem; color: #93A2B5; max-width: 30ch; }
.frame-placeholder .btn-ghost { margin-top: .8rem; color: #fff; border-color: rgba(255,255,255,.3); padding: .55rem 1.2rem; }
.frame-placeholder .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
/* Auction-sheet data card */
.auction-card { position: relative; z-index: 1; padding: .4rem; }
.ac-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #93A2B5; }
.ac-stamp { font-family: var(--font-display); color: var(--red); border: 2px solid var(--red); border-radius: 6px; padding: .05rem .4rem; transform: rotate(-6deg); font-size: .95rem; }
.ac-grade { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 0 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.ac-grade span { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #AEB9C7; }
.ac-grade strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.ac-grade small { font-size: 1.1rem; color: #93A2B5; }
.ac-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; }
.ac-scores div { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.ac-scores div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.ac-scores div:nth-child(even) { padding-left: 1rem; }
.ac-scores dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8794A6; }
.ac-scores dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.25rem; color: #fff; }
.ac-note { margin-top: 1rem; font-size: .82rem; color: #8794A6; }

.show-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: .9rem 0 0; padding: 0; }
.thumb { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 3; font: inherit; font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: #93A2B5; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.thumb:hover { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.thumb.is-active { color: var(--gold); border-color: rgba(201,168,106,.55); background: rgba(201,168,106,.08); }

/* Detail column */
.show-lede { color: #C7D0DC; font-size: 1.06rem; line-height: 1.7; }
.assurance { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; }
.assurance li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: #D7DEE8; }
.assurance svg { flex: none; width: 18px; height: 18px; color: var(--teal-300); }

.show-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 1.8rem; border-top: 1px solid rgba(255,255,255,.12); }
.show-specs div { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.show-specs div:not(:nth-child(3n)) { border-right: 1px solid rgba(255,255,255,.08); padding-right: 1rem; }
.show-specs div:nth-child(3n-1), .show-specs div:nth-child(3n) { padding-left: 1rem; }
.show-specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #8794A6; }
.show-specs dd { margin: .35rem 0 0; font-family: var(--font-display); font-size: 1.18rem; font-variant-numeric: tabular-nums; }

.show-price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem; padding: 1.4rem 1.5rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--gold); border-radius: 12px; }
.price-stack { display: flex; flex-direction: column; }
.price-from { font-size: .82rem; color: #8794A6; font-variant-numeric: tabular-nums; }
.price-label { display: block; margin-top: .3rem; font-size: .76rem; color: #AEB9C7; text-transform: uppercase; letter-spacing: .08em; }
.price-value { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: .15rem; }
.price-unit { font-size: .85rem; font-family: var(--font-body); color: #8794A6; font-weight: 500; }
.show-cta { display: flex; flex-direction: column; gap: .6rem; }
.show-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.show-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.price-note { margin-top: 1rem; font-size: .86rem; color: #8794A6; }
.price-note a { color: var(--teal-300); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.calc-controls { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.4rem; }
.field > label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .6rem; color: var(--slate-800); }
.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row output { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.1rem; min-width: 5.6rem; text-align: right; color: var(--slate-900); }
input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--teal) 0%, var(--sand) 0%); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: grab; }
.checkbox { display: flex; align-items: center; gap: .6rem; font-weight: 500; font-size: .95rem; cursor: pointer; margin-bottom: 0; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--red); cursor: pointer; }

.calc-output { background: var(--slate-900); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.breakdown .row { display: flex; justify-content: space-between; align-items: baseline; padding: .62rem 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .98rem; color: #D7DEE8; }
.breakdown .row span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.breakdown .row.total { border-bottom: 0; margin-top: .5rem; padding-top: 1rem; font-family: var(--font-display); font-size: 1.15rem; color: #fff; border-top: 2px solid var(--red); }
.breakdown .row.total span:last-child { font-size: 1.55rem; font-weight: 700; color: var(--teal-300); }
.calc-disclaimer { font-size: .82rem; color: var(--slate-500); margin: 1rem 0 1.2rem; }

/* ---------- Concierge ---------- */
.section-concierge { background: linear-gradient(180deg, var(--sand-soft), var(--bg)); }
.concierge { max-width: 720px; margin-inline: auto; background: var(--paper); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.chat { padding: 1.5rem clamp(1rem,3vw,1.6rem); display: flex; flex-direction: column; gap: .8rem; min-height: 230px; }
.bubble { max-width: 80%; padding: .75rem 1.05rem; border-radius: 16px; font-size: .98rem; line-height: 1.5; animation: rise .35s var(--ease) both; }
.bubble-bot { align-self: flex-start; background: var(--sand-soft); color: var(--slate-900); border-bottom-left-radius: 5px; }
.bubble-user { align-self: flex-end; background: var(--slate-800); color: #fff; border-bottom-right-radius: 5px; }
.bubble.typing { display: inline-flex; gap: 4px; }
.bubble.typing i { width: 7px; height: 7px; background: var(--slate-500); border-radius: 50%; animation: blink 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .2s; }
.bubble.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-choices { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0 clamp(1rem,3vw,1.6rem) 1.4rem; }
.chip { font-family: var(--font-body); font-weight: 500; font-size: .92rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--slate-300); background: var(--paper); color: var(--slate-800); cursor: pointer; transition: all .18s var(--ease); }
.chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.chip-primary { background: var(--red); border-color: var(--red); color: #fff; }
.chip-primary:hover { background: var(--red-600); color: #fff; }
.chat-form { display: flex; gap: .6rem; padding: .9rem clamp(1rem,3vw,1.6rem) 1.2rem; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: 999px; font: inherit; font-size: 1rem; background: var(--bg); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.chat-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.16); background: #fff; }
.chat-form input:disabled { opacity: .6; }
#chat-send { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .18s var(--ease), transform .18s var(--ease); }
#chat-send:hover:not(:disabled) { background: var(--red-600); transform: translateY(-2px); }
#chat-send:disabled { opacity: .5; cursor: default; }
.concierge-note { text-align: center; margin-top: 1.1rem; font-size: .85rem; color: var(--slate-500); }
.concierge-note code { background: var(--sand); padding: .1rem .35rem; border-radius: 5px; font-size: .85em; }

/* ---------- Trust ---------- */
.section-trust { background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trust-card { padding: 1.6rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), var(--paper)); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-icon { width: 38px; height: 38px; color: var(--teal); margin-bottom: 1rem; }
.trust-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .5rem; }
.trust-card p { font-size: .94rem; color: var(--slate-700); }

/* ---------- Our story ---------- */
.section-story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.story-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; margin: .4rem 0 1.2rem; max-width: 18ch; }
.story-copy p { color: var(--slate-700); margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.75; }
.story-copy p strong { color: var(--slate-900); }
.story-copy .btn { margin-top: .6rem; }
.story-stats { display: grid; gap: 1rem; position: sticky; top: 90px; }
.story-stat { background: var(--paper); border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.story-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--slate-900); margin-bottom: .3rem; }
.story-stat span { font-size: .92rem; color: var(--slate-700); }

/* ---------- What we import ---------- */
.section-import { background: var(--paper); }
.import-grid { list-style: none; padding: 0; margin: 0 0 clamp(2rem,4vw,3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.import-card { padding: 1.6rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg), var(--paper)); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.import-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.import-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.import-card p { font-size: .96rem; color: var(--slate-700); line-height: 1.6; }
.import-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding: clamp(1.6rem,3vw,2.2rem); background: var(--slate-900); color: #fff; border-radius: 18px; }
.import-cta p { color: #C7D0DC; max-width: 60ch; font-size: 1.02rem; }
.import-cta .btn { flex: none; }

/* ---------- Two ways to buy ---------- */
.section-buy { background: var(--bg); }
.buy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.buy-card { position: relative; padding: clamp(1.8rem, 3vw, 2.6rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.buy-card:first-child { border-top: 3px solid var(--red); }
.buy-card:last-child { border-top: 3px solid var(--teal); }
.buy-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: var(--slate-800); }
.buy-card:first-child .buy-num { background: var(--red); }
.buy-card:last-child .buy-num { background: var(--teal); }
.buy-card h3 { font-size: 1.35rem; font-weight: 600; }
.buy-card p { font-size: 1rem; color: var(--slate-700); line-height: 1.7; }
.buy-card .btn { margin-top: .4rem; }

/* ---------- Enquire ---------- */
.section-enquire { background: var(--slate-900); color: #fff; }
.section-enquire .kicker { color: var(--teal-300); }
.enquire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.enquire-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 600; margin: .4rem 0 1rem; }
.enquire-copy p { color: #C7D0DC; }
.enquire-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.enquire-points li { position: relative; padding-left: 1.8rem; color: #E2E8F0; }
.enquire-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--teal-300); border-bottom: 2px solid var(--teal-300); transform: rotate(-45deg); }
.enquire-direct { margin-top: 1.6rem; font-size: .95rem; color: #AEB9C7; }
.enquire-direct a { color: var(--teal-300); font-weight: 500; }

.enquire-form { background: var(--paper); color: var(--slate-900); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.enquire-form .field { margin-bottom: 1.1rem; }
.enquire-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--slate-500); }
.enquire-form input { width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; background: var(--bg); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.enquire-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.16); background: #fff; }
.enquire-form input[aria-invalid="true"] { border-color: var(--red); }
.error { display: block; color: var(--red-600); font-size: .82rem; margin-top: .35rem; min-height: 1px; }
.form-success { margin-top: 1rem; padding: .9rem 1rem; background: rgba(15,118,110,.12); border: 1px solid var(--teal); color: var(--teal); border-radius: var(--radius-sm); font-weight: 500; font-size: .95rem; }
.form-fineprint { margin-top: 1rem; font-size: .8rem; color: var(--slate-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--slate-900); color: #fff; border-top: 4px solid var(--red); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-block: clamp(2.4rem, 5vw, 3.4rem) 1.6rem; }
.site-footer .brand { color: #fff; }
.footer-brand p { color: var(--slate-500); font-size: .9rem; margin-top: .7rem; max-width: 32ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.footer-nav a { text-decoration: none; color: var(--slate-300); font-size: .94rem; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }
.footer-base p { color: var(--slate-500); font-size: .82rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .import-grid { grid-template-columns: repeat(2, 1fr); }
  .show-stage, .calc, .enquire-grid, .story-grid, .buy-grid { grid-template-columns: 1fr; }
  .show-media { order: -1; }
  .story-stats { position: static; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav, .header-cta, .header-cta-group { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav[data-open="true"] { display: flex; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .hero-stats li { flex-direction: row; align-items: baseline; gap: .8rem; }
  .hero-stats strong { min-width: 6rem; }
  .hero-stats span { max-width: none; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .steps, .trust-grid, .import-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
  .import-cta { flex-direction: column; align-items: flex-start; }
  .assurance { grid-template-columns: 1fr; }
  .show-specs { grid-template-columns: repeat(2, 1fr); }
  .show-specs div:not(:nth-child(3n)) { border-right: 0; padding-right: 0; }
  .show-specs div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); padding-right: 1rem; }
  .show-specs div:nth-child(even) { padding-left: 1rem; }
  .show-price { flex-direction: column; align-items: stretch; }
  .show-cta { width: 100%; }
  .show-cta .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ship { display: none; }
}
