:root{
  --ink:#0B0A08;
  --panel:#16140F;
  --panel2:#1E1B15;
  --gold:#C9A24B;
  --paper:#F3EEE3;
  --muted:#A39C8E;
  font-family:'Work Sans', sans-serif;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--ink); color:var(--paper); overflow-x:hidden; position:relative;
  animation:pageIn .6s ease forwards;}
@keyframes pageIn{from{opacity:0;}to{opacity:1;}}
h1,h2,h3{font-family:'Fraunces', serif; font-weight:450; letter-spacing:-0.01em;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}

/* WATERMARK + GRAIN */
.watermark{position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
  width:min(46vw,480px); z-index:0; opacity:.1; pointer-events:none; filter:saturate(1.1) brightness(1.08);
  display:flex; flex-direction:column; align-items:center; text-align:center;}
.watermark img{width:100%;}
.watermark span{font-family:'Fraunces',serif; font-size:clamp(1.4rem,4.6vw,3rem); letter-spacing:.06em;
  color:#C9A24B; margin-top:-22%; white-space:nowrap;}
.grain{position:fixed; inset:0; z-index:250; pointer-events:none; opacity:.05; mix-blend-mode:screen;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px;}
header, main, footer{position:relative; z-index:2;}

/* NAV */
nav{position:fixed; top:0; left:0; right:0; z-index:100; padding:16px 32px; padding-top:calc(16px + env(safe-area-inset-top,0px));
    display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px;
    background:rgba(11,10,8,.5); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    transition:background .4s ease, padding .3s ease;}
nav.scrolled{background:rgba(11,10,8,.88); backdrop-filter:blur(16px);
  padding-top:calc(14px + env(safe-area-inset-top,0px)); padding-bottom:14px; box-shadow:0 1px 0 rgba(255,255,255,.06);}
.brand{font-family:'Fraunces',serif; font-size:1.05rem; letter-spacing:.02em; justify-self:center;}
.nav-right{display:flex; align-items:center; gap:12px; justify-self:end;}
.nav-btn{position:relative; padding:9px 22px; border-radius:30px; font-size:.85rem; color:var(--paper); white-space:nowrap;
  background:rgba(201,162,75,.12); border:1px solid rgba(201,162,75,.45); display:inline-block;}
.nav-btn:hover{border-color:rgba(201,162,75,.85); box-shadow:0 6px 16px rgba(201,162,75,.14), inset 0 1px 0 rgba(255,255,255,.08);}
.nav-btn.primary{background:rgba(201,162,75,.2);}
.nav-btn.active{border-color:rgba(201,162,75,.9); background:rgba(201,162,75,.22);}
.nav-right a:not(.primary){display:none;}
@media(min-width:720px){.nav-right a:not(.primary){display:inline-block;}}

/* PAGE HEADER (non-home pages) */
.page-header{padding:calc(140px + env(safe-area-inset-top,0px)) 32px 60px; max-width:900px; margin:0 auto;}
.page-header .tag{color:var(--gold); font-size:.82rem; letter-spacing:.04em;}
.page-header h1{font-size:clamp(2rem,4.4vw,3rem); margin-top:10px;}
.page-header p{margin-top:16px; color:var(--muted); font-weight:300; max-width:60ch; line-height:1.6;}

/* HERO (home only) */
.hero{position:relative; height:80svh; min-height:448px; display:flex; align-items:flex-end; overflow:hidden;}
.hero-img{position:absolute; inset:-10% 0 0 0; width:100%; height:120%; object-fit:cover;
  transform:scale(1.12); filter:brightness(.55) saturate(1.05);
  animation:heroZoom 2.4s cubic-bezier(.19,1,.22,1) forwards; will-change:transform;}
@keyframes heroZoom{to{transform:scale(1) translateY(0);}}
.hero-fade{position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,9,7,.28) 0%, rgba(10,9,7,.22) 42%, rgba(11,10,8,.98) 100%);}
.hero-content{position:relative; z-index:2; padding:0 32px 9vh; max-width:760px;}
.hero-eyebrow{color:#D9B565; font-size:.82rem; letter-spacing:.04em; margin-bottom:14px;
  opacity:0; animation:riseIn .9s ease forwards; animation-delay:.5s;}
.hero h1{font-size:clamp(2.4rem,6vw,4.4rem); line-height:1.04; font-weight:450; color:#FAF7F0;
  opacity:0; animation:riseIn 1s ease forwards; animation-delay:.7s;}
.hero p{margin-top:20px; font-size:clamp(1rem,1.6vw,1.2rem); color:#EDE8DD; max-width:520px; font-weight:300; line-height:1.5;
  opacity:0; animation:riseIn 1s ease forwards; animation-delay:.95s;}
@keyframes riseIn{from{opacity:0; transform:translateY(22px);}to{opacity:1; transform:translateY(0);}}
.hero-ctas{display:flex; gap:14px; margin-top:30px; flex-wrap:wrap;
  opacity:0; animation:riseIn 1s ease forwards; animation-delay:1.1s;}
.btn-solid{background:#A97E25; color:#fff; padding:13px 26px; border-radius:6px; font-size:.92rem; font-weight:500;}
.btn-solid:hover{background:#8F6E1F;}
.btn-outline{padding:13px 26px; border-radius:6px; font-size:.92rem; font-weight:500; border:1px solid rgba(255,255,255,.5); color:#fff;}
.btn-outline:hover{background:rgba(255,255,255,.1);}
.scroll-cue{position:absolute; bottom:28px; left:32px; z-index:2; font-size:.75rem; color:var(--muted);
  display:flex; align-items:center; gap:10px; opacity:0; animation:riseIn 1s ease forwards; animation-delay:1.3s;}
.scroll-cue .line{width:1px; height:34px; background:linear-gradient(var(--muted), transparent); animation:pulse 2s ease-in-out infinite;}
@keyframes pulse{0%,100%{opacity:.4;}50%{opacity:1;}}

/* REVEAL */
.reveal{opacity:0; transform:translateY(36px); transition:opacity .9s cubic-bezier(.19,1,.22,1), transform .9s cubic-bezier(.19,1,.22,1);}
.reveal.in{opacity:1; transform:translateY(0);}

section{padding:min(14vh,120px) 0;}
.section-head{padding:0 32px 60px; max-width:900px;}
.section-head .tag{color:var(--gold); font-size:.82rem; letter-spacing:.04em;}
.section-head h2{font-size:clamp(1.8rem,3.6vw,2.6rem); margin-top:10px; max-width:640px;}

/* VALUE PROPS (home) */
.value-grid{display:grid; grid-template-columns:1fr; gap:24px; padding:0 32px;}
@media(min-width:760px){.value-grid{grid-template-columns:repeat(3,1fr);}}
.value-card h3{color:var(--gold); font-size:1.1rem;}
.value-card p{margin-top:10px; color:var(--muted); font-weight:300; line-height:1.6; font-size:.95rem;}

/* FEATURED teaser cards (home) */
.teaser-grid{display:grid; grid-template-columns:1fr; gap:24px; padding:0 32px;}
@media(min-width:760px){.teaser-grid{grid-template-columns:repeat(3,1fr);}}
.teaser-card{overflow:hidden; padding:0; border-radius:14px;}
.teaser-card .tsw{aspect-ratio:4/3; overflow:hidden;}
.teaser-card .tsw img{width:100%; height:100%; object-fit:cover;}
.teaser-card .tbody{padding:20px;}
.teaser-card h3{font-size:1.1rem;}
.teaser-card p{margin-top:6px; color:var(--muted); font-size:.88rem; font-weight:300;}

/* PRODUCTS */
.product-row{display:grid; grid-template-columns:1fr; gap:36px; padding:0 32px; align-items:center;
  border-top:1px solid rgba(255,255,255,.08); padding-top:60px; padding-bottom:60px;}
.product-row:last-child{border-bottom:1px solid rgba(255,255,255,.08);}
@media(min-width:860px){.product-row{grid-template-columns:1fr 1fr; gap:70px;}
  .product-row.alt{direction:rtl;} .product-row.alt > *{direction:ltr;}}
.swatch{position:relative; aspect-ratio:4/3; border-radius:2px; overflow:hidden; background:#111;
  transform:scale(.9); filter:brightness(.78) saturate(.9); will-change:transform,filter;}
.swatch img{width:100%; height:100%; object-fit:cover; transform:scale(1.08); will-change:transform;}
.swatch-black{background:
    radial-gradient(circle at 20% 30%, rgba(201,162,75,.55) 0 1px, transparent 2px) 0 0/38px 38px,
    radial-gradient(circle at 60% 70%, rgba(201,162,75,.4) 0 1px, transparent 2px) 0 0/29px 29px,
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.25) 0 1px, transparent 1.5px) 0 0/22px 22px,
    linear-gradient(135deg,#0c0c0d,#171618 60%,#0a0a0b);}
.swatch-tan{background:
    radial-gradient(circle at 25% 35%, rgba(60,45,30,.55) 0 2px, transparent 3px) 0 0/30px 30px,
    radial-gradient(circle at 70% 60%, rgba(230,210,180,.4) 0 2px, transparent 3px) 0 0/22px 22px,
    linear-gradient(125deg,#8a6a45,#b08a58 45%,#6e5233 100%);}
.prod-name{font-size:clamp(1.6rem,3vw,2.2rem);}
.prod-origin{color:var(--gold); font-size:.82rem; letter-spacing:.03em; margin-top:8px;}
.prod-desc{color:var(--muted); font-weight:300; line-height:1.65; margin-top:16px; max-width:46ch;}

/* ABOUT */
.about-grid{display:grid; grid-template-columns:1fr; gap:50px; padding:0 32px;}
@media(min-width:860px){.about-grid{grid-template-columns:1.1fr .9fr;}}
.about-grid p{color:var(--muted); font-weight:300; line-height:1.75; margin-top:18px; max-width:56ch;}
.about-facts{display:flex; flex-direction:column; gap:22px;}
.about-facts .fact h3{color:var(--gold); font-size:1rem; font-weight:450;}
.about-facts .fact p{color:var(--muted); font-size:.92rem; margin-top:6px; font-weight:300;}

/* PROCESS (about) */
.process-grid{display:grid; grid-template-columns:1fr; gap:20px; padding:0 32px;}
@media(min-width:760px){.process-grid{grid-template-columns:repeat(4,1fr);}}
.process-card .num{color:var(--gold); font-family:'Fraunces',serif; font-size:1.6rem;}
.process-card h3{font-size:1rem; margin-top:8px;}
.process-card p{margin-top:8px; color:var(--muted); font-size:.85rem; font-weight:300; line-height:1.5;}

/* CONTACT */
.contact-wrap{padding:0 32px; display:grid; grid-template-columns:1fr; gap:50px;}
@media(min-width:860px){.contact-wrap{grid-template-columns:.9fr 1.1fr;}}
.contact-info p{color:var(--muted); font-weight:300; line-height:1.7; margin-top:16px; max-width:40ch;}
.contact-info .addr{margin-top:32px; font-size:.92rem; color:var(--muted);}
form{display:flex; flex-direction:column; gap:18px;}
.field{display:flex; flex-direction:column; gap:8px;}
label{font-size:.82rem; color:var(--muted);}
input,select,textarea{background:transparent; border:none; border-bottom:1px solid rgba(255,255,255,.2);
  color:var(--paper); font-family:'Work Sans',sans-serif; font-size:1rem; padding:10px 2px; outline:none;
  transition:border-color .3s;}
input:focus,select:focus,textarea:focus{border-color:var(--gold);}
textarea{resize:vertical; min-height:90px;}
select option{background:var(--ink); color:var(--paper);}

/* GLASS PANELS */
.glass{position:relative; overflow:hidden; --mx:50%; --my:50%;
  background:rgba(255,255,255,.04);
  -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.09); border-radius:14px; padding:30px;
  transition:border-color .4s ease, box-shadow .4s ease, transform .4s ease, background .4s ease;}
.glass::before{content:''; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:radial-gradient(150px circle at var(--mx) var(--my), rgba(201,162,75,.045), transparent 65%);
  opacity:0; transition:opacity .45s ease;}
.glass:hover{border-color:rgba(201,162,75,.4); box-shadow:0 14px 34px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);}
.glass:hover::before{opacity:1;}

button{position:relative; overflow:hidden; margin-top:10px; align-self:flex-start;
  background:rgba(201,162,75,0.14);
  -webkit-backdrop-filter:blur(14px) saturate(180%); backdrop-filter:blur(14px) saturate(180%);
  border:1px solid rgba(201,162,75,.45); color:var(--paper);
  padding:14px 30px; font-size:.95rem; font-weight:500; font-family:'Work Sans',sans-serif;
  border-radius:6px; cursor:pointer;
  transition:transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
  --mx:50%; --my:50%;}
button::before{content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(100px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 65%);
  opacity:0; transition:opacity .35s ease;}
button:hover{transform:translateY(-2px); background:rgba(201,162,75,.22); border-color:rgba(201,162,75,.8);
  box-shadow:0 8px 20px rgba(201,162,75,.14), inset 0 1px 0 rgba(255,255,255,.3);}
button:hover::before{opacity:1;}
button:active{transform:translateY(0px) scale(.98);}

/* CTA BAND */
.cta-band{text-align:center; padding:0 32px;}
.cta-band h2{font-size:clamp(1.6rem,3.2vw,2.2rem);}
.cta-band p{margin-top:12px; color:var(--muted); font-weight:300;}
.cta-band .btn-solid{display:inline-block; margin-top:24px;}

footer{padding:40px 32px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;
  color:var(--muted); font-size:.82rem; border-top:1px solid rgba(255,255,255,.08);}
footer .f-links{display:flex; gap:18px;}
footer .f-links a:hover{color:var(--gold);}

@media (prefers-reduced-motion: reduce){
  .hero-img, .hero-eyebrow, .hero h1, .hero p, .hero-ctas, .scroll-cue, .reveal{animation:none !important; opacity:1 !important; transform:none !important; transition:none !important;}
}

/* NAV BUTTONS — compact (must follow .glass, which sets padding:30px) */
.nav-btn.glass{padding:6px 16px; border-radius:30px; font-size:.8rem;}

/* COLLECTION hover pop-up */
.teaser-card.reveal.in{transition:opacity .9s cubic-bezier(.19,1,.22,1), transform .45s cubic-bezier(.19,1,.22,1), box-shadow .45s ease, border-color .45s ease;}
.teaser-card.reveal.in:hover{transform:translateY(-10px) scale(1.03); z-index:3;
  box-shadow:0 24px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(201,162,75,.35);}
.teaser-card .tsw img{transition:transform .6s cubic-bezier(.19,1,.22,1);}
.teaser-card:hover .tsw img{transform:scale(1.08);}

/* LOCATION MAP */
.map-wrap{padding:0 32px;}
.map-card{padding:0; overflow:hidden;}
.map-card iframe{display:block; width:100%; height:min(60vh,440px); border:0;}
.map-foot{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding:18px 22px;}
.map-foot p{color:var(--muted); font-size:.92rem; font-weight:300; line-height:1.5;}
.map-foot .btn-solid{padding:10px 20px; font-size:.85rem;}

/* D-U-N-S REGISTERED badge */
.duns-seal{display:inline-flex; align-items:center; gap:10px; color:var(--muted);}
.duns-seal .seal{width:40px; height:48px; overflow:hidden; flex:none;}
.duns-seal .seal img{height:100%; width:auto; max-width:none;}
.duns-seal:hover{color:var(--gold);}
.duns-wrap{padding:0 32px;}
.duns-card{display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center; padding:28px 22px;}
.duns-card img{width:100%; max-width:760px; height:auto;}
.duns-card p{color:var(--muted); font-size:.92rem; font-weight:300; line-height:1.6; max-width:60ch;}
.duns-seal .qr-sm{width:48px; height:48px; image-rendering:pixelated; border-radius:3px;}
.duns-seal small{font-size:.72rem; opacity:.8;}
.duns-row{display:flex; align-items:center; justify-content:center; gap:32px; flex-wrap:wrap;}
.duns-card .seal-lg{display:block; width:100px; height:120px; overflow:hidden;}
.duns-card .seal-lg img{height:100%; width:auto; max-width:none;}
.duns-card .duns-qr{width:170px; height:170px; max-width:none; image-rendering:pixelated; background:#fff; padding:8px; border-radius:8px; border:1px solid rgba(0,0,0,.08);}
.duns-card p strong{color:var(--paper); font-weight:500;}

/* Collection: 3 per row on desktop, last row centred */
@media(min-width:760px){
  .teaser-grid{display:flex; flex-wrap:wrap; justify-content:center;}
  .teaser-grid .teaser-card{flex:0 0 calc((100% - 48px)/3);}
}

/* DARK THEME extras */
.glass::before{background:radial-gradient(150px circle at var(--mx) var(--my), rgba(201,162,75,.08), transparent 65%);}
.btn-solid:hover{background:#C9A24B; color:#0B0A08;}
.duns-seal .seal, .duns-card .seal-lg{background:#fff; border-radius:6px;}
select option{background:#16140F;}

/* Map inside contact card */
.contact-info{display:flex; flex-direction:column;}
.contact-map{margin-top:28px; padding-top:24px; border-top:1px solid rgba(255,255,255,.09); display:flex; flex-direction:column; gap:12px; flex:1;}
.contact-map .map-label{color:var(--gold); font-size:.82rem; letter-spacing:.04em; text-transform:uppercase;}
.contact-info .contact-map .map-addr{margin-top:0; font-size:.92rem;}
.contact-map iframe{width:100%; flex:1; min-height:240px; border:0; border-radius:10px; filter:grayscale(.2) contrast(1.05);}
.contact-map .btn-solid{align-self:flex-start; padding:10px 20px; font-size:.85rem;}

/* Map section: map on the left, address + directions on the right (desktop) */
@media(min-width:860px){
  .map-card{display:grid; grid-template-columns:1.2fr .8fr; align-items:stretch;}
  .map-card iframe{height:100%; min-height:380px;}
  .map-foot{flex-direction:column; align-items:flex-start; justify-content:center; gap:22px; padding:36px 40px;}
  .map-foot p{font-size:1.05rem; line-height:1.7;}
}

/* Home: tighter gap between "Why Minerva Exports" and "Our Collection" */
.why-section{padding-top:max(22vh,140px); padding-bottom:48px;}
.collection-section{padding-top:0;}
.collection-section .section-head{padding-bottom:28px;}

/* HERO: brand name on the slab's bottom-left edge; intro text below the image */
.hero .hero-content{padding:0 16px; max-width:none; position:absolute; left:0; right:0; bottom:16%; text-align:center;}
.hero-brand{font-size:clamp(2rem,5.4vw,4.2rem); line-height:1; color:#FAF7F0; letter-spacing:.01em;
  text-shadow:0 2px 18px rgb(13, 12, 12);
  opacity:0; animation:riseIn 1s ease forwards; animation-delay:.5s;}
.hero-below{padding:44px 32px 0; max-width:760px;}
.hero-below .hero-eyebrow, .hero-below .hero-ctas{opacity:1; animation:none;}
.hero-below p{margin-top:4px; font-size:clamp(1rem,1.6vw,1.2rem); color:var(--muted); max-width:560px; font-weight:300; line-height:1.6;}
.hero-below .btn-outline{border-color:rgba(201,162,75,.6);}
@media (prefers-reduced-motion: reduce){ .hero-brand{animation:none; opacity:1;} }

/* Hero brand: Cinzel in gold */
.hero-brand{font-family:'Cinzel', serif; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  background:linear-gradient(180deg,#F3DC9A 0%,#D9B565 45%,#A97E25 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
  text-shadow:none; filter:drop-shadow(0 2px 10px rgba(0,0,0,.7));}
/* Hero brand: same flat gold as the value-card headings */
.hero-brand{background:none; color:var(--gold); -webkit-text-fill-color:var(--gold);}
/* Hero brand: white, smaller */
.hero-brand{color:#FFFFFF; -webkit-text-fill-color:#FFFFFF; font-size:clamp(1.5rem,4vw,3.1rem);}
.hero-brand .gold{color:var(--gold); -webkit-text-fill-color:var(--gold);}

/* COLLECTION as circles with pop animation */
.collection-section .teaser-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:36px 28px; padding:0 16px;}
.collection-section .teaser-grid .circle-card{flex:0 0 150px; width:150px; padding:0; background:none; border:none; border-radius:0;
  overflow:visible; text-align:center; box-shadow:none;}
@media(min-width:760px){.collection-section .teaser-grid .circle-card{flex:0 0 190px; width:190px;}}
.circle-card .tsw{aspect-ratio:1/1; border-radius:50%; overflow:hidden; position:relative;
  border:2px solid rgba(201,162,75,.45); box-shadow:0 10px 26px rgba(0,0,0,.55);
  transition:transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .45s ease, border-color .45s ease;}
.circle-card .tsw img{transition:transform .8s cubic-bezier(.19,1,.22,1);}
.circle-card .tbody{padding:16px 4px 0;}
.circle-card h3{font-size:1.02rem; transition:color .3s ease;}
.circle-card p{font-size:.8rem; line-height:1.45;}

/* entrance: pop in with a little bounce, staggered */
.circle-card.reveal{opacity:0; transform:scale(.6);}
.circle-card.reveal.in{opacity:1; transform:none; animation:circlePop .8s cubic-bezier(.34,1.56,.64,1) both;}
.teaser-grid .circle-card:nth-child(2).in{animation-delay:.1s;}
.teaser-grid .circle-card:nth-child(3).in{animation-delay:.2s;}
.teaser-grid .circle-card:nth-child(4).in{animation-delay:.3s;}
.teaser-grid .circle-card:nth-child(5).in{animation-delay:.4s;}
.teaser-grid .circle-card:nth-child(6).in{animation-delay:.5s;}
@keyframes circlePop{0%{opacity:0; transform:scale(.6);}70%{opacity:1; transform:scale(1.06);}100%{opacity:1; transform:scale(1);}}

/* hover: circle pops up with a gold glow */
.circle-card.reveal.in:hover{transform:none; box-shadow:none;}
.circle-card:hover .tsw{transform:translateY(-8px) scale(1.1); border-color:var(--gold);
  box-shadow:0 18px 40px rgba(0,0,0,.6), 0 0 0 6px rgba(201,162,75,.15), 0 0 28px rgba(201,162,75,.35);}
.circle-card:hover .tsw img{transform:scale(1.15) rotate(4deg);}
.circle-card:hover h3{color:var(--gold);}
.circle-card::before{display:none;}

@media (prefers-reduced-motion: reduce){
  .circle-card.reveal{opacity:1; transform:none; animation:none !important;}
  .circle-card .tsw, .circle-card .tsw img{transition:none;}
}

/* Quote form */
.hp{position:absolute; left:-9999px; width:1px; height:1px; opacity:0;}
.form-status{color:var(--muted); font-size:.88rem; line-height:1.5; min-height:1.2em;}
button:disabled{opacity:.7; cursor:default; transform:none;}
.form-status.ok{color:#DDF2DF; background:rgba(76,160,96,.16); border:1px solid rgba(76,160,96,.5); border-radius:8px; padding:12px 14px;}
.form-status.err{color:#F6D6D2; background:rgba(190,70,60,.16); border:1px solid rgba(190,70,60,.5); border-radius:8px; padding:12px 14px;}

/* M logo built from product colours (home) */
.m-wrap{max-width:320px; margin:0 auto; padding:0 24px; text-align:center;}
.m-logo{width:100%; height:auto; display:block; overflow:visible; filter:drop-shadow(0 18px 40px rgba(0,0,0,.55));}
.m-band{cursor:pointer; outline:none;}
.m-band image,.m-band rect:not(.m-hit){transition:opacity .3s ease; pointer-events:none;}
.m-hit{fill:transparent; stroke:var(--ink); stroke-width:3;}
.m-logo:hover .m-band:not(:hover) image,.m-logo:hover .m-band:not(:hover) rect:not(.m-hit),
.m-logo:focus-within .m-band:not(:focus) image,.m-logo:focus-within .m-band:not(:focus) rect:not(.m-hit){opacity:.45;}
.m-caption{margin-top:22px; height:1.6em; line-height:1.6em; white-space:nowrap; overflow:hidden; color:var(--gold); font-family:'Fraunces',serif; font-size:1.2rem; transition:opacity .25s;}
.m-legend{display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; margin-top:14px;}
.m-legend a{color:var(--muted); font-size:.85rem; text-decoration:none; transition:color .25s;}
.m-legend a:hover,.m-legend a:focus{color:var(--gold);}
.product-row{scroll-margin-top:110px;}
.product-row:target .glass{border-color:var(--gold); box-shadow:0 0 0 1px var(--gold), 0 20px 60px rgba(201,162,75,.18);}
@media(prefers-reduced-motion:reduce){.m-band image,.m-band rect{transition:none;}}

.nav-m{display:inline-flex; align-items:center;}
.nav-m svg{height:34px; width:auto; display:block; transition:transform .4s cubic-bezier(.19,1,.22,1);}
.nav-m:hover svg{transform:scale(1.1);}


/* Watermark matches the hero title (same face, size, tracking); on home it takes over as the hero scrolls away */
.watermark{width:auto;}
.watermark img{display:none;}
.watermark span{font-family:'Cinzel',serif; font-weight:600; text-transform:uppercase; letter-spacing:.08em;
  font-size:clamp(1.5rem,4vw,3.1rem); margin-top:0; color:#FFFFFF;}
/* Watermark = exactly the hero title's computed size/weight (the .hero h1 rule wins over .hero-brand) */
.watermark span{font-size:clamp(2.4rem,6vw,4.4rem); font-weight:450;}

.m-wrap.reveal.in{transform:none;}
.m-logo{will-change:auto;}

/* Home: centre the M block (heading + M + legend) in the viewport */
.collection-section{min-height:100svh; display:flex; flex-direction:column; justify-content:center; padding-top:80px; padding-bottom:80px;}
.collection-section .section-head{text-align:center; margin:0 auto; padding-bottom:20px;}


/* Home: tighter space above and below the M */
.collection-section{min-height:0; justify-content:flex-start; padding-top:24px; padding-bottom:24px;}
.collection-section .section-head{padding-bottom:12px;}
.m-wrap{max-width:420px;}
.m-logo{max-width:320px; margin:0 auto;}
.m-caption{overflow:visible;}
.collection-section{padding-top:32px; padding-bottom:32px;}

/* M hover: thread line + product details box */
.m-wrap{max-width:940px; position:relative;}
.m-thread{position:absolute; inset:0; width:100%; height:100%; pointer-events:none; overflow:visible; z-index:2;}
.m-thread path{fill:none; stroke:var(--gold); stroke-width:1; stroke-dasharray:var(--len,600); stroke-dashoffset:var(--len,600); opacity:0; transition:stroke-dashoffset .45s ease, opacity .2s ease;}
.m-thread circle{fill:var(--gold); opacity:0; transition:opacity .2s ease;}
.m-wrap.tip .m-thread path{stroke-dashoffset:0; opacity:.9;}
.m-wrap.tip .m-thread circle{opacity:1;}
.m-card{position:absolute; width:260px; padding:18px 20px; text-align:left; z-index:3;
  background:rgba(22,20,15,.94); border:1px solid rgba(201,162,75,.4); border-radius:12px; backdrop-filter:blur(10px);
  opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .3s ease .15s, transform .3s ease .15s, visibility 0s linear .45s;}
.m-wrap.tip .m-card{opacity:1; visibility:visible; transform:none; transition:opacity .3s ease .25s, transform .3s ease .25s;}
.m-card-origin{color:var(--gold); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase;}
.m-card-name{margin-top:6px; font-size:1.15rem;}
.m-card-desc{margin-top:8px; color:var(--muted); font-size:.85rem; font-weight:300; line-height:1.55;}
.m-card-link{display:inline-block; margin-top:12px; color:var(--gold); font-size:.85rem; text-decoration:none;}
.m-card-link:hover{text-decoration:underline;}
@media(max-width:859px){.m-thread,.m-card{display:none;}}
.m-wrap{width:100%;}
