:root {
  /* Keep the legacy variable names to avoid unrelated selector churn; their values now use ONDA's official blue palette. */
  --ink: #050609;
  --muted: #555b70;
  --paper: #f2f4f9;
  --surface: #f8f9fc;
  --surface-soft: #e9edf7;
  --surface-mint: #dfe7f7;
  --white: #f2f4f9;
  --green: #3432ca;
  --green-dark: #1b1a67;
  --line: rgba(27, 26, 103, 0.13);
  --radius: 30px;
  --shell: min(1440px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(99, 170, 239, .14), transparent 28%),
    radial-gradient(circle at 88% 34%, rgba(52, 50, 202, .09), transparent 30%),
    linear-gradient(180deg, #f7f8fc 0%, var(--paper) 48%, #e8edf8 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { color: inherit; }
img, video { max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; left: 20px; top: -60px; padding: 12px 18px;
  border-radius: 999px; background: var(--surface); color: var(--ink); transition: top .2s;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  color: #fff; transition: color .3s, background .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  color: var(--ink); background: rgba(242,244,249,.9);
  backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(27,26,103,.1);
}
.nav-shell {
  width: var(--shell); min-height: 72px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.wordmark { display: inline-flex; align-items: baseline; gap: 7px; width: max-content; letter-spacing: -.07em; }
.wordmark span { font-size: 22px; font-weight: 800; }
.wordmark small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.brand-logo-link { display: inline-flex; align-items: center; width: max-content; }
.brand-logo { display: block; width: 116px; height: 52px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); transition: filter .3s; }
.site-header.scrolled .brand-logo { filter: hue-rotate(72deg) saturate(1.35); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 34px; font-size: 13px; font-weight: 600; }
.nav-links a { opacity: .86; transition: opacity .2s; }
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.language-select {
  appearance: none; color: var(--green); background-color: rgba(255,255,255,.96);
  border: 0; border-radius: 999px;
  padding: 8px 32px 8px 13px; font-size: 12px; font-weight: 650;
  background-image: linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position: calc(100% - 14px) 13px,calc(100% - 10px) 13px;
  background-size: 4px 4px,4px 4px; background-repeat: no-repeat;
  box-shadow: 0 8px 20px rgba(52,50,202,.18); cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.language-select:hover { color: #1b1a67; background-color: #fff; transform: translateY(-1px); }
.site-header.scrolled .language-select { color: var(--green); background-color: #fff; border: 0; }
.language-select option { color: var(--green-dark); background: #fff; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button svg { width: 22px; height: 22px; }

.hero { min-height: 100svh; position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero-video, .chapter-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js-segment-player {
  opacity: 0; background: #050609; backface-visibility: hidden;
  transition: opacity .22s linear; will-change: opacity, transform;
}
.js-segment-player.is-active { opacity: 1; }
.js-segment-player.is-mirrored { transform: scaleX(-1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.08) 35%,rgba(0,0,0,.74)); }
.hero-content {
  position: relative; z-index: 2; width: var(--shell); margin: 0 auto; padding: 150px 0 76px;
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.eyebrow { margin: 0 0 22px; color: var(--green); font-size: 12px; line-height: 1; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--green); text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero h1 { margin: 0; max-width: 960px; font-size: clamp(50px,7vw,106px); line-height: .88; letter-spacing: -.075em; font-weight: 720; }
.hero-lead { max-width: 680px; margin: 34px 0 0; font-size: clamp(18px,2vw,26px); line-height: 1.35; letter-spacing: -.025em; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 36px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 17px; height: 17px; }
.button-light { background: var(--green); color: #fff; border: 0; box-shadow: 0 12px 28px rgba(52,50,202,.28); }
.button-light:hover { background: #1b1a67; }
.button-ghost { background: rgba(52,50,202,.78); border: 0; color: #fff; box-shadow: 0 12px 28px rgba(27,26,103,.28); backdrop-filter: blur(12px); }
.button-ghost:hover { background: var(--green); }
.section-shell { width: var(--shell); margin: 0 auto; }
.intro-section { position: relative; padding: 150px 0; background: radial-gradient(circle at 8% 38%, rgba(99,170,239,.16), transparent 24%); }
.intro-grid { display: grid; grid-template-columns: 1fr 2.3fr; gap: 40px 80px; }
.intro-grid .eyebrow { padding-top: 18px; }
.intro-grid h2 { margin: 0; max-width: 1080px; font-size: clamp(46px,7vw,104px); line-height: .97; letter-spacing: -.065em; font-weight: 680; }
.brand-green { color: var(--green); }
.section-copy { grid-column: 2; max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(18px,2vw,24px); line-height: 1.5; }

.film-section { width: 100%; height: 100svh; min-height: 100svh; margin: 0; border-radius: 0; position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-end; scroll-snap-align: start; scroll-snap-stop: normal; }
.film-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.66)); }
.film-copy { position: relative; z-index: 2; width: min(900px, calc(100% - 64px)); padding: 64px; }
.film-copy h2 { margin: 0; font-size: clamp(44px,6vw,90px); line-height: .95; letter-spacing: -.06em; }
.film-copy > p:last-child { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.5; }
.film-video-controls { position: absolute; z-index: 3; right: 36px; bottom: 36px; display: flex; gap: 10px; }
.round-video-toggle { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(52,50,202,.86); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(27,26,103,.32); backdrop-filter: blur(10px); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.round-video-toggle:hover { transform: translateY(-1px); background: var(--green); }
.round-video-toggle svg { width: 19px; height: 19px; }

.products-section {
  position: relative; height: 100svh; min-height: 720px; padding: 88px 0 18px; overflow: hidden;
  background: linear-gradient(180deg, #e8edf8 0%, #f7f8fc 45%, #dfe6f5 100%);
  scroll-snap-align: start; scroll-snap-stop: normal;
}
/* The product area now behaves like an open full-screen campaign canvas instead of a framed card catalogue. */
.products-section .section-shell { width: 100%; max-width: none; height: 100%; }
.product-showcase {
  height: 100%; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none;
}
.product-showcase-top {
  position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr);
  gap: clamp(32px,5vw,90px); align-items: end; padding: clamp(22px,3.2vh,34px) clamp(26px,3vw,48px) 0;
}
.product-showcase-top, .product-showcase-intro, .model-selector, .showcase-color-selector { min-width: 0; }
.product-showcase-top .eyebrow { margin-bottom: 13px; }
.product-showcase-top h2 { margin: 0; font-size: clamp(38px,4.2vw,68px); line-height: .92; letter-spacing: -.06em; }
.products-title-brand { color: var(--green); white-space: nowrap; }
.product-showcase-intro > p { max-width: 510px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.filter-bar { display: flex; gap: 7px; margin: 18px 0 0; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar, .model-switcher::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto; min-width: 38px; height: 32px; padding: 0 13px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; font-size: 12px; font-weight: 720; white-space: nowrap; cursor: pointer;
  transition: background .2s,color .2s,border .2s,transform .2s;
}
.filter-chip:hover { transform: translateY(-1px); }
.filter-chip:hover, .filter-chip.active { background: transparent; color: var(--green); border-bottom-color: var(--green); box-shadow: none; }
.product-showcase-stage { position: relative; min-height: 0; isolation: isolate; }
.product-showcase-stage::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 49%; width: min(58vw,780px); aspect-ratio: 1;
  border-radius: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, color-mix(in srgb,var(--product-color,#c7ccd7) 28%, white) 0%, rgba(99,170,239,.16) 34%, transparent 69%);
  filter: blur(3px); transition: background .45s ease;
}
.showcase-media {
  position: absolute; z-index: 1; inset: 0; margin: 0; overflow: hidden; pointer-events: none;
  container-type: size; will-change: opacity;
}
.showcase-media.is-entering { animation: showcase-enter .42s cubic-bezier(.2,.7,.2,1) both; }
.showcase-slide {
  position: absolute; top: 50%; left: 50%; width: min(88cqw, calc(100cqh * 1.333333)); height: auto; aspect-ratio: 4 / 3;
  opacity: var(--slide-opacity); filter: blur(var(--slide-blur)) saturate(var(--slide-saturation));
  transform: translate(var(--slide-x),-50%); will-change: filter,opacity,transform;
}
.showcase-slide::before, .showcase-slide::after {
  content: ""; position: absolute; inset: 0; background-image: var(--slide-image);
  background-position: center; background-repeat: no-repeat; background-size: contain;
}
.showcase-slide::after { display: none; }
.showcase-slide-current { z-index: 2; }
.showcase-slide-current::before { filter: blur(5px); transform: scale(1.008); }
.showcase-slide-current::after {
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at center, #000 0%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 78% at center, #000 0%, #000 72%, transparent 100%);
}
.showcase-slide-prev, .showcase-slide-next { z-index: 1; }
.showcase-media.is-moving-next .showcase-slide,
.showcase-media.is-moving-prev .showcase-slide { animation: carousel-shift .52s cubic-bezier(.22,.72,.18,1) both; }
@keyframes showcase-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes carousel-shift {
  from {
    opacity: var(--slide-from-opacity); filter: blur(var(--slide-from-blur)) saturate(var(--slide-from-saturation));
    transform: translate(var(--slide-from-x),-50%);
  }
  to {
    opacity: var(--slide-opacity); filter: blur(var(--slide-blur)) saturate(var(--slide-saturation));
    transform: translate(var(--slide-x),-50%);
  }
}
.showcase-model-copy { position: absolute; z-index: 3; left: clamp(26px,3vw,48px); bottom: 20px; }
.series-label { color: var(--green); font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.showcase-model-copy .series-label { margin: 0 0 3px; }
.showcase-model-copy h3 { margin: 0; font-size: clamp(56px,7vw,100px); line-height: .78; letter-spacing: -.075em; }
.showcase-highlights { display: flex; gap: 22px; margin-top: 17px; }
.showcase-highlights div { display: grid; gap: 3px; }
.showcase-highlights span { color: var(--muted); font-size: 9px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.showcase-highlights strong { font-size: 14px; letter-spacing: -.02em; }
.showcase-details {
  position: absolute; z-index: 4; right: clamp(26px,3vw,48px); bottom: 22px;
  min-height: 48px; border-radius: 0; background: var(--green); color: #fff; box-shadow: none;
}
.showcase-details:hover { background: var(--green-dark); }
.showcase-arrow {
  position: absolute; z-index: 4; top: 48%; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid rgba(27,26,103,.18); border-radius: 0; background: rgba(255,255,255,.72); color: var(--green);
  box-shadow: none; backdrop-filter: blur(12px); cursor: pointer;
  transition: transform .2s ease,background .2s ease,color .2s ease;
}
.showcase-arrow:hover { transform: translateY(-2px); background: var(--green); color: #fff; }
.showcase-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.showcase-arrow svg { width: 19px; height: 19px; }
.showcase-arrow-prev { left: clamp(18px,2vw,34px); }
.showcase-arrow-next { right: clamp(18px,2vw,34px); }
.product-switchboard {
  position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,250px); gap: 26px;
  margin: 0; padding: 17px clamp(26px,3vw,48px) 19px; border: 0; border-radius: 0;
  color: var(--ink); background: transparent; box-shadow: none;
}
.selector-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 740; letter-spacing: .14em; text-transform: uppercase; }
.model-switcher { width: 100%; min-width: 0; max-width: 100%; display: flex; gap: 7px; overflow-x: auto; padding: 2px; scrollbar-width: none; scroll-behavior: smooth; }
.model-switch-button {
  flex: 0 0 auto; min-width: 58px; height: 36px; padding: 0 13px; border: 0; border-bottom: 1px solid rgba(27,26,103,.18); border-radius: 0;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 760; cursor: pointer;
  transition: color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease;
}
.model-switch-button:hover { color: var(--green); border-color: var(--green); transform: translateY(-1px); }
.model-switch-button.active { color: var(--green); background: transparent; border-bottom: 2px solid var(--green); box-shadow: none; }
.showcase-colorway-picker, .dialog-colorway-picker { display: flex; align-items: center; gap: 7px; }
.showcase-colorway-picker { min-height: 40px; }
.colorway-button { width: 26px; height: 26px; padding: 3px; border: 1px solid rgba(27,26,103,.16); border-radius: 0; background: var(--surface); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.showcase-colorway-picker .colorway-button { width: 34px; height: 34px; padding: 4px; border-color: rgba(27,26,103,.22); border-radius: 0; background: transparent; }
.colorway-button:hover { transform: translateY(-1px); }
.colorway-button.active { border-color: var(--green); box-shadow: none; }
.dialog-colorway-picker .colorway-button.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(52,50,202,.22); }
.color-swatch { display: block; width: 100%; height: 100%; border-radius: 0; background: var(--swatch-color); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.showcase-color-selector.is-single .colorway-button { cursor: default; }
.dialog-media { isolation: isolate; background: linear-gradient(135deg,#e4eaf7 0%,#f4f6fb 52%,#fbfcfe 100%); }

.technology-section { position: relative; padding: 150px 0; background: #050609; color: #fff; }
.technology-shell h2 { margin: 0; max-width: 1050px; font-size: clamp(50px,7vw,106px); line-height: .94; letter-spacing: -.065em; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 92px; background: rgba(255,255,255,.18); }
.metric-grid article { padding: 38px 32px; background: #050609; }
.metric-grid strong { font-size: clamp(72px,9vw,140px); line-height: .8; letter-spacing: -.08em; font-weight: 650; }
.metric-grid span { margin-left: 8px; color: var(--green); font-size: 20px; font-weight: 700; }
.metric-grid p { margin: 26px 0 0; color: rgba(255,255,255,.62); }
.spec-note { max-width: 680px; margin: 46px 0 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5; }

.about-section {
  width: 100%; min-height: 100svh; margin: 0; position: relative;
  display: flex; align-items: flex-end; overflow: hidden; border-radius: 0; color: #fff;
  background: #1b1a67;
}
.about-media {
  position: absolute; inset: 0;
  background: url('../images/about/onda-modern-factory-v2.png') center center/cover no-repeat;
  transform: scale(1.002);
}
.about-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,6,9,.82) 0%, rgba(27,26,103,.54) 37%, rgba(27,26,103,.08) 72%), linear-gradient(0deg, rgba(5,6,9,.66), transparent 52%);
}
.about-copy {
  position: relative; z-index: 2; width: min(720px, calc(100% - 64px)); margin: clamp(24px,4vw,64px);
  display: flex; flex-direction: column; align-items: flex-start; padding: clamp(34px,5vw,64px);
  border: 1px solid rgba(255,255,255,.16); border-radius: 26px;
  background: linear-gradient(145deg, rgba(27,26,103,.82), rgba(5,6,9,.58));
  box-shadow: 0 30px 80px rgba(0,0,0,.24); backdrop-filter: blur(18px) saturate(120%);
}
.about-copy .eyebrow { color: #63aaef; }
.about-experience { max-width: 600px; margin: 2px 0 28px; padding-left: 18px; border-left: 3px solid #63aaef; color: #f2f4f9; font-size: clamp(20px,2vw,28px); font-weight: 720; line-height: 1.35; }
.about-copy h2 { margin: 0; max-width: 620px; font-size: clamp(42px,5vw,72px); line-height: .96; letter-spacing: -.06em; }
.about-copy > p:not(.eyebrow):not(.about-experience) { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.65; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; }
.about-actions .text-link { margin-top: 0; color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--green); font-weight: 720; }
.text-link svg { width: 18px; height: 18px; }

.closing-section { --closing-statement-size: clamp(36px,5.6vw,83px); --closing-row-step: clamp(112px,14svh,154px); position: relative; min-height: 100svh; padding: 0 24px; text-align: center; color: var(--ink); background: transparent; overflow: hidden; }
.closing-section > div { position: relative; width: min(100%,1440px); height: 100svh; min-height: 680px; margin: 0 auto; }
.closing-brand-logo-wrap, .closing-section h2, .closing-section .button, .closing-copy { position: absolute; left: 50%; transform: translate(-50%,-50%); }
.closing-brand-logo-wrap { top: calc(50% - var(--closing-row-step) - var(--closing-row-step)); display: flex; justify-content: center; margin: 0; }
.closing-brand-logo { display: block; width: clamp(132px,12vw,180px); height: auto; object-fit: contain; filter: hue-rotate(72deg) saturate(1.35); opacity: 0; animation: closing-brand-fade 7s ease-in-out infinite; will-change: opacity; }
@keyframes closing-brand-fade {
  0%, 100% { opacity: 0; }
  18%, 76% { opacity: 1; }
}
.closing-section h2, .closing-copy { font-size: var(--closing-statement-size); line-height: .98; letter-spacing: -.055em; }
.closing-section h2 { top: calc(50% - var(--closing-row-step)); width: 100%; margin: 0; }
.closing-section .button { top: 50%; min-height: 96px; padding: 0 56px; font-size: clamp(25px,2.4vw,34px); font-weight: 820; }
.closing-section .button:hover { transform: translate(-50%,calc(-50% - 1px)); }
.closing-section .button svg { width: 28px; height: 28px; }
.closing-copy { top: calc(50% + var(--closing-row-step)); width: 100%; max-width: 1280px; margin: 0; color: rgba(5,6,9,.74); text-wrap: balance; }
.closing-section .jp-corner-closing { color: var(--muted); border-inline-start-color: rgba(52,50,202,.45); text-shadow: none; }
.site-footer { background: #050609; color: rgba(255,255,255,.64); border-top: 1px solid rgba(255,255,255,.12); }
.footer-shell { width: var(--shell); margin: 0 auto; padding: 38px 0; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; font-size: 12px; }
.wordmark-footer { color: #fff; }
.footer-brand-link { display: inline-flex; align-items: center; width: max-content; }
.footer-brand-logo { display: block; width: 126px; height: 58px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.footer-shell p { margin: 0; line-height: 1.5; }
.footer-shell p:last-child { text-align: right; }

.product-dialog { width: min(1120px,calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid rgba(27,26,103,.14); border-radius: 28px; overflow: hidden; background: var(--surface); color: var(--ink); }
.product-dialog::backdrop { background: rgba(0,0,0,.66); backdrop-filter: blur(12px); }
.dialog-close { position: absolute; z-index: 5; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(52,50,202,.3); background: rgba(242,244,249,.92); color: var(--green); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(10px); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.dialog-close:hover { color: #fff; background: var(--green); border-color: transparent; }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-layout { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 650px; }
.dialog-media { position: relative; min-height: 520px; overflow: hidden; }
.dialog-info { background: linear-gradient(180deg, rgba(248,249,252,.96), rgba(228,234,247,.92)); }
.dialog-main-image { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.dialog-colorway-picker { position: absolute; z-index: 3; right: 18px; bottom: 18px; }
.dialog-info { padding: 70px 54px 50px; overflow-y: auto; }
.dialog-info h2 { margin: 3px 0 8px; font-size: 64px; line-height: 1; letter-spacing: -.07em; }
.dialog-model { margin: 0 0 32px; color: var(--muted); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; }
.spec-list div { padding: 14px 0; border-top: 1px solid rgba(52,50,202,.22); }
.spec-list dt { color: var(--green); font-size: 11px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.spec-list dd { margin: 5px 0 0; font-size: 16px; font-weight: 650; }
.dialog-note { margin: 30px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.about-dialog {
  width: min(1240px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0;
  border: 1px solid rgba(27,26,103,.14); border-radius: 28px; overflow: hidden;
  background: var(--surface); color: var(--ink);
}
.about-dialog::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(12px); }
.about-dialog-layout { display: grid; grid-template-columns: .72fr 1.28fr; min-height: min(780px, calc(100svh - 32px)); }
.about-dialog-visual {
  min-height: 600px; padding: 44px; display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; background:
    linear-gradient(180deg, rgba(27,26,103,.18), rgba(5,6,9,.8)),
    url('../images/about/onda-modern-factory-v2.png') 62% center/cover no-repeat;
}
.about-dialog-logo { width: 132px; height: 72px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.about-dialog-stat { display: flex; align-items: center; gap: 18px; }
.about-dialog-stat strong { color: #63aaef; font-size: clamp(96px,10vw,152px); line-height: .72; letter-spacing: -.09em; }
.about-dialog-stat div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.24); }
.about-dialog-stat span { color: #63aaef; font-size: 20px; font-weight: 760; }
.about-dialog-stat p { margin: 5px 0 0; font-size: 16px; font-weight: 720; letter-spacing: .08em; }
.about-dialog-content { padding: clamp(56px,6vw,86px); overflow-y: auto; background: linear-gradient(155deg, #f8f9fc, #e8edf8); }
.about-dialog-content h2 { margin: 0; max-width: 720px; font-size: clamp(44px,5vw,72px); line-height: .96; letter-spacing: -.06em; }
.about-dialog-jp { margin: -4px 0 20px; color: var(--green); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 720; letter-spacing: .12em; line-height: 1.6; }
.about-story-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 40px; }
.about-story-list section { position: relative; padding: 22px 0 24px 38px; border-top: 1px solid rgba(52,50,202,.22); }
.about-story-list section > span { position: absolute; left: 0; top: 26px; color: var(--green); font-size: 11px; font-weight: 780; letter-spacing: .1em; }
.about-story-list h3 { margin: 0; color: var(--green); font-size: 17px; letter-spacing: -.02em; }
.about-story-list p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.about-dialog-signoff { margin: 14px 0 0; padding: 24px 28px; border-radius: 18px; color: var(--green-dark); background: rgba(99,170,239,.14); font-size: 15px; font-weight: 660; line-height: 1.6; }
.about-dialog-signoff strong { color: var(--green); font-weight: 820; }

.jp-corner {
  position: absolute; z-index: 4; margin: 0; padding-inline-start: 12px;
  border-inline-start: 1px solid rgba(52,50,202,.45); color: var(--green-dark);
  writing-mode: horizontal-tb; text-orientation: mixed; white-space: nowrap;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 11px; line-height: 1.5; font-weight: 650; letter-spacing: .18em;
  opacity: .72; pointer-events: none; user-select: none;
}
.jp-corner-light { color: rgba(255,255,255,.78); border-inline-start-color: rgba(99,170,239,.74); text-shadow: 0 2px 16px rgba(0,0,0,.32); }
.jp-corner-hero { top: 104px; left: 28px; }
.jp-corner-intro { right: 28px; bottom: 28px; }
.jp-corner-film { top: 96px; right: 28px; }
.jp-corner-products { top: 32px; right: 28px; }
.jp-corner-technology { top: 32px; right: 28px; }
.jp-corner-about { right: 28px; bottom: 28px; }
.jp-corner-closing { top: 32px; right: 28px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .closing-brand-logo { opacity: 1; animation: none; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); --radius: 22px; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-links { position: fixed; inset: 72px 12px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 18px; background: rgba(242,244,249,.97); color: var(--ink); box-shadow: 0 24px 60px rgba(27,26,103,.2); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 12px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border: 0; }
  .menu-button { display: grid; place-items: center; }
  .intro-grid { grid-template-columns: 1fr; }
  .section-copy { grid-column: auto; }
  .film-copy { padding: 38px; }
  .product-showcase-top { grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr); gap: 30px; }
  .showcase-media { inset: 0; }
  .product-switchboard { grid-template-columns: minmax(0,1fr) 190px; }
  .metric-grid { grid-template-columns: 1fr; }
  .dialog-layout, .about-dialog-layout { grid-template-columns: 1fr; }
  .about-section { min-height: 100svh; }
  .about-copy { width: calc(100% - 48px); margin: 24px; }
  .about-dialog-visual { min-height: 340px; }
  .about-dialog-content { padding: 46px 32px 36px; }
  .dialog-info { padding: 40px 28px 32px; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-shell p:last-child { text-align: left; }
}

@media (max-width: 560px) {
  .language-select { width: 52px; padding-left: 8px; color: var(--green); font-size: 0; }
  .language-select option { color: var(--green-dark); background: #fff; font-size: 12px; }
  .hero-content { padding-bottom: 42px; }
  .hero h1 { font-size: clamp(50px,7vw,106px); }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%,320px); }
  .hero-index { display: none; }
  .intro-section, .technology-section { padding: 100px 0; }
  .film-section { width: 100%; height: 100svh; min-height: 100svh; }
  .film-copy { width: 100%; padding: 28px 24px 86px; }
  .film-video-controls { right: 22px; bottom: 22px; }
  .products-section { height: auto; min-height: 100svh; padding: 82px 0 8px; overflow: visible; }
  .products-section .section-shell { width: 100%; height: auto; }
  .product-showcase { min-height: calc(100svh - 90px); grid-template-rows: auto minmax(330px,46svh) auto; border-radius: 0; }
  .product-showcase-top { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 24px 20px 0; }
  .product-showcase-top h2 { font-size: clamp(36px,11vw,52px); }
  .product-showcase-intro > p { display: none; }
  .filter-bar { margin-top: 7px; }
  .showcase-media { inset: 0; }
  .showcase-arrow { top: 43%; width: 42px; height: 42px; }
  .showcase-arrow-prev { left: 10px; }
  .showcase-arrow-next { right: 10px; }
  .showcase-model-copy { left: 20px; bottom: 17px; }
  .showcase-model-copy h3 { font-size: clamp(48px,16vw,72px); }
  .showcase-highlights { gap: 14px; margin-top: 12px; }
  .showcase-highlights span { font-size: 8px; }
  .showcase-highlights strong { font-size: 12px; }
  .showcase-details { right: 18px; bottom: 18px; min-height: 44px; padding-inline: 16px; }
  .product-switchboard { grid-template-columns: minmax(0,1fr); gap: 16px; margin: 0; padding: 16px 20px; border-radius: 0; }
  .showcase-color-selector { border-top: 1px solid rgba(27,26,103,.14); padding-top: 13px; }
  .jp-corner-products { display: none; }
  .about-section { width: 100%; min-height: 100svh; margin: 0; }
  .about-copy { width: calc(100% - 32px); margin: 16px; padding: 34px 24px; }
  .about-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .about-actions .button { width: 100%; }
  .about-actions .text-link { justify-content: center; min-height: 44px; }
  .about-dialog { width: calc(100vw - 16px); max-height: calc(100svh - 16px); }
  .about-dialog-layout { min-height: calc(100svh - 16px); }
  .about-dialog-visual { min-height: 270px; padding: 30px 24px; }
  .about-dialog-content { padding: 42px 24px 28px; }
  .about-story-list { grid-template-columns: 1fr; }
  .closing-section { --closing-statement-size: clamp(30px,9vw,42px); --closing-row-step: clamp(92px,14svh,112px); }
  .closing-section > div { min-height: 620px; }
  .closing-section .button { min-height: 82px; max-width: calc(100vw - 32px); padding: 0 34px; font-size: 24px; }
  .closing-brand-logo { width: 126px; }
  .jp-corner {
    right: auto; bottom: auto; left: 16px; top: 86px; padding: 0 0 0 10px;
    writing-mode: horizontal-tb; font-size: 9px; letter-spacing: .1em;
  }
  .jp-corner-intro, .jp-corner-products, .jp-corner-technology, .jp-corner-about, .jp-corner-closing { top: auto; bottom: 16px; }
  .spec-list { grid-template-columns: 1fr; }
  .dialog-info h2 { font-size: 50px; }
}
