/* Stoneridge Acres Stables, "Golden hour" option
   Photo-led and calm: the trail ride opens the page, pasture greens carry the bands,
   and arched photo frames (a hayloft window) mark the service cards, the show-team
   portraits, and the camp sessions panel. Sunset amber is the only bright color. */
:root {
  --ink: #1E2A1F;         /* pasture at dusk, text */
  --bg: #EEF1E8;          /* pale sage page ground */
  --bg-2: #DDE5D3;        /* sage for alternating bands */
  --denim: #2C4A2E;       /* deep pasture green, dark bands (name kept for the pattern) */
  --denim-deep: #1B2E1C;  /* footer and hero scrim */
  --clay: #E9A03B;        /* sunset amber, primary button and small accents */
  --gold: #E9A03B;        /* focus rings */
  --muted: #56604F;
  --line: rgba(30, 42, 31, .18);
  --display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', 'Segoe UI', Helvetica, Arial, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --measure: 62ch;
  --arch: 999px 999px 10px 10px;
  --mark: url("/_/37e8c9ac823f5908a85a14fcb71a0241ac9374101d6cf6c771edd5e92810afe8/img/logo-mark-framed.png");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--denim); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0; max-width: var(--measure); }
.eyebrow { font-weight: 600; font-size: 1rem; font-style: italic; color: var(--muted); margin-bottom: .6rem; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(4rem, 9vw, 7.5rem); }
.band-straw { background: var(--bg-2); }
.band-denim { background: var(--denim); color: #F2EFE3; }
.band-denim .eyebrow { color: #C9D6BF; }
.band-denim a { color: #F2EFE3; }
.stack { display: grid; gap: 1.4rem; }
.stack > div { display: grid; gap: .4rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; text-decoration: none;
  padding: .9em 1.5em; border: 2px solid currentColor; border-radius: 999px; line-height: 1;
  transition: background-color .15s, color .15s, border-color .15s; font-size: 1rem; font-family: var(--body); cursor: pointer;
}
.btn-clay { background: var(--clay); border-color: var(--clay); color: var(--ink); }
.btn-clay:hover { background: #F2B65E; border-color: #F2B65E; }
.btn-ghost { color: #FFF8EA; border-color: rgba(255,248,234,.7); }
.btn-ghost:hover { background: rgba(255,248,234,.14); border-color: #FFF8EA; }
.btn-ink { color: var(--denim); border-color: var(--denim); }
.btn-ink:hover { background: var(--denim); color: var(--bg); }
.mark {
  display: inline-block; background: currentColor; aspect-ratio: 848 / 1064;
  -webkit-mask: var(--mark) center / contain no-repeat;
          mask: var(--mark) center / contain no-repeat;
}

.notice { background: var(--denim-deep); color: var(--clay); font-weight: 700; text-align: center; padding: .7rem var(--gutter-l); }
.notice a { color: inherit; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(238,241,232,.96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--denim); }
.brand .mark { height: 44px; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.1; color: var(--ink); }
.brand small { display: block; font-family: var(--body); font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--denim); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--clay); }
.nav .btn { padding: .7em 1.15em; font-size: .92rem; }
.menu { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: .55rem 1.1rem; border: 2px solid var(--denim); border-radius: 999px; color: var(--denim); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu ul { list-style: none; margin: 0; padding: .5rem 0 1rem; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: grid; }
  .menu li a { display: block; padding: .75rem var(--gutter-l); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
  .menu li a:hover { background: var(--bg-2); }
}

/* Hero: a split that fits one screen. Text on deep pasture green at the left, the trail
   ride photo on the right inside a large arch, the same window shape as the photos below.
   On phones the photo sits on top at a fixed share of the screen and the text follows. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
  color: #FFF8EA; background: var(--denim-deep);
  min-height: min(calc(100svh - 77px), 760px);
  padding: clamp(1.5rem, 3vw, 2.5rem) max(var(--gutter-r), calc((100vw - 1200px) / 2 + 20px)) clamp(1.5rem, 3vw, 2.5rem) max(var(--gutter-l), calc((100vw - 1200px) / 2 + 20px)); }
.hero img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; max-height: 700px; min-height: 420px; object-fit: cover; object-position: 40% 50%; border-radius: 360px 360px 14px 14px; }
.hero .wrap { grid-column: 1; grid-row: 1; padding: 0; margin: 0; max-width: none; display: grid; gap: 1.3rem; }
.hero h1 { font-size: clamp(2.3rem, 4.1vw, 3.9rem); max-width: 15ch; letter-spacing: -.015em; line-height: 1.05; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 1rem var(--gutter-r) 2.5rem var(--gutter-l); gap: 1.6rem; }
  .hero img { grid-column: 1; height: 28svh; min-height: 200px; border-radius: 200px 200px 12px 12px; }
  .hero .wrap { grid-row: 2; }
}
.hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; color: #F1EADA; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.hero .photo-credit { position: absolute; right: var(--gutter-r); bottom: .6rem; font-size: .75rem; opacity: .7; }

/* Facts */
.facts { background: var(--denim-deep); color: #E7EBDD; }
.facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; padding-block: 1.1rem; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: .65em; }
.facts li::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--clay); }

/* Services: four arched windows */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 3rem; }
.service { min-width: 0; text-decoration: none; color: inherit; display: grid; gap: .9rem; align-content: start; }
.service .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--arch); background: var(--bg-2); }
.service img { width: 100%; height: 100%; object-fit: cover; }
.service h3 { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .2em; transition: text-decoration-color .15s; }
.service:hover h3 { text-decoration-color: var(--clay); }
.service p { font-size: 1rem; color: var(--muted); }

/* Two-column features */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.feature.flip > .copy { order: 2; }
.feature .copy { min-width: 0; display: grid; gap: 1.2rem; align-content: start; }
.feature .copy h2 { margin-bottom: .2rem; }
.collage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-width: 0; grid-auto-rows: clamp(150px, 18vw, 230px); gap: 1rem; }
.collage figure { margin: 0; min-width: 0; overflow: hidden; border-radius: 10px; position: relative; }
.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.collage figure.tall { grid-row: span 2; }
.collage figure.wide { grid-column: span 2; grid-row: span 2; }
.collage figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: .5rem .8rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(27,46,28,.85)); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip > .copy { order: 0; }
}

/* Lesson table */
.lesson-table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 1.05rem; margin-top: .4rem; max-width: var(--measure); }
.lesson-table th, .lesson-table td { text-align: left; padding: .8rem 1.2rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.lesson-table th { font-family: var(--display); font-weight: 400; font-size: 1.15rem; white-space: nowrap; }
.lesson-table thead th { font-family: var(--body); font-weight: 600; font-size: .9rem; font-style: italic; color: var(--muted); border-bottom: 2px solid var(--denim); }
.lesson-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { font-size: .98rem; color: var(--muted); border-left: 3px solid var(--clay); padding-left: 1rem; }

/* Plate: the camp sessions panel, an arched window like the photos */
.plate { border-radius: 220px 220px 14px 14px; padding: clamp(4.5rem, 9vw, 6rem) clamp(1.6rem, 4vw, 2.8rem) clamp(1.8rem, 4vw, 2.6rem); background: var(--bg); text-align: center; }
.plate .sessions { justify-items: center; }
.plate p { margin-inline: auto; }
.band-denim .plate { background: var(--denim-deep); }

/* Camps */
.camps-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.sessions li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .4rem 0; font-variant-numeric: tabular-nums; }
.sessions b { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; }
.tag { font-size: .8rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; background: #9B3B26; color: #fff; }
.tag-open { background: var(--denim); }
.camp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1.2rem 1.6rem; margin-top: 1.8rem; }
.camp-facts div { border-top: 2px solid var(--denim); padding-top: .7rem; }
.camp-facts b { font-family: var(--display); font-weight: 400; font-size: 1.75rem; display: block; line-height: 1.15; }
.camp-facts span { font-size: .95rem; color: var(--muted); }
.camp-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.camp-photos img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; }
@media (max-width: 860px) { .camps-grid { grid-template-columns: 1fr; } }

/* Show team */
.show-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: end; }
.show-head p { color: #DDE3D3; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.strip img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--arch); }
@media (max-width: 760px) {
  .show-head { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about .portrait { margin: 0; }
.about .portrait img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.about .portrait figcaption { font-size: .95rem; color: var(--muted); padding-top: .6rem; }
.about blockquote { margin: .4rem 0; font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.3; color: var(--denim); max-width: 26ch; }
.about .story { display: grid; gap: 1.1rem; }
.about .story p { max-width: 58ch; }
.sig { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.sig .mark { height: 58px; color: var(--denim); }
.sig b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.sig span { font-size: .95rem; font-style: italic; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { columns: 3; column-gap: 1rem; margin-top: 2.5rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; border-radius: 10px; position: relative; overflow: hidden; background: var(--bg); }
.gallery img { width: 100%; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .8rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(27,46,28,.85)); }
@media (max-width: 760px) { .gallery { columns: 2; column-gap: .7rem; } .gallery figure { margin-bottom: .7rem; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .9rem 1.6rem; font-size: 1.1rem; }
.contact dt { font-size: .95rem; font-style: italic; color: #C9D6BF; padding-top: .2em; }
.contact dd { margin: 0; }
.contact dd big { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; display: block; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } .contact dl { grid-template-columns: 1fr; gap: .15rem 0; } .contact dt { margin-top: .9rem; } }

/* Contact form: a light card on the green band */
.form { display: grid; gap: 1rem; background: var(--bg); color: var(--ink); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.form h3 { margin-bottom: .2rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1.5px solid rgba(30,42,31,.35); border-radius: 8px; padding: .65em .8em; width: 100%; min-width: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--denim); }
.form textarea { resize: vertical; }
.form a { color: var(--denim); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1rem; align-items: start; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .9rem; color: var(--muted); }
.form-error { background: #9B3B26; color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.req { color: #9B3B26; font-weight: 700; }
.field-error { display: none; color: #9B3B26; font-weight: 600; font-size: .9rem; }
.form :is(input, textarea):user-invalid { border-color: #9B3B26; border-width: 2px; }
.form :user-invalid + .field-error { display: block; }

/* Footer */
footer { background: var(--denim-deep); color: #C9D2C0; font-size: .95rem; }
footer .wrap { padding-block: 2.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2rem; align-items: center; }
footer .brand { color: #E7EBDD; }
footer .brand b { color: #F2EFE3; }
footer .brand small { color: #AEBBA5; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
footer a { color: #F2EFE3; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .service h3 { transition: none; } }
