/* ============================================================
   YEGUADA D — STYLES (design & layout). You normally never edit this.
   The ONE thing you may want to tweak is the image colour grading,
   in the IMAGE TREATMENT block just below.
   ============================================================ */

:root{
  --bone:#F4EEE1; --bone-deep:#EAE1CE; --ink:#2A2017; --ink-soft:#5B4E3E;
  --olive:#3C4632; --olive-soft:#5A6749; --gold:#A9863E; --gold-bright:#C7A352;
  --saddle:#7A4E2D; --line:rgba(42,32,23,.14);
  --shadow:0 18px 50px -22px rgba(42,32,23,.45); --maxw:1120px;

  /* ---------- IMAGE TREATMENT (unifies every photo) ----------
     A gentle, timeless wash so photos from different cameras and days
     feel like one story: slightly softened contrast, a touch warmer,
     saturation eased so nothing looks harsh. Nudge these if you like.
     Keep changes small — subtlety is the whole point. */
  --img-saturate:0.92;     /* <1 calms colours, >1 boosts them */
  --img-contrast:0.97;     /* <1 softens, >1 hardens */
  --img-brightness:1.02;   /* tiny lift */
  --img-sepia:0.06;        /* small amount = warm, timeless feel */
  --img-warmth:0.10;       /* strength of the warm overlay (0 = off) */
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bone);color:var(--ink);font-family:"Mulish",system-ui,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,.display{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;line-height:1.05;letter-spacing:.01em;margin:0}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 26px}
.eyebrow{font-weight:600;font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);margin:0 0 .9rem}
.rule{width:54px;height:2px;background:var(--gold);margin:0 0 1.6rem;border:0}

/* ---------- the unified photo treatment ---------- */
.frame img{
  filter:saturate(var(--img-saturate)) contrast(var(--img-contrast)) brightness(var(--img-brightness)) sepia(var(--img-sepia));
}
.frame .tint{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(160deg, rgba(201,163,82,1), rgba(60,70,50,1));
  mix-blend-mode:soft-light;opacity:var(--img-warmth);
}
.frame.empty .tint{display:none}

header.bar{position:sticky;top:0;z-index:50;background:rgba(244,238,225,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bar .wrap{display:flex;align-items:center;justify-content:space-between;height:66px;gap:1rem}
.brand{font-family:"Cormorant Garamond",serif;font-size:1.6rem;letter-spacing:.06em;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:.5rem}
.brand span{color:var(--gold)}
.logo-mark{width:30px;height:30px;color:var(--ink);flex-shrink:0}
.bar-right{display:flex;align-items:center;gap:1.2rem}
nav{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1.4rem}
nav a{font-size:.82rem;letter-spacing:.04em;text-decoration:none;color:var(--ink-soft);transition:color .2s;cursor:pointer}
nav a:hover{color:var(--ink)}
.lang-toggle{font-family:"Mulish",sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.12em;color:var(--saddle);background:none;border:1px solid var(--line);border-radius:100px;padding:.35rem .75rem;cursor:pointer;transition:all .2s;flex-shrink:0}
.lang-toggle:hover{background:var(--bone-deep);color:var(--ink)}
@media(max-width:760px){
  .bar .wrap{height:auto;padding-top:.8rem;padding-bottom:.8rem;flex-wrap:wrap;row-gap:.7rem}
  .bar-right{width:100%;flex-direction:column;align-items:flex-start;gap:.6rem}
  nav{gap:.4rem 1.1rem}
}

.view{animation:rise .6s ease both}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.hero{position:relative;min-height:84vh;display:flex;align-items:flex-end;overflow:hidden}
.hero .frame{position:absolute;inset:0;border:0}
.hero .frame img{width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(42,32,23,.35),rgba(42,32,23,.15) 35%,rgba(42,32,23,.78));z-index:3}
.hero-copy{position:relative;z-index:4;color:#F7F2E7;padding:0 0 7vh;max-width:780px}
.hero-copy .eyebrow{color:var(--gold-bright)}
.hero h1{font-size:clamp(2.8rem,7vw,5.4rem);font-style:italic;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.hero p{font-size:clamp(1.05rem,2vw,1.3rem);max-width:560px;margin:1.2rem 0 0;color:#EFE7D6;font-weight:300}

section{padding:clamp(3.5rem,8vw,7rem) 0}
.lede{max-width:760px}
.lede h2{font-size:clamp(2rem,4.4vw,3.1rem)}
.lede p{font-size:1.15rem;color:var(--ink-soft);margin:1.3rem 0 0}

.memory{display:grid;grid-template-columns:0.9fr 1.1fr;gap:3rem;align-items:start;margin-top:3rem}
@media(max-width:760px){.memory{grid-template-columns:1fr;gap:2rem}}
.memory-img{display:flex;flex-direction:column;max-width:380px}
@media(max-width:760px){.memory-img{max-width:100%;margin:0 auto}}
.memory .frame{aspect-ratio:3/4;border-radius:4px;overflow:hidden;box-shadow:var(--shadow);width:100%}
.memory .frame img{width:100%;height:100%;object-fit:cover}
.memory-cap{margin-top:.7rem;font-size:.86rem;font-style:italic;color:var(--ink-soft);text-align:center}
.memory .txt p{font-size:1.08rem;color:var(--ink);margin:0 0 1.2rem}
.memory .txt p:first-child{margin-top:0}
.memory .txt p:last-child{margin-bottom:0}

.band{background:var(--olive);color:#EFEAD9}
.band .eyebrow{color:var(--gold-bright)}
.band h2{color:#F4EEE1}
.band p{color:#D9D3C0}

.cols{display:grid;grid-template-columns:repeat(3,1fr);gap:2.2rem;margin-top:3rem}
.cols .num{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:2.2rem;color:var(--gold-bright);line-height:1}
.cols h3{font-size:1.4rem;margin:.7rem 0 .5rem}
@media(max-width:760px){.cols{grid-template-columns:1fr;gap:1.6rem}}

.gallery-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.9rem;margin-top:2.8rem}
.card{background:var(--bone-deep);border:1px solid var(--line);border-radius:3px;overflow:hidden;cursor:pointer;text-align:left;padding:0;color:inherit;font:inherit;box-shadow:var(--shadow);transition:transform .35s ease,box-shadow .35s ease}
.card:hover{transform:translateY(-5px);box-shadow:0 28px 60px -26px rgba(42,32,23,.55)}
.card .frame{aspect-ratio:4/5;overflow:hidden}
.card .frame img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.card:hover .frame img{transform:scale(1.05)}
.card .body{padding:1.2rem 1.35rem 1.5rem}
.card .body h3{font-size:1.85rem;font-style:italic}
.card .epithet{color:var(--gold);font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;margin:.35rem 0 .6rem;font-weight:600}
.card .body p{margin:0;color:var(--ink-soft);font-size:.96rem}

.horse-hero{position:relative;min-height:72vh;display:flex;align-items:flex-end;overflow:hidden}
.horse-hero .frame{position:absolute;inset:0;border:0}
.horse-hero .frame img{width:100%;height:100%;object-fit:cover}
.horse-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(42,32,23,.1),rgba(42,32,23,.72));z-index:3}
.horse-hero .plate{position:relative;z-index:4;color:#F7F2E7;padding:0 0 6vh}
.horse-hero .plate .eyebrow{color:var(--gold-bright)}
.horse-hero h1{font-size:clamp(3rem,9vw,6rem);font-style:italic;text-shadow:0 2px 24px rgba(0,0,0,.4)}
.horse-hero .epi{font-family:"Cormorant Garamond",serif;font-size:clamp(1.2rem,3vw,1.7rem);color:#EFE7D6;margin-top:.3rem;font-style:italic}

.back{display:inline-flex;align-items:center;gap:.5rem;margin:2rem 0 0;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);background:none;border:0;cursor:pointer;font-family:inherit}
.back:hover{color:var(--ink)}

.portrait-body{display:grid;grid-template-columns:1.5fr 1fr;gap:3.5rem;margin-top:3rem}
@media(max-width:860px){.portrait-body{grid-template-columns:1fr;gap:2.2rem}}
.portrait-body .story p{font-size:1.12rem;color:var(--ink);margin:0 0 1.2rem}
.portrait-body .story p:first-of-type::first-letter{font-family:"Cormorant Garamond",serif;font-size:3.4rem;line-height:.8;float:left;margin:.18rem .6rem 0 0;color:var(--saddle)}
.note-line{margin-top:1.4rem;padding:1.1rem 1.3rem;background:var(--bone-deep);border-left:3px solid var(--gold);border-radius:0 3px 3px 0;font-size:1.02rem;color:var(--ink-soft)}
.facts{background:var(--bone-deep);border:1px solid var(--line);border-radius:3px;padding:1.8rem;align-self:start}
.facts h3{font-size:1.5rem;font-style:italic;margin-bottom:1rem}
.facts dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.55rem 1.1rem}
.facts dt{color:var(--gold);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;align-self:start;padding-top:.15rem}
.facts dd{margin:0;font-size:1rem}

.bloodline{margin-top:2.4rem;padding:1.8rem;border:1px solid var(--line);border-radius:3px}
.bloodline h3{font-size:1.5rem;font-style:italic;margin-bottom:.6rem}
.bloodline p{margin:0;color:var(--ink-soft);font-size:1.04rem}

.strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.6rem}
@media(max-width:760px){.strip{grid-template-columns:repeat(2,1fr)}}
.strip .frame{aspect-ratio:1/1;overflow:hidden;border-radius:2px}
.strip .frame img{width:100%;height:100%;object-fit:cover;border-radius:2px}
.strip-item{display:flex;flex-direction:column}
.strip-item figcaption{margin-top:.4rem;font-size:.78rem;font-style:italic;color:var(--ink-soft);text-align:center}

.colt{display:grid;grid-template-columns:1fr 1.3fr;gap:2rem;align-items:center;margin-top:2.6rem;background:var(--bone-deep);border:1px solid var(--line);border-radius:4px;overflow:hidden}
@media(max-width:680px){.colt{grid-template-columns:1fr}}
.colt .frame{aspect-ratio:4/3;min-height:220px;overflow:hidden}
.colt .frame img{width:100%;height:100%;object-fit:cover}
.colt-photo figcaption{margin-top:.5rem;font-size:.82rem;font-style:italic;color:var(--ink-soft);text-align:center}
.colt .txt{padding:1.6rem 1.8rem}
.colt h3{font-size:1.6rem;font-style:italic;margin-bottom:.5rem}
.colt p{margin:0;color:var(--ink-soft)}
.colt-extra{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem;margin-top:.9rem}
@media(max-width:760px){.colt-extra{grid-template-columns:repeat(2,1fr)}}
.colt-extra .frame{aspect-ratio:1/1;overflow:hidden}
.colt-extra .frame img{width:100%;height:100%;object-fit:cover;border-radius:2px}

.growing-up{margin-top:2.6rem}
.growing-up h3{font-size:1.6rem;font-style:italic;margin-bottom:.4rem}
.growing-up-intro{margin:0 0 1.2rem;color:var(--ink-soft)}
.grow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
@media(max-width:760px){.grow-grid{grid-template-columns:repeat(2,1fr)}}
.grow-grid .frame{aspect-ratio:1/1;overflow:hidden}
.grow-grid .frame img{width:100%;height:100%;object-fit:cover;border-radius:2px}

.children{margin-top:1.2rem;columns:2;column-gap:2.2rem;padding:0}
@media(max-width:680px){.children{columns:1}}
.children li{margin:0 0 .7rem;break-inside:avoid;list-style:none;padding-left:1.1rem;position:relative;font-size:1rem;color:var(--ink)}
.children li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;background:var(--gold);border-radius:50%}
.children b{font-weight:700}

.foals-intro{max-width:680px}
.foals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.8rem}
@media(max-width:760px){.foals-grid{grid-template-columns:repeat(2,1fr)}}
.foals-grid .frame{aspect-ratio:1/1;overflow:hidden}
.foals-grid .frame img{width:100%;height:100%;object-fit:cover;border-radius:2px}

.enquire{background:var(--olive);color:#EFEAD9;border-radius:4px;padding:2.4rem;margin-top:3rem;display:flex;gap:1.5rem;align-items:center;justify-content:space-between;flex-wrap:wrap}
.enquire h3{color:#F4EEE1;font-size:1.9rem;font-style:italic}
.enquire p{margin:.4rem 0 0;color:#D9D3C0;max-width:480px}
.btn{display:inline-block;background:var(--gold);color:#2A2017;text-decoration:none;padding:.85rem 1.6rem;border-radius:100px;font-weight:700;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;transition:background .2s;border:0;cursor:pointer}
.btn:hover{background:var(--gold-bright)}

.teaser{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:4px;overflow:hidden;margin-top:1rem}
@media(max-width:680px){.teaser{grid-template-columns:1fr}}
.teaser .frame{min-height:260px}
.teaser .frame img{width:100%;height:100%;object-fit:cover}
.teaser .txt{padding:2.4rem;background:var(--bone-deep);display:flex;flex-direction:column;justify-content:center}
.teaser h3{font-size:2rem;font-style:italic;margin-bottom:.6rem}
.teaser p{margin:0 0 1.3rem;color:var(--ink-soft)}
.link{align-self:flex-start;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--saddle);font-weight:700;background:none;border:0;border-bottom:1px solid var(--gold);cursor:pointer;font-family:inherit;padding:0 0 .2rem}

/* photo slot + placeholder (shows the filename to drop in) */
.frame{position:relative;background:linear-gradient(135deg,#E7DDC6,#D8CBAD);overflow:hidden}
.frame img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover}
.frame .hint{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.5rem;color:var(--ink-soft);padding:1rem}
.frame .hint svg{width:28px;height:28px;opacity:.5}
.frame .hint code{font-family:ui-monospace,Menlo,monospace;font-size:.68rem;background:rgba(42,32,23,.07);padding:.22rem .5rem;border-radius:3px;color:var(--saddle);word-break:break-all}
.frame .hint span{font-size:.76rem;letter-spacing:.04em}

.contact{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
@media(max-width:760px){.contact{grid-template-columns:1fr}}
.contact a.mail{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(1.6rem,4vw,2.4rem);color:var(--gold-bright);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.25)}
footer{background:var(--ink);color:#C9BFAE;padding:2.4rem 0 1.6rem}
.foot-main{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.85rem}
.foot-brand{display:flex;align-items:center;gap:.6rem;font-family:"Cormorant Garamond",serif;font-size:1.3rem;letter-spacing:.06em;color:#F4EEE1}
.foot-brand .logo-mark{width:24px;height:24px;color:#C9BFAE}
footer a{color:var(--gold-bright);text-decoration:none}
.foot-bottom{margin-top:1.8rem;padding-top:1.2rem;border-top:1px solid rgba(244,238,225,.12);font-size:.76rem;color:#9C9384}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto}}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
