:root {
  --navy: #121145;
  --navy-2: #061c43;
  --blue: #85b7df;
  --sky: #b4dfea;
  --mint: #85b7df;
  --cream: #eef6f8;
  --paper: #fefefe;
  --ink: #111633;
  --muted: #667082;
  --line: #d6d9dd;
  --white: #fefefe;
  --shadow: 0 20px 50px rgba(18, 17, 69, .1);
  --radius: 20px;
  --tracking-display: -.022em;
  --tracking-display-tight: -.026em;
  --tracking-label: .085em;
  --tracking-eyebrow: .16em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-rendering: optimizeLegibility; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-kerning: normal; font-variant-ligatures: common-ligatures contextual; }
button, input, select, textarea { font: inherit; font-kerning: normal; }
a { color: inherit; }

.site-header { height: 82px; padding: 0 clamp(22px, 5vw, 76px); display: flex; justify-content: space-between; align-items: center; background: var(--navy); color: white; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: var(--tracking-label); font-size: 13px; }
.brand small { display: block; margin-top: 3px; opacity: .62; font-size: 9px; }
.brand-mark { width: 40px; height: 46px; display: grid; place-items: center; border: 1px solid var(--sky); border-radius: 50% 50% 55% 55% / 35% 35% 65% 65%; font-family: Georgia, serif; font-size: 13px; color: var(--sky); }
.header-link { text-decoration: none; font-size: 13px; font-weight: 700; }
.header-link span { margin-left: 10px; color: var(--mint); }

.hero { min-height: 665px; display: grid; grid-template-columns: 1.55fr .85fr; background: var(--navy); color: white; overflow: hidden; }
.hero-copy { padding: clamp(70px, 9vw, 128px) clamp(28px, 8vw, 130px); position: relative; }
.hero-copy::after { content: ''; width: 54%; height: 2px; background: var(--sky); position: absolute; bottom: 55px; left: clamp(28px, 8vw, 130px); opacity: .75; }
.eyebrow { margin: 0 0 25px; text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); font-size: 11px; font-weight: 800; color: var(--sky); }
.eyebrow.dark { color: #38536a; }
h1, h2, h3 { margin-top: 0; letter-spacing: var(--tracking-display); font-kerning: normal; }
h1 { max-width: 780px; margin-bottom: 28px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px, 7vw, 104px); line-height: .91; font-weight: 400; letter-spacing: -.006em; }
h1 { font-variant-ligatures: none; }
h1 em { color: var(--mint); font-weight: 400; }
.hero-campaign { display: inline-block; margin-top: .35em; color: var(--sky); font: 800 .38em/1 Arial, Helvetica, sans-serif; letter-spacing: .018em; }
.intro { max-width: 585px; color: #c9cde0; font-size: 18px; line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { margin-top: 24px; background: var(--blue); color: var(--navy); box-shadow: 0 10px 35px rgba(133,183,223,.22); }
.button-dark { background: var(--navy); color: white; }
.hero-aside { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 60px clamp(28px, 5vw, 70px); background: var(--navy-2); overflow: hidden; }
.hero-aside::before { content: 'A'; position: absolute; right: -5px; bottom: -60px; font: 380px/.8 Georgia, serif; color: rgba(133,183,223,.045); }
.brand-film { position: absolute; z-index: 2; inset: 0 0 auto; height: 53%; display: grid; place-items: center; overflow: hidden; background: var(--white); border-bottom: 4px solid var(--blue); }
.brand-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--white); pointer-events: none; }
.brand-film-fallback { display: grid; justify-items: center; gap: 5px; color: var(--navy); text-transform: uppercase; letter-spacing: var(--tracking-label); }
.brand-film-fallback span { width: 78px; height: 88px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50% 50% 55% 55% / 35% 35% 65% 65%; font: 26px Georgia, serif; }
.brand-film-fallback strong { margin-top: 8px; font-size: 14px; }.brand-film-fallback small { font-size: 9px; text-transform: none; }
.silk-pattern { position: absolute; inset: 53% 0 0; background: repeating-linear-gradient(135deg, transparent 0 42px, rgba(133,183,223,.08) 42px 84px); }
.hero-aside p { z-index: 1; display: flex; gap: 18px; margin: 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.26); font-family: Georgia, serif; font-size: 24px; }
.hero-aside p:last-child { border-bottom: 1px solid rgba(255,255,255,.26); }
.hero-aside span { color: var(--mint); font: 11px Arial, sans-serif; padding-top: 8px; }

.finder { padding: 100px clamp(20px, 6vw, 92px) 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 40px; max-width: 1440px; margin: auto; }
.section-heading .eyebrow { align-self: start; margin-top: 10px; }
.section-heading h2, .cost-explainer h2, .cta h2 { margin-bottom: 0; font: 400 clamp(42px, 5vw, 70px)/.98 Georgia, serif; }
.section-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }
.control-deck { max-width: 1440px; margin: 55px auto 0; padding: 34px; background: white; border: 1px solid #e0e1df; border-radius: var(--radius); box-shadow: var(--shadow); }
.share-control { border: 0; margin: 0; padding: 0 0 30px; }
.share-control legend, .control-title { width: 100%; display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: 800; font-size: 13px; }
.share-control legend span, .control-title b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--navy); color: white; font-size: 11px; }
.share-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.share-option { min-height: 58px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font-weight: 800; cursor: pointer; transition: .2s; }
.share-option:hover { border-color: var(--blue); }
.share-option.active { border-color: var(--navy); color: white; background: var(--navy); box-shadow: inset 0 -4px var(--mint); }
.finder-cost-summary { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 28px; padding: 22px 25px; border-radius: 13px; color: white; background: var(--navy); box-shadow: 8px 8px 0 var(--sky); }
.finder-cost-heading { display: grid; gap: 6px; }.finder-cost-heading > span { color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }.finder-cost-heading > strong { font: 400 21px Georgia, serif; }.finder-cost-heading b { color: var(--mint); }
.finder-cost-figures { display: flex; align-items: center; gap: 28px; }.finder-cost-figures p { min-width: 125px; margin: 0; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.22); }.finder-cost-figures strong, .finder-cost-figures span { display: block; }.finder-cost-figures strong { font: 700 27px Georgia, serif; }.finder-cost-figures span { margin-top: 4px; color: #b9bed5; font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.budget-control { padding: 28px 0; border-top: 1px solid var(--line); }
.control-title output { font: 700 22px Georgia, serif; }
input[type='range'] { width: 100%; height: 5px; border-radius: 5px; appearance: none; background: linear-gradient(to right, var(--blue) var(--range-progress, 100%), #dfe1e8 var(--range-progress, 100%)); }
input[type='range']::-webkit-slider-thumb { width: 25px; height: 25px; appearance: none; border: 5px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 9px rgba(7,12,53,.35); cursor: grab; }
.range-labels { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 11px; }
.filters { display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 12px; padding-top: 27px; border-top: 1px solid var(--line); }
.filters label { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }
select { height: 48px; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; text-transform: none; letter-spacing: 0; font-weight: 600; }
.text-button { min-height: 48px; padding: 0 10px; border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.results-bar { max-width: 1440px; margin: 45px auto 18px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.results-bar strong { color: var(--ink); font: 400 32px Georgia, serif; margin-right: 6px; }
.horse-grid { max-width: 1440px; margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.horse-card { min-height: 340px; display: grid; grid-template-columns: 118px 1fr; background: white; border: 1px solid #e0e1df; border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.horse-card.has-photo { grid-template-columns: 220px 1fr; }
.horse-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-silk { position: relative; display: grid; place-items: center; background: var(--card-colour, var(--blue)); color: white; overflow: hidden; }
.card-silk::before, .card-silk::after { content: ''; position: absolute; width: 140px; height: 50px; background: rgba(255,255,255,.12); transform: rotate(-45deg); }
.card-silk::before { top: 55px; }.card-silk::after { bottom: 55px; }
.card-silk span { z-index: 1; font: 42px Georgia, serif; }
.card-media { min-height: 100%; display: grid; place-items: center; padding: 10px; background: var(--cream); border-right: 1px solid #e0e1df; cursor: zoom-in; }.card-media:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }.card-media img { width: 100%; height: 100%; max-height: 360px; object-fit: contain; object-position: center; }
.card-body { padding: 27px 29px 25px; display: flex; flex-direction: column; }
.card-topline { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.status { color: #276537; }.status::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #60c979; }
.status.limited { color: #8a5b20; }.status.limited::before { background: #d99a52; }
.horse-card h3 { margin: 18px 0 4px; font: 400 27px/1.08 Georgia, serif; }
.pedigree { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.horse-note { margin: 0; color: #505a6a; font-size: 13px; line-height: 1.55; }
.horse-media-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }.media-button { min-height: 31px; display: inline-flex; align-items: center; padding: 0 11px; border: 1px solid #c7d2dc; border-radius: 100px; color: var(--navy); background: var(--cream); font-size: 10px; font-weight: 800; text-decoration: none; cursor: pointer; }.media-button:hover { border-color: var(--navy); background: white; }
.photo-preview { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(6,28,67,.86); backdrop-filter: blur(7px); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }.photo-preview.visible { pointer-events: auto; opacity: 1; visibility: visible; }.photo-preview img { width: auto; height: auto; max-width: min(1000px, 88vw); max-height: 82vh; border: 8px solid var(--white); border-radius: 16px; object-fit: contain; box-shadow: 0 34px 110px rgba(0,0,0,.48); transform: scale(.88); transition: transform .28s cubic-bezier(.2,.75,.25,1); }.photo-preview.visible img { transform: scale(1); }.photo-preview-close { position: absolute; top: 22px; right: 25px; z-index: 1; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--navy); background: var(--white); font-size: 27px; line-height: 1; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; padding-top: 18px; }
.enquiry-button, .reserve-button { min-height: 42px; border-radius: 7px; font-size: 12px; font-weight: 800; cursor: pointer; }
.enquiry-button { border: 1px solid var(--navy); color: var(--navy); background: white; }.enquiry-button:hover { color: white; background: var(--navy-2); }
.reserve-button { border: 0; color: white; background: var(--navy); }.reserve-button:hover { color: var(--navy); background: var(--blue); }
.empty-state { max-width: 1440px; margin: auto; padding: 80px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state h3 { font: 400 32px Georgia, serif; }

.cost-explainer { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: clamp(28px, 5vw, 76px); align-items: center; padding: 105px clamp(22px, 7vw, 110px); background: var(--navy); color: white; }
.cost-explainer h2 { max-width: 500px; }
.cost-card { padding: 36px; color: var(--navy); background: var(--mint); border-radius: var(--radius); transform: rotate(-1.5deg); box-shadow: 14px 14px 0 var(--white); }
.cost-card > p:first-child { font-size: 12px; }
.cost-number span { font: 700 clamp(44px, 5vw, 70px) Georgia, serif; }
.cost-number small { margin-left: 6px; }
.cost-copy { color: #c9cde0; line-height: 1.6; }
.cost-states { display: grid; gap: 11px; margin: 25px 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); font-size: 12px; }
.cost-states span { display: flex; align-items: center; gap: 9px; }
.cost-states b { color: white; }
.dot { width: 8px; height: 8px; border-radius: 50%; }.dot-rest { background: var(--sky); }.dot-work { background: var(--mint); }.dot-extra { background: #ff9f8e; }
.fine-print { color: #8f96b2; font-size: 11px; }

.payment-planner { padding: 105px clamp(20px, 7vw, 110px); background: var(--white); }
.plan-heading { max-width: 1320px; margin: 0 auto 52px; display: grid; grid-template-columns: .8fr 1.15fr 1fr; align-items: end; gap: 45px; }
.plan-heading .eyebrow { align-self: start; margin-top: 9px; }.plan-heading h2 { margin: 0; font: 400 clamp(42px, 5vw, 68px)/.98 Georgia, serif; }.plan-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.65; }
.plan-builder { max-width: 1180px; margin: auto; display: grid; grid-template-columns: .95fr 1.05fr; border: 1px solid #dfe2e6; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.plan-controls { display: grid; gap: 27px; padding: 42px; background: #f8fafb; }
.plan-controls label, .plan-controls legend { color: #536071; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }.plan-controls label { display: grid; gap: 9px; }.plan-controls input { width: 100%; }
.plan-controls fieldset { margin: 0; padding: 0; border: 0; }.plan-controls legend { margin-bottom: 11px; }
.plan-share-note { margin: 0; padding: 15px 17px; border-left: 3px solid var(--blue); color: #536071; background: white; font-size: 12px; line-height: 1.55; }.plan-share-note strong { color: var(--navy); }
.plan-invoice-timing { display: grid; gap: 5px; margin: 0; padding: 15px 17px; border-radius: 9px; color: #536071; background: #eef6fa; font-size: 12px; line-height: 1.5; }.plan-invoice-timing strong { color: var(--navy); font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.plan-option { min-height: 45px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; font-size: 11px; font-weight: 800; cursor: pointer; }.plan-option:hover { border-color: var(--navy); }.plan-option.active { color: white; border-color: var(--navy); background: var(--navy); box-shadow: inset 0 -3px var(--blue); }
.plan-result { padding: 43px; color: var(--navy); background: var(--sky); transition: opacity .2s; }
.plan-kicker { margin: 0 0 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.plan-hero-number { display: flex; align-items: end; gap: 8px; margin-bottom: 25px; }.plan-hero-number span { font: 700 clamp(43px, 5vw, 67px)/1 Georgia, serif; letter-spacing: var(--tracking-display-tight); }.plan-hero-number small { padding-bottom: 7px; }
.plan-breakdown { padding: 18px 0; border-top: 1px solid rgba(18,17,69,.2); border-bottom: 1px solid rgba(18,17,69,.2); }.plan-breakdown p { display: flex; justify-content: space-between; gap: 20px; margin: 8px 0; font-size: 12px; }.plan-breakdown span { color: #476171; }
.plan-relief { margin: 25px 0 18px; padding: 21px; border-radius: 12px; background: var(--white); box-shadow: 7px 7px 0 rgba(18,17,69,.09); }.plan-relief p { margin: 0 0 7px; color: #526478; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }.plan-relief strong { display: block; font: 700 28px Georgia, serif; }.plan-relief span { display: block; margin-top: 6px; color: #276537; font-size: 11px; font-weight: 800; }
.plan-total { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding-top: 15px; font-size: 11px; }.plan-total strong { font-size: 13px; }
.plan-unavailable { opacity: .55; }.plan-disclaimer { max-width: 980px; margin: 25px auto 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: center; }


.cta { padding: 110px clamp(22px, 12vw, 180px); text-align: center; background: var(--sky); }
.cta h2 { font-size: clamp(62px, 9vw, 126px); }
.cta > p:not(.eyebrow):not(.availability-note) { font: 20px/1.5 Georgia, serif; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 35px 0; }
.phone-link { font-size: 12px; font-weight: 800; }.phone-link span { margin-left: 8px; }
.availability-note { max-width: 730px; margin: 50px auto 0; color: #476171; font-size: 10px; line-height: 1.5; }
footer { min-height: 80px; padding: 0 clamp(22px, 5vw, 76px); display: flex; justify-content: space-between; align-items: center; color: #b9bed5; background: var(--navy); font-size: 11px; }

/* Admin */
.admin-body { min-height: 100vh; background: #eef0f4; }
.admin-main { max-width: 1120px; margin: auto; padding: 60px 24px 100px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 35px; }
.admin-heading h1 { margin: 0; color: var(--ink); font-size: 55px; line-height: 1; }
.admin-heading p { color: var(--muted); }
.admin-panel { margin-bottom: 20px; padding: 28px; border: 1px solid #dfe1e6; border-radius: 14px; background: white; }
.admin-panel h2 { margin-bottom: 20px; font: 400 26px Georgia, serif; }
.admin-settings { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.admin-panel label { display: grid; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.admin-panel input { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 10px; color: var(--muted); text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-label); border-bottom: 1px solid var(--line); }
.admin-table td { padding: 13px 10px; border-bottom: 1px solid #eceef1; font-size: 13px; }
.admin-table input[type='number'] { width: 135px; }
.admin-table input[type='checkbox'] { width: 18px; height: 18px; }
.save-row { min-height: 34px; padding: 0 12px; border: 0; border-radius: 5px; color: white; background: var(--navy); font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-key { max-width: 360px; margin-left: auto; display: grid; grid-template-columns: minmax(190px, 1fr) auto; align-items: end; gap: 8px; }
.admin-key label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.admin-key input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; }
.admin-key .save-row { min-height: 38px; color: white; background: var(--navy); }
.admin-status { position: fixed; right: 25px; bottom: 25px; padding: 13px 18px; border-radius: 8px; color: white; background: var(--navy); box-shadow: var(--shadow); font-size: 12px; }
.horse-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.horse-form label { min-width: 0; }
.horse-form input, .horse-form select, .horse-form textarea { width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); }
.horse-form textarea { min-height: 66px; padding-block: 10px; resize: vertical; }
.horse-form label small { display: block; min-height: 12px; margin-top: 4px; color: #8a6070; font-size: 9px; letter-spacing: 0; text-transform: none; }
.horse-form .wide-field { grid-column: span 3; }
.admin-horse-list { display: grid; gap: 14px; margin-top: 22px; }
.admin-horse-card { padding: 22px; border: 1px solid #dde1e6; border-radius: 12px; background: #fafcfd; }
.admin-horse-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.admin-horse-title strong { display: block; font: 400 22px Georgia, serif; }.admin-horse-title span:not(.equity-pill) { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.equity-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 100px; color: #276537; background: #e5f6e8; font-size: 10px; font-weight: 800; }
.edit-horse-form { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.listing-check { min-height: 46px; display: flex !important; grid-auto-flow: column; align-items: center; justify-content: start; gap: 8px !important; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink) !important; background: white; letter-spacing: 0 !important; text-transform: none !important; }
.listing-check input { width: 17px; height: 17px; }
.reservation-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.reservation-heading h2 { margin-bottom: 7px; }
.reservation-count { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); font: 20px Georgia, serif; }
.reservation-list { display: grid; gap: 10px; margin-top: 22px; }
.reservation-card { display: grid; grid-template-columns: 1.2fr .45fr 1fr auto; align-items: center; gap: 20px; padding: 17px; border: 1px solid var(--line); border-left: 4px solid #d99a52; border-radius: 9px; background: white; }
.reservation-card > div > strong { display: block; }.reservation-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }.reservation-card a { color: inherit; }
.reservation-confirmed { border-left-color: #60c979; }.reservation-released { border-left-color: #aeb4bd; opacity: .64; }
.reservation-status { display: inline-block; margin-bottom: 6px; color: #8a5b20; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }.reservation-confirmed .reservation-status { color: #276537; }
.reservation-share strong { font: 400 24px Georgia, serif !important; }.reservation-actions { display: flex; gap: 7px; }
.enquiry-card { border-left-color: var(--blue); }.enquiry-notes { color: #505a6a; font-size: 11px; line-height: 1.45; }.enquiry-notes span { color: var(--muted); font-style: italic; }
.release-row { min-height: 34px; padding: 0 10px; border: 1px solid #bdc2ca; border-radius: 5px; color: #4e5663; background: white; font-size: 10px; font-weight: 800; cursor: pointer; }

.reservation-dialog { width: min(600px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 42px; border: 0; border-radius: 18px; color: var(--ink); background: var(--white); box-shadow: 0 30px 100px rgba(18,17,69,.35); }
.reservation-dialog::backdrop { background: rgba(6,28,67,.78); backdrop-filter: blur(5px); }
.reservation-dialog h2 { margin-bottom: 12px; font: 400 39px/1.05 Georgia, serif; }
.dialog-close { position: absolute; top: 15px; right: 17px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--navy); background: var(--cream); font-size: 23px; line-height: 1; cursor: pointer; }
.reservation-summary { margin: 0 0 25px; padding: 13px 15px; border-left: 3px solid var(--blue); color: #405168; background: var(--cream); font-size: 12px; line-height: 1.5; }
.reservation-dialog form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reservation-dialog label { display: grid; gap: 7px; color: #536071; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }.reservation-dialog label:nth-of-type(3), .reservation-dialog label:nth-of-type(4) { grid-column: 1 / -1; }
.reservation-dialog label span { font-weight: 400; }.reservation-dialog input, .reservation-dialog textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; text-transform: none; letter-spacing: 0; }
.reservation-terms, .form-error, .reservation-submit { grid-column: 1 / -1; }.reservation-terms { margin: 2px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.form-error { margin: 0; padding: 10px; border-radius: 6px; color: #8c2329; background: #fff0f1; font-size: 11px; }
.reservation-submit:disabled { cursor: wait; opacity: .65; }.reservation-success { padding: 35px 0 10px; text-align: center; }.reservation-success p { color: var(--muted); line-height: 1.6; }.reservation-reference { padding: 12px; border-radius: 7px; background: var(--cream); font-size: 11px; font-weight: 800; }
.video-dialog { width: min(940px, calc(100% - 28px)); padding: 30px; border: 0; border-radius: 18px; color: white; background: var(--navy-2); box-shadow: 0 30px 100px rgba(6,28,67,.45); }.video-dialog::backdrop { background: rgba(6,28,67,.86); backdrop-filter: blur(5px); }.video-dialog h2 { margin: 0 45px 20px 0; font: 400 34px Georgia, serif; }.video-dialog .eyebrow { margin-bottom: 10px; }.video-dialog video { width: 100%; max-height: 70vh; display: block; border-radius: 10px; background: #000; }.video-dialog-close { color: white; background: rgba(255,255,255,.12); }
.admin-media-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #dde1e6; }.admin-media-row label { display: grid; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--tracking-label); }.admin-media-row label > a, .media-present { justify-self: start; color: #276537; font-size: 9px; text-transform: none; letter-spacing: 0; }.admin-media-row input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: white; }

/* Font shorthand resets kerning, so reinforce it after component typography. */
h1, h2, h3 { font-kerning: normal !important; }
.hero-aside p, .control-title output, .results-bar strong,
.cost-number span, .plan-hero-number span, .plan-relief strong,
.reservation-count, .reservation-share strong { font-kerning: normal; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }.hero-aside { min-height: 520px; }.brand-film { height: 54%; }.silk-pattern { inset: 54% 0 0; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }.section-heading > p:last-child { max-width: 520px; }
  .horse-grid { grid-template-columns: 1fr; }
  .cost-explainer { grid-template-columns: 1fr; }.cost-card { max-width: 460px; }
  .plan-heading { grid-template-columns: 1fr; gap: 13px; }.plan-heading > p:last-child { max-width: 600px; }.plan-builder { grid-template-columns: 1fr; }
  .admin-settings { grid-template-columns: 1fr; }
  .horse-form, .edit-horse-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }.horse-form .wide-field { grid-column: span 2; }
  .admin-media-row { grid-template-columns: 1fr; }
  .reservation-card { grid-template-columns: 1fr 1fr; }.reservation-actions { justify-content: end; }
}

@media (max-width: 620px) {
  .site-header { height: 70px; }.header-link { display: none; }
  .hero { min-height: auto; }.hero-copy { padding: 65px 24px 100px; }.hero-copy::after { left: 24px; bottom: 52px; }.hero-aside { min-height: 520px; padding: 36px 24px; }
  .finder { padding: 75px 14px; }.control-deck { padding: 20px 15px; }
  .share-options { grid-template-columns: repeat(3, 1fr); }.filters { grid-template-columns: 1fr 1fr; }.filters label:last-of-type { grid-column: 1 / -1; }
  .results-bar { align-items: end; }.results-bar p:last-child { max-width: 45%; text-align: right; }
  .horse-card { grid-template-columns: 65px 1fr; }.horse-card.has-photo { grid-template-columns: 1fr; }.card-media { min-height: 230px; border-right: 0; border-bottom: 1px solid #e0e1df; }.card-media img { max-height: 250px; }.card-body { padding: 22px 18px; }.card-silk span { font-size: 26px; }.horse-card h3 { font-size: 23px; }
  .finder-cost-summary { align-items: start; flex-direction: column; gap: 18px; }.finder-cost-figures { width: 100%; }.finder-cost-figures p { flex: 1; min-width: 0; padding-left: 0; border-left: 0; }.finder-cost-figures p + p { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.22); }.finder-cost-figures strong { font-size: 23px; }.card-actions { grid-template-columns: 1fr; }
  .cost-explainer { padding: 75px 22px; }.cost-card { margin-right: 10px; }
  .payment-planner { padding: 75px 14px; }.plan-heading { padding: 0 8px; }.plan-controls, .plan-result { padding: 28px 20px; }.plan-hero-number { align-items: start; flex-direction: column; }.plan-payment-options { grid-template-columns: repeat(3, 1fr); }.plan-total { flex-direction: column; gap: 7px; }
  .cta { padding: 80px 22px; }.cta-actions { flex-direction: column; }
  .admin-heading { align-items: start; flex-direction: column; }.admin-key { width: 100%; margin-left: 0; grid-template-columns: 1fr; }.admin-table { display: block; overflow-x: auto; }
  .horse-form, .edit-horse-form { grid-template-columns: 1fr; }.horse-form .wide-field { grid-column: auto; }.admin-horse-card { padding: 18px 14px; }.admin-horse-title { align-items: start; }
  .reservation-card { grid-template-columns: 1fr; }.reservation-actions { justify-content: start; }.reservation-dialog { padding: 35px 20px 25px; }.reservation-dialog form { grid-template-columns: 1fr; }.reservation-dialog label:nth-of-type(3), .reservation-dialog label:nth-of-type(4), .reservation-terms, .form-error, .reservation-submit { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
