:root {
  color-scheme: light;
  --paper: #f8f8f5;
  --ink: #242724;
  --muted: #505752;
  --line: #d1d6d1;
  --accent: #a84316;
  --accent-dark: #85330f;
  --gutter: clamp(1.125rem, 5vw, 5rem);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, figure {
  margin: 0;
}

::selection {
  color: var(--ink);
  background-color: #ffddcb;
}

.shell {
  width: min(80rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner, .brand, .site-nav {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 4.5rem;
  justify-content: space-between;
  gap: .75rem;
}

.brand {
  gap: .6875rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .04em;
}

.brand-mark {
  width: 1.0625rem;
  height: 1.25rem;
  border-inline: .25rem solid var(--accent);
  transform: skewX(-20deg);
}

.site-nav {
  gap: clamp(.875rem, 3vw, 2.125rem);
  white-space: nowrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .35em;
}

.site-nav a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.hero {
  padding-top: clamp(2.125rem, 6vw, 5.5rem);
}

.hero-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

h1 {
  max-width: 100%;
  font-size: clamp(2.125rem, 4.25vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.14;
}

h1 span {
  display: inline-block;
}

.address-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .625rem 1.125rem;
  color: #fff;
  background: var(--accent);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}

.address-link:hover {
  background: var(--accent-dark);
}

.address-link:focus-visible {
  outline-color: var(--accent-dark);
}

.hero-visual {
  border-block-end: .25rem solid var(--accent);
  background: #353936;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: 74% 50%;
}

.vehicle-guide {
  padding-block: clamp(2.75rem, 6.5vw, 6rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.25;
  font-weight: 780;
  letter-spacing: -.025em;
}

.guide-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 3.125rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.guide-topics article {
  border-top: 1px solid var(--line);
  padding: 1.125rem 0 0;
}

.guide-topics h3 {
  margin-bottom: .625rem;
  font-size: 1.125rem;
  line-height: 1.45;
}

.guide-topics p {
  max-width: 24em;
  color: var(--muted);
  line-height: 1.75;
}

.location {
  padding: 3.25rem 5%;
  color: #f8f8f5;
  background: #252b28;
}

.location-inner {
  display: grid;
  width: min(80rem, 100%);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: clamp(1.25rem, 5vw, 4rem);
}

.location-details {
  display: grid;
  gap: .625rem;
}

.location-name {
  color: #d6dbd7;
  line-height: 1.6;
}

.location address {
  font-size: clamp(1.0625rem, 2.2vw, 1.625rem);
  font-style: normal;
  font-weight: 650;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.location-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .625rem .875rem;
}

.location-actions button {
  min-height: 2.75rem;
  padding: .5rem .875rem;
  border: 1px solid #aeb9b2;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.location-actions button:hover {
  color: #252b28;
  background: #f8f8f5;
}

.copy-status {
  color: #e4ebe4;
  font-size: .9375rem;
}

.site-footer {
  padding-block: 1.375rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}

@media (max-width: 47rem) {
  .hero-visual img {
    aspect-ratio: 3 / 2;
  }

  .guide-topics, .location-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-topics {
    gap: 1.125rem;
  }

  .location {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 32rem) {
  .header-inner {
    min-height: 4rem;
  }

  .brand {
    gap: .5rem;
    font-size: 1.0625rem;
  }

  .site-nav a {
    font-size: .875rem;
  }

  .hero-visual img {
    aspect-ratio: 5 / 4;
  }

  .location {
    padding-right: 1.125rem;
    padding-left: 1.125rem;
  }
}
