/* Diamonds by SAE original editorial design refinement, v4.9.
   Reference: contemporary Australian jewellery retail layout, including
   Cullen Jewellery's public AU navigation and collection hierarchy.
   Original art, names, copy and identities are retained; not a site clone. */
:root{
  --ink:#252b27;
  --muted:#6c706b;
  --line:#e8e7e1;
  --cream:#f4f2ec;
  --paper:#ffffff;
  --taupe:#8a877b;
  --soft:#f8f7f4;
  --dark:#213f36;
  --serif:Baskerville,"Libre Baskerville",Georgia,"Times New Roman",serif;
  --sans:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --sae-forest:#21463b;
  --sae-forest-dark:#17382f;
  --sae-gold:#9c8965;
  --sae-page-gap:clamp(20px,3.6vw,64px);
  --sae-section-space:clamp(64px,7.1vw,108px);
}
html{scroll-padding-top:20px}
body{color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.5;font-weight:400;background:var(--paper)}
button,input,select,textarea{font-family:var(--sans)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--sae-forest);outline-offset:3px}
.container{max-width:1490px;padding-inline:var(--sae-page-gap)}
/* A slim, single-message announcement bar above a centred wordmark. */
.utility{min-height:31px;height:auto;padding:6px 0;background:var(--sae-forest-dark);color:#f8f8f4}
.utility-inner{max-width:1500px;justify-content:center;gap:0;text-align:center;font-size:10px;line-height:1.5;letter-spacing:.07em;font-weight:500;padding-inline:20px}
.utility-inner a{border-bottom:1px solid transparent;transition:border-color .2s}
.utility-inner a:hover,.utility-inner a:focus-visible{border-bottom-color:currentColor}
.masthead{height:90px;grid-template-columns:1fr minmax(310px,1.25fr) 1fr;padding-inline:var(--sae-page-gap);background:#fff}
.logotype{letter-spacing:0;line-height:1}
.logotype>span{font-family:var(--serif);font-weight:400;font-size:clamp(24px,2.35vw,35px);letter-spacing:.075em;line-height:1.08}
.logotype em{font-size:.7em;letter-spacing:0}
.logotype small{font-size:8px;letter-spacing:.28em;margin-top:8px;color:#666e68}
.masthead .iconbtn{width:40px;height:44px;border-radius:0;color:var(--ink);padding:9px}
.masthead .iconbtn:hover{color:var(--sae-forest)}
.small-desktop{font-size:12px;font-weight:400;letter-spacing:.015em;color:#6b716e}
.masthead-left,.masthead-right{gap:9px}
.nav{border-top:1px solid #f1f0ed;border-bottom:1px solid var(--line);z-index:10}
.nav-inner{min-height:53px;gap:clamp(18px,3.05vw,52px);justify-content:center;padding-inline:var(--sae-page-gap)}
.nav a{padding:16px 0;font-size:12px;font-weight:500;line-height:1.3;letter-spacing:.018em;text-transform:none;transition:color .2s}
.nav a:hover,.nav a[aria-current=page]{color:var(--sae-forest)}
.eyebrow,.section-mini-title{color:var(--sae-forest);letter-spacing:.16em;font-size:10px;font-weight:600}
/* Airy restrained editorial typography rather than oversized marketing panels. */
.hero{min-height:605px;height:clamp(595px,46vw,730px);background:#eee9e2;align-items:center}
.hero-img{background-position:64% 54%;transform:none}
.hero-gradient{background:linear-gradient(90deg,rgba(250,250,247,.94) 0%,rgba(250,250,247,.82) 26%,rgba(250,250,247,.44) 46%,rgba(250,250,247,0) 74%)}
.hero-copy{width:min(53%,760px);padding-left:clamp(32px,7.2vw,124px)}
.hero-copy h1{font:400 clamp(49px,5.2vw,82px)/1.075 var(--serif);letter-spacing:-.042em;margin:18px 0 24px}
.hero-copy h1 em{font-weight:400}
.hero-copy p{max-width:475px;color:#555a55;font-size:clamp(14px,1.13vw,17px);line-height:1.75;margin-bottom:31px}
.hero-bottom{left:clamp(32px,7.2vw,124px);bottom:26px;color:#61675f;letter-spacing:.08em}
.button{min-height:48px;padding:14px 25px;font-weight:600;font-size:11px;letter-spacing:.06em;line-height:1.25;border-radius:0;transition:background-color .18s,border-color .18s,color .18s}
.button-black{background:var(--sae-forest);border-color:var(--sae-forest);color:#fff}
.button-black:hover{background:var(--sae-forest-dark);border-color:var(--sae-forest-dark)}
.button-outline,.button-line{background:transparent;border-color:var(--sae-forest);color:var(--sae-forest)}
.button-outline:hover,.button-line:hover{background:var(--sae-forest);border-color:var(--sae-forest);color:#fff}
.text-cta{font-size:11px;font-weight:600;letter-spacing:.075em;text-decoration:none}
.values{height:65px;color:#4e554e;gap:clamp(15px,3.7vw,66px);font-size:10px;letter-spacing:.1em;font-weight:500}
.values .vertical{background:#d4d9d3}
.main-section{padding-block:var(--sae-section-space)}
.center-title{max-width:730px;margin-bottom:46px}
.center-title h2,.catalog-heading h2,.chapter-copy h2,.details-section h2,.closing h2,.faq h2,.editorial-banner h2{font-family:var(--serif);font-weight:400;letter-spacing:-.031em;line-height:1.13}
.center-title h2{font-size:clamp(35px,3.75vw,54px);margin:14px 0 14px}
.center-title p{font-size:15px;color:#697069;line-height:1.75}
.collection-grid,.product-grid{gap:clamp(10px,1.2vw,18px)}
.collection-img{background:#f4f3f0;aspect-ratio:1/1.05}
.collection-grid a>span{margin-top:17px;font:400 clamp(18px,1.8vw,25px)/1.25 var(--serif)}
.chapter{max-width:1368px;min-height:535px;background:#f2f1ea}
.chapter-copy{padding:clamp(32px,6vw,100px)}
.chapter-copy h2{font-size:clamp(35px,3.65vw,55px)}
.chapter-copy p{font-size:15px;color:#646a63;line-height:1.78}
.ring-media,.diamond-concept-img{background:#f6f5f1;aspect-ratio:1/1}
.ring-media img,.diamond-concept-img img{object-fit:cover;transition:transform .45s ease}
.ring-card:hover img,.diamond-concept-card:hover img{transform:scale(1.035)}
.ring-copy{padding-top:17px}
.ring-copy h3,.concept-details h3{font-family:var(--serif);font-size:clamp(18px,1.7vw,23px);font-weight:400;line-height:1.2;letter-spacing:-.015em;margin:8px 0}
.ring-copy .tiny,.concept-details .tiny{font-size:10px;letter-spacing:.05em;color:#667069}
.ring-copy p,.concept-details p{font-size:12px;color:#757b75;line-height:1.5}
.card-pill{background:rgba(255,255,255,.9);color:#46544b;letter-spacing:.025em;font-size:10px}
.heart-button,.concept-heart{background:rgba(255,255,255,.88);color:var(--ink)}
.card-bottom,.concept-bottom{border-top:1px solid var(--line);font-size:10px;letter-spacing:.045em;color:#636d63}
.card-bottom a,.concept-bottom button{color:var(--sae-forest)}
.editorial-banner{background:#f0f0ea;padding:clamp(65px,8vw,102px) 24px}
.editorial-banner h2{font-size:clamp(39px,4vw,61px)}
.editorial-banner p{line-height:1.78}
.closing{background:#f8f8f4}
/* The engagement-ring collection is a product listing, not a second hero. */
.category-top.category-polished{height:auto;min-height:0;padding:63px 0 50px;background:#fff;display:block;border-bottom:1px solid var(--line)}
.category-polished .category-inner{max-width:1030px;padding:0 var(--sae-page-gap);text-align:center}
.category-polished .breadcrumbs{text-align:left;max-width:980px;margin:0 auto 32px;color:#848b82;font-size:11px;letter-spacing:.04em;text-transform:none}
.category-polished h1{font:400 clamp(42px,4.8vw,72px)/1.08 var(--serif);letter-spacing:-.035em;margin:14px 0}
.category-polished .category-inner>p{font-size:15px;color:#68716a;line-height:1.75;max-width:615px;margin:0 auto 24px}
.category-polished .button{min-height:0;padding:8px 2px;border:0;border-bottom:1px solid var(--sae-forest);font-size:11px}
.category-polished .button:hover{color:var(--sae-forest-dark);background:transparent;border-color:var(--sae-forest-dark)}
/* Inventory-filter-like browse experience with no invented prices or stock. */
.new-catalog{padding-top:clamp(35px,5vw,76px);padding-bottom:var(--sae-section-space)}
.collection-title{align-items:flex-end;gap:20px}
.collection-title h2{font:400 clamp(31px,3.25vw,49px)/1.13 var(--serif);letter-spacing:-.025em;margin:10px 0}
.collection-title p{color:#687169;line-height:1.7;font-size:14px}
.collection-meta{font-size:12px;color:#616c62;gap:22px}
.collection-meta button{border-bottom:1px solid var(--sae-forest);text-decoration:none;color:var(--sae-forest)}
.catalog-search{display:block;max-width:500px;margin:29px 0 15px}
.catalog-search input{height:50px;width:100%;padding:0 17px;border:1px solid #d9ddd6;border-radius:0;background:#fff;color:var(--ink);font-size:13px;letter-spacing:.005em}
.catalog-search input::placeholder{color:#7a837a}
.catalog-search input:focus{border-color:var(--sae-forest);outline:2px solid #21463b20;outline-offset:0}
.catalog-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:18px 0 28px}
.catalog-filters label{min-width:0;flex:none;letter-spacing:.025em;font-size:11px;font-weight:500;text-transform:none;color:#68736b;gap:9px}
.catalog-filters select{height:45px;min-width:0;width:100%;padding:0 13px;background:#fff;border:1px solid #dfe2dc;color:var(--ink);font-size:13px}
.diamond-concept-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px) clamp(10px,1.35vw,19px)}
.concept-details{padding:15px 1px 6px}
.concept-details h3{font-size:clamp(18px,1.7vw,23px)}
.concept-bottom{margin-top:15px;padding-top:13px;min-height:45px}
.concept-heart{width:38px;height:38px;top:12px;right:12px}
.categories-shapes{padding-block:42px 52px;border-top:1px solid var(--line);border-bottom:0}
.categories-shapes h2{font:400 clamp(26px,2.7vw,38px)/1.2 var(--serif);letter-spacing:-.02em;margin-bottom:21px}
.shapes-buttons{gap:9px;padding-bottom:13px}
.shape-chip{background:#f9f9f7;padding:13px 8px;min-width:92px;border-color:#eff0ea;text-transform:none;font-size:11px;letter-spacing:.02em}
.shape-chip[aria-pressed=true],.shape-chip:hover{border-color:var(--sae-forest);background:#fff;color:var(--sae-forest)}
.shape-diamond{color:#64776a}
.editorial-split{background:#f4f3ee}
.editorial-split>div:last-child{padding:clamp(30px,5vw,82px)}
.editorial-split p{color:#656d64}
.footer{background:#f5f6f2;color:#28362b}
.footer a:hover{color:var(--sae-forest)}
/* Responsive spacing preserves a clean, functional mobile catalogue. */
@media(max-width:1100px){
  .nav-inner{gap:clamp(11px,1.9vw,23px)}
  .nav a{font-size:11px}
  .hero{height:600px}
  .hero-copy{width:57%;padding-left:var(--sae-page-gap)}
  .hero-bottom{left:var(--sae-page-gap)}
  .collection-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .diamond-concept-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:770px){
  :root{--sae-page-gap:18px;--sae-section-space:62px}
  .utility{min-height:30px;padding:6px 0}
  .utility-inner{font-size:9px;letter-spacing:.025em}
  .utility-inner a{display:inline!important}
  .masthead{height:76px;padding:0 13px;grid-template-columns:1fr 2.4fr 1fr;gap:2px}
  .masthead-left,.masthead-right{gap:0}
  .masthead .iconbtn{height:42px;width:37px;padding:8px}
  .logotype>span{font-size:clamp(17px,4.2vw,25px);letter-spacing:.045em}
  .logotype small{font-size:6px;letter-spacing:.14em;margin-top:5px}
  .nav{top:106px;box-shadow:0 18px 28px rgba(13,37,28,.09)}
  .nav-inner{padding:10px 15px;gap:0}
  .nav a{font-size:14px;padding:16px 12px;letter-spacing:0}
  .hero{height:660px;min-height:610px;align-items:flex-end}
  .hero-img{background-position:66% 30%}
  .hero-gradient{background:linear-gradient(0deg,rgba(250,250,247,.98) 0%,rgba(250,250,247,.86) 23%,rgba(250,250,247,.12) 67%,transparent 90%)}
  .hero-copy{width:100%;padding:0 24px 67px}
  .hero-copy h1{font-size:clamp(42px,9vw,59px);margin:15px 0}
  .hero-copy p{font-size:14px;line-height:1.6;max-width:480px;margin-bottom:22px}
  .hero-bottom{bottom:19px;left:24px;font-size:8px}
  .values{height:auto;min-height:58px;gap:13px;padding:14px 13px;flex-wrap:wrap;font-size:8px;text-align:center}
  .values .vertical{height:13px}
  .center-title{margin-bottom:29px}
  .center-title h2{font-size:clamp(31px,7vw,41px)}
  .center-title p{font-size:13px}
  .chapter-copy{padding:36px 25px}
  .category-top.category-polished{padding:27px 0 34px}
  .category-polished .breadcrumbs{margin-bottom:24px;font-size:10px}
  .category-polished h1{font-size:clamp(38px,9vw,53px)}
  .category-polished .category-inner>p{font-size:13px;line-height:1.65}
  .new-catalog{padding-top:38px}
  .collection-title{align-items:flex-start;flex-direction:column;gap:8px}
  .collection-title h2{font-size:36px}
  .catalog-search{max-width:none;margin:23px 0 8px}
  .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0}
  .catalog-filters label{font-size:11px}
  .catalog-filters select{height:42px}
  .diamond-concept-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 11px}
  .diamond-concept-img{aspect-ratio:1/1.08}
  .concept-details h3{font-size:18px}
  .concept-details p{font-size:11px}
  .concept-bottom{gap:6px}
  .categories-shapes{padding-block:32px 36px}
  .categories-shapes h2{font-size:29px}
  .shape-chip{min-width:85px;font-size:10px}
}
@media(max-width:400px){
  .logotype>span{font-size:16px}
  .hero{height:625px}
  .hero-copy{padding-inline:20px}
  .hero-copy h1{font-size:42px}
  .hero-buttons .button{min-width:0;width:100%}
  .values{font-size:7.5px}
  .diamond-concept-grid{gap:20px 9px}
  .concept-details h3{font-size:16px}
  .concept-bottom{align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
/* Brand-consistent noindex error page, without a faux checkout. */
.error-main{min-height:54vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:75px var(--sae-page-gap);gap:16px;background:#fff}
.error-main h1{font:400 clamp(43px,5vw,70px)/1.12 var(--serif);margin:0;color:var(--ink)}
.error-main p{font-size:15px;line-height:1.7;color:var(--muted);max-width:430px;margin:0 0 12px}

/* v5.0 — measurements-guided visual alignment from docs/CULLEN_DESIGN_REFERENCE.md.
   Work measured 1363x936 on the *older live site*, not this v4.9 source;
   numerical targets below are design approximations, not screenshot proof.
   Keep original Diamonds by SAE branding, Georgia/Inter and owned imagery. */
:root{
  --ink:#222322;
  --muted:#64645e;
  --line:#eceae6;
  --cream:#f7f5f1;
  --paper:#ffffff;
  --soft:#f6f5f3;
  --taupe:#a48d70;
  --dark:#222522;
  --sae-forest:#222522;
  --sae-forest-dark:#43413b;
  --sae-gold:#a48d70;
  --serif:Georgia,"Times New Roman",serif;
  --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --sae-page-gap:clamp(20px,5.87vw,80px);
  --sae-section-space:clamp(64px,7.1vw,108px);
}
body{color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6}
/* Reference desktop stack is approximately 160px. SAE retains three rows. */
.utility{height:32px;min-height:32px;padding:0;background:var(--dark)}
.utility-inner{font-size:10px;line-height:1.4}
.masthead{height:76px;padding-inline:var(--sae-page-gap)}
.nav{border-top-color:#f4f4f4;border-bottom-color:#eceae6}
.nav-inner{min-height:50px;gap:clamp(15px,2.4vw,38px);padding-inline:var(--sae-page-gap)}
.nav a{font-size:12px;line-height:20px;padding:14px 0;font-weight:400;letter-spacing:.02em}
.logotype>span{font-family:var(--serif);letter-spacing:.075em}
.logotype small{letter-spacing:.25em}
/* Work observed 776px reference home hero and 48px display heading at 1363px. */
.hero{height:clamp(620px,56.95vw,776px);min-height:620px}
.hero-copy{padding-left:var(--sae-page-gap);width:min(52%,660px)}
.hero-copy h1{font:400 clamp(42px,3.525vw,48px)/1.1 var(--serif);letter-spacing:-.015em;margin:20px 0 24px}
.hero-copy p{font-size:15px;line-height:1.7;max-width:465px}
.hero-bottom{left:var(--sae-page-gap)}
/* SAE stays charcoal/taupe, rather than adopting Cullen's distinctive green. */
.button{min-height:48px;padding:14px 29px;font-size:12px;font-weight:500;letter-spacing:.075em}
.button-black{background:var(--dark);border-color:var(--dark);color:#fff}
.button-black:hover{background:#4c4943;border-color:#4c4943}
.button-outline,.button-line{border-color:var(--dark);color:var(--dark)}
.button-outline:hover,.button-line:hover{background:var(--dark);border-color:var(--dark);color:#fff}
.text-cta,.collection-meta button,.card-bottom a,.concept-bottom button{color:var(--ink)}
/* At ~1348px page width, the 80px gutters and 24px gaps give ~380px cards. */
.container{max-width:1510px;padding-inline:var(--sae-page-gap)}
.diamond-concept-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.diamond-concept-img,.ring-media{aspect-ratio:4/5;background:var(--soft)}
.diamond-concept-img img,.ring-media img{width:100%;height:100%;object-fit:cover}
.concept-details,.ring-copy{padding-top:17px}
.concept-details h3,.ring-copy h3{font:400 clamp(18px,1.55vw,22px)/1.28 var(--serif);letter-spacing:-.012em}
.concept-details p,.ring-copy p{font-size:13px;line-height:1.55}
.card-bottom,.concept-bottom{border-top-color:#f1efeb}
/* Cullens' 480px collection feature is a proportional target, not copied art. */
.category-top.category-polished{height:480px;min-height:480px;padding:36px 0;display:flex;align-items:center;
  background:linear-gradient(90deg,rgba(250,248,244,.96) 0%,rgba(250,248,244,.87) 36%,rgba(250,248,244,.28) 77%),url('/assets/hero.jpg') center 57%/cover;
  border-bottom:0}
.category-polished .category-inner{max-width:1510px;width:100%;padding-inline:var(--sae-page-gap);text-align:left}
.category-polished .breadcrumbs{margin:0 0 22px;max-width:none;text-align:left;color:#6c716a}
.category-polished h1{font:400 clamp(42px,3.525vw,48px)/1.1 var(--serif);letter-spacing:-.015em;margin:12px 0 16px}
.category-polished .category-inner>p{margin:0 0 24px;max-width:540px;color:#4d544d;font-size:15px;line-height:1.65}
.category-polished .button{color:var(--ink);border-color:var(--ink)}
/* Bring source-only ring concept details toward a product-style gallery hierarchy. */
.detail-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(32px,3vw,44px)}
.detail-main img{aspect-ratio:4/5;object-fit:cover;background:var(--soft)}
.detail-info h1{font:400 clamp(40px,3.525vw,48px)/1.2 var(--serif);letter-spacing:-.01em}
.builder-grid{grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:clamp(26px,3.5vw,48px)}
.builder-visual{min-height:690px}
.builder-title h1{font:400 clamp(42px,3.525vw,48px)/1.12 var(--serif);letter-spacing:-.015em}
/* Tablet: retain readable two-column grids and full-width filters. */
@media(max-width:1100px){
  .diamond-concept-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
  .hero{height:clamp(610px,66vw,730px)}
  .hero-copy{width:min(60%,660px)}
  .detail-layout{gap:26px}
}
@media(max-width:770px){
  :root{--sae-page-gap:20px;--sae-section-space:62px}
  .utility{height:30px;min-height:30px}
  .masthead{height:74px;padding-inline:13px}
  .nav{top:104px}
  .hero{height:650px;min-height:600px}
  .hero-copy{width:100%;padding:0 var(--sae-page-gap) 72px}
  .hero-copy h1{font-size:clamp(39px,5.5vw,46px);line-height:1.12}
  .hero-bottom{left:var(--sae-page-gap)}
  .category-top.category-polished{height:450px;min-height:450px;padding:28px 0;background-position:60% center}
  .category-polished h1{font-size:clamp(37px,6vw,44px)}
  .category-polished .category-inner>p{font-size:13px;max-width:430px}
  .diamond-concept-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
  .diamond-concept-img,.ring-media{aspect-ratio:4/5}
  .detail-layout,.builder-grid{grid-template-columns:1fr;gap:28px}
  .detail-main img{aspect-ratio:4/5}
  .builder-visual{min-height:440px}
}
@media(max-width:480px){
  :root{--sae-page-gap:18px}
  .utility-inner{font-size:9px}
  .hero{height:610px;min-height:610px}
  .hero-copy h1{font-size:40px;letter-spacing:-.01em}
  .category-top.category-polished{height:420px;min-height:420px}
  .category-polished h1{font-size:40px}
  .diamond-concept-grid,.product-grid{grid-template-columns:1fr;gap:30px}
  .diamond-concept-img,.ring-media{aspect-ratio:4/5}
  .concept-details h3,.ring-copy h3{font-size:20px}
  .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .builder-visual{min-height:360px}
}


/* v5.2 — exact-width visual-QA corrections (21 Nov 2026).
   Visual evidence: GitHub Actions run 44945199352, 18 matched captures.
   Collection at 390px: the previous single-column cards were overly tall,
   and the pre-filter shape tray pushed browsing far below the hero.
   Scope strictly to original SAE engagement-ring concept browsing. */
body[data-path="/engagement-rings/"] .new-catalog{
  padding-top:26px;
}
body[data-path="/engagement-rings/"] .collection-title h2{
  font-size:clamp(27px,2.5vw,36px);
  margin:7px 0 9px;
  line-height:1.18;
}
body[data-path="/engagement-rings/"] .collection-title p{
  font-size:13px;
  line-height:1.55;
}
body[data-path="/engagement-rings/"] .catalog-search{
  max-width:none;
  margin:18px 0 10px;
}
body[data-path="/engagement-rings/"] .catalog-search input{
  height:46px;
}
body[data-path="/engagement-rings/"] .catalog-filters{
  margin:12px 0 6px;
  padding:12px 0;
}
body[data-path="/engagement-rings/"] .shape-disclosure{
  border-bottom:1px solid var(--line);
  margin:0 0 24px;
}
body[data-path="/engagement-rings/"] .shape-disclosure summary{
  cursor:pointer;
  padding:13px 0;
  color:var(--ink);
  font-size:12px;
  font-weight:500;
  letter-spacing:.015em;
}
body[data-path="/engagement-rings/"] .shape-disclosure summary:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:3px;
}
body[data-path="/engagement-rings/"] .shape-disclosure .categories-shapes{
  padding:8px 0 15px;
  border:0;
}
body[data-path="/engagement-rings/"] .shape-disclosure .shapes-buttons{
  gap:8px;
}
body[data-path="/engagement-rings/"] .shape-disclosure .shape-chip{
  min-width:86px;
  padding:9px 6px;
}
@media(max-width:770px){
  body[data-path="/engagement-rings/"] .new-catalog{padding-top:25px}
  body[data-path="/engagement-rings/"] .collection-title{gap:8px}
  body[data-path="/engagement-rings/"] .collection-title h2{font-size:30px}
  body[data-path="/engagement-rings/"] .catalog-search{margin:16px 0 7px}
}
@media(max-width:480px){
  /* Two portrait cards fit a 390px viewport in 169px columns with a 12px gap. */
  body[data-path="/engagement-rings/"] .diamond-concept-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 12px;
  }
  body[data-path="/engagement-rings/"] .diamond-concept-img{
    aspect-ratio:4/5;
  }
  body[data-path="/engagement-rings/"] .collection-title h2{
    font-size:28px;
    margin:4px 0 8px;
  }
  body[data-path="/engagement-rings/"] .collection-title p{
    font-size:12px;
  }
  body[data-path="/engagement-rings/"] .collection-meta{
    gap:14px;
    font-size:11px;
  }
  body[data-path="/engagement-rings/"] .catalog-search input{height:43px}
  body[data-path="/engagement-rings/"] .catalog-filters{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin:8px 0 4px;
    padding:10px 0;
  }
  body[data-path="/engagement-rings/"] .catalog-filters select{
    height:42px;
    font-size:12px;
  }
  body[data-path="/engagement-rings/"] .shape-disclosure{
    margin-bottom:20px;
  }
  body[data-path="/engagement-rings/"] .concept-details{
    padding:10px 0 0;
  }
  body[data-path="/engagement-rings/"] .concept-details .tiny{
    font-size:9px;
    line-height:1.3;
  }
  body[data-path="/engagement-rings/"] .concept-details h3{
    font-size:17px;
    line-height:1.25;
    margin:6px 0;
  }
  body[data-path="/engagement-rings/"] .concept-details p{
    font-size:11px;
    line-height:1.4;
  }
  /* Keep all enquiry/compare actions visible but reduce excess card height. */
  body[data-path="/engagement-rings/"] .concept-bottom{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:3px 8px;
    align-items:start;
    margin-top:9px;
    padding-top:8px;
    min-height:0;
  }
  body[data-path="/engagement-rings/"] .concept-bottom>span{
    grid-column:1/-1;
    font-size:9px;
    line-height:1.3;
  }
  body[data-path="/engagement-rings/"] .concept-bottom button{
    font-size:9px;
    padding:7px 0;
    text-align:left;
    white-space:nowrap;
    letter-spacing:0;
  }
}

/* v5.3 — first-viewport collection visibility, guided by successful
   exact-width v5.2 visual QA run 44945986334.
   Cullen's reference shows product cards during the first mobile/tablet
   viewport. SAE's source was two-up at 390px but its duplicate collection
   introduction and two filter rows postponed cards below the viewport.
   Keep full details for desktop; on narrow screens the collection hero
   already contains the heading and introduction. All select elements,
   12 concepts, enquiry and compare actions stay in the DOM. */
@media(max-width:770px){
  body[data-path="/engagement-rings/"] .new-catalog{
    padding-top:16px;
  }
  body[data-path="/engagement-rings/"] .collection-title{
    display:block;
    margin:0;
  }
  body[data-path="/engagement-rings/"] .collection-title>div:first-child{
    display:none;
  }
  body[data-path="/engagement-rings/"] .collection-meta{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    min-height:24px;
  }
  body[data-path="/engagement-rings/"] .catalog-search{
    max-width:none;
    margin:12px 0 7px;
  }
  body[data-path="/engagement-rings/"] .catalog-filters{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    gap:9px;
    margin:5px 0;
    padding:8px 0;
  }
  body[data-path="/engagement-rings/"] .catalog-filters label{
    flex:0 0 145px;
    width:145px;
    min-width:0;
    font-size:11px;
    gap:6px;
  }
  body[data-path="/engagement-rings/"] .catalog-filters select{
    height:40px;
    font-size:12px;
    padding-inline:9px;
  }
  body[data-path="/engagement-rings/"] .shape-disclosure{
    margin:0 0 14px;
  }
  body[data-path="/engagement-rings/"] .shape-disclosure summary{
    padding:10px 0;
  }
  body[data-path="/engagement-rings/"] .diamond-concept-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:23px 14px;
  }
}
@media(max-width:700px){
  body[data-path="/engagement-rings/"] .diamond-concept-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:480px){
  body[data-path="/engagement-rings/"] .catalog-filters label{
    flex:0 0 135px;
    width:135px;
  }
  body[data-path="/engagement-rings/"] .diamond-concept-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 12px;
  }
}


/* v5.4 - desktop first-row alignment based on v5.3 visual run 44947023064.
   The collection hero already presents the page headline and introduction.
   Keep the desktop collection introduction in source for semantics, but avoid
   visually repeating it before the actual catalogue. The filters remain
   functional native selects; no stock, price, or checkout claims change. */
@media(min-width:771px){
  body[data-path="/engagement-rings/"] .new-catalog{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,31%);
    grid-template-areas:
      "filters search"
      "meta meta"
      "shapes shapes"
      "products products"
      "empty empty"
      "disclaimer disclaimer";
    column-gap:22px;
    row-gap:0;
    padding-top:12px;
  }
  body[data-path="/engagement-rings/"] .collection-title{
    grid-area:meta;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    width:100%;
    padding:4px 0 5px;
    margin:0;
  }
  body[data-path="/engagement-rings/"] .collection-title>div:first-child{
    display:none;
  }
  body[data-path="/engagement-rings/"] .collection-meta{
    display:flex;
    justify-content:space-between;
    width:100%;
    min-height:21px;
  }
  body[data-path="/engagement-rings/"] .catalog-search{
    grid-area:search;
    max-width:none;
    width:100%;
    margin:0;
    align-self:end;
  }
  body[data-path="/engagement-rings/"] .catalog-search input{
    height:43px;
  }
  body[data-path="/engagement-rings/"] .catalog-filters{
    grid-area:filters;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    align-items:end;
    margin:0;
    padding:0;
    border:0;
  }
  body[data-path="/engagement-rings/"] .catalog-filters label{
    gap:5px;
    min-width:0;
    font-size:10px;
  }
  body[data-path="/engagement-rings/"] .catalog-filters select{
    width:100%;
    height:43px;
    padding-inline:9px;
  }
  body[data-path="/engagement-rings/"] .shape-disclosure{
    grid-area:shapes;
    margin:0;
  }
  body[data-path="/engagement-rings/"] .shape-disclosure summary{
    padding:8px 0;
  }
  body[data-path="/engagement-rings/"] .diamond-concept-grid{
    grid-area:products;
  }
  body[data-path="/engagement-rings/"] #no-results{
    grid-area:empty;
  }
  body[data-path="/engagement-rings/"] .catalog-disclaimer{
    grid-area:disclaimer;
  }
}

/* v5.5 — functional ring studio enquiry journey, source-only and no checkout.
   Saved concepts remain local to the customer's browser. */
.builder-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:15px}
.builder-actions .button{flex:1 1 190px;text-align:center}
.builder-help{font-size:12px;line-height:1.65;color:var(--muted);margin:13px 0 4px}
.builder-help a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.builder-help a:hover{color:var(--taupe)}
body[data-path="/quote/"] .custom-design-icon{
  width:145px;min-height:112px;display:grid;place-items:center;
  background:var(--soft);color:var(--taupe);
  font:400 54px/1 var(--serif)
}
body[data-path="/quote/"] .quote-sidebar #copy-enquiry,
body[data-path="/quote/"] .quote-sidebar #download-enquiry,
body[data-path="/quote/"] .quote-sidebar #clear-enquiry{
  display:block;width:100%;margin-top:10px
}
@media(max-width:770px){
  body[data-path="/quote/"] .custom-design-icon{width:100px;min-height:100px;font-size:44px}
  .builder-actions{flex-direction:column}
  .builder-actions .button{flex:0 0 auto;width:100%}
}


/* v5.6 — Cullen-referenced colour palette, applied at owner's request.
   Measured original reference 2026-11-21: action #236339, ink #232323,
   white #FFFFFF, warm base #FAF6EF / #FEFAF5, hairlines #F4F4F4.
   Styling tokens only: independent Diamonds by SAE name, imagery,
   typography, prices, inventory and enquiry-only features stay intact.
   Darker hover shade is a local accessible derivative, not a measured
   Cullen hex. Input outlines are intentionally more visible than hairlines. */
:root{
  --ink:#232323;
  --muted:#666666;
  --line:#F4F4F4;
  --paper:#FFFFFF;
  --cream:#FAF6EF;
  --soft:#FEFAF5;
  --dark:#236339;
  --sae-forest:#236339;
  --sae-forest-dark:#19482B;
  --taupe:#236339;
  --sae-gold:#236339;
}
body{color:var(--ink);background:var(--paper)}
.utility{background:var(--sae-forest);color:#FFFFFF}
.utility-inner a{color:#FFFFFF}
.masthead,.nav{background:#FFFFFF}
.nav{border-top-color:var(--line);border-bottom-color:var(--line)}
.nav a:hover,.nav a[aria-current=page],
.masthead .iconbtn:hover,.footer a:hover,
.footer-grid a:hover{color:var(--sae-forest)}
.saved-count{background:var(--sae-forest);color:#FFFFFF}
.eyebrow,.section-mini-title,.text-cta,
.collection-meta button,.card-bottom a,
.concept-bottom button{color:var(--sae-forest)}
.button{border-color:var(--sae-forest)}
.button-black{background:var(--sae-forest);border-color:var(--sae-forest);color:#FFFFFF}
.button-black:hover{background:var(--sae-forest-dark);border-color:var(--sae-forest-dark)}
.button-outline,.button-line{border-color:var(--sae-forest);color:var(--sae-forest);background:transparent}
.button-outline:hover,.button-line:hover{background:var(--sae-forest);border-color:var(--sae-forest);color:#FFFFFF}
.button:focus-visible,a:focus-visible,button:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px
}
.hero{background:var(--cream)}
.hero-gradient{
  background:linear-gradient(90deg,rgba(250,246,239,.97) 0%,rgba(250,246,239,.86) 27%,rgba(250,246,239,.36) 54%,transparent 83%)
}
.category-top.category-polished{
  background:linear-gradient(90deg,rgba(250,246,239,.97) 0%,rgba(250,246,239,.87) 37%,rgba(250,246,239,.25) 79%),
    url('/assets/hero.jpg') center 57%/cover
}
.category-polished .button{color:var(--sae-forest);border-color:var(--sae-forest)}
.category-polished .button:hover{color:var(--sae-forest-dark);border-color:var(--sae-forest-dark)}
.chapter,.editorial-split,.footer{background:var(--cream)}
.editorial-banner,.closing,.quote-sidebar{background:var(--soft)}
.collection-img,.ring-media,.diamond-concept-img,
.shape-chip{background:var(--soft)}
.shape-choice:hover,.shape-choice.active,
.shape-chip:hover,.shape-chip[aria-pressed=true]{
  border-color:var(--sae-forest);
  color:var(--sae-forest);
  background:var(--soft)
}
.option-grid button.chosen,
.compare-pill[aria-pressed=true]{
  background:var(--sae-forest);
  color:#FFFFFF;
  border-color:var(--sae-forest)
}
.heart-button[aria-pressed=true],
.concept-heart[aria-pressed=true],
button[data-toggle-wishlist][aria-pressed=true]{
  color:var(--sae-forest);
  background:#EAF3ED
}
.catalog-search input,
.catalog-filters select,
.filter-left select,.filter-right select{
  border-color:#BDCABE;
  background:#FFFFFF;
  color:var(--ink)
}
.catalog-search input:focus,
.catalog-filters select:focus{
  border-color:var(--sae-forest);
  outline:2px solid rgba(35,99,57,.18);
  outline-offset:0
}
body[data-path="/quote/"] .custom-design-icon{
  background:var(--soft);
  color:var(--sae-forest)
}
/* Keep photo legibility on smaller screens: warm pale veil + dark ink. */
@media(max-width:770px){
  .hero-gradient{
    background:linear-gradient(0deg,rgba(250,246,239,.98) 0%,rgba(250,246,239,.90) 24%,rgba(250,246,239,.10) 69%,transparent 91%)
  }
}


/* v5.7: functional global search, available on every public page.
   Genuine pages and original illustrative concepts; no pricing/stock claims. */
.search-dialog{
  max-height:min(85vh,780px);
  max-height:min(85dvh,780px);
  overflow-y:auto;
  overscroll-behavior:contain;
  background:var(--paper);
  border:1px solid var(--line);
}
.search-line{border-bottom:1px solid var(--sae-forest)}
.search-line:focus-within{box-shadow:0 2px 0 0 var(--sae-forest)}
#global-search{color:var(--ink)}
#global-search::placeholder{color:#696969}
#global-search-feedback{
  margin:15px 0 6px;
  font-size:12px;
  line-height:1.5;
  color:var(--muted)
}
.global-search-results{
  display:grid;
  gap:0;
  padding:4px 0 10px;
  max-height:45vh;
  max-height:45dvh;
  overflow-y:auto;
  scrollbar-width:thin
}
.global-search-result{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-width:0;
  border-bottom:1px solid var(--line);
  padding:12px 4px;
  text-decoration:none;
  color:var(--ink);
  transition:background-color .18s
}
.global-search-result:hover,
.global-search-result:focus-visible{background:var(--soft)}
.global-search-result>span{min-width:0;display:flex;flex-direction:column;gap:4px}
.global-search-result strong{
  font-family:var(--sans);
  font-size:13px;
  font-weight:550;
  line-height:1.35
}
.global-search-result small{
  font-size:11px;
  line-height:1.45;
  color:var(--muted)
}
.global-search-result em{
  flex-shrink:0;
  color:var(--sae-forest);
  font-size:10px;
  font-style:normal;
  letter-spacing:.035em
}
@media(max-width:770px){
  .search-dialog{
    margin:24px auto 0;
    padding:40px 21px 24px;
    max-height:90vh;
    max-height:90dvh
  }
  .search-line input{font-size:16px}
  .global-search-result{gap:10px}
  .global-search-result em{
    font-size:9px;
    max-width:84px;
    text-align:right
  }
}


/* v5.8 — Cullen-referenced multi-column navigation with original SAE
   information, real destinations and accessible mobile submenus. */
.nav-group{display:flex;align-items:center;position:static;min-width:0}
.nav-group>a{display:block}
.nav-subtoggle{
  border:0;
  border-radius:0;
  background:transparent;
  padding:8px 4px 8px 7px;
  color:var(--ink);
  cursor:pointer;
  font:400 16px/1 var(--sans);
  min-width:24px;
  min-height:36px;
  transition:color .2s,transform .2s
}
.nav-group[data-expanded="true"]>.nav-subtoggle{
  color:var(--sae-forest);
  transform:rotate(180deg)
}
.nav-mega{
  display:none;
  position:absolute;
  z-index:40;
  top:calc(100% - 1px);
  left:0;
  right:0;
  width:100%;
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid #E7E9E4;
  box-shadow:0 18px 28px rgba(25,42,32,.11);
  color:var(--ink)
}
.nav-group[data-expanded="true"]>.nav-mega{display:block}
.nav-mega-inner{
  max-width:1280px;
  margin:auto;
  padding:28px clamp(30px,5vw,75px) 34px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(32px,5vw,80px)
}
.nav-mega-column{min-width:0}
.nav-mega-column h3{
  color:var(--sae-forest);
  font:600 11px/1.4 var(--sans);
  letter-spacing:.07em;
  margin:0 0 13px
}
.nav .nav-mega-column a{
  display:block;
  width:max-content;
  max-width:100%;
  padding:7px 0;
  border:0;
  color:var(--ink);
  font-size:13px;
  font-weight:400;
  letter-spacing:0;
  line-height:1.4;
  text-transform:none;
  white-space:normal
}
.nav .nav-mega-column a:hover,
.nav .nav-mega-column a:focus-visible{color:var(--sae-forest);text-decoration:underline;text-underline-offset:4px}
@media(min-width:771px) and (max-width:1100px){
  .nav-inner{gap:clamp(7px,1.6vw,20px)}
  .nav-group>a{font-size:11px}
  .nav-subtoggle{padding-inline:2px;min-width:18px}
}
@media(max-width:770px){
  .nav.open{
    max-height:calc(100vh - 104px);
    max-height:calc(100dvh - 104px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .nav-group{
    display:grid;
    grid-template-columns:minmax(0,1fr) 46px;
    width:100%;
    align-items:stretch;
    border-bottom:1px solid var(--line)
  }
  .nav-group>a{grid-column:1;min-width:0;border:0}
  .nav-subtoggle{
    grid-column:2;
    min-height:48px;
    padding:8px 14px;
    font-size:20px
  }
  .nav-mega{
    position:static;
    grid-column:1/-1;
    width:100%;
    box-shadow:none;
    border:0;
    background:var(--soft)
  }
  .nav-mega-inner{
    padding:14px 18px 19px;
    display:grid;
    grid-template-columns:1fr;
    gap:18px
  }
  .nav-mega-column h3{font-size:11px;margin-bottom:7px}
  .nav .nav-mega-column a{font-size:13px;padding:8px 0}
}


/* v5.8 — independent, accessible engagement filters using the genuine
   illustrative catalogue. No inventory, carat-price or availability claims. */
/* Phase 6B: verified 1440/768/390 screenshot parity for the primary
   filter action: 97px-wide filled forest control, without fake price/stock. */
body[data-path="/engagement-rings/"] .collection-meta .filter-drawer-trigger{
  display:inline-flex;
  gap:6px;
  align-items:center;
  justify-content:center;
  min-width:97px;
  min-height:42px;
  padding:8px 12px;
  border:1px solid var(--sae-forest);
  background:var(--sae-forest);
  color:#FFFFFF;
  font:500 14px/1.3 var(--sans);
  letter-spacing:.02em;
  cursor:pointer;
  white-space:nowrap
}
body[data-path="/engagement-rings/"] .collection-meta .filter-drawer-trigger:hover{
  background:var(--sae-forest-dark);
  border-color:var(--sae-forest-dark)
}
body[data-path="/engagement-rings/"] .collection-meta .filter-drawer-trigger:focus-visible{
  outline:2px solid var(--sae-forest-dark);
  outline-offset:3px
}
.filter-drawer-open{overflow:hidden}
#filter-drawer-overlay{
  position:fixed;
  inset:0;
  z-index:220;
  display:flex;
  justify-content:flex-start;
  align-items:stretch
}
.filter-drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(16,24,19,.45)
}
.filter-drawer{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:0;
  width:min(420px,100%);
  min-width:0;
  height:100%;
  background:var(--paper);
  color:var(--ink);
  box-shadow:14px 0 40px rgba(22,33,26,.14);
  outline:0
}
.filter-drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:27px 30px 15px;
  gap:20px;
  border-bottom:1px solid var(--line)
}
.filter-drawer-header h2{
  font:400 30px/1.12 var(--serif);
  letter-spacing:-.015em;
  margin:0
}
.filter-drawer-close{
  width:42px;
  height:42px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  font:300 30px/1 var(--sans);
  background:transparent;
  color:var(--ink);
  border:0;
  cursor:pointer
}
.filter-drawer-intro{
  font:400 12px/1.65 var(--sans);
  color:var(--muted);
  padding:16px 30px 4px;
  margin:0
}
.filter-drawer-groups{
  flex:1;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:5px 30px 25px
}
.filter-drawer-group{
  padding:21px 0 25px;
  margin:0;
  border:0;
  border-bottom:1px solid var(--line);
  min-width:0
}
.filter-drawer-group legend{
  font:600 12px/1.4 var(--sans);
  color:var(--ink);
  letter-spacing:.04em;
  padding:0 0 13px
}
.filter-drawer-choices{
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:9px
}
.filter-choice{
  border:1px solid #CCD3CD;
  background:var(--paper);
  color:var(--ink);
  min-height:40px;
  padding:10px 13px;
  border-radius:0;
  font:400 12px/1.25 var(--sans);
  cursor:pointer
}
.filter-choice:hover{background:var(--soft);border-color:var(--sae-forest)}
.filter-choice[aria-pressed="true"]{
  color:#FFFFFF;
  background:var(--sae-forest);
  border-color:var(--sae-forest)
}
.filter-drawer-footer{
  padding:17px 30px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-top:1px solid var(--line);
  background:var(--paper)
}
.filter-drawer-reset{
  min-height:46px;
  border:0;
  background:transparent;
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--sae-forest);
  white-space:nowrap;
  font:500 12px/1.4 var(--sans);
  cursor:pointer
}
.filter-drawer-footer .button{
  min-height:46px;
  flex:1;
  padding:12px 14px;
  font:500 12px/1.4 var(--sans);
  letter-spacing:.035em
}
@media(max-width:770px){
  body[data-path="/engagement-rings/"] .collection-meta{gap:8px}
  body[data-path="/engagement-rings/"] .collection-meta .filter-drawer-trigger{
    min-width:97px;
    min-height:40px;
    padding:6px 12px;
    font-size:14px
  }
  body[data-path="/engagement-rings/"] .collection-meta>span,
  body[data-path="/engagement-rings/"] .collection-meta>#reset-concept-filters{
    font-size:11px;
    white-space:nowrap
  }
  .filter-drawer-header{padding:20px 20px 12px}
  .filter-drawer-header h2{font-size:27px}
  .filter-drawer-intro{padding:14px 20px 4px}
  .filter-drawer-groups{padding:2px 20px 22px}
  .filter-drawer-footer{padding:15px 20px 20px}
}


/* Phase 8I: measured 390px comparison. Use a true left filter drawer
   on phones, consistent with the desktop/tablet modal and public reference.
   Keep the same honest concept-only filters, scroll area and focus behavior. */
@media(max-width:700px){
  #filter-drawer-overlay{
    align-items:stretch;
    justify-content:flex-start;
  }
  .filter-drawer{
    width:min(360px,calc(100vw - 32px));
    max-width:100%;
    height:100%;
    max-height:100%;
    box-shadow:14px 0 40px rgba(22,33,26,.14);
  }
  .filter-drawer-footer{
    padding-bottom:max(20px,env(safe-area-inset-bottom));
  }
}


/* v5.9 — guided ring studio: step progress, real input choices, honest
   image preview and local-only final enquiry; no fabricated product render. */
.builder-wizard-header{
  padding:4px 0 19px;
  border-bottom:1px solid var(--line);
  margin-bottom:8px
}
.builder-wizard-header>p{
  font:500 10px/1.5 var(--sans);
  letter-spacing:.14em;
  color:var(--sae-forest);
  margin:0 0 15px
}
.builder-wizard-steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px
}
.builder-wizard-steps li{min-width:0}
.builder-wizard-step{
  display:block;
  width:100%;
  min-height:48px;
  padding:9px 4px;
  text-align:left;
  border:0;
  border-top:2px solid #CBD5CD;
  background:transparent;
  color:var(--muted);
  font:400 11px/1.35 var(--sans);
  cursor:pointer;
  white-space:normal;
  transition:color .2s,border-color .2s
}
.builder-wizard-step[aria-current="step"]{
  border-top-color:var(--sae-forest);
  color:var(--sae-forest);
  font-weight:600
}
.builder-wizard-step:hover{color:var(--sae-forest)}
.builder-panel>.builder-step:not([hidden]){
  padding:27px 0 30px;
  min-height:155px;
  border-bottom:0
}
.builder-panel>.builder-step>span{
  color:var(--ink);
  letter-spacing:.12em;
  font-size:12px;
  font-weight:500
}
.builder-wizard-controls{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-top:1px solid var(--line);
  padding:21px 0 8px
}
.builder-wizard-controls .button{
  min-height:46px;
  min-width:145px;
  padding:12px 17px;
  letter-spacing:.035em;
  font:500 12px/1.3 var(--sans)
}
.builder-wizard-controls .button:last-child{margin-left:auto}
.builder-summary:not([hidden]){background:var(--soft);border:1px solid var(--line);margin-top:16px}
.builder-live-preview{
  position:absolute;
  z-index:1;
  bottom:82px;
  right:22px;
  max-width:min(60%,330px);
  padding:12px 15px;
  margin:0;
  color:var(--ink);
  background:rgba(255,255,255,.88);
  font:500 11px/1.55 var(--sans);
  box-shadow:0 3px 15px rgba(0,0,0,.07)
}
@media(max-width:770px){
  .builder-wizard-steps{gap:6px}
  .builder-wizard-step{font-size:10px;min-height:56px}
  .builder-wizard-controls .button{flex:1;min-width:0}
  .builder-live-preview{
    left:18px;
    right:18px;
    bottom:72px;
    max-width:none
  }
}


/* v5.9 — truthful product-detail viewing: one concept image, larger viewer,
   original design content and optional metal preference for an enquiry. */
.detail-main-zoomable{position:relative;cursor:zoom-in}
.detail-image-zoom{
  position:absolute;
  bottom:20px;
  right:20px;
  padding:12px 16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.9);
  color:var(--ink);
  font:500 11px/1.3 var(--sans);
  cursor:pointer;
  letter-spacing:.035em
}
.detail-image-zoom:hover{color:var(--sae-forest);border-color:var(--sae-forest)}
.detail-thumbs{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  color:var(--muted);
  line-height:1.5
}
.detail-image-thumb{
  flex-shrink:0;
  display:block;
  width:72px;
  height:88px;
  padding:3px;
  background:var(--paper);
  border:1px solid var(--sae-forest);
  cursor:pointer
}
.detail-image-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.image-viewer-open{overflow:hidden}
#concept-image-viewer{
  position:fixed;
  inset:0;
  z-index:250;
  display:grid;
  place-items:center;
  padding:clamp(20px,4vw,50px)
}
.detail-image-backdrop{position:absolute;inset:0;background:rgba(12,17,13,.88)}
.detail-image-viewer-content{
  position:relative;
  max-width:min(900px,95vw);
  max-height:94vh;
  max-height:94dvh;
  display:flex;
  flex-direction:column;
  gap:10px;
  background:var(--paper);
  padding:20px;
  box-shadow:0 12px 50px rgba(0,0,0,.16)
}
.detail-image-viewer-content img{
  object-fit:contain;
  width:100%;
  min-width:0;
  max-height:73vh;
  max-height:73dvh
}
.detail-image-viewer-content p{
  font:400 12px/1.5 var(--sans);
  color:var(--muted);
  margin:0;
  padding-right:20px
}
.detail-image-close{
  position:absolute;
  z-index:2;
  top:20px;
  right:20px;
  border:0;
  color:var(--ink);
  background:rgba(255,255,255,.92);
  cursor:pointer;
  width:40px;
  height:40px;
  font:300 30px/1 var(--sans)
}
.detail-metal-preferences{
  border-bottom:1px solid var(--line);
  padding:8px 0 22px;
  margin:-8px 0 22px
}
.detail-metal-preferences h2{
  margin:0 0 13px;
  font:500 13px/1.4 var(--sans);
  color:var(--ink)
}
.detail-metal-options{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px
}
.detail-metal-choice{
  display:flex;
  gap:8px;
  align-items:center;
  background:var(--paper);
  border:1px solid #CFD6CE;
  padding:9px 12px;
  min-height:44px;
  color:var(--ink);
  cursor:pointer;
  font:400 11px/1.35 var(--sans)
}
.detail-metal-choice[aria-pressed="true"]{border-color:var(--sae-forest);color:var(--sae-forest);background:var(--soft)}
.detail-metal-choice:hover{border-color:var(--sae-forest)}
.detail-metal-dot{display:inline-block;width:18px;height:18px;border:1px solid #B9B9B2;border-radius:50%;flex-shrink:0}
.detail-metal-yellow{background:linear-gradient(145deg,#F8D36D,#CBA34A)}
.detail-metal-white{background:linear-gradient(145deg,#F2F2EF,#BFC1C0)}
.detail-metal-platinum{background:linear-gradient(145deg,#DFE3E5,#A2B0B6)}
.detail-metal-feedback{margin:12px 0 0;color:var(--muted);font:400 11px/1.5 var(--sans)}
@media(max-width:770px){
  #concept-image-viewer{padding:12px}
  .detail-image-viewer-content{padding:12px;max-width:100%}
  .detail-image-close{top:12px;right:12px}
  .detail-metal-choice{padding:8px 10px;min-height:42px}
}

/* Phase 1 measured layout changes for the engagement catalogue and ring studio. */
@media (700px < width <= 770px){
  body[data-path="/engagement-rings/"] .new-catalog{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,2.6fr);
    column-gap:12px;
  }
  body[data-path="/engagement-rings/"] .new-catalog > :not(.catalog-search,.catalog-filters){
    grid-column:1/-1;
  }
  body[data-path="/engagement-rings/"] .catalog-search{
    align-self:end;
    margin:0 0 8px;
  }
  body[data-path="/engagement-rings/"] .catalog-search input{height:40px}
  body[data-path="/engagement-rings/"] .catalog-filters{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    overflow:visible;
    padding:0;
    border:0;
    margin:9px 0 8px;
  }
  body[data-path="/engagement-rings/"] .catalog-filters label{width:auto}

  .detail-layout{
    grid-template-columns:minmax(0,1.24fr) minmax(0,1fr);
    gap:40px;
  }
  .detail-page{padding:14px 40px 75px}
  .detail-page .breadcrumbs{margin-bottom:18px}
  .detail-gallery{min-width:0}
}

.builder-title{
  max-width:1510px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:4px 24px;
  padding-block:3px 8px;
  text-align:left;
}
.builder-title .breadcrumbs{
  grid-column:1/-1;
  margin:0;
  line-height:1.35;
}
.builder-title h1{
  font-size:clamp(26px,2.25vw,32px);
  margin:0;
}
.builder-title > p:last-child{
  font-size:12px;
  line-height:1.45;
  margin:0;
}
.builder-grid{align-items:start}
.builder-visual{
  height:clamp(400px,38vw,560px);
  min-height:0;
  max-height:none;
  overflow:hidden;
}
.builder-wizard-header{
  padding-bottom:10px;
  margin-bottom:4px;
}
.builder-wizard-header > p{margin-bottom:8px}
.builder-panel > .builder-step:not([hidden]){
  padding:16px 0 18px;
  min-height:0;
}
@media (700px < width <= 770px){
  .builder-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:20px;
  }
}
@media(max-width:700px){
  .builder-title{
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    padding-block:12px 16px;
  }
  .builder-grid{gap:16px}
  .builder-visual{height:auto}
  .builder-visual img{
    height:clamp(140px,36vw,210px);
    object-position:center;
  }
  .builder-note,.builder-live-preview{
    position:static;
    max-width:none;
    padding:6px 12px;
    box-shadow:none;
  }
  .builder-live-preview{border-top:1px solid var(--line)}
}

/* Phase 2 — audit-guided, original SAE navigation, footer and guide refinements.
   Reference viewport widths: 1440 / 768 / 390; no inventory or checkout changes. */
.mobile-nav-head,.mobile-nav-backdrop{display:none}
@media(max-width:770px){
  body.mobile-menu-open{overflow:hidden}
  .mobile-nav-backdrop:not([hidden]){
    position:fixed;
    inset:0;
    z-index:198;
    display:block;
    background:rgba(14,25,18,.48);
  }
  .nav{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:auto;
    z-index:199;
    width:min(350px,calc(100vw - 32px));
    height:100vh;
    height:100dvh;
    max-height:none;
    overflow-y:auto;
    overscroll-behavior:contain;
    border-top:0;
    box-shadow:12px 0 36px rgba(15,32,22,.2);
  }
  .nav.open{
    max-height:100vh;
    max-height:100dvh;
    overflow-y:auto;
  }
  .mobile-nav-head{
    position:sticky;
    top:0;
    z-index:2;
    display:flex;
    min-height:72px;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 15px 12px 22px;
    border-bottom:1px solid var(--line);
    background:var(--paper);
  }
  .mobile-nav-head>span{
    color:var(--sae-forest);
    font:600 11px/1.4 var(--sans);
    letter-spacing:.055em;
  }
  .mobile-nav-close{
    display:grid;
    place-items:center;
    min-width:44px;
    min-height:44px;
    border:0;
    background:transparent;
    color:var(--ink);
    font:300 30px/1 var(--sans);
    cursor:pointer;
  }
  .mobile-nav-close:hover{color:var(--sae-forest)}
  .nav-inner{min-height:0;padding:6px 16px 26px}
  .nav-mega-inner{
    max-height:48vh;
    max-height:48dvh;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}
@media(max-width:500px){
  .nav{width:min(312px,calc(100vw - 32px))}
}
@media(min-width:771px){
  .mobile-nav-head,.mobile-nav-backdrop{display:none!important}
}

/* Restore and clearly distinguish the genuine concept/store disclaimer.
   The older responsive base styles hid it on widths <= 1160px. */
.footer-grid>div:last-child{display:block}
.footer-grid p,.footer-grid a:not(.footer-brand){color:#4f5950}
.footer-grid h3{color:var(--ink)}
.footer-base{
  border-top-color:#d6d8d1;
  color:#576058;
}
@media(max-width:1160px){
  .footer-grid>div:last-child{
    display:block;
    grid-column:1/-1;
    max-width:680px;
    padding-top:18px;
    border-top:1px solid var(--line);
  }
}
@media(max-width:770px){
  .footer{padding:56px 22px 26px}
  .footer-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:30px 18px;
    margin-bottom:46px;
  }
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-grid>div:last-child{
    grid-column:1/-1;
    max-width:none;
    padding-top:17px;
  }
  .footer-grid h3{margin-bottom:14px}
  .footer-grid a:not(.footer-brand){margin-bottom:12px}
  .footer-base{gap:10px}
}

/* The 68-state audit measured oversized headings on the three additional
   collection/guidance templates. Do not imply live diamond inventory. */
@media(min-width:771px){
  body[data-path="/wedding-rings/"] .general-top h1,
  body[data-path="/jewellery/"] .general-top h1{
    font-size:48px;
    line-height:1.1;
  }
  body[data-path="/loose-diamonds/"] .general-top h1{
    font-size:32px;
    line-height:1.16;
  }
}
@media(max-width:770px){
  body[data-path="/loose-diamonds/"] .general-top h1{
    font-size:28px;
    line-height:1.16;
  }
}

/* Compact education entry and a usable index of its existing factual topics. */
body[data-path="/education/"] .education-hero{
  padding-top:6px;
  padding-bottom:34px;
}
body[data-path="/education/"] .education-hero h1{
  font:400 32px/1.16 var(--serif);
  letter-spacing:-.012em;
  margin:14px 0 12px;
}
.education-topic-index{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px;
  margin-top:26px;
}
.education-topic-index a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 15px;
  border:1px solid #d0d8ce;
  color:var(--sae-forest);
  background:var(--paper);
  font:500 12px/1.35 var(--sans);
  text-decoration:none;
}
.education-topic-index a:hover,
.education-topic-index a:focus-visible{
  border-color:var(--sae-forest);
  background:var(--soft);
}
.education-grid article[id],
.education-body>div[id]{scroll-margin-top:24px}
@media(max-width:770px){
  body[data-path="/education/"] .education-hero{
    padding-top:4px;
    padding-bottom:26px;
  }
  body[data-path="/education/"] .education-hero h1{font-size:30px}
  .education-topic-index{gap:8px;margin-top:18px}
  .education-topic-index a{padding:9px 12px;min-height:44px}
}

/* Phase 3: photography-first visual direction from the Cullen/SAE audit.
   Uses original AI-generated illustrative artwork and existing SAE copy, not reference media.
   Deliberately isolates the homepage and engagement hero from other pages. */
body[data-path="/"] .hero{
  position:relative;
  height:740px;
  min-height:740px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  overflow:hidden;
  background:#14261e;
  isolation:isolate;
}
body[data-path="/"] .hero-img{
  position:absolute;
  inset:0;
  background-image:url('/assets/sae-editorial-hero.avif'),url('/assets/hero.jpg');
  background-size:cover,cover;
  background-position:center center,center 52%;
  filter:brightness(.88) saturate(.96);
  transform:none;
}
body[data-path="/"] .hero-gradient{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,
    rgba(9,23,16,.55) 0%,
    rgba(9,23,16,.25) 43%,
    rgba(9,23,16,.05) 100%);
}
body[data-path="/"] .hero-copy{
  position:relative;
  z-index:1;
  width:min(570px,52%);
  max-width:570px;
  margin-left:var(--sae-page-gap);
  padding:0;
  text-align:left;
  color:#fff;
}
body[data-path="/"] .hero-copy .eyebrow{color:#fff}
body[data-path="/"] .hero-copy h1{
  font:400 48px/1.1 var(--serif);
  letter-spacing:-.014em;
  margin:14px 0 20px;
  max-width:720px;
  color:#fff;
}
body[data-path="/"] .hero-copy h1 em{
  font-style:normal;
  font-weight:400;
}
body[data-path="/"] .hero-copy p{
  margin:0 0 25px;
  max-width:510px;
  color:#fff;
  font-size:14px;
  line-height:1.65;
}
body[data-path="/"] .hero-buttons{
  justify-content:flex-start;
  align-items:center;
  gap:12px;
}
body[data-path="/"] .hero-buttons .button-black{
  color:#fff;
  background:var(--sae-forest);
  border-color:var(--sae-forest);
}
body[data-path="/"] .hero-buttons .button-line{
  color:var(--ink);
  background:#fff;
  border-color:#fff;
}
body[data-path="/"] .hero-buttons .button-line:hover{
  color:#fff;
  background:var(--sae-forest);
  border-color:var(--sae-forest);
}
body[data-path="/"] .hero-bottom{
  position:absolute;
  bottom:24px;
  left:var(--sae-page-gap);
  transform:none;
  max-width:92%;
  width:max-content;
  text-align:left;
  color:#fff;
  letter-spacing:.11em;
}

/* Product listing: photography and low-set text, rather than a pale text slab.
   Preserve the Phase 1 hero dimensions and the tested first-card position. */
body[data-path="/engagement-rings/"] .category-top.category-polished{
  align-items:flex-end;
  background:
    linear-gradient(90deg,rgba(9,23,16,.83) 0%,
      rgba(9,23,16,.43) 44%,rgba(9,23,16,.14) 100%),
    url('/assets/sae-editorial-hero.avif') center 57%/cover,
    url('/assets/hero.jpg') center 57%/cover;
}
body[data-path="/engagement-rings/"] .category-polished .breadcrumbs,
body[data-path="/engagement-rings/"] .category-polished .breadcrumbs a,
body[data-path="/engagement-rings/"] .category-polished .eyebrow,
body[data-path="/engagement-rings/"] .category-polished h1,
body[data-path="/engagement-rings/"] .category-polished .category-inner>p{
  color:#fff;
}
body[data-path="/engagement-rings/"] .category-polished .category-inner>p{
  max-width:530px;
}
body[data-path="/engagement-rings/"] .category-polished .button{
  min-height:44px;
  padding:11px 17px;
  color:#fff;
  border:1px solid rgba(255,255,255,.84);
  background:rgba(11,25,17,.24);
}
body[data-path="/engagement-rings/"] .category-polished .button:hover{
  color:var(--ink);
  background:#fff;
  border-color:#fff;
}
@media(max-width:770px){
  /* Cullen's responsive hero begins beneath a slim announcement band.
     SAE's real header stays accessible above its own media, not copied. */
  body[data-path="/"] .utility{height:40px;min-height:40px}
  body[data-path="/"] .masthead{
    position:absolute;
    top:40px;
    left:0;
    right:0;
    z-index:45;
    height:74px;
    color:#fff;
    background:rgba(9,23,16,.16);
    border-bottom:1px solid rgba(255,255,255,.24);
  }
  body[data-path="/"] .masthead .iconbtn,
  body[data-path="/"] .masthead .logotype,
  body[data-path="/"] .masthead .logotype small{
    color:#fff;
  }
  body[data-path="/"] .hero{
    height:calc(100vh - 40px);
    height:calc(100dvh - 40px);
    min-height:740px;
    max-height:984px;
    justify-content:center;
    align-items:flex-end;
  }
  body[data-path="/"] .hero-img{
    background-image:url('/assets/sae-editorial-hero-mobile.avif'),url('/assets/sae-editorial-hero.avif'),url('/assets/hero.jpg');
    background-size:cover,cover,cover;
    background-position:center center,center center,65% center;
  }
  body[data-path="/"] .hero-gradient{
    background:linear-gradient(180deg,
      rgba(7,19,12,.51) 0%,
      rgba(7,19,12,.43) 35%,
      rgba(7,19,12,.79) 100%);
  }
  body[data-path="/"] .hero-copy{
    width:100%;
    max-width:610px;
    margin:0 auto 72px;
    padding:0 22px;
    text-align:center;
  }
  body[data-path="/"] .hero-copy h1{
    font-size:clamp(40px,6vw,48px);
    line-height:1.1;
  }
  body[data-path="/"] .hero-copy p{
    font-size:13px;
    line-height:1.55;
    margin:0 auto 24px;
  }
  body[data-path="/"] .hero-buttons{
    flex-direction:column;
    align-items:center;
  }
  body[data-path="/"] .hero-buttons .button{
    width:min(100%,280px);
    justify-content:center;
  }
  body[data-path="/"] .hero-bottom{
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    width:max-content;
    max-width:calc(100% - 36px);
    text-align:center;
    font-size:8px;
    line-height:1.55;
    white-space:normal;
  }
  body[data-path="/engagement-rings/"] .category-polished .category-inner>p{
    max-width:410px;
  }
}
@media(max-width:480px){
  /* Keep the ring toward the right so centred type stays on dark negative space. */
  body[data-path="/"] .hero-img{
    background-position:30% center,center center,65% center;
  }
  body[data-path="/"] .hero-copy{padding-inline:20px}
  body[data-path="/"] .hero-copy h1{font-size:40px}
  body[data-path="/"] .hero-buttons .button-line{display:inline-flex}
  body[data-path="/engagement-rings/"] .category-top.category-polished{
    background-position:center,42% center,42% center;
  }
}


/* Phase 7A - real DOM order makes Search precede Filters on narrow phones.
   Keep the proven tablet two-column row and first-card position intact. */
@media (700px < width <= 770px){
  body[data-path="/engagement-rings/"] .new-catalog > .collection-title{grid-row:1;grid-column:1/-1}
  body[data-path="/engagement-rings/"] .new-catalog > .catalog-search{grid-row:2;grid-column:1}
  body[data-path="/engagement-rings/"] .new-catalog > .catalog-filters{grid-row:2;grid-column:2}
}
@media (max-width:700px){
  body[data-path="/engagement-rings/"] .catalog-search{margin-top:7px}
}


/* Phase 7C: removable applied filters, without changing catalogue card geometry. */
body[data-path="/engagement-rings/"] .active-concept-filters{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  min-width:0;padding:8px 0 10px;
}
body[data-path="/engagement-rings/"] .active-concept-filters[hidden]{display:none!important}
body[data-path="/engagement-rings/"] .active-concept-chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:35px;max-width:100%;padding:7px 12px;
  border:1px solid #BDCABE;border-radius:2px;
  background:var(--soft);color:var(--sae-forest);
  font:500 11px/1.4 var(--sans);text-align:left;
  overflow-wrap:anywhere;cursor:pointer;
}
body[data-path="/engagement-rings/"] .active-concept-chip:hover{
  border-color:var(--sae-forest);background:#EAF3ED;
}
body[data-path="/engagement-rings/"] .active-concept-chip:focus-visible{
  outline:2px solid var(--sae-forest);outline-offset:3px;
}
@media(min-width:771px){
  body[data-path="/engagement-rings/"] .active-concept-filters{
    grid-column:1/-1;grid-row:3;align-self:center;
  }
  body[data-path="/engagement-rings/"] .shape-disclosure{grid-row:4}
  body[data-path="/engagement-rings/"] .diamond-concept-grid{grid-row:5}
  body[data-path="/engagement-rings/"] #no-results{grid-row:6}
  body[data-path="/engagement-rings/"] .catalog-disclaimer{grid-row:7}
}
@media (700px < width <= 770px){
  body[data-path="/engagement-rings/"] .active-concept-filters{grid-column:1/-1;grid-row:3}
}


/* Phase 7D: measured product-detail composition, scoped to concept pages.
   At 1440px, the gallery target is approximately 749px wide and 40px inset.
   Keep the original single 4:5 concept image uncropped and clearly disclosed. */
@media(min-width:1101px){
  body[data-path^="/products/"] .detail-page.container{
    padding:18px clamp(34px,2.8vw,42px) 96px;
  }
  body[data-path^="/products/"] .detail-page .breadcrumbs{
    margin-bottom:18px;
  }
  body[data-path^="/products/"] .detail-layout{
    grid-template-columns:minmax(0,1.3fr) minmax(360px,1fr);
    gap:clamp(28px,2.5vw,36px);
    align-items:start;
  }
  body[data-path^="/products/"] .detail-gallery{min-width:0}
  body[data-path^="/products/"] .detail-main img{
    width:100%;aspect-ratio:4/5;object-fit:contain;object-position:center;
  }
}
/* Desktop/tablet gap rules remain unchanged outside original concept pages. */
body[data-path^="/products/"] .detail-share-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:9px 14px;
  margin:11px 0 2px;
  min-height:32px;
}
body[data-path^="/products/"] .detail-share-link{
  border:0;border-bottom:1px solid currentColor;
  background:transparent;color:var(--sae-forest);
  padding:6px 0;text-align:left;
  font:600 11px/1.45 var(--sans);
  letter-spacing:.025em;cursor:pointer;
}
body[data-path^="/products/"] .detail-share-link:hover{color:var(--sae-forest-dark)}
body[data-path^="/products/"] .detail-share-link:focus-visible{
  outline:2px solid var(--sae-forest);outline-offset:3px;
}
body[data-path^="/products/"] .detail-share-feedback{
  min-width:0;max-width:100%;color:var(--muted);
  font:400 11px/1.5 var(--sans);overflow-wrap:anywhere;
}
@media(max-width:700px){
  body[data-path^="/products/"] .detail-page.container{
    padding-top:12px;padding-inline:clamp(15px,4.5vw,22px);padding-bottom:70px;
  }
  body[data-path^="/products/"] .detail-page .breadcrumbs{
    margin-bottom:12px;line-height:1.5;
  }
  body[data-path^="/products/"] .detail-layout{gap:18px}
  body[data-path^="/products/"] .detail-thumbs{
    display:grid;grid-template-columns:72px minmax(0,1fr);
    gap:3px 12px;align-items:center;line-height:1.45;
  }
  body[data-path^="/products/"] .detail-image-thumb{grid-row:span 2}
  body[data-path^="/products/"] .detail-image-zoom{
    right:12px;bottom:12px;padding:10px 12px;
  }
  body[data-path^="/products/"] .detail-info h1{
    font-size:clamp(34px,9vw,44px);line-height:1.12;
  }
  body[data-path^="/products/"] .detail-lede{line-height:1.65}
}


/* Phase 8A — original SAE mobile homepage visual refinement.
   Prior 390px measured heading y ~460px; narrow-viewport hero filled nearly
   the full screen. Shorten the hero to bring its original editorial heading
   and real navigation CTA into view earlier. Do NOT alter tablet, desktop,
   jewellery photographs, copy, collection cards or availability. */
@media(max-width:480px){
  body[data-path="/"] .hero{
    height:680px; /* fallback where dynamic viewport units are unavailable */
    height:clamp(640px,calc(100dvh - 170px),710px);
    min-height:640px;
    max-height:710px;
  }
}


/* Phase 8B — one measured desktop masthead / navigation composition.
   Widen the brand's white space without lengthening the collection funnel.
   At >=1101px: masthead +36px, navigation -8px, and the collection
   hero -28px, so the first filters/products do not shift down. */
@media(min-width:1101px){
  .masthead{height:112px}
  .masthead .iconbtn{width:44px;height:44px}
  .nav-inner{min-height:42px}
  .nav .nav-inner>a,
  .nav .nav-group>a{padding:10px 0;line-height:20px}
  .nav .nav-subtoggle{min-height:36px;padding-top:5px;padding-bottom:5px}
  body[data-path="/engagement-rings/"] .category-top.category-polished{
    height:452px;
    min-height:452px;
  }
}
/* Phase 8C — honest local enquiry preparation, never a false contact form.
   The footer's existing real links and the entire enquiry-bag workflow remain. */
body[data-path="/contact/"] .contact-journey{
  padding-top:clamp(48px,6vw,88px);
  padding-bottom:clamp(64px,7vw,104px);
}
body[data-path="/contact/"] .contact-journey .center-title{
  max-width:760px;
  margin-bottom:34px;
}
body[data-path="/contact/"] .contact-journey-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2.3vw,30px);
  padding:0;
  margin:0;
  list-style:none;
}
body[data-path="/contact/"] .contact-journey-steps li{
  border-top:1px solid var(--line);
  padding:20px 4px 12px;
  min-width:0;
}
body[data-path="/contact/"] .contact-step-number{
  display:block;
  font:500 11px/1.5 var(--sans);
  color:var(--sae-forest);
  letter-spacing:.1em;
}
body[data-path="/contact/"] .contact-journey-steps h3{
  margin:12px 0;
  font:400 clamp(22px,2vw,28px)/1.25 var(--serif);
  color:var(--ink);
}
body[data-path="/contact/"] .contact-journey-steps p{
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  margin:0;
}
body[data-path="/contact/"] .contact-journey-steps a,
body[data-path="/contact/"] .contact-channel-note a{
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--sae-forest);
}
body[data-path="/contact/"] .contact-channel-note{
  max-width:900px;
  border-top:1px solid var(--line);
  margin:38px auto 0;
  padding-top:22px;
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  text-align:center;
}
body[data-path="/contact/"] .contact-channel-note strong{
  color:var(--ink);
  font-weight:600;
}
body[data-path="/contact/"] .contact-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
@media(max-width:770px){
  body[data-path="/contact/"] .contact-journey-steps{
    grid-template-columns:1fr;
    gap:12px;
  }
  body[data-path="/contact/"] .contact-journey-steps li{
    padding:18px 0;
  }
  body[data-path="/contact/"] .contact-actions .button{
    width:100%;
    max-width:360px;
  }
}


/* Phase 8D — original featured concept imagery, direct detail journeys and
   optional browser-local compare. No real inventory, quotes or order states. */
body[data-path="/"] .ring-card .ring-copy>p{margin-bottom:9px}
body[data-path="/"] .featured-compare-actions{min-height:34px;margin:0 0 11px}
body[data-path="/"] .featured-compare{
  appearance:none;
  background:transparent;
  color:var(--sae-forest);
  border:0;
  border-bottom:1px solid currentColor;
  border-radius:0;
  padding:7px 0 5px;
  font:600 10px/1.4 var(--sans);
  letter-spacing:.06em;
  cursor:pointer;
  text-align:left;
}
body[data-path="/"] .featured-compare:hover,
body[data-path="/"] .featured-compare:focus-visible{color:var(--sae-forest-dark)}
body[data-path="/"] .featured-compare[aria-pressed="true"]{
  color:var(--sae-forest-dark);
  border-bottom-color:var(--sae-forest);
}
body[data-path="/"] .center-cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
}
body[data-path="/"] .featured-compare-feedback{
  min-height:22px;
  margin:13px auto 0;
  max-width:720px;
  text-align:center;
  color:var(--sae-forest-dark);
  font-size:12px;
  line-height:1.65;
}
@media(max-width:480px){
  body[data-path="/"] .center-cta{padding-inline:16px}
  body[data-path="/"] .center-cta .button{
    width:100%;
    max-width:360px;
  }
}


/* Phase 8D screenshot correction: never leave the fourth featured concept
   isolated in a second row on desktop. Tablet/phone geometry is unchanged. */
@media(min-width:1101px){
  body[data-path="/"] .product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(13px,1.4vw,22px);
  }
}


/* Phase 8E — original, truthful category guides with accessible navigation.
   These are educational pages, not searchable merchandise/real-stock listings. */
.sae-category-guide .center-title,
.sae-category-explore .center-title{margin-inline:auto;text-align:center;max-width:830px}
.sae-category-guide-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(15px,2vw,30px);
}
.sae-category-guide-card{
  min-width:0;
  border-top:1px solid var(--line);
  padding:25px 8px 10px 0;
}
.sae-category-step{
  display:block;
  font:600 11px/1.5 var(--sans);
  color:var(--sae-forest);
  letter-spacing:.1em;
}
.sae-category-guide-card h3{
  margin:14px 0;
  font:400 clamp(25px,2.5vw,34px)/1.18 var(--serif);
  letter-spacing:-.025em;
  color:var(--ink);
}
.sae-category-guide-card p,
.sae-category-image-copy p{
  font:400 14px/1.8 var(--sans);
  color:var(--muted);
  margin:0;
}
.sae-category-explore{padding-top:12px}
.sae-category-image-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(18px,3vw,42px);
}
.sae-category-image-card{
  min-width:0;
  background:#fff;
}
.sae-category-image-link{
  display:block;
  width:100%;
  overflow:hidden;
  aspect-ratio:4/5;
  background:var(--soft);
}
.sae-category-image-link img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.sae-category-image-copy{padding:19px 2px 5px}
.sae-category-image-copy h3{
  font:400 clamp(24px,2.5vw,33px)/1.18 var(--serif);
  letter-spacing:-.025em;
  margin:0 0 9px;
}
.sae-category-image-copy h3 a{text-decoration:none;color:var(--ink)}
.sae-category-text-link,
.sae-category-related a{
  color:var(--sae-forest-dark);
  text-decoration:underline;
  text-underline-offset:4px;
}
.sae-category-text-link{
  display:inline-block;
  margin-top:18px;
  font:600 11px/1.6 var(--sans);
  letter-spacing:.07em;
}
.sae-category-disclosure{
  max-width:850px;
  margin:32px auto 0;
  padding:19px 22px;
  background:var(--soft);
  color:var(--muted);
  text-align:center;
  font:400 13px/1.8 var(--sans);
}
.sae-category-related{
  margin:23px auto 0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:15px 30px;
  font:600 12px/1.8 var(--sans);
}
.sae-category-image-card a:focus-visible,
.sae-category-related a:focus-visible{
  outline:3px solid var(--sae-forest);
  outline-offset:5px;
}
@media(max-width:770px){
  .sae-category-guide-grid{grid-template-columns:1fr;gap:11px}
  .sae-category-guide-card{padding:17px 0}
  .sae-category-image-grid{gap:14px}
  .sae-category-image-copy{padding-top:13px}
  .sae-category-image-copy h3{font-size:clamp(21px,4.8vw,28px)}
  .sae-category-image-copy p{font-size:12px;line-height:1.7}
  .sae-category-text-link{font-size:10px}
}
@media(max-width:480px){
  .sae-category-image-grid{grid-template-columns:1fr}
  .sae-category-image-card{max-width:500px;margin-inline:auto}
  .sae-category-image-copy h3{font-size:27px}
  .sae-category-image-copy p{font-size:13px}
  .sae-category-disclosure{padding:18px 16px}
}
@media(prefers-reduced-motion:no-preference){
  .sae-category-image-link img{transition:transform .3s ease}
  .sae-category-image-link:hover img{transform:scale(1.02)}
}


/* Phase 8F — a first-tab, no-JavaScript skip link across all 24 pages + 404.
   Visible only on keyboard focus; main receives focus with tabindex=-1. */
.skip-link{
  position:fixed;
  z-index:100000;
  top:12px;
  left:16px;
  transform:translateY(-180%);
  padding:12px 18px;
  border:2px solid #fff;
  background:var(--sae-forest-dark);
  color:#fff;
  font:600 14px/1.5 var(--sans);
  text-decoration:none;
  box-shadow:0 3px 15px rgba(0,0,0,.22);
}
.skip-link:focus,.skip-link:focus-visible{
  transform:translateY(0);
  outline:3px solid var(--sae-forest-dark);
  outline-offset:2px;
}
#main-content{scroll-margin-top:16px}


/* Phase 8G verified axe-core colour-contrast corrections.
   Contrast on white: #5d665e ~5.95:1, #555d55 ~6.81:1.
   On pale enquiry-sidebar cream (#fefaf5), #555d55 ~6.55:1.
   Maintain the original palette; darken only verified low-contrast copy. */
body[data-path="/"] .ring-card .ring-copy > p,
body[data-path="/engagement-rings/"] .concept-details > p{
  color:#5d665e;
}
body[data-path="/engagement-rings/"] .catalog-disclaimer,
body[data-path^="/products/"] .detail-note,
body[data-path="/quote/"] .quote-sidebar > p,
body[data-path="/quote/"] .quiet-warning{
  color:#555d55;
}


/* Phase 8J — grounded live 1440px homepage and 768px detail refinements.
   The measured reference has centred hero copy and a later tablet detail
   information heading. Keep original SAE media, content and honest single-image
   product gallery. At 390px the first catalogue card already aligns within
   1px of the reference, so do not push its discovery funnel lower. */
@media(min-width:1101px){
  body[data-path="/"] .hero{
    justify-content:center;
  }
  body[data-path="/"] .hero-gradient{
    background:linear-gradient(90deg,
      rgba(8,21,13,.53) 0%,
      rgba(8,21,13,.58) 43%,
      rgba(8,21,13,.54) 69%,
      rgba(8,21,13,.32) 100%);
  }
  body[data-path="/"] .hero-copy{
    width:min(900px,calc(100% - var(--sae-page-gap) - var(--sae-page-gap)));
    max-width:900px;
    margin:0 auto;
    padding:0;
    text-align:center;
    text-shadow:0 2px 12px rgba(4,12,7,.48);
  }
  body[data-path="/"] .hero-copy h1{
    max-width:none;
    margin:14px auto 20px;
    font-size:clamp(44px,3.4vw,49px);
  }
  body[data-path="/"] .hero-copy p{
    max-width:680px;
    margin:0 auto 25px;
  }
  body[data-path="/"] .hero-buttons{
    justify-content:center;
  }
  body[data-path="/"] .hero-bottom{
    left:50%;
    transform:translateX(-50%);
    text-align:center;
  }
}
@media(max-width:770px){
  /* Keep the original two-line mobile phrase after removing hardcoded <br>. */
  body[data-path="/"] .hero-copy h1 em{display:block}
}
@media (700px < width <= 770px){
  /* The tablet reference h1 starts ~27px lower relative to the gallery.
     Shift only the details column, never upscale the 480x600 illustration. */
  body[data-path^="/products/"] .detail-info{padding-top:26px}
}


/* Phase 8K — four real SAE engagement discovery groups, evidence-backed by
   the 1440px public reference navigation review. Keep site-wide menu height,
   routes and keyboard/mobile controls unchanged. No invented availability. */
@media(min-width:1101px){
  .nav-mega--engagement .nav-mega-inner{
    max-width:1320px;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(24px,3vw,48px);
    padding:34px clamp(32px,4vw,60px) 42px;
  }
  .nav-mega--engagement .nav-mega-column h3{
    margin-bottom:15px;
  }
  .nav .nav-mega--engagement .nav-mega-column a{
    /* Phase 8N: 40px scan rhythm at 1440px; no header overlap or new links. */
    padding:11px 0;
    line-height:1.4;
  }
}
@media(min-width:771px) and (max-width:1100px){
  .nav-mega--engagement .nav-mega-inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 30px;
    padding:22px 30px 26px;
  }
}

/* Phase 8L: original related-design discovery. Visual density comes from the
   twelve real illustrated concepts, never from invented stock or gallery media. */
body[data-path^="/products/"] .related-designs{
  border-top:1px solid var(--line);
  padding-top:44px;
  padding-bottom:88px;
}
body[data-path^="/products/"] .related-designs-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 30px;
}
body[data-path^="/products/"] .related-designs-head h2{
  margin:9px 0 10px;
  font:400 clamp(30px,2.5vw,38px)/1.16 var(--serif);
  letter-spacing:-.012em;
}
body[data-path^="/products/"] .related-designs-head p{
  color:var(--muted);
  font:400 13px/1.6 var(--sans);
  margin:0;
  max-width:510px;
}
body[data-path^="/products/"] .related-designs-head .text-cta{
  margin:0 0 5px;
  color:var(--sae-forest);
  font:600 11px/1.5 var(--sans);
  letter-spacing:.055em;
}
body[data-path^="/products/"] .related-design-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(12px,2vw,25px);
  margin-top:26px;
}
@media(max-width:1100px){
  body[data-path^="/products/"] .related-design-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px){
  body[data-path^="/products/"] .related-designs{
    padding-top:30px;
    padding-bottom:48px;
  }
  body[data-path^="/products/"] .related-designs-head h2{
    font-size:clamp(27px,7.1vw,32px);
  }
  body[data-path^="/products/"] .related-design-grid{
    gap:16px 12px;
    margin-top:20px;
  }
}


/* Phase 8M: truthful, original single-illustration media treatment.
   Preserve source resolution, 4:5 proportions, photo viewer and zoom control.
   A visible label prevents mistaking an AI concept for photographed stock. */
body[data-path^="/products/"] .detail-main-zoomable{
  isolation:isolate;
  background:#F8F6F2;
  box-shadow:inset 0 0 0 1px #E3E6DD;
}
body[data-path^="/products/"] .detail-main-zoomable::before{
  content:"ILLUSTRATIVE DESIGN";
  position:absolute;
  z-index:1;
  top:18px;
  left:18px;
  padding:8px 11px;
  border:1px solid rgba(42,61,48,.18);
  background:rgba(255,255,255,.92);
  color:var(--sae-forest);
  font:600 10px/1.35 var(--sans);
  letter-spacing:.07em;
  pointer-events:none;
}
body[data-path^="/products/"] .detail-main-zoomable .detail-image-zoom{
  z-index:2;
}
body[data-path^="/products/"] .detail-image-zoom:focus-visible,
body[data-path^="/products/"] .detail-image-close:focus-visible,
body[data-path^="/products/"] .detail-image-thumb:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
@media(max-width:480px){
  body[data-path^="/products/"] .detail-main-zoomable::before{
    top:12px;
    left:12px;
    padding:7px 9px;
    font-size:9px;
  }
}

/* Phase 8O - compact genuine concept imagery, without invented photography.
   A balanced desktop split brings 4:5 originals closer to the measured
   ~641px reference gallery and avoids needlessly enlarging 720px sources.
   Smaller phones retain full-width art and truthful one-image disclosure. */
@media(min-width:1101px){
  body[data-path^="/products/"] .detail-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
}
@media(max-width:700px){
  body[data-path^="/products/"] .detail-layout{gap:12px}
  body[data-path^="/products/"] .detail-thumbs{
    grid-template-columns:64px minmax(0,1fr);
    padding:9px 0;
    gap:3px 12px;
  }
  body[data-path^="/products/"] .detail-image-thumb{
    width:64px;
    height:80px;
  }
}

/* Phase 8P — first-screen Ring Studio controls on very narrow phones.
   The 320px source fixture left the first setting button at Y~624 on a 640px
   viewport. Keep the original image, four steps, caveats and controls: only
   compact the introductory stack and cap its preview to a readable 118px+. */
@media(max-width:400px){
  body[data-path="/design-your-ring/"] .builder-title{
    gap:5px;
    padding-block:6px 11px;
  }
  body[data-path="/design-your-ring/"] .builder-visual img{
    height:clamp(118px,34vw,136px);
  }
  body[data-path="/design-your-ring/"] .builder-note,
  body[data-path="/design-your-ring/"] .builder-live-preview{
    padding-block:4px;
  }
  body[data-path="/design-your-ring/"] .builder-step button{
    min-height:44px;
  }
}


/* Phase 8Q — use the full primary navigation on desktop. The former
   visible mobile hamburger incorrectly activated a modal at >=771px and
   made the desktop page background inert. Keep the original responsive
   left drawer and 44px mobile controls unchanged at <=770px. */
@media(min-width:771px){
  #open-menu{display:none}
}

/* Phase 8R — a compact desktop masthead keeps the full SAE wordmark and
   primary destinations in their natural reading/focus order. Reclaim 48px
   of unused vertical space; the dropdown stays anchored to its navigation
   row. Tablet and mobile retain their existing header and modal geometry. */
@media(min-width:1101px){
  .masthead{height:64px}
  .logotype small{margin-top:5px}
}

/* Phase 8S — comparison previews keep the original illustration proportions
   as their columns narrow. Keep selection controls comfortable to tap and
   give the keyboard-scrollable table a visible selection count. */
body[data-path="/compare/"] .comparison-table td img{
  height:auto;
  object-fit:contain;
  margin-inline:auto;
}
body[data-path="/compare/"] .compare-pill{min-height:44px}
body[data-path="/compare/"] .compare-table-wrap:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:4px;
}
body[data-path="/compare/"] .comparison-table caption{
  padding:0 0 14px;
  color:var(--sae-forest-dark);
  font-size:13px;
  font-weight:600;
  text-align:left;
}


/* Phase 8T - saved designs: allow removing one concept without clearing all.
   Reuse honest concept cards; touch-friendly actions and visible focus work on
   desktop, tablet and narrow phones. No checkout or inventory is enabled. */
body[data-path="/shortlist/"] .concept-bottom{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:5px 13px;
}
body[data-path="/shortlist/"] .concept-bottom>span{flex-basis:100%}
body[data-path="/shortlist/"] .concept-bottom button{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  min-height:44px;
  padding:10px 2px;
  line-height:1.35;
  font-size:10px;
  text-align:left;
  white-space:normal;
  border-bottom:1px solid currentColor;
}
body[data-path="/shortlist/"] .concept-bottom button[data-remove-wishlist]{
  color:#566058;
}
@media(max-width:480px){
  body[data-path="/shortlist/"] .diamond-concept-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 12px;
  }
  body[data-path="/shortlist/"] .concept-details h3{font-size:17px}
}

/* Phase 8U - select saved designs for the existing browser-local comparison. */
body[data-path="/shortlist/"] .shortlist-compare-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px 28px;
  padding:18px 20px;
  background:var(--soft);
  border:1px solid var(--line);
}
body[data-path="/shortlist/"] #shortlist-compare-count{
  margin:0 0 6px;
  color:var(--sae-forest);
  font-size:13px;
  font-weight:600;
  line-height:1.5;
}
body[data-path="/shortlist/"] #shortlist-compare-selection{
  margin:0;
  color:#566058;
  font-size:12px;
  line-height:1.6;
}
body[data-path="/shortlist/"] #shortlist-compare-link{flex-shrink:0}
body[data-path="/shortlist/"] #shortlist-compare-feedback{
  min-height:1.6em;
  margin:8px 0 16px;
  color:var(--sae-forest);
  font-size:12px;
  line-height:1.6;
}
body[data-path="/shortlist/"] .concept-bottom{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:5px 12px;
}
body[data-path="/shortlist/"] .concept-bottom>span,
body[data-path="/shortlist/"] .concept-bottom .shortlist-compare{grid-column:1/-1}
body[data-path="/shortlist/"] .concept-bottom button{min-width:44px}
body[data-path="/shortlist/"] .concept-bottom .shortlist-compare{
  justify-content:center;
  border:1px solid var(--sae-forest);
  padding:10px 8px;
  color:var(--sae-forest);
}
body[data-path="/shortlist/"] .shortlist-compare[aria-pressed="true"]{
  background:var(--sae-forest);
  color:#fff;
}
body[data-path="/shortlist/"] .concept-bottom button[data-add-enquiry]{justify-self:start}
body[data-path="/shortlist/"] .concept-bottom button[data-remove-wishlist]{justify-self:end}
@media(max-width:600px){
  body[data-path="/shortlist/"] .shortlist-compare-bar{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding:16px;
  }
}


/* Phase 8V — explicit narrow-screen navigation for the existing comparison.
   Do not alter table cells, illustrative images, scroll-region semantics or other pages. */
body[data-path="/compare/"] .compare-navigation{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 18px;
  margin:14px 0 8px;
  padding:15px 16px;
  border:1px solid #e2ddd5;
  background:#faf9f6;
}
body[data-path="/compare/"] .compare-navigation-copy{min-width:0;flex:1 1 170px}
body[data-path="/compare/"] .compare-navigation-copy strong{
  display:block;
  font-size:13px;
  color:var(--sae-forest-dark);
  line-height:1.5;
}
body[data-path="/compare/"] .compare-navigation-copy p{
  color:#566058;
  font-size:12px;
  line-height:1.5;
  margin:5px 0 0;
}
body[data-path="/compare/"] .compare-navigation-actions{display:flex;gap:8px;align-items:center}
body[data-path="/compare/"] .compare-navigation-actions button{
  min-height:44px;
  min-width:85px;
  padding:9px 12px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.03em;
  background:#fff;
  color:var(--sae-forest-dark);
  border:1px solid var(--sae-forest);
  cursor:pointer;
}
body[data-path="/compare/"] .compare-navigation-actions button[aria-disabled="true"]{
  color:#727a73;
  border-color:#b7bdb7;
  background:#f3f3f0;
  cursor:default;
}
body[data-path="/compare/"] .compare-navigation-actions button:focus-visible,
body[data-path="/compare/"] .compare-return-link:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
body[data-path="/compare/"] .compare-footer-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px 22px;
  align-items:center;
}
body[data-path="/compare/"] .compare-return-link{
  color:var(--sae-forest-dark);
  text-decoration:underline;
  text-underline-offset:4px;
  font-size:12px;
  padding:12px 0;
}
body[data-path="/compare/"] .compare-visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
@media(max-width:600px){
  body[data-path="/compare/"] .compare-navigation{padding:12px;gap:10px}
  body[data-path="/compare/"] .compare-navigation-copy{flex-basis:100%}
  body[data-path="/compare/"] .compare-navigation-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  body[data-path="/compare/"] .compare-navigation-actions button{min-width:0}
}


/* Phase 8W - honest, opt-in comparison to browser-local enquiry handoff.
   These controls are not submission, stock confirmation, or a checkout flow. */
body[data-path="/compare/"] .compare-enquiry-handoff{
  border:1px solid #e2ddd5;
  background:#f8f7f3;
  padding:20px 22px;
  margin:28px 0 20px;
}
body[data-path="/compare/"] .compare-enquiry-handoff strong{
  display:block;
  color:var(--sae-forest-dark);
  font-size:17px;
  line-height:1.45;
}
body[data-path="/compare/"] .compare-enquiry-handoff p{
  margin:9px 0 0;
  max-width:660px;
  color:#566058;
  font-size:12px;
  line-height:1.65;
}
body[data-path="/compare/"] .compare-enquiry-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  margin-top:18px;
}
body[data-path="/compare/"] .compare-enquiry-actions .button{
  min-height:44px;
  justify-content:center;
  text-align:center;
  white-space:normal;
}
body[data-path="/compare/"] #compare-add-to-enquiry:disabled{
  opacity:.65;
  cursor:not-allowed;
}
body[data-path="/compare/"] #compare-enquiry-feedback{
  min-height:1.6em;
  color:var(--sae-forest-dark);
  font-size:12px;
  line-height:1.6;
}
body[data-path="/quote/"] .enquiry-journey-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px 22px;
  margin:0 0 15px;
}
body[data-path="/quote/"] .enquiry-journey-links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--sae-forest-dark);
  font-size:12px;
  text-decoration:underline;
  text-underline-offset:4px;
}
body[data-path="/quote/"] .enquiry-bag-summary{
  color:var(--sae-forest-dark);
  font-size:13px;
  line-height:1.5;
  margin:0 0 18px;
  font-weight:600;
}
body[data-path="/quote/"] .enquiry-journey-links a:focus-visible,
body[data-path="/shortlist/"] #shortlist-enquiry-link:focus-visible,
body[data-path="/compare/"] .compare-enquiry-actions .button:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
@media(max-width:480px){
  body[data-path="/compare/"] .compare-enquiry-handoff{padding:16px 13px}
  body[data-path="/compare/"] .compare-enquiry-actions{flex-direction:column;align-items:stretch}
  body[data-path="/compare/"] .compare-enquiry-actions .button{width:100%}
}


/* Phase 8X: readable enquiry export preview on the private, local-only bag.
   The summary remains plain text and is never submitted to a server. */
body[data-path="/quote/"] .enquiry-notes-count{
  margin:7px 0 18px;
  font-size:11px;
  line-height:1.5;
  color:#566058;
  text-align:right;
}
body[data-path="/quote/"] .enquiry-preview-panel{
  border:1px solid #dedbd5;
  background:#fff;
  padding:17px 16px;
  margin:18px 0;
}
body[data-path="/quote/"] .enquiry-preview-panel h3{
  color:var(--sae-forest-dark);
  font-size:19px;
  line-height:1.4;
  margin:0 0 8px;
}
body[data-path="/quote/"] .enquiry-preview-panel p{
  color:#566058;
  font-size:12px;
  line-height:1.7;
  margin:0 0 14px;
}
body[data-path="/quote/"] .enquiry-preview-panel label{
  display:block;
  color:var(--sae-forest-dark);
  font-size:10px;
  margin:0 0 9px;
  letter-spacing:.09em;
}
body[data-path="/quote/"] #enquiry-preview{
  box-sizing:border-box;
  display:block;
  width:100%;
  min-height:215px;
  padding:13px;
  margin:0;
  resize:vertical;
  background:#f8f7f3;
  color:#293b30;
  border:1px solid #c7ccc6;
  font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;
  overflow-wrap:break-word;
}
body[data-path="/quote/"] #enquiry-preview:focus-visible,
body[data-path="/quote/"] #enquiry-notes:focus-visible,
body[data-path="/quote/"] #copy-enquiry:focus-visible,
body[data-path="/quote/"] #download-enquiry:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
body[data-path="/quote/"] #copy-enquiry,
body[data-path="/quote/"] #download-enquiry{
  min-height:44px;
}
@media(max-width:480px){
  body[data-path="/quote/"] .enquiry-preview-panel{padding:13px 11px}
  body[data-path="/quote/"] #enquiry-preview{min-height:185px;font-size:12px}
}


/* Phase 9C: email app handoff uses the existing prepared plain-text preview.
   Opens a visitor-controlled mailto; no website message is sent. */
body[data-path="/quote/"] #email-enquiry{
  display:flex;
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
  margin:0 0 8px;
}
body[data-path="/quote/"] #email-enquiry[aria-disabled="true"]{
  opacity:.64;
  cursor:not-allowed;
}
body[data-path="/quote/"] .email-enquiry-note{
  color:#566058;
  font-size:12px;
  line-height:1.6;
  margin:0 0 20px;
  overflow-wrap:anywhere;
}
body[data-path="/quote/"] #email-enquiry:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
@media(max-width:480px){
  body[data-path="/quote/"] #email-enquiry{
    padding-left:12px;
    padding-right:12px;
  }
}


/* Phase 9D: browser-Gmail alternative for visitors without a configured email app. */
body[data-path="/quote/"] #gmail-enquiry{
  display:flex;
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
  margin:0 0 8px;
}
body[data-path="/quote/"] #gmail-enquiry[aria-disabled="true"]{
  opacity:.64;
  cursor:not-allowed;
}
body[data-path="/quote/"] #gmail-enquiry:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
body[data-path="/quote/"] .gmail-enquiry-note{
  color:#566058;
  font-size:12px;
  line-height:1.6;
  margin:0 0 20px;
  overflow-wrap:anywhere;
}
@media(max-width:480px){
  body[data-path="/quote/"] #gmail-enquiry{
    padding-left:12px;
    padding-right:12px;
  }
}


/* Phase 9E: mobile jump to the existing, working enquiry controls.
   Desktop stays unchanged, and the native anchor works without JavaScript. */
body[data-path="/quote/"] .enquiry-mobile-jump{display:none}
body[data-path="/quote/"] .enquiry-included-summary{
  margin:12px 0 16px;
  border-left:3px solid var(--sae-forest);
  padding:7px 10px;
  color:var(--sae-forest-dark);
  background:#f3f5ef;
  font-size:12px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
body[data-path="/quote/"] #prepare-enquiry{
  scroll-margin-top:18px;
}
body[data-path="/quote/"] #prepare-enquiry:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:4px;
}
@media(max-width:770px){
  body[data-path="/quote/"] .enquiry-mobile-jump{
    display:flex;
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    min-height:52px;
    width:100%;
    padding:13px 12px;
    margin:0 0 24px;
    background:var(--sae-forest);
    color:white;
    border-radius:2px;
    font-size:12px;
    line-height:1.5;
    letter-spacing:.07em;
    text-align:center;
    white-space:normal;
  }
  body[data-path="/quote/"] .enquiry-mobile-jump:focus-visible{
    outline:2px solid var(--sae-forest);
    outline-offset:3px;
  }
  body[data-path="/quote/"] #prepare-enquiry{
    padding:20px 16px;
    min-width:0;
  }
  body[data-path="/quote/"] #enquiry-notes{
    box-sizing:border-box;
    min-height:120px;
    font-size:16px;
    line-height:1.55;
  }
  body[data-path="/quote/"] #gmail-enquiry{
    min-height:52px;
  }
}


/* Phase 9F — enquiry-bag design cards, with explicit view/remove actions.
   Scoped to /quote/; photos are the existing illustrative source images. */
body[data-path="/quote/"] .enquiry-list-heading{
  margin:0 0 8px;
}
body[data-path="/quote/"] .enquiry-list-heading h2{
  font:400 clamp(22px,2.2vw,29px)/1.25 var(--serif);
  color:var(--sae-forest-dark);
  margin:0 0 7px;
}
body[data-path="/quote/"] .enquiry-list-heading p{
  font-size:12px;
  line-height:1.65;
  color:#566058;
  margin:0 0 9px;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-card{
  grid-template-columns:145px minmax(0,1fr) auto;
  align-items:center;
  min-width:0;
  gap:16px;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-image-link{
  display:block;
  overflow:hidden;
  width:100%;
  line-height:0;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-image-link img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4 / 5;
  object-fit:cover;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-copy{min-width:0}
body[data-path="/quote/"] #enquiry-list .enquiry-design-copy strong{
  display:block;
  font:normal clamp(19px,2vw,23px)/1.35 var(--serif);
  color:var(--sae-forest-dark);
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-copy p{
  margin:8px 0;
  color:#566058;
  font-size:12px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-copy small{
  color:#566058;
  line-height:1.6;
  display:block;
  overflow-wrap:anywhere;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > a,
body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > button{
  display:flex;
  min-height:44px;
  min-width:100px;
  box-sizing:border-box;
  padding:10px 12px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--sae-forest);
  background:#fff;
  color:var(--sae-forest-dark);
  font:600 11px/1.4 var(--sans);
  letter-spacing:.035em;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  cursor:pointer;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > a{
  background:var(--sae-forest);
  color:white;
}
body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > a:focus-visible,
body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > button:focus-visible,
body[data-path="/quote/"] #enquiry-list .enquiry-design-image-link:focus-visible,
body[data-path="/quote/"] #enquiry-list .enquiry-design-title:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
@media(max-width:770px){
  body[data-path="/quote/"] #enquiry-list .enquiry-design-card{
    grid-template-columns:minmax(0,104px) minmax(0,1fr);
    align-items:start;
    gap:12px;
    padding:13px;
    margin:0 0 13px;
    border:1px solid #e1ded8;
    background:#fbfaf7;
  }
  body[data-path="/quote/"] #enquiry-list .enquiry-design-image-link img{
    height:auto;
    aspect-ratio:4 / 5;
  }
  body[data-path="/quote/"] #enquiry-list .custom-design-icon{
    width:100%;
    min-height:130px;
  }
  body[data-path="/quote/"] #enquiry-list .enquiry-design-actions{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    width:100%;
  }
  body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > a,
  body[data-path="/quote/"] #enquiry-list .enquiry-design-actions > button{
    min-height:48px;
    min-width:0;
  }
  body[data-path="/quote/"] #enquiry-list .enquiry-custom-card .enquiry-design-actions{
    grid-template-columns:1fr;
  }
  body[data-path="/quote/"] #enquiry-list .enquiry-design-copy strong{
    font-size:19px;
  }
}
@media(max-width:360px){
  body[data-path="/quote/"] #enquiry-list .enquiry-design-card{
    grid-template-columns:minmax(0,92px) minmax(0,1fr);
    gap:10px;
    padding:10px;
  }
  body[data-path="/quote/"] #enquiry-list .enquiry-design-copy strong{
    font-size:17px;
  }
}


/* Phase 9G: clear next action after a visitor adds a ring idea.
   Inline only (no viewport-covering popups), no automatic message sending. */
.enquiry-add-handoff{
  box-sizing:border-box;
  min-width:0;
  margin:12px 0 6px;
  padding:13px 14px;
  border:1px solid #c7d4c7;
  border-left:3px solid var(--sae-forest);
  background:#f5f7f3;
}
.enquiry-add-handoff p{
  margin:0;
  color:var(--sae-forest-dark);
  font-size:12px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.enquiry-add-handoff .enquiry-handoff-review{
  display:inline-flex;
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
  max-width:100%;
  min-height:44px;
  margin:10px 0 0;
  padding:9px 14px;
  border:1px solid var(--sae-forest);
  background:var(--sae-forest);
  color:#fff;
  font:600 11px/1.4 var(--sans);
  letter-spacing:.04em;
  text-align:center;
  text-decoration:none;
  white-space:normal;
}
.enquiry-add-handoff .enquiry-handoff-review:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
@media(max-width:770px){
  .enquiry-add-handoff .enquiry-handoff-review{
    width:100%;
    min-height:48px;
  }
}


/* Phase 9H: mobile browse -> review -> browse journey.
   Scoped to the existing static collection and enquiry pages. */
body[data-path="/engagement-rings/"] .collection-enquiry-progress{display:none}
body[data-path="/quote/"] .enquiry-browse-note{
  color:#566058;
  font-size:12px;
  line-height:1.65;
  margin:2px 0 13px;
  max-width:650px;
}
body[data-path="/quote/"] #enquiry-browse-rings{
  font-weight:700;
  color:var(--sae-forest-dark);
}
@media(max-width:770px){
  body[data-path="/engagement-rings/"] .collection-meta.has-enquiry-progress{flex-wrap:wrap}
  body[data-path="/engagement-rings/"] .collection-meta.has-enquiry-progress .collection-enquiry-progress:not([hidden]){flex:1 0 100%;order:3}
  body[data-path="/engagement-rings/"] .collection-enquiry-progress:not([hidden]){
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    max-width:420px;
    min-width:0;
    margin:17px 0 0;
    padding:14px;
    background:#f5f7f3;
    border:1px solid #c7d4c7;
    border-left:3px solid var(--sae-forest);
  }
  body[data-path="/engagement-rings/"] #collection-enquiry-count{
    color:var(--sae-forest-dark);
    font-weight:650;
    font-size:13px;
    line-height:1.55;
    margin:0;
    overflow-wrap:anywhere;
  }
  body[data-path="/engagement-rings/"] .collection-enquiry-review{
    box-sizing:border-box;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 12px;
    border:1px solid var(--sae-forest);
    background:var(--sae-forest);
    color:white;
    font:600 11px/1.45 var(--sans);
    letter-spacing:.04em;
    text-align:center;
    text-decoration:none;
    white-space:normal;
  }
  body[data-path="/engagement-rings/"] .collection-enquiry-review:focus-visible,
  body[data-path="/quote/"] #enquiry-browse-rings:focus-visible{
    outline:2px solid var(--sae-forest);
    outline-offset:3px;
  }
  body[data-path="/engagement-rings/"] .collection-enquiry-explainer{
    margin:0;
    font-size:11px;
    line-height:1.55;
    color:#566058;
  }
  body[data-path="/quote/"] #enquiry-browse-rings{
    border:1px solid var(--sae-forest);
    box-sizing:border-box;
    padding:10px 12px;
    justify-content:center;
    text-decoration:none;
    min-height:48px;
    width:100%;
  }
  body[data-path="/quote/"] .enquiry-journey-links{
    gap:5px 15px;
  }
}


/* Phase 9I: mark concepts already saved to the enquiry bag.
   The original buttons, keyboard order and Phase 9G inline review remain. */
button[data-add-enquiry][data-enquiry-saved="true"]{
  color:var(--sae-forest-dark);
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  white-space:normal;
  overflow-wrap:anywhere;
}
button[data-add-enquiry]:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}


/* Phase 9J: inline, opt-in notes handoff. Never hide the existing browse link,
   store notes, or send them to a network endpoint. */
body[data-path="/quote/"] .enquiry-browse-guard{
  box-sizing:border-box;
  margin:12px 0 16px;
  padding:16px;
  max-width:680px;
  border:1px solid #c7d4c7;
  border-left:3px solid var(--sae-forest);
  background:#f5f7f3;
}
body[data-path="/quote/"] .enquiry-browse-guard[hidden]{display:none}
body[data-path="/quote/"] .enquiry-browse-guard h2{
  font:400 clamp(19px,2.2vw,23px)/1.3 var(--serif);
  color:var(--sae-forest-dark);
  margin:0 0 8px;
}
body[data-path="/quote/"] .enquiry-browse-guard p{
  font-size:12px;
  line-height:1.6;
  color:#566058;
  margin:0 0 12px;
}
body[data-path="/quote/"] .enquiry-browse-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
body[data-path="/quote/"] .enquiry-browse-actions > button,
body[data-path="/quote/"] .enquiry-browse-actions > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  min-height:44px;
  min-width:0;
  padding:10px 13px;
  border:1px solid var(--sae-forest);
  font:600 11px/1.45 var(--sans);
  letter-spacing:.02em;
  text-align:center;
  text-decoration:none;
  color:var(--sae-forest-dark);
  background:#fff;
  cursor:pointer;
  white-space:normal;
}
body[data-path="/quote/"] #enquiry-copy-notes-browse{
  color:#fff;
  background:var(--sae-forest);
}
body[data-path="/quote/"] .enquiry-browse-actions > button:focus-visible,
body[data-path="/quote/"] .enquiry-browse-actions > a:focus-visible{
  outline:2px solid var(--sae-forest-dark);
  outline-offset:3px;
}
body[data-path="/quote/"] #enquiry-browse-feedback{
  margin:12px 0 0;
}
@media(max-width:770px){
  body[data-path="/quote/"] .enquiry-browse-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  body[data-path="/quote/"] .enquiry-browse-actions > button,
  body[data-path="/quote/"] .enquiry-browse-actions > a{
    width:100%;
    min-height:48px;
  }
}


/* Phase 9K: precise last-mile contact guidance and accessible manual fallback.
   The original Gmail and native email links remain unchanged. */
body[data-path="/quote/"] .enquiry-send-guide{
  box-sizing:border-box;
  min-width:0;
  padding:15px 17px;
  margin:2px 0 16px;
  border:1px solid #dddcd5;
  background:#fafbf7;
}
body[data-path="/quote/"] .enquiry-send-guide h3{
  margin:0 0 8px;
  font:400 21px/1.35 var(--serif);
  color:var(--sae-forest-dark);
}
body[data-path="/quote/"] .enquiry-send-guide ol{
  margin:0 0 0 18px;
  padding:0;
  font-size:12px;
  line-height:1.6;
  color:#566058;
}
body[data-path="/quote/"] .enquiry-send-guide li+li{margin-top:5px}
body[data-path="/quote/"] .enquiry-address-fallback{
  min-width:0;
  margin:8px 0 17px;
}
body[data-path="/quote/"] .enquiry-address-fallback label{
  display:block;
  margin:0 0 9px;
  font-size:13px;
  font-weight:650;
  color:var(--sae-forest-dark);
}
body[data-path="/quote/"] .enquiry-address-row{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:8px;
  min-width:0;
}
body[data-path="/quote/"] #enquiry-contact-address{
  box-sizing:border-box;
  flex:1 1 210px;
  width:100%;
  min-width:0;
  min-height:44px;
  border:1px solid #bfc8bd;
  border-radius:0;
  background:white;
  padding:10px 12px;
  font:400 14px/1.4 var(--sans);
  color:var(--sae-forest-dark);
  text-overflow:clip;
}
body[data-path="/quote/"] #copy-enquiry-address{
  box-sizing:border-box;
  flex:0 1 auto;
  min-height:44px;
  border:1px solid var(--sae-forest);
  border-radius:0;
  background:#fff;
  color:var(--sae-forest-dark);
  padding:10px 14px;
  font:600 11px/1.4 var(--sans);
  letter-spacing:.03em;
  cursor:pointer;
}
body[data-path="/quote/"] #copy-enquiry-address:focus-visible,
body[data-path="/quote/"] #enquiry-contact-address:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
body[data-path="/quote/"] #enquiry-address-feedback{
  margin:9px 0 0;
  font-size:11px;
  line-height:1.6;
  color:#566058;
}
@media(max-width:770px){
  body[data-path="/quote/"] .enquiry-send-guide{padding:13px}
  body[data-path="/quote/"] .enquiry-address-row{flex-direction:column}
  body[data-path="/quote/"] #enquiry-contact-address{
    flex:none;
    width:100%;
    min-height:48px;
    font-size:16px;
  }
  body[data-path="/quote/"] #copy-enquiry-address{
    width:100%;
    min-height:48px;
  }
}


/* Phase 10A — Cullen-reference shopping IA, not a copy of Cullen's logo, images
   or proprietary styling. Original SAE masthead; broad, equal-height shop
   navigation, detailed desktop dropdowns and true mobile category accordions. */
@media(min-width:771px){
  /* Preserve the verified compact masthead and 44px navigation height. */
  .nav-inner{
    min-height:42px;
    justify-content:center;
    flex-wrap:nowrap;
    gap:clamp(13px,2.2vw,37px);
    padding-inline:clamp(12px,2.2vw,36px);
  }
  .nav-inner>.nav-group,.nav-inner>a{flex:0 0 auto}
  .nav-inner>a,
  .nav-inner>.nav-group>a{
    font:500 12px/1.35 var(--sans);
    text-transform:none;
    letter-spacing:.018em;
    padding:11px 0;
    white-space:nowrap;
  }
  .nav-subtoggle{
    min-width:22px;
    padding:7px 3px 7px 7px;
    font-size:16px;
    min-height:42px;
  }
  .nav-mega{z-index:70}
  .nav-mega-inner{
    align-items:start;
    gap:clamp(18px,3vw,45px);
    padding:31px clamp(28px,4vw,68px) 27px;
  }
  .nav-mega--engagement .nav-mega-inner{
    max-width:1320px;
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .nav-mega--wedding .nav-mega-inner{
    max-width:1360px;
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
  .nav-mega--jewellery .nav-mega-inner{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .nav-mega--ready .nav-mega-inner{
    max-width:960px;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .nav-mega-column h3{
    color:var(--ink);
    font-size:12px;
    font-weight:650;
    letter-spacing:.01em;
    text-transform:none;
    margin-bottom:14px;
  }
  .nav .nav-mega-column a,
  .nav .nav-mega--engagement .nav-mega-column a{
    padding:8px 0;
    font-size:13px;
    line-height:1.4;
    font-weight:400;
  }
}
.nav-mega-disclosure{
  box-sizing:border-box;
  max-width:1200px;
  margin:0 auto;
  padding:0 clamp(20px,4vw,66px) 22px;
  color:#556057;
  font:400 11px/1.55 var(--sans);
}
@media(min-width:771px) and (max-width:1100px){
  .nav-inner{gap:clamp(8px,1.3vw,15px)}
  .nav-inner>a,.nav-inner>.nav-group>a{font-size:11px}
  .nav-subtoggle{padding-inline:1px;min-width:17px}
  .nav-mega--wedding .nav-mega-inner,
  .nav-mega--engagement .nav-mega-inner,
  .nav-mega--jewellery .nav-mega-inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:19px 28px;
    padding:23px 26px 25px;
  }
}
@media(max-width:770px){
  .nav-inner{padding:6px 15px 28px}
  .nav-group>a,.nav-inner>a{
    min-height:48px;
    box-sizing:border-box;
    padding:16px 12px;
    font:500 15px/1.3 var(--sans);
    text-transform:none;
    letter-spacing:.01em;
  }
  .nav-group .nav-subtoggle{min-height:48px}
  .nav-mega-inner,
  .nav-mega--wedding .nav-mega-inner,
  .nav-mega--engagement .nav-mega-inner,
  .nav-mega--jewellery .nav-mega-inner{
    grid-template-columns:minmax(0,1fr);
    gap:16px;
    padding:16px 20px 22px;
  }
  .nav-mega-disclosure{
    padding:0 20px 18px;
    font-size:11px;
  }
  .nav-mega-column h3{font-size:12px}
  .nav .nav-mega-column a{font-size:14px;padding:11px 0;min-height:42px}
}
.nav-inner>a:focus-visible,.nav-group>a:focus-visible,
.nav-subtoggle:focus-visible,.nav-mega-column a:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:3px;
}
/* Visible category destinations, not fabricated stock or availability. */
.shop-category-section{padding-top:48px;padding-bottom:58px}
.shop-category-section .center-title{max-width:900px;margin:0 auto 30px}
.shop-category-section .center-title h2{font-size:clamp(32px,3vw,45px)}
.shop-category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.shop-category-item{
  box-sizing:border-box;
  scroll-margin-top:30px;
  min-width:0;
  padding:25px clamp(20px,2.5vw,36px);
  border:1px solid #e2e4dc;
  background:#faf9f6;
}
.shop-category-item .shop-category-kicker{
  margin:0 0 10px;
  color:var(--sae-forest);
  font:600 11px/1.4 var(--sans);
  letter-spacing:.07em;
  text-transform:uppercase;
}
.shop-category-item h3{
  font:400 clamp(22px,2vw,28px)/1.25 var(--serif);
  margin:0 0 12px;
  color:var(--ink);
}
.shop-category-item p{
  font:400 13px/1.65 var(--sans);
  color:#596159;
  margin:0;
}
.shop-category-item a{
  display:inline-flex;
  color:var(--sae-forest-dark);
  margin-top:17px;
  padding-block:8px;
  font:600 12px/1.4 var(--sans);
  text-underline-offset:4px;
}
@media(max-width:900px){.shop-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .shop-category-section{padding-top:34px;padding-bottom:38px}
  .shop-category-grid{grid-template-columns:minmax(0,1fr);gap:11px}
  .shop-category-item{padding:20px}
}


/* Phase 10B — original Diamonds by SAE retail-style homepage composition.
   Inspired by a jewellery shopping journey, never by copied competitor
   photography, fonts or source. Product visuals remain design illustrations. */
body[data-path="/"] .home-shop-section{
  padding-top:clamp(52px,6vw,90px);
  padding-bottom:clamp(40px,5vw,68px);
}
body[data-path="/"] .home-shop-section .center-title,
body[data-path="/"] .home-style-section .center-title{
  max-width:760px;
  margin-bottom:36px;
}
body[data-path="/"] .home-shop-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(295px,1fr));
  gap:clamp(13px,1.4vw,20px);
  align-items:stretch;
}
body[data-path="/"] .home-shop-grid .home-shop-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  overflow:visible;
  color:var(--ink);
  text-decoration:none;
}
body[data-path="/"] .home-shop-grid .home-shop-tile[data-home-collection="engagement"]{
  grid-column:span 2;
  grid-row:span 2;
}
body[data-path="/"] .home-shop-grid .collection-img{
  display:block;
  position:relative;
  flex:1 1 0;
  min-width:0;
  min-height:0;
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  background:var(--soft);
}
body[data-path="/"] .home-shop-grid .collection-img picture{
  display:block;
  width:100%;
  height:100%;
}
body[data-path="/"] .home-shop-grid .collection-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .5s ease;
}
body[data-path="/"] .home-shop-grid .home-shop-tile:hover img{transform:scale(1.035)}
body[data-path="/"] .home-shop-grid .home-shop-label{
  box-sizing:border-box;
  min-height:91px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  width:100%;
  margin:0;
  padding:15px 2px 3px;
  font-family:var(--sans);
}
body[data-path="/"] .home-shop-label-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  gap:4px;
}
body[data-path="/"] .home-shop-kicker{
  display:block;
  color:var(--sae-forest);
  font:600 10px/1.35 var(--sans);
  letter-spacing:.12em;
}
body[data-path="/"] .home-shop-grid .home-shop-label strong{
  display:block;
  color:var(--ink);
  font:400 clamp(19px,1.8vw,27px)/1.2 var(--serif);
  letter-spacing:-.015em;
}
body[data-path="/"] .home-shop-grid .home-shop-label small{
  display:block;
  color:#59625b;
  font:400 12px/1.35 var(--sans);
}
body[data-path="/"] .home-shop-arrow{
  flex:0 0 auto;
  align-self:center;
  color:var(--sae-forest-dark);
  font:400 23px/1 var(--sans);
}
body[data-path="/"] .home-shop-badge{
  position:absolute;
  left:12px;
  top:12px;
  display:inline-flex;
  padding:7px 10px;
  background:#fafbf7;
  color:var(--sae-forest-dark);
  font:600 10px/1.2 var(--sans);
  letter-spacing:.065em;
  max-width:calc(100% - 24px);
}
body[data-path="/"] .home-shop-stock-note{
  margin:25px 0 0;
  color:#556059;
  font:400 12px/1.7 var(--sans);
  text-align:center;
}
body[data-path="/"] .home-shop-tile:focus-visible,
body[data-path="/"] .home-style-card:focus-visible{
  outline:2px solid var(--sae-forest);
  outline-offset:4px;
}
body[data-path="/"] .home-style-section{
  padding-top:clamp(48px,5vw,72px);
  padding-bottom:clamp(52px,6vw,90px);
}
body[data-path="/"] .home-style-rail{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(12px,1.5vw,22px);
  min-width:0;
}
body[data-path="/"] .home-style-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:9px;
}
body[data-path="/"] .home-style-image{
  display:block;
  position:relative;
  aspect-ratio:4/5;
  width:100%;
  overflow:hidden;
  background:var(--soft);
}
body[data-path="/"] .home-style-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
body[data-path="/"] .home-style-card:hover img{transform:scale(1.03)}
body[data-path="/"] .home-style-title{
  color:var(--ink);
  font:400 clamp(21px,1.95vw,30px)/1.2 var(--serif);
  margin-top:7px;
}
body[data-path="/"] .home-style-link{
  color:var(--sae-forest-dark);
  font:600 11px/1.4 var(--sans);
  letter-spacing:.065em;
}
body[data-path="/"] .home-style-link span{font-size:17px;vertical-align:-1px}
body[data-path="/"] .home-style-disclosure{
  font:400 12px/1.65 var(--sans);
  color:#556059;
  margin:24px 0 0;
}
body[data-path="/"] .home-style-disclosure a{
  color:var(--sae-forest-dark);
  text-decoration:underline;
  text-underline-offset:3px;
}
body[data-path="/"] .home-ready-editorial{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  background:var(--cream);
  max-width:1380px;
  margin:clamp(48px,6vw,94px) auto;
  min-height:480px;
  overflow:hidden;
}
body[data-path="/"] .home-ready-image{
  position:relative;
  min-height:440px;
  overflow:hidden;
  background:var(--soft);
}
body[data-path="/"] .home-ready-image img{
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  object-fit:cover;
  object-position:center 42%;
}
body[data-path="/"] .home-ready-image-note{
  position:absolute;
  left:22px;
  bottom:20px;
  display:block;
  padding:8px 11px;
  font:600 10px/1.3 var(--sans);
  letter-spacing:.05em;
  color:var(--sae-forest-dark);
  background:rgba(255,255,255,.9);
}
body[data-path="/"] .home-ready-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  padding:clamp(36px,5.5vw,92px);
}
body[data-path="/"] .home-ready-copy h2{
  font:400 clamp(36px,4vw,56px)/1.14 var(--serif);
  margin:18px 0 22px;
  letter-spacing:-.026em;
  color:var(--ink);
}
body[data-path="/"] .home-ready-copy p{
  font:400 14px/1.8 var(--sans);
  color:#505951;
  margin:0 0 28px;
  max-width:460px;
}
body[data-path="/"] .home-ready-copy .button{
  white-space:normal;
  text-align:center;
}
body[data-path="/"] .home-ready-small{
  display:block;
  margin:18px 0 0;
  font:400 11px/1.7 var(--sans);
  color:#5b655b;
  max-width:440px;
}
@media(max-width:1100px){
 body[data-path="/"] .home-shop-grid{
   grid-template-columns:repeat(2,minmax(0,1fr));
   grid-template-rows:none;
   grid-auto-rows:minmax(300px,auto);
   gap:15px;
 }
 body[data-path="/"] .home-shop-grid .home-shop-tile[data-home-collection="engagement"]{
   grid-column:1/-1;
   grid-row:auto;
   min-height:480px;
 }
 body[data-path="/"] .home-style-rail{
   grid-auto-flow:column;
   grid-auto-columns:minmax(220px,38%);
   grid-template-columns:none;
   overflow-x:auto;
   overscroll-behavior-x:contain;
   scroll-snap-type:x mandatory;
   scroll-padding-left:5px;
   padding-bottom:17px;
 }
 body[data-path="/"] .home-style-card{scroll-snap-align:start}
 body[data-path="/"] .home-ready-editorial{margin-inline:var(--sae-page-gap)}
}
@media(max-width:770px){
 body[data-path="/"] .home-shop-section .center-title,
 body[data-path="/"] .home-style-section .center-title{margin-bottom:25px}
 body[data-path="/"] .home-shop-grid{
   grid-template-columns:repeat(2,minmax(0,1fr));
   grid-auto-rows:minmax(265px,auto);
   gap:12px;
 }
 body[data-path="/"] .home-shop-grid .home-shop-tile[data-home-collection="engagement"]{min-height:380px}
 body[data-path="/"] .home-shop-grid .home-shop-label{
   min-height:105px;
   align-items:flex-start;
   padding:13px 0 4px;
   gap:6px;
 }
 body[data-path="/"] .home-shop-grid .home-shop-label strong{font-size:clamp(18px,3.6vw,24px)}
 body[data-path="/"] .home-shop-grid .home-shop-label small{font-size:11px}
 body[data-path="/"] .home-shop-kicker{font-size:9px}
 body[data-path="/"] .home-shop-arrow{font-size:18px;margin-top:12px}
 body[data-path="/"] .home-shop-badge{font-size:9px;left:9px;top:9px;padding:6px}
 body[data-path="/"] .home-style-rail{
   grid-auto-columns:minmax(205px,70%);
   gap:13px;
   scroll-padding-left:5px;
 }
 body[data-path="/"] .home-ready-editorial{
   display:flex;
   flex-direction:column;
   margin:35px var(--sae-page-gap);
   min-height:0;
 }
 body[data-path="/"] .home-ready-image{min-height:360px}
 body[data-path="/"] .home-ready-copy{padding:clamp(25px,6vw,42px)}
 body[data-path="/"] .home-ready-copy h2{font-size:clamp(33px,7vw,45px)}
 body[data-path="/"] .home-ready-copy .button{width:100%}
}
@media(max-width:390px){
 body[data-path="/"] .home-shop-grid .home-shop-label{min-height:115px}
 body[data-path="/"] .home-shop-grid .home-shop-label strong{font-size:18px}
 body[data-path="/"] .home-shop-grid .home-shop-label small{font-size:10px}
 body[data-path="/"] .home-shop-arrow{font-size:16px}
 body[data-path="/"] .home-shop-grid .home-shop-tile[data-home-collection="engagement"]{min-height:350px}
 body[data-path="/"] .home-style-rail{grid-auto-columns:minmax(205px,84%)}
 body[data-path="/"] .home-ready-image{min-height:315px}
}
@media(prefers-reduced-motion:reduce){
 body[data-path="/"] .home-shop-grid .collection-img img,
 body[data-path="/"] .home-style-image img{transition:none}
}


/* Phase 10C: independent, licensed editorial typography and optional motion.
   The measured reference used a light 48px serif and a 14px sans.
   Newsreader and Manrope are OFL-licensed; no competitor fonts or media. */
@font-face{
  font-family:"SAE Newsreader";
  src:url("/assets/sae-newsreader.ttf") format("truetype");
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"SAE Manrope";
  src:url("/assets/sae-manrope.ttf") format("truetype");
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}
:root{
  --serif:"SAE Newsreader",Baskerville,Georgia,serif;
  --sans:"SAE Manrope","Helvetica Neue",Arial,sans-serif;
}
body{font-family:var(--sans);font-weight:400;font-optical-sizing:auto}
button,input,select,textarea{font-family:var(--sans)}
.logotype>span,.footer-brand{font-family:var(--serif);font-weight:400;letter-spacing:.065em}
.logotype small{letter-spacing:.2em;font-weight:500}
h1,h2,.center-title h2,.chapter-copy h2,.editorial-inner h2,.closing h2{
  font-family:var(--serif);
  font-weight:300;
  letter-spacing:0;
}
.nav .nav-inner>a,.nav .nav-group>a{font-weight:500;letter-spacing:.005em}
.eyebrow{letter-spacing:.12em;font-weight:500}
.button,.text-cta{letter-spacing:.035em;font-weight:600}
body[data-path="/"] .hero-copy h1{
  font-family:var(--serif);font-weight:300;font-size:48px;line-height:1.1;letter-spacing:0
}
body[data-path="/"] .hero-copy h1 em{font-style:normal;font-weight:300}
body[data-path="/"] .hero-copy p{font-size:14px;line-height:1.65;letter-spacing:0}
body[data-path="/"] .hero-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center;pointer-events:none;filter:brightness(.88) saturate(.96)
}
body[data-path="/"] .hero-motion-toggle{
  position:absolute;right:18px;bottom:18px;z-index:3;
  min-width:44px;min-height:44px;padding:8px 13px;
  border:1px solid rgba(255,255,255,.85);background:#14261e;color:white;
  font:500 11px/1.3 var(--sans);border-radius:0;
}
body[data-path="/"] .hero-motion-toggle:focus-visible{outline:2px solid white;outline-offset:3px}
body[data-path="/"] .hero-bottom{max-width:calc(100% - 190px);font-size:9px}
@media(max-width:770px){
  body[data-path="/"] .hero-copy h1{font-size:clamp(40px,6vw,48px)}
  body[data-path="/"] .hero-copy p{font-size:13px}
  body[data-path="/"] .hero-bottom{max-width:calc(100% - 124px);left:12px;transform:none;text-align:left;font-size:8px}
  body[data-path="/"] .hero-motion-toggle{right:12px;bottom:12px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  body[data-path="/"] .hero-video,
  body[data-path="/"] .hero-motion-toggle{display:none!important}
}

/* Phase 10D: follow the measured 22 November reference, not an invented theme.
   The live/reference data recorded 48px/52.8px, weight 300 and normal tracking
   for hero titles at 1440, 768 and 390; 14px/300 supporting sans-serif.
   Home desktop reference header starts at y=40 and ends at y=160.
   Phone header starts at y=50, is 60px tall; preserve the overlay and touch targets.
   Other routes keep established header/filter positions until verified separately. */
body{font-weight:300}
.nav .nav-inner>a,.nav .nav-group>a{font-weight:400;letter-spacing:0}
.nav .nav-mega-column a{font-weight:400;letter-spacing:0}
.center-title h2,.chapter-copy h2,.editorial-inner h2,.closing h2,
body[data-path="/engagement-rings/"] .category-inner h1,
body[data-path^="/products/"] .detail-info h1,
body[data-path="/"] .home-shop-grid .home-shop-label strong,
body[data-path="/"] .home-style-title,
body[data-path="/"] .home-ready-copy h2,
.ring-copy h3,.concept-details h3{font-weight:300;letter-spacing:0}
body[data-path="/"] .hero-copy p{font-size:14px;font-weight:300;line-height:1.55}
body[data-path="/"] .hero-copy .eyebrow{font-size:12px;letter-spacing:.035em;font-weight:400}
body[data-path="/"] .hero-copy h1{font-size:48px;line-height:1.1;font-weight:300;letter-spacing:0}
body[data-path="/"] .hero-copy h1 em{font-weight:300}
body[data-path="/"] .hero-buttons .button{font-size:12px;letter-spacing:.02em;font-weight:500}
body[data-path="/"] .hero-bottom{font-weight:400}
body[data-path="/"] .home-style-section{padding-top:clamp(48px,5.5vw,80px)}
body[data-path="/"] .home-style-section .center-title h2{font-size:clamp(32px,3.34vw,48px);line-height:1.1}
@media(min-width:1101px){
  body[data-path="/"] .utility{height:40px;min-height:40px}
  body[data-path="/"] .masthead{height:80px}
  body[data-path="/"] .nav-inner{min-height:38px;gap:clamp(13px,2.0vw,31px)}
  body[data-path="/"] .nav .nav-inner>a,
  body[data-path="/"] .nav .nav-group>a{font-size:13px;font-weight:300;padding:9px 0;line-height:20px}
  body[data-path="/"] .nav-subtoggle{min-height:38px;padding-block:5px}
  body[data-path="/"] .hero-copy{width:min(900px,calc(100% - 80px));max-width:900px;margin-inline:auto;text-align:center}
  body[data-path="/"] .hero-copy h1{font-size:48px}
}
@media(max-width:770px){
  body[data-path="/"] .utility{height:50px;min-height:50px}
  body[data-path="/"] .masthead{top:50px;height:60px}
  body[data-path="/"] .hero-copy h1{font-size:48px;line-height:1.1}
  body[data-path="/"] .hero-copy p{font-size:14px}
  body[data-path="/"] .hero-buttons .button{font-size:11px}
}
@media(max-width:359px){
  body[data-path="/"] .hero-copy h1{font-size:42px}
}


/* Organic search guides: readable editorial content, accessible calculator and links. */
.seo-editorial-guide{max-width:920px;padding-top:36px;padding-bottom:64px}
.seo-editorial-guide h1{font-size:clamp(34px,5vw,58px);line-height:1.12;margin:14px 0}
.seo-guide-byline{font-size:12px;color:#526458;margin:8px 0 20px}
.seo-guide-intro{font-size:18px;line-height:1.7;max-width:760px}
.seo-guide-image{margin:26px 0 36px;max-width:420px}
.seo-guide-image img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;background:#f5f3ef}
.seo-guide-image figcaption{font-size:13px;color:#526458;line-height:1.55;margin-top:10px}
.seo-guide-content{max-width:760px;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.seo-guide-content h2,.seo-guide-related h2{font-size:clamp(25px,3vw,34px);line-height:1.25;margin:32px 0 12px}
.seo-guide-content p{margin:0 0 16px}
.seo-guide-content ul{padding-left:22px;margin:12px 0 24px}
.seo-guide-content li{margin:8px 0}
.seo-guide-content a,.seo-guide-related a{color:#204b38;text-decoration:underline;text-underline-offset:3px}
.seo-table-wrap{max-width:100%;overflow:auto;margin:22px 0}
.seo-table-wrap table{border-collapse:collapse;width:100%;font-size:14px;min-width:0}
.seo-table-wrap caption{text-align:left;font-size:13px;font-weight:600;padding-bottom:9px}
.seo-table-wrap th,.seo-table-wrap td{text-align:left;border-bottom:1px solid #d8ded8;padding:12px 9px;vertical-align:top;overflow-wrap:anywhere}
.seo-table-wrap thead th{background:#eef2ed}
.seo-ratio-tool{padding:22px;background:#f5f7f3;border:1px solid #dbe4d9;border-radius:8px;margin:24px 0}
.seo-ratio-tool h3{font-size:22px;margin:0 0 15px}
#diamond-ratio-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}
#diamond-ratio-form label{display:grid;gap:5px;font-size:14px;font-weight:600;min-width:0}
#diamond-ratio-form input{width:100%;min-width:0;padding:11px;border:1px solid #bac8bc;border-radius:4px;background:#fff;font:inherit;font-size:16px}
#diamond-ratio-result{font-size:22px;font-weight:650;margin:18px 0 7px}
.seo-tool-note{font-size:13px;color:#526458}
.seo-guide-related{border-top:1px solid #d8ded8;margin-top:38px;padding-top:12px}
.seo-education-links{padding-top:32px;padding-bottom:40px}
.seo-education-links h2{font-size:clamp(26px,3vw,36px);margin:8px 0 20px}
.seo-education-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.seo-education-grid a{border:1px solid #d8ded8;padding:18px;text-decoration:none;color:#263f31;display:grid;gap:8px}
.seo-education-grid strong{font-size:18px}.seo-education-grid span{font-size:14px;line-height:1.55}
.seo-education-grid a:hover,.seo-education-grid a:focus-visible{border-color:#325c45;background:#f5f7f3}
@media(max-width:650px){.seo-editorial-guide{padding-top:24px;padding-bottom:42px}.seo-ratio-tool{padding:15px}#diamond-ratio-form{grid-template-columns:repeat(2,minmax(0,1fr))}#diamond-ratio-form button{grid-column:1/-1}.seo-table-wrap th,.seo-table-wrap td{padding:8px 4px;font-size:12px}.seo-education-grid{grid-template-columns:1fr}}
