/* Baywood Pony Club. Colors follow the USPC brand stripe. */
:root {
  --navy: #13377e;
  --navy-deep: #0e2a63;
  --gold: #fdb414;
  --gold-deep: #e09c00;
  --red: #b80d31;
  --green: #82a832;
  --cream: #fff5dd;
  --sky: #e8edf6;
  --ink: #1d2433;
  --muted: #5a6475;
  --line: #d9dfea;
  --white: #ffffff;
  --radius: 10px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.sr-only, .honey {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Brand stripe */
.stripe { display: flex; height: 10px; }
.stripe span { flex: 3; }
.stripe .wide { flex: 8; }
.stripe .w { flex: 1; background: var(--white); }
.stripe .g { flex: 6; background: var(--green); }
.stripe .r { flex: 1; background: var(--red); }
.stripe .y { background: var(--gold); }
.stripe .b { flex: 1; background: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.brand-sub { font-size: .85rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center;
}
.btn-sm { padding: 8px 18px; font-size: .95rem; }
.btn-block { display: block; width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-deep); color: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}

.eyebrow { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--red); margin-bottom: .6em; }
.eyebrow-gold { color: var(--gold); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 85%); padding: 56px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.25rem; color: #2f3a4f; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { color: var(--muted); font-size: .98rem; }
.hero-photo { margin: 0; }
.hero-photo img, .why-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(19,55,126,.18);
}
.hero-photo img { object-position: center 30%; border-bottom: 8px solid var(--gold); }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--sky); }
.section-navy { background: linear-gradient(180deg, #1c4290 0%, var(--navy-deep) 100%); color: #e9eef8; }
.section-navy h2, .section-navy h3 { color: #fff; }
.sub-head { margin-top: 56px; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.stat-card { border: 2px solid var(--navy); border-radius: var(--radius); padding: 24px 24px 18px; background: #fff; }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--navy); margin-bottom: .3em; }
.stat-card h3 { color: var(--navy); }
.stat-card p:last-child { margin: 0; color: #2f3a4f; }

/* Year strip */
.year { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.year li { text-align: center; font-weight: 700; font-size: .9rem; padding: 12px 0; border-radius: 6px; }
.year .on { background: var(--navy); color: #fff; }
.year .camp { background: var(--gold); color: var(--navy-deep); }
.year-key { color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.key.on { background: var(--navy); }
.key.camp { background: var(--gold); margin-left: 12px; }

/* Photo placeholders */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-slot {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius);
  border: 2px dashed #9aa8c6; background: repeating-linear-gradient(45deg, #f4f6fb, #f4f6fb 12px, #eceff7 12px, #eceff7 24px);
  display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-weight: 600;
}

/* Why Pony Club */
.why-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 28px; margin-top: 28px; }
.feature { border-top: 3px solid var(--gold); padding-top: 14px; }
.feature h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; }
.why-photo { margin: 0; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-top: 24px; box-shadow: 0 18px 40px rgba(19,55,126,.18); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Joining */
.join-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: 16px; min-height: 34px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 700; display: grid; place-items: center; }
.steps strong { color: #fff; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; border-top: 8px solid var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.price-year { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--red); }
.price { margin: 0 0 .6em; color: var(--muted); }
.amount { font-family: var(--serif); font-weight: 700; font-size: 3.6rem; color: var(--navy); line-height: 1; margin-right: 6px; }
.price-break { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.price-break div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-break dt { color: var(--muted); }
.price-break dd { margin: 0; font-weight: 700; color: var(--navy); }

/* Contact + form */
.contact-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.contact-list a { font-weight: 600; word-break: break-word; }
.interest-form { background: var(--sky); border-radius: var(--radius); padding: 32px; border-top: 8px solid var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid #b8c3d9; border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choices label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1f6b2a; }
.form-status.err { color: var(--red); }
.form-thanks { text-align: center; padding: 40px 12px; }
.form-thanks h3 { font-size: 1.5rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c8d2e6; }
.footer-inner { padding: 40px 0 48px; text-align: center; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 20px; border-radius: var(--radius); margin-bottom: 18px; }
.footer-logo img { width: 216px; }
.site-footer a { color: #fff; }
.fine { font-size: .85rem; color: #93a1c0; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .why-inner, .join-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { max-width: 460px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .why-photo { max-width: 460px; }
  .why-photo img { aspect-ratio: 4 / 3; object-position: center 35%; }
  .section { padding: 60px 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .stat-grid, .gallery, .feature-grid, .field-row { grid-template-columns: 1fr; }
  .year { grid-template-columns: repeat(6, 1fr); }
  .hero { padding-top: 36px; }
  .interest-form, .price-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
