:root {
  --paper: #fcfcfb;
  --white: #ffffff;
  --navy: #102d50;
  --navy-2: #173a60;
  --muted: #67717d;
  --line: #e8e8e5;
  --soft: #f5f7f8;
  --coral: #f18472;
  --rose: #ec6f9a;
  --sun: #e8bd63;
  --mint: #6cb99d;
  --aqua: #4cb9c8;
  --sky: #6da9dc;
  --violet: #9b74c7;
  --text: var(--navy);
  --surface: var(--white);
  --surface-2: var(--soft);
  --ink: var(--paper);
  --accent: var(--sky);
  --holo: linear-gradient(90deg, var(--coral), var(--sun), var(--mint), var(--sky), var(--violet));
  --radius: 10px;
}

html { scroll-padding-top: 92px; }

/* Native form controls use the site typeface without resetting their weights. */
button, input, select, textarea { font-family: inherit; }

body,
body.storefront,
body.fitting-page {
  background: var(--paper);
  color: var(--navy);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  width: 220px;
  height: 1px;
  opacity: .52;
  background: var(--holo);
  transform: rotate(-45deg);
}

body::before { top: 74px; left: -70px; }
body::after { right: -60px; bottom: 110px; transform: rotate(-45deg); }

h1, h2, h3, .disp,
.product .meta strong,
.product .price,
.viewer-name,
.drawer header h3,
.cart-line .n strong,
.spec strong,
.osum .l.t,
.page-h {
  font-family: "Manrope", "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: -.035em;
}

a { color: inherit; }

/* Shared brand mark */
nav.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 82px;
  padding: 12px clamp(22px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(252, 252, 251, .92);
  border-bottom: 1px solid rgba(16, 45, 80, .08);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-logo-lockup {
  display: block;
  width: 96px;
  height: 64px;
  flex: 0 0 auto;
}

.brand-logo-lockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand .gem-mark {
  position: relative;
  width: 34px;
  height: 31px;
  flex: 0 0 auto;
  clip-path: polygon(50% 0, 90% 26%, 50% 100%, 10% 26%);
  background: conic-gradient(from 220deg, var(--violet), var(--rose), var(--coral), var(--sun), var(--mint), var(--aqua), var(--sky), var(--violet));
}

.brand .gem-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  clip-path: inherit;
  background: var(--paper);
}

.gem-mark i {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 5px;
  width: 1px;
  height: 26px;
  background: var(--sky);
  transform-origin: top;
}
.gem-mark i:nth-child(1) { transform: rotate(31deg); background: var(--mint); }
.gem-mark i:nth-child(2) { transform: rotate(-31deg); background: var(--rose); }
.gem-mark i:nth-child(3) { top: 8px; left: 7px; width: 25px; height: 1px; background: linear-gradient(90deg, var(--coral), var(--sky)); }

.brand-type { display: grid; line-height: 1; color: var(--navy); }
.brand-main { font-size: .91rem; font-weight: 750; letter-spacing: .25em; }
.brand-sub { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 5px; font-size: .54rem; font-weight: 650; letter-spacing: .34em; }
.brand-sub i { display: block; width: 9px; height: 1px; background: var(--holo); }

nav.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.7vw, 42px);
  list-style: none;
  font-size: .78rem;
  color: var(--navy-2);
}

nav.site-nav ul a { position: relative; }
nav.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--holo);
  transition: right .25s ease;
}
nav.site-nav ul a:hover::after,
nav.site-nav ul a[aria-current="page"]::after { right: 0; }

nav.site-nav > :last-child { justify-self: end; }

.btn,
body .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.btn:hover,
body .btn:hover { transform: translateY(-2px); background: var(--navy-2); border-color: var(--navy-2); box-shadow: none; }
.btn.ghost,
body .btn.ghost { background: transparent; color: var(--navy); border-color: rgba(16, 45, 80, .35); }
.btn.ghost:hover,
body .btn.ghost:hover { border-color: var(--navy); background: var(--white); }
.btn.holo,
body .btn.holo { background: var(--navy); color: var(--white); }
.btn:disabled { opacity: .36; transform: none; }

.nav-actions { justify-self:end; display:flex; align-items:center; gap:12px; }
.account-nav { color:var(--navy); font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.account-nav:hover { color:var(--accent); }
.cart-btn { padding-inline: 19px; }
.cart-count { background: var(--rose); color: var(--white); }

/* Storefront hero */
.storefront .hero {
  min-height: min(860px, 100svh);
  padding: 120px clamp(24px, 7vw, 112px) 58px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  isolation: isolate;
}

.storefront .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 8vw;
  top: 18%;
  width: min(45vw, 650px);
  aspect-ratio: 1;
  opacity: .52;
  background:
    linear-gradient(38deg, transparent 49.7%, rgba(108,185,157,.28) 50%, transparent 50.3%),
    linear-gradient(-38deg, transparent 49.7%, rgba(236,111,154,.26) 50%, transparent 50.3%),
    linear-gradient(90deg, transparent 49.8%, rgba(109,169,220,.24) 50%, transparent 50.2%);
  clip-path: polygon(50% 0, 92% 28%, 50% 100%, 8% 28%);
}

.storefront .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 9vw;
  top: 19%;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(109,169,220,.17);
  clip-path: polygon(50% 0, 92% 28%, 50% 100%, 8% 28%);
}

.hero-copy { max-width: 620px; }
.eyebrow,
.kicker {
  margin-bottom: 14px;
  color: var(--navy-2);
  font-family: "Manrope", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before,
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--holo); }

.storefront .hero h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(3.2rem, 6.5vw, 6.8rem);
  font-weight: 520;
  line-height: .98;
  letter-spacing: -.07em;
  text-transform: none;
}
.storefront .hero h1 span { display: block; }
.storefront .hero h1 .soft-line { color: var(--navy-2); }
.storefront .hero p.lede { max-width: 47ch; margin-bottom: 26px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); }
.hero-cta { justify-content: flex-start; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(16,45,80,.28); }
.text-link:hover { border-color: var(--rose); }

.hero-showcase { position: relative; min-height: 540px; }
.product-jewel {
  position: absolute;
  margin: 0;
  filter: drop-shadow(0 26px 28px rgba(16,45,80,.10));
  animation: jewel-in .9s both cubic-bezier(.2,.7,.2,1);
}
.product-jewel img { width: 100%; mix-blend-mode: multiply; }
.product-jewel:nth-child(1) { width: 45%; left: 27%; top: 3%; z-index: 3; }
.product-jewel:nth-child(2) { width: 37%; left: 2%; top: 22%; z-index: 2; animation-delay: .08s; transform: rotate(-4deg); }
.product-jewel:nth-child(3) { width: 38%; right: 0; top: 24%; z-index: 2; animation-delay: .16s; transform: rotate(4deg); }
.product-jewel:nth-child(4) { width: 27%; left: 13%; bottom: -4%; opacity: .92; animation-delay: .2s; }
.product-jewel:nth-child(5) { width: 27%; right: 12%; bottom: -3%; opacity: .92; animation-delay: .24s; }
@keyframes jewel-in { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }

.hero-note {
  position: absolute;
  right: 2%;
  bottom: 2%;
  padding-left: 38px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-note::before { content: ""; position: absolute; left: 0; top: 50%; width: 27px; height: 1px; background: var(--holo); }

/* Editorial sections */
.storefront section { padding: clamp(56px, 6vw, 90px) clamp(24px, 7vw, 112px); }
.storefront .sec-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 46px); }
.storefront .sec-head h2,
.studio-copy h2,
.story-copy h2,
.storefront .cta h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.3vw, 4.4rem);
  font-weight: 520;
  line-height: 1.04;
  letter-spacing: -.06em;
}
.storefront .sec-head p,
.story-copy p,
.studio-copy p,
.storefront .cta p { color: var(--muted); font-size: 1rem; }
.storefront .reveal { transform: translateY(20px); }

.promise-strip {
  padding-block: 20px !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}
.promise { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 7px 24px; color: var(--navy-2); font-size: .69rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.promise + .promise { border-left: 1px solid var(--line); }
.facet-icon { position: relative; width: 26px; height: 26px; flex: 0 0 auto; transform: rotate(45deg); border: 1px solid var(--sky); }
.facet-icon::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rose); }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(38px, 6vw, 78px);
}
.story-visual { position: relative; min-height: 500px; }
.story-visual::before {
  content: "";
  position: absolute;
  inset: 5% 2% 10% 10%;
  border: 1px solid var(--line);
  background: var(--white);
}
.story-visual img { position: absolute; z-index: 1; width: 68%; height:100%; left: 18%; top: 0; object-fit:contain; mix-blend-mode: multiply; filter: drop-shadow(0 28px 34px rgba(16,45,80,.12)); }
.story-visual .corner-lines { position: absolute; right: 0; bottom: 4%; width: 44%; height: 30%; border-right: 1px solid var(--rose); border-bottom: 1px solid var(--sky); transform: skew(-38deg); }
.story-copy { max-width: 540px; }
.feature-list { margin-top: 28px; display: grid; gap: 0; }
.feature-line { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.feature-line:last-child { border-bottom: 1px solid var(--line); }
.feature-line b { color: var(--sky); font-size: .72rem; letter-spacing: .15em; }
.feature-line strong { display: block; margin-bottom: 4px; font-size: .92rem; letter-spacing: .01em; }
.feature-line span { color: var(--muted); font-size: .86rem; }


.colors { background: var(--white); border-block: 1px solid var(--line); }
.colors .sec-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; max-width: none; }
.colors .sec-head p { max-width: 46ch; justify-self: end; }
.products { grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); }
.product,
body .product {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  color: var(--navy);
}
.product:hover,
body .product:hover { transform: none; border-color: transparent; }
.product .shot {
  position:relative;
  overflow: hidden;
  background: #fbfbfa;
  border: 1px solid var(--line);
  transition: border-color .25s ease;
}
.product:hover .shot { border-color: rgba(16,45,80,.32); }
.product .gallery-main>img.ph { position:absolute; inset:0; width:100%; height:100%; transition: transform .35s ease; mix-blend-mode: multiply; }
.product:hover .gallery-main>img.ph { transform: translateY(-6px); }
.gallery-main { position:absolute; inset:0; z-index:1; width:100%; border:0; padding:0; background:transparent; cursor:pointer; }
.gallery-main .slot { z-index:2; }
.gallery-arrow { position:absolute; z-index:4; top:50%; translate:0 -50%; width:36px; height:44px; display:grid; place-items:center; border:1px solid rgba(16,45,80,.15); background:rgba(252,252,251,.88); color:var(--navy); font-size:1.15rem; cursor:pointer; opacity:0; transition:opacity .2s,background .2s; }
.gallery-arrow.prev { left:10px; }
.gallery-arrow.next { right:10px; }
.product:hover .gallery-arrow,.gallery-arrow:focus-visible { opacity:1; }
.gallery-arrow:hover { background:#fff; }
.gallery-dots { position:absolute; z-index:4; left:50%; bottom:10px; translate:-50% 0; display:flex; gap:5px; padding:6px 8px; background:rgba(252,252,251,.82); }
.gallery-dot { width:5px; height:5px; border-radius:50%; background:#b4bec6; }
.gallery-dot.active { background:var(--navy); }
.product .meta { padding: 14px 1px 0; gap: 7px; }
.product .meta .mrow { align-items: start; }
.product .meta strong { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product .price { font-size: .83rem; font-weight: 600; letter-spacing: 0; }
.product .price s { color: var(--muted); }
.product .deal { color: var(--rose); }
.product .blurb { color: var(--muted); font-size: .78rem; }
.product .stockline { font-size: .7rem; }
.product .btn.add { margin-top: 4px; border-color: rgba(16,45,80,.35); background: transparent; color: var(--navy); }
.product .btn.add:hover { background: var(--navy); color: var(--white); }
.product .soldout-pill { border-radius: 4px; background: rgba(16,45,80,.92); color: var(--white); font-family: "Manrope",sans-serif; }

.studio {
  display: grid;
  grid-template-columns: minmax(360px, .84fr) minmax(420px, 1.16fr);
  align-items: center;
  gap: clamp(40px, 6vw, 78px);
}
.studio-copy { max-width: 530px; }
.studio-copy .text-link { margin-top: 22px; }
.studio .viewer { max-width: 500px; order: 0; }
.photo-card,
body .photo-card { border-radius: 0; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(16,45,80,.10); }
.slot .card-ph { background: var(--navy); color: rgba(255,255,255,.72); outline-color: rgba(255,255,255,.38); }
.slot:hover .card-ph { background: var(--navy-2); }
.slot .card-ph .big { font-family: "Manrope",sans-serif; color: var(--white); }
.viewer-controls { margin-top: 18px; }
.viewer-hint { color: var(--muted); }
.sw { width: 31px; height: 31px; border-radius: 50%; box-shadow: inset 0 1px 2px rgba(255,255,255,.5), inset 0 -1px 2px rgba(0,0,0,.2); }
.sw[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--navy); }
/* Match the homepage: 28px color disc, 44px target, full rainbow selection ring. */
#viewerSwatches{gap:6px}
#viewerSwatches .sw{position:relative;box-sizing:border-box;width:44px;height:44px;flex:0 0 44px;padding:0;border:8px solid transparent;border-radius:50%;background-clip:content-box!important;box-shadow:none;transform:none}
#viewerSwatches .sw::after{content:"";position:absolute;inset:-5px;border-radius:50%;padding:2px;background:conic-gradient(#ff526e,#ffb82e,#e7db39,#34c584,#32bce8,#7770ed,#da66d8,#ff526e);mask:linear-gradient(#fff 0 0) content-box exclude,linear-gradient(#fff 0 0);opacity:0;pointer-events:none}
#viewerSwatches .sw[aria-pressed="true"]::after{opacity:1}
#viewerSwatches .sw:focus-visible{outline:3px solid #245dd8;outline-offset:2px}
.viewer-name { color: var(--navy); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.install-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.video-wrap { border: 1px solid var(--line); border-radius: 0; box-shadow: 0 28px 70px rgba(16,45,80,.09); }
.video-wrap::before { display: none; }
.steps { grid-template-columns: 1fr; gap: 0; margin: 0; }
.step { padding: 0 0 20px 26px; border-left: 1px solid var(--line); }
.step + .step { padding-top: 20px; }
.step .n { color: var(--sky); font-family: "Manrope",sans-serif; font-size: .68rem; font-weight: 700; }
.step h3 { margin-block: 8px; font-size: 1rem; letter-spacing: -.02em; }
.step p { color: var(--muted); }

.specs { grid-template-columns: repeat(4, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: 0; }
.spec { background: var(--paper); padding: 24px 22px; }
.spec strong { color: var(--navy); font-size: 1.05rem; font-weight: 650; }
.spec span { color: var(--muted); font-size: .68rem; letter-spacing: .1em; }

.storefront .cta { overflow: hidden; text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; background: var(--navy); }
.storefront .cta::before,
.storefront .cta::after { content: ""; position: absolute; pointer-events: none; width: 320px; height: 1px; background: var(--holo); }
.storefront .cta::before { right: -70px; top: 55px; transform: rotate(-42deg); }
.storefront .cta::after { right: -40px; bottom: 55px; transform: rotate(35deg); }
.storefront .cta h2 { max-width: 820px; margin: 0; color: var(--white); }
.storefront .cta p { margin-top: 14px; color: rgba(255,255,255,.65); }
.storefront .cta .btn { background: var(--white); border-color: var(--white); color: var(--navy); white-space: nowrap; }

.newsletter { background: var(--white); }
.newsletter .newsletter-inner { max-width: 680px; margin: auto; text-align: center; }
.newsletter .sec-head { margin: 0 auto 22px; }
.newsletter form { display: grid !important; grid-template-columns: 1fr auto; gap: 10px !important; max-width: 540px !important; }
.newsletter input[type="email"] { border-radius: 6px !important; background: var(--paper) !important; color: var(--navy) !important; border-color: var(--line) !important; }

body > footer.site-footer { padding: 36px clamp(24px,7vw,112px); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; font-size: .76rem; }
.footer-note { max-width: 390px; }
.footer-note strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-policy-links { grid-column: 1 / -1; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-contact { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; overflow-wrap: anywhere; }
.footer-social svg { flex-shrink: 0; }

/* Cart and checkout: restyled, behavior untouched */
.overlay { background: rgba(16,45,80,.18); }
.drawer { background: var(--white); border-color: var(--line); color: var(--navy); }
.drawer header,
.cart-line,
.drawer footer { border-color: var(--line); }
.drawer .x,
.cart-line .n span,
.cart-empty,
.cart-total,
.cart-ship { color: var(--muted); }
.qty button { border-radius: 4px; border-color: var(--line); color: var(--navy); background: var(--paper); }
.modal { background: rgba(16,45,80,.25); }
.modal .panel { background: var(--white); border-color: var(--line); border-radius: 8px; color: var(--navy); }
.field input { border-radius: 5px; border-color: var(--line); background: var(--paper); color: var(--navy); }
.field label,
.modal .sub { color: var(--muted); }
.osum { background: var(--soft); border-color: var(--line); border-radius: 5px; }
.toast { background: var(--navy); border: 0; color: var(--white); border-radius: 5px; }

/* Fitting room */
.fitting-page .fit-shell { position: relative; min-height: 100vh; padding: 140px clamp(24px, 7vw, 112px) 100px; }
.fit-intro { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.fit-intro .eyebrow { justify-content: center; }
.fit-intro-compact { margin-bottom:24px; }
.fit-intro-compact .eyebrow { margin-bottom:0; }
.fitting-page .page-h { margin-bottom: 18px; font-size: clamp(2.7rem, 5.8vw, 5.4rem); font-weight: 520; line-height: 1; color: var(--navy); }
.fitting-page .lede { max-width: 54ch; margin: 0 auto; color: var(--muted); }
.fitting-page .fit-workspace { max-width: 1180px; margin: auto; display: grid; grid-template-columns: minmax(360px, .92fr) minmax(420px, 1.08fr); gap: clamp(54px, 8vw, 120px); align-items: start; }
.fitting-page .viewer { max-width: 520px; order: 0; }
@media(min-width:761px){
  .fitting-page .fit-workspace { width:100%; max-width:520px; grid-template-columns:minmax(0,1fr); gap:0; margin-inline:auto; }
  .fitting-page .fit-workspace > section { min-width:0; width:100%; }
  .fitting-page .viewer { margin-inline:auto; }
}
.fitting-page .tray { position: sticky; top: 118px; margin: 0; padding: 34px; border: 1px solid var(--line); background: var(--white); }
.fitting-page .tray::before { content: "YOUR COLOR SHELF"; display: block; margin-bottom: 5px; color: var(--navy); font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
.fitting-page .tray-copy { margin-bottom: 26px; color: var(--muted); font-size: .9rem; }
.tray-head .t { color: var(--muted); font-family: "Manrope",sans-serif; }
.tray-clear { color: var(--muted); }
.combo-strip { min-height: 140px; scrollbar-color: var(--line) transparent; }
.shelf-item { filter: drop-shadow(0 8px 8px rgba(16,45,80,.12)); }
.shelf-ghost { border-color: var(--line); color: #a4adb6; }
.fitting-page .fit-tip { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.card-finder { position:relative; z-index:8; max-width:760px; margin:0 auto 42px; }
.card-search-title { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:8px; }
.card-search-title label { color:var(--navy); font-size:.72rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.card-search-shell { position:relative; }
.card-library-count { flex:0 0 auto; color:var(--muted); font-size:.7rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.card-search-row { display:flex; gap:10px; }
.card-search-box { flex:1; }
.card-search-box input { width:100%; min-height:46px; padding:11px 14px; border:1px solid var(--line); border-radius:5px; background:var(--paper); color:var(--navy); font:inherit; }
.card-search-box input:focus { outline:2px solid rgba(109,169,220,.28); border-color:var(--sky); }
.card-categories { display:flex; gap:8px; margin-top:10px; overflow-x:auto; padding-bottom:2px; }
.card-categories button { flex:0 0 auto; min-height:44px; padding:8px 14px; border:1px solid var(--line); border-radius:999px; background:var(--paper); color:var(--muted); font:inherit; font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.card-categories button[aria-pressed="true"] { border-color:var(--navy); background:var(--navy); color:#fff; }
.card-results { position:absolute; inset:calc(100% + 8px) 0 auto; z-index:20; display:grid; box-sizing:border-box; height:370px; grid-auto-rows:92px; align-content:start; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; border:1px solid var(--line); border-radius:5px; background:var(--white); box-shadow:0 22px 55px rgba(16,45,80,.15); }
.card-result { box-sizing:border-box; min-width:0; height:92px; display:grid; grid-template-columns:52px minmax(0,1fr); gap:12px; align-items:center; padding:8px 12px; border:0; border-bottom:1px solid var(--line); background:var(--white); color:var(--navy); text-align:left; cursor:pointer; transition:background .18s; }
.card-result:last-child { border-bottom:0; }
.card-result:hover,.card-result:focus-visible { background:var(--soft); outline:0; }
.card-result[aria-pressed="true"] { background:#eef5fa; }
.card-result img { width:52px; aspect-ratio:5/7; object-fit:contain; background:var(--soft); }
.card-result-copy { min-width:0; display:grid; gap:3px; }
.card-result strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.76rem; letter-spacing:0; }
.card-result small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:.65rem; }
.card-results-note { padding:18px; color:var(--muted); font-size:.82rem; text-align:center; }

@media (max-width: 1050px) {
  nav.site-nav { grid-template-columns: 1fr auto; }
  nav.site-nav ul { display: none; }
  .storefront .hero { grid-template-columns: 1fr; padding-top: 112px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-copy .eyebrow, .hero-cta { justify-content: center; }
  .hero-showcase { width: min(680px,100%); min-height: 500px; margin: auto; }
  .story-grid, .studio, .install-layout, .fitting-page .fit-workspace { grid-template-columns: 1fr; }
  .story-copy, .studio-copy { max-width: 660px; }
  .studio .viewer { order: 0; }
  .fitting-page .viewer { margin-inline: auto; }
  .fitting-page .tray { position: static; max-width: 660px; width: 100%; margin-inline: auto; }
}

@media (max-width: 760px) {
  nav.site-nav { min-height: 74px; padding-inline: 18px; }
  .brand-logo-lockup { width: 72px; height: 58px; }
  .brand-logo-lockup img { width: 100%; height: 100%; }
  .nav-actions { gap:8px; }
  .account-nav { font-size:.62rem; }
  .cart-btn { min-width: 44px; padding-inline: 12px; font-size: 0; }
  .cart-btn::before { content: "Bag"; font-size: .68rem; }
  .fitting-page nav.site-nav > .btn { padding-inline: 13px; font-size: 0; }
  .fitting-page nav.site-nav > .btn::before { content: "Shop"; font-size: .68rem; }
  .storefront .hero { min-height: auto; padding: 104px 20px 48px; }
  .storefront .hero h1 { font-size: clamp(3rem, 16vw, 5.2rem); }
  .hero-showcase { min-height: 400px; }
  .product-jewel:nth-child(4), .product-jewel:nth-child(5), .hero-note { display: none; }
  .product-jewel:nth-child(1) { width: 54%; left: 23%; }
  .product-jewel:nth-child(2), .product-jewel:nth-child(3) { width: 44%; top: 25%; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise + .promise { border-left: 0; border-top: 1px solid var(--line); }
  .storefront section { padding: 48px 20px; }
  .story-visual { min-height: 380px; }
  .gallery-arrow { opacity:1; width:32px; height:40px; }
  .colors .sec-head { grid-template-columns: 1fr; }
  .colors .sec-head p { justify-self: start; }
  .products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 14px; }
  .storefront .cta { grid-template-columns: 1fr; align-items: start; }
  .newsletter form { grid-template-columns: 1fr !important; }
  .specs { grid-template-columns: 1fr 1fr; }
  body > footer.site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .fitting-page .fit-shell { padding: 118px 18px 72px; }
  .fitting-page .page-h { font-size: clamp(2.6rem, 14vw, 4.5rem); }
  .fitting-page .fit-workspace { display: flex; flex-direction: column; }
  .fitting-page .tray { order: 2; padding: 24px 18px; }
  .fitting-page .viewer-controls .btn { flex: 1 1 calc(50% - 6px); padding-inline: 10px; }
  .card-finder { margin-bottom:32px; }
}

@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; gap: 34px; }
  .specs { grid-template-columns: 1fr; }
  .card-search-row { align-items:stretch; }
  #clearCardSearch { padding-inline:14px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-jewel { animation: none; }
}
