:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --paper-light: #fffdf7;
  --ink: #19352d;
  --muted: #607169;
  --line: #d5d9cb;
  --orange: #ef663d;
  --yellow: #e6bd65;
  --mint: #b6d8c6;
  --shadow: 0 24px 70px rgba(38, 55, 42, .09);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 3px; }
::selection { background: #f5bd9e; color: var(--ink); }

.skip-link { position: absolute; z-index: 30; top: -60px; left: 20px; padding: 12px 16px; background: var(--ink); color: white; text-decoration: none; }
.skip-link:focus { top: 16px; }
.site-shell { max-width: 1600px; margin: 0 auto; padding: 0 clamp(24px, 5.4vw, 92px); }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 100px; border-bottom: 1px solid var(--line); }
.wordmark, .footer-brand { font-family: Georgia, "Times New Roman", serif; font-size: 33px; font-weight: 700; letter-spacing: -.1em; text-decoration: none; line-height: 1; }
.wordmark span, .footer-brand span { color: var(--orange); }
.header-right { display: flex; align-items: center; gap: clamp(28px, 5vw, 80px); }
.header-note { color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.header-link { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 750; border-bottom: 1px solid var(--ink); padding: 8px 0; transition: color .2s, border-color .2s; }
.header-link:hover { color: var(--orange); border-color: var(--orange); }
.header-link span { font-size: 18px; font-weight: 400; line-height: .7; }

.hero { position: relative; padding-top: clamp(76px, 10vw, 148px); padding-bottom: clamp(85px, 11vw, 160px); }
.hero-kicker, .section-index, .project-topline, .preview-header, .preview-footer, .map-card-label, .more-note-end { font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.hero-kicker { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.sparkle { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 21px; font-weight: 400; line-height: 1; }
.hero h1 { position: relative; z-index: 1; display: flex; flex-direction: column; margin: 28px 0 0; line-height: .92; font-weight: 400; }
.hero-ah { font-family: Georgia, "Times New Roman", serif; font-size: clamp(136px, 18vw, 310px); font-weight: 700; letter-spacing: -.105em; font-style: italic; margin-left: -.045em; }
.hero-useful { font-size: clamp(62px, 9.8vw, 157px); font-weight: 750; letter-spacing: -.085em; white-space: nowrap; margin-top: .035em; }
.hero-period, .accent-dot { color: var(--orange); }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.hero-description { max-width: 440px; margin: 0; font-size: clamp(18px, 2vw, 25px); line-height: 1.45; letter-spacing: -.025em; }
.round-arrow { display: grid; place-items: center; width: 64px; height: 64px; border: 1.5px solid var(--ink); border-radius: 50%; text-decoration: none; font-size: 30px; line-height: 1; transition: color .25s, background .25s, transform .25s; }
.round-arrow:hover { color: var(--paper-light); background: var(--ink); transform: translateY(5px); }
.hero-decoration { position: absolute; right: 12%; top: 19%; width: clamp(90px, 13vw, 175px); transform: rotate(12deg); color: var(--orange); opacity: .9; }
.hero-decoration svg { display: block; width: 100%; }

.projects { padding-bottom: clamp(82px, 8vw, 130px); scroll-margin-top: 26px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; border-top: 1px solid var(--ink); padding: 28px 0 37px; }
.section-index { color: var(--muted); }
.section-heading h2 { font-size: clamp(34px, 5vw, 70px); letter-spacing: -.065em; line-height: 1.02; font-weight: 650; margin: 23px 0 0; }
.section-heading p { max-width: 230px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.project-card { display: grid; grid-template-columns: minmax(310px, .81fr) minmax(0, 1.19fr); min-height: 550px; border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper-light); box-shadow: var(--shadow); }
.project-info { display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 53px); min-width: 0; }
.project-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.project-category { color: var(--orange); }
.project-copy { margin: auto 0; padding: 40px 0 52px; }
.project-icon { width: 54px; height: 54px; display: grid; place-items: center; background: #e6ebe0; border-radius: 14px; margin-bottom: clamp(25px, 3vw, 39px); }
.project-icon svg { width: 31px; height: 31px; }
.project-copy h3 { margin: 0 0 24px; font-size: clamp(55px, 5.4vw, 83px); line-height: .99; letter-spacing: -.073em; font-weight: 650; }
.project-copy p { max-width: 330px; margin: 0; color: #4c6257; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.56; }
.project-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 750; text-decoration: none; transition: color .2s; }
.project-link:hover { color: var(--orange); }
.link-arrow { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; font-weight: 400; transition: transform .2s; }
.project-link:hover .link-arrow { transform: translate(3px, -3px); }

.project-preview { display: flex; flex-direction: column; min-width: 0; background: #182a33; color: #f7eee1; }
.preview-header { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 0 23px; border-bottom: 1px solid rgba(236, 241, 222, .15); }
.preview-name { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.preview-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(239, 102, 61, .13); }
.preview-slash { opacity: .35; }
.preview-illustrative { padding: 6px 8px; border: 1px solid rgba(236, 241, 222, .28); border-radius: 3px; color: #c5cec8; font-size: 9px; }
.map-window { position: relative; flex: 1; min-height: 414px; overflow: hidden; }
.mini-map { display: block; width: 100%; height: 100%; min-height: 414px; }
.water { fill: #233d4c; }
.water-fine { fill: none; stroke: #527082; stroke-width: 2; opacity: .5; }
.park { fill: #284639; opacity: .75; }
.park-small { opacity: .5; }
.minor-roads path { fill: none; stroke: #49606a; stroke-width: 2; opacity: .58; }
.major-roads path { fill: none; stroke: #70838a; stroke-width: 6; opacity: .7; }
.route-lines path { fill: none; stroke: #f1b66d; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; opacity: .72; }
.route-lines #route-b { stroke: #b7d7c4; }
.route-lines #route-c { stroke: #ef8464; }
.map-stops circle { fill: #e8d9bf; stroke: #233942; stroke-width: 2; }
.map-labels text { fill: #a0b0af; font: 700 10px "Avenir Next", Arial, sans-serif; letter-spacing: 1.8px; opacity: .75; }
.map-labels text:last-child { fill: #7495a7; }
.bus-marker-glow { fill: var(--orange); opacity: .16; }
.bus-marker-disc { fill: var(--orange); stroke: #fff2e5; stroke-width: 1.6; }
.bus-marker-vehicle { fill: #fff8ea; }
.bus-marker-window { fill: #cf6f4d; }
.bus-marker--yellow .bus-marker-glow, .bus-marker--yellow .bus-marker-disc { fill: var(--yellow); }
.bus-marker--yellow .bus-marker-window { fill: #a57d36; }
.bus-marker--mint .bus-marker-glow, .bus-marker--mint .bus-marker-disc { fill: var(--mint); }
.bus-marker--mint .bus-marker-window { fill: #689785; }
.map-coordinate { position: absolute; top: 21px; right: 22px; font-size: 10px; letter-spacing: .07em; color: #b6c3ba; opacity: .75; }
.map-card { position: absolute; bottom: 22px; left: 22px; min-width: 182px; padding: 16px 19px 15px; background: rgba(15, 31, 36, .9); border: 1px solid rgba(231, 239, 220, .2); border-radius: 7px; box-shadow: 0 14px 40px rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.map-card-label { display: block; color: var(--yellow); font-size: 10px; }
.map-card-buses { display: flex; gap: 8px; margin: 14px 0 10px; }
.map-card-buses i { display: block; width: 23px; height: 9px; background: var(--orange); border-radius: 2px; box-shadow: inset 0 2px 0 rgba(255,255,255,.55); }
.map-card-buses i:nth-child(2) { background: var(--yellow); }
.map-card-buses i:nth-child(3) { background: var(--mint); }
.map-card-caption { font-size: 12px; color: #d7e1d3; }
.preview-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px; padding: 0 23px; border-top: 1px solid rgba(236, 241, 222, .15); color: #bdcac1; letter-spacing: .025em; text-transform: none; }
.preview-footer > span { display: inline-flex; align-items: center; gap: 10px; }
.legend-line { display: inline-block; width: 18px; height: 2px; background: var(--orange); }
.preview-footer a { color: #fff8e9; text-decoration: none; border-bottom: 1px solid rgba(255,248,233,.5); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.preview-footer a:hover { color: var(--yellow); border-color: var(--yellow); }

.more-note { display: flex; align-items: center; gap: 18px; padding: 35px 0 0; font-size: 15px; color: #53685d; }
.more-note-symbol { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 50%; background: #dae6d9; font-size: 20px; color: var(--ink); }
.more-note-rule { height: 1px; flex: 1; background: var(--line); }
.more-note-end { color: #8b9c91; white-space: nowrap; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); padding: 32px 0 42px; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); font-size: 25px; }

@media (min-width: 1200px) {
  .project-card { min-height: 615px; }
  .map-window, .mini-map { min-height: 495px; }
}

@media (max-width: 900px) {
  .hero-decoration { right: 5%; top: 17%; }
  .project-card { grid-template-columns: 1fr; }
  .project-info { min-height: 445px; }
  .project-copy { padding: 34px 0 46px; }
  .project-copy h3 { font-size: clamp(57px, 8vw, 80px); }
  .map-window, .mini-map { min-height: 450px; max-height: 530px; }
}

@media (max-width: 600px) {
  .site-shell { padding: 0 19px; }
  .site-header { min-height: 78px; }
  .wordmark { font-size: 30px; }
  .header-note { display: none; }
  .header-link { font-size: 12px; }
  .hero { padding-top: 79px; padding-bottom: 92px; }
  .hero h1 { margin-top: 35px; }
  .hero-ah { font-size: clamp(129px, 34vw, 190px); }
  .hero-useful { font-size: clamp(43px, 10.5vw, 65px); letter-spacing: -.08em; }
  .hero-description { max-width: 255px; font-size: 18px; }
  .hero-bottom { margin-top: 51px; align-items: end; }
  .round-arrow { width: 52px; height: 52px; font-size: 25px; flex: none; }
  .hero-decoration { width: 88px; top: 20%; right: 10%; opacity: .8; }
  .section-heading { display: block; padding-bottom: 25px; }
  .section-heading h2 { font-size: clamp(40px, 10vw, 59px); margin-top: 15px; }
  .section-heading p { margin-top: 13px; font-size: 14px; }
  .project-info { min-height: 450px; padding: 25px; }
  .project-copy { padding: 43px 0 45px; }
  .project-copy h3 { font-size: clamp(59px, 15vw, 79px); }
  .project-copy p { font-size: 16px; }
  .map-window, .mini-map { min-height: 350px; max-height: 430px; }
  .preview-header, .preview-footer { padding-left: 15px; padding-right: 15px; }
  .preview-header { min-height: 53px; }
  .preview-name { gap: 7px; font-size: 10px; }
  .preview-illustrative { font-size: 8px; }
  .map-coordinate { top: 17px; right: 15px; font-size: 8px; }
  .map-card { left: 15px; bottom: 15px; min-width: 155px; padding: 12px 13px; }
  .preview-footer { font-size: 10px; min-height: 57px; }
  .more-note { flex-wrap: wrap; gap: 12px; font-size: 14px; }
  .more-note-rule { display: none; }
  .more-note-end { display: none; }
  .site-footer { flex-wrap: wrap; padding: 27px 0 32px; }
  .site-footer span:nth-child(2) { width: calc(100% - 95px); text-align: right; }
  .site-footer span:last-child { width: 100%; }
}

@media (max-width: 370px) {
  .header-link { font-size: 11px; }
  .hero-useful { font-size: 10vw; }
  .preview-footer > span { max-width: 125px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.not-found { max-width: 980px; min-height: 100svh; margin: auto; padding: 42px 28px 90px; display: flex; flex-direction: column; align-items: start; }
.not-found .hero-kicker { margin: auto 0 20px; }
.not-found h1 { margin: 0; font-size: clamp(80px, 13vw, 165px); letter-spacing: -.09em; line-height: .9; font-weight: 700; }
.not-found > p:not(.hero-kicker) { margin: 28px 0 38px; color: var(--muted); font-size: 18px; }
.not-found-link { display: flex; gap: 30px; justify-content: space-between; min-width: 188px; padding: 13px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-weight: 750; }
.not-found-link:hover { color: var(--orange); border-color: var(--orange); }
