/* =========================================================================
   Flying Changes Riding School — brand stylesheet
   Palette + type mirror the Impulsion marketing aesthetic:
   warm cream surfaces, soft-charcoal ink, gold as the single accent.
   Serif headings (Cormorant Garamond) + clean sans body (Jost).
   No framework, no build step.
   ========================================================================= */

:root {
  --gold:        #a8792a;
  --gold-light:  #c9a84c;
  --gold-mid:    #e8c97a;   /* gold on dark backgrounds */
  --gold-pale:   #fdf6ea;

  --ink:         #1a1410;   /* body text / dark sections */
  --secondary:   #4a3a28;   /* muted brown-charcoal */

  --cream:       #faf8f4;   /* page background */
  --cream-2:     #f5f0e8;   /* alternate sections / cards */
  --cream-line:  #e7ddcc;   /* hairline borders */

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --ease-spring: cubic-bezier(.2, 1.4, .4, 1);
  --shadow-soft: 0 18px 48px -24px rgba(26, 20, 16, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* skip link for accessibility */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 10px 18px; z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 9vw, 110px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 38px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.on-dark { color: var(--gold-mid); }
.eyebrow.on-dark::before { background: linear-gradient(90deg, transparent, var(--gold-mid)); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 38px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center.on-dark::after { background: linear-gradient(90deg, var(--gold-mid), transparent); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2.05rem, 5vw, 3.5rem); color: var(--ink); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p  { margin: 0 0 1.1em; max-width: 64ch; }
.em { font-style: italic; color: var(--gold); }
.on-dark .em { color: var(--gold-mid); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--secondary); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; text-decoration: none !important;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease,
              background .35s ease, color .35s ease, border-color .35s ease;
}
.btn .arrow { transition: transform .35s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(168, 121, 42, .7);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(168, 121, 42, .8); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(232, 201, 122, .45);
  color: var(--gold-mid);
}
.btn-ghost:hover { border-color: var(--gold-mid); transform: translateY(-3px); background: rgba(232, 201, 122, .06); }

.btn-ink-ghost {
  background: transparent; border: 1px solid var(--cream-line); color: var(--secondary);
}
.btn-ink-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 244, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.nav.scrolled {
  background: rgba(250, 248, 244, .95);
  border-bottom: 1px solid var(--cream-line);
  box-shadow: 0 6px 24px -18px rgba(26, 20, 16, .5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand img { height: 30px; width: auto; }
.brand .wordmark { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: .005em; line-height: 1; }
.brand .wordmark small { display: block; font-family: var(--sans); font-size: .58rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.nav-cta) {
  position: relative; font-size: .8rem; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--secondary); text-decoration: none !important;
  transition: color .3s ease;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width .3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 11px 22px; border-radius: 2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff !important; font-size: .74rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(168, 121, 42, .8); }

.menu-toggle { display: none; font-size: 1.6rem; color: var(--ink); background: none; border: none; cursor: pointer; line-height: 1; padding: 6px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(168,121,42,.10), transparent 55%),
    linear-gradient(165deg, #211a12 0%, #2b2119 45%, #1a1410 100%);
  color: #f6efe0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/horse-mark.png");
  background-repeat: no-repeat; background-position: right -60px bottom -40px;
  background-size: min(46%, 620px);
  opacity: .14; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: clamp(72px, 13vw, 150px) 0 clamp(64px, 11vw, 130px); }
.hero h1 { color: #f6efe0; max-width: 16ch; }
.hero h1 .em { color: var(--gold-mid); }
.hero .lead { color: #d8cdb8; max-width: 50ch; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: .8rem; letter-spacing: .04em; color: #b5a98f; max-width: 46ch; }

/* sold-out banner */
.banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 30px; padding: 16px 22px;
  border: 1px solid rgba(232, 201, 122, .4); border-radius: 4px;
  background: rgba(232, 201, 122, .07);
}
.banner .pill {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-mid); padding: 5px 12px; border-radius: 999px;
}
.banner p { margin: 0; color: #e7dcc6; font-size: .92rem; }

/* stat strip */
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px); margin-top: 52px; }
.stat .num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-mid); font-weight: 600; line-height: 1; }
.stat .lab { margin-top: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a99e88; font-weight: 300; }

/* =========================================================================
   GENERIC SECTIONS
   ========================================================================= */
.alt { background: var(--cream-2); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }

.callout {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 26px; margin: 26px 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem); color: var(--ink); line-height: 1.3;
}
.attribution { font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 14px; }

/* feature / lesson cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 40px; }
.card {
  background: var(--cream); border: 1px solid var(--cream-line);
  border-radius: 8px; padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-spring), box-shadow .35s ease, border-color .35s ease;
}
.alt .card { background: #fbf9f5; }
.card:hover { transform: translateY(-4px); border-color: var(--gold-light); box-shadow: 0 24px 56px -28px rgba(26, 20, 16, .45); }
.card .ix { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.card h3 { color: var(--ink); margin-bottom: 8px; }
.card p { font-size: .94rem; color: var(--secondary); margin-bottom: 0; }

/* =========================================================================
   PRICING
   ========================================================================= */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 46px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--cream-line);
  border-radius: 10px; padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -28px rgba(26, 20, 16, .5); }
.tier.featured { border: 1px solid var(--gold); background: linear-gradient(180deg, #fffdf8, var(--gold-pale)); position: relative; }
.tier.featured::before {
  content: "Most Complete"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff;
  font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.tier .tname { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin-bottom: 4px; }
.tier .price { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; margin: 6px 0 2px; }
.tier .price span { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--secondary); letter-spacing: .02em; }
.tier ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.tier li { position: relative; padding: 8px 0 8px 26px; font-size: .92rem; color: var(--secondary); border-bottom: 1px solid var(--cream-line); }
.tier li:last-child { border-bottom: none; }
.tier li::before { content: "✦"; position: absolute; left: 0; top: 8px; color: var(--gold); font-size: .8rem; }
.tier .btn { width: 100%; justify-content: center; }

.intro-band {
  margin-top: 40px; padding: 34px 36px; border-radius: 12px;
  background: linear-gradient(135deg, #2b2119, #1a1410);
  color: #f0e6d2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
}
.intro-band .price-big { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; color: var(--gold-mid); line-height: 1; }
.intro-band p { margin: 0; color: #d8cdb8; max-width: 46ch; }

.verify-note { margin-top: 18px; font-size: .78rem; color: var(--secondary); font-style: italic; opacity: .85; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-top: 44px; }
.member {
  background: var(--cream); border: 1px solid var(--cream-line);
  border-radius: 10px; padding: 32px 30px; box-shadow: var(--shadow-soft);
}
.member .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff; font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  margin-bottom: 18px;
}
.member .name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 0; }
.member .role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 4px 0 16px; }
.member .bio { font-size: .92rem; color: var(--secondary); margin-bottom: 16px; }
.member .quote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink); border-top: 1px solid var(--cream-line); padding-top: 16px; margin: 0; }

/* =========================================================================
   CONTACT + FORM
   ========================================================================= */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 70px); align-items: start; }
.contact-info p { color: var(--secondary); }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cream-line); align-items: flex-start; }
.info-list .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); min-width: 96px; padding-top: 3px; }
.info-list .v { color: var(--ink); }
.info-list .v a { color: var(--ink); }
.info-list .v a:hover { color: var(--gold); }

.form-card {
  background: var(--cream); border: 1px solid var(--cream-line);
  border-radius: 12px; padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; font-weight: 500; }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: #fffdf9; border: 1px solid var(--cream-line); border-radius: 6px;
  padding: 14px 16px; transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 121, 42, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; padding: 16px 18px; background: var(--cream-2); border: 1px solid var(--cream-line); border-radius: 8px; }
.consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.consent label { font-size: .82rem; line-height: 1.55; color: var(--secondary); text-transform: none; letter-spacing: 0; font-weight: 300; margin: 0; cursor: pointer; }
.consent.marketing { background: transparent; border-style: dashed; }
.consent a { color: var(--gold); text-decoration: underline; }

.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-foot { margin: 16px 0 0; font-size: .76rem; color: var(--secondary); text-align: center; }
.form-foot a { color: var(--gold); }

/* =========================================================================
   DARK CTA / FOOTER
   ========================================================================= */
.cta-final {
  background: linear-gradient(165deg, #2b2119, #1a1410);
  color: #f6efe0; text-align: center;
}
.cta-final h2 { color: #f6efe0; }
.cta-final p { color: #d8cdb8; margin-left: auto; margin-right: auto; }
.cta-final .hero-actions { justify-content: center; }

.footer { background: #16110c; color: #b5a98f; padding: 60px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand .wordmark { color: #f0e6d2; }
.footer .brand img { height: 32px; }
.footer p { color: #9d927c; font-size: .9rem; max-width: 40ch; margin-top: 16px; }
.footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #b5a98f; font-size: .92rem; }
.footer a:hover { color: var(--gold-mid); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; font-size: .8rem; color: #847a66; }
.footer-bottom a { color: #847a66; }
.footer-bottom .powered { font-size: .76rem; }

/* =========================================================================
   PRIVACY PAGE
   ========================================================================= */
.legal { padding-top: clamp(48px, 8vw, 90px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal .updated { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 44px; }
.legal p, .legal li { color: var(--secondary); max-width: 72ch; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .highlight { background: var(--gold-pale); border: 1px solid var(--cream-line); border-left: 3px solid var(--gold); border-radius: 6px; padding: 20px 24px; margin: 28px 0; }
.legal .highlight p:last-child { margin-bottom: 0; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 50px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* =========================================================================
   MOTION PREFERENCE + RESPONSIVE
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 900px) {
  .split, .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-line);
    padding: 8px 24px 24px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--cream-line); }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .intro-band { flex-direction: column; align-items: flex-start; }
}
