:root {
  --ink: #232630;
  --ink-2: #343946;
  --muted: #626875;
  --paper: #f7f0df;
  --paper-2: #ece1cb;
  --card: #fffaf1;
  --line: #d8cbb5;
  --blue: #3d75d7;
  --blue-dark: #2f5eae;
  --green: #438e62;
  --mint: #d9efe0;
  --yellow: #d4a932;
  --shadow: 0 18px 60px rgba(35, 38, 48, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbf6e9 0, var(--paper) 420px),
    var(--paper);
  color: var(--ink);
  font-family: "Work Sans", system-ui, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.shell { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(35, 38, 48, .08); background: color-mix(in srgb, #fbf6e9 88%, transparent); backdrop-filter: blur(14px); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.brand img { border-radius: 50%; object-fit: cover; box-shadow: 0 8px 22px rgba(35, 38, 48, .14); }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s ease; }
.nav-links a:not(.button):hover, .note a:hover, .footer-links a:hover { color: var(--blue); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 0; border-radius: 8px; padding: 0 22px; text-decoration: none; font: 700 15px "Work Sans", sans-serif; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--blue); color: #fff; }
.button-blue { background: var(--blue); color: #fff; }
.button-blue:hover { background: var(--blue-dark); }
.button-ghost { border: 1px solid var(--line); background: rgba(255, 250, 241, .62); color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); background: var(--card); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); align-items: center; gap: 58px; min-height: calc(100svh - 88px); padding: 40px 0 62px; }
.hero h1, .page-hero h1 { margin: 0 0 22px; font: 700 clamp(44px, 7vw, 76px)/.96 "Space Grotesk", sans-serif; letter-spacing: 0; text-wrap: balance; }
.lead { max-width: 590px; margin: 0 0 30px; color: #4d535f; font-size: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0 0 24px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 24px; }
.hero-art { position: relative; padding: 22px; border: 1px solid rgba(35, 38, 48, .1); border-radius: 8px; background: linear-gradient(145deg, rgba(255,250,241,.86), rgba(236,225,203,.55)); box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.hero-art::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: 2%; height: 26px; border-radius: 999px; background: rgba(40,43,53,.12); filter: blur(6px); z-index: -1; }
.van-photo { width: 100%; border-radius: 8px; object-fit: cover; }
.van-badge { position: absolute; display: grid; gap: 2px; min-width: 132px; padding: 12px 14px; border: 1px solid rgba(35,38,48,.14); border-radius: 8px; background: rgba(255,250,241,.92); box-shadow: 0 14px 34px rgba(35,38,48,.13); }
.van-badge strong { font: 700 22px/1 "Space Grotesk", sans-serif; }
.van-badge span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.van-badge.top { top: 26px; right: 18px; }
.van-badge.bottom { left: 18px; bottom: 26px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.inline-form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 10px; max-width: 520px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,250,241,.72); box-shadow: 0 10px 30px rgba(35,38,48,.07); }
input, select, textarea { width: 100%; border: 2px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); font: 500 15px "Work Sans", sans-serif; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input, select { min-height: 52px; padding: 0 14px; }
textarea { padding: 13px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,117,215,.12); }
.form-message { grid-column: 1 / -1; min-height: 20px; margin: 0; color: #327c51; font-weight: 700; font-size: 14px; }
.fine-print { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.band-dark { background: var(--ink); color: var(--paper); }
.meaning { padding: 56px 0; border-block: 1px solid rgba(255,250,241,.12); }
.meaning-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; }
.kanji { font: 700 68px/1 "Space Grotesk", sans-serif; color: #f4d67a; }
.meaning p:last-child { max-width: 700px; margin: 0; font-size: 19px; }

.section { padding: 90px 0; }
.section-muted { background: linear-gradient(180deg, var(--paper-2), #f0e6d4); }
.section h2, .cta-band h2 { max-width: 720px; margin: 0 0 40px; font: 700 38px/1.12 "Space Grotesk", sans-serif; letter-spacing: 0; }
.section-intro { max-width: 640px; margin: -28px 0 40px; color: var(--muted); }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.green { color: var(--green) !important; }
.blue { color: var(--blue) !important; }
.blue-light { color: #8fb2e8 !important; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card, .menu-item, .booking-form, .schedule-table, .sim-panel, .result-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.card { position: relative; min-height: 232px; padding: 30px; box-shadow: 0 14px 34px rgba(35,38,48,.07); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover, .menu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3, .next-stop h3 { margin: 0 0 10px; font: 700 20px/1.2 "Space Grotesk", sans-serif; }
.card p { margin: 0; color: #4d535f; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 8px; font-weight: 800; }
.battery { background: #dff0df; color: var(--green); }
.sun { background: #f4e8bd; color: #9a7618; }
.road { background: #dce8fb; color: var(--blue); }

.schedule-table { overflow: hidden; box-shadow: var(--shadow); }
.table-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 18px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.table-row:not(.table-head):hover { background: #fff5df; }
.table-row:last-child { border-bottom: 0; }
.table-row span:first-child { font-weight: 700; }
.table-head { background: var(--ink); color: var(--paper); padding-block: 18px; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.note { color: var(--muted); }
.note a { color: var(--blue); font-weight: 700; text-decoration: none; }

.location-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .85fr); gap: 32px; align-items: stretch; }
.map-card { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2); box-shadow: var(--shadow); }
.map-card svg { border-radius: 8px; }
.next-stop { padding: 32px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.next-stop p { color: #c8cbd0; }

.cta-band { padding: 76px 0; background: linear-gradient(135deg, #92b6ea, #d9efe0); }
.center { text-align: center; }
.center h2 { margin-inline: auto; color: var(--ink); }
.center p { margin: -24px 0 26px; color: #39404b; }

.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: end; gap: 52px; padding: 62px 0 76px; }
.page-hero h1 { max-width: 760px; font-size: clamp(42px, 6vw, 60px); }
.service-summary { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.service-summary > span { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.service-summary > strong { font: 700 23px/1.18 "Space Grotesk", sans-serif; }
.service-summary dl { display: grid; gap: 14px; margin: 0; }
.service-summary dl div { display: flex; justify-content: space-between; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.service-summary dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.service-summary dd { margin: 0; font-weight: 800; text-align: right; }
.battery-hero { align-items: center; }
.battery-summary { background: linear-gradient(180deg, var(--card), #edf4ff); }
.menu-group { margin-top: 38px; }
.menu-group h3 { margin: 0 0 18px; color: var(--blue); font: 700 19px "Space Grotesk", sans-serif; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.menu-item { display: flex; justify-content: space-between; gap: 18px; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.menu-item.featured { border-color: rgba(61,117,215,.45); background: linear-gradient(180deg, #fffaf1, #edf4ff); }
.menu-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.menu-item b { white-space: nowrap; color: #4d535f; }

.booking { max-width: 900px; }
.booking-form { display: grid; gap: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-head strong { font: 700 20px "Space Grotesk", sans-serif; }
.form-head span { color: var(--muted); font-size: 13px; font-weight: 700; }
.booking-form label { display: grid; gap: 7px; color: #4d535f; font-size: 13px; font-weight: 700; }
.field-grid { display: grid; gap: 18px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booking-form .button { justify-self: start; }

.simulator-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr); gap: 28px; align-items: start; }
.sim-panel { display: grid; gap: 22px; padding: 28px; box-shadow: var(--shadow); }
.sim-panel fieldset { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); }
.sim-panel fieldset:last-child { padding-bottom: 0; border-bottom: 0; }
.sim-panel legend { margin: 0 0 16px; padding: 0; font: 700 20px "Space Grotesk", sans-serif; }
.sim-results { position: sticky; top: 112px; display: grid; gap: 16px; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.result-card { display: grid; gap: 6px; padding: 20px; box-shadow: 0 12px 30px rgba(35,38,48,.07); }
.result-card.primary { padding: 26px; background: var(--ink); color: var(--paper); }
.result-card.primary.good { background: #244f39; }
.result-card.primary.warn { background: #6d541f; }
.result-card.primary.bad { background: #70312f; }
.result-card span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.result-card.primary span, .result-card.primary p { color: rgba(255,250,241,.78); }
.result-card strong { font: 700 25px/1.05 "Space Grotesk", sans-serif; }
.result-card.primary strong { font-size: 34px; }
.result-card p { margin: 0; color: var(--muted); }
.source-note { max-width: 900px; margin-top: 24px; }

.site-footer { padding: 56px 0 32px; background: var(--ink); color: #c8cbd0; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; }
.footer-brand { color: var(--paper); font-size: 18px; }
.site-footer p { max-width: 350px; color: #9fa4ad; font-size: 14px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-links div:not(.socials) { display: grid; gap: 10px; align-content: start; }
.footer-links strong { color: var(--paper); font-size: 13px; }
.footer-links a { color: #aeb3bc; text-decoration: none; font-size: 14px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #3a3d48; color: var(--paper); font-weight: 800; }
.socials a:hover { background: var(--blue); color: #fff; }
.copyright { border-top: 1px solid #444853; padding-top: 24px; color: #8f949d; font-size: 13px; }

@media (max-width: 860px) {
  .shell { width: min(100% - 28px, 1200px); }
  .nav { min-height: 76px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 76px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: 0 20px 50px rgba(40,43,53,.16); }
  .nav-links.is-open { display: grid; gap: 14px; }
  .nav-links .button { width: 100%; }
  .hero, .meaning-grid, .location-grid, .page-hero, .simulator-grid { grid-template-columns: 1fr; }
  .hero { gap: 32px; padding-top: 24px; }
  .hero h1, .page-hero h1 { font-size: 44px; }
  .card-grid, .menu-grid, .field-grid.two, .field-grid.three { grid-template-columns: 1fr; }
  .table-row { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .table-head { display: none; }
  .inline-form { grid-template-columns: 1fr; }
  .hero-art { padding: 12px; }
  .van-badge { position: static; margin-top: 10px; }
  .van-badge.bottom { margin-left: auto; }
  .service-summary { max-width: 520px; }
  .sim-results { position: static; }
  .form-head { display: grid; }
  .footer-grid { display: grid; }
}

@media (max-width: 520px) {
  .hero h1, .page-hero h1 { font-size: 38px; }
  .section h2, .cta-band h2 { font-size: 30px; }
  .section, .page-hero { padding-block: 56px; }
  .booking-form { padding: 22px; }
  .sim-panel { padding: 22px; }
  .result-grid { grid-template-columns: 1fr; }
  .kanji { font-size: 54px; }
}
