/* Sweet Clover Riding School: grown-up farmhouse. Alegreya headings, Outfit body.
   Clover green, soft sky and wheat on warm cream, with a slate chalkboard and ink-and-wash drawings. */
:root {
  --f-display: "Alegreya", Georgia, serif;
  --f-ui: "Outfit", system-ui, sans-serif;
  --clover: #4f7f3a;
  --clover-d: #355e2a;
  --clover-dd: #233f1d;
  --clover-l: #e7eedd;
  --sky: #9cc3db;
  --sky-d: #2f5d7c;
  --sky-l: #ebf2f6;
  --sun: #e2bf6a;
  --sun-d: #6e5214;
  --sun-l: #f5ecd5;
  --pink: #d7a7b4;
  --pink-d: #8a3f57;
  --pink-l: #f6ecee;
  --cream: #f8f4ec;
  --white: #fffdf9;
  --ink: #1f2b33;
  --ink-2: #4a565c;
  --line: #e2dccd;
  --chalk: #2b3430;
  --chalk-2: #343e3a;
  --wood: #7a5a3c;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 36px);
  --shadow: 0 1px 2px rgba(31, 43, 51, .05), 0 10px 28px rgba(31, 43, 51, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-ui); font-weight: 400; font-size: 17px; line-height: 1.7; color: var(--ink-2); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--clover-d); font-weight: 500; text-underline-offset: 3px; }
a:hover { color: var(--clover-dd); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky-d); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; font-weight: 500; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--clover-d); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.42rem; font-weight: 600; }
h1 .line, h2 .line { display: block; }
br.m { display: none; }
@media (max-width: 640px) { br.m { display: inline; } br.d { display: none; } }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-2); }
.small { font-size: .92rem; }
.eyebrow { font-family: var(--f-ui); font-weight: 600; color: var(--clover-d); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 1em; display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background:
  radial-gradient(circle at 30% 60%, var(--clover) 0 4px, transparent 4.5px), radial-gradient(circle at 70% 60%, var(--clover) 0 4px, transparent 4.5px), radial-gradient(circle at 50% 28%, var(--clover) 0 4px, transparent 4.5px); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.tint-sky { background: var(--sky-l); }
.tint-sun { background: var(--sun-l); }
.tint-clover { background: var(--clover-l); }
.tint-sky, .tint-sun, .tint-clover { border-radius: 0; margin: 0; }
.tint-sun { background: #f3ead6; }

/* Buttons: flat, squared-off */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em; border-radius: var(--r-sm); border: 1.5px solid transparent; font-family: var(--f-ui); font-weight: 500; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; line-height: 1.2; white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-sun { background: var(--clover-d); color: #fff; }
.btn-sun:hover { background: var(--clover-dd); color: #fff; }
.btn-clover { background: var(--clover-d); color: #fff; }
.btn-clover:hover { background: var(--clover-dd); color: #fff; }
.btn-white { background: transparent; color: var(--ink); border-color: rgba(31, 43, 51, .35); }
.btn-white:hover { color: var(--ink); border-color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-sm { padding: .65em 1.15em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Tags (were stickers) */
.sticker { display: inline-block; font-family: var(--f-ui); font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; padding: .55em 1em; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap; }
.s-sun { background: var(--sun-l); color: var(--sun-d); }
.s-sky { background: var(--sky-l); color: var(--sky-d); }
.s-pink { background: var(--pink-l); color: var(--pink-d); }
.s-clover { background: var(--clover-l); color: var(--clover-d); }
.s-white { background: var(--white); color: var(--ink); }

/* ------------------------------------------------------------------ Header: picket fence bar */
.site-header { position: sticky; top: 0; z-index: 50; }
.fence-bar { background: rgba(248, 244, 236, .96); backdrop-filter: blur(6px); }
.bar-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.fence-rail { height: 16px; margin-bottom: -16px; position: relative; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cg stroke='%23b9ad92' stroke-width='1.2' fill='none' stroke-linecap='round'%3E%3Cpath d='M0 4.5 C40 3.8 80 5.2 120 4.5'/%3E%3Cpath d='M0 10.5 C40 11.2 80 9.8 120 10.5'/%3E%3Cpath d='M30 1.5 V15'/%3E%3Cpath d='M90 1.8 V15'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 120px 16px repeat-x; opacity: .9; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo svg { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.logo-text span { font-size: .68rem; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: .16em; margin-top: 3px; }
.bubbles { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 6px; }
.bubbles a { display: block; padding: .5em .7em; color: var(--ink); text-decoration: none; font-family: var(--f-ui); font-weight: 400; font-size: .98rem; white-space: nowrap; background-image: linear-gradient(var(--clover), var(--clover)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 50% 88%; transition: background-size .2s, color .15s; }
.bubbles a:hover { color: var(--clover-d); background-size: calc(100% - 1.4em) 1.5px; }
.bubbles a[aria-current="page"] { color: var(--clover-d); font-weight: 500; background-size: calc(100% - 1.4em) 1.5px; }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-btn { display: none; align-items: center; gap: 8px; background: transparent; color: var(--ink); border: 1.5px solid rgba(31, 43, 51, .35); border-radius: var(--r-sm); padding: .55em 1em; font-family: var(--f-ui); font-weight: 500; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1180px) { .bubbles a { padding: .5em .5em; font-size: .95rem; } }
@media (max-width: 1060px) {
  .bubbles { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 520px) {
  .bar-actions .btn { display: none; }
  .logo svg { width: 40px; height: 40px; }
  .logo-text strong { font-size: 1.3rem; }
  .logo-text span { font-size: .6rem; letter-spacing: .12em; }
  .menu-btn { padding: .5em .8em; }
  .bar-inner { min-height: 68px; gap: 10px; }
  .logo { gap: 9px; }
}

/* Chalkboard menu (phones and tablets) */
.chalk-menu { position: fixed; inset: 0; z-index: 90; background: rgba(29, 51, 64, .55); display: flex; align-items: flex-start; justify-content: center; padding: 14px; overflow-y: auto; }
.chalk-frame { width: min(560px, 100%); background: var(--chalk); border: 9px solid var(--wood); border-radius: 6px; box-shadow: inset 0 0 0 2px #5e432b, 0 30px 60px rgba(0, 0, 0, .35); padding: 20px 24px 46px; position: relative; color: #f4f1e8;
  background-image: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .06), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, .05), transparent 55%); animation: drop .35s ease-out; }
@keyframes drop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.chalk-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px dashed rgba(244, 241, 232, .4); padding-bottom: 10px; margin-bottom: 8px; }
.chalk-title { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; font-weight: 500; color: var(--sun); text-shadow: 0 0 1px rgba(255, 255, 255, .4); }
.chalk-close { background: none; border: 2px solid rgba(244, 241, 232, .6); border-radius: 50%; width: 40px; height: 40px; color: #fff; display: grid; place-items: center; cursor: pointer; }
.chalk-close svg { width: 20px; height: 20px; }
.chalk-links { list-style: none; margin: 0; padding: 0; columns: 1; }
.chalk-links a { display: flex; align-items: baseline; gap: 12px; padding: 9px 4px; color: #f4f1e8; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: 1.32rem; text-shadow: 0 0 2px rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(244, 241, 232, .12); }
.chalk-links a .num { font-size: .85rem; color: var(--sky); font-weight: 600; min-width: 24px; }
.chalk-links a[aria-current="page"] { color: var(--sun); }
.chalk-links a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-left: auto; align-self: center; }
.chalk-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; align-items: stretch; }
.chalk-call { display: inline-flex; gap: 8px; align-items: center; justify-content: center; color: #f4f1e8; }
.chalk-call:hover { color: #fff; }
.chalk-call svg { width: 18px; height: 18px; }
.chalk-tray { position: absolute; left: -9px; right: -9px; bottom: -9px; height: 16px; background: #5e432b; border-radius: 0 0 4px 4px; }
.chalk-tray span { position: absolute; bottom: 9px; width: 40px; height: 6px; border-radius: 3px; background: #f4f1e8; left: 22%; }
.chalk-tray span + span { left: 30%; width: 30px; background: var(--sun); }

/* ------------------------------------------------------------------ Hero: storybook barnyard */
.hero { padding-top: clamp(44px, 6vw, 80px); background: var(--cream); }
.hero-text { text-align: center; }
.hero-text h1 { margin-bottom: .3em; }
.hero-text .lead { max-width: 900px; margin: 0 auto 1.4em; text-wrap: balance; }
.hero-text .eyebrow { justify-content: center; }
.scene-wrap { margin-top: clamp(28px, 4vw, 44px); }
.scene { position: relative; max-width: 1400px; margin: 0 auto; }
.barnyard { width: 100%; height: auto; display: block; }
.barnyard .pony { cursor: pointer; outline: none; }
.barnyard .pony .bob { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .25s; }
.barnyard .pony:hover .bob, .barnyard .pony:focus-visible .bob, .barnyard .pony.on .bob { transform: translateY(-8px); }
.barnyard .pony .tagline { opacity: 0; transition: opacity .2s; pointer-events: none; }
.barnyard .pony .tagline text { font-family: var(--f-ui); font-weight: 600; font-size: 15px; fill: #1d3340; }
.barnyard .pony:hover .tagline, .barnyard .pony:focus-visible .tagline, .barnyard .pony.on .tagline { opacity: 1; }
.barnyard .pony:focus-visible .shadow { opacity: .4; }
.barnyard .pony .tail { transform-box: fill-box; transform-origin: 80% 0; animation: swish 3.4s ease-in-out infinite; }
.barnyard .pony:nth-child(2n) .tail { animation-delay: -1.5s; }
@keyframes swish { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(9deg); } }
.barnyard .cloud { animation: drift 40s linear infinite alternate; }
.barnyard .c2 { animation-duration: 55s; }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(60px); } }
.barnyard .sun g { transform-origin: 1060px 96px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene-tip { position: absolute; left: 3%; top: 6%; font-size: 1.05rem; }
.pony-pop { position: absolute; right: 2.5%; top: 5%; width: min(300px, 30%); background: var(--white); border-radius: var(--r); box-shadow: 0 20px 50px rgba(31, 43, 51, .18); border: 1px solid var(--line); overflow: hidden; animation: pop .25s ease-out; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.pony-pop.left { right: auto; left: 2.5%; }
.pop-photo { aspect-ratio: 16 / 10; background: var(--sky-l); }
.pop-photo img { width: 100%; height: 100%; object-fit: cover; }
.pop-body { padding: 16px 20px 18px; }
.pop-height { display: block; color: var(--clover-d); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 4px; }
.pop-name { font-size: 1.8rem; margin: 0; font-weight: 500; }
.pop-breed { font-size: .95rem; margin: 0 0 8px; }
.pony-pop dl { margin: 0 0 10px; font-size: .92rem; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.pony-pop dt { font-weight: 600; color: var(--ink); }
.pony-pop dd { margin: 0; }
.pop-link { display: inline-flex; align-items: center; gap: 6px; }
.pop-link svg { width: 18px; height: 18px; }
.pop-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); z-index: 2; }
.pop-close svg { width: 18px; height: 18px; }
.pony-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding-top: 18px; padding-bottom: 34px; }
.chips-label { font-family: var(--f-ui); font-weight: 600; color: var(--ink); margin-right: 4px; }
.pony-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 2px 14px 2px 6px; font-family: var(--f-ui); font-weight: 500; cursor: pointer; transition: border-color .15s, transform .15s; }
.pony-chip:hover, .pony-chip.on { border-color: var(--clover-d); color: var(--clover-d); }
.pony-chip .pony-svg { width: 34px; height: auto; }
.scene-scroll { position: relative; }
.swipe-hint { display: none; }
@media (max-width: 820px) {
  .scene-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .scene-scroll::-webkit-scrollbar { display: none; }
  .scene-scroll .barnyard { width: 820px; max-width: none; }
  .scene-tip { display: none; }
  .swipe-hint { display: block; text-align: center; font-family: var(--f-ui); font-weight: 500; font-size: .92rem; color: var(--ink-2); margin: 8px 0 0; }
  .swipe-hint::before, .swipe-hint::after { content: "\2190"; margin: 0 8px; color: var(--clover-d); }
  .swipe-hint::after { content: "\2192"; }
  .pony-pop, .pony-pop.left { position: relative; right: auto; left: auto; top: auto; width: calc(100% - 2 * var(--gut)); max-width: 520px; margin: 14px auto 0; display: block; }
  .pop-photo { aspect-ratio: 3 / 2; }
  .scene-tip { font-size: .85rem; top: 3%; }
}

/* ------------------------------------------------------------------ Section heads */
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 56px; align-items: end; }
.sec-head.split h2, .sec-head.split p { margin: 0; }
.sec-head.center { text-align: center; }
@media (max-width: 820px) { .sec-head.split { grid-template-columns: 1fr; } }
.center-link { text-align: center; margin-top: 34px; }

/* ------------------------------------------------------------------ Chalkboard */
.chalkboard { position: relative; background: var(--chalk); border: 9px solid var(--wood); border-radius: 6px; box-shadow: inset 0 0 0 2px #5e432b, var(--shadow); padding: 26px 28px 40px; color: #f4f1e8;
  background-image: radial-gradient(ellipse at 15% 15%, rgba(255, 255, 255, .07), transparent 50%), radial-gradient(ellipse at 85% 85%, rgba(255, 255, 255, .05), transparent 55%); }
.cb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(244, 241, 232, .25); padding-bottom: 12px; margin-bottom: 14px; }
.cb-title { font-family: var(--f-display); font-style: italic; font-size: 1.6rem; font-weight: 500; color: var(--sun); }
.cb-day { font-family: var(--f-ui); font-size: 1.1rem; color: var(--sky); }
.cb-open { margin-bottom: 8px; color: #f4f1e8; }
.cb-days { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cb-days button { background: transparent; border: 1px solid rgba(244, 241, 232, .3); color: #f4f1e8; border-radius: 3px; padding: 2px 12px; font-family: var(--f-ui); font-weight: 500; cursor: pointer; }
.cb-days button:hover { border-color: #f4f1e8; }
.cb-days button[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.cb-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cb-table th, .cb-table td { text-align: left; padding: 8px 8px 8px 0; border-bottom: 1px solid rgba(244, 241, 232, .14); vertical-align: top; }
.cb-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #c9d3cf; font-weight: 600; }
.cb-table td:first-child, .cb-table tbody th { font-family: var(--f-ui); color: var(--sun); white-space: nowrap; font-weight: 500; }
.cb-table td:last-child { color: #d6e6f2; }
.cb-table.day td b { display: block; font-family: var(--f-ui); font-weight: 500; color: #fff; font-size: 1.08rem; }
.cb-table.day td span { color: #d4ddd9; font-size: .95rem; }
.cb-note { margin: 14px 0 0; color: #e8dcc0; font-style: italic; font-size: .98rem; }
.cb-closed td { color: #f4f1e8; font-style: italic; }
.chalkboard .chalk-tray { left: -9px; right: -9px; }

.today-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.today-side h2 { margin-bottom: .5em; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list svg { width: 24px; height: 24px; flex-shrink: 0; color: #fff; background: var(--clover); border-radius: 50%; padding: 4px; margin-top: 1px; }
@media (max-width: 900px) { .today-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Program cards */
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prog-card { position: relative; background: var(--white); border-radius: var(--r); padding: 26px 24px 22px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 500; box-shadow: var(--shadow); transition: transform .2s; display: flex; flex-direction: column; }
.prog-card:hover { transform: translateY(-3px); color: var(--ink-2); }
.prog-card .sticker { align-self: flex-start; margin-bottom: 14px; }
.prog-card h3 { margin-bottom: .35em; }
.prog-card p { flex: 1; }
.prog-price { display: flex; align-items: center; gap: 6px; font-family: var(--f-ui); color: var(--clover-d); }
.prog-price b { font-size: 1.4rem; font-weight: 600; }
.prog-price svg { width: 20px; height: 20px; margin-left: auto; }
@media (max-width: 1000px) { .prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prog-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Ladder */
.ladder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ladder-rails { position: relative; padding: 0 30px; }
.ladder-rails::before, .ladder-rails::after { content: ""; position: absolute; top: -10px; bottom: -10px; width: 6px; border-radius: 3px; background: #b59a76; }
.ladder-rails::before { left: 8px; }
.ladder-rails::after { right: 8px; }
.rungs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.rung { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 18px 9px 10px; cursor: pointer; transition: transform .15s, border-color .15s; }
.rung:hover { transform: translateX(4px); }
.rung[aria-pressed="true"] { border-color: var(--ink); transform: translateX(6px); box-shadow: inset 4px 0 0 var(--c); }
.rn { width: 44px; height: 44px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-family: var(--f-ui); font-weight: 600; font-size: 1.3rem; color: var(--ink); flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c); }
.rt b { display: block; font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.12rem; line-height: 1.2; }
.rt small { color: var(--ink-2); font-weight: 600; }
.ladder-pony { position: absolute; right: -70px; top: 0; transition: top .45s cubic-bezier(.4, 1.4, .6, 1); z-index: 2; pointer-events: none; }
.ladder-pony .pony-svg { width: 96px; height: auto; }
.ladder-panel { position: relative; background: var(--white); border-radius: var(--r); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 5px solid var(--lc, var(--sky)); }
.lp-sticker { position: absolute; top: -20px; right: 24px; background: var(--lc, var(--sky)); color: var(--ink); font-family: var(--f-ui); font-weight: 600; padding: .5em 1.1em; border-radius: 4px; border: 4px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); }
.lp-rung { font-family: var(--f-ui); color: var(--ink-2); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .4em; }
.ladder-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.lp-sub { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.lp-skills { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.lp-skills li { display: flex; gap: 10px; }
.lp-skills li::before { content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--lc, var(--sky)); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--lc, var(--sky)); }
.checks { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.checks label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 8px 12px; border-radius: var(--r-sm); background: var(--cream); }
.checks input { width: 22px; height: 22px; accent-color: var(--clover-d); margin-top: 2px; flex-shrink: 0; }
.checks input:checked + span { color: var(--ink); font-weight: 600; }
.lp-score { font-family: var(--f-ui); font-weight: 600; color: var(--clover-d); min-height: 1.5em; }
.lp-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.lp-facts dt { font-weight: 600; color: var(--ink); }
.lp-facts dd { margin: 0; }
.ladder-full .ladder-panel { min-height: 100%; }
@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; }
  .ladder-pony { display: none; }
  .lp-facts { grid-template-columns: 1fr; gap: 2px; }
  .lp-facts dd { margin-bottom: 8px; }
}

/* Sticker sheet */
.sticker-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.sticker-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 14px; background: var(--white); border-radius: var(--r); padding: 36px 24px; border: 1px solid var(--line); }
.sticker-sheet-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.big-sticker { width: 112px; height: 112px; border-radius: 50%; background: var(--c); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-style: italic; font-weight: 500; color: var(--ink); font-size: 1.1rem; border: 1.5px solid var(--ink); box-shadow: inset 0 0 0 5px var(--c), inset 0 0 0 6px rgba(31, 43, 51, .55); padding: 14px; line-height: 1.1; }
.sticker-sheet small { font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) { .sticker-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .big-sticker { width: 92px; height: 92px; font-size: .92rem; } .sticker-sheet { gap: 20px 8px; padding: 24px 12px; } }

/* ------------------------------------------------------------------ Camp teaser */
.camp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.camp-photo { position: relative; }
.camp-photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.on-photo { position: absolute; bottom: 16px; left: 16px; }
.camp-facts { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.camp-facts li { padding: 14px 12px 14px 0; }
.camp-facts li + li { padding-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 520px) { .camp-facts { grid-template-columns: 1fr 1fr; } .camp-facts li:nth-child(3) { border-left: 0; padding-left: 0; } .camp-facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
.camp-facts b { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 500; color: var(--clover-d); line-height: 1.1; }
.camp-facts span { font-size: .9rem; font-weight: 600; }
@media (max-width: 900px) { .camp-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;  border: 1px solid var(--line);}
.stars { display: flex; gap: 2px; color: var(--sun); margin-bottom: 10px; }
.stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0 0 16px; flex: 1; color: var(--ink); font-size: 1.04rem; }
.review figcaption strong { display: block; font-family: var(--f-display); color: var(--ink); font-weight: 600; }
.review figcaption span { font-size: .9rem; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } .review.r1, .review.r2 { transform: none; } }

/* ------------------------------------------------------------------ CTA band */
.cta-band { position: relative; background: var(--clover-d); color: #fff; border-radius: var(--r-lg); padding: clamp(30px, 4vw, 48px) clamp(26px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px 40px; overflow: hidden;
  background-image: radial-gradient(circle at 92% 120%, rgba(255, 255, 255, .12) 0 140px, transparent 141px); }
.cta-band h2 { color: #fff; margin-bottom: .25em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta-band p { margin: 0; color: #dfe7d6; }
.cta-band .btn-sun { background: var(--sun); color: var(--ink); }
.cta-band .btn-sun:hover { background: #ecd08b; color: var(--ink); }
.cta-band .btn-white { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-white:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.cta-band .btn-row { padding-right: 160px; }
.cta-pony { position: absolute; right: 26px; bottom: 0; opacity: .9; }
.cta-pony .pony-svg { width: 170px; height: auto; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; padding-bottom: 130px; }
  .cta-band .btn-row { padding-right: 0; }
  .cta-pony .pony-svg { width: 130px; }
}

/* ------------------------------------------------------------------ Page head */
.page-head { padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 60px); }
.ph-grid { display: grid; gap: 30px; }
.page-head.has-art .ph-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; }
.page-head:not(.has-art) .ph-text { text-align: center; }
.page-head:not(.has-art) .lead { max-width: 900px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.page-head:not(.has-art) .eyebrow { justify-content: center; }
.crumbs { font-size: .9rem; font-weight: 600; margin-bottom: 14px; color: var(--ink-2); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { margin-bottom: 0; }
.ph-art { display: flex; justify-content: center; }
.ph-stickers { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 360px; border-top: 1px solid var(--ink); }
.ph-stickers .sticker { font-family: var(--f-display); font-style: italic; font-size: 1.25rem; letter-spacing: 0; text-transform: none; font-weight: 500; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); padding: .8em 0; white-space: normal; }

.ph-photo { position: relative; margin: 0; width: 100%; }
.ph-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.ph-photo .sticker { position: absolute; left: 14px; bottom: 14px; }
.ph-ponies { display: flex; align-items: flex-end; gap: 6px; }
.ph-ponies .pony-svg { height: auto; }
@media (max-width: 860px) {
  .page-head.has-art .ph-grid { grid-template-columns: 1fr; }
  .ph-stickers { max-width: none; }
  .ph-art { justify-content: flex-start; }
}

/* ------------------------------------------------------------------ Lesson finder */
.finder { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.finder-q { display: grid; gap: 22px; }
.finder fieldset { border: 0; margin: 0; padding: 22px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.finder legend { font-family: var(--f-ui); font-weight: 600; font-size: 1.25rem; color: var(--ink); display: flex; align-items: center; gap: 10px; padding: 0; float: left; width: 100%; margin-bottom: 14px; }
.finder legend + * { clear: both; }
.qn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--clover-d); color: var(--clover-d); display: grid; place-items: center; font-size: .95rem; font-family: var(--f-display); font-weight: 700; }
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-block; padding: .6em 1.1em; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); font-family: var(--f-ui); font-weight: 500; color: var(--ink); transition: all .15s; }
.pick:hover span { border-color: var(--sky); }
.pick input:checked + span { background: var(--clover-d); border-color: var(--clover-d); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--sky-d); outline-offset: 2px; }
.finder-result { background: var(--white); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 5px solid var(--sun); position: sticky; top: 110px; }
.fr-label { font-family: var(--f-ui); font-weight: 600; color: var(--sun-d); margin: 0 0 4px; }
.finder-result h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.fr-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.fr-facts dt { font-weight: 600; color: var(--ink); }
.fr-facts dd { margin: 0; }
.finder-result { overflow: hidden; }
.fr-pony { position: absolute; right: 14px; bottom: 6px; pointer-events: none; }
.fr-pony .pony-svg { width: 110px; height: auto; }
.fr-camp { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border-radius: var(--r-sm); padding: 10px 14px; }
.fr-camp svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--clover-d); margin-top: 2px; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } .finder-result { position: relative; top: auto; padding-bottom: 90px; } }
@media (max-width: 480px) { .fr-facts { grid-template-columns: 1fr; gap: 0; } .fr-facts dd { margin-bottom: 8px; } }

/* ------------------------------------------------------------------ Lesson cards */
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lesson-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 10px 32px; align-items: center; background: var(--sun-l); border: 1px solid #e3d3a8; box-shadow: none; }
.lesson-card.feature .lc-top { flex-direction: column; gap: 4px; }
.lesson-card.feature .lc-price { text-align: left; }
.lesson-card.feature > p { margin: 0; }
@media (max-width: 1000px) { .lesson-grid { grid-template-columns: 1fr 1fr; } .lesson-card.feature { grid-template-columns: 1fr 1fr; } .lesson-card.feature > p { grid-column: 2; } .lesson-card.feature .lc-facts { grid-column: 1 / -1; } }
@media (max-width: 640px) { .lesson-grid { grid-template-columns: 1fr; } .lesson-card.feature { display: flex; } .lesson-card.feature .lc-top { flex-direction: row; } .lesson-card.feature > p { margin-bottom: 1em; } }
.lesson-card { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 110px;  border: 1px solid var(--line);}
.lesson-card:target { box-shadow: 0 0 0 4px var(--sun), var(--shadow); }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lc-top h3 { margin: 0 0 .5em; }
.lc-price { text-align: right; margin: 0; line-height: 1; }
.lc-price b { display: block; font-family: var(--f-display); font-size: 1.9rem; color: var(--clover-d); font-weight: 600; }
.lc-price span { font-size: .82rem; font-weight: 600; }
.lesson-card > p { flex: 1; }
.lc-facts { display: grid; grid-template-columns: 24px 1fr; gap: 6px 10px; margin: 0; font-size: .95rem; }
.lc-facts dt svg { width: 20px; height: 20px; color: var(--sky-d); margin-top: 3px; }
.lc-facts dd { margin: 0; }
.lc-pack { margin: 14px 0 0; background: var(--sun-l); border-radius: 4px; padding: 4px 14px; align-self: flex-start; font-weight: 600; font-size: .92rem; color: var(--ink); }

.how-grid, .care-grid, .story-grid, .parents-grid, .farm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.farm-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.how-photo img, .care-photo img, .story-photo img, .parents-photo img, .farm-photo img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.story-photo img { aspect-ratio: 1 / 1; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--clover-d); color: var(--clover-d); font-family: var(--f-ui); font-weight: 600; display: grid; place-items: center; }
.steps b { color: var(--ink); }
@media (max-width: 900px) { .how-grid, .care-grid, .story-grid, .parents-grid, .farm-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Camp page */
.camp-types { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ct-card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.ct-pony { background: var(--clover-dd); color: #dfe7d6; }
.ct-pony h2 { color: #fff; }
.ct-pony b { color: var(--sun); }
.ct-mini { background: var(--white); border: 1px solid var(--line); }
.ct-meta { font-weight: 600; }
.ct-card p:last-child { margin: 0; }
@media (max-width: 800px) { .camp-types { grid-template-columns: 1fr; } }
.week-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.weeks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.week { position: relative; display: block; cursor: pointer; height: 100%; }
.week input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wk-body { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r); padding: 16px 18px; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.week:hover .wk-body { transform: translateY(-3px); }
.week input:checked + .wk-body { border-color: var(--clover-d); box-shadow: inset 0 0 0 1px var(--clover-d); }
.week input:focus-visible + .wk-body { outline: 3px solid var(--sky-d); outline-offset: 2px; }
.wk-dates { font-family: var(--f-ui); font-weight: 600; color: var(--sky-d); }
.wk-theme { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.2rem; }
.wk-note { font-size: .92rem; flex: 1; margin: 4px 0 10px; }
.wk-status { align-self: flex-start; font-weight: 600; font-size: .85rem; background: var(--clover-l); color: var(--clover-dd); border-radius: 4px; padding: 2px 10px; }
.wk-status.low { background: var(--sun-l); color: #6b4a00; }
.is-full .wk-status { background: #ececec; color: #4a4a4a; }
.wk-mini { font-size: .82rem; font-weight: 600; color: var(--pink-d); margin-top: 6px; }
.week-sum { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 110px; border: 1px solid var(--line); border-top: 5px solid var(--sun); }
.week-kind { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
@media (max-width: 1100px) { .week-wrap { grid-template-columns: 1fr; } .week-sum { position: static; } }
@media (max-width: 720px) { .weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .weeks { grid-template-columns: 1fr; } }
.camp-day { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 60px); align-items: start; }
.pack-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.pack-list li { display: flex; gap: 14px; align-items: flex-start; }
.pack-list svg { width: 38px; height: 38px; flex-shrink: 0; padding: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--clover-d); }
.pack-list b { color: var(--ink); }
.pack-photo { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 900px) { .camp-day { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Herd page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; justify-content: center; }
.filter { border: 1.5px solid var(--line); background: var(--white); border-radius: 4px; padding: .5em 1.2em; font-family: var(--f-ui); font-weight: 500; cursor: pointer; color: var(--ink); }
.filter.on { background: var(--sky-d); border-color: var(--sky-d); color: #fff; }
.horse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.herd-cta .btn-sun { background: var(--sun); color: var(--ink); }
.herd-cta { grid-column: span 2; background: var(--clover-dd); color: #dfe7d6; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; box-shadow: var(--shadow); }
.herd-cta h3 { color: #fff; font-size: 1.8rem; }
.hcta-ponies { display: flex; align-items: flex-end; gap: 4px; background: var(--cream); border-radius: var(--r); padding: 18px 16px 10px; }
.hcta-ponies .pony-svg { height: auto; }
.horse-grid.filtered .herd-cta { display: none; }
@media (max-width: 1100px) { .horse-grid { grid-template-columns: 1fr 1fr; } .herd-cta { grid-column: span 1; grid-template-columns: 1fr; } }
@media (max-width: 700px) { .horse-grid { grid-template-columns: 1fr; } }
.horse-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 110px;  border: 1px solid var(--line);}
.horse-card:target { box-shadow: 0 0 0 5px var(--sun), var(--shadow); }
.hc-photo { position: relative; aspect-ratio: 3 / 2; background: var(--sky-l); }
.hc-photo img { width: 100%; height: 100%; object-fit: cover; }
.hc-height { position: absolute; left: 14px; bottom: 14px; background: var(--sun); color: var(--ink); font-family: var(--f-ui); font-weight: 600; border-radius: 4px; padding: 2px 12px; border: 3px solid #fff; }
.hc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.hc-top { display: flex; align-items: flex-end; justify-content: space-between; }
.hc-top h3 { font-size: 1.8rem; margin: 0; }
.hc-top .pony-svg { width: 64px; height: auto; margin-top: -40px; }
.hc-breed { font-weight: 600; color: var(--sky-d); font-size: .95rem; }
.hc-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0 0 14px; font-size: .95rem; flex: 1; }
.hc-facts dt { font-weight: 600; color: var(--ink); }
.hc-facts dd { margin: 0; }
.hc-rungs { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; }
.hc-rungs > span:first-child { margin-right: 4px; }
.rung-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-family: var(--f-ui); color: var(--ink); font-size: .9rem; }
.horse-card.hide { display: none; }
@media (max-width: 400px) { .hc-facts { grid-template-columns: 1fr; gap: 0; } .hc-facts dd { margin-bottom: 6px; } }

/* ------------------------------------------------------------------ First lesson */
.first-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 60px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: var(--line); width: 1.5px; }
.timeline li { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.tl-t { width: 66px; flex-shrink: 0; text-align: center; background: var(--cream); color: var(--clover-d); font-family: var(--f-display); font-weight: 700; border: 1.5px solid var(--clover-d); border-radius: 4px; padding: 3px 0; }
.timeline b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.timeline p { margin: 2px 0 0; }
.wear-card { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow);  border: 1px solid var(--line);}
.wear-card img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; width: 100%; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rule { background: var(--white); border-radius: var(--r); padding: 24px 22px 22px; box-shadow: var(--shadow); position: relative;  border: 1px solid var(--line);}
.rule .num { font-family: var(--f-display); font-size: 1.1rem; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; letter-spacing: 0; margin-bottom: 14px; }
.rule p { margin: 0; }
@media (max-width: 1000px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .first-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ About */
.stat-row { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-row li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: .9rem; }
.sticker.stat { font-family: var(--f-display); font-size: 2.2rem; letter-spacing: 0; text-transform: none; font-weight: 500; padding: 0; border: 0; background: none; }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr 1fr; row-gap: 20px; } }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-card { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; gap: 18px; align-items: flex-start;  border: 1px solid var(--line);}
.ini { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; background: var(--c); color: #fff; display: grid; place-items: center; font-family: var(--f-ui); font-weight: 600; font-size: 1.4rem; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--c); }
.team-card h3 { margin: 0; }
.team-card .role { font-weight: 600; color: var(--sky-d); margin-bottom: .5em; }
.team-card p:last-child { margin: 0; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }
.farm-list { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; }
.farm-list dt, .farm-list dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.farm-list dt { font-family: var(--f-display); font-weight: 600; color: var(--ink); padding-right: 24px; }
@media (max-width: 480px) { .farm-list { grid-template-columns: 1fr; } .farm-list dt { border: 0; padding-bottom: 0; } }

/* ------------------------------------------------------------------ Parties */
.party-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
.party-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 40px); box-shadow: var(--shadow); position: relative;  border: 1px solid var(--line);}
.party-card > .sticker { margin-bottom: 16px; }
.party-photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 900px) { .party-grid { grid-template-columns: 1fr; } }
.events { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.event { display: flex; gap: 18px; background: var(--white); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow);  border: 1px solid var(--line);}
.ev-date { width: 72px; height: 80px; flex-shrink: 0; border-radius: 16px; background: var(--sky-d); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--f-ui); line-height: 1; }
.ev-date small { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-date b { font-size: 2rem; font-weight: 600; }
.event h3 { margin: 0 0 .3em; }
.event p { margin: 0 0 8px; }
.ev-time { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--clover-d); }
.ev-time svg { width: 18px; height: 18px; }
@media (max-width: 800px) { .events { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1.5px solid var(--line); }
.plus::before, .plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 12.5px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
.faq[open] .plus::after { transform: rotate(0); }
.faq[open] summary { color: var(--clover-d); }
.faq p { margin: 0; padding: 0 22px 20px; }
.faq-side { background: var(--sky-l); border-radius: var(--r-lg); padding: 22px; position: sticky; top: 110px; }
.faq-side img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ------------------------------------------------------------------ Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); position: relative;  border: 1px solid var(--line);}
.form-note { display: flex; gap: 10px; align-items: center; background: var(--sun-l); border-radius: var(--r-sm); padding: 10px 14px; font-weight: 500; font-size: .92rem; margin-bottom: 18px; color: var(--ink); }
.form-note svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-card fieldset { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.form-card legend { font-family: var(--f-ui); font-weight: 600; font-size: 1.35rem; color: var(--ink); margin-bottom: 10px; padding: 0; }
.form-card label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.form-card input:not([type="checkbox"]):not([type="radio"]), .form-card select, .form-card textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .7em .9em; background: var(--cream); font-weight: 500; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--clover); outline: none; box-shadow: 0 0 0 3px var(--clover-l); }
.form-card .invalid { border-color: #c0392b !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.days { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.days .lbl { font-weight: 600; color: var(--ink); font-size: .95rem; width: 100%; }
.days .pick { display: inline-block; }
.days .pick span { padding: .45em .95em; }
.form-done { position: absolute; inset: 0; background: var(--white); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: clamp(40px, 10vw, 120px) 30px 30px; }
.form-done .pony-svg { width: 110px; height: auto; margin-bottom: 10px; }
.visit { display: grid; gap: 18px; }
.visit-card { background: var(--sky-l); border-radius: var(--r-lg); padding: 24px; }
.visit-card h2 { font-size: 1.5rem; }
.visit-card p { display: flex; gap: 10px; align-items: flex-start; }
.visit-card p svg { width: 22px; height: 22px; color: var(--sky-d); flex-shrink: 0; margin-top: 3px; }
.visit-card p.small { display: block; }
.chalk-mini { background: var(--chalk); color: #f4f1e8; border: 7px solid var(--wood); }
.chalk-mini h2 { color: var(--sun); }
.chalk-mini .hours dt { color: var(--sky); }
.visit-photo { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* Credits */
.credits-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow);  border: 1px solid var(--line);}
.credits-list { columns: 2; column-gap: 40px; padding-left: 18px; margin: 0; }
.credits-list li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 700px) { .credits-list { columns: 1; } }

/* ------------------------------------------------------------------ Footer */
.site-footer { margin-top: clamp(50px, 7vw, 90px); background: var(--clover-dd); color: #d6decf; position: relative; }
.foot-hills { height: 40px; margin-top: -39px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C150 8 300 0 430 30 C560 60 650 6 810 12 C960 18 1080 44 1200 18 V60Z' fill='%23233f1d'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.site-footer .wrap { padding-top: 34px; padding-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo svg { filter: brightness(0) invert(1); opacity: .85; }
.site-footer .logo-text span { color: #cfe8d3; }
.foot-brand p { margin: 16px 0 18px; }
.foot-h { font-family: var(--f-ui); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--sun); margin-bottom: 14px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #fff; font-weight: 600; }
.site-footer a.btn { color: var(--ink); background: var(--sun); }
.site-footer .hours dt { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 34px; padding-top: 18px; font-size: .88rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
