/* Layout: photo-led hero cut on the angle of the Right Track mark, then plain full-width bands. */
:root {
  --ink: #16202A;
  --ink-line: #2C3943;
  --slate: #5D6972;
  --fog: #C3CDD4;
  --mist: #F1F4F6;
  --line: #DCE2E7;
  --field: #B4C0C9;
  --paper: #FFFFFF;
  --orange: #DF6F27;
  --orange-bright: #EC8243;
  --blue: #3594D1;
  --blue-deep: #1C6BA3;
  --display: "Montserrat", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --cut: clamp(20px, 4.5vw, 72px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 56px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-name b { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--slate); }
.brand-name span { margin-top: 5px; font-family: var(--display); font-weight: 500; font-size: 0.64rem; letter-spacing: 0.34em; color: var(--blue); }
.brand.on-dark .brand-name b { color: var(--paper); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none; padding-block: 6px; border-bottom: 3px solid transparent; }
.nav-link:hover { border-bottom-color: var(--line); }
.nav-link[aria-current="page"] { border-bottom-color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-bright); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-small { padding: 10px 16px; font-size: 0.92rem; }
.nav .short { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  min-height: 640px;
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-block: 72px calc(72px + var(--cut));
  padding-left: max(20px, calc((100vw - 1120px) / 2 + 20px));
  padding-right: 32px;
}
.hero h1 { max-width: 13em; font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.04; }
.hero h1 span { color: var(--orange); }
.lede { max-width: 30em; color: var(--fog); font-size: 1.22rem; }
.hero-note { color: var(--fog); font-size: 1rem; }
.hero-note b { color: var(--paper); font-weight: 600; }

.hero-photo { position: relative; min-height: 100%; }
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 8% 100%);
}
.hero-photo::before,
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero-photo::before {
  background: var(--orange);
  clip-path: polygon(calc(24% - 28px) 0, calc(24% - 12px) 0, calc(8% - 12px) 100%, calc(8% - 28px) 100%);
}
.hero-photo::after {
  background: var(--blue);
  clip-path: polygon(calc(24% - 52px) 0, calc(24% - 40px) 0, calc(8% - 40px) 100%, calc(8% - 52px) 100%);
}

.hero-short { min-height: 440px; }
.hero-short h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.hero-short .hero-photo img { object-position: 50% 22%; }

/* Load moment: the lanes drop in along the cut like a start gate */
@keyframes lane-drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes photo-settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-photo::before { animation: lane-drop 0.7s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-photo::after { animation: lane-drop 0.7s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-photo img { animation: photo-settle 1.4s ease-out both; }

/* Massage and PT: photo in a frame cut on the logo angle, with an orange shadow */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature-photo { position: relative; isolation: isolate; margin-right: 18px; }
.feature-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.feature-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  transform: translate(18px, 18px);
}

/* About: Manda's photo bleeds off the left, cut on the same angle as the hero */
.about-band { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: 640px; }
.about-photo { position: relative; min-height: 100%; }
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  clip-path: polygon(0 0, 92% 0, 76% 100%, 0 100%);
}
.about-photo::before,
.about-photo::after { content: ""; position: absolute; inset: 0; }
.about-photo::before { background: var(--orange); clip-path: polygon(calc(92% + 12px) 0, calc(92% + 28px) 0, calc(76% + 28px) 100%, calc(76% + 12px) 100%); }
.about-photo::after { background: var(--blue); clip-path: polygon(calc(92% + 40px) 0, calc(92% + 52px) 0, calc(76% + 52px) 100%, calc(76% + 40px) 100%); }
.about-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding-block: 88px;
  padding-left: 40px;
  padding-right: max(20px, calc((100vw - 1120px) / 2 + 20px));
}
.about-copy p { max-width: 34em; color: var(--slate); }
.about-copy h3 { margin-top: 10px; }
.quals-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }

/* Facts under the hero */
.facts { padding-top: 8px; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts p { padding: 22px 28px; border-left: 3px solid var(--orange); color: var(--slate); font-size: 1.02rem; line-height: 1.45; }
.facts b { display: block; margin-bottom: 2px; font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--ink); }

/* Bands */
.section { padding-block: 88px; }
.section.dark { background: var(--ink); color: var(--paper); }
.slant { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-block: calc(88px + var(--cut)); }
.slant-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(60px + var(--cut)); }
.slant-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.section.dark .prose p { color: var(--fog); }
.section.grey { background: var(--mist); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.split.top { align-items: start; }
.prose { display: grid; gap: 18px; max-width: 34em; }
.prose p { color: var(--slate); }
.prose .btn { justify-self: start; margin-top: 8px; }

.list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.list li::marker { color: var(--orange); }
.prose .list { color: var(--ink); }

/* Learn to Ride price */
.price-box {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 8px 0 8px 32px;
  border-left: 8px solid var(--orange);
}
.price-box .amount { font-family: var(--display); font-weight: 900; font-size: 5rem; line-height: 1; letter-spacing: -0.03em; }
.price-box .per { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.price-box p { margin-top: 12px; color: var(--slate); }
.price-box a { font-weight: 600; }

/* Female only session */
.event { display: grid; gap: 10px; padding: 40px 40px 36px; background: var(--orange); color: var(--ink); clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.event-tag { font-family: var(--display); font-weight: 700; font-size: 0.95rem; }
.event h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.08; }
.event-when { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.event a { color: var(--ink); font-weight: 700; }

/* Qualifications */
.quals { display: grid; gap: 14px; padding: 34px; background: var(--mist); }
.quals .list { gap: 10px; }

/* Booking band */
.cta { background: var(--orange); color: var(--ink); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 0 64px; }
.cta h2 { margin-bottom: 8px; }
.cta p { font-size: 1.15rem; }
.cta a:not(.btn) { color: var(--ink); font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: var(--fog); padding-block: 44px 28px; font-size: 1rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.site-footer a { color: var(--paper); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ink-line); font-size: 0.9rem; }

/* Contact page */
.page-head { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.page-head .wrap { display: grid; gap: 14px; padding-block: 64px calc(72px + var(--cut)); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-head .lede { max-width: 32em; }
.lanes { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; pointer-events: none; }
.lanes::before,
.lanes::after { content: ""; position: absolute; left: 0; height: 12px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
.lanes::before { bottom: 18px; width: 62%; background: var(--orange); }
.lanes::after { bottom: 0; width: 36%; background: var(--blue); }

.details { display: grid; gap: 28px; align-content: start; }
.details h2 { font-size: 1.6rem; }
.detail { display: grid; gap: 2px; }
.detail-label { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--slate); }
.detail-big { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.2; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.detail-big.email { font-size: 1.25rem; }
.detail-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; }

.enquiry { display: grid; gap: 18px; padding: 36px; background: var(--mist); }
.enquiry h2 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--display); font-weight: 700; font-size: 0.9rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field);
  border-radius: 4px;
}
.field textarea { min-height: 140px; resize: vertical; }
.enquiry .btn { justify-self: start; }
.form-note { font-size: 0.98rem; color: var(--slate); }
.form-status { padding: 14px 16px; background: var(--paper); border-left: 4px solid var(--blue); font-weight: 600; }

/* Tablet */
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { order: -1; height: 420px; }
  .hero-photo img { object-position: 50% 42%; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .hero-photo::before,
  .hero-photo::after { display: none; }
  .hero-copy { padding: 36px 20px calc(56px + var(--cut)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-band { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .about-photo { height: 440px; }
  .about-photo img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
  .about-photo::before,
  .about-photo::after { display: none; }
  .about-copy { padding: 40px 20px 64px; }
  .section { padding-block: 64px; }
}

/* Phone */
@media (max-width: 600px) {
  .nav .nav-link, .nav .long { display: none; }
  .nav .short { display: inline; }
  .brand img { width: 48px; }
  .brand-name b { font-size: 1.1rem; }
  .hero-photo { height: 360px; }
  .hero-short .hero-photo { height: 300px; }
  .about-photo { height: 380px; }
  .quals-list { grid-template-columns: minmax(0, 1fr); }
  .facts .wrap { grid-template-columns: minmax(0, 1fr); }
  .facts p { padding: 14px 0 14px 20px; }
  .event, .quals, .enquiry { padding: 26px 22px; }
  .event { padding-top: 34px; }
  .price-box { padding-left: 22px; }
  .price-box .amount { font-size: 4rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo::before, .hero-photo::after, .hero-photo img { animation: none; }
}

@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header { position: static; }
}
