@font-face {
  font-family: "Noto Sans SC Display";
  src: url("assets/headings.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f6ee;
  --ink: #182219;
  --forest: #14291e;
  --lime: #d9f184;
  --muted: #4b574c;
  --rule: #d8dbcc;
  --gutter: clamp(1rem, 5vw, 5rem);
  --site-width: 1240px;
  --display: "Noto Sans SC Display", var(--sans);
  --sans: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); }
p { line-height: 1.7; }
a { color: inherit; text-underline-offset: .24em; }
[hidden] { display: none; }
[id] { scroll-margin-top: 1rem; }
::selection { color: var(--forest); background: var(--lime); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip {
  position: fixed;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--lime);
  color: var(--forest);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }
.wrap { width: min(var(--site-width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.site-header { background: var(--paper); }
.masthead, .footer-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-mark { display: flex; align-items: center; position: relative; width: 27px; height: 24px; }
.brand-mark i {
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.brand-mark i + i { left: 11px; }
.brand-mark::after {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  width: 2px;
  height: 22px;
  background: currentColor;
  transform: rotate(37deg);
}
.masthead nav { display: flex; gap: clamp(1.2rem, 4vw, 3.25rem); }
.masthead nav a {
  padding: .65rem .15rem;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.masthead nav a:hover, .back-top:hover { text-decoration: underline; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.5;
  transition: background-color .18s, color .18s;
}
.button-outline { border-color: var(--ink); font-size: .91rem; }
.button-outline:hover, .button-dark { background: var(--forest); color: var(--paper); }
.button-dark:hover { background: #294837; }
.button-dark:focus-visible { outline-color: var(--ink); }
.button-lime { background: var(--lime); color: var(--forest); padding-inline: 1.4rem; }
.button-lime:hover { background: #ebf8be; }
.button-lime:focus-visible { outline-color: var(--lime); }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 46vw, 720px);
  background: var(--forest);
  color: #fffdf4;
  isolation: isolate;
}
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 65% 26%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(12 23 16 / .87), rgb(12 23 16 / .61) 42%, rgb(12 23 16 / 0) 77%);
}
.hero-content { padding-block: 4rem; }
h1 {
  margin-bottom: .95rem;
  font-size: clamp(2.8rem, 5.6vw, 5.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.hero-copy { color: #f2f4e8; margin-bottom: 1.6rem; font-size: clamp(1rem, 1.3vw, 1.14rem); }

.section { padding-block: clamp(3.55rem, 7vw, 6.15rem); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.section-heading > p { max-width: 24rem; }
h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.bike-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.05rem, 2.2vw, 2rem); }
.bike { display: flex; flex-direction: column; }
.bike-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.31;
  object-fit: cover;
  background: #eee9dd;
}
.bike h3 { margin-block: .95rem .55rem; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.bike-label { margin-inline-start: .45rem; color: var(--muted); font: 650 .88rem var(--sans); }
.bike details { margin-top: auto; border-block: 1px solid var(--rule); }
.section-heading > p, .bike > p, .visit p { color: var(--muted); }
.bike > p { margin-bottom: 1.1rem; }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .78rem;
  min-height: 46px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: .78rem;
  height: .78rem;
  flex: 0 0 .78rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
details[open] summary::after { background-size: 100% 1px, 0 0; }
summary:hover { text-decoration: underline; }
details > p { margin: 0 1.35rem 1rem 0; }
.bike details p { color: var(--muted); }

.workshop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest);
  color: var(--paper);
}
.workshop img { width: 100%; height: 100%; object-fit: cover; }
.workshop-content {
  width: min(100%, calc(var(--site-width) / 2 + var(--gutter)));
  padding: clamp(2.8rem, 6vw, 5.7rem) var(--gutter) clamp(2.8rem, 6vw, 5.7rem) clamp(1.6rem, 5vw, 4.8rem);
}
.workshop-content > p { margin-block: .9rem 1.6rem; }
.checklist details { border-top: 1px solid #65776a; }
.checklist details:last-child { border-bottom: 1px solid #65776a; }
.checklist details p { color: #e0eadc; }

.visit { background: #e9eedc; }
.visit-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-block: clamp(3rem, 6vw, 5rem);
  gap: 1.2rem 2rem;
}
.visit h2 { margin-bottom: .7rem; }
.visit p + p { margin-top: .3rem; }
footer { background: var(--paper); }
.footer-inner { min-height: 86px; }
.back-top { font-size: .94rem; text-decoration: none; }

@media (min-width: 681px) and (max-width: 920px) {
  .hero-photo img { object-position: 70% center; }
  .hero::after { background: linear-gradient(90deg, rgb(12 23 16 / .91), rgb(12 23 16 / .64) 46%, transparent 86%); }
}
@media (max-width: 680px) {
  .masthead { min-height: auto; display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding-top: .65rem; }
  .masthead .brand { font-size: 1.06rem; }
  .masthead .button { min-height: 40px; padding: .4rem .7rem; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; padding-top: .22rem; gap: 1.4rem; }
  .masthead nav a { padding: .64rem .12rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-photo { position: relative; z-index: auto; height: clamp(240px, 68vw, 420px); }
  .hero-photo img { object-position: center 20%; }
  .hero::after { content: none; }
  .hero-content { padding-block: 1.85rem 2.65rem; }
  h1 { font-size: clamp(2.06rem, 8.3vw, 3.65rem); margin-bottom: .7rem; }
  .hero-copy { margin-bottom: 1.15rem; }
  .desktop-break { display: none; }
  .section-heading, .visit-inner { flex-direction: column; align-items: start; }
  .bike-grid { grid-template-columns: 1fr; row-gap: 2.15rem; }
  .bike-photo { aspect-ratio: 1.38; }
  .workshop { grid-template-columns: 1fr; }
  .workshop img { height: auto; aspect-ratio: 1.5; }
  .workshop-content { padding-inline: var(--gutter); }
  .footer-inner { min-height: 72px; }
  .footer-inner .brand { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
