/* EV WORLD shared reading system, loaded after each page's original stylesheet. */
:root {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: #20343c;
  font-size: 16px;
  font-synthesis: none;
  --ink: #18313b;
  --muted: #4b626c;
  --line: #cfdbdf;
}
body { font-family: inherit; line-height: 1.75; }
h1, h2, h3 { font-family: inherit; letter-spacing: -.045em; text-wrap: balance; }
p, li, dd { overflow-wrap: anywhere; }
a, button, input, select, textarea { font-family: inherit; }
button, .button, .nav-contact { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #d76d34; outline-offset: 3px; }
.eyebrow, .section-kicker { letter-spacing: .11em; }

/* Homepage: stronger hierarchy and generous reading measure. */
body.site-home .hero-copy { padding-top: clamp(62px, 6vw, 105px); padding-bottom: 55px; }
body.site-home .hero h1 { font-weight: 600; line-height: 1.2; }
body.site-home .hero-lead { font-size: clamp(19px, 1.75vw, 25px); line-height: 1.65; letter-spacing: 0; }
body.site-home .hero-description { font-size: 15px; line-height: 1.85; color: #425b65; max-width: 37em; }
body.site-home .hero-actions .button { font-size: 14px; min-height: 54px; padding: 14px 22px; }
body.site-home .vision-grid p, body.site-home .business-grid p,
body.site-home .flagship-copy>p:not(.eyebrow):not(.flagship-name),
body.site-home .section-heading>p { font-size: 15px; line-height: 1.9; color: #3d5660; }
body.site-home .vehicle-content p, body.site-home .business-categories p { font-size: 14px; line-height: 1.8; }
body.site-home .showcase-note, body.site-home .compare-note { font-size: 12px; line-height: 1.7; color: #4d6570; }
body.site-home .product-ident strong { font-size: 23px; }
body.site-home .product-ident>p:last-child { font-size: 12px; }
body.site-home .product-hero-actions>a { font-size: 12px; }

/* The six product pages share one spacious editorial layout. */
body.site-lineup .breadcrumb { font-size: 13px; padding-block: 22px; }
body.site-lineup .hero { grid-template-columns: minmax(0, 43%) minmax(0, 57%); min-height: 670px; padding-top: 65px; padding-bottom: 75px; column-gap: 16px; }
body.site-lineup .hero-copy { max-width: 570px; }
body.site-lineup .hero-number { font-size: 12px; margin: 0 0 23px; }
body.site-lineup .hero .eyebrow { font-size: 12px; letter-spacing: .1em; line-height: 1.55; }
body.site-lineup .hero h1 { font-size: clamp(50px, 5.5vw, 82px); line-height: 1.16; font-weight: 650; letter-spacing: -.07em; margin: 19px 0 27px; }
body.site-lineup .hero h1.long { font-size: clamp(43px, 4.65vw, 69px); }
body.site-lineup .hero-lede { font-size: clamp(21px, 2.05vw, 28px); line-height: 1.5; letter-spacing: -.015em; margin-bottom: 19px; }
body.site-lineup .hero-intro { font-size: 16px; line-height: 1.85; color: #425a64; max-width: 33em; margin: 0; }
body.site-lineup .hero-actions { gap: 12px; margin-top: 32px; }
body.site-lineup .hero-actions .button { font-size: 14px; min-height: 54px; padding: 14px 20px; gap: 18px; }
body.site-lineup .hero-visual img { max-height: 610px; }
body.site-lineup .quick-specs dt { font-size: 13px; line-height: 1.5; }
body.site-lineup .quick-specs dd { font-size: clamp(25px, 2.6vw, 35px); }
body.site-lineup .section { padding-block: 90px; }
body.site-lineup .section-head h2 { font-size: clamp(34px, 3.8vw, 53px); font-weight: 600; line-height: 1.33; }
body.site-lineup .section-head p:last-child,
body.site-lineup .feature p, body.site-lineup .photo-note,
body.site-lineup .spec-foot, body.site-lineup .card-copy p { font-size: 15px; line-height: 1.85; color: #415a64; }
body.site-lineup .feature { padding: 34px; }
body.site-lineup .feature h3 { font-size: 23px; margin-top: 25px; }
body.site-lineup .spec-table th, body.site-lineup .spec-table td { font-size: 15px; line-height: 1.7; padding: 17px 12px; }
body.site-lineup .spec-table th { color: #4c626b; }
body.site-lineup .spec-table td { font-weight: 550; }
body.site-lineup .card-copy small { font-size: 12px; }
body.site-lineup .card-copy span, body.site-lineup .hub-filter button { font-size: 13px; }
body.site-lineup .cta p, body.site-lineup .footer-nav { font-size: 14px; }
body.site-lineup .footer-bottom { font-size: 12px; }

/* Company and Luming pages use the same type family and contrast. */
body.site-about .about-hero-copy>p:not(.eyebrow),
body.site-about .about-intro-grid p,
body.site-about .about-work-grid p,
body.site-about .profile-grid>div:first-child p { font-size: 16px; line-height: 1.85; color: inherit; }
body.site-about .about-work-grid p, body.site-about .profile dt { color: #425a64; }
body.site-about .profile dt, body.site-about .profile dd { font-size: 15px; }
body.site-about .profile-source, body.site-about .about-source { font-size: 13px; }
body.site-luming .main-nav { font-size: 13px; }
body.site-luming .chapter p:not(.eyebrow):not(.fine):not(.hero-rule):not(.product-caption) { font-size: clamp(16px, 1.18vw, 18px); line-height: 1.9; }
body.site-luming .chapter h2 { line-height: 1.42; }
body.site-luming .hero-chapter h1 { line-height: 1.32; }
body.site-luming .fine, body.site-luming .product-caption { font-size: 13px; line-height: 1.8; }
body.site-luming .footer-links { font-size: 13px; }
body.site-luming .footer-bottom p { font-size: 11px; }

/* Shared contact and dealer directory pages. */
.utility-hero { padding: clamp(74px, 8vw, 130px) clamp(22px, 6vw, 100px) 78px; background: #e8f1f3; }
.utility-inner { max-width: 1180px; margin: auto; }
.utility-hero .eyebrow { font-size: 12px; }
.utility-hero h1 { font-size: clamp(46px, 6vw, 80px); line-height: 1.2; margin: 24px 0; font-weight: 600; }
.utility-hero p:last-child { max-width: 43em; font-size: 17px; line-height: 1.85; color: #435b65; }
.utility-section { padding: 78px clamp(22px, 6vw, 100px); }
.utility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1180px; margin: auto; }
.utility-card { background: white; border: 1px solid #dce5e8; padding: clamp(25px, 3vw, 45px); }
.utility-card small { font-size: 12px; letter-spacing: .12em; color: #58717b; }
.utility-card h2 { font-size: clamp(25px, 3vw, 36px); margin: 16px 0; }
.utility-card p { font-size: 15px; color: #49616b; line-height: 1.8; }
.utility-card a { display: inline-block; font-size: clamp(17px, 2vw, 24px); font-weight: 650; border-bottom: 1px solid currentColor; margin-top: 20px; overflow-wrap: anywhere; }
.utility-note { max-width: 1180px; margin: 28px auto 0; color: #536a74; font-size: 14px; line-height: 1.85; }
.dealer-toolbar { max-width: 1180px; margin: 0 auto 26px; }
.dealer-toolbar label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 9px; }
.dealer-toolbar select { min-width: 230px; max-width: 100%; padding: 12px 15px; border: 1px solid #a9bdc5; background: #fff; border-radius: 2px; font-size: 15px; }
.dealer-list { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dealer-card { background: white; border: 1px solid #dce5e8; padding: 23px; }
.dealer-card[hidden] { display: none; }
.dealer-card small { color: #526e78; font-size: 12px; }
.dealer-card h2 { font-size: 17px; line-height: 1.5; margin: 10px 0; font-weight: 650; }
.dealer-card p { font-size: 14px; line-height: 1.7; color: #526670; margin: 0; }
.dealer-card a { display: inline-block; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; margin-top: 11px; }

@media (max-width: 1120px) {
  body.site-lineup .site-nav, body.site-home .site-nav, body.site-about .site-nav, body.site-luming .main-nav { display: none; }
  body.site-lineup .menu-toggle, body.site-home .menu-toggle, body.site-about .menu-toggle, body.site-luming .menu-toggle { display: flex; align-items: center; min-height: 44px; }
  body.site-lineup .site-nav.is-open, body.site-home .site-nav.is-open, body.site-about .site-nav.is-open,
  body.site-luming .main-nav.is-open { display: flex; }
  body.site-lineup .site-nav, body.site-home .site-nav, body.site-about .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #f8fafb; padding: 26px; flex-direction: column; align-items: stretch; gap: 18px; box-shadow: 0 14px 24px #132d381e; }
  body.site-luming .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #f8fafb; padding: 26px; flex-direction: column; align-items: stretch; gap: 18px; box-shadow: 0 14px 24px #132d381e; }
}
@media (max-width: 950px) {
  body.site-lineup .hero { grid-template-columns: 1fr; min-height: 0; padding: 56px clamp(24px, 5vw, 56px) 50px; }
  body.site-lineup .hero-copy { max-width: 700px; }
  body.site-lineup .hero-visual { height: clamp(330px, 51vw, 520px); margin-top: 22px; }
  body.site-lineup .hero h1 { font-size: clamp(48px, 7vw, 70px); }
  body.site-lineup .hero-intro { max-width: 40em; }
  body.site-lineup .hero-meta { display: none; }
  body.site-lineup .quick-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.site-lineup .quick-specs div:nth-child(2) { border: 0; }
  .dealer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { font-size: 15px; }
  body.site-home .hero-copy { padding: 46px 22px 31px; }
  body.site-home .hero h1 { font-size: clamp(42px, 10.5vw, 56px); }
  body.site-home .hero-lead { font-size: 18px; }
  body.site-home .hero-description { font-size: 15px; line-height: 1.8; }
  body.site-home .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  body.site-home .hero-actions .button { justify-content: space-between; width: 100%; font-size: 14px; }
  body.site-home .hero-showcase { margin-inline: 15px; }
  body.site-home .product-controls { align-items: start; }
  body.site-home .product-ident strong { font-size: 20px; }
  body.site-home .product-ident>p:last-child { font-size: 11px; }
  body.site-home .product-hero-actions>a { font-size: 11px; }
  body.site-home .showcase-note { font-size: 11px; }
  body.site-home .section { padding: 72px 22px; }
  body.site-home .vision-grid p, body.site-home .business-grid p, body.site-home .section-heading>p { font-size: 15px; }
  body.site-lineup .breadcrumb { font-size: 12px; padding: 16px 22px; }
  body.site-lineup .hero { padding: 38px 22px 33px; }
  body.site-lineup .hero-number { margin-bottom: 19px; }
  body.site-lineup .hero h1, body.site-lineup .hero h1.long { font-size: clamp(43px, 11vw, 56px); margin: 18px 0 23px; }
  body.site-lineup .hero-lede { font-size: 21px; margin-bottom: 17px; }
  body.site-lineup .hero-intro { font-size: 15px; line-height: 1.85; }
  body.site-lineup .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; margin-top: 26px; }
  body.site-lineup .hero-actions .button { width: 100%; justify-content: space-between; min-height: 54px; font-size: 14px; }
  body.site-lineup .hero-visual { height: 300px; margin-top: 28px; }
  body.site-lineup .hero-visual img { max-height: 300px; }
  body.site-lineup .quick-specs { padding: 25px 22px; gap: 24px; }
  body.site-lineup .quick-specs dt { font-size: 12px; }
  body.site-lineup .quick-specs dd { font-size: 26px; }
  body.site-lineup .section { padding: 72px 22px; }
  body.site-lineup .section-head h2 { font-size: 35px; }
  body.site-lineup .section-head p:last-child, body.site-lineup .feature p,
  body.site-lineup .photo-note, body.site-lineup .spec-foot { font-size: 14px; }
  body.site-lineup .feature { padding: 27px; }
  body.site-lineup .spec-table th, body.site-lineup .spec-table td { font-size: 14px; padding: 15px 8px; }
  body.site-about .about-hero-copy>p:not(.eyebrow), body.site-about .about-intro-grid p,
  body.site-about .about-work-grid p, body.site-about .profile-grid>div:first-child p { font-size: 15px; }
  body.site-about .profile dt, body.site-about .profile dd { font-size: 14px; }
  body.site-luming .hero-chapter h1 { font-size: clamp(43px, 11vw, 58px); }
  body.site-luming .chapter p:not(.eyebrow):not(.fine):not(.hero-rule):not(.product-caption) { font-size: 16px; }
  .utility-hero { padding: 68px 22px 59px; }
  .utility-hero p:last-child { font-size: 15px; }
  .utility-section { padding: 55px 22px; }
  .utility-grid, .dealer-list { grid-template-columns: 1fr; }
}


/* v011: give bold Japanese headlines room to breathe at every viewport. */
body :is(h1, h2, h3, h4) { letter-spacing: .025em !important; }
body :is(strong, b, th, dt) { letter-spacing: .018em; }
body :is(.button, button, .nav-contact) { letter-spacing: .025em !important; }
body :is(.hero-lede, .hero-lead) { letter-spacing: .012em !important; }
body.site-home .product-ident strong { letter-spacing: .025em; }
body .product-watermark { letter-spacing: 0 !important; }
body .brand-word { letter-spacing: .02em !important; }
body .compare-table th { letter-spacing: .018em !important; }


/* v012: common product hierarchy and narrow-screen containment. */
body.site-home .latest-stage { background:#d7e5e1; }
body.site-home .latest-stage::before { display:none; }
body.site-home .latest-stage #product-hero-image { inset:0; width:100%; height:100%; object-fit:cover; object-position:center; padding:0; filter:none; animation:none; }
body.site-home .latest-showcase .showcase-top { background:#e6f0ee; }
body.site-home .latest-card .vehicle-photo img, body.site-lineup .latest-card .card-photo img { width:100%; height:100%; object-fit:cover; filter:none; }
body.site-lineup.luming-ii-product .hero-visual img { object-fit:cover; height:clamp(360px,36vw,560px); border-radius:3px; filter:none; }
body.site-lineup.luming-ii-product .gallery-main img { object-fit:cover; padding:0; filter:none; }
body.site-lineup.luming-ii-product .thumb img { object-fit:cover; }
.luming-explore-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.luming-explore-grid a { display:flex; flex-direction:column; gap:11px; min-height:170px; padding:24px; background:#e9f1f2; border:1px solid #d4e0e4; }
.luming-explore-grid a:hover { background:#dcebed; }
.luming-explore-grid span { font-size:11px; letter-spacing:.12em; color:#58737d; }
.luming-explore-grid strong { font-size:21px; line-height:1.45; }
.luming-explore-grid small { margin-top:auto; font-size:12px; color:#47636e; }
@media(max-width:950px) { .luming-explore-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  body.site-home .hero { grid-template-columns:minmax(0,1fr); overflow:clip; }
  body.site-home .hero-copy { box-sizing:border-box; width:100%; min-width:0; max-width:100%; padding-inline:22px; }
  body.site-home .hero h1 { font-size:clamp(34px,10vw,48px); line-height:1.32; overflow-wrap:anywhere; text-wrap:initial; }
  body.site-home .hero-lead, body.site-home .hero-description, body.site-home .hero-actions { min-width:0; max-width:100%; }
  body.site-home .hero-showcase { box-sizing:border-box; width:auto; min-width:0; max-width:calc(100% - 30px); margin-inline:15px; }
  body.site-home .latest-stage { height:clamp(235px,76vw,330px); }
  body.site-home .latest-stage #product-hero-image { height:100%; bottom:auto; }
  body.site-home .latest-showcase .product-hero-actions { margin-left:auto; }
  body.site-lineup.luming-ii-product .hero-visual { height:300px; }
  body.site-lineup.luming-ii-product .hero-visual img { height:100%; }
  .luming-explore-grid { grid-template-columns:1fr; }
  .luming-explore-grid a { min-height:130px; }
}


/* v013: show the lineup photograph at a useful scale instead of a small image
   at the bottom of a tall card. Preserve the complete vehicle on mobile. */
body.site-lineup .hub-hero { grid-template-columns:minmax(0,1fr) minmax(500px,.95fr); }
body.site-lineup .hub-visual { align-self:center; height:clamp(310px,30vw,390px); min-height:0; }
body.site-lineup .hub-vehicle { display:grid; grid-template-rows:minmax(0,1fr) auto; align-items:stretch; justify-content:initial; padding:0; overflow:hidden; }
body.site-lineup .hub-visual .hub-vehicle img:first-child { width:100%; height:100%; min-height:0; max-height:none; position:static; }
body.site-lineup .hub-visual .hub-vehicle:first-child img { object-fit:cover; object-position:50% 68%; filter:none; }
body.site-lineup .hub-visual .hub-vehicle:last-child img { object-fit:contain; padding:14px; }
body.site-lineup .hub-vehicle span { align-self:stretch; margin:0; padding:13px 16px; background:rgba(242,248,249,.95); font-size:13px; }
@media(max-width:1100px) { body.site-lineup .hub-hero { grid-template-columns:minmax(0,1fr) minmax(280px,.9fr); } }
@media(max-width:720px) {
  body.site-lineup .hub-hero { grid-template-columns:minmax(0,1fr); }
  body.site-lineup .hub-hero h1 { font-size:clamp(38px,10vw,56px); }
  body.site-lineup .hub-visual { grid-template-columns:minmax(0,1fr); height:260px; min-height:0; margin-top:20px; }
  body.site-lineup .hub-vehicle:last-child { display:none; }
  body.site-lineup .hub-visual .hub-vehicle:first-child img { object-position:50% 72%; }
}


/* v014: two-column phone lineups, with image sizes independent of intrinsic pixels. */
body.site-home .lineup-grid,
body.site-lineup .card-grid {
  min-width: 0;
}
body.site-home .lineup-grid > .vehicle-card,
body.site-home .vehicle-card-link,
body.site-home .vehicle-content,
body.site-lineup .card-grid > .product-card,
body.site-lineup .card-copy {
  min-width: 0;
}

/* A replaced image must not set the grid track's automatic minimum width.
   Keep the existing photo ratio and inset; let the card determine its size. */
body.site-lineup .card-grid .card-photo {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
body.site-lineup .card-grid .card-photo img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  min-width: 0;
  min-height: 0;
}

@media (max-width: 950px) {
  body.site-lineup .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.site-home .lineup-grid,
  body.site-lineup .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
  body.site-home .vehicle-photo,
  body.site-lineup .card-grid .card-photo {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
  }
  body.site-home .vehicle-photo img,
  body.site-lineup .card-grid .card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 8px;
    object-fit: contain;
  }
  body.site-home .latest-card .vehicle-photo img,
  body.site-lineup .card-grid .latest-card .card-photo img {
    padding: 0;
    object-fit: cover;
  }
  body.site-home .vehicle-content {
    padding: 14px 10px 8px;
  }
  body.site-lineup .card-copy {
    padding: 14px 10px 16px;
  }
  body.site-home .vehicle-category,
  body.site-lineup .card-copy small {
    display: block;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
  }
  body.site-home .vehicle-content h3,
  body.site-lineup .card-copy h3 {
    font-size: clamp(16px, 4vw, 22px);
    line-height: 1.4;
    margin: 8px 0;
    overflow-wrap: anywhere;
  }
  body.site-home .vehicle-content p,
  body.site-lineup .card-copy p {
    font-size: 12px;
    line-height: 1.75;
    min-height: 0;
  }
  body.site-lineup .card-copy p {
    margin-bottom: 18px;
  }
  body.site-home .vehicle-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 12px;
    padding-top: 10px;
    font-size: 10px;
    line-height: 1.7;
  }
  body.site-home .vehicle-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  body.site-home .vehicle-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 10px 14px;
  }
  body.site-home .vehicle-bottom a,
  body.site-home .vehicle-bottom button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 11px;
    line-height: 1.5;
  }
  body.site-lineup .card-copy span {
    font-size: 12px;
  }
  body.site-lineup .hub-filter {
    gap: 8px;
  }
  body.site-lineup .hub-filter button {
    min-height: 44px;
  }
}

/* v015: roof model names and narrow card text */
.roof-card h3{overflow-wrap:anywhere;letter-spacing:-.025em}.roof-page .hero h1{overflow-wrap:anywhere;letter-spacing:-.045em}
@media(max-width:600px){.roof-card h3{font-size:clamp(16px,4vw,24px)}.roof-page .hero h1{font-size:clamp(31px,8.6vw,54px)}}
