*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'DM Sans',sans-serif;background:#ffffff;color:#2d2d2d;line-height:1.65;overflow-x:hidden}

:root {
  --ink:#2d2d2d;
  --surface:#ffffff;
  --green:#0d4f3d;
  --blush:#ed8f90;
  --sage:#97c693;
  --sage-tint:#f0f7ef;
  --mid:#5a5a5a;
  --primary: #0d4f3d;
  --secondary: #ed8f90;
  --accent: #97c693;

  --primary-dark: #0a3f31;
  --primary-light: #3d7264;
  --primary-on-bg: #0d4f3d;
  --secondary-dark: #be7273;
  --secondary-light: #f1a5a6;
  --accent-dark: #799e76;
  --accent-light: #acd1a9;
  --accent-on-bg: #5b7758;
  --text: #2d2d2d;
  --background: #ffffff;
  --text-on-accent: #0a0a0a;}

h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;font-weight:600;line-height:1.15;color:var(--ink)}
.eyebrow{font-family:'DM Sans',sans-serif;font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--sage)}
.lead{font-size:1.1rem;line-height:1.75;color:var(--mid)}

.btn-primary{display:inline-block;background:var(--green);color:#ffffff;font-family:'DM Sans',sans-serif;font-size:.9rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.85rem 2.2rem;border:2px solid var(--green);text-decoration:none;transition:background .25s,color .25s,border-color .25s;cursor:pointer}
.btn-primary:hover{background:var(--sage);border-color:var(--sage);color:#fff}
.btn-outline{display:inline-block;background:transparent;color:var(--green);font-family:'DM Sans',sans-serif;font-size:.9rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.85rem 2.2rem;border:2px solid var(--green);text-decoration:none;transition:background .25s,color .25s;cursor:pointer}
.btn-outline:hover{background:var(--green);color:#fff}
.btn-light{display:inline-block;background:transparent;color:#fff;font-family:'DM Sans',sans-serif;font-size:.9rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.85rem 2.2rem;border:2px solid rgba(255,255,255,.7);text-decoration:none;transition:background .25s,color .25s;cursor:pointer}
.btn-light:hover{background:#fff;color:var(--green)}

.container{max-width:1160px;margin-inline:auto;padding-inline:2rem}
.container-wide{max-width:1300px;margin-inline:auto;padding-inline:2rem}
.sage-rule{width:48px;height:3px;background:var(--sage);display:block;margin-bottom:1.6rem}

@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.anim-fade-up{animation:fadeUp .8s ease both}
.anim-fade-up-2{animation:fadeUp .8s .15s ease both}
.anim-fade-up-3{animation:fadeUp .8s .3s ease both}
.anim-fade-in{animation:fadeIn 1s ease both}
nav ul{list-style:none;display:flex;gap:2rem;align-items:center}
.nav-hamburger span{display:block;width:24px;height:2px;background:var(--ink)}

/* ── HERO ── */
#hero{position:relative;height:88vh;min-height:560px;max-height:860px;overflow:hidden;display:flex;align-items:flex-end}
.hero-bg{position:absolute;inset:0;width:100%;height:100%}
.hero-bg svg{width:100%;height:100%;display:block}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(13,79,61,.75) 0%,rgba(13,79,61,.2) 55%,transparent 100%)}
.hero-content{position:relative;z-index:2;padding:0 4rem 4.5rem;max-width:860px}
.hero-eyebrow{font-family:'DM Sans',sans-serif;font-size:.72rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--sage);margin-bottom:1rem}
.hero-rule{width:60px;height:2px;background:var(--blush);display:block;margin-bottom:1.4rem}
.hero-headline{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(2.8rem,7vw,6.5rem);font-weight:500;line-height:1.04;color:#fff;margin-bottom:1.4rem}
.hero-sub{font-family:'DM Sans',sans-serif;font-size:.98rem;color:rgba(255, 255, 255, 0.92);max-width:480px;line-height:1.7;margin-bottom:2rem}
.hero-bottom-scallop{position:absolute;bottom:0;left:0;right:0;z-index:4;line-height:0}

/* ── SECTION 2: INTRO SPLIT ── */
#collection-intro{background:#fff;padding:7rem 0}
.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;min-height:520px}
.split-media{position:relative;overflow:hidden}
.split-media svg{width:100%;height:100%;display:block}
.split-body{padding:5rem;display:flex;flex-direction:column;justify-content:center}
.split-body .eyebrow{margin-bottom:1rem}
.split-body h2{font-size:clamp(2rem,3.2vw,2.8rem);margin-bottom:1.2rem;color:var(--green)}
.split-body p{font-size:1rem;line-height:1.8;color:var(--mid);margin-bottom:1.6rem}

/* ── SCALLOP DIVIDERS ── */
.scallop-divider{display:block;width:100%;overflow:hidden;line-height:0}
.scallop-divider svg{display:block;width:100%}
.scallop-to-sage{background:#fff;line-height:0}
.scallop-to-sage svg{display:block;width:100%}
.scallop-from-sage{background:var(--sage-tint);line-height:0}
.scallop-from-sage svg{display:block;width:100%}
.scallop-to-green{background:var(--sage-tint);line-height:0}
.scallop-to-green svg{display:block;width:100%}
.scallop-from-green{background:var(--green);line-height:0}
.scallop-from-green svg{display:block;width:100%}

/* ── SECTION 3: INCLUSIVITY EDITORIAL ── */
#fit-inclusivity{background:var(--sage-tint);padding:7rem 0}
.editorial-inner{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.editorial-body .eyebrow{margin-bottom:1rem}
.editorial-body h2{font-size:clamp(2rem,3.2vw,2.8rem);color:var(--green);margin-bottom:1.2rem}
.editorial-body p{color:var(--mid);line-height:1.8;margin-bottom:1.6rem;font-size:1rem}
.editorial-media{overflow:hidden;height:520px}
.editorial-media svg{width:100%;height:100%;display:block}

/* ── SECTION 4: LACE DETAIL GRID ── */
#lace-detail{background:#fff;padding:7rem 0 5rem}
.lace-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.lace-tile{overflow:hidden;height:380px;position:relative}
.lace-tile svg{width:100%;height:100%;display:block;transition:transform .5s ease}
.lace-tile:hover svg{transform:scale(1.04)}

/* ── SECTION 5: APPOINTMENT SPLIT ── */
#appointment{background:var(--sage-tint);padding:7rem 0}
.appt-split{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;min-height:520px}
.appt-media{overflow:hidden;position:relative}
.appt-media svg{width:100%;height:100%;display:block}
.appt-body{padding:5rem;display:flex;flex-direction:column;justify-content:center;background:var(--sage-tint)}
.appt-body .eyebrow{margin-bottom:1rem}
.appt-body h2{font-size:clamp(2rem,3.2vw,2.8rem);color:var(--green);margin-bottom:1.2rem}
.appt-body p{color:var(--mid);line-height:1.8;font-size:1rem;margin-bottom:1.6rem}

/* ── SECTION 6: TRUST/AWARDS BANDED ── */
#trust-awards{background:var(--green);padding:5.5rem 0}
.awards-inner{display:flex;align-items:center;justify-content:center;gap:4rem;flex-wrap:wrap;text-align:center}
.award-item{display:flex;flex-direction:column;align-items:center;gap:1rem}
.award-icon-wrap{width:80px;height:80px;border:2px solid var(--sage);display:flex;align-items:center;justify-content:center}
.award-item h3{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:#fff}
.award-item p{font-size:.83rem;color:rgba(255, 255, 255, 0.92);max-width:220px;line-height:1.6}
.awards-divider{width:1px;height:80px;background:rgba(255,255,255,.2)}
.awards-trust-para{font-family:'Cormorant Garamond',serif;font-size:1.05rem;font-style:italic;color:rgba(255, 255, 255, 0.92);text-align:center;max-width:700px;margin:2.5rem auto 0;line-height:1.6}

/* ── SECTION 7: SCALE STAT FULL-BLEED ── */
#scale-stat{position:relative;min-height:440px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.scale-bg{position:absolute;inset:0;width:100%;height:100%}
.scale-bg svg{width:100%;height:100%;display:block}
.scale-overlay{position:absolute;inset:0;background:rgba(13,79,61,.62)}
.scale-content{position:relative;z-index:2;text-align:center;padding:5rem 2rem}
.scale-content .eyebrow{color:var(--sage);margin-bottom:1.2rem;display:block}
.scale-content p{font-family:'Cormorant Garamond',serif;font-size:clamp(1.6rem,3.5vw,2.8rem);font-style:italic;color:#fff;max-width:700px;margin-inline:auto;line-height:1.4}

/* ── SECTION 8: ALSO EXPLORE GRID ── */
#also-explore{background:#fff;padding:7rem 0 5rem}
.explore-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.explore-tile{overflow:hidden;height:380px;position:relative}
.explore-tile svg{width:100%;height:100%;display:block;transition:transform .5s ease}
.explore-tile:hover svg{transform:scale(1.04)}
.explore-label{position:absolute;bottom:0;left:0;right:0;padding:.8rem 1.2rem;background:linear-gradient(to top,rgba(13,79,61,.7) 0%,transparent 100%)}
.explore-label span{font-family:'DM Sans',sans-serif;font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#fff}

/* ── SECTION 9: BOOKING CTA ── */
#booking-cta{background:var(--sage-tint);padding:0}
.booking-split{display:grid;grid-template-columns:1fr 1fr;min-height:600px}
.booking-media{overflow:hidden;position:relative}
.booking-media svg{width:100%;height:100%;display:block}
.booking-body{padding:5.5rem 5rem;display:flex;flex-direction:column;justify-content:center;background:var(--sage-tint)}
.booking-body .eyebrow{margin-bottom:1rem}
.booking-body h2{font-size:clamp(2rem,3vw,2.8rem);color:var(--green);margin-bottom:1rem}
.booking-body p{color:var(--mid);line-height:1.8;margin-bottom:2rem;font-size:1rem}
.booking-form{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.4rem}
.booking-form input,.booking-form textarea{width:100%;padding:.85rem 1rem;border:1.5px solid rgba(13,79,61,.25);background:#fff;font-family:'DM Sans',sans-serif;font-size:.92rem;color:var(--ink);outline:none;transition:border-color .2s}
.booking-form input:focus,.booking-form textarea:focus{border-color:var(--green)}
.booking-form textarea{resize:vertical;min-height:90px}
.booking-form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}

/* ── SECTION 10: FOOTER / CONTACT ── */
#contact-footer{background:var(--sage-tint);padding:7rem 0 4rem}
.contact-inner{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.contact-info .eyebrow{margin-bottom:1rem}
.contact-info h2{font-size:clamp(2rem,3vw,2.8rem);color:var(--green);margin-bottom:1.2rem}
.contact-info p{color:var(--mid);line-height:1.8;margin-bottom:1.4rem}
.contact-detail{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1rem}
.contact-detail-icon{width:36px;height:36px;min-width:36px;background:var(--green);display:flex;align-items:center;justify-content:center}
.contact-detail-icon svg{width:18px;height:18px;stroke:#fff;fill:none;display:block}
.contact-detail-text{font-size:.92rem;color:var(--mid);line-height:1.6}
.contact-detail-text strong{display:block;font-weight:600;color:var(--ink);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.2rem}
.contact-form-card{background:#fff;padding:2.5rem;border-top:3px solid var(--sage)}
.contact-form-card h3{font-family:'Cormorant Garamond',serif;font-size:1.7rem;color:var(--green);margin-bottom:1.2rem}
.cf-field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}
.cf-field label{font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.cf-field input,.cf-field textarea{padding:.8rem 1rem;border:1.5px solid rgba(13,79,61,.2);font-family:'DM Sans',sans-serif;font-size:.92rem;color:var(--ink);outline:none;background:#fff;transition:border-color .2s}
.cf-field input:focus,.cf-field textarea:focus{border-color:var(--green)}
.cf-field textarea{min-height:100px;resize:vertical}

/* ── FOOTER ── */
footer{background:var(--ink);color:rgba(255, 255, 255, 0.92);padding:4rem 0 2rem}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  nav ul{display:none}
  .nav-hamburger{display:flex}
  .split-grid,.editorial-inner,.appt-split,.booking-split,.contact-inner,.footer-grid{grid-template-columns:1fr}
  .split-media,.editorial-media,.appt-media,.booking-media{height:380px}
  .split-body,.appt-body,.booking-body{padding:3rem 2rem}
  .lace-grid,.explore-grid{grid-template-columns:1fr 1fr}
  .lace-tile,.explore-tile{height:280px}
  .hero-content{padding:0 2rem 3.5rem}
  .awards-divider{display:none}
  .footer-grid{grid-template-columns:1fr 1fr}
  .booking-form-row{grid-template-columns:1fr}
}
@media(max-width:620px){
  .lace-grid,.explore-grid{grid-template-columns:1fr}
  .lace-tile,.explore-tile{height:260px}
  .footer-grid{grid-template-columns:1fr}
  .awards-inner{gap:2rem}
  .contact-inner{gap:2.5rem}
}

/* sf-form-color-reset */
.contact-form-wrapper{color:var(--text,#111)}
.contact-form-wrapper input::placeholder,.contact-form-wrapper textarea::placeholder{color:var(--muted,#6b7280)}
.contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-wrapper textarea,
.contact-form-wrapper select{display:block!important;width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--input-border,#9ca3af);background:var(--input-bg,#fff);color:var(--text,#111)}
.contact-form-wrapper textarea{min-height:120px}

/* sf-form-input-box-floor */
.contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--input-border, #9ca3af);
  border-radius: 6px;
  background: var(--input-bg, #fff);
  color: var(--text, #111);
}
.contact-form-wrapper textarea { min-height: 120px; }
.panel-dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.panel-dark .contact-form-wrapper textarea,
.panel-dark .contact-form-wrapper select,
.section.dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.section.dark .contact-form-wrapper textarea,
.section.dark .contact-form-wrapper select,
.section-dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.section-dark .contact-form-wrapper textarea,
.section-dark .contact-form-wrapper select,
.dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dark .contact-form-wrapper textarea,
.dark .contact-form-wrapper select,
.bg-dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.bg-dark .contact-form-wrapper textarea,
.bg-dark .contact-form-wrapper select,
.bg-black .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.bg-black .contact-form-wrapper textarea,
.bg-black .contact-form-wrapper select,
[class*="panel-dark"] .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
[class*="panel-dark"] .contact-form-wrapper textarea,
[class*="panel-dark"] .contact-form-wrapper select {
  border-color: var(--input-border-on-dark, rgba(255,255,255,0.35));
  background: var(--input-bg-on-dark, rgba(255,255,255,0.06));
  color: var(--text-on-dark, #f0f0f0);
}

/* sf-form-select-placeholder */
.contact-form-wrapper select { color: var(--muted, #6b7280); }
.panel-dark .contact-form-wrapper select,
.section.dark .contact-form-wrapper select,
.section-dark .contact-form-wrapper select,
.dark .contact-form-wrapper select,
.bg-dark .contact-form-wrapper select,
.bg-black .contact-form-wrapper select,
[class*="panel-dark"] .contact-form-wrapper select { color: var(--muted-on-dark, rgba(255,255,255,0.55)); }
/*body-opacity-floor*/
/* sf:shell-css-sync — begin */
.container{max-width:1160px;margin-inline:auto;padding-inline:2rem}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:.9rem 2rem;max-width:1300px;margin-inline:auto}
nav ul{list-style:none;display:flex;gap:2.2rem;align-items:center}
nav ul li a{font-family:'DM Sans',sans-serif;font-size:.85rem;font-weight:500;color:var(--ink);text-decoration:none;letter-spacing:.04em;transition:color .2s}
nav ul li a:hover{color:var(--green)}
.nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:.3rem}
.nav-hamburger span{display:block;width:24px;height:2px;background:var(--ink);transition:background .2s}
@media(max-width:820px) {
nav ul{display:none}
.nav-hamburger{display:flex}
}
footer{background:var(--ink);color:rgba(255, 255, 255, 0.92);padding:4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer-brand p{font-size:.88rem;line-height:1.7;margin-top:1rem;color:rgba(255, 255, 255, 0.92)}
.footer-col h5{font-family:'DM Sans',sans-serif;font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--sage);margin-bottom:1.2rem}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:.6rem}
.footer-col ul li a{color:rgba(255, 255, 255, 0.92);text-decoration:none;font-size:.88rem;transition:color .2s}
.footer-col ul li a:hover{color:var(--sage)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.footer-bottom p{font-size:.8rem;color:rgba(255,255,255,.4)}
.footer-bottom a{color:rgba(255,255,255,.4);text-decoration:none;font-size:.8rem}
.footer-bottom a:hover{color:var(--sage)}
.footer-logo{height:32px;filter:brightness(0) invert(1);opacity:.7}
@media(max-width:960px) {
.split-grid,.pricing-inner,.incoming-inner,.booking-split,.contact-inner,.footer-grid{grid-template-columns:1fr}
.footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px) {
.footer-grid{grid-template-columns:1fr}
}
@media(max-width:1280px) {
.nav-brand-logo{height:52px;}
}
@media(max-width:768px) {
.nav-brand-logo{height:42px;}
}
@media(min-width:821px) {
header nav a,header .nav-links a{white-space:nowrap !important;flex-shrink:0}
}
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; -webkit-tap-highlight-color: transparent; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff !important; margin: 5px 0; border-radius: 2px; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45); transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
nav:has(> .hamburger), header:has(.hamburger), .site-header:has(.hamburger), .nav-inner:has(~ .hamburger) { position: relative; }
.hamburger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2147483647; position: absolute !important; right: 16px; top: 14px; transform: none; margin: 0 !important; }
nav .nav-links, nav ul.nav-links, nav ol.nav-links { display: none !important; }
.accent-bar, [class*="accent-bar"], nav .accent, header + .accent-bar { display: none !important; }
nav.nav-links > a:not(.nav-logo):not(.nav-cta),
  nav.nav-links > li,
  nav.nav-links > ul > li { display: none !important; }
nav .nav-links:has(.nav-logo-img),
  nav .nav-links:has([class*="logo"]),
  nav .nav-links:has(> a img) {
    display: flex !important; align-items: center !important;
    background: transparent !important; box-shadow: none !important;
    border: 0 !important; backdrop-filter: none !important;
  }
nav .nav-links:has(.nav-logo-img) > ul,
  nav .nav-links:has(.nav-logo-img) > ol,
  nav .nav-links:has([class*="logo"]) > ul,
  nav .nav-links:has(> a img) > ul { display: none !important; }
nav .nav-logo-img, nav [class*="logo"] img { display: block !important; max-height: 40px; width: auto; }
}
/* sf:shell-css-sync — end */

html,body{background:#ffffff !important;}:root{--sf-plan-surface:#ffffff;}

@media(max-width:1280px){.nav-brand-logo{height:52px;}}@media(max-width:768px){.nav-brand-logo{height:42px;}}

/* Hero font cap — keeps hero CTA + value prop above the fold. The Stage-1
   prompt instructs clamp(48px, 8vw, 120px); 8vw = ~115px at 1440px, producing
   an ~800px headline block that pushes the CTA below the fold. */
:where(h1) {
  font-size: clamp(32px, 4.4vw, 60px) !important;
  line-height: 1.07 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}

:where(body > section:first-of-type [class*="grid"],
       [class*="hero"] [class*="grid"]) {
  gap: clamp(20px, 2.4vw, 32px) !important;
}
/* #384 — same exclusion, same reason: this rule also sets PADDING off a class-substring match, so an
   image whose class happens to contain "action"/"cta" would grow the identical 8px band. Not observed
   in the wild yet; excluded because it is the same defect, and fixing only the site a first grep
   surfaced has already failed three times this mission (z-lifts 2-of-5, pseudo-domain 1-of-8). */
:where(body > section:first-of-type [class*="action"],
       body > section:first-of-type [class*="cta"],
       [class*="hero"] [class*="action"],
       [class*="hero"] [class*="cta"]):where(:not(img, video, picture, svg, canvas, iframe, object, embed)) {
  margin-top: 8px !important;
  padding-top: 8px !important;
}
:where(body > section:first-of-type [class*="copy"],
       [class*="hero"] [class*="copy"]) {
  padding-top: 0 !important;
}
/* #778 follow-up — tighten the hero lead/subhead so the primary CTA lifts above
   the fold even inside the preview wrapper (top promo bar + bottom device bar). */
:where(body > section:first-of-type [class*="lead"],
       [class*="hero"] [class*="lead"],
       [class*="hero-copy"] > p) {
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  margin-top: 10px !important;
  margin-bottom: 14px !important;
}
@media (min-width: 769px) {
  :where([class*="hero"], [class*="copy"]):has(> h1) {
    min-width: min(460px, 52%) !important;
  }
  :where([class*="hero"], [class*="copy"]):has(> h1) > h1 {
    max-width: 100% !important;
    font-size: clamp(30px, 4vw, 54px) !important;
  }
  /* #1616-v2 — class-agnostic: the GPL GPT hero column carried neither a
     "hero" nor "copy" class and stayed ~240px wide -> 8-line h1. In the FIRST
     section, whatever element directly contains the h1 gets the same floor. */
  body > section:first-of-type :where(*:has(> h1)) {
    min-width: min(460px, 52%) !important;
  }
  /* #521 (2026-08-13) — the min-width above widens the WRAPPER, but a
     CLASSLESS-wrapper h1 keeps its OWN max-width (ironsight: an unclassed div
     wrapper around the h1, whose stylesheet caps it at max-width 11ch), so the
     classed h1 max-width:100% companion (above) never matches the unclassed
     parent and the 11ch cap holds → the headline wraps into a 5-line ~235px
     tower in a 1080px hero. ★ DESCENDANT combinator (body <space> not body >):
     the hero <section> is NOT a direct child of <body> — it sits at
     body > main#top > section.hero (two levels deep), so a child-combinator
     (body then GT then section) matches NOTHING (verified via computed-style
     dump: the child form left the h1 at 235px/5-lines, the descendant form
     widens it to 100%/1-2 lines). Both-directions safe: an already-wide h1
     is unaffected by
     max-width:100%. NB: the #1616-v2 min-width rule above shares the same
     first-section child-combinator prefix → it has the identical latent gap on
     main-wrapped heroes (surfaced to Zach; left as-is since the wrapper is
     already ~700px from its grid-template-columns, so only the h1 cap binds). */
  body section:first-of-type :where(*:has(> h1)) > h1 {
    max-width: 100% !important;
  }
}
/* Mobile: tighter headline (keeps a 28px floor; >=16px avoids iOS focus-zoom
   on adjacent inputs). */
@media (max-width: 768px) {
  :where(h1) {
    font-size: clamp(28px, 7.5vw, 42px) !important;
    line-height: 1.1 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
  }
}
/* Footer link contrast: bare <a> (e.g. a mailto: email) in footers fall back to
   the UA link-blue (#0000ee), which is illegible on a dark brand footer
   (contrast ~1.2 on a navy footer). Make footer links inherit the footer's
   already-legible text colour instead. */
:where(footer) a, :where([class*="footer" i]) a, :where([class*="Footer"]) a { color: inherit; text-underline-offset: 2px; }

@media(min-width:821px){header nav a,header .nav-links a{white-space:nowrap !important;flex-shrink:0}}

/* Mobile overflow guard — kills horizontal scroll on narrow viewports.
   overflow-x:clip is stricter than overflow-x:hidden and cannot be
   subverted by descendant sticky/fixed ancestors establishing scroll
   containers. */
html { overflow-x: clip !important; max-width: 100vw !important; }
body { overflow-x: clip !important; max-width: 100vw !important; }
/* Fallback for browsers without overflow-x: clip support. */
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden !important; }
}
/* Decorative shapes commonly extend past viewport on mobile. Their
   parent contexts (.hero / .hero-bg / sections with shape backgrounds)
   should clip — visual loses nothing on mobile, mobile gains a usable
   layout. */
.hero, .hero-bg, .hero-visual, [class*="hero-section"],
section [class*="decorative"], section [class*="float-shape"],
section [class*="abstract-bg"] {
  overflow-x: clip !important;
}
@supports not (overflow-x: clip) {
  .hero, .hero-bg, .hero-visual, [class*="hero-section"],
  section [class*="decorative"], section [class*="float-shape"],
  section [class*="abstract-bg"] {
    overflow-x: hidden !important;
  }
}
/* Force card-grid stacking on narrow viewports so portfolio/blog/
   product/team grids don't extend past the viewport horizontally. */
@media (max-width: 600px) {
  .sf-portfolio-grid,
  .sf-blog-grid,
  .sf-products-grid,
  .sf-team-grid,
  [class*="portfolio-grid"],
  [class*="blog-grid"],
  [class*="products-grid"],
  [class*="team-grid"] {
    grid-template-columns: 1fr !important;
  }
}
/* #135 — cap oversized full-width content-image slots. A full-width photo slot (e.g.
   .services-bg-photo, .shop-visual) whose inner img carries an inline aspect-ratio with no
   height bound renders enormous (~960-1200px tall on desktop — Zach's "images too large",
   sturgis-gpt-r138 §02 .shop-visual = 1278x959 at ar 4/3). Bound the slot + its image to a
   sane height with object-fit:cover (crops to the focal area, never distorts or overflows the
   section). The [class*="visual"] pattern catches section-visual containers (shop-visual,
   media-visual, etc.) but EXCLUDES the hero (hero-visual / hero media-fill), which is meant to
   be full-bleed. Hero-fill images (data-sf-hero-image) + logos/icons are unaffected.
   SF_CONTENT_IMG_CAP=off reverts. */
[class*="bg-photo"], [class*="feature-photo"], [class*="showcase-photo"], [class*="section-photo"],
[class*="visual"]:not([class*="hero"]) {
  max-height: 600px !important;
  overflow: hidden !important;
}
[class*="bg-photo"] > img, [class*="feature-photo"] > img,
[class*="showcase-photo"] > img, [class*="section-photo"] > img,
[class*="visual"]:not([class*="hero"]) > img {
  max-height: 600px !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* Layout-safety (SF_LAYOUT_SAFETY_CSS). (a) A fixed-height card media wrapper (e.g. .service-media in a
   grid-template-rows:220px card) holding an aspect-ratio image with no height bound lets the image
   overflow its row and — being position:relative — paint OVER the card's own heading (dcon .service-media
   over .service-body). Clip the wrapper + cover-fit the img. Excludes hero/visual (full-bleed by design)
   and social/icon/logo. */
[class*="-media"]:not([class*="hero"]):not([class*="visual"]):not([class*="social"]):not([class*="icon"]):not([class*="logo"]) {
  overflow: hidden !important;
}
[class*="-media"]:not([class*="hero"]):not([class*="visual"]):not([class*="social"]):not([class*="icon"]):not([class*="logo"]) > img {
  height: 100% !important;
  object-fit: cover !important;
}
/* (b) Top-align any contact 2-col container so a short info column isn't stretched to a tall form
   column's height and vertically-centered into dead space. Anchor on the .contact-card child (used by
   .split AND .cta-box and other container names), so it generalizes across layouts. align-items is a
   no-op on non-grid/flex containers, so this is safe. */
.contact-section .split, .split:has(form), [class*="cta-box"]:has(form),
:has(> [class*="contact-card"]) {
  align-items: start !important;
}
/* Hamburger toggle — sf-ui.js APPENDS a fully-independent <aside class="sf-mobnav">
   at the END of <body>. Outside any Claude-emitted stacking context. We don't
   touch the original .nav-links at all (hide on mobile via CSS); the mobile
   menu is a wholly separate component with its own click handlers. */
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; -webkit-tap-highlight-color: transparent; }
/* Stage 1 sometimes emits its OWN CSS-only mobile menu (a <input type="checkbox" id="nav-toggle">
   + <label class="hamburger"> :checked hack). The raw checkbox is a state-holder, never meant to be
   seen — but nothing hid it, so a stray ~14px checkbox rendered in the DESKTOP nav. Visually hide any
   nav/menu toggle checkbox (kept functional + focusable for the :checked hack, just off-screen). */
input[type="checkbox"]#nav-toggle, input[type="checkbox"][id*="nav-toggle"],
input[type="checkbox"][id*="menu-toggle"], input[type="checkbox"].nav-toggle,
input[type="checkbox"].menu-toggle {
  position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important;
  margin: 0 !important; padding: 0 !important; pointer-events: none !important;
}
/* #1270 — white bars with a dark outline + soft shadow so the hamburger is
   visible on ANY nav background (currentColor was resolving to black on the
   dark dealermate nav -> invisible). The outline keeps it visible on light navs. */
.hamburger span { display: block; width: 24px; height: 2px; background: #fff !important; margin: 5px 0; border-radius: 2px; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45); transition: transform .2s, opacity .2s; }
.sf-mobnav {
  position: fixed; top: 0; right: 0;
  height: 100%; height: 100dvh;
  width: min(86vw, 320px);
  background: #fff; color: #1f2937;
  box-shadow: -8px 0 32px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform .25s ease-out;
  z-index: 2147483646;
  display: flex; flex-direction: column;
  padding: 72px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
.sf-mobnav.sf-mobnav-open { transform: translateX(0) !important; visibility: visible !important; }
.sf-mobnav a {
  display: block; padding: 14px 4px; font-size: 17px; line-height: 1.4;
  color: #1f2937; text-decoration: none; border-bottom: 1px solid #e5e7eb;
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}
.sf-mobnav a:active { background: rgba(0,0,0,0.04); }
.sf-mobnav-close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 28px; line-height: 1; color: inherit;
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}
.sf-mobnav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease-out;
  z-index: 2147483645;
}
.sf-mobnav-backdrop.sf-mobnav-open { opacity: 1 !important; pointer-events: auto !important; }
body.sf-mobnav-locked { overflow: hidden !important; }
@media (max-width: 900px) {
  /* #1270 — pin the hamburger to the RIGHT. margin-left:auto is a no-op when the
     nav is display:block and the button is inline-flex (the real dealermate case:
     <nav style="z-index:2147483647 !important;"> block > .nav-inner + .hamburger), so position it absolutely instead.
     :has() makes the button's container the positioning context regardless of its
     class (the nav often has none) so it pins to the nav's right edge, not the
     viewport's. */
  nav:has(> .hamburger), header:has(.hamburger), .site-header:has(.hamburger), .nav-inner:has(~ .hamburger) { position: relative; }
  /* top:14px (fixed), NOT top:50%+translateY: the nav collapses to ~0px on mobile
     when its in-flow content is hidden, so 50% resolved to ~0 and pushed the
     button half ABOVE the viewport -> user saw "1 line not 3". A fixed top from
     the nav's top edge keeps all 3 bars on-screen regardless of nav height. */
  .hamburger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2147483647; position: absolute !important; right: 16px; top: 14px; transform: none; margin: 0 !important; }
  /* #1270 — on mobile show ONLY the hamburger. Hide the desktop nav entirely (link
     list, logo bar, CTA). An earlier :has() attempt to KEEP a logo-bearing
     .nav-links container produced an unwanted opaque white bar (with a white-on-white
     hamburger) plus the fixed accent line scrolling over content. The wanted design
     is a clean transparent hero with just the 3 floating white hamburger bars. The
     hamburger top:14px fix above keeps it on-screen even though the nav collapses. */
  nav .nav-links, nav ul.nav-links, nav ol.nav-links { display: none !important; }
  /* Hide the gen's fixed decorative accent/divider bar on mobile (e.g. dealermate's
     .accent-bar gradient line) so nothing floats or scrolls over the hero. */
  .accent-bar, [class*="accent-bar"], nav .accent, header + .accent-bar { display: none !important; }
  /* Covers the case where Stage 1 puts .nav-links on the <nav> itself
     instead of on a child <ul>/<div>. Direct anchor + list-item children
     of the nav get hidden; the hamburger is a <button>, not an <a>/<li>,
     so it stays visible. */
  nav.nav-links > a:not(.nav-logo):not(.nav-cta),
  nav.nav-links > li,
  nav.nav-links > ul > li { display: none !important; }
  /* #1274b — the brand logo often lives INSIDE a .nav-links wrapper (e.g.
     .nav-inner.nav-links), so the blanket hide above also removes the logo on
     mobile. Re-show ONLY a logo-bearing wrapper, forced fully TRANSPARENT (no
     bg/shadow/border/blur) so it does NOT reintroduce the opaque white bar a
     prior :has() attempt caused; hide just its inner link list. The floating
     hamburger (a sibling <button>, not inside .nav-links) is unaffected.
     :has() — modern mobile browsers; older degrade to the logo-hidden look. */
  nav .nav-links:has(.nav-logo-img),
  nav .nav-links:has([class*="logo"]),
  nav .nav-links:has(> a img) {
    display: flex !important; align-items: center !important;
    background: transparent !important; box-shadow: none !important;
    border: 0 !important; backdrop-filter: none !important;
  }
  nav .nav-links:has(.nav-logo-img) > ul,
  nav .nav-links:has(.nav-logo-img) > ol,
  nav .nav-links:has([class*="logo"]) > ul,
  nav .nav-links:has(> a img) > ul { display: none !important; }
  nav .nav-logo-img, nav [class*="logo"] img { display: block !important; max-height: 40px; width: auto; }
}
@media (min-width: 901px) {
  .sf-mobnav, .sf-mobnav-backdrop { display: none !important; }
  /* #634 - a Stage-1-authored mobile nav that ships with NO CSS AT ALL renders unstyled and
     therefore VISIBLE at desktop. Measured on FRESH gens 2026-08-25 (w0pilot):
       gpt arm    -> nav.mobile-nav element with ZERO rules mentioning .mobile-nav  => visible
       claude arm -> same element WITH .mobile-nav{display:none} + .mobile-nav.open{display:flex}
     Both gens carry the injected .sf-mobnav, so the injector ran; what it never did was neutralise
     the orphan Stage-1 element beside it. 2 of 3 fresh gens shipped it visible.

     The backlog described this as "every .mobile-nav rule sits inside @media(max-width:960px), so
     desktop has no rule". That is NOT the mechanism - there are no rules in ANY block. A fix aimed
     at the described mechanism (hoisting rules out of a media query) would find nothing to hoist.

     DESKTOP-ONLY BY DESIGN. Scoped inside the existing min-width:901px block so a Stage-1 nav that
     DOES work keeps its mobile behaviour untouched - .mobile-nav.open{display:flex} still opens
     below 901px. Hiding it unconditionally would break the arm that was already correct, which is
     the both-directions trap. Stage-1 is hard-frozen, so this is the owning layer: the injector
     already owns "the mobile nav must behave correctly".
     NB: this comment lives INSIDE a template literal - no backticks and no dollar-brace
     interpolation sequences may appear here, or the string terminates early. */
  .mobile-nav, .mobile-menu, .mobile-drawer,
  .nav-toggle, .menu-toggle, .hamburger { display: none !important; }
}

/* V31-fix */ #hero > div:nth-of-type(3) > p:nth-of-type(1) { color: #6f6f6f !important; }
/* V31-fix */ #scale-stat > div:nth-of-type(3) > span { color: #6f6f6f !important; }

*,*::before,*::after{text-shadow:none !important}

.sf-pcs-8{position:relative}.sf-pcs-8 :is(h1,h2,h3,h4,h5,h6,p,span,a,button,li,label,strong,em),.sf-pcs-8 [data-sf-pixelcontrast],.sf-pcs-8 .sf-pcs-lift{position:relative;z-index:2}