:root {
  --cream: #f6f0e3;
  --paper: #fffaf0;
  --ink: #1e2822;
  --muted: #586159;
  --orange: #d75928;
  --orange-dark: #a73b16;
  --line: #c9c4b7;
  --green: #29483a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  min-height: 82px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { position: relative; width: 25px; height: 28px; display: inline-block; }
.brand-mark::before, .brand-mark::after, .brand-mark span {
  content: ""; position: absolute; bottom: 2px; width: 10px; height: 22px; border-radius: 100% 0 100% 0; background: var(--orange); transform-origin: bottom;
}
.brand-mark::before { left: 7px; transform: rotate(-42deg); }
.brand-mark::after { right: 1px; transform: rotate(42deg) scaleX(-1); }
.brand-mark span { left: 8px; bottom: 0; width: 8px; height: 24px; background: var(--green); }
.header-link { font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-underline-offset: 5px; }

.hero { min-height: 630px; display: grid; grid-template-columns: 1.05fr .95fr; border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(70px, 9vw, 130px) clamp(28px, 8vw, 120px); align-self: center; }
.eyebrow { margin: 0 0 18px; color: var(--orange-dark); font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.04em; line-height: 1.02; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3.6rem, 7vw, 7.3rem); font-weight: 500; }
h1 em { color: var(--orange); font-weight: 400; }
.hero-intro { max-width: 580px; margin: 34px 0; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.primary-link, .submit-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 225px; padding: 15px 18px; border: 2px solid var(--ink); background: var(--ink); color: white; font-weight: 800; text-decoration: none;
}
.primary-link:hover, .submit-button:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.hero-art { position: relative; min-height: 520px; overflow: hidden; background: var(--orange); }
.hero-art::before { content: ""; position: absolute; inset: 10% 10%; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; }
.sun { position: absolute; top: 17%; right: 16%; width: 90px; aspect-ratio: 1; border-radius: 50%; background: #f6c96a; }
.ground { position: absolute; left: 0; right: 0; bottom: 23%; height: 3px; background: var(--ink); }
.wheel { position: absolute; bottom: 23%; width: min(15vw, 200px); aspect-ratio: 1; border: 8px solid var(--ink); border-radius: 50%; transform: translateY(50%); }
.wheel::before, .wheel::after { content: ""; position: absolute; top: 50%; left: 4%; width: 92%; height: 2px; background: var(--ink); }
.wheel::after { transform: rotate(90deg); }
.wheel-one { left: 14%; } .wheel-two { right: 11%; }
.bike-frame { position: absolute; left: 29%; right: 26%; bottom: 29%; height: 24%; }
.bike-frame span { position: absolute; display: block; height: 8px; background: var(--cream); transform-origin: left center; }
.frame-a { width: 60%; left: 3%; bottom: 10%; transform: rotate(-59deg); }
.frame-b { width: 72%; left: 5%; bottom: 10%; transform: rotate(3deg); }
.frame-c { width: 70%; left: 45%; bottom: 56%; transform: rotate(58deg); }
.hero-art > p { position: absolute; left: 8%; bottom: 6%; margin: 0; color: var(--cream); font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; }

.sessions-section { padding: clamp(72px, 8vw, 120px) clamp(20px, 5vw, 76px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2 { max-width: 650px; margin: 0; font-size: clamp(2.5rem, 4.7vw, 5rem); font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; color: var(--ink); cursor: pointer; font-weight: 700; }
.filter-button:hover, .filter-button.is-active { background: var(--ink); color: white; }
.results-status { margin: 48px 0 12px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.session-grid { border-top: 1px solid var(--ink); }
.session-card { display: grid; grid-template-columns: 90px 1fr; gap: 32px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.session-card[hidden] { display: none; }
.card-number { color: var(--orange); font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; }
.card-content { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(250px, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 80px); }
.duration { color: var(--orange-dark); font-size: .78rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.card-content h3 { margin: 0 0 10px; font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 500; }
.card-content > p:not(.duration) { max-width: 520px; margin: 0; color: var(--muted); }
.ask-button { padding: 12px 0; border: 0; border-bottom: 2px solid var(--orange); background: transparent; color: var(--ink); cursor: pointer; font-weight: 800; white-space: nowrap; }
.ask-button:hover { color: var(--orange-dark); }
.demo-notice { margin: 0 clamp(20px, 5vw, 76px) 70px; padding: 22px 26px; display: flex; align-items: center; gap: 16px; border: 1px solid #d29b69; background: #f9e6cf; }
.demo-notice > span { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--orange-dark); border-radius: 50%; color: var(--orange-dark); font-family: Georgia, serif; font-weight: 800; }
.demo-notice p { margin: 0; }
footer { padding: 34px clamp(20px, 5vw, 76px); display: flex; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--cream); font-size: .86rem; }
footer p { margin: 0; }

dialog { width: min(590px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(15, 21, 17, .35); }
dialog::backdrop { background: rgba(18, 28, 22, .74); backdrop-filter: blur(3px); }
#enquiry-form { padding: clamp(28px, 5vw, 54px); }
.dialog-topline { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.close-button { padding: 6px; border: 0; background: transparent; cursor: pointer; font-weight: 800; }
.close-button:hover { color: var(--orange-dark); }
dialog h2 { margin: 16px 0; font-size: clamp(2.2rem, 6vw, 3.7rem); font-weight: 500; }
.dialog-note { padding: 12px 14px; border-left: 3px solid var(--orange); background: var(--cream); color: var(--muted); }
.form-field { margin-top: 22px; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 800; }
.form-field input { width: 100%; padding: 12px 13px; border: 1px solid #767b76; background: white; color: var(--ink); }
.form-field input[aria-invalid="true"] { border-color: #a1251b; outline-color: #a1251b; }
.field-error { display: block; min-height: 1.35em; margin-top: 4px; color: #8f1f17; font-size: .83rem; }
.submit-button { width: 100%; margin-top: 12px; cursor: pointer; }
.form-result { min-height: 1.5em; margin: 18px 0 0; color: var(--green); font-weight: 900; }
:focus-visible { outline: 3px solid #287cb6; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 470px; }
  .wheel { width: min(30vw, 190px); }
  .section-heading { align-items: start; flex-direction: column; }
  .card-content { grid-template-columns: 1fr 1.3fr; }
  .ask-button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .site-header { min-height: 70px; }
  .brand { max-width: 190px; line-height: 1.15; }
  .header-link { display: none; }
  .hero { min-height: 0; }
  .hero-copy { padding: 64px 20px 74px; }
  h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-art { min-height: 350px; }
  .sun { width: 60px; }
  .wheel { width: 31vw; border-width: 5px; }
  .bike-frame { left: 29%; right: 27%; bottom: 28%; }
  .sessions-section { padding-top: 68px; }
  .section-heading h2 { font-size: 2.7rem; }
  .filters { width: 100%; }
  .filter-button { flex: 1 1 auto; }
  .results-status { margin-top: 38px; }
  .session-card { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 30px 0; }
  .card-content { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .card-content > p:not(.duration) { margin-bottom: 18px; }
  .ask-button { white-space: normal; text-align: left; }
  .demo-notice { align-items: flex-start; }
  footer { flex-direction: column; }
}

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