@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root{
  --black:#0e1c30;       /* page background — rich midnight navy */
  --panel:#16283f;       /* card / panel background */
  --panel-2:#1d3552;     /* deeper panel / hover */
  --gold:#b8923e;        /* warmer, richer gold accent */
  --gold-light:#d4ac5c;  /* gold hover */
  --forest:#b8923e;      /* kept for compatibility, same as accent */
  --cream:#cdbfa0;       /* main text — muted antique gold-beige, not stark white */
  --cream-dim:rgba(205,191,160,0.62);
  --line:rgba(205,191,160,0.13);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}

body{
  background:var(--black);
  color:var(--cream);
  font-family:'Inter',sans-serif;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:500;
  letter-spacing:-0.01em;
  color:var(--cream);
}

.eyebrow{
  font-family:'Inter',sans-serif;
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold);
}

a{color:inherit;text-decoration:none;}
.wrap{max-width:1160px;margin:0 auto;padding:0 28px;}

/* ---------- Header ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(14,28,48,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0;
}
.logo-mark{
  display:flex;align-items:center;gap:12px;
}
.logo-placeholder{
  width:38px;height:38px;
  border:1px solid var(--gold);
  border-radius:2px;
  display:flex;align-items:center;justify-content:center;
  font-family:'Fraunces',serif;
  font-size:0.68rem;
  letter-spacing:0.04em;
  color:var(--gold);
  text-align:center;
  line-height:1.1;
}
.logo-text{
  font-family:'Fraunces',serif;
  font-size:1.1rem;
  font-weight:600;
  letter-spacing:0.01em;
  white-space:nowrap;
  color:var(--gold);
}
.logo-text .accent{ font-style:italic; }

nav.site-nav ul{
  display:flex;gap:34px;list-style:none;
  font-size:0.86rem;font-weight:500;
}
nav.site-nav ul li a{
  position:relative;padding-bottom:4px;
  transition:color .2s;
}
nav.site-nav ul li a:hover, nav.site-nav ul li a.current{color:var(--gold);}

.header-actions{ display:flex; align-items:center; gap:14px; }

.menu-toggle{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:36px; height:36px;
  background:none; border:none; cursor:pointer; padding:0;
}
.menu-toggle span{
  display:block; width:22px; height:2px; background:var(--cream);
  transition:transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media(max-width:820px){
  .menu-toggle{ display:flex; }
  nav.site-nav{
    position:absolute; top:100%; left:0; right:0;
    background:var(--black);
    border-bottom:1px solid var(--line);
    max-height:0; overflow:hidden;
    transition:max-height .3s ease;
  }
  nav.site-nav.open{ max-height:400px; }
  nav.site-nav ul{
    flex-direction:column; gap:0;
    padding:8px 28px 24px;
  }
  nav.site-nav ul li{
    padding:14px 0;
    border-bottom:1px solid var(--line);
  }
  nav.site-nav ul li a{ font-size:0.95rem; }
}

.header-cta{
  font-size:0.74rem;font-weight:600;
  padding:8px 14px;
  border:1px solid var(--gold);
  border-radius:2px;
  color:var(--gold);
  transition:all .2s;
  white-space:nowrap;
}
.header-cta:hover{background:var(--gold);color:var(--black);}

/* ---------- Hero ---------- */
.hero{
  padding:90px 0 70px;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero .wrap{position:relative;z-index:2;}
.hero-eyebrow{margin-bottom:20px;}
.hero h1{
  font-size:clamp(2.2rem, 5.4vw, 3.8rem);
  line-height:1.08;
  max-width:820px;
}
.hero h1 em{ font-style:italic; }
.hero p.lede{
  margin-top:24px;
  max-width:560px;
  font-size:1.04rem;
  color:var(--cream-dim);
}
.hero-ctas{
  margin-top:34px;
  display:flex;gap:16px;flex-wrap:wrap;
}
.btn{
  display:inline-block;
  padding:13px 26px;
  font-size:0.85rem;
  font-weight:600;
  border-radius:2px;
  border:1px solid var(--gold);
  transition:all .2s;
}
.btn-primary{background:var(--gold);color:var(--black);}
.btn-primary:hover{background:var(--gold-light);border-color:var(--gold-light);}
.btn-ghost{background:transparent;color:var(--gold);}
.btn-ghost:hover{background:var(--gold);color:var(--black);}

/* Signature: gold seal / passport stamp motif */
.seal-motif{
  position:absolute;
  top:20px; right:-40px;
  width:480px; max-width:55vw;
  opacity:0.9;
  z-index:1;
}
@media(max-width:900px){ .seal-motif{display:none;} }
.seal-motif .route{
  fill:none; stroke:rgba(184,146,62,0.55);
  stroke-width:1.2; stroke-dasharray:5 6; stroke-linecap:round;
  animation:dash 44s linear infinite;
}
.seal-motif .dot{ fill:var(--gold); }
.seal-motif .ring{
  fill:none; stroke:var(--gold); stroke-width:1;
  opacity:0.6;
}
@keyframes dash{ to{ stroke-dashoffset:-420; } }
@media (prefers-reduced-motion: reduce){ .seal-motif .route{ animation:none; } }

/* ---------- Stat strip ---------- */
.stat-strip{ border-bottom:1px solid var(--line); padding:36px 0; }
.stat-strip .wrap{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.stat{ font-size:0.9rem; color:var(--cream-dim); }
.stat b{
  display:block; font-family:'Fraunces',serif; font-size:1.4rem;
  font-weight:500; color:var(--gold); margin-bottom:4px;
}
@media(max-width:760px){ .stat-strip .wrap{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Section heads ---------- */
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(1.7rem,3.4vw,2.4rem); line-height:1.15; margin-top:14px; }

/* ---------- Two big category cards (home) ---------- */
.category-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:1px;
  background:var(--line); border:1px solid var(--line);
  margin:60px 0;
}
.category-card{
  background:var(--panel);
  padding:52px 40px;
  min-height:320px;
  display:flex; flex-direction:column; justify-content:flex-end;
  position:relative;
  transition:background .25s;
}
.category-card:hover{ background:var(--panel-2); }
.category-card .num{
  position:absolute; top:32px; left:40px;
  font-family:'Fraunces',serif; font-style:italic;
  color:var(--gold); font-size:0.95rem;
}
.category-card h3{ font-size:1.9rem; margin-bottom:10px; }
.category-card p{ color:var(--cream-dim); font-size:0.94rem; margin-bottom:20px; max-width:380px; }
.category-card .link{
  font-size:0.83rem; font-weight:600; color:var(--gold);
  border-bottom:1px solid var(--gold); padding-bottom:2px;
  align-self:flex-start;
}
@media(max-width:800px){ .category-grid{ grid-template-columns:1fr; } }
.category-grid.three{ grid-template-columns:repeat(3,1fr); }
.category-grid.three .category-card{ padding:44px 32px; min-height:280px; }
.category-grid.three .category-card h3{ font-size:1.5rem; }
@media(max-width:900px){ .category-grid.three{ grid-template-columns:1fr; } }

/* ---------- News & Events banner (home) ---------- */
.news-banner{
  border:1px solid var(--gold);
  background:linear-gradient(135deg, rgba(184,146,62,0.08), transparent);
  padding:48px 44px;
  margin:0 0 100px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.news-banner .eyebrow{ margin-bottom:12px; }
.news-banner h2{ font-size:clamp(1.5rem,3vw,2rem); max-width:520px; }
.news-banner .btn{ white-space:nowrap; }

/* ---------- News & Events listing ---------- */
.news-filter-bar{ display:flex; gap:10px; flex-wrap:wrap; padding:30px 0 44px; border-bottom:1px solid var(--line); margin-bottom:44px; }
.event-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; padding-bottom:100px; }
.event-card{ border:1px solid var(--line); background:var(--panel); padding:26px; transition:border-color .2s; }
.event-card:hover{ border-color:var(--gold); }
.event-card .eyebrow{ margin-bottom:10px; }
.event-card .event-date{ font-size:0.8rem; color:var(--cream-dim); margin-bottom:14px; }
.event-card h4{ font-family:'Fraunces',serif; font-size:1.2rem; font-weight:500; margin-bottom:10px; }
.event-card p{ font-size:0.9rem; color:var(--cream-dim); margin-bottom:18px; }
.event-card .link{ font-size:0.8rem; font-weight:600; color:var(--gold); border-bottom:1px solid var(--gold); padding-bottom:2px; }
@media(max-width:900px){ .event-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .event-grid{ grid-template-columns:1fr; } }

/* ---------- Subcategory tiles ---------- */
.subcat-strip{ padding:0 0 90px; }
.subcat-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); gap:16px;
}
.subcat-tile{
  border:1px solid var(--line);
  padding:26px 22px;
  transition:border-color .2s, background .2s;
}
.subcat-tile:hover{ border-color:var(--gold); background:var(--panel); }
.subcat-tile .eyebrow{ margin-bottom:10px; }
.subcat-tile h4{
  font-family:'Fraunces',serif; font-size:1.15rem; font-weight:500; color:var(--cream);
}
.subcat-tile p{ font-size:0.85rem; color:var(--cream-dim); margin-top:8px; }
@media(max-width:800px){ .subcat-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .subcat-grid{ grid-template-columns:1fr; } }

/* ---------- Filter tabs (listing pages) ---------- */
.filter-bar{
  display:flex; gap:10px; flex-wrap:wrap;
  padding:30px 0 44px; border-bottom:1px solid var(--line); margin-bottom:44px;
}
.filter-btn{
  font-size:0.82rem; font-weight:600; letter-spacing:0.02em;
  padding:9px 18px; border:1px solid var(--line); border-radius:20px;
  background:transparent; color:var(--cream-dim); cursor:pointer;
  font-family:'Inter',sans-serif; transition:all .2s;
}
.filter-btn:hover{ border-color:var(--gold); color:var(--cream); }
.filter-btn.active{ background:var(--gold); border-color:var(--gold); color:var(--black); }

/* ---------- Horse listing cards ---------- */
.listing-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
  padding-bottom:100px;
}
.horse-card{
  border:1px solid var(--line);
  background:var(--panel);
  overflow:hidden;
  transition:border-color .2s;
}
.horse-card:hover{ border-color:var(--gold); }
.horse-media{
  aspect-ratio:4/3;
  background:
    repeating-linear-gradient(45deg, rgba(184,146,62,0.06) 0 2px, transparent 2px 14px),
    var(--panel-2);
  display:flex; align-items:center; justify-content:center;
  color:rgba(205,191,160,0.35);
  font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase;
  border-bottom:1px solid var(--line);
}
.horse-body{ padding:22px 22px 26px; }
.horse-body .eyebrow{ margin-bottom:8px; }
.horse-body h4{
  font-family:'Fraunces',serif; font-size:1.2rem; font-weight:500; margin-bottom:6px;
}
.horse-meta{
  font-size:0.82rem; color:var(--cream-dim); margin-bottom:14px;
}
.horse-body .link{
  font-size:0.8rem; font-weight:600; color:var(--gold);
  border-bottom:1px solid var(--gold); padding-bottom:2px;
}
@media(max-width:900px){ .listing-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .listing-grid{ grid-template-columns:1fr; } }

/* ---------- Quote / CTA band ---------- */
.quote{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:90px 0; }
.quote .wrap{ max-width:760px; }
.quote p{
  font-family:'Fraunces',serif; font-style:italic; font-weight:400;
  font-size:clamp(1.3rem,2.8vw,1.9rem); line-height:1.4;
}
.quote cite{
  display:block; margin-top:24px; font-style:normal;
  font-size:0.82rem; color:var(--gold); font-weight:600; letter-spacing:0.02em;
}

/* ---------- About page specifics ---------- */
.about-hero{ padding:90px 0 70px; border-bottom:1px solid var(--line); }
.about-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:60px; padding:90px 0;
  border-bottom:1px solid var(--line);
}
.about-grid h2{ font-size:clamp(1.6rem,3vw,2.1rem); margin-bottom:20px; }
.about-grid p{ color:var(--cream-dim); margin-bottom:16px; font-size:0.98rem; }
@media(max-width:800px){ .about-grid{ grid-template-columns:1fr; gap:32px; } }

.values-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); margin:70px 0;
}
.value-card{ background:var(--panel); padding:34px 30px; }
.value-card .tag{ font-family:'Fraunces',serif; font-style:italic; color:var(--gold); font-size:0.92rem; }
.value-card h3{ font-size:1.2rem; margin:12px 0 10px; }
.value-card p{ font-size:0.9rem; color:var(--cream-dim); }
@media(max-width:800px){ .values-grid{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer{ padding:70px 0 40px; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px;
  padding-bottom:50px; border-bottom:1px solid var(--line);
}
footer h4{
  font-size:0.76rem; font-weight:600; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--gold); margin-bottom:16px;
}
footer p{ font-size:0.9rem; color:var(--cream-dim); max-width:320px; }
footer ul{ list-style:none; }
footer li{ margin-bottom:10px; font-size:0.9rem; }
footer li a:hover{ color:var(--gold); }
.footer-bottom{
  padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:0.76rem; color:rgba(205,191,160,0.45);
}
@media(max-width:760px){ .footer-grid{ grid-template-columns:1fr; } }
