:root {
    --primary: #0d4f3d;
    --secondary: #ed8f90;
    --accent: #97c693;
    --bg: #ffffff;
    --ink: #2d2d2d;
    --accent-wash: rgba(151,198,147,0.15);
    --ink-light: #6b6b6b;
    --surface: #fafaf8;
  
  --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;}

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── TYPOGRAPHY ── */
  h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
    color: var(--primary);
  }

  h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-style: italic; }
  h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
  h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }

  p { font-size: 1rem; color: var(--ink); line-height: 1.8; }

  .eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
  }

  .container {
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 2rem;
  }

  /* ── BUTTONS ── */
  .btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--primary);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
  }
  .btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
  }

  .btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--primary);
    transition: background 0.25s, color 0.25s;
  }
  .btn-outline:hover {
    background: var(--primary);
    color: #fff;
  }

  .btn-accent {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85rem 2.2rem;
    border: 2px solid var(--accent);
    transition: background 0.25s, color 0.25s;
  }
  .btn-accent:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  /* ── LACE SCALLOP SVG DIVIDER ── */
  .lace-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    display: block;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin-inline: auto;
    height: 72px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--accent); }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
  }
  .hamburger span {
    width: 24px; height: 2px;
    background: #fff;
    display: block;
    transition: transform 0.3s;
  }

  @media (max-width: 860px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
  }

  /* ── HERO ── */
  #hero {
    position: relative;
    height: 82vh;
    min-height: 540px;
    max-height: 860px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    margin-top: 72px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,79,61,0.72) 0%, rgba(13,79,61,0.2) 60%, transparent 100%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding-inline: 2rem;
    margin-inline: auto;
    width: 100%;
  }

  .hero-content .eyebrow { color: var(--accent); }

  .hero-content h1 {
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.18);
  }

  .hero-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    max-width: 560px;
    margin-bottom: 2rem;
    font-weight: 300;
  }

  /* blush scallop strip below hero headline */
  .hero-lace-strip {
    margin: 0.5rem 0 1.5rem;
    opacity: 0.7;
  }

  /* ── BELIEF / INTRO ── */
  #belief {
    background: var(--bg);
    padding: 6rem 0 5rem;
  }

  .belief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .belief-text .body-lead {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--ink);
    margin-top: 1.25rem;
  }

  .belief-image {
    position: relative;
  }

  .belief-image svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .belief-accent-line {
    width: 48px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 1.2rem;
  }

  /* pull-quote */
  .pull-quote {
    border-left: 3px solid var(--secondary);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0 0;
    background: rgba(237,143,144,0.06);
  }
  .pull-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.5;
  }

  /* ── COLLECTIONS GRID ── */
  #collections {
    background: var(--surface);
    padding: 5rem 0 6rem;
  }

  .collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .collection-card {
    position: relative;
    overflow: hidden;
    background: var(--bg);
  }

  .collection-card svg {
    width: 100%;
    display: block;
  }

  .card-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(13,79,61,0.82);
    padding: 0.9rem 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.04em;
  }

  .card-label span {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.2rem;
  }

  /* ── LACE DETAIL SPLIT ── */
  #lace-detail {
    background: var(--bg);
    padding: 6rem 0;
  }

  .split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }

  .split-media {
    overflow: hidden;
  }
  .split-media svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 480px;
  }

  .split-content {
    background: var(--accent-wash);
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .split-content h2 { margin-bottom: 1.25rem; }
  .split-content p { margin-bottom: 1.5rem; }

  /* ── EVERY BRIDE ── */
  #every-bride {
    background: var(--primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
  }

  #every-bride .eyebrow { color: var(--accent); }
  #every-bride h2 { color: #fff; }
  #every-bride p { color: rgba(255, 255, 255, 0.92); }

  .every-bride-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .every-bride-image svg {
    width: 100%; height: auto;
    display: block;
  }

  .feature-list {
    list-style: none;
    margin-top: 1.5rem;
  }
  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
  }
  .feature-list li::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.55rem;
  }

  /* ── AWARDS ── */
  #awards {
    background: var(--bg);
    padding: 6rem 0;
  }

  .awards-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .awards-image svg {
    width: 100%; height: auto;
    display: block;
  }

  .award-badge {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(151,198,147,0.4);
    margin-bottom: 1.25rem;
    transition: border-color 0.2s, background 0.2s;
  }
  .award-badge:hover {
    border-color: var(--accent);
    background: var(--accent-wash);
  }

  .badge-icon {
    flex-shrink: 0;
  }

  .badge-text strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    display: block;
    margin-bottom: 0.2rem;
  }
  .badge-text p {
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.5;
  }

  .trust-bar {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--accent-wash);
    border-left: 3px solid var(--accent);
  }
  .trust-bar p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.5;
  }

  /* ── APPOINTMENT ── */
  #appointment {
    background: var(--surface);
    padding: 6rem 0;
  }

  .appt-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .appt-image svg {
    width: 100%; height: auto;
    display: block;
  }

  .appt-content h2 { margin-bottom: 1rem; }
  .appt-content p { margin-bottom: 1.5rem; }

  .appt-steps {
    list-style: none;
    margin: 1.5rem 0 2rem;
  }
  .appt-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--ink);
  }
  .step-num {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
  }

  /* ── CONTACT ── */
  #contact {
    background: var(--primary);
    padding: 6rem 0;
  }

  #contact .eyebrow { color: var(--accent); }

  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-info h2 { color: #fff; margin-bottom: 1rem; }
  .contact-info p { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.5rem; }

  .contact-location {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
  }

  .contact-form-wrap {
    background: rgba(255,255,255,0.06);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.12);
  }

  .contact-form-wrap h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }
  .form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.45rem;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
  }
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--accent);
  }
  .form-group textarea { resize: vertical; min-height: 110px; }

  /* ── FOOTER ── */
  footer {
    background: #0a3d2f;
    padding: 4rem 0 2rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .footer-brand p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    margin-top: 1rem;
    line-height: 1.7;
  }

  .footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
  }

  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.6rem; }
  .footer-col ul li a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: var(--accent); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
  }

  .footer-accent-rule {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 1rem;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fade-up {
    animation: fadeUp 0.7s ease both;
  }
  .delay-1 { animation-delay: 0.15s; }
  .delay-2 { animation-delay: 0.3s; }
  .delay-3 { animation-delay: 0.45s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 960px) {
    .belief-grid,
    .split-grid,
    .every-bride-grid,
    .awards-inner,
    .appt-inner,
    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

    .split-content { padding: 3rem 2rem; }

    .collections-grid { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 600px) {
    .collections-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    #hero { padding-bottom: 3rem; }
  }

/* 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); }
.panel-dark .contact-form-wrapper, .section.dark .contact-form-wrapper, .section-dark .contact-form-wrapper, .dark .contact-form-wrapper, .bg-dark .contact-form-wrapper, .bg-black .contact-form-wrapper, [class*="panel-dark"] .contact-form-wrapper { color: var(--text-on-dark, #f0f0f0); }

/* 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; }
}

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