/* Dressage with Michell - site styles.
   Every colour is a named value in the block below, so changing the look never touches the layout. */

@font-face { font-family: 'Marcellus'; src: url('/fonts/marcellus-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---- Colours: Desert Sand (sand, clay red, sage), chosen by Michell 13 Nov 2026 ---- */
:root {
  --bg: #FDFBF7; --surface: #FFFFFF; --tint: #F3EDE3; --band: #EDE4D6; --wash: #F7F1E6;
  --ink: #33291F; --head: #3F3028; --muted: #5C5044; --line: #E2D8C8;
  --accent: #8A3A2B; --accent-hover: #6E2C20; --rule: #86652A; --mark: #66704F;
  --stats-bg: #FFFFFF; --stats-big: #8A3A2B; --stats-ink: #3F3028; --stats-line: #E2D8C8;
  --foot-bg: #E9DFCF; --foot-ink: #33291F; --foot-link: #8A3A2B; --foot-motto: #86652A;
  --band-head: #3F3028; --band-quote: #8A3A2B; --overlay: 253, 251, 247; --overlay-a: .80;
  --video: #DDD2C0; --shadow: 63, 48, 40; --pad: 4vw;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: 'Source Sans 3', Arial, sans-serif; font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--rule); outline-offset: 3px; }
h1, h2, h3, .quote, .foot-name, .brand span, .stats strong, .motto { font-family: 'Marcellus', Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; color: var(--head); margin: 0; }
h2 { font-size: clamp(26px, 2.5vw, 36px); color: var(--head); margin: 0 0 8px; }
h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--rule); margin-top: 10px; }
h3 { font-size: 23px; color: var(--head); margin: 0; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; }
.sub { font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.note { font-size: 16px; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 10px; z-index: 50; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 4px; border: 0; font-size: 17px; font-family: inherit; cursor: pointer; box-shadow: 0 4px 12px rgba(var(--shadow), .25); }
.btn:hover { background: var(--accent-hover); color: #fff; }
.more { font-weight: 700; }
.ph { background: var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; min-height: 200px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(var(--shadow), .08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--pad); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 54px; }
.brand span { font-size: 23px; color: var(--head); }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 16px; }
.top nav a { text-decoration: none; padding: 10px 0; color: var(--head); }
.top nav a:hover { color: var(--accent); }
.top nav a.btn { padding: 10px 20px; color: #fff; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; background: var(--surface); border: 2px solid var(--head); border-radius: 4px; font-weight: 700; font-size: 16px; font-family: inherit; color: var(--head); }

/* First screen */
.hero { display: flex; flex-wrap: wrap; }
.hero-text { flex: 1.15 1 520px; padding: 36px var(--pad) 78px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.hero-text .lead { max-width: 600px; margin-top: 10px; }
.hero-photo { flex: 1 1 420px; min-height: clamp(300px, 56vh, 520px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rule); margin-bottom: 8px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 4px; }
.motto { font-size: 19px; color: var(--rule); margin: 6px 0 0; }

.stats { position: relative; z-index: 3; margin: -40px var(--pad) 0; background: var(--stats-bg); color: var(--stats-ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 20px var(--pad); text-align: center; box-shadow: 0 14px 36px rgba(var(--shadow), .18); border-bottom: 4px solid var(--rule); }
.stats strong { display: block; font-size: 23px; color: var(--stats-big); white-space: nowrap; }
.stats span { font-size: 15px; }
.stats > div + div { border-left: 1px solid var(--stats-line); }

/* Sections */
.band { padding: 56px var(--pad); }
.tint { background: var(--tint); }
.wash { background: var(--wash); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card { background: var(--surface); border-top: 4px solid var(--rule); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 28px rgba(var(--shadow), .13); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(var(--shadow), .2); }
.card > img, .card > .ph { height: 200px; width: 100%; object-fit: cover; min-height: 0; transition: transform .4s ease; }
.card:hover > img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card, .card > img { transition: none; } .card:hover, .card:hover > img { transform: none; } }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.push { margin-top: auto; padding-top: 10px; }

/* Bands with her arena photo or the arena drawing behind them */
.dark { position: relative; overflow: hidden; background: var(--band); }
.dark > * { position: relative; z-index: 1; }
.dark h2 { color: var(--band-head); }
.dark::after { content: ""; position: absolute; z-index: 0; right: -70px; top: 50%; width: 660px; height: 366px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 244' fill='none' stroke='%239A7B3A' stroke-width='1.5'%3E%3Crect x='20' y='22' width='400' height='200'/%3E%3Cline x1='20' y1='122' x2='420' y2='122'/%3E%3Cline x1='220' y1='22' x2='220' y2='222'/%3E%3Ccircle cx='120' cy='122' r='100'/%3E%3Ccircle cx='320' cy='122' r='100'/%3E%3Cg fill='%239A7B3A' stroke='none' font-family='Georgia,serif' font-size='15'%3E%3Ctext x='4' y='127'%3EA%3C/text%3E%3Ctext x='426' y='127'%3EC%3C/text%3E%3Ctext x='75' y='15'%3EK%3C/text%3E%3Ctext x='215' y='15'%3EE%3C/text%3E%3Ctext x='355' y='15'%3EH%3C/text%3E%3Ctext x='75' y='241'%3EF%3C/text%3E%3Ctext x='215' y='241'%3EB%3C/text%3E%3Ctext x='355' y='241'%3EM%3C/text%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; opacity: .32; pointer-events: none; }

.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 48px; background: linear-gradient(rgba(var(--overlay), var(--overlay-a)), rgba(var(--overlay), var(--overlay-a))), url('/images/uploads/groomed-arena-footing.jpg') center / cover; }
.feature::after { display: none; }
.feature figure { margin: 0; flex: 1 1 520px; padding-left: 84px; position: relative; }
.feature figure::before { content: "\201C"; position: absolute; left: 0; top: -34px; font-family: 'Marcellus', Georgia, serif; font-size: 150px; line-height: 1; color: var(--rule); }
.feature blockquote { margin: 0; font-family: 'Marcellus', Georgia, serif; font-size: clamp(20px, 2vw, 27px); line-height: 1.3; color: var(--band-head); }
figcaption { margin-top: 12px; font-weight: 700; color: var(--rule); letter-spacing: .08em; }

.dates { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dates li { background: var(--surface); border-top: 4px solid var(--rule); padding: 20px; display: flex; flex-direction: column; box-shadow: 0 10px 28px rgba(var(--shadow), .12); }
.dates .when { font-weight: 700; color: var(--rule); }
.dates strong { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 22px; color: var(--head); }

.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about-photo { flex: 1 1 340px; min-height: 340px; align-self: stretch; box-shadow: 18px 18px 0 var(--rule); margin-bottom: 18px; }
.about-photo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: 50% 20%; }
.about-text { flex: 2 1 520px; }
.creds { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.creds li { background: var(--surface); padding: 12px 18px 12px 44px; border-top: 3px solid var(--rule); position: relative; box-shadow: 0 4px 14px rgba(var(--shadow), .10); }
.creds li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 10px; height: 10px; background: var(--mark); transform: rotate(45deg); }
details { background: var(--surface); padding: 16px 18px; }
summary { font-weight: 700; color: var(--head); cursor: pointer; min-height: 28px; }
details ul { margin: 14px 0 0; padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 32px; }

/* Photo carousels */
.carousel { margin-top: 24px; }
.carousel h3 { margin-bottom: 12px; }
.car-frame { position: relative; }
.track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.track li { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; aspect-ratio: 4 / 3; }
.slide { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--line); cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.car-btn.prev { left: 10px; } .car-btn.next { right: 10px; }
.car-btn[disabled] { opacity: .35; cursor: default; }
.count { text-align: center; color: var(--muted); margin-top: 12px; }

.teach { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.teach > div { flex: 1 1 420px; }
.quote { font-size: clamp(21px, 2vw, 27px); line-height: 1.25; color: var(--band-quote); }
.video { aspect-ratio: 16 / 9; background: var(--video); box-shadow: 0 14px 34px rgba(var(--shadow), .2); }
.video iframe { width: 100%; height: 100%; border: 0; }

/* Testimonials */
.quotes { display: flex; flex-wrap: wrap; gap: 40px 24px; margin-top: 44px; }
.quotes figure { flex: 1 1 max(300px, 30%); margin: 0; display: flex; flex-direction: column; background: var(--surface); padding: 40px 26px 22px; border-top: 4px solid var(--rule); box-shadow: 0 14px 34px rgba(var(--shadow), .13); position: relative; }
.quotes figure::before { content: "\201C"; position: absolute; top: -28px; left: 28px; width: 56px; height: 56px; border-radius: 50%; background: var(--mark); color: #fff; font-family: 'Marcellus', Georgia, serif; font-size: 54px; line-height: 74px; text-align: center; box-shadow: 0 6px 14px rgba(var(--shadow), .3); }
.quotes blockquote { margin: 0 0 18px; font-family: 'Marcellus', Georgia, serif; font-size: 19px; line-height: 1.4; color: var(--head); }
.quotes figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }

.panel { background: var(--surface); padding: 24px; border-top: 4px solid var(--rule); box-shadow: 0 10px 28px rgba(var(--shadow), .12); }
.panel h3 { margin-bottom: 10px; }
.panel ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.doc { display: block; text-decoration: none; border: 2px solid var(--accent); color: var(--accent); padding: 13px 18px; border-radius: 4px; font-weight: 700; margin-top: 12px; transition: background .15s ease, color .15s ease; }
.doc:hover { background: var(--accent); color: #fff; }

.contact { display: flex; flex-wrap: wrap; gap: 40px; }
.contact > div { flex: 1 1 380px; }
.contact form { flex: 1 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 18px; background: var(--surface); padding: 26px; border-top: 4px solid var(--rule); box-shadow: 0 14px 34px rgba(var(--shadow), .12); }
.contact form p { display: flex; flex-direction: column; gap: 6px; }
.contact .wide { grid-column: 1 / -1; }
.contact label { font-weight: 600; }
.contact label span { font-weight: 400; color: var(--muted); }
.contact input, .contact select, .contact textarea { min-height: 44px; border: 1px solid #6F665E; border-radius: 4px; padding: 10px 12px; font-size: 17px; font-family: inherit; background: #fff; color: var(--ink); width: 100%; }
.contact .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }

.foot { background: var(--foot-bg); color: var(--foot-ink); border-top: 4px solid var(--rule); padding: 32px var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.foot a { color: var(--foot-link); }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot-name { font-size: 24px; margin: 0; }
.foot .motto { color: var(--foot-motto); margin-top: 0; }
.foot .owner { font-size: 14px; margin: 10px 0 0; opacity: .85; }

.sticky-contact { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(20, 16, 14, .9); }
.lightbox img { max-width: 96vw; max-height: 86vh; object-fit: contain; }
.lightbox .close { display: block; margin: 0 0 8px auto; min-height: 44px; padding: 0 16px; background: #fff; color: #33291F; border: 0; border-radius: 4px; font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; }
.thanks { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }

@media (max-width: 1100px) { .track li { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 900px) { .track li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 760px) {
  :root { --pad: 16px; }
  body { font-size: 16.5px; padding-bottom: 76px; }
  .band { padding: 40px var(--pad); }
  .brand span { font-size: 20px; }
  .brand img { height: 42px; }
  .menu-btn { display: block; }
  .top nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .top nav a.btn { display: none; }
  .hero-text { padding: 24px var(--pad) 28px; order: 2; }
  .hero-photo { height: 230px; min-height: 230px; flex-basis: 100%; order: 1; }
  .stats { margin: 0; box-shadow: none; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .stats strong { white-space: normal; font-size: 19px; }
  .stats > div + div { border-left: 0; }
  .feature figure { padding-left: 0; padding-top: 56px; }
  .feature figure::before { top: -20px; font-size: 110px; }
  .dark::after { width: 420px; right: -120px; opacity: .2; }
  .about-photo { box-shadow: 10px 10px 0 var(--rule); }
  .track li { flex-basis: 88%; }
  .car-btn { width: 44px; height: 44px; font-size: 26px; }
  .contact form { padding: 20px; }
  .sticky-contact { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; text-align: center; box-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
}
