/* Nuriel Diamonds — Homepage V2 production stylesheet
   Cleaned 2026-08-11. This file intentionally contains one rule-set per
   component so the homepage can become the visual baseline for Catalogue. */

:root{
  --home-ivory:#f4f0e7;
  --home-paper:#fbfaf6;
  --home-ink:#0d0d0c;
  --home-gold:#b08a43;
  --home-gold-soft:#c9a760;
  --home-muted:#625d54;
  --home-line:#d8d1c4;
  --home-dark-line:#2b2925;
}

body.home-v2{background:var(--home-ivory);color:#171612}
.home-v2 .frame{max-width:1540px;width:calc(100% - 96px);padding-left:0;padding-right:0}

/* Header */
.home-v2 nav.top{background:rgba(8,8,7,.94);border-bottom-color:#26231e}
.home-v2 nav.top .row{padding:14px 36px}
.home-v2 nav.top .brand{margin-right:22px}

/* Shared type + controls */
.v2-kicker{font-family:var(--mono);font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--home-gold);margin-bottom:20px}
.v2-actions{display:flex;gap:14px;flex-wrap:wrap}
.v2-btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 22px;border:1px solid var(--home-gold);font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.v2-btn:hover{transform:translateY(-1px);background:var(--home-gold);color:#111}
.v2-btn.gold{background:var(--home-gold);color:#fff}.v2-btn.gold:hover{background:var(--gold-bright);border-color:var(--gold-bright);color:#111}
.v2-btn.dark{background:#111;color:#fff}.v2-btn.light{color:#111}
.v2-stat{font-family:var(--mono);font-size:10px;letter-spacing:.16em;color:var(--home-gold);text-transform:uppercase}

/* Hero */
.home-v2 .v2-hero{height:clamp(650px,52vw,820px);min-height:650px;background:#090909;position:relative;overflow:hidden;color:#fff}
.home-v2 .v2-hero-media{position:absolute;inset:0;overflow:hidden;opacity:1}
.home-v2 .v2-hero-media picture,.home-v2 .v2-hero-media img{display:block;width:100%;height:100%}
.home-v2 .v2-hero-media img{object-fit:cover;object-position:center center}
.home-v2 .v2-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,5,.97) 0%,rgba(5,5,5,.85) 23%,rgba(5,5,5,.44) 42%,rgba(5,5,5,.04) 67%),linear-gradient(0deg,rgba(0,0,0,.38),transparent 48%)}
.home-v2 .v2-hero .frame{position:relative;z-index:2;height:100%;min-height:100%;display:flex;align-items:center}
.home-v2 .v2-hero-copy{width:43%;max-width:650px;padding:80px 0 60px}
.home-v2 .v2-title{font-family:var(--serif);font-size:clamp(56px,4.8vw,82px);line-height:.98;font-weight:300;letter-spacing:-.035em;margin:0 0 28px}
.home-v2 .v2-title em{display:block;color:var(--home-gold-soft);font-weight:300}
.home-v2 .v2-lede{max-width:520px;font-size:17px;line-height:1.75;color:#ded9cf;margin-bottom:30px}
/* Floating hero note. It carries the trade-only promise, so legibility is functional, not
   cosmetic — it sits over a hero image whose bright subject moves with the breakpoint. A
   background scrim was tried and rejected: any background paints to the element's edges and
   shows a rectangular seam over the bokeh. A dense layered text-shadow hugs the glyphs
   instead, so it reads on the diamond, the tweezers or the dark ground, with no box. */
.home-v2 .v2-note{position:absolute;right:max(4%,calc((100vw - 1540px)/2));top:47%;transform:translateY(-50%);font-family:var(--serif);font-style:italic;color:#f0d9a4;font-size:25px;line-height:1.35;text-align:right;z-index:3;text-shadow:0 1px 2px rgba(0,0,0,1),0 0 4px rgba(0,0,0,1),0 0 9px rgba(0,0,0,.98),0 0 18px rgba(0,0,0,.9),0 0 34px rgba(0,0,0,.75),0 0 60px rgba(0,0,0,.6)}

/* Trust strip */
.v2-trust{background:#fff;border-bottom:1px solid #e6e0d5}
.v2-trust .frame{display:grid;grid-template-columns:repeat(4,1fr);padding-top:26px;padding-bottom:26px}
.v2-trust-item{padding:4px 34px;border-left:1px solid #ddd7cc}
.v2-trust-item:first-child{border-left:0}
.v2-trust b{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.09em;margin-bottom:6px}
.v2-trust span{font-size:12px;color:#575249;line-height:1.5}

/* Sections */
.v2-section{padding:82px 0;background:var(--home-paper)}
.v2-section.alt{background:#eee9df}
.v2-section.dark{background:var(--home-ink);color:#fff}
.v2-heading{font-family:var(--serif);font-size:clamp(46px,3.7vw,62px);line-height:1;font-weight:300;margin:0 0 18px}
.v2-heading em{color:var(--home-gold);font-weight:300}
.v2-intro{max-width:760px;color:var(--home-muted);font-size:16px;line-height:1.75}
.dark .v2-intro{color:#aaa49a}

/* Inventory */
.v2-tier-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:38px}
.v2-tier{min-height:500px;position:relative;overflow:hidden;background:#fff;border-top:3px solid var(--home-gold);display:grid;grid-template-columns:48% 52%}
.v2-tier.darkcard{background:#111;color:#fff;border-top-color:#111}
.v2-tier picture{min-height:500px;overflow:hidden}
.v2-tier picture img{display:block;width:100%;height:100%;min-height:500px;object-fit:cover;object-position:center}
.v2-tier-copy{padding:54px 42px;display:flex;flex-direction:column;justify-content:center}
.v2-tier h3{font-family:var(--serif);font-size:clamp(38px,3vw,52px);font-weight:300;line-height:1;margin:8px 0 14px}
.v2-tier p{font-size:14px;line-height:1.75;color:var(--home-muted)}
.v2-tier.darkcard p{color:#c6c0b6}
#vault-count-line{min-height:1em}

/* Lira */
.v2-lira{display:grid;grid-template-columns:1fr 1fr 270px;margin-top:38px;min-height:430px;border:1px solid var(--home-dark-line)}
.v2-query{padding:58px 50px;background:#111}
.v2-query-box{margin:18px 0 28px;border-left:2px solid var(--home-gold);background:#1a1917;padding:22px;font-family:var(--serif);font-size:27px;line-height:1.35}
.v2-answer{font-family:var(--serif);font-size:52px;color:#fff}
.v2-lira-copy{padding:58px 50px;background:var(--home-ivory);color:#111}
.v2-lira-copy h3{font-family:var(--serif);font-size:60px;font-weight:300;margin:5px 0 14px}
.v2-lira-copy p{color:#5b564e;line-height:1.7}
.v2-lira-mark{display:flex;align-items:center;justify-content:center;background:transparent;border-left:0;padding:20px;overflow:hidden}
.v2-lira-mark img{display:block;width:min(100%,275px);height:auto;opacity:.5;filter:saturate(.9)}

/* Diamond range */
.v2-range{display:grid;grid-template-columns:30% 70%;gap:44px;align-items:center}
.v2-range-copy{padding-right:0}
.v2-shapes{display:grid;grid-template-columns:repeat(9,1fr);gap:14px;align-items:end;background:var(--home-ink);border:1px solid #23211d;padding:36px 34px 28px}
.v2-shape{margin:0;text-align:center;min-width:0}
.v2-shape picture{display:flex;height:132px;align-items:center;justify-content:center}
.v2-shape img{display:block;max-width:118px;max-height:118px;width:auto;height:auto;object-fit:contain;margin:0 auto}
.v2-shape figcaption{font-family:var(--mono);font-size:9px;letter-spacing:.14em;color:var(--home-gold-soft);margin-top:12px;white-space:nowrap}

/* Why Nuriel */
#story.v2-section{padding:64px 0}
.v2-why{display:grid;grid-template-columns:repeat(4,1fr);margin-top:40px;border-top:1px solid var(--home-line);border-bottom:1px solid var(--home-line)}
.v2-why>div{padding:30px;min-height:112px;border-left:1px solid var(--home-line)}
.v2-why>div:first-child{border-left:0}
.v2-why b{font-family:var(--mono);font-size:10px;letter-spacing:.1em}
.v2-why p{font-size:12px;line-height:1.6;color:var(--home-muted);margin-top:8px}

/* CTA */
.v2-final{padding:68px 0;background:linear-gradient(rgba(11,11,10,.42),rgba(11,11,10,.42)),url('assets/homepage/cta-background.jpg') center/cover no-repeat #0b0b0a;background-image:linear-gradient(rgba(11,11,10,.42),rgba(11,11,10,.42)),image-set(url('assets/homepage/cta-background.webp') type('image/webp'),url('assets/homepage/cta-background.jpg') type('image/jpeg'));color:#fff}
.v2-final .frame{display:flex;align-items:center;justify-content:center;gap:clamp(50px,7vw,140px)}
.v2-final h2{font-family:var(--serif);font-size:50px;font-style:italic;color:var(--home-gold-soft);font-weight:300;margin:0;text-shadow:0 2px 16px rgba(0,0,0,.95),0 0 8px rgba(0,0,0,.9),0 0 40px rgba(0,0,0,.75)}

/* Footer */
.home-v2 .footer-wordmark{display:block}
.home-v2 .footer-wordmark img{display:block;width:220px;height:auto;margin:-14px 0 0 -8px}

/* Large desktop */
@media (min-width:1700px){
  .home-v2 .frame{max-width:1680px;width:calc(100% - 140px)}
  .home-v2 .v2-hero-copy{max-width:700px}
  .home-v2 .v2-note{right:max(70px,calc((100vw - 1680px)/2))}
}

/* Laptop / tablet landscape */
@media (max-width:1100px){
  .home-v2 .frame{width:calc(100% - 56px)}
  .home-v2 .v2-hero{height:700px;min-height:700px}
  .home-v2 .v2-hero-copy{width:50%}
  .home-v2 .v2-title{font-size:56px}
  .v2-trust-item{padding-left:22px;padding-right:22px}
  .v2-tier{grid-template-columns:42% 58%}
  .v2-tier-copy{padding:38px 28px}
  .v2-lira{grid-template-columns:1fr 1fr}
  .v2-lira-mark{display:none}
  .v2-range{grid-template-columns:34% 66%;gap:28px}
  .v2-shapes{grid-template-columns:repeat(5,1fr);gap:18px;padding:28px 24px 22px}
  .v2-shape picture{height:112px}.v2-shape img{max-width:102px;max-height:102px}
}

/* Mobile */
/* The floating hero note carries the trade-only promise, so it has to be readable.
   Between 800px and 1240px the hero image brings the diamond into the centre-right, and at
   top:47% the note lands directly on the brightest part of it — gold italic on a lit diamond,
   effectively illegible. Moving it up into the dark band above the tweezers at those widths,
   with a slightly tighter size and a stronger shadow. Below 800px it is hidden and the same
   promise is carried by the TRADE ONLY panel further down the page. */
@media (min-width:801px) and (max-width:1240px){
  .home-v2 .v2-note{top:22%;transform:none;font-size:20px;right:max(20px,calc((100vw - 1540px)/2))}
}
@media (max-width:800px){
  .home-v2 .frame{width:calc(100% - 36px)}
  .home-v2 nav.top .row{padding:12px 18px}
  .home-v2 .v2-hero{height:auto;min-height:760px}
  .home-v2 .v2-hero-media img{object-position:62% center}
  .home-v2 .v2-hero-media:after{background:linear-gradient(180deg,rgba(7,7,7,.97) 0%,rgba(7,7,7,.9) 42%,rgba(7,7,7,.28) 73%,rgba(7,7,7,.58) 100%)}
  .home-v2 .v2-hero .frame{min-height:760px;align-items:flex-start}
  .home-v2 .v2-hero-copy{width:100%;max-width:600px;padding:92px 0 330px}
  .home-v2 .v2-title{font-size:clamp(46px,12vw,60px)}
  .home-v2 .v2-lede{font-size:15px;line-height:1.65}
  .home-v2 .v2-note{display:none}
  .v2-trust .frame,.v2-tier-grid,.v2-lira,.v2-range,.v2-why{grid-template-columns:1fr}
  .v2-trust-item{border-left:0;border-top:1px solid #ddd7cc;padding:16px 0}.v2-trust-item:first-child{border-top:0}
  .v2-section{padding:64px 0}
  .v2-tier{grid-template-columns:1fr;min-height:0}
  .v2-tier picture,.v2-tier picture img{min-height:0;height:320px}
  .v2-tier-copy{padding:34px 26px}
  .v2-query,.v2-lira-copy{padding:36px 26px}
  .v2-query-box{font-size:22px}.v2-answer{font-size:44px}.v2-lira-copy h3{font-size:50px}
  .v2-range{gap:30px}
  .v2-shapes{grid-template-columns:repeat(3,1fr);padding:24px 18px;gap:20px 10px}
  .v2-shape picture{height:92px}.v2-shape img{max-width:88px;max-height:88px}
  .v2-why>div{border-left:0;border-top:1px solid var(--home-line);min-height:0;padding:24px 0}.v2-why>div:first-child{border-top:0}
  .v2-final .frame{display:block}.v2-final h2{font-size:40px;margin-bottom:24px}
  .home-v2 .footer-wordmark img{width:190px;margin:0}
}

@media (max-width:520px){
  .home-v2 .v2-hero-copy{padding-bottom:300px}
  .v2-actions{gap:10px}.v2-btn{width:100%}
  .v2-shapes{grid-template-columns:repeat(2,1fr)}
}

/* ── Hero brief — the Lira entry point (light system, on-image) ─────────── */
.home-v2 .v2-brief{display:flex;max-width:560px;margin:0 0 12px;border:1px solid rgba(244,240,231,.45);background:rgba(13,13,12,.35);backdrop-filter:blur(6px)}
.home-v2 .v2-brief input{flex:1;min-width:0;border:0;background:transparent;color:#f4f0e7;font:15px var(--sans);padding:16px 18px;outline:0}
.home-v2 .v2-brief input::placeholder{color:#b9b2a4;font-style:italic}
.home-v2 .v2-brief button{border:0;background:var(--home-gold);color:#111;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;padding:0 22px;cursor:pointer;white-space:nowrap;transition:background .16s ease}
.home-v2 .v2-brief button:hover{background:var(--gold-bright)}
.home-v2 .v2-brief-note{font-family:var(--mono);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:#b9b2a4;margin:0 0 26px}
@media(max-width:600px){.home-v2 .v2-brief{flex-direction:column}.home-v2 .v2-brief button{padding:14px}}

/* Hero rotator — two messages crossfading over the same hero image */
.home-v2 .v2-hero-rotator{display:grid}
.home-v2 .v2-hero-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s;pointer-events:none}
.home-v2 .v2-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.home-v2 .v2-hero-dots{display:flex;gap:8px;margin:18px 0 26px}
.home-v2 .v2-hero-dots button{width:28px;height:3px;border:0;padding:0;background:rgba(244,240,231,.28);cursor:pointer;transition:background .3s ease}
.home-v2 .v2-hero-dots button.active{background:var(--home-gold)}

/* The slide-0 kicker now lives inside the h1 so the page's primary heading carries the
   keywords ('loose lab-grown diamonds', 'New Zealand trade supply') as real visible text —
   no hidden-text trick. It is a span for validity (h1 takes phrasing content, not a div), so
   it needs display:block to sit above the headline exactly as the sibling div did. */
.home-v2 .v2-title .v2-kicker{display:block}
