@import url('/assets/fonts/fonts.css');

:root {
  --ink-950: oklch(0.145 0.012 264);
  --ink-900: oklch(0.19 0.012 264);
  --ink-850: oklch(0.225 0.012 264);
  --paper: oklch(0.985 0 0);
  --muted: oklch(0.82 0.006 264);
  --line: oklch(0.31 0.01 264);
  --orange: oklch(0.705 0.2 48);
  --bg: var(--ink-950);
  --surface: var(--ink-900);
  --text: var(--paper);
  --text-muted: var(--muted);
  --accent: var(--orange);
  --container: 1260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
h1, h2, h3, h4, h5, h6, .display {
  font-family: 'Tektur', sans-serif;
  font-weight: 600;
  line-height: 1;
}
p { max-width: 75ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: fixed; left: 16px; top: 8px; z-index: 30;
  padding: 10px 16px; background: var(--paper); color: var(--bg);
  transform: translateY(-150%); transition: transform .2s ease-out;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--container), calc(100% - 180px)); margin-inline: auto; }
.wide-container { width: min(1296px, calc(100% - 144px)); margin-inline: auto; }
.muted { color: var(--text-muted); }
.alt-surface { background: var(--surface); }

/* Shared navigation */
.site-header {
  height: 143px; display: flex; align-items: flex-start;
  padding: 46px 12px 0; border-bottom: 1px solid var(--line);
  background: var(--bg); position: sticky; top: 0; z-index: 20;
  box-shadow: 0 12px 30px rgb(0 0 0 / 22%);
}
.brand { width: 194px; height: 31px; flex: 0 0 auto; }
.brand img { width: 194px; height: 31px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 33px; margin-left: 34px; }
.desktop-nav a {
  min-height: 24px; font-size: 18px; line-height: 24px; white-space: nowrap;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; transition: text-decoration-color .2s ease-out, color .2s ease-out;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a[aria-current='page'] {
  text-decoration-color: currentColor;
}
.header-actions { display: flex; align-items: center; margin-left: auto; }
.login-button {
  width: 46px; height: 43px; margin: -8px 150px 0 0; padding: 6px;
  border: 0; background: transparent; border-radius: 50%;
  transition: transform .2s ease-out, background-color .2s ease-out;
}
.login-button:hover { transform: scale(1.06); background: var(--surface); }
.login-button svg { width: 32px; height: 32px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px 6px; }
.menu-button span { display: block; width: 26px; height: 2px; margin: 5px auto; background: var(--text); transition: transform .2s ease-out, opacity .2s ease-out; }
.menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

.site-footer {
  min-height: 154px; display: grid; place-items: center;
  border-top: 1px solid var(--line); color: var(--text-muted);
  font-size: 15.75px; text-align: center; padding: 32px 24px;
}

/* Motion is additive: content remains visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal { transition: opacity .65s cubic-bezier(.19,1,.22,1), transform .65s cubic-bezier(.19,1,.22,1); }

/* Home */
.home-hero {
  height: 840px; position: relative; overflow: hidden; isolation: isolate;
  background: #07111f;
}
.home-hero-content { width: 1040px; margin-left: max(24px, calc((100% - 1040px)/2 + 40px)); padding-top: 123px; }
.home-hero h1 { font-size: 72px; line-height: 1; letter-spacing: -1px; }
.home-hero p { width: 720px; margin-top: 36px; font-size: 20.25px; line-height: 1.3; }
.home-services { padding-top: 87px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; margin-bottom: 56px; }
.service-row:last-child { margin-bottom: 94px; }
.service-link { cursor: pointer; }
.service-link .service-copy h3 { transition: color .2s ease-out; }
.service-link:hover .service-copy h3, .service-link:focus-visible .service-copy h3 { color: var(--accent); }
.service-image { width: 100%; aspect-ratio: 1.784; object-fit: cover; border-radius: 6px; }
.service-copy h3 { font-size: 36px; line-height: 1.1; }
.service-copy p { margin-top: 55px; font-size: 18px; line-height: 1.4; }
.service-row:nth-child(even) .service-image { order: 2; }
.service-row:nth-child(even) .service-copy { order: 1; }

/* Single-page anchor sections */
[data-nav-section] { scroll-margin-top: 167px; }

/* MaaS */
.maas-section { padding: 124px 0 148px; }
.section-kicker { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .14em; }
.maas-hero { max-width: 930px; }
.maas-hero h2 { margin-top: 18px; font-size: 54px; }
.maas-hero > p:last-child { margin-top: 27px; font-size: 20.25px; line-height: 1.3; color: var(--text-muted); max-width: 930px; }
.maas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.maas-card { min-height: 220px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 30px; transition: border-color .2s ease-out, transform .2s ease-out; }
.maas-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.maas-card h3 { font-size: 24px; line-height: 1.1; }
.maas-card p { margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--text-muted); }
.maas-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 36px; }
.maas-flow > div { border: 1px solid var(--line); border-radius: 16px; background: #0d1420; padding: 22px; }
.maas-flow > div > span { color: var(--accent); font-family: 'Tektur', sans-serif; font-size: 13px; }
.maas-flow strong { display: block; margin-top: 10px; font-family: 'Tektur', sans-serif; font-size: 20px; line-height: 1.1; }
.maas-flow small { display: block; margin-top: 8px; color: var(--text-muted); font-size: 14px; line-height: 1.35; }
.maas-arrow { align-self: center; color: var(--accent); font-size: 26px; }
.maas-catalog { margin-top: 104px; text-align: center; }
.maas-catalog h3 { font-size: 36px; line-height: 1.1; }
.maas-catalog > p { margin: 18px auto 0; color: var(--text-muted); font-size: 18px; line-height: 1.45; max-width: 880px; }
.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 48px; text-align: left; }
.model-card { min-height: 164px; border: 1px solid var(--line); border-radius: 14px; background: #0d1420; padding: 20px; transition: border-color .2s ease-out, transform .2s ease-out; }
.model-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.model-card > span { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.model-card h4 { margin-top: 10px; font-size: 20px; line-height: 1.1; }
.model-card p { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.maas-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 44px; padding: 12px 24px; background: var(--accent); color: #111; font-size: 16px; transition: filter .2s ease-out, transform .2s ease-out; }
.maas-cta:hover { filter: brightness(1.08); }
.maas-cta:active { transform: scale(.99); }

/* AI Factory */
.ai-intro { min-height: 579px; padding-top: 90px; text-align: center; }
.ai-intro h2 { font-size: 72px; }
.ai-intro p { margin: 100px auto 0; font-size: 20.25px; color: var(--text-muted); }
.ai-intro img { width: 812px; height: 189px; object-fit: contain; margin: 38px auto 0; }
.ai-row { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.ai-row h2 { font-size: 54px; }
.ai-row p { margin-top: 36px; font-size: 18px; line-height: 1.3; color: var(--text-muted); }
.ai-built { margin-top: 134px; margin-bottom: 267px; }
.ai-built img { width: 590px; height: 583px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #05090d; }
.ai-built .ai-copy { padding-top: 46px; }
.ai-managed { margin-bottom: 130px; }
.ai-managed img { width: 435px; height: 433px; object-fit: contain; justify-self: end; border-radius: 8px; }
.ai-managed p { margin-top: 18px; }
.ai-orchestration { padding: 64px 0 167px; }
.ai-orchestration img { width: 586px; height: 503px; object-fit: contain; border-radius: 6px; }
.ai-orchestration .ai-copy { padding-right: 24px; }
.ai-orchestration p { margin-top: 27px; }
.ai-self { margin-top: 145px; margin-bottom: 275px; }
.ai-self img { width: 607px; height: 260px; object-fit: contain; justify-self: end; }
.ai-final { margin-bottom: 113px; }
.ai-final img { width: 605px; height: 338px; object-fit: contain; border-radius: 8px; }
.ai-final p { margin-top: 27px; }

/* Model Tuning */
.model-intro { width: min(1350px, calc(100% - 90px)); margin: 0 auto; padding-top: 90px; display: grid; grid-template-columns: 1fr 541px; gap: 90px; align-items: center; }
.model-intro h2 { font-size: 54px; }
.model-intro p { margin-top: 27px; font-size: 20.25px; line-height: 1.3; }
.model-intro img { width: 541px; height: 131px; object-fit: contain; }
.model-row { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.model-row h3 { font-size: 36px; line-height: 1.1; }
.model-row p { margin-top: 26px; font-size: 20.25px; line-height: 1.3; }
.model-row img { width: 100%; object-fit: contain; border-radius: 6px; }
.model-method { margin-top: 242px; }
.model-method img { height: 259px; margin-top: 12px; }
.model-scale { margin-top: 347px; }
.model-scale img { height: 518px; }
.model-scale .model-copy { padding-top: 188px; }
.model-precision { margin-top: 271px; }
.model-precision img { height: 546px; }
.model-precision .model-copy { padding-top: 57px; }
.model-capacity { margin-top: 203px; }
.model-capacity img { height: 243px; }
.model-capacity .model-copy { padding-top: 45px; }
.model-end { margin-top: 262px; margin-bottom: 230px; }
.model-end img { height: 568px; }
.model-end .model-copy { padding-top: 45px; }

/* Contact */
.contact-main { padding-top: 90px; }
.contact-main h2 { font-size: 54px; }
.contact-intro > p { margin-top: 27px; font-size: 20.25px; line-height: 1.3; max-width: 720px; }
.business-email { margin-top: 54px; }
.business-email h6 { font-size: 18px; line-height: 1.1; }
.business-email a { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 20.25px; }
.business-email p { margin-top: 36px; color: var(--text-muted); }
.inquiry-section { margin-top: 180px; }
.inquiry-section > p { margin-top: 26px; font-size: 20.25px; line-height: 1.3; max-width: 720px; }
.inquiry-form { width: 720px; max-width: 100%; margin-top: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 10px; font-size: 14px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 42px; border: 1px solid #252a31; border-radius: 3px;
  background: #14171c; color: var(--text); padding: 9px 12px; font-size: 16px;
  transition: border-color .2s ease-out, background-color .2s ease-out;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--accent); }
.form-field textarea { min-height: 94px; resize: vertical; }
.form-field ::placeholder { color: #a5a7ab; opacity: 1; }
.submit-button {
  width: 100%; min-height: 42px; border: 0; border-radius: 1px;
  background: var(--accent); color: #111; font-size: 16px;
  transition: filter .2s ease-out, transform .2s ease-out;
}
.submit-button:hover { filter: brightness(1.08); }
.submit-button:active { transform: scale(.995); }
.form-status { min-height: 26px; margin-top: 14px; color: var(--text-muted); font-size: 15px; }
.support-section { margin-top: 184px; margin-bottom: 110px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 54px; }
.support-card { min-height: 162px; border: 1px solid var(--text); border-radius: 20px; padding: 34px 36px; }
.support-card h5 { font-size: 22.5px; line-height: 1.1; }
.support-card p { margin-top: 18px; font-size: 18px; line-height: 1.3; }

/* REI-AI Storage Battery System */
.rei-intro { padding-top: 90px; }
.rei-intro h2 { font-size: 54px; text-align: center; }
.rei-intro-grid { display: grid; grid-template-columns: 792px 475px; gap: 29px; margin-top: 59px; align-items: start; }
.rei-intro-grid img { width: 792px; height: 562px; object-fit: contain; }
.rei-intro-grid p { font-size: 20.25px; line-height: 1.3; }
.rei-intro-grid p + p { margin-top: 26.333px; }
.rei-overview { margin-top: 85px; padding: 117px 0 0; }
.rei-overview h4 { font-size: 27px; line-height: 1.1; text-align: center; }
.rei-summary { width: 1008px; max-width: 100%; margin: 26px auto 0; text-align: center; line-height: 1.3; }
.rei-summary p:first-child { min-height: 70px; }
.rei-summary p:nth-child(2) { min-height: 47px; }
.rei-summary p + p { margin-top: 0; }
.rei-summary p:nth-child(3) { margin-top: 24px; }
.rei-detail-grid { display: grid; grid-template-columns: 603px 603px; column-gap: 54px; row-gap: 0; margin-top: 71px; }
.rei-detail-images { display: flex; flex-direction: column; align-items: center; }
.rei-product { width: 603px; max-width: 100%; height: 272px; object-fit: contain; }
.rei-applications { width: 362px; height: 362px; object-fit: contain; margin-top: 82px; }
.rei-list { color: var(--text-muted); line-height: 1.3; }
.rei-list p + p { margin-top: 24px; }
.rei-list .group-gap { margin-top: 46px; }
.rei-forecast { grid-column: 1 / -1; width: 903px; max-width: 100%; height: 602px; object-fit: fill; margin: -125px 0 0 134px; }
.rei-spec-section { padding-top: 34px; margin-bottom: 92px; }
.rei-spec-section h4 { font-size: 27px; line-height: 1.1; text-align: center; }
.rei-spec-layout { display: grid; grid-template-columns: 780px 389px; gap: 75px; margin-top: 86px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 17.5px 12px; text-align: left; vertical-align: middle; font-weight: 400; line-height: 1.3; }
.spec-table thead th { font-family: 'Tektur', sans-serif; font-weight: 600; }
.spec-table thead th:first-child { background: #30313a; }
.spec-table tbody th { width: 264px; background: #17191e; }
.rei-spec-image { width: 389px; height: 389px; object-fit: contain; }

/* Dialog */
.login-dialog {
  width: min(460px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); padding: 32px;
}
.login-dialog::backdrop { background: rgb(0 0 0 / 72%); }
.login-dialog h2 { font-size: 32px; }
.login-dialog p { margin-top: 20px; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.dialog-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.dialog-actions a, .dialog-actions button { min-height: 44px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 3px; background: transparent; }
.dialog-actions a { background: var(--accent); color: #111; border-color: var(--accent); }

@media (max-width: 1200px) and (min-width: 901px) {
  .site-header { padding-left: 20px; }
  .desktop-nav { gap: 12px; margin-left: 20px; }
  .desktop-nav a { font-size: 15px; }
  .login-button { margin-right: 0; }
  .container, .wide-container { width: calc(100% - 80px); }
  .home-hero-content { width: calc(100% - 48px); margin-left: 24px; }
  .home-hero h1 { font-size: 60px; }
  .maas-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .rei-intro-grid { grid-template-columns: 1.4fr 1fr; }
  .rei-intro-grid img { width: 100%; height: auto; }
  .rei-summary p:first-child { min-height: 0; }
  .rei-detail-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .rei-forecast { width: 100%; height: auto; margin: 40px auto 0; object-fit: contain; }
  .rei-spec-layout { grid-template-columns: 1fr 320px; gap: 30px; }
  .rei-spec-image { width: 320px; height: auto; }
}

@media (max-width: 900px) {
  body { font-size: 18px; line-height: 1.3; }
  [data-nav-section] { scroll-margin-top: 104px; }
  .container, .wide-container { width: calc(100% - 48px); }
  .site-header { height: 84px; padding: 18px 24px 0; align-items: flex-start; }
  .brand, .desktop-nav { display: none; }
  .header-actions { margin: 0; order: 1; }
  .login-button { margin: -2px 0 0; width: 40px; height: 40px; padding: 4px; }
  .menu-button { display: block; order: 2; margin: -1px 0 0 20px; }
  .mobile-nav {
    display: block; position: fixed; inset: 84px 0 0; z-index: 11;
    background: var(--bg); padding: 32px 24px; visibility: hidden; opacity: 0;
    transform: translateY(-12px); transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s;
  }
  .mobile-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 20px; }
  .mobile-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 5px; }
  body.menu-open { overflow: hidden; }
  .site-footer { min-height: 149px; font-size: 14px; padding: 32px 24px; }

  .home-hero { height: 586px; margin-top: 0; }
  .home-hero-content { width: calc(100% - 48px); margin-left: 24px; padding-top: 109px; }
  .home-hero h1 { font-size: 30px; letter-spacing: 0; }
  .home-hero p { width: 100%; margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .home-services { padding-top: 81px; }
  .service-row { display: flex; flex-direction: column; gap: 0; margin-bottom: 41px; }
  .service-row:last-child { margin-bottom: 71px; }
  .service-image { width: 100%; height: 190px; aspect-ratio: auto; object-fit: cover; }
  .service-copy h3 { margin-top: 41px; font-size: 24px; line-height: 1.1; }
  .service-copy p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .service-row:nth-child(even) .service-image, .service-row:nth-child(even) .service-copy { order: initial; }



  .maas-section { padding: 88px 0 104px; }
  .section-kicker { font-size: 12px; }
  .maas-hero h2 { margin-top: 14px; font-size: 28px; }
  .maas-hero > p:last-child { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .maas-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .maas-card { min-height: 0; padding: 24px; border-radius: 16px; }
  .maas-card h3 { font-size: 22px; }
  .maas-card p { margin-top: 12px; font-size: 16px; line-height: 1.35; }
  .maas-flow { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .maas-arrow { justify-self: center; transform: rotate(90deg); }
  .maas-catalog { margin-top: 72px; }
  .maas-catalog h3 { font-size: 28px; }
  .maas-catalog > p { margin-top: 12px; font-size: 16px; line-height: 1.35; }
  .model-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
  .model-card { min-height: 0; padding: 18px; }
  .model-card h4 { font-size: 18px; }
  .model-card p { font-size: 14px; }
  .maas-cta { margin-top: 36px; }

  .ai-intro { min-height: 365px; padding-top: 80px; }
  .ai-intro h2 { font-size: 30px; }
  .ai-intro p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .ai-intro img { width: 100%; height: 79px; margin-top: 31px; object-fit: contain; }
  .ai-row { display: flex; flex-direction: column; gap: 0; }
  .ai-row h2 { font-size: 28px; }
  .ai-row p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .ai-built { margin-top: 111px; margin-bottom: 200px; }
  .ai-built img { width: 100%; height: 298px; }
  .ai-built .ai-copy { padding-top: 41px; }
  .ai-managed { margin-bottom: 88px; }
  .ai-managed .ai-copy { order: 1; }
  .ai-managed img { order: 2; width: 100%; height: 298px; margin-top: 33px; }
  .ai-orchestration { padding: 74px 0 30px; }
  .ai-orchestration img { width: 100%; height: 292px; }
  .ai-orchestration .ai-copy { padding: 41px 0 0; }
  .ai-self { margin-top: 173px; margin-bottom: 219px; }
  .ai-self .ai-copy { order: 1; }
  .ai-self img { order: 2; width: 100%; height: 147px; margin-top: 32px; object-fit: cover; }
  .ai-final { margin-bottom: 86px; }
  .ai-final .ai-copy { order: 2; }
  .ai-final img { order: 1; width: 100%; height: 191px; margin-bottom: 40px; object-fit: cover; }

  .model-intro { width: calc(100% - 48px); display: block; padding-top: 80px; }
  .model-intro h2 { font-size: 28px; }
  .model-intro p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .model-intro img { width: 100%; height: auto; margin-top: 32px; }
  .model-row { display: flex; flex-direction: column; gap: 0; }
  .model-row h3 { font-size: 24px; }
  .model-row p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .model-method p, .model-scale p, .model-end p { margin-top: 11px; }
  .model-row img { width: 100%; height: auto; }
  .model-method { margin-top: 219px; }
  .model-method .model-copy { order: 1; }
  .model-method img { order: 2; margin-top: 33px; }
  .model-scale { margin-top: 299px; }
  .model-scale .model-copy { order: 2; padding-top: 40px; }
  .model-scale img { order: 1; height: 300px; object-fit: cover; }
  .model-precision { margin-top: 241px; }
  .model-precision .model-copy { order: 2; padding-top: 40px; }
  .model-precision img { order: 1; }
  .model-capacity { margin-top: 220px; }
  .model-capacity .model-copy { order: 2; padding-top: 40px; }
  .model-capacity img { order: 1; }
  .model-end { margin-top: 300px; margin-bottom: 150px; }
  .model-end .model-copy { order: 2; padding-top: 41px; }
  .model-end img { order: 1; height: 300px; object-fit: cover; }

  .contact-main { padding-top: 80px; }
  .contact-main h2 { font-size: 28px; }
  .contact-intro > p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .business-email { margin-top: 40px; }
  .business-email h6 { font-size: 16px; }
  .business-email a { margin-top: 12px; font-size: 16px; }
  .business-email p { margin-top: 11px; font-size: 16px; }
  .inquiry-section { margin-top: 160px; }
  .inquiry-section > p { margin-top: 12px; font-size: 16px; line-height: 1.3; }
  .inquiry-form { margin-top: 36px; }
  .form-grid { gap: 20px; }
  .form-field { margin-bottom: 20px; }
  .form-field input, .form-field textarea, .form-field select { min-height: 42px; }
  .support-section { margin-top: 166px; margin-bottom: 67px; }
  .support-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .support-card { min-height: 122px; padding: 24px; border-radius: 20px; }
  .support-card h5 { font-size: 18px; }
  .support-card p { margin-top: 11px; font-size: 16px; }

  .rei-intro { padding-top: 80px; }
  .rei-intro h2 { font-size: 28px; line-height: 1; }
  .rei-intro-grid { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
  .rei-intro-grid img { width: 100%; height: auto; }
  .rei-intro-copy { margin-top: 23px; }
  .rei-intro-grid p { font-size: 16px; line-height: 1.3; }
  .rei-intro-grid p + p { margin-top: 21px; }
  .rei-overview { margin-top: 80px; padding: 82px 0 76px; }
  .rei-overview h4 { font-size: 20px; }
  .rei-summary { margin-top: 10px; font-size: 16px; }
  .rei-summary p + p { margin-top: 0; }
  .rei-summary p:first-child { min-height: 146px; }
  .rei-summary p:nth-child(2) { min-height: 62px; }
  .rei-summary p:nth-child(3) { margin-top: 21px; }
  .rei-detail-grid { display: flex; flex-direction: column; gap: 0; margin-top: 39px; }
  .rei-product { width: 100%; height: auto; max-height: 154px; }
  .rei-list { order: 2; margin-top: 24px; font-size: 16px; }
  .rei-list p + p { margin-top: 21px; }
  .rei-detail-images { display: contents; }
  .rei-applications { order: 3; width: 100%; height: 300px; margin-top: 40px; }
  .rei-forecast { order: 4; width: 100%; height: calc((100vw - 48px) * .666667); margin: 24px 0 0; object-fit: fill; }
  .rei-spec-section { padding-top: 56px; margin-bottom: 43px; }
  .rei-spec-section h4 { font-size: 20px; line-height: 1.1; }
  .rei-spec-layout { display: flex; flex-direction: column; gap: 48px; margin-top: 72px; }
  .spec-table { display: block; width: 300px; max-width: 100%; margin: 0 auto; font-size: 16px; }
  .spec-table thead, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { border-bottom: 1px solid var(--line); padding: 35.7px 0; }
  .spec-table th, .spec-table td { border: 0; padding: 16px 24px; }
  .spec-table tbody th { padding-left: 25px; padding-right: 0; }
  .spec-table tbody td { padding-left: 27px; margin-top: 16px; }
  .spec-table tbody tr:nth-child(1) { height: 186px; }
  .spec-table tbody tr:nth-child(2) { height: 186px; }
  .spec-table tbody tr:nth-child(3) { height: 186px; }
  .spec-table tbody tr:nth-child(4) { height: 206px; }
  .spec-table tbody tr:nth-child(5) { height: 206px; }
  .spec-table tbody tr:nth-child(6) { height: 207px; }
  .spec-table tbody tr:nth-child(7) { height: 206px; }
  .spec-table tbody tr:nth-child(8) { height: 186px; }
  .spec-table tbody tr:nth-child(9) { height: 185px; }
  .spec-table tbody tr:nth-child(10) { height: 186px; }
  .spec-table tbody tr:nth-child(11) { height: 206px; }
  .spec-table tbody tr:nth-child(12) { height: 207px; }
  .spec-table tbody tr:nth-child(13) { height: 206px; }
  .spec-table tbody tr:nth-child(14) { height: 206px; }
  .spec-table tbody tr:nth-child(15) { height: 207px; }
  .spec-table tbody tr:nth-child(16) { height: 165px; }
  .spec-table thead tr { padding: 0 0 18px; }
  .spec-table thead th { padding: 24px 24px 24px 25px; line-height: 1.1; }
  .spec-table thead th + th { padding-left: 27px; }
  .spec-table thead th:first-child, .spec-table tbody th { width: 198px; max-width: 100%; margin-left: 26px; background: #1c1f25; }
  .spec-table tbody th { margin-top: 0; }
  .rei-spec-image { width: 100%; height: 300px; }
}

@media (max-width: 560px) {
  .model-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Static error page */
.error-main { min-height: calc(100dvh - 297px); display: grid; place-items: center; padding: 80px 24px; text-align: center; }
.error-main h1 { font-size: clamp(48px, 8vw, 96px); }
.error-main h2 { margin-top: 24px; font-size: 32px; }
.error-main p { margin: 24px auto 0; color: var(--text-muted); }
.error-home { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 32px; padding: 12px 24px; background: var(--accent); color: #111; }
@media (max-width: 900px) {
  .error-main { min-height: calc(100dvh - 233px); padding-block: 64px; }
  .error-main h2 { font-size: 26px; }
}