/* Public storefront foundation. Early layer priority also covers legacy route styles. */
@layer house {
  body {
    --night:#0c0c0d!important; --panel:#171718!important; --raised:#242425!important;
    --ivory:#f7f1e6!important; --soft:#cec7bb!important; --champagne:#e1c18a!important;
    --edge:#5d5549!important; --ink:var(--ivory)!important; --muted:var(--soft)!important; --paper:var(--panel)!important;
    color-scheme:dark!important; color:var(--ivory)!important; background:var(--night)!important;
    font-family:"Helvetica Neue",Arial,sans-serif!important;
  }
  main :is(h1,h2,h3), .shelf-grid strong, .piece-name strong {
    font-family:Georgia,"Times New Roman",serif!important; font-weight:400!important;
    letter-spacing:-.035em!important;
  }
  main h1 { font-size:clamp(2.1rem,4.6vw,4.4rem)!important; line-height:1.05!important; }
  main h2 { font-size:clamp(1.65rem,3vw,2.8rem)!important; line-height:1.14!important; }
  .retail-masthead h1 {font-size:clamp(1.4rem,2.4vw,2rem)!important;}
  .shop-piece-grid .partner-details h2 {font-size:clamp(.9rem,1.15vw,1rem)!important;line-height:1.3!important;}
  .visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
  .luxury-header {background:var(--panel)!important;border-bottom:1px solid var(--edge)!important;box-shadow:none!important;}
  .luxury-header .brand-logo,.brand-footer .brand-logo {filter:none!important;}
  .house-search {display:none;}
  @media(min-width:1050px) {
    .luxury-header {grid-template-rows:76px 48px!important;}
    .house-search {display:flex;grid-column:1;grid-row:1;align-items:center;max-width:260px;border-bottom:1px solid var(--edge);}
    .house-search label {min-width:0;flex:1;}
    .house-search input,.house-search button {margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--ivory)!important;font:inherit!important;padding:8px 3px!important;}
    .house-search input {width:100%;min-width:0;}
    .house-search button {font-size:.875rem!important;}
    .luxury-header nav {border-top:1px solid var(--edge);width:100%;gap:clamp(18px,3vw,54px)!important;}
  }
  .luxury-header :is(.header-icon,.bag,.mobile-menu,nav a,summary), .footer-links a {color:var(--ivory)!important;}
  .luxury-header nav>a.nav-design {background:transparent!important;border:0!important;color:var(--champagne)!important;}
  :is(.nav-dropdown,#storeNav.menu-open,.brand-footer,dialog,.studio-chat) {background:var(--panel)!important;color:var(--ivory)!important;}
  .brand-footer {border-top:1px solid var(--edge)!important;padding-block:clamp(30px,5vw,70px)!important;}
  :is(.button.primary,.filter-tab.active,.choice.active,.color.active,button[aria-pressed=true],.studio-chat-toggle,.bag span) {
    background:var(--champagne)!important;border-color:var(--champagne)!important;color:#211a10!important;border-radius:2px!important;
  }
  :is(.button.primary,.choice.active,.color.active,.studio-chat-toggle) :is(span,strong,small) {color:inherit!important;}
  :is(.button,button,.underlined-link):focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {outline:3px solid var(--champagne)!important;outline-offset:3px;}
  :is(input,textarea,select)::placeholder {color:var(--soft)!important;}
  .storefront .hero {margin:0!important;border:0!important;border-radius:0!important;max-width:none!important;}
  .storefront .hero-copy {background:var(--night)!important;text-align:left!important;padding:clamp(32px,5vw,80px)!important;}
  .storefront .hero-art::after,.storefront .hero::after {display:none!important;}
  .storefront .hero-copy :is(h1,em,p,span),.storefront .hero-actions .hero-secondary {color:var(--ivory)!important;text-shadow:none!important;}
  .storefront .hero-actions {justify-content:flex-start!important;}
  @media(min-width:761px){
    .luxury-store.storefront .hero {display:grid!important;grid-template:"copy art" minmax(360px,32vw)/ 42% 58%!important;}
    .storefront .hero-art {grid-area:art!important;height:100%!important;}
    .storefront .hero-copy {grid-area:copy!important;align-self:stretch!important;display:flex;flex-direction:column;justify-content:center;}
  }
  @media(max-width:760px){
    .storefront .hero-copy {padding:24px 5%!important;}
    .storefront .hero-art {height:clamp(190px,52vw,320px)!important;min-height:0!important;}
  }
  .storefront :is(.boutique-collections,.design-shelf,.shape-edit),.piece-related {border-bottom:1px solid var(--edge)!important;}
  :is(.catalog-card,.featured-card,.gold-gallery-card,.editorial-card,.retail-card) {
    border-radius:0!important;box-shadow:none!important;background:var(--panel)!important;
  }
  .piece-layout,.retail-main,.editorial-main {max-width:1440px!important;margin-inline:auto!important;}
  .piece-photo {background:var(--panel)!important;border:1px solid var(--edge)!important;border-radius:0!important;}
  .piece-detail>div:last-child {padding:clamp(16px,3vw,48px)!important;background:var(--panel)!important;}
  .piece-options,.retail-filter {padding-block:18px!important;border-block:1px solid var(--edge)!important;}
  #customizePiece {display:flex!important;justify-content:center;width:100%!important;box-sizing:border-box;}
  .piece-detail details {background:var(--panel)!important;border:0!important;border-bottom:1px solid var(--edge)!important;padding:14px 0!important;}
  @media(min-width:900px){
    .piece-detail {display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;align-items:start!important;gap:clamp(24px,4vw,64px)!important;}
    .studio-shell {display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:clamp(16px,3vw,48px)!important;}
  }
  .studio-route .controls,.customer-auth,.idea-form,.policy-page {background:var(--panel)!important;border:1px solid var(--edge)!important;padding:clamp(18px,3vw,44px)!important;border-radius:2px!important;}
  .studio-route .visual-pane {background:var(--panel)!important;border-radius:2px!important;}
  .step-label,.footer-heading,.eyebrow,.hero-kicker {letter-spacing:.13em!important;color:var(--champagne)!important;}
  .gallery-route .gallery-card-copy,.editorial-card,.retail-card-info {padding:clamp(14px,2vw,28px)!important;}
  .retail-masthead,.editorial-hero {background:var(--panel)!important;border-radius:0!important;}
  .retail-masthead img,.editorial-hero img {border-radius:0!important;}
  .account-page .customer-auth,.contact-page .idea-form {border-top:3px solid var(--champagne)!important;}
  .policy-page {max-width:82ch!important;margin:clamp(20px,4vw,60px) auto!important;line-height:1.7;}
  .retail-bespoke,.experience-strip,.design-feature,.studio-idea {background:var(--panel)!important;color:var(--ivory)!important;}
  .luxury-store .design-feature .idea-link,.experience-strip .button:not(.primary) {background:transparent!important;color:var(--champagne)!important;}
  .collection-route .collection-category-links .filter-tab.active {background:var(--champagne)!important;color:#211a10!important;}
  .shelf-grid img,.catalog-card .product-art {background:var(--panel)!important;}
}

@layer house {
  @media(min-width:761px){
    .luxury-store.storefront .hero {height:auto!important;overflow:visible!important;grid-template-rows:auto!important;}
    .luxury-store.storefront .hero :is(.hero-copy,.hero-art) {width:100%!important;max-width:none!important;box-sizing:border-box;justify-self:stretch!important;margin:0!important;inset:auto!important;transform:none!important;}
    .luxury-store.storefront .hero-copy {min-height:clamp(360px,32vw,520px);height:auto!important;}
    .luxury-store.storefront .hero-art {min-height:100%!important;}
    .luxury-store.storefront .hero-photo {object-fit:cover!important;object-position:center!important;mask-image:none!important;opacity:1!important;}
  }
}

.partner-piece .piece-frame > img {
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;

}
.partner-details {padding:clamp(.875rem,2.5vw,1.5rem);}
.partner-details h2 {margin:0;}
.partner-details dl {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);margin:.75rem 0 1rem;font-size:.9375rem;line-height:1.4;column-gap:.75rem;overflow-wrap:anywhere;}
.partner-details :is(dt,dd) {padding:.32rem 0;border-bottom:1px solid var(--edge);margin:0;}
.partner-details dd {text-align:right;}

.home-jewelry-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,28px);}
.home-jewelry-grid a {display:block;color:inherit;text-decoration:none;}
.home-jewelry-grid a[hidden],#home-jewelry[hidden] {display:none;}
.home-jewelry-grid img {display:block;width:100%;height:auto;aspect-ratio:3/2;}
.home-jewelry-grid h3 {margin:.7rem 0 .25rem;font-size:clamp(1rem,1.6vw,1.4rem);}
@media(max-width:760px){.home-jewelry-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}

.storefront .shop-intro,.storefront .shop-edit {width:min(92%,80rem);margin-inline:auto;}
 .storefront .shop-intro {display:grid;grid-template-columns:1fr 1fr;align-items:center;overflow:hidden;background:#151412;margin-block:clamp(12px,2vw,28px);}
.storefront .shop-intro-copy {padding:clamp(12px,4vw,48px);}
.storefront .shop-intro h1 {font-family:Georgia,serif;font-size:clamp(1.7rem,4vw,3.75rem);font-weight:400;line-height:1.1;margin:0 0 .45em;}
.storefront .shop-intro img {display:block;width:100%;height:clamp(155px,20vw,270px);object-fit:cover;object-position:center 53%;}
.storefront .shop-edit {padding-bottom:clamp(2rem,6vw,5rem);}

.shop-piece-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2rem clamp(12px,2vw,28px);align-items:start;margin:1.5rem auto 3rem;}
.shop-piece-grid .partner-piece {width:100%;min-width:0;max-width:none;margin:0;}
.shop-piece-grid .piece-frame {padding:0;}
.shop-piece-grid .partner-details {padding:.75rem 0 0;}
.shop-piece-grid .partner-details h2 {letter-spacing:normal;}
.shop-piece-grid .piece-price {margin:.3rem 0 0;font-size:.875rem;color:var(--soft);}
.shop-piece-grid .piece-price strong {color:var(--ivory);font-weight:500;font-variant-numeric:tabular-nums;}
.shop-piece-grid summary {cursor:pointer;padding:.55rem 0;font-size:.8125rem;color:var(--champagne);width:fit-content;}
.shop-piece-grid dl {grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);font-size:.85rem;}
.shop-piece-grid .button {white-space:normal;}
@media(max-width:600px){.shop-piece-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 12px;}.shop-piece-grid .partner-details {padding:.5rem 0 0;}.shop-piece-grid .partner-details dl {display:block;}.shop-piece-grid dt {border:0;padding-bottom:0;}.shop-piece-grid dd {text-align:left;}}

.shop-piece-grid details p,.retail-masthead p {font-size:.875rem;line-height:1.45;}

.jewelry-link {display:block;color:inherit;text-decoration:none;}
.jewelry-link:hover h2,.jewelry-link:focus-visible h2 {text-decoration:underline;text-underline-offset:.2em;}
.jewelry-detail {width:min(92%,64rem);margin:1.75rem auto 4rem;}
.jewelry-back,.jewelry-inquiry {color:var(--champagne);text-underline-offset:.25em;}
.jewelry-layout {display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(1rem,4vw,3rem);align-items:start;margin-top:1rem;}
.jewelry-layout img {width:100%;height:auto;display:block;}
.jewelry-layout dl {display:grid;grid-template-columns:1fr 1.35fr;gap:.5rem 1rem;margin:1.5rem 0;font-size:.9rem;}
.jewelry-layout dd {margin:0;overflow-wrap:anywhere;}
.jewelry-layout dt {color:var(--soft);}
@layer house {.jewelry-layout h1 {font-size:clamp(1.35rem,2.5vw,2rem)!important;margin:0;}}
@media(max-width:700px){.jewelry-layout {grid-template-columns:1fr;}}

/* Shared gallery treatment for public shopping and service pages. */
@layer house {
 body {--night:#10100f!important;--panel:#151513!important;--edge:#39372f!important;--ivory:#f4efe6!important;--champagne:#d3bd96!important;}
 .luxury-header,.brand-footer {background:var(--night)!important;}
 .luxury-header .luxury-brand {justify-self:center!important;}
 .luxury-header .brand-logo {width:clamp(128px,17vw,212px)!important;height:auto!important;}
 .luxury-header nav a {font-weight:400!important;letter-spacing:.035em!important;text-transform:none!important;}
 .luxury-header nav {border-top:0!important;}
 .brand-footer,.studio-section,.retail-main,.editorial-main,.account-main,.gallery-route main,.collection-route main {background:var(--night)!important;}
 :is(.catalog-card,.featured-card,.gold-gallery-card,.editorial-card,.retail-card,.retail-filter,.piece-photo,.piece-detail>div:last-child,.studio-route .controls,.customer-auth,.idea-form,.editorial-hero,.policy-page,.account-quotes,.retail-purchases) {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
 :is(.contact-page,.about-page,.account-page,.studio-route,.gallery-route,.collection-route) main h1 {font-size:clamp(1.8rem,4vw,3.4rem)!important;}
 .editorial-main p,.policy-page p,.account-intro p {max-width:64ch;line-height:1.65;}
 .storefront .shop-intro {position:relative;isolation:isolate;width:100%;max-width:none;margin:0;display:flex;align-items:center;min-height:clamp(190px,30vw,420px);background:#110f0d;}
 .storefront .shop-intro img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% center;z-index:-1;}
 .storefront .shop-intro-copy {padding:clamp(20px,7vw,100px);color:var(--ivory);}
 .storefront .shop-intro h1 {font:italic 400 clamp(2.15rem,5.5vw,5.3rem)/1.1 Georgia,serif!important;margin:0 0 .45em;}
 .atelier-action,.jewelry-back,.jewelry-inquiry {color:var(--ivory)!important;text-decoration:underline;text-underline-offset:.4em;}
 .home-jewelry-grid a,.shop-piece-grid article {background:transparent!important;border:0!important;text-align:center;}
 .home-jewelry-grid h3,.shop-piece-grid h2 {font-size:clamp(.93rem,1.25vw,1.2rem)!important;line-height:1.28!important;}
}
.storefront .shop-edit {padding-top:clamp(1.3rem,3vw,3rem);}
.gallery-shop-head {padding:1.5rem 0 .5rem;}
.gallery-shop-head nav {display:flex;gap:1.35rem;margin-top:1rem;}
.gallery-shop-head button {font:inherit;font-size:.92rem;border:0;border-bottom:1px solid transparent;padding:.5rem 0;color:var(--soft);background:transparent;cursor:pointer;}
.gallery-shop-head button[aria-pressed=true] {color:var(--ivory);border-color:var(--champagne);}
.jewelry-layout {gap:clamp(1.3rem,4vw,4rem);}
.atelier-step {border-bottom:1px solid var(--edge);padding:.75rem 0;}
.atelier-step summary {font-size:.87rem;letter-spacing:.05em;color:var(--ivory);cursor:pointer;padding:.5rem 0;}
.atelier-step[open] summary {margin-bottom:.75rem;}
.shop-piece-grid [hidden] {display:none!important;}
.storefront .shop-intro {position:relative;isolation:isolate;display:flex;width:100%;max-width:none;margin:0;min-height:clamp(190px,30vw,420px);}
.storefront .shop-intro img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% center;z-index:-1;}
.storefront .shop-intro-copy {padding:clamp(20px,7vw,100px);}

.storefront .shop-intro {height:clamp(300px,39vw,555px);background:#131210;}
.storefront .shop-intro img {left:auto;right:0;width:65%;object-fit:cover;object-position:center;mask-image:linear-gradient(to right,transparent,#000 20%);}
.storefront .shop-intro-copy {z-index:1;padding-left:8vw;}
.storefront .shop-edit {width:100%;padding-top:0;}
.home-jewelry-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#131210;}
.home-jewelry-grid a {padding-bottom:2rem;}
.home-jewelry-grid img {width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;}
.home-jewelry-grid h3 {margin:.85rem .55rem .3rem;}
.jewelry-layout .product-price {font-size:1.35rem;margin:1rem 0;}
.product-metal {margin:0 0 1.65rem;}
.product-specs {margin-top:2.5rem;}
@layer house { .luxury-header .brand-logo {width:clamp(160px,23vw,275px)!important;} }
@media(max-width:700px){
 .storefront .shop-intro {height:205px;min-height:0;}
 .storefront .shop-intro img {width:64%;}
 .home-jewelry-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .jewelry-detail {width:100%;margin:0 auto 3rem;}
 .jewelry-layout {margin:0;gap:0;}
 .jewelry-layout>img {width:100%;height:clamp(280px,99vw,520px);object-fit:contain;background:#111110;}
 .jewelry-layout>div {padding:1.4rem 8%;}
}
@media (max-width:700px) {
  .storefront .shop-intro {height:clamp(145px,46vw,205px);}
  .storefront .shop-intro img {mask-image:linear-gradient(to right,transparent,#000 10%);}
  .storefront .shop-intro-copy {box-sizing:border-box;width:41%;padding:0 0 0 5vw;}
  @layer house {
    .storefront .shop-intro h1 {font-size:clamp(1.65rem,6vw,2.5rem)!important;}
  }
}
@media (min-width:2560px) {
  .storefront .shop-intro img {max-width:1774px;}
}
