/* =========================================================
   WOLVERRINE  ·  Mill Iron Livestock  ·  Standing at Solo Select
   ---------------------------------------------------------
   Palette sampled directly from the stallion ad artwork:
   hue ~160 emerald and hue ~30 gold. White page, dark bands.
   ========================================================= */
:root {
  /* Emerald — the logo green */
  --em-900: #04231A;   /* near-black green: dark bands */
  --em-800: #063A2C;
  --em-700: #0B5240;
  --em-500: #15785D;
  --jade:   #3C9B7C;
  --jade-2: #6FD1AC;   /* highlight only, never text on white */

  /* Gold — the logo metallic */
  --gold-800: #6B4418;
  --gold-600: #A96F28;
  --gold-500: #C9913F;
  --gold-300: #E3BB6B;

  /* Neutrals */
  --ink:       #121512;
  --ink-soft:  #3E463F;
  --ink-faint: #767E77;
  --bg:        #FFFFFF;
  --bg-tint:   #F4F8F6;
  --rule:      #DDE4E0;
  --rule-dark: rgba(255,255,255,0.16);

  --display: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max:    1180px;
  --max-prose: 66ch;
  --section-y: clamp(3.5rem, 8vw, 7.5rem);
}

/* This is brand marketing: it stays light in every theme. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#FFFFFF; --bg-tint:#F4F8F6; }
}
:root[data-theme="dark"] { --bg:#FFFFFF; --bg-tint:#F4F8F6; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; font-weight: 350; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--em-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold-600); outline-offset: 3px; }

.wrap { width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--gutter); }
.prose { max-width: var(--max-prose); }
.center { text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Type: high-contrast display, tight and loud ---------- */
h1,h2,h3,h4 {
  font-family: var(--display);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -0.025em; margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.7rem, 8.6vw, 6rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); font-weight: 750; }
h3 { font-family: var(--body); font-size: clamp(1.05rem,1.7vw,1.22rem); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1.05em; }

.eyebrow {
  font-family: var(--body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 1.1rem;
}
.eyebrow::after {
  content:""; display:block; width:38px; height:2px;
  background: var(--gold-500); margin-top: 0.75rem;
  transform: skewX(-28deg);
}
.lede { font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height:1.58; color: var(--ink-soft); }
.fine { font-size: 0.85rem; color: var(--ink-faint); line-height:1.6; }

/* ---------- Nav ---------- */
.nav {
  position:sticky; top:0; z-index:50;
  background: var(--em-900); border-bottom: 2px solid var(--gold-600);
}
.nav__inner { display:flex; align-items:center; gap:1.5rem; min-height:64px; }
.nav__mark {
  font-family: var(--display); font-weight:700; font-size:1.3rem;
  letter-spacing:0.04em; text-transform:uppercase; color:#fff; white-space:nowrap;
}
.nav__mark:hover { text-decoration:none; color: var(--gold-300); }
.nav__links {
  display:flex; gap:1.5rem; margin-left:auto; list-style:none; padding:0;
  font-size:0.74rem; letter-spacing:0.14em; text-transform:uppercase; font-weight:600;
}
.nav__links a { color: rgba(255,255,255,0.72); }
.nav__links a:hover { color: var(--gold-300); text-decoration:none; }
.nav__cta {
  margin-left:auto; display:inline-flex; align-items:center;
  padding:0.62rem 1.3rem; background: var(--gold-600); color:#fff;
  font-size:0.72rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
}
.nav__cta:hover { background: var(--gold-500); text-decoration:none; }
.nav__links + .nav__cta { margin-left:1.5rem; }
@media (max-width:980px){ .nav__links{ display:none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem,6vw,5rem) 0 0; position:relative; }
.hero::before {
  content:""; position:absolute; top:0; left:0; width:46%; height:5px;
  background: linear-gradient(90deg, var(--em-700), var(--jade));
  transform: skewX(-28deg); transform-origin: left top;
}
.hero__grid { display:grid; gap:clamp(2rem,4vw,3.5rem); grid-template-columns:1fr; align-items:center; }
@media (min-width:900px){ .hero__grid{ grid-template-columns:0.95fr 1.05fr; } }
.hero h1 { margin-bottom:0.22em; color: var(--em-900); text-transform: uppercase; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--em-900) 0%, var(--em-500) 45%, var(--gold-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-family: var(--body); font-style:normal; font-weight:500;
  font-size: clamp(1.05rem,2.2vw,1.45rem); color: var(--gold-600);
  margin:0 0 1.3rem; line-height:1.35;
}
.hero__meta {
  display:flex; flex-wrap:wrap; gap:0.5rem; list-style:none; padding:0; margin:0 0 1.7rem;
}
.hero__meta { gap:0.4rem 1.1rem; }
.hero__meta li {
  font-size:0.68rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  color: var(--ink-faint);
}
.hero__meta li + li::before { content:"/"; margin-right:1.1rem; color: var(--gold-500); }

/* ---------- Logo lockup ---------- */
.lockup {
  display:flex; align-items:center; gap:clamp(1rem,3vw,2rem); flex-wrap:wrap;
  padding-top:1.7rem; border-top:1px solid var(--rule);
}
.lockup__logo { height:56px; width:auto; object-fit:contain; }
.lockup__divider { width:2px; height:42px; background: var(--gold-500); transform: skewX(-28deg); }
.lockup__text {
  font-size:0.64rem; font-weight:700; letter-spacing:0.22em;
  text-transform:uppercase; color: var(--ink-faint); line-height:1.8;
}
.lockup__text strong { display:block; color: var(--em-900); letter-spacing:0.14em; }

/* ---------- Buttons ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  padding:1rem 2rem; font-family:var(--body);
  font-size:0.76rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  border:2px solid var(--em-900); background: var(--em-900); color:#fff;
  cursor:pointer; transition: background .16s, border-color .16s, color .16s;
}
.btn:hover { background: var(--gold-600); border-color: var(--gold-600); color:#fff; text-decoration:none; }
.btn--ghost { background:transparent; color: var(--em-900); }
.btn--ghost:hover { background: var(--em-900); border-color: var(--em-900); color:#fff; }
.btn-row { display:flex; flex-wrap:wrap; gap:0.75rem; }

/* ---------- Image slots ---------- */
.shot { position:relative; overflow:hidden; background: var(--bg-tint); }
.shot img { width:100%; height:100%; object-fit:cover; }
.shot--portrait{ aspect-ratio:4/5; } .shot--square{ aspect-ratio:1/1; }
.shot--wide{ aspect-ratio:16/10; } .shot--hero{ aspect-ratio:4/5; }
@media (min-width:900px){ .shot--hero{ aspect-ratio:5/6; } }
.shot__ph {
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:0.5rem; padding:1.5rem; text-align:center;
  background: repeating-linear-gradient(118deg, #EAF2EE 0 12px, #F6FAF8 12px 24px);
  color: var(--em-700);
}
.shot__ph svg { width:30px; height:30px; opacity:0.5; }
.shot__ph code {
  font-family: ui-monospace, Menlo, monospace; font-size:0.69rem;
  background: rgba(255,255,255,0.88); padding:0.25rem 0.5rem;
  color: var(--ink-soft); word-break:break-all;
}
.shot__ph span { font-size:0.66rem; letter-spacing:0.16em; text-transform:uppercase; font-weight:700; }
.shot.is-loaded .shot__ph { display:none; }
.caption { font-size:0.76rem; color:var(--ink-faint); margin:0.6rem 0 0; font-style:italic; }

/* ---------- Stat strip: dark, gold numerals ---------- */
.strip { background: var(--em-900); margin-top: clamp(2.5rem,6vw,4rem); }
.strip__grid { display:grid; gap:1px; background: var(--rule-dark); grid-template-columns:repeat(2,1fr); }
@media (min-width:760px){ .strip__grid{ grid-template-columns:repeat(4,1fr); } }
.stat { background: var(--em-900); padding:clamp(1.6rem,3.2vw,2.6rem) 1.1rem; text-align:center; }
.stat__num {
  font-family:var(--display); font-weight:800;
  font-size:clamp(1.7rem,3.8vw,2.7rem); line-height:1;
  color: var(--gold-300); display:block; letter-spacing:-0.03em;
}
.stat__label {
  display:block; margin-top:0.75rem; font-size:0.62rem; font-weight:700;
  letter-spacing:0.17em; text-transform:uppercase;
  color: rgba(255,255,255,0.55); line-height:1.5;
}

/* ---------- Sections ---------- */
section { padding: var(--section-y) 0; }
section.band { background: var(--bg-tint); }

/* Inverted section: this is where the intensity lives */
section.invert { background: var(--em-900); color: #EAF0EC; position:relative; }
section.invert h2, section.invert h3 { color:#fff; }
section.invert .lede { color: rgba(255,255,255,0.78); }
section.invert .fine { color: rgba(255,255,255,0.5); }
section.invert .eyebrow { color: var(--gold-300); }
section.invert .eyebrow::after { background: var(--gold-400, #C9913F); }
section.invert a { color: var(--gold-300); }
section.invert strong { color:#fff; }
section.invert .caption { color: rgba(255,255,255,0.5); }
section.invert::before {
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--gold-600), var(--jade) 60%, transparent);
}

.sec-head { margin-bottom: clamp(2rem,4vw,3.2rem); }
.sec-head .lede { max-width:58ch; }

.split { display:grid; gap:clamp(2rem,4vw,3.5rem); grid-template-columns:1fr; align-items:center; }
.split--top { align-items:start; }
@media (min-width:880px){
  .split { grid-template-columns:1fr 1fr; }
  .split--wide-left { grid-template-columns:1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns:0.85fr 1.15fr; }
  .split--flip > :first-child { order:2; }
}

/* ---------- Pedigree ---------- */
.ped { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.ped table { width:100%; min-width:580px; border-collapse:collapse; font-size:0.86rem; }
.ped td { border:1px solid var(--rule); padding:0.85rem 1rem; vertical-align:middle; background:var(--bg); }
.ped .gen1 { background: var(--em-900); color:#fff; border-color: var(--em-900); }
.ped .gen1 .name { color: var(--gold-300); }
.ped .gen1 .note { color: rgba(255,255,255,0.58); }
.ped .gen2 { background: var(--bg-tint); }
.ped .name { font-family:var(--body); font-weight:700; font-size:0.99rem; letter-spacing:-0.005em; display:block; }
.ped .note { display:block; font-size:0.68rem; color:var(--ink-faint); letter-spacing:0.08em; margin-top:0.25rem; text-transform:uppercase; font-weight:600; }

/* ---------- Cards ---------- */
.cards { display:grid; gap:1.4rem; grid-template-columns:1fr; }
@media (min-width:700px){ .cards--2{ grid-template-columns:repeat(2,1fr);} .cards--3{ grid-template-columns:repeat(2,1fr);} }
@media (min-width:1000px){ .cards--3{ grid-template-columns:repeat(3,1fr);} }
.card { background:none; border:0; border-top:2px solid var(--gold-500); padding:1.4rem 0 0; }
section.invert .card { background:none; border-top-color: var(--gold-500); color:#EAF0EC; }
.card h3 { margin-bottom:0.5em; }
.card p:last-child { margin-bottom:0; }
.card__step { display:none; }

/* ---------- Record ---------- */
.record { list-style:none; padding:0; margin:0; }
.record li {
  display:grid; gap:0.2rem 1.5rem; grid-template-columns:1fr;
  padding:1.15rem 0; border-bottom:1px solid var(--rule);
}
@media (min-width:640px){ .record li{ grid-template-columns:7.5rem 1fr auto; align-items:baseline; } }
.record__yr { font-size:0.68rem; font-weight:700; letter-spacing:0.18em; color:var(--gold-600); text-transform:uppercase; }
.record__what { font-family:var(--body); font-weight:650; font-size:1.02rem; letter-spacing:-0.005em; }
.record__what small { display:block; font-family:var(--body); font-weight:400; font-size:0.8rem; color:var(--ink-faint); margin-top:0.2rem; letter-spacing:0; }
.record__amt { font-family:var(--display); font-weight:700; font-variant-numeric:tabular-nums; font-size:1.05rem; color:var(--em-700); }

/* ---------- Fee box ---------- */
.fee { background:none; color:inherit; border-top:2px solid var(--gold-500); padding:1.6rem 0 0; }
.fee__amt { font-family:var(--display); font-weight:800; font-size:clamp(2.6rem,6.4vw,3.8rem); line-height:1; letter-spacing:-0.045em; display:block; color: var(--gold-300); }
.fee__per { font-size:0.66rem; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.6); font-weight:700; }
.fee dl { margin:1.9rem 0 0; }
.fee dt { font-size:0.62rem; letter-spacing:0.18em; text-transform:uppercase; font-weight:700; color:var(--gold-300); padding-top:1rem; border-top:1px solid var(--rule-dark); }
.fee dd { margin:0.3rem 0 1rem; font-size:0.94rem; color:rgba(255,255,255,0.86); }
.fee dd:last-of-type{ margin-bottom:0; }
.fee a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.fee strong { color:#fff; }

.tag {
  display:block; color:var(--gold-300);
  font-size:0.64rem; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; margin-bottom:0.9rem;
}

/* ---------- Pull quote ---------- */
.pull { border-left:3px solid var(--gold-500); padding:0.2rem 0 0.2rem 1.7rem; margin:2.2rem 0; }
.pull p { font-family:var(--body); font-style:italic; font-weight:400; font-size:clamp(1.2rem,2.6vw,1.65rem); line-height:1.35; color:var(--em-900); margin-bottom:0.7rem; }
.pull cite { font-style:normal; font-size:0.66rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-faint); }

/* ---------- Gallery ---------- */
.gal { display:grid; gap:0.9rem; grid-template-columns:repeat(2,1fr); }
@media (min-width:760px){ .gal{ grid-template-columns:repeat(3,1fr); gap:1.2rem; } }
/* One tile runs at 2x2 so the grid is not nine identical squares. The maths
   tiles exactly at both widths — 4 cells for the big tile plus 8 singles is 12,
   which is 4 rows of three and 6 rows of two — so there are no dead cells and
   no need for grid-auto-flow: dense, which would reshuffle the running order.
   The tile stays 1:1: at double width it spans two rows plus the gap, which is
   its own height. No recrop. */
.shot--big { grid-column: span 2; grid-row: span 2; }

/* ---------- Form ---------- */
.form { display:grid; gap:1.1rem; }
.form__row { display:grid; gap:1.1rem; grid-template-columns:1fr; }
@media (min-width:620px){ .form__row{ grid-template-columns:1fr 1fr; } }
.field { display:grid; gap:0.4rem; }
.field label { font-size:0.64rem; font-weight:700; letter-spacing:0.17em; text-transform:uppercase; color:var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family:var(--body); font-size:1rem; color:var(--ink);
  padding:0.85rem 0.9rem; background:var(--bg); border:1px solid var(--rule); width:100%;
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color:var(--em-500); outline:none; box-shadow:0 0 0 3px rgba(21,120,93,0.14);
}
.field textarea { resize:vertical; min-height:110px; }

/* ---------- Footer ---------- */
.foot { background:var(--em-900); color:rgba(255,255,255,0.72); padding:clamp(3rem,6vw,4.5rem) 0 2rem; border-top:3px solid var(--gold-600); }
.foot a { color:#fff; }
.foot__grid { display:grid; gap:2.5rem; grid-template-columns:1fr; }
@media (min-width:760px){ .foot__grid{ grid-template-columns:1.3fr 1fr 1fr; } }
.foot h4 { font-family:var(--body); font-size:0.62rem; font-weight:800; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold-300); margin-bottom:1rem; }
.foot__mark { font-family:var(--display); font-weight:700; font-size:1.9rem; color:#fff; margin:0 0 0.6rem; text-transform:uppercase; letter-spacing:0.02em; }
.foot ul { list-style:none; padding:0; margin:0; font-size:0.89rem; line-height:2; }
.foot__base { margin-top:3rem; padding-top:1.5rem; border-top:1px solid var(--rule-dark); display:flex; flex-wrap:wrap; gap:0.6rem 1.5rem; font-size:0.76rem; color:rgba(255,255,255,0.45); }
.foot__base p { margin:0; }

.skip { position:absolute; left:-9999px; background:var(--em-900); color:#fff; padding:0.8rem 1.2rem; z-index:100; }
.skip:focus { left:1rem; top:1rem; }

/* =========================================================
   CINEMATIC LAYER
   Title cards, dossier panel, notched geometry, scale contrast.
   Replaces the generic four-across stat bar.
   ========================================================= */

:root {
  --notch: 20px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}


.titlecard { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.titlecard__num { display: none; }

/* ---------- Fact line: open, no panel ---------- */
.facts {
  max-width: var(--max); margin: clamp(2.2rem,5vw,3.4rem) auto 0;
  padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; gap: clamp(1.6rem,4vw,3.6rem);
  align-items: baseline;
}
.fact__v {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1;
  letter-spacing: -0.035em; color: var(--em-900);
}
.fact__k {
  display: block; margin-top: 0.4rem;
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* Full-bleed conformation band under the hero */
.band-shot { margin: clamp(2rem,5vw,3.5rem) 0 0; padding: 0; background: var(--em-900); }
.band-shot img { width: 100%; height: auto; display: block; }
.hero__single { max-width: var(--max); }
.hero__single .lede, .hero__single .hero__sub { max-width: 62ch; }
.card--shot { padding-top: 0; border-top: 0; }

/* Nav wordmark: set in type. The drawn logo is built for light backgrounds
   and does not survive being keyed out and scaled to nav size. */
.nav__mark em { font-style:normal; color:var(--gold-300); }
.nav__mark:hover em { color:#fff; }
}

/* ---------------------------------------------------------
   Official wordmark. 12:1, so it is sized by width, not height.
   Gold on the dark bands, near-black emerald on white.
   --------------------------------------------------------- */
.nav__mark img { width: clamp(124px, 13vw, 168px); height: auto; display: block; }
.nav__mark:hover img { opacity: 0.82; }

.hero__logo { margin: 0 0 0.9rem; line-height: 0; }
.hero__logo img { width: min(100%, 780px); height: auto; display: block; }

.foot__mark { line-height: 0; margin: 0 0 1.1rem; }
.foot__mark img { width: min(100%, 230px); height: auto; display: block; }

/* Keep the bar on one line now the wordmark takes real estate */
.nav__links { gap: 1.15rem; }
.nav__links a { white-space: nowrap; }
.nav__cta { white-space: nowrap; padding: 0.6rem 1.05rem; }
.nav__links + .nav__cta { margin-left: 1.15rem; }
@media (max-width: 1100px) { .nav__links { display: none; } }

/* Mill Iron marks */
.ownermark { margin: 0 0 0.6em; }
.ownermark img { width: min(100%, 360px); height: auto; display: block; }
.foot__brand { height: 104px; width: auto; display: block; margin: 0 0 0.75rem; opacity: 0.9; }
.foot__logo { width: min(100%, 182px); height: auto; margin: 0 0 1rem; opacity: 0.92; }
/* Ground-handling frame under The Horse. Native 3:2, so nothing is cropped. */
.ground { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.ground .shot { aspect-ratio: 3 / 2; }

.jagg { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* Jaguarr's frame is a 492x1000 portrait cropped out of his stallion ad. A
   landscape box threw away about two thirds of it. Portrait matches the rest of
   the site's photo slots, and anchoring to the top takes the crop off his chest
   rather than his head. The column is sized to the picture so the shorter text
   beside it does not leave a gap. */
.split.jagg .shot { aspect-ratio: 4 / 5; }
.split.jagg .shot img { object-position: center top; }
@media (min-width: 900px) { .split.jagg { grid-template-columns: 320px 1fr; } }

/* The conformation shot is the one photo whose job is the whole horse. The 2026
   studio frame is natively 3:4, so a 4:5 box costs almost nothing and he is
   framed ears to feet with no crop tricks. Capped, because a full-width portrait
   at this ratio would run past a laptop screen on its own. */
.conformation { aspect-ratio: 4 / 5; max-width: 560px; }
