:root {
  color-scheme: light;
  --ink: #28231e;
  --muted: #70675e;
  --orange: #dc671f;
  --orange-dark: #a94311;
  --amber: #f2a322;
  --cream: #fffaf3;
  --paper: #fff;
  --line: #e9e1d7;
  --soft-orange: #f8eee2;
  --green: #6b8f4e;
  --shadow: 0 18px 52px rgb(54 35 20 / 10%);
  --wrap: 1160px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 16px; transform: translateY(-150%); background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; height: 88px; background: rgb(255 250 243 / 96%); border-bottom: 1px solid rgb(83 62 40 / 8%); backdrop-filter: blur(12px); }
.header-inner { width: min(1280px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 104px; height: 76px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.main-navigation { display: flex; align-items: center; gap: clamp(15px, 2vw, 29px); }
.main-navigation a, .footer-links a { text-decoration: none; font-size: 13px; font-weight: 650; transition: color .2s ease; }
.main-navigation a:hover, .main-navigation a:focus-visible, .footer-links a:hover { color: var(--orange); }
.menu-toggle { display: none; }

.hero { height: min(720px, calc(100svh - 88px)); min-height: 560px; position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; color: #fff; background: #473b2e; }
.hero-image, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 56%; transition: opacity .3s ease; }
.hero-image.is-changing { opacity: .35; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(25 22 18 / 78%) 0%, rgb(25 22 18 / 55%) 42%, rgb(25 22 18 / 8%) 100%), linear-gradient(0deg, rgb(25 22 18 / 28%), transparent 42%); }
.hero-content { padding-top: 10px; }
.eyebrow { margin: 0 0 17px; color: var(--orange); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.hero-eyebrow { color: #ffd19f; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-size: clamp(55px, 8.4vw, 108px); line-height: .95; letter-spacing: -.07em; font-weight: 800; }
.hero h1 span { display: block; margin-top: 18px; font-size: clamp(17px, 2vw, 24px); font-weight: 500; letter-spacing: .02em; }
.hero-copy { margin: 25px 0 30px; color: rgb(255 255 255 / 88%); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 21px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { background: #ffe9cf; }
.button-outline-light { border-color: rgb(255 255 255 / 55%); color: #fff; background: rgb(255 255 255 / 6%); }
.button-outline-light:hover { background: rgb(255 255 255 / 15%); }
.hero-controls { position: absolute; right: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 33px; display: flex; align-items: center; gap: 11px; }
.slider-control, .slider-pause, .slider-dot { border: 0; color: #fff; background: transparent; cursor: pointer; }
.slider-control { width: 37px; height: 37px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; font-size: 19px; line-height: 1; }
.slider-control:hover, .slider-control:focus-visible { background: rgb(255 255 255 / 20%); }
.slider-dots { display: flex; gap: 5px; align-items: center; }
.slider-dot { width: 18px; height: 28px; position: relative; padding: 0; }
.slider-dot::after { content: ""; width: 5px; height: 5px; position: absolute; top: 50%; left: 50%; border-radius: 20px; background: rgb(255 255 255 / 55%); transform: translate(-50%, -50%); }
.slider-dot[aria-current="true"]::after { width: 17px; height: 5px; background: #fff; }
.slider-pause { padding: 9px 0 9px 7px; font-size: 11px; }
.hero-index { position: absolute; left: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 36px; margin: 0; color: rgb(255 255 255 / 75%); font-size: 12px; letter-spacing: .1em; }
.hero-index [data-current-slide] { color: #fff; font-size: 16px; font-weight: 750; }
.hero-scroll { position: absolute; right: max(24px, calc((100vw - var(--wrap)) / 2)); top: 50%; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .06em; }

.section { padding: 112px 0; }
.section h2 { margin-bottom: 20px; font-size: clamp(36px, 5vw, 57px); line-height: 1.07; letter-spacing: -.055em; font-weight: 750; }
.period { color: var(--orange); }
.section-intro { max-width: 445px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.routes-section { position: relative; padding: 128px 0 120px; overflow: hidden; background: var(--cream); }
.routes-layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; column-gap: 90px; }
.routes-layout > div:first-child { grid-column: 1; }
.routes-layout .section-intro { max-width: 370px; }
.coming-card { min-height: 272px; grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; padding: 45px 48px 48px; border: 1px solid #ecdfcf; border-radius: 5px; background: #fff; box-shadow: var(--shadow); }
.status-label { margin: 0; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-align: center; }
.routes-note { grid-column: 1; align-self: end; margin-top: 54px; color: var(--muted); font-size: 12px; }
.routes-note span { margin-right: 8px; color: var(--orange); font-size: 16px; }

.schedule-section { background: #f4eee6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; }
.section-heading .section-intro { max-width: 390px; padding-bottom: 8px; }
.schedule-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 38px 0 16px; padding: 13px 0; border-top: 1px solid #ded5ca; border-bottom: 1px solid #ded5ca; }
.schedule-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.schedule-toolbar strong { color: var(--ink); }
.filter-label { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 12px; }
.filter-label select { min-height: 38px; padding: 0 35px 0 12px; border: 1px solid #d9cfc2; border-radius: 3px; color: var(--ink); background: var(--cream); cursor: pointer; }
.schedule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.schedule-card { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 17px; border: 1px solid #e6ddd2; border-radius: 4px; color: var(--ink); text-align: left; background: #fff; cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.schedule-card:hover, .schedule-card:focus-visible { border-color: var(--orange); box-shadow: 0 8px 25px rgb(58 39 22 / 8%); transform: translateY(-2px); }
.schedule-card-main { min-width: 0; }
.schedule-line { display: block; margin-bottom: 6px; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.schedule-name { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
.schedule-open { flex: 0 0 auto; color: var(--orange); font-size: 19px; }
.schedule-footnote { margin: 19px 0 0; color: var(--muted); font-size: 12px; }

.inquiry-section { padding: 95px 0; background: var(--cream); }
.inquiry-panel { min-height: 268px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 34px; padding: 47px 58px; color: #fff; background: #302a24; }
.inquiry-mark { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; color: #ffc27e; }
.inquiry-mark svg { width: 36px; height: 36px; }
.inquiry-copy .eyebrow { color: #ffc27e; }
.inquiry-copy h2 { margin-bottom: 11px; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.05em; }
.inquiry-copy > p:last-child { max-width: 540px; margin: 0; color: rgb(255 255 255 / 70%); font-size: 14px; line-height: 1.7; }
.inquiry-panel .period { color: #ffc27e; }
.button-dark { white-space: nowrap; color: var(--ink); background: #fff; }
.button-dark:hover { background: #ffe9cf; }

.app-section { padding: 120px 0 112px; overflow: hidden; background: #fff; }
.app-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.app-copy h2 { margin-bottom: 18px; }
.app-copy .section-intro { margin-bottom: 24px; }
.button-orange { color: #fff; background: var(--orange); }
.button-orange:hover { background: var(--orange-dark); }
.qr-callout { display: flex; align-items: center; gap: 17px; margin-top: 35px; }
.qr-callout img { width: 120px; height: auto; flex: 0 0 auto; padding: 5px; border: 1px solid var(--line); border-radius: 4px; background: #fff; image-rendering: auto; }
.qr-callout p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.qr-callout strong { color: var(--ink); }
.phone-stage { min-height: 545px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at center, #faeee0 0%, #fff 68%); }
.phone-device { width: 236px; height: 488px; position: relative; z-index: 1; padding: 17px 9px; border: 7px solid #272727; border-radius: 34px; background: #222; box-shadow: 20px 25px 55px rgb(40 27 17 / 25%); transform: rotate(4deg); }
.phone-device > img { width: 100%; height: 100%; border-radius: 19px; object-fit: cover; }
.phone-speaker { width: 48px; height: 5px; position: absolute; z-index: 2; top: 7px; left: 50%; border-radius: 6px; background: #161616; transform: translateX(-50%); }
.phone-home { width: 35px; height: 4px; position: absolute; z-index: 2; bottom: 6px; left: 50%; border-radius: 5px; background: #161616; transform: translateX(-50%); }
.phone-orbit { position: absolute; border: 1px solid rgb(220 103 31 / 20%); border-radius: 50%; }
.phone-orbit-one { width: 400px; height: 400px; }
.phone-orbit-two { width: 500px; height: 500px; }
.phone-caption { position: absolute; right: 2%; bottom: 28px; color: #a99d8f; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }

.contact-section { padding: 94px 0 105px; background: var(--cream); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.contact-details { border-top: 1px solid var(--line); }
.contact-item { min-height: 95px; display: flex; align-items: center; gap: 17px; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--orange-dark); background: var(--soft-orange); font-size: 19px; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.contact-item strong { font-size: 14px; }
.contact-arrow { margin-left: auto; color: var(--orange); font-size: 19px; }
.contact-item[href]:hover strong { color: var(--orange-dark); }
.contact-placeholder strong { color: var(--muted); font-weight: 600; }

.site-footer { padding: 51px 0 0; color: #fff; background: #29241f; }
.footer-main { display: grid; grid-template-columns: 1.2fr 2fr 1fr; align-items: center; gap: 40px; padding-bottom: 39px; }
.footer-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: rgb(255 255 255 / 80%); font-size: 11px; line-height: 1.5; }
.footer-brand img { width: 82px; height: 63px; object-fit: contain; border-radius: 2px; }
.footer-brand strong { color: #fff; font-size: 14px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 22px; }
.footer-links a { color: rgb(255 255 255 / 70%); font-size: 11px; }
.footer-email { justify-self: end; color: #fff; text-decoration: none; font-size: 12px; }
.footer-email span { margin-left: 7px; color: #ffc27e; }
.footer-bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgb(255 255 255 / 13%); color: rgb(255 255 255 / 58%); }
.footer-bottom p, .footer-bottom a { margin: 0; font-size: 10px; }
.footer-bottom a { color: rgb(255 255 255 / 75%); text-decoration: none; }

.diagram-dialog { width: min(920px, calc(100% - 30px)); max-width: none; max-height: min(94vh, 1000px); padding: 0; overflow: hidden; border: 0; border-radius: 6px; color: var(--ink); background: var(--cream); box-shadow: 0 24px 90px rgb(0 0 0 / 35%); }
.diagram-dialog::backdrop { background: rgb(28 24 20 / 78%); backdrop-filter: blur(3px); }
.dialog-header { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.dialog-header .eyebrow { margin-bottom: 5px; font-size: 9px; }
.dialog-header h2 { margin: 0; font-size: 21px; }
.dialog-close { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.diagram-viewport { height: min(68vh, 740px); overflow: auto; overscroll-behavior: contain; background: #e7e1d9; touch-action: none; }
.diagram-canvas { display: grid; place-items: center; }
.diagram-full-image { display: block; max-width: none; max-height: none; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.dialog-navigation, .dialog-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.button-quiet { min-height: 39px; padding: 0 13px; border-color: var(--line); color: var(--ink); background: #fff; font-size: 11px; }
.button-quiet:hover, .button-quiet[aria-pressed="true"] { border-color: var(--orange); color: var(--orange-dark); }
.zoom-level { min-width: 48px; align-self: center; color: var(--muted); text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.zoom-in, .zoom-out { min-width: 39px; padding-inline: 8px; font-size: 18px; }
.zoom-in:disabled, .zoom-out:disabled { opacity: .45; cursor: not-allowed; }
.diagram-dialog[open] { animation: dialog-in .18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

:focus-visible { outline: 3px solid #2571a8; outline-offset: 3px; }

@media (max-width: 960px) {
  .main-navigation { gap: 13px; }
  .main-navigation a { font-size: 11px; }
  .routes-layout { column-gap: 45px; }
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inquiry-panel { grid-template-columns: 68px 1fr; gap: 20px; padding: 38px; }
  .inquiry-panel > .button { grid-column: 2; justify-self: start; }
  .footer-main { grid-template-columns: 1fr 2fr; }
  .footer-email { grid-column: 2; justify-self: center; }
}

@media (max-width: 720px) {
  :root { scroll-padding-top: 72px; }
  .wrap { width: min(100% - 38px, var(--wrap)); }
  .site-header { height: 72px; }
  .header-inner { width: calc(100% - 32px); }
  .brand { width: 80px; height: 62px; }
  .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-navigation { position: absolute; top: 71px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: 0 15px 25px rgb(40 30 20 / 9%); }
  .main-navigation.is-open { display: flex; }
  .main-navigation a { padding: 13px 4px; border-bottom: 1px solid #eee6dc; font-size: 13px; }
  .main-navigation a:last-child { border: 0; }
  .hero { height: calc(88svh - 72px); min-height: 550px; max-height: 720px; align-items: center; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(25 22 18 / 73%), rgb(25 22 18 / 23%)), linear-gradient(0deg, rgb(25 22 18 / 44%), transparent 65%); }
  .hero-content { padding-bottom: 28px; }
  .hero h1 { font-size: clamp(54px, 13vw, 82px); }
  .hero h1 span { max-width: 280px; font-size: 18px; line-height: 1.35; }
  .hero-copy { max-width: 330px; margin: 20px 0 25px; font-size: 16px; }
  .desktop-break { display: none; }
  .hero-controls { right: 18px; bottom: 21px; gap: 6px; }
  .hero-index { left: 20px; bottom: 28px; }
  .hero-scroll { display: none; }
  .slider-dot { width: 12px; }
  .slider-pause { padding-left: 4px; font-size: 10px; }
  .slider-control { width: 33px; height: 33px; }
  .section { padding: 82px 0; }
  .section h2 { font-size: clamp(36px, 10vw, 48px); }
  .routes-layout { grid-template-columns: 1fr; gap: 31px; }
  .routes-layout > div:first-child, .coming-card, .routes-note { grid-column: 1; grid-row: auto; }
  .coming-card { padding: 29px 25px; }
  .coming-card { min-height: 220px; }
  .routes-note { margin-top: 0; }
  .section-heading { display: block; }
  .section-heading .section-intro { margin-top: 12px; }
  .schedule-toolbar { margin-top: 26px; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .schedule-card { padding: 15px 12px; }
  .schedule-name { font-size: 12px; }
  .schedule-line { font-size: 10px; }
  .schedule-open { font-size: 16px; }
  .inquiry-section { padding: 65px 0; }
  .inquiry-panel { grid-template-columns: 1fr; gap: 20px; padding: 29px 24px; }
  .inquiry-mark { width: 50px; height: 50px; }
  .inquiry-mark svg { width: 29px; height: 29px; }
  .inquiry-panel > .button { grid-column: 1; }
  .inquiry-copy h2 { font-size: 31px; }
  .app-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .app-section { padding: 82px 0 0; }
  .app-copy .section-intro { max-width: 420px; }
  .qr-callout { margin-top: 28px; }
  .phone-stage { min-height: 440px; margin-inline: -19px; }
  .phone-device { width: 199px; height: 411px; }
  .phone-orbit-one { width: 320px; height: 320px; }
  .phone-orbit-two { width: 410px; height: 410px; }
  .phone-caption { right: 5%; bottom: 15px; font-size: 9px; }
  .contact-section { padding: 78px 0 84px; }
  .contact-layout { gap: 27px; }
  .footer-main { grid-template-columns: 1fr; gap: 27px; padding-bottom: 28px; }
  .footer-brand { justify-self: center; }
  .footer-links { gap: 14px 18px; }
  .footer-email { grid-column: 1; justify-self: center; }
  .footer-bottom { min-height: 64px; }
  .footer-bottom p, .footer-bottom a { font-size: 9px; }
  .diagram-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .dialog-header { min-height: 73px; padding: 12px 14px; }
  .dialog-header h2 { font-size: 17px; }
  .diagram-viewport { height: min(66dvh, 700px); }
  .dialog-actions { align-items: stretch; flex-direction: column; padding: 10px; }
  .dialog-navigation, .dialog-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .dialog-actions .button { min-height: 40px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 30px); }
  .hero-actions .button { min-height: 44px; padding-inline: 14px; font-size: 12px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-card { padding: 15px; }
  .hero-controls { gap: 3px; }
  .slider-dot { width: 9px; }
  .slider-pause { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
