/* ==============================================================
   NORIK RACING — site styles
   Black-based luxury palette. Visual-led, generous whitespace.
   ============================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --bg-elev: #0a0a0a;
  --bg-soft: #111;
  --fg: #f2f2f2;
  --fg-dim: #b8b8b8;
  --fg-mute: #999;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.24);
  /* Warm champagne gold — the luxury-advisory accent.
     Used sparingly: decorative lines, counters, year marks.
     Red/Rosso is reserved for the single primary CTA only. */
  --accent: #b8a07a;
  --accent-soft: #d4bf97;
  --rosso: #8b0000;  /* Reserved for the primary CTA only. Muted rosso — luxury over pure hue. */

  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-jp: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 88px;

  --ease: cubic-bezier(.2,.65,.25,1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif-jp);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
body[lang="en"] { font-family: var(--serif-en); line-height: 1.7; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 28px;
  position: relative;
  padding-left: 52px;
  overflow-wrap: break-word;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.display {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--fg);
}
/* Prevent CJK mid-word breaks on desktop. On mobile (<=760px),
   allow normal wrapping to prevent text overflow. */
@media (min-width: 761px) {
  body[lang="ja"] .display,
  body[lang="ja"] .svc-title,
  body[lang="ja"] .hero-title,
  body[lang="ja"] .hero-sub,
  body[lang="ja"] .lede,
  body[lang="ja"] .brand-jp,
  body[lang="ja"] .brand-lede,
  body[lang="ja"] .founder-role,
  body[lang="ja"] .founder-para,
  body[lang="ja"] .svc-lede,
  body[lang="ja"] .why-list li strong {
    word-break: keep-all;
    line-break: strict;
  }
}

/* Responsive JP headline sizing — smaller floor so long compound
   phrases ("もっとスマートに。", "4つのプレミアムサービス") fit on
   narrow mobile widths without being force-broken. */
body[lang="ja"] .display       { font-size: clamp(26px, 5vw, 64px); }
body[lang="ja"] .display.big   { font-size: clamp(32px, 6.5vw, 96px); }
body[lang="ja"] .hero-title    { font-size: clamp(48px, 9vw, 128px); }
body[lang="ja"] .svc-title     { font-size: clamp(19px, 2vw, 26px); }
.display.subtle { color: var(--fg-dim); font-style: italic; font-weight: 300; }
.display.big    { font-size: clamp(42px, 7vw, 104px); }
body[lang="ja"] .display { font-family: var(--serif-jp); font-weight: 400; letter-spacing: .02em; }

.lede {
  max-width: 720px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--fg-dim);
  margin: 28px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: all .4s var(--ease);
  min-height: 52px;
}
.btn + .btn { margin-left: 12px; }
.btn-ghost:hover  { background: #fff; color: #000; border-color: #fff; }
/* Primary CTA uses Rosso — the only place red is allowed on this site. */
.btn-accent {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #fff;
}
.btn-accent:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
  padding-inline: var(--pad);
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0));
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.brand img {
  height: 64px;
  width: auto;
  transition: opacity .3s var(--ease);
}
.brand:hover img { opacity: .85; }
.site-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  color: var(--fg);
  padding: 6px 0;
  opacity: .82;
  transition: opacity .3s var(--ease);
}
.site-nav a:hover { opacity: 1; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-toggle {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  padding: 10px 16px;
  min-width: 90px;
  text-align: center;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  transition: border-color .3s var(--ease);
}
.lang-toggle:hover { border-color: var(--fg); }
.lang-toggle .lang-active { color: var(--fg); }
.lang-toggle .lang-inactive { color: var(--fg-mute); }
.nav-lang-toggle { display: none; }


.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 12px; }
.nav-burger span:nth-child(2) { top: 18px; }
.nav-burger span:nth-child(3) { top: 24px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 32%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .28;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,.35) 2px,
    rgba(0,0,0,.35) 3px
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(72px, 12vh, 140px);
  width: 100%;
}
.hero-title {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 128px);
  line-height: .98;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--fg-dim);
  max-width: min(640px, 100%);
  margin: 0 0 44px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0; }

/* Ken Burns — kept as fallback if hero video is removed.
   Currently inactive (hero uses <video> instead of <picture>). */
@keyframes kenburns {
  0%   { transform: scale(1.08) translate3d(0,       0,      0); }
  50%  { transform: scale(1.22) translate3d(-2.5%, -1.5%,    0); }
  100% { transform: scale(1.08) translate3d(0,       0,      0); }
}

/* No additional CSS motion is applied to the hero video in reduced-motion mode. */
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  z-index: 3;
  overflow: hidden;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--fg);
  opacity: .55;
  transform-origin: top;
  animation: scrollbar 2.4s var(--ease) infinite;
}
@keyframes scrollbar {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Section base ---------- */
.section {
  position: relative;
  padding: clamp(96px, 14vh, 180px) 0;
  isolation: isolate;
}
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  margin-bottom: clamp(48px, 7vh, 96px);
  max-width: 820px;
}

/* ---------- Brand Concept ---------- */
.section-brand {
  background: #000;
  text-align: center;
  padding: clamp(120px, 18vh, 220px) 0 clamp(96px, 14vh, 180px);
  position: relative;
}
.brand-wrap { max-width: 920px; }
.section-brand .eyebrow.centered {
  padding-left: 0;
  padding-top: 22px;
  margin: 0 auto 40px;
  display: inline-block;
}
.section-brand .eyebrow.centered::before {
  left: 50%;
  top: 0;
  width: 40px;
  transform: translateX(-50%);
}
.brand-headline {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(34px, 5.8vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
}
.brand-headline .brand-line-en {
  display: block;
}
/* Italic stays for the second line, but color remains white —
   no more candy-red accent on the headline. */
.brand-headline .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
}
body[lang="ja"] .brand-headline {
  font-family: var(--serif-en); /* keep EN headline even in JP mode */
}
.brand-jp {
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--fg);
  line-height: 2;
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: .02em;
}
.brand-jp-line {
  display: block;
}
body[lang="en"] .brand-jp { line-height: 1.75; }
.brand-sep {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--line-strong) 50%, transparent);
  margin: clamp(48px, 6vh, 72px) auto;
}

/* Brand lede — the long NORIK RACING positioning paragraph that used
   to live inside Hero. Moved here to keep Hero cinematic and minimal.
   3 phrases, each forced to its own line, centered under brand-sep. */
.brand-lede {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--fg-dim);
  line-height: 2;
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: .01em;
}
.brand-lede-line {
  display: block;
}
body[lang="en"] .brand-lede { line-height: 1.8; }

/* ---------- Mark moment (full-bleed logo between Brand & About) ---------- */
.section-mark {
  background: var(--bg);
  padding: clamp(96px, 14vh, 160px) var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 96px);
}
.mark-rule {
  flex: 1 1 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 50%, transparent);
  max-width: 320px;
}
.mark-block {
  flex: 0 0 auto;
}
.mark-logo {
  width: clamp(220px, 32vw, 460px);
  height: auto;
  display: block;
}
@media (max-width: 760px) {
  .section-mark { flex-direction: column; gap: 32px; padding: clamp(72px, 12vh, 120px) var(--pad); }
  .mark-rule { width: 80px; max-width: none; flex: none; }
}

/* ---------- About ---------- */
.section-about { background: var(--bg); }
.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .14;
}
.about-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, transparent 55%, #000 100%);
}
.section-about .display { max-width: 18ch; }
body[lang="ja"] .section-about .display { max-width: none; }

/* About lede: 3 voices + 1 answer, each forced to its own line. */
.about-lede {
  max-width: 780px;
}
.about-lede .lede-line {
  display: block;
}
.about-lede .lede-line.voice {
  color: var(--fg-mute);
  font-style: italic;
  line-height: 2;
}
.about-lede .lede-line.answer {
  color: var(--fg-dim);
  margin-top: 28px;
  line-height: 1.9;
  /* hanging indent from "— " so wrapped lines align with "NORIK" */
  padding-left: 1.6em;
  text-indent: -1.6em;
}

/* ---------- Services ---------- */
.section-services { background: var(--bg-elev); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
/* 5th card spans full width for balanced layout */
.service-grid .service-card:nth-child(5) {
  grid-column: 1 / -1;
}
.service-card--rental .rental-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 16 / 7;
}
.rental-photo {
  position: relative;
  overflow: hidden;
  display: block;
}
.rental-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.service-card--rental:hover .rental-photo img { transform: scale(1.05); }
.rental-photo--main {
  grid-row: span 2;
}
@media (max-width: 760px) {
  .service-card--rental .rental-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }
  .rental-photo--main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .service-card--rental .rental-photo:not(.rental-photo--main) {
    aspect-ratio: 1 / 1;
  }
}
.service-card {
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.service-card figure {
  margin: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.service-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
  pointer-events: none;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.service-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.service-card:hover img { transform: scale(1.05); }
.service-body {
  padding: 36px 36px 40px;
  position: relative;
}
.svc-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--accent);
  margin: 0 0 16px;
}
.svc-title {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 0 0 14px;
  color: var(--fg);
}
body[lang="ja"] .svc-title { font-family: var(--serif-jp); }
.svc-lede {
  font-size: 14.5px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Why ---------- */
.section-why {
  background: #000;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: grayscale(40%) contrast(1.05);
}
.why-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(0,0,0,.65) 55%, #000 85%),
    linear-gradient(to top, #000, transparent 40%);
}
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: 0;
  margin-top: clamp(48px, 7vh, 80px);
  max-width: 1000px;
}
.why-list li {
  padding: 32px 0;
  padding-left: 56px;
  padding-right: 16px;
  border-top: 1px solid var(--line);
  position: relative;
  counter-increment: why;
}
/* 5 items → leave the last one centered/full-width below */
.why-list li:nth-child(5) { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .why-list { grid-template-columns: 1fr; }
  .why-list li:nth-child(5) { grid-column: auto; }
}
.why-list { counter-reset: why; }
.why-list li::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--accent);
}
.why-list li strong {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--fg);
  letter-spacing: .01em;
  display: block;
}
body[lang="ja"] .why-list li strong { font-family: var(--serif-jp); }

/* ---------- Founder ---------- */
.section-founder { background: var(--bg-elev); overflow: hidden; }
.founder-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
}
.founder-body { order: 1; }
.founder-photos { order: 2; justify-self: end; }
.founder-photo {
  margin: 0;
  position: relative;
}
.founder-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
}
.founder-photo::before {
  content: "";
  position: absolute;
  inset: 12px -12px -8px 12px;
  border: 1px solid var(--line-strong);
  z-index: -1;
  pointer-events: none;
}
.founder-role {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 4px 0 32px;
  overflow-wrap: anywhere;
}
.founder-text {
  max-width: 640px;
}
.founder-para {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--fg-dim);
  margin: 0 0 18px;
}
.founder-para:last-child { margin-bottom: 0; }

.founder-link {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.founder-link:hover { border-bottom-color: var(--accent); }

/* Founder photos: Leclerc + Vigna side-by-side in the left column. */
.founder-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.founder-photo-caption {
  margin: 6px 0 0;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--fg-mute);
  text-align: left;
}
/* Vigna photo is landscape originally; use a wider aspect so both subjects stay in frame. */
.founder-photo--vigna img {
  aspect-ratio: 4/5;
  object-position: center 38%;
}

/* ---------- Powered by Kyoritsu Land ---------- */
.section-ktochi {
  background: #000;
  text-align: center;
  padding: clamp(120px, 18vh, 220px) 0;
  position: relative;
}
.section-ktochi::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}
.ktochi-wrap { max-width: 860px; }
.section-ktochi .eyebrow {
  padding-left: 0;
  padding-top: 22px;
  margin: 0 auto 32px;
  display: inline-block;
}
.section-ktochi .eyebrow::before {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.ktochi-title {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--fg);
}
body[lang="ja"] .ktochi-title { font-family: var(--serif-en); }
.ktochi-en { display: block; }
.ktochi-en.italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.ktochi-jp {
  font-family: var(--serif-jp);
  font-size: clamp(13px, 1.05vw, 15px);
  letter-spacing: .28em;
  color: var(--accent);
  margin: 0 0 40px;
}
.ktochi-lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2;
  color: var(--fg-dim);
  max-width: 720px;
  margin: 0 auto clamp(56px, 8vh, 80px);
}

.ktochi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 640px;
  margin: 0 auto clamp(56px, 8vh, 80px);
  padding-top: clamp(32px, 5vh, 56px);
  border-top: 1px solid var(--line);
}
.ktochi-stat-num {
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--accent);
  margin: 0 0 12px;
}
.ktochi-stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0;
}

.ktochi-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  max-width: 860px;
  margin: 0 auto clamp(48px, 7vh, 72px);
  padding: 0;
  list-style: none;
}
.ktochi-area {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
.ktochi-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.05) brightness(.85);
  transition: filter .6s var(--ease), transform 1.4s var(--ease);
}
.ktochi-area:hover img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.04);
}
.ktochi-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  pointer-events: none;
}
.ktochi-area-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--fg);
}

.ktochi-desc {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2;
  color: var(--fg-mute);
  max-width: 680px;
  margin: 0 auto clamp(48px, 7vh, 64px);
}

.ktochi-cta { margin: 0 auto; }

@media (max-width: 760px) {
  .ktochi-stats { grid-template-columns: 1fr; gap: 32px; }
  .ktochi-areas { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ---------- Racing Experience ---------- */
.section-experience { background: #000; }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
  margin-bottom: clamp(64px, 9vh, 120px);
}
.exp-photo { margin: 0; position: relative; overflow: hidden; }
.exp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter .4s var(--ease);
  filter: grayscale(10%);
}
.exp-photo:hover img { transform: scale(1.06); filter: grayscale(0%); }
.exp-photo:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.exp-photo:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.exp-photo:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.exp-photo:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.exp-photo:nth-child(5) { grid-column: span 3; grid-row: span 2; }

.exp-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.exp-year {
  padding: 48px 0 8px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
}
.exp-year:last-child { border-right: 0; padding-right: 0; padding-left: 32px; }
.exp-year:first-child { padding-left: 0; }
.exp-year:not(:first-child):not(:last-child) { padding-left: 32px; }
/* Past seasons fade back so the current/next season leads. */
.exp-year:not(:last-child) { opacity: .55; }
.year {
  font-family: var(--serif-en);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 24px;
  font-style: italic;
}
/* Current season (last child): non-italic, full weight, underline cue. */
.exp-year:last-child .year {
  font-style: normal;
  font-weight: 400;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.exp-year:last-child .year::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.year-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .2em;
  color: var(--fg-mute);
  margin-left: 12px;
  vertical-align: middle;
  padding: 3px 10px;
  border: 1px solid var(--line);
}
.exp-year ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif-en);
  font-size: 15px;
  color: var(--fg-dim);
  letter-spacing: .02em;
}
.exp-year ul li:last-child { border-bottom: 0; }

/* ---------- Final CTA / Contact ---------- */
.section-cta {
  background: #000;
  padding-top: clamp(120px, 18vh, 220px);
  padding-bottom: clamp(96px, 14vh, 180px);
  text-align: left;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: grayscale(20%) contrast(1.08);
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.85) 100%);
}
.cta-inner { max-width: 960px; }
.cta-inner .lede { margin-bottom: clamp(24px, 3vh, 32px); }
.cta-inner .contact-note {
  max-width: 780px;
  margin: 0 auto clamp(36px, 5vh, 56px);
  font-size: clamp(12px, 1.3vw, 13px);
  line-height: 1.9;
  color: rgba(255,255,255,.72);
  text-align: left;
  letter-spacing: .02em;
  padding: 18px 22px;
  border-left: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.03);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  max-width: 780px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 0;
  color: var(--fg);
  font-family: var(--serif-jp);
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
  padding-bottom: 13px;
}
.field textarea { min-height: 120px; }
.form-actions { margin-top: 8px; }
.form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg-dim);
  margin: 0;
}
.form-status.is-success { color: #7bd27b; }
.form-status.is-error   { color: var(--accent-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 72px 0 48px;
}
.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  color: var(--fg-mute);
  font-size: 13px;
  max-width: 360px;
  margin: 0;
}
.footer-meta {
  text-align: right;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: .05em;
}
.footer-meta p { margin: 0 0 6px; }
.footer-sub { opacity: .7; }
.footer-lang {
  margin-top: 20px;
}
.footer-lang .lang-toggle {
  font-size: 11px;
  padding: 8px 14px;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .founder-wrap { grid-template-columns: 1fr; }
  .founder-body { order: 1; }
  .founder-photos { grid-template-columns: 1fr 1fr; justify-self: stretch; order: 2; margin-top: 8px; }
  .founder-photo { max-width: none; }

  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .exp-photo:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .exp-photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }

  .exp-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .exp-year {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 40px 0 !important;
  }
  .exp-year:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    gap: 0;
    background: #000;
    padding: 40px var(--pad);
    font-size: 14px;
    z-index: 100;
  }
  .site-nav.is-open a {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open .nav-lang-toggle {
    display: block;
    margin-top: 32px;
    padding: 16px 0;
    font-size: 12px;
    color: var(--fg-mute);
    text-align: center;
    border: 0;
  }
  .site-header.nav-open {
    background: #000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-burger { display: block; margin-left: auto; }
  .site-header > .lang-toggle { display: none; }
  .site-header { gap: 16px; }

  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-body { padding: 28px 24px 32px; }

  .btn { padding: 16px 28px; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  .contact-form { grid-template-columns: 1fr; }

  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  .hero { min-height: 560px; }
  .hero-title { font-size: clamp(42px, 12vw, 72px); }
}
