:root {
  color-scheme: light;
  --green: #009f68;
  --green-dark: #00794f;
  --navy: #233e70;
  --ink: #19332d;
  --muted: #667671;
  --line: #e0e9e5;
  --paper: #f9fcfa;
  font-family: "Helvetica", "Arial", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 75% 45%, #e5f3ec 0, transparent 48%);
}
.page-shell { max-width: 1440px; min-height: 100svh; margin: auto; padding: 0 clamp(24px, 6.25vw, 90px); display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.brand-logo { width: 216px; max-width: 58vw; height: auto; display: block; }
.hero { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 32px; padding: 64px 0 68px; }
.eyebrow { margin: 0 0 30px; color: var(--green-dark); font-size: 12px; letter-spacing: .16em; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.small-rule { width: 28px; height: 2px; background: var(--green); }
h1 { font-size: clamp(48px, 5.4vw, 78px); line-height: 1.22; letter-spacing: -.04em; font-weight: 700; margin: 0; }
h1 span { color: var(--green); }
.description { color: var(--muted); font-size: 17px; line-height: 1.9; margin: 26px 0 34px; }
.company-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 18px 24px; background: var(--green-dark); color: white; font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 6px; transition: background .18s, transform .18s; }
.company-link:hover { background: #006341; transform: translateY(-2px); }
.company-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.company-link:focus-visible, .animation-button:focus-visible { outline: 3px solid var(--navy); outline-offset: 6px; }
.link-caption { display: block; font-size: 14px; margin: 12px 0 0; color: var(--muted); }
.parking-animation { min-width: 0; text-align: center; position: relative; }
.visual-label { color: #526c61; letter-spacing: .14em; font-size: 12px; font-weight: 600; }
.animation-button { display: block; width: 100%; margin: 7px 0 0; aspect-ratio: 600 / 540; padding: 0; border: 0; background: transparent; border-radius: 18px; position: relative; cursor: pointer; touch-action: manipulation; }
.parking-diagram { display: block; width: 100%; height: 100%; }
.diagram-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; fill: #526c61; }
.parking-sign { font-size: 24px; font-weight: 700; text-anchor: middle; fill: #ffffff; }
.bay-number { font-size: 12px; text-anchor: middle; fill: #7a9586; }
.empty-bay { font-size: 30px; font-weight: 500; text-anchor: middle; fill: #bad4c6; }
.parked-car { color: var(--navy); }
#moving-car { color: var(--green); }
.animation-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 700 64px Consolas, monospace; color: var(--green); border: 1px solid var(--line); border-radius: 18px; }
.animation-ready .animation-fallback { display: none; }
.replay-icon { position: absolute; right: 18px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #cbded3; background: #f9fcfa; color: var(--green-dark); border-radius: 50%; transition: background .18s; }
.animation-button:hover .replay-icon { background: #e4f4ec; }
.replay-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.interaction-hint { font-size: 14px; margin: 12px 0 0; color: var(--muted); }
.site-footer { padding: 25px 0 29px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.footer-divider { margin: 0 10px; color: #a9bdb2; }
@media (min-width: 1600px) { .hero { gap: 100px; } }
@media (max-width: 760px) {
  .page-shell { padding: 0 24px; }
  .site-header { padding: 26px 0; }
  .brand-logo { width: 174px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 42px; }
  h1 { font-size: clamp(46px, 11vw, 68px); }
  .eyebrow { margin-bottom: 24px; }
  .description { margin: 22px 0 26px; font-size: 16px; }
  .parking-animation { max-width: 500px; width: 100%; margin: auto; }
  .animation-button { margin-top: 0; }
  .site-footer { flex-direction: column; gap: 8px; padding: 22px 0; }
}
@media (max-width: 380px) { .page-shell { padding: 0 20px; } .brand-logo { width: 155px; } .company-link { gap: 16px; padding: 17px 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
