@font-face {
  font-family: "Chiron GoRound";
  src: url("./assets/fonts/ChironGoRoundTC-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --yellow: #ffd632;
  --blue: #0759d9;
  --red: #f04438;
  --ink: #171a1f;
  --paper: #ffffff;
  --soft: #f3f4f6;
  --line: #d9dce1;
  --muted: #5d626b;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Chiron GoRound", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  width: min(var(--content), calc(100% - 40px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  text-decoration: none;
}

.wordmark-logo {
  width: 190px;
  height: 78px;
  object-fit: cover;
  object-position: 50% 55%;
}

.wordmark:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.mobile-nav {
  display: none;
}

.site-nav a,
.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-hero {
  background: var(--yellow);
  min-height: min(760px, 88dvh);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: min(var(--content), calc(100% - 40px));
  min-height: min(760px, 88dvh);
  margin: 0 auto;
  padding: 142px 0 72px;
}

.hero-kicker,
.section-number {
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-kicker {
  max-width: 420px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 8.6rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0;
}

.home-hero h1 span {
  display: block;
}

.hero-summary {
  max-width: 570px;
  margin: 30px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 560;
}

.hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 currentColor;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.button-blue {
  background: var(--blue);
  color: var(--paper);
  border-color: var(--blue);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.25rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

.hero-book {
  position: absolute;
  z-index: 1;
  right: -36px;
  bottom: -92px;
  width: clamp(390px, 48vw, 620px);
  transform: rotate(5deg);
  filter: drop-shadow(18px 22px 0 rgba(23, 26, 31, 0.14));
}

.band {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-inner,
.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section-heading h2,
.contact-layout h2,
.legal-main h1,
.directory-intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.8vw, 5.2rem);
  font-weight: 880;
  line-height: 0.98;
  letter-spacing: 0;
}

.product-list {
  display: grid;
  gap: 28px;
  margin-top: clamp(52px, 8vw, 90px);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  min-height: 520px;
  border: 2px solid var(--ink);
}

.product-card-visual {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 58px);
  background: var(--yellow);
  overflow: hidden;
}

.product-card-visual img {
  width: min(100%, 480px);
  filter: drop-shadow(14px 16px 0 rgba(23, 26, 31, 0.13));
  transition: transform 180ms ease;
}

.product-card-visual:hover img,
.product-card-visual:focus-visible img {
  transform: rotate(2deg) scale(1.025);
}

.product-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px);
}

.status-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #16883f;
  border-radius: 50%;
}

.product-card-content h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
}

.product-card-content > p:not(.status-label) {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

.future-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px 34px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.future-mark {
  margin: 0;
  color: var(--blue);
  font-size: 4rem;
  font-weight: 350;
  line-height: 1;
}

.future-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.future-card div p {
  margin: 0;
  color: var(--muted);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
  margin-top: clamp(52px, 8vw, 90px);
}

.product-visual {
  display: grid;
  min-height: 480px;
  place-items: center;
  padding: clamp(24px, 5vw, 56px);
  background: var(--yellow);
}

.product-visual img {
  width: min(100%, 500px);
  filter: drop-shadow(14px 16px 0 rgba(23, 26, 31, 0.13));
}

.product-locales {
  margin: 0 0 26px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 880;
  line-height: 1.15;
}

.lead-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.product-facts {
  margin: 36px 0;
  border-top: 1px solid var(--line);
}

.product-facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-facts dd {
  margin: 0;
  font-weight: 700;
}

.vehicle-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 24px);
  align-items: end;
  margin-top: clamp(70px, 10vw, 120px);
  padding-top: 36px;
  border-top: 2px solid var(--ink);
  overflow: hidden;
}

.vehicle-line img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.studio-band {
  background: var(--ink);
  color: var(--paper);
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(380px, 1.2fr);
  gap: clamp(48px, 9vw, 120px);
}

.studio-layout .section-heading {
  display: block;
}

.studio-copy .lead-copy {
  color: #c9ccd2;
}

.principle-grid {
  margin-top: 56px;
}

.principle-grid article {
  position: relative;
  padding: 24px 0 28px 58px;
  border-top: 1px solid #4b4f56;
}

.principle-index {
  position: absolute;
  left: 0;
  top: 27px;
  color: var(--yellow);
  font-weight: 900;
}

.principle-grid h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.principle-grid p {
  margin: 0;
  color: #aeb2ba;
}

.contact-band {
  background: var(--blue);
  color: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(50px, 10vw, 140px);
  align-items: end;
}

.contact-action p {
  margin: 0 0 22px;
  color: #d9e6ff;
}

.contact-action a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  max-width: 100%;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-underline-offset: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 132px;
}

.site-footer > p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-tagline {
  max-width: 330px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.solid-header {
  position: static;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.product-hero {
  background: var(--blue);
  color: var(--paper);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  width: min(var(--content), calc(100% - 40px));
  min-height: min(720px, calc(100dvh - 88px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

.product-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.9rem, 4.2vw, 3.75rem);
  line-height: 0.96;
}

.product-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.product-hero-copy > p:not(.hero-kicker) {
  max-width: 650px;
  margin: 30px 0 0;
  color: #d9e6ff;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.product-hero-art {
  display: grid;
  place-items: center;
}

.product-hero-art img {
  width: min(100%, 560px);
  filter: drop-shadow(18px 22px 0 rgba(7, 21, 52, 0.28));
}

.product-hero .button-dark {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.store-status {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 0 8px 12px;
  border-left: 3px solid #d9e6ff;
  color: #d9e6ff;
  font-size: 0.875rem;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(52px, 8vw, 88px);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.feature-grid article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 44px);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.feature-number {
  display: block;
  margin-bottom: 48px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.facts-band {
  background: var(--soft);
}

.facts-layout {
  display: grid;
  grid-template-columns: minmax(170px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
}

.large-facts {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.large-facts div {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid #bfc3ca;
}

.large-facts dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 850;
  text-transform: uppercase;
}

.large-facts dd {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 800;
}

.product-cta-band {
  background: var(--yellow);
}

.product-cta-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: center;
}

.product-cta-layout h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
}

.product-cta-layout p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.cta-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-links > a:not(.button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 800;
  text-underline-offset: 5px;
}

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

.legal-main {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0;
}

.directory-main {
  width: min(980px, calc(100% - 40px));
  min-height: calc(100dvh - 220px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0;
}

.directory-intro {
  max-width: 780px;
}

.directory-intro > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.directory-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin-top: 58px;
  padding: clamp(24px, 4vw, 42px);
  border: 2px solid var(--ink);
}

.directory-art {
  padding: 16px;
  background: var(--yellow);
}

.directory-card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.legal-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 850;
  text-transform: uppercase;
}

.legal-intro {
  margin: 28px 0 52px;
  color: var(--muted);
  font-size: 1.18rem;
}

.legal-main h2 {
  margin: 38px 0 10px;
  font-size: 1.24rem;
}

.legal-main p {
  margin: 0 0 16px;
}

.legal-updated {
  margin-top: 52px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.button-outline {
  background: var(--paper);
  color: var(--ink);
}

.legal-main a {
  color: var(--blue);
  text-underline-offset: 4px;
}

.legal-footer {
  border-top: 1px solid var(--line);
}

code {
  padding: 0.1rem 0.3rem;
  background: var(--soft);
  border-radius: 3px;
}

@media (max-width: 860px) {
  .hero-book {
    right: -100px;
    opacity: 0.92;
  }

  .hero-summary {
    position: relative;
    z-index: 3;
    max-width: 470px;
  }

  .product-feature,
  .product-card,
  .product-hero-inner,
  .studio-layout,
  .contact-layout,
  .product-cta-layout {
    grid-template-columns: 1fr;
  }

  .product-hero-inner {
    padding-bottom: 0;
  }

  .product-hero-art img {
    width: min(48%, 360px);
  }

  .facts-layout {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 28px, var(--content));
    height: 76px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 2px solid var(--ink);
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav nav {
    position: absolute;
    top: 52px;
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 28px));
    padding: 10px;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .mobile-nav nav a {
    padding: 11px 10px;
    font-weight: 800;
    text-decoration: none;
  }

  .home-hero .mobile-nav nav {
    background: var(--yellow);
  }

  .wordmark {
    min-height: 62px;
  }

  .wordmark-logo {
    width: 152px;
    height: 62px;
  }

  .hero-inner,
  .section-inner,
  .site-footer,
  .product-hero-inner {
    width: min(100% - 28px, var(--content));
  }

  .home-hero,
  .hero-inner {
    min-height: 750px;
  }

  .hero-inner {
    padding-top: 116px;
  }

  .home-hero h1 {
    font-size: clamp(4.1rem, 22vw, 6rem);
  }

  .hero-summary {
    max-width: 94%;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 16px;
  }

  .hero-book {
    right: -38px;
    bottom: -116px;
    width: 340px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading h2,
  .contact-layout h2,
  .legal-main h1,
  .directory-intro h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .product-locales {
    font-size: clamp(1.65rem, 8.6vw, 2.4rem);
  }

  .product-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-card {
    min-height: auto;
  }

  .product-hero-copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.02;
  }

  .product-hero-art img {
    width: min(78%, 320px);
  }

  .product-card-content {
    padding: 28px 22px 34px;
  }

  .future-card {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 24px 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
  }

  .large-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .directory-main {
    width: min(100% - 28px, 980px);
  }

  .directory-card {
    grid-template-columns: 1fr;
  }

  .directory-art {
    width: 150px;
  }

  .vehicle-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer > p {
    grid-column: auto;
  }

  .legal-header {
    flex-wrap: wrap;
    height: auto;
    padding: 18px 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
