@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@400;500;600;700;800&display=swap');
/* RAIL & RYE PRODUCTION CORE
   Canonical brand tokens, typography, header/footer, base store styles and saddlecloth rules.
   Generated from the approved October 2026 design; retired versioned CSS is no longer loaded. */
:root{--rr-navy:#072B67;--rr-gold:#BE7C04;--rr-ivory:#FEFDF6;--rr-paper:#fff;--rr-ink:#1b2e44;--rr-muted:#566575;--rr-line:#d9d5c7;--rr-wash:#f6f3e9;--rr-deep:#061c40;--rr-green:#183c36;--rr-shadow:0 6px 22px rgba(7,43,103,.06);--heritage-serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;--heritage-sans:Montserrat,'Helvetica Neue',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-gutter:stable}body{margin:0;background:var(--rr-ivory);color:var(--rr-ink);font-family:var(--heritage-sans);font-size:14px}a{text-decoration:none;color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--rr-gold);outline-offset:3px}button,input{font:inherit}img{max-width:100%;height:auto}button{cursor:pointer}p{margin:0}h1,h2,h3{font-family:var(--heritage-serif);font-weight:400} .shell{max-width:1240px;margin-inline:auto;padding-inline:clamp(16px,3.3vw,45px)}
.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.22em;font-weight:700;color:var(--rr-gold)}.micro-strip{background:var(--rr-green);color:#f3ead5;text-align:center;font-size:9px;letter-spacing:.15em;text-transform:uppercase;padding:7px 12px}.site-header{border-bottom:1px solid var(--rr-line);background:var(--rr-ivory)}.header-inner{height:75px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:inline-flex;align-items:center;gap:11px;min-width:0}.brand img{height:55px;width:55px;object-fit:contain}.brand-word{font:clamp(18px,2.25vw,26px)/1 var(--heritage-serif);letter-spacing:.09em;color:var(--rr-navy);white-space:nowrap}.brand-word,.brand-sub{display:block}.brand-sub{font-size:8px;color:var(--rr-gold);letter-spacing:.24em;margin-top:6px;text-transform:uppercase;white-space:nowrap}.site-nav{display:flex;align-items:center;gap:clamp(12px,1.8vw,24px)}.site-nav a{font-size:10px;letter-spacing:.115em;text-transform:uppercase;font-weight:700;color:var(--rr-navy);white-space:nowrap}.site-nav a:hover,.text-link:hover{color:var(--rr-gold)}.site-nav a.nav-action{border:1px solid var(--rr-gold);padding:11px 14px;color:var(--rr-navy)}.mobile-shortcuts{display:none}
.hero-compact{background:var(--rr-navy);color:var(--rr-ivory)}.hero-inner{display:grid;grid-template-columns:1fr 225px;align-items:center;gap:10px;min-height:216px;padding-block:24px}.hero-compact .eyebrow{color:#f4c778}.hero-compact h1{font-size:clamp(37px,4vw,60px);line-height:1.02;letter-spacing:-.033em;margin:9px 0 11px}.hero-compact h1 em{color:#f1c67e;font-weight:400}.hero-compact p{color:#e2e8f2;line-height:1.52;max-width:540px;font-size:12px}.hero-actions{display:flex;gap:9px;align-items:center;margin-top:14px;flex-wrap:wrap}.btn{display:inline-flex;justify-content:center;align-items:center;text-align:center;gap:8px;padding:11px 15px;border:1px solid transparent;text-transform:uppercase;letter-spacing:.095em;font-size:10px;font-weight:bold;min-height:39px}.btn-gold{background:#e2b967;color:#0a2448}.btn-outline{background:transparent;color:white;border-color:#b7bfc9}.btn-navy{background:var(--rr-navy);color:#fff}.btn:hover{filter:brightness(1.06)}.hero-seal{justify-self:end;border:1px solid rgba(255,255,255,.26);height:174px;width:174px;border-radius:50%;display:grid;place-items:center}.hero-seal img{width:145px;height:145px;object-fit:contain;filter:brightness(0) invert(1);opacity:.78}
.feature-row{display:grid;grid-template-columns:1.25fr 1fr;gap:13px;padding-top:16px}.feature-card{border:1px solid var(--rr-line);background:#fff;min-height:152px;padding:18px 20px;position:relative;display:flex;flex-direction:column;justify-content:space-between}.feature-card.flagship{background:#f3f0e8;border-top:3px solid var(--rr-gold)}.feature-card h2{font-size:clamp(22px,2.2vw,31px);margin:7px 0}.feature-card .summary{font-size:12px;color:var(--rr-muted);line-height:1.45;max-width:530px}.text-link{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--rr-navy);font-weight:700;margin-top:11px}.saddle-row{display:flex;align-items:center;gap:4px;margin-top:9px;flex-wrap:wrap}.saddle-row img{width:23px;height:23px;object-fit:contain}.saddle-note{font-size:9px;color:var(--rr-muted);margin-left:7px}.pub-head{display:flex;justify-content:space-between;align-items:center;padding-top:14px;padding-bottom:7px;gap:8px}.pub-head .eyebrow{font-size:9px}.pub-head .text-link{margin:0}.pub-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding-bottom:20px}.pub-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border:1px solid var(--rr-line);background:#fff;font:17px var(--heritage-serif);color:var(--rr-navy)}.pub-links a small{font:10px var(--heritage-sans);color:var(--rr-gold)}.pub-links a:hover{border-color:var(--rr-gold)}
.site-footer{background:var(--rr-deep);color:#e9ecf2}.footer-inner{min-height:55px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:12px}.footer-brand{font:18px var(--heritage-serif);letter-spacing:.12em}.footer-nav{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;color:#d9e1ed}.footer-meta{font-size:10px;color:#d6dfee;opacity:.84}
.page-intro{padding-block:28px 16px;border-bottom:1px solid var(--rr-line)}.page-intro h1{font-size:clamp(37px,5vw,58px);letter-spacing:-.025em;line-height:1.08;margin:6px 0 9px;color:var(--rr-navy)}.page-intro p{color:var(--rr-muted);line-height:1.55;font-size:13px;max-width:850px}.category-tabs{display:flex;gap:7px;flex-wrap:wrap;padding-top:13px}.category-tabs button{border:1px solid var(--rr-line);background:#fff;padding:9px 12px;font-size:11px;color:var(--rr-navy);cursor:pointer}.category-tabs button[aria-selected=true]{background:var(--rr-navy);color:white;border-color:var(--rr-navy)}
.store-banner{border:1px solid #d5bd88;background:#fff9e8;padding:12px 15px;font-size:12px;line-height:1.5;color:#644720;margin-top:15px}.empty{padding:24px;background:#fff;border:1px dashed var(--rr-line);color:var(--rr-muted);grid-column:1/-1;line-height:1.5}.status-note{font-size:12px;color:var(--rr-muted);padding-top:8px}
.journal-lead{display:grid;grid-template-columns:1.4fr 1fr;gap:15px;margin-top:18px;margin-bottom:26px}.journal-panel{background:#fff;border:1px solid var(--rr-line);padding:22px}.journal-panel h2{font-size:27px;color:var(--rr-navy);margin:10px 0}.journal-panel p{font-size:13px;color:var(--rr-muted);line-height:1.65}.journal-illustration{background:var(--rr-navy);color:var(--rr-ivory);padding:20px;display:flex;flex-direction:column;justify-content:space-between;min-height:185px}.journal-illustration h2{font:37px var(--heritage-serif);margin:0;line-height:1.02;color:var(--rr-ivory)}.journal-illustration small{font-size:10px;letter-spacing:.12em;color:#f0ce8d}.journal-chips{display:flex;gap:5px}.journal-chips img{width:30px;height:30px}
.legal-wrap{max-width:900px;margin:0 auto;padding:24px 18px 55px}.legal-wrap h1{font-size:45px;color:var(--rr-navy);margin:10px 0}.legal-wrap h2{font-size:23px;color:var(--rr-navy);margin-top:22px}.legal-wrap p,.legal-wrap li{font-size:13px;line-height:1.75;color:#435064}.legal-wrap p+p{margin-top:11px}.legal-alert{padding:12px 15px;background:#fff9e8;border:1px solid #d3b675;color:#624820;font-size:12px;line-height:1.5}.legal-wrap a{text-decoration:underline}.legal-wrap ul{padding-left:21px}
@media(max-width:780px){.header-inner{height:64px}.brand img{width:43px;height:43px}.brand-word{font-size:21px}.site-nav{gap:10px}.site-nav a{font-size:9px}.site-nav a:nth-child(3){display:none}.hero-inner{grid-template-columns:1fr 132px;min-height:205px}.hero-seal{height:120px;width:120px}.hero-seal img{width:106px;height:106px}.feature-card{padding:16px}}
@media(max-width:560px){.micro-strip{font-size:8px;padding:6px}.header-inner{height:63px}.shell{padding-inline:14px}.brand{gap:7px}.brand img{height:42px;width:42px}.brand-word{font-size:19px}.brand-sub{font-size:7px}.site-nav{display:none}.mobile-shortcuts{display:flex;gap:6px}.mobile-shortcuts a{border:1px solid #cfc3ab;padding:9px 10px;font-size:10px;color:var(--rr-navy);font-weight:700}.hero-inner{min-height:0;padding-block:17px;display:block}.hero-seal{display:none}.hero-compact h1{font-size:clamp(33px,9.4vw,45px);margin:6px 0 8px}.hero-compact p{font-size:11px;line-height:1.35;max-width:365px}.hero-actions{margin-top:12px;gap:7px}.hero-actions .btn{padding:9px 11px;min-height:36px;font-size:9px}.feature-row{grid-template-columns:1fr;gap:8px;padding-top:10px}.feature-card{min-height:0;padding:12px 14px}.feature-card h2{font-size:24px;margin:4px 0}.feature-card .summary{font-size:11px;line-height:1.38}.text-link{font-size:9px;margin-top:8px}.saddle-row{margin-top:5px;gap:1px}.saddle-row img{width:20px;height:20px}.saddle-note{font-size:8px;margin-left:4px}.pub-head{padding-top:10px;padding-bottom:7px}.pub-links{grid-template-columns:1fr;gap:5px;padding-bottom:11px}.pub-links a{padding:9px 11px;font-size:16px;min-height:39px}.footer-inner{min-height:0;padding-block:10px;flex-wrap:wrap}.footer-brand{font-size:16px}.footer-meta{font-size:9px}.footer-nav{gap:9px;font-size:9px}.page-intro{padding-block:19px 12px}.page-intro h1{font-size:37px}.journal-lead{grid-template-columns:1fr}.journal-illustration{min-height:155px}.journal-illustration h2{font-size:30px}}
@media(max-width:390px){.brand-word{font-size:17px}.brand-sub{font-size:6px}.mobile-shortcuts a{padding:8px;font-size:9px}.hero-compact h1{font-size:36px}.saddle-note{max-width:100px}.pub-links a{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

.store-card[hidden],.empty[hidden]{display:none!important}

:root{--heritage-navy:#061d2d;--heritage-blue:#0b273c;--heritage-gold:#d4a759;--heritage-cream:#fff1d4;--heritage-ink:#152c37}
html,body{max-width:100%;overflow-x:clip}.heritage-home{background:#e9dcc3;color:var(--heritage-ink);font-family:var(--heritage-sans);font-size:14px}.heritage-home h1,.heritage-home h2,.heritage-home h3{font-family:var(--heritage-serif)}.heritage-shell{width:min(100%,1940px);padding-inline:clamp(22px,3.2vw,64px);margin-inline:auto}
.heritage-hero{position:relative;min-height:clamp(450px,31vw,630px);color:white;background:#172735 url('/assets/approved/home/hero-dust-charged-finish.jpg') center 36%/cover no-repeat;isolation:isolate;overflow:hidden}




.heritage-lead{position:relative;z-index:2;padding-top:clamp(40px,5vw,87px);padding-bottom:clamp(42px,5vw,88px);max-width:1940px}.heritage-kicker{color:#dfae60;font:600 clamp(10px,.77vw,15px) var(--heritage-serif);letter-spacing:.22em;text-transform:uppercase}.heritage-lead h1{font:500 clamp(56px,5.6vw,115px)/.85 var(--heritage-serif);letter-spacing:-.035em;max-width:1000px;margin:25px 0 25px;text-shadow:0 6px 18px #000000b0}.heritage-lead h1 em,body.heritage-home.heritage-store-page .heritage-inner-heading h1 em{font-style:italic;color:#e9bb6d;font-weight:500}.heritage-gold-rule{display:block;height:2px;width:86px;background:#e5b562;box-shadow:0 0 6px #e5b56283}.heritage-lead p{max-width:675px;line-height:1.65;font:500 clamp(12px,.98vw,18px)/1.65 var(--heritage-sans);letter-spacing:.01em;color:#f9eede;margin-top:18px;text-shadow:0 2px 9px #000c}
.heritage-body{padding-bottom:clamp(32px,4vw,66px);background:linear-gradient(180deg,rgba(242,224,183,.4),transparent 130px),url('/assets/approved/textures/parchment.jpg') center top/720px auto repeat;position:relative}.heritage-body:before{content:'';position:absolute;top:0;left:0;right:0;height:10px;background:linear-gradient(180deg,#a66e32,rgba(245,220,165,.7),transparent);pointer-events:none}.heritage-feature-grid{padding-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.heritage-panel{position:relative;min-height:clamp(220px,16vw,314px);border:1px solid rgba(228,180,90,.85);border-radius:9px;overflow:hidden;background:#12202a;color:white;box-shadow:inset 0 1px 0 #f8d59d70,0 8px 22px #2f211a30;display:block;isolation:isolate;transition:transform .22s,box-shadow .22s}.heritage-panel:hover{transform:translateY(-3px);box-shadow:0 13px 32px #2f211a40}.heritage-panel:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(2,13,22,.98) 0%,rgba(3,19,29,.91) 39%,rgba(4,18,26,.48) 69%,rgba(1,13,21,.04) 100%)}.heritage-panel:after{content:'';position:absolute;inset:0;border:2px solid #ffffed14;pointer-events:none;border-radius:inherit}.race-panel{background:#182531 url('/assets/heritage-v1/card-races.jpg') center center/cover}.journal-panel-heritage{background:#182531 url('/assets/heritage-v1/card-journal.jpg') center center/cover}.heritage-panel-content{padding:clamp(22px,2.3vw,43px);height:100%;max-width:74%;display:flex;flex-direction:column;align-items:flex-start}.heritage-eyebrow{font:600 clamp(10px,.8vw,14px) var(--heritage-serif);color:#e2b568;text-transform:uppercase;letter-spacing:.19em}.heritage-panel h2{font:500 clamp(35px,3.2vw,62px)/.92 var(--heritage-serif);margin:13px 0 16px;white-space:normal;text-shadow:0 3px 8px #0009}.heritage-panel p{font:500 clamp(11px,.83vw,16px)/1.55 var(--heritage-sans);color:#f6e9d4}.heritage-panel-arrow{margin-top:auto;padding-top:15px;font:24px var(--heritage-serif);color:#ecc16e}
.heritage-more{padding-top:28px}.heritage-section-title{display:flex;align-items:center;gap:21px;margin:0 0 16px}.heritage-section-title h2{font:700 clamp(13px,1.2vw,20px) var(--heritage-serif);letter-spacing:.13em;text-transform:uppercase;white-space:nowrap;margin:0}.heritage-section-title .line{height:1px;background:#b88d4d;flex:1;opacity:.7}.heritage-section-title>a{font:800 clamp(9px,.7vw,12px) var(--heritage-sans);letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}.heritage-section-title>a:hover{color:#9f702a}
.heritage-badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.heritage-badge{display:flex;align-items:center;gap:15px;min-height:100px;padding:15px 20px;border-radius:9px;border:1px solid #ad8651;box-shadow:inset 0 0 0 1px #ffffed22,0 5px 20px #2f211a3f;position:relative;isolation:isolate;overflow:hidden;color:white;transition:transform .22s,box-shadow .22s;background:#071d2b}.heritage-badge:hover{transform:translateY(-3px);box-shadow:0 10px 24px #2f211a59}.heritage-badge:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,17,27,.93),rgba(6,20,30,.78) 56%,rgba(8,25,34,.3));z-index:-1}.badge-longshot{background:#091e2d url('/assets/heritage-v1/badge-longshot.jpg') center/cover}.badge-stable{background:#091e2d url('/assets/heritage-v1/badge-stable.jpg') center/cover}.badge-target{background:#091e2d url('/assets/heritage-v1/badge-target.jpg') center/cover}.badge-emblem{flex:none;display:grid;place-items:center;width:57px;height:57px;background:linear-gradient(130deg,#f6d98a,#c99242);border:3px double #765020;border-radius:50%;font:28px var(--heritage-serif);color:#0b2a3c;box-shadow:0 1px 10px #0009,inset 0 2px 5px #fff6b7}.badge-text{display:flex;flex-direction:column;gap:5px;min-width:0}.badge-text strong{font:500 clamp(22px,2vw,37px)/1 var(--heritage-serif);white-space:nowrap}.badge-text small{font:700 clamp(8px,.59vw,11px)/1.6 var(--heritage-sans);letter-spacing:.08em;text-transform:uppercase;color:#e5b76b}.badge-arrow{margin-left:auto;color:#ecb85c;font:27px var(--heritage-serif)}
.heritage-footer{background:var(--heritage-navy);border-top:2px solid #c3985a;color:#f0e8d6}.heritage-footer-inner{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:15px;min-height:77px}.heritage-footmark{font:500 24px var(--heritage-serif);letter-spacing:.12em}.heritage-footer nav{display:flex;flex-wrap:wrap;gap:18px}.heritage-footer nav a,.heritage-footer small{font:600 10px var(--heritage-sans);color:#e3d7bb}.heritage-footer nav a:hover{color:#f2c775}
@media(max-width:1250px){.heritage-lead h1{font-size:clamp(59px,6vw,95px)}.heritage-panel-content{max-width:82%}}
@media(max-width:750px){.heritage-shell{padding-inline:20px}.heritage-hero{min-height:0;background-position:58% center}.heritage-lead{padding-top:110px;padding-bottom:44px}.heritage-kicker{font-size:11px;max-width:310px;line-height:1.7}.heritage-lead h1{font-size:clamp(50px,11.6vw,75px);line-height:.91;max-width:430px;margin:20px 0}.heritage-lead p{font-size:12px;line-height:1.7;max-width:365px}.wide-only{display:none}.heritage-feature-grid{grid-template-columns:1fr;padding-top:14px;gap:12px}.heritage-panel{min-height:245px}.heritage-panel-content{max-width:85%;padding:23px}.heritage-panel h2{font-size:45px}.heritage-panel p{font-size:12px}.heritage-section-title{gap:12px;flex-wrap:wrap}.heritage-section-title .line{display:none}.heritage-section-title h2{font-size:17px}.heritage-section-title a{margin-left:auto;font-size:9px}.heritage-badges{grid-template-columns:1fr;gap:10px}.heritage-badge{min-height:92px}.badge-text strong{font-size:32px}.badge-text small{font-size:9px}.heritage-footer-inner{padding-block:24px;gap:18px}.heritage-footer nav{gap:12px}}
@media(max-width:390px){.heritage-shell{padding-inline:14px}.heritage-lead h1{font-size:49px}.heritage-section-title h2{font-size:15px}.heritage-section-title a{font-size:8px}}
@media(prefers-reduced-motion:reduce){.heritage-badge,.heritage-panel{transition:none}}

/* V3 — exact user-supplied transparent ivory logo; trimmed only around transparent canvas. */








/* Rail & Rye heritage social seals — small embossed antique-gold badges. */
.rr-social-badges{display:inline-flex;align-items:center;gap:9px;vertical-align:middle}
.heritage-footer .rr-social-badge,.site-footer .rr-social-badge{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;min-width:34px;padding:0;border:1px solid #e8c780;border-radius:50%;background:linear-gradient(150deg,#f3d999 0%,#c69a4e 50%,#987039 100%);color:#102637;box-shadow:inset 0 1px 1px #fff7c0c7,inset 0 -2px 3px #63451a60,0 3px 9px #0005;transition:transform .2s,filter .2s,box-shadow .2s}
.rr-social-badge svg{display:block;width:17px;height:17px}
.heritage-footer .rr-social-badge:hover,.site-footer .rr-social-badge:hover{color:#102637;filter:brightness(1.13);transform:translateY(-2px);box-shadow:inset 0 1px 1px #fff8d4,0 5px 13px #0007}
.rr-social-badge:focus-visible{outline:2px solid #f6eeda;outline-offset:3px}
@media(max-width:750px){.rr-social-badges{gap:8px}.heritage-footer .rr-social-badge,.site-footer .rr-social-badge{width:36px;height:36px;flex-basis:36px}}
@media(prefers-reduced-motion:reduce){.rr-social-badge{transition:none!important}}

/* Rail & Rye V6: unified one-line header, with owner's vintage Sovereignty artwork. */








/* Publications is a quiet text link, not a third outlined button. */



/* V8: Rail & Rye antique-gold social emblem badges; used by homepage, store and Journal footers. */
.rr-social-links{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;white-space:nowrap}
.rr-social-links .rr-social-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;padding:7px!important;border:1px solid #e4c78c!important;border-radius:50%;background:linear-gradient(145deg,#efd9a4 0%,#c89c50 48%,#987138 100%);color:#091f2e!important;box-shadow:inset 0 1px 1px #fff4d8c4,0 2px 8px #0006;transition:transform .2s,box-shadow .2s}
.rr-social-links .rr-social-icon svg{display:block;width:17px;height:17px;flex:0 0 17px}
.rr-social-links .rr-social-icon:hover{transform:translateY(-2px);box-shadow:inset 0 1px 1px #fff4d8c4,0 5px 12px #0008;color:#081b27!important}
.rr-social-links .rr-social-icon:focus-visible{outline:3px solid #f1cf84;outline-offset:3px}
@media(max-width:750px){.rr-social-links{gap:7px}.rr-social-links .rr-social-icon{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.rr-social-links .rr-social-icon{transition:none}}

/* Rail & Rye canonical saddlecloth rendering.
   Always use the original program-chip PNG numeral artwork; never redraw the number in CSS.
   The solid ivory plate prevents alpha in the source PNG from washing out over photography. */
.rr-chip-solid{
  background:#fff!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  isolation:isolate;
}
.rr-chip-solid img,
.rr-original-saddle-chip,
.journal-chips img,
img[src^="/assets/approved/saddlecloths/"]{
  opacity:1!important;
  mix-blend-mode:normal!important;
  filter:none!important;
}
.rr-chip-solid img{background:#fff!important}
.rr-original-saddle-chip,
.journal-chips img{
  background:#fff!important;
  border-radius:6px;
}

/* Canonical production shell */
body.rr-shell-page{margin:0;background:#efe5d1 url('/assets/approved/textures/parchment.jpg') center top/720px auto repeat;color:var(--heritage-ink);font-family:var(--heritage-sans)}


.rr-shell-page .heritage-footer{margin-top:auto}
.rr-shell-page .heritage-footer-inner>.rr-social-links{margin-left:auto}

/* Production saddlecloth contract: original supplied numerals only, fully opaque in UI. */
img[src^="/assets/approved/saddlecloths/"]{opacity:1!important;mix-blend-mode:normal!important;filter:none!important}
.rr-chip-solid{background:#fff!important;opacity:1!important}
.rr-chip-solid img{background:#fff!important;opacity:1!important}
body.heritage-home.rr-shell-page .micro-strip{display:none}
@media(min-width:1121px) and (max-width:1470px){
}
@media(min-width:751px) and (max-width:1120px){
}
@media(max-width:750px){
}
@media(max-width:390px){
}

/* Shared masthead and hero treatment: one source for every public page. */
:root{--rr-header-height:112px}
.heritage-header{
 position:relative;z-index:20;background:transparent!important;
 -webkit-backdrop-filter:none!important;backdrop-filter:none!important
}
.heritage-header-inner{
 position:relative;z-index:20;box-sizing:border-box;
 display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 grid-template-rows:1fr;align-items:center;gap:clamp(10px,1.2vw,22px);
 height:var(--rr-header-height);min-height:var(--rr-header-height);
 padding:8px clamp(18px,3.2vw,60px);
 border-bottom:1px solid rgba(227,185,112,.42)
}
.heritage-brand{
 position:relative;z-index:21;display:inline-flex;align-items:center;
 gap:clamp(8px,.7vw,12px);min-width:0;white-space:nowrap
}
.heritage-brand-mark{
 display:flex;align-items:center;justify-content:center;flex:0 0 auto;
 width:76px;height:76px;border:0;border-radius:0;background:transparent;box-shadow:none
}
.heritage-brand-mark img{
 display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 4px #0009)
}
.heritage-wordmark{
 color:#fff6e8;font:500 clamp(26px,2.1vw,38px)/1 var(--heritage-serif);
 letter-spacing:.045em;text-shadow:0 2px 6px #061520a3
}
.heritage-strap{
 position:relative;z-index:21;grid-column:2;grid-row:1;
 justify-self:center;display:flex;align-items:center;justify-content:center;
 gap:8px;min-width:0;max-width:100%;color:#f6eeda;
 font:600 clamp(12px,1.05vw,18px)/1.12 var(--heritage-serif);
 letter-spacing:.04em;text-transform:uppercase;text-align:center;white-space:nowrap
}
.heritage-strap .heritage-horse-mini{
 display:block;width:38px;height:44px;flex:0 0 38px;object-fit:contain;
 opacity:1;filter:drop-shadow(0 2px 4px #0009)
}
.heritage-nav{
 position:relative;z-index:22;grid-column:3;grid-row:1;justify-self:end;
 display:flex;align-items:center;justify-content:flex-end;
 gap:clamp(7px,.8vw,14px);margin:0
}
.heritage-nav a{
 display:inline-flex;align-items:center;justify-content:center;text-align:center;
 white-space:nowrap;color:#fef7e9;font:700 clamp(9px,.65vw,12px)/1.1 var(--heritage-sans);
 letter-spacing:.12em;text-transform:uppercase;text-shadow:0 2px 9px #0716228c
}
.heritage-nav .heritage-nav-pill{
 min-height:42px;padding:9px clamp(10px,.82vw,16px);
 border:1px solid rgba(226,176,89,.92);border-radius:999px;
 background:linear-gradient(140deg,rgba(5,22,34,.7),rgba(10,28,35,.32));
 box-shadow:inset 0 1px 0 #fff2c81c,0 4px 14px #0005;
 -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
 transition:background .2s,color .2s
}
.heritage-nav .heritage-nav-pill:hover,
.heritage-nav .heritage-nav-pill[aria-current=page]{
 background:linear-gradient(150deg,#a77b403c,#092432b0);color:#ffe0a2
}
/* Four aligned header pills without disturbing the central brand strapline. */
@media(min-width:1121px) and (max-width:1450px){
 .heritage-nav{gap:5px}
 .heritage-nav a{font-size:9px;letter-spacing:.055em}
 .heritage-nav .heritage-nav-pill{padding:9px 8px;min-height:40px}
}
.heritage-mobile-nav{display:none}
.heritage-mobile-nav summary{
 cursor:pointer;list-style:none;border:1px solid #e0b572;color:#f6ebd8;border-radius:99px;
 padding:11px 14px;background:rgba(5,20,31,.28);
 font:700 11px var(--heritage-sans);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap
}
.heritage-mobile-nav summary::-webkit-details-marker{display:none}
.heritage-mobile-nav summary span{margin-left:7px}
.heritage-mobile-nav nav{
 position:absolute;right:0;top:calc(100% + 8px);min-width:220px;
 display:flex;flex-direction:column;gap:4px;padding:10px;
 background:rgba(7,30,48,.96);border:1px solid #cba56a;
 box-shadow:0 9px 28px #000a;border-radius:8px;
 -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)
}
.heritage-mobile-nav nav a{
 display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 11px;
 border:1px solid #c79a5b80;border-radius:99px;background:#18313b;color:#fff;
 font:700 11px var(--heritage-sans);letter-spacing:.06em;text-transform:uppercase
}
.heritage-mobile-nav nav a:focus,.heritage-mobile-nav nav a:hover{background:#244656}
.heritage-hero:before,.heritage-inner-hero:before,.rr-racecards-hero:before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:
  linear-gradient(90deg,rgba(2,17,28,.96) 0%,rgba(3,18,29,.86) 30%,rgba(3,20,30,.62) 56%,rgba(4,20,29,.18) 100%),
  linear-gradient(180deg,rgba(4,16,26,.18) 0%,transparent 48%,rgba(5,18,28,.38) 100%)
}
@media(min-width:751px) and (max-width:1120px){
 .heritage-header-inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
 .heritage-brand-mark{width:60px;height:60px}
 .heritage-wordmark{font-size:27px}
 .heritage-strap{font-size:clamp(11px,1.2vw,14px);gap:5px}
 .heritage-strap .heritage-horse-mini{width:32px;height:36px;flex-basis:32px}
 .heritage-nav{display:none}
 .heritage-mobile-nav{grid-column:3;grid-row:1;justify-self:end;display:block;position:relative;z-index:22}
}
@media(max-width:750px){
 .heritage-header-inner{
  grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;
  row-gap:5px;column-gap:10px;padding:6px 14px 7px
 }
 .heritage-brand{grid-column:1;grid-row:1;max-width:100%}
 .heritage-brand-mark{width:52px;height:52px}
 .heritage-wordmark{font-size:clamp(21px,5.6vw,29px)}
 .heritage-nav{display:none}
 .heritage-mobile-nav{grid-column:2;grid-row:1;justify-self:end;display:block;position:relative;z-index:22}
 .heritage-mobile-nav summary{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 11px}
 .heritage-mobile-nav nav{top:calc(100% + 7px);min-width:220px}
 .heritage-strap{
  grid-column:1/-1;grid-row:2;justify-self:center;gap:5px;width:auto;max-width:100%;
  overflow:visible;font-size:9px;line-height:1.15;letter-spacing:.035em;white-space:nowrap
 }
 .heritage-strap .heritage-horse-mini{width:28px;height:26px;flex:0 0 28px}
}
@media(max-width:390px){
 .heritage-brand-mark{width:46px;height:46px}
 .heritage-wordmark{font-size:18px}
 .heritage-strap{font-size:8px;letter-spacing:.02em}
}


/* Shared masthead: balanced side tracks, centered strap, right-anchored pills, stable route gutter. */
