@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --green: #00572e;
  --ink: #18271d;
  --cream: #fcf5e8;
  --line: #d5ddd5;
  font: 100%/1.5 "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f6f8f5;
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
.frame { width: min(100% - clamp(2rem, 8vw, 5rem), 52rem); margin-inline: auto; }
header { background: white; border-bottom: 1px solid var(--line); }
.mast, .brands, .footer-inner, footer nav, footer a { display: flex; align-items: center; }
.mast { min-height: 4.75rem; justify-content: space-between; gap: 1rem; }
.brands { gap: .85rem; }
.brands img { display: block; width: 6.7rem; height: auto; }
.brands img:last-child { width: 7.75rem; }
.brands span, .city span { color: #627064; }
.city { font-size: .9rem; font-weight: 600; }
.hero { background: var(--cream); border-bottom: 1px solid #ded9c9; overflow: hidden; }
.hero-inner { position: relative; isolation: isolate; }
.title-block { padding-block: 1.8rem 2rem; }
.hosts { color: var(--green); font-size: 1.1rem; font-weight: 700; }
h1 { margin: .5rem 0; color: #bc211c; font-size: clamp(3rem, 6.3vw, 4.4rem); line-height: .98; letter-spacing: -.055em; font-weight: 820; }
h1 span, .zh-title { color: var(--green); }
.zh-title { font-size: 1rem; font-weight: 600; }
.art {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 47%;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: 78% bottom;
  mask-image: linear-gradient(90deg, transparent, black 25%, black 93%, transparent);
}
.actions { display: grid; gap: .65rem; padding-block: 1.5rem; }
.card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.2rem;
  min-height: 4.7rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: white;
  color: inherit;
  text-decoration: none;
}
.icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; display: grid; place-items: center; border-radius: .65rem; background: #eaf1eb; color: var(--green); }
svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copy { display: grid; gap: .13rem; }
.copy strong { font-size: 1.28rem; line-height: 1.18; letter-spacing: -.025em; }
.copy > span { color: #45564a; font-size: .95rem; }
.ticket { position: relative; overflow: hidden; background: var(--green); border-color: var(--green); color: white; min-height: 5.15rem; padding-right: 5rem; }
.ticket .icon { background: #e8f4df; }
.ticket strong { font-size: 1.5rem; }
.ticket small { font-size: .9rem; margin-left: .35rem; }
.ticket .copy > span { color: #f0f7eb; }
.stub { position: absolute; inset: 0 0 0 auto; width: 4.4rem; border-left: 1px dashed #a5c5ae; display: grid; place-items: center; }
.stub i { width: 2rem; height: 1.8rem; background: repeating-linear-gradient(90deg, #c5ddcd 0 2px, transparent 2px 5px, #c5ddcd 5px 6px, transparent 6px 8px, #c5ddcd 8px 11px, transparent 11px 13px); }
.card:hover { border-color: var(--green); background: #eff5ed; }
.ticket:hover { background: #004323; }
a:focus-visible { outline: 3px solid #246bbc; outline-offset: 3px; }
.footer-inner { justify-content: space-between; gap: .45rem 1.5rem; padding-block: .5rem 1rem; border-top: 1px solid var(--line); }
footer nav { gap: 1.5rem; }
footer a { gap: .4rem; min-height: 2.75rem; color: var(--ink); font-size: .94rem; font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
footer svg { width: 1.1rem; height: 1.1rem; }
footer small { font-size: .85rem; color: #4e5e51; }
.taxi summary { cursor: pointer; list-style: none; }
.taxi summary::-webkit-details-marker { display: none; }
.taxi summary:focus-visible, .save:focus-visible { outline: 3px solid #246bbc; outline-offset: 3px; }
.disclosure { margin-left: auto; margin-right: .25rem; width: .6rem; height: .6rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.taxi[open] .disclosure { transform: rotate(225deg); }
.taxi[open] summary { border-radius: .8rem .8rem 0 0; }
.taxi-body { padding: 1rem; background: white; border: solid var(--line); border-width: 0 1px 1px; border-radius: 0 0 .8rem .8rem; }
.driver-card { padding: clamp(1rem, 4vw, 2rem); background: #f3f7ee; color: #14281b; border-top: 5px solid var(--green); }
.driver-card h2 { font-size: clamp(2rem, 5vw, 3rem); margin: .5rem 0; line-height: 1.3; }
.driver-card h2 span { display: block; font-size: .62em; margin-top: .15rem; }
.driver-card .street { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; margin-bottom: .3rem; }
.transit { border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .9rem; font-size: .9rem; }
.save { display: inline-flex; align-items: center; gap: .4rem; color: var(--green); min-height: 2.75rem; margin-top: .25rem; font-weight: 650; text-underline-offset: .18em; }
@media (max-width: 40rem) {
  .mast { min-height: 3.8rem; }
  .brands { gap: .55rem; }
  .brands img { width: 4.7rem; }
  .brands img:last-child { width: 5.7rem; }
  .city { font-size: .84rem; }
  .hero-inner { width: 100%; }
  .title-block { width: calc(100% - 2rem); margin: auto; padding-block: 1.15rem .7rem; }
  h1 { font-size: clamp(2.7rem, 10vw, 3.6rem); }
  .art { display: block; position: static; width: 100%; height: auto; mask-image: none; }
  .actions { padding-block: 1rem; gap: .5rem; }
  .card { padding: .8rem; gap: .7rem; min-height: 4.3rem; }
  .copy strong { font-size: 1.1rem; }
  .copy > span { font-size: .875rem; }
  .icon { width: 2.25rem; height: 2.25rem; }
  .ticket { padding-right: 2.7rem; }
  .ticket strong { font-size: 1.35rem; }
  .stub { width: 2.4rem; }
  .stub i { width: 1.05rem; }
  .footer-inner { flex-wrap: wrap; gap: 0 .8rem; }
}
