/* Al Mifdaal, shared stylesheet
   Dark-first luxury oud house.
   Palette: near-black #15110C · espresso #1E1811 · brass gold #C29A54 · bone #ECE3D2 · stone #A99C86
   Fonts: Cormorant Garamond (headings) · Inter (body) */

:root{
  --bg:#15110C;
  --panel:#1E1811;
  --gold:#C29A54;
  --gold-deep:#8A6A2E;
  --bone:#ECE3D2;
  --stone:#A99C86;
  --bone-70:rgba(236,227,210,.72);
  --bone-55:rgba(236,227,210,.55);
  --line:rgba(236,227,210,.14);
  --espresso-text:#1E1811;
  --espresso-70:rgba(30,24,17,.72);
  --espresso-55:rgba(30,24,17,.55);
  --line-dark:rgba(30,24,17,.16);
  --maxw:1200px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--bone);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}

h1,h2,h3,h4{
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-weight:500;
  line-height:1.05;
  letter-spacing:.005em;
  margin:0;
  color:var(--bone);
}
h1{font-size:clamp(2.8rem,6.4vw,5.4rem);font-weight:500;}
h2{font-size:clamp(2.1rem,4.4vw,3.6rem);}
h3{font-size:clamp(1.4rem,2.4vw,1.95rem);}
p{margin:0 0 1.1rem;}
p:last-child{margin-bottom:0;}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem);}
.eyebrow{
  font-family:"Inter",sans-serif;
  font-size:.72rem;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600;
  margin:0 0 1.2rem;
}
.lede{font-size:clamp(1.05rem,1.6vw,1.28rem);line-height:1.78;color:var(--bone-70);font-weight:300;}
.serif-note{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:1.25rem;color:var(--gold);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:"Inter",sans-serif;
  font-size:.8rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:600;
  text-decoration:none;
  padding:1rem 2.1rem;
  border:1px solid var(--gold);
  background:var(--gold);
  color:var(--bg);
  cursor:pointer;
  border-radius:1px;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.btn:hover{background:transparent;color:var(--gold);border-color:var(--gold);}
.btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}
.btn--gold{background:var(--gold);border-color:var(--gold);color:var(--bg);}
.btn--gold:hover{background:transparent;color:var(--gold);border-color:var(--gold);}
.btn--ghost{background:transparent;color:var(--bone);border-color:rgba(236,227,210,.4);}
.btn--ghost:hover{background:var(--bone);color:var(--espresso-text);border-color:var(--bone);}

.textlink{
  color:var(--bone);
  text-decoration:none;
  font-weight:600;
  font-size:.8rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-bottom:1px solid var(--gold);
  padding-bottom:3px;
}
.textlink:hover{color:var(--gold);}
.textlink:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--panel);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;
  padding:.9rem clamp(1.25rem,4vw,3rem);
  max-width:var(--maxw);margin:0 auto;
}
.brand{display:flex;flex-direction:column;text-decoration:none;color:var(--bone);line-height:1;}
.brand-name{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:1.6rem;line-height:1;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
}
.brand-name span{display:block;font-family:"Inter",sans-serif;font-size:.56rem;letter-spacing:.32em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-top:6px;}

.nav{display:flex;align-items:center;gap:2rem;}
.nav a{
  text-decoration:none;color:var(--bone);
  font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:500;
  padding:.25rem 0;border-bottom:1px solid transparent;
}
.nav a:hover{border-bottom-color:var(--gold);color:var(--gold);}
.nav a:focus-visible{outline:3px solid var(--gold);outline-offset:4px;}
.nav a[aria-current="page"]{border-bottom-color:var(--gold);color:var(--gold);}
.bag-link{display:inline-flex;align-items:center;gap:.45rem;}
.bag-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;padding:0 6px;
  background:var(--gold);color:var(--bg);
  font-size:.72rem;font-weight:700;border-radius:1px;
  font-family:"Inter",sans-serif;letter-spacing:0;
}

.nav-toggle{
  display:none;
  background:transparent;border:1px solid rgba(236,227,210,.4);border-radius:1px;
  padding:.5rem .75rem;cursor:pointer;color:var(--bone);
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
}
.nav-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}

@media(max-width:820px){
  .nav-toggle{display:inline-block;}
  .nav{
    display:none;
    position:absolute;left:0;right:0;top:100%;
    flex-direction:column;align-items:flex-start;gap:0;
    background:var(--panel);border-bottom:1px solid var(--line);
    padding:.5rem clamp(1.25rem,4vw,3rem) 1.25rem;
  }
  .nav.open{display:flex;}
  .nav a{width:100%;padding:.9rem 0;border-bottom:1px solid var(--line);}
  .nav a:hover{border-bottom-color:var(--line);color:var(--gold);}
}

/* ---------- Hero ---------- */
.hero{background:var(--bg);}
.hero-inner{
  display:grid;grid-template-columns:1.02fr .98fr;align-items:stretch;gap:0;
  max-width:var(--maxw);margin:0 auto;
}
.hero-copy{padding:clamp(3rem,7vw,7rem) clamp(1.5rem,4vw,3.75rem);align-self:center;}
.hero-copy h1{margin-bottom:1.5rem;}
.hero-copy .lede{max-width:38ch;margin-bottom:2.2rem;}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem;}
.hero-media{background:var(--panel);position:relative;overflow:hidden;min-height:460px;}
.hero-media img{width:100%;height:100%;object-fit:cover;}
@media(prefers-reduced-motion:no-preference){
  .hero-media img{animation:heroReveal 1.5s cubic-bezier(.2,.7,.2,1) both;}
  @keyframes heroReveal{from{opacity:0;transform:scale(1.06);}to{opacity:1;transform:none;}}
}
@media(max-width:820px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-media{min-height:360px;order:-1;}
}

/* ---------- Sections ---------- */
section{padding:clamp(3.75rem,7.5vw,7rem) 0;}
.section-head{max-width:48rem;margin-bottom:clamp(2.2rem,4vw,3.4rem);}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

/* deep espresso panel */
.bg-ink{background:var(--panel);color:var(--bone);}
.bg-ink h1,.bg-ink h2,.bg-ink h3{color:var(--bone);}
.bg-ink .eyebrow{color:var(--gold);}
.bg-ink .lede{color:var(--bone-70);}

/* light bone section, espresso text */
.bg-cream{background:var(--bone);color:var(--espresso-text);}
.bg-cream h1,.bg-cream h2,.bg-cream h3,.bg-cream h4{color:var(--espresso-text);}
.bg-cream .eyebrow{color:var(--gold-deep);}
.bg-cream .lede{color:var(--espresso-70);}
.bg-cream p{color:var(--espresso-70);}
.bg-cream .serif-note{color:var(--gold-deep);}
.bg-cream .btn--ghost{color:var(--espresso-text);border-color:rgba(30,24,17,.35);}
.bg-cream .btn--ghost:hover{background:var(--espresso-text);color:var(--bone);border-color:var(--espresso-text);}

/* ---------- Pillars (values) ---------- */
.values{
  display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.5rem,3vw,3rem);
}
.value h3{font-size:1.4rem;margin-bottom:.55rem;}
.value .num{
  font-family:"Cormorant Garamond",Georgia,serif;font-size:1.15rem;color:var(--gold);
  display:block;margin-bottom:1rem;letter-spacing:.18em;
}
.value p{font-size:.98rem;color:var(--bone-70);font-weight:300;}
.bg-ink .value p{color:var(--bone-70);}
.bg-cream .value p{color:var(--espresso-70);}
.bg-cream .value .num{color:var(--gold-deep);}
@media(max-width:820px){.values{grid-template-columns:1fr 1fr;gap:2.2rem;}}
@media(max-width:480px){.values{grid-template-columns:1fr;}}

/* ---------- Product grid ---------- */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,2.75rem);}
@media(max-width:820px){.product-grid{grid-template-columns:1fr 1fr;gap:1.75rem;}}
@media(max-width:480px){.product-grid{grid-template-columns:1fr;}}

.product{display:flex;flex-direction:column;}
.product-photo{background:var(--panel);border-radius:1px;overflow:hidden;aspect-ratio:4/5;}
.product-photo img{width:100%;height:100%;object-fit:cover;}
@media(prefers-reduced-motion:no-preference){
  .product-photo img{transition:transform .6s cubic-bezier(.2,.7,.2,1);}
  .product:hover .product-photo img{transform:scale(1.04);}
}
.product-body{padding:1.2rem 0 0;}
.product-name{font-size:1.55rem;margin-bottom:.25rem;}
.product-scent{font-size:.86rem;color:var(--stone);margin-bottom:.9rem;letter-spacing:.02em;}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.4rem;}
.product-price{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.6rem;font-weight:500;color:var(--bone);}
.add-btn{
  font-family:"Inter",sans-serif;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  background:transparent;color:var(--bone);border:1px solid rgba(236,227,210,.34);border-radius:1px;
  padding:.72rem 1.15rem;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.add-btn:hover{background:var(--gold);color:var(--bg);border-color:var(--gold);}
.add-btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}
.add-btn.added{background:var(--gold);border-color:var(--gold);color:var(--bg);}
.bg-cream .product-photo{background:var(--stone);}
.bg-cream .product-name,.bg-cream .product-price{color:var(--espresso-text);}
.bg-cream .add-btn{color:var(--espresso-text);border-color:rgba(30,24,17,.3);}
.bg-cream .add-btn:hover{background:var(--gold-deep);color:var(--bone);border-color:var(--gold-deep);}

/* ---------- Proof / review ---------- */
.proof{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center;
}
.proof-stat{text-align:center;}
.proof-stars{font-size:1.4rem;color:var(--gold);letter-spacing:.15em;}
.proof-big{font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(3.6rem,7vw,6rem);line-height:1;color:var(--bone);}
.proof-sub{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--stone);margin-top:.5rem;}
.proof-quote blockquote{margin:0;}
.proof-quote q{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.32;color:var(--bone);quotes:"\201C" "\201D";}
.proof-quote cite{display:block;margin-top:1.3rem;font-style:normal;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--stone);}
@media(max-width:720px){.proof{grid-template-columns:1fr;gap:2rem;}.proof-stat{text-align:left;}}

/* ---------- Story / image-text rows ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;}
.split .media{background:var(--panel);overflow:hidden;min-height:460px;}
.split .media img{width:100%;height:100%;object-fit:cover;}
.split .copy{padding:clamp(2.5rem,5vw,5.5rem) clamp(1.5rem,4vw,4.25rem);align-self:center;}
.split.reverse .media{order:2;}
@media(max-width:820px){
  .split,.split.reverse{grid-template-columns:1fr;}
  .split .media,.split.reverse .media{min-height:340px;order:-1;}
}

/* ---------- CTA band ---------- */
.cta-band{text-align:center;}
.cta-band h2{margin-bottom:1.5rem;}
.cta-band .lede{max-width:46ch;margin:0 auto 2.2rem;}

/* ---------- Page hero (interior) ---------- */
.page-hero{background:var(--panel);padding:clamp(3.25rem,6vw,6rem) 0 clamp(2.75rem,5vw,4.25rem);}
.page-hero .lede{max-width:54ch;margin-top:1.4rem;}

/* ---------- About prose ---------- */
.prose{max-width:46rem;}
.prose h3{margin:2.6rem 0 .8rem;color:var(--bone);}
.prose p{color:var(--bone-70);font-weight:300;}
.verse{
  font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;
  font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.4;color:var(--bone);max-width:32rem;margin:2rem 0;
}
.verse cite{display:block;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-style:normal;margin-top:1.1rem;}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2.5rem,5vw,5rem);}
@media(max-width:820px){.contact-grid{grid-template-columns:1fr;gap:2.5rem;}}
.channel{margin-bottom:1.7rem;}
.channel .k{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:.3rem;}
.channel a{color:var(--bone);text-decoration:none;border-bottom:1px solid var(--line);}
.channel a:hover{border-bottom-color:var(--gold);color:var(--gold);}
.channel span{color:var(--bone-70);}

/* ---------- Forms ---------- */
form.branded{display:grid;gap:1.3rem;}
.field{display:grid;gap:.5rem;}
.field label{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--bone);}
.field input,.field textarea{
  font-family:"Inter",sans-serif;font-size:1rem;color:var(--bone);
  background:var(--panel);border:1px solid var(--line);border-radius:1px;
  padding:.9rem 1rem;width:100%;
}
.field textarea{resize:vertical;min-height:130px;}
.field input::placeholder,.field textarea::placeholder{color:var(--bone-55);}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(194,154,84,.22);}
.form-note{font-size:.85rem;color:var(--stone);}

.form-status{
  display:none;background:var(--panel);border:1px solid var(--gold);border-radius:1px;
  padding:1.2rem 1.35rem;color:var(--bone);
}
.form-status.show{display:block;}
.form-status strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.4rem;font-weight:600;display:block;margin-bottom:.25rem;color:var(--bone);}

/* ---------- Cart ---------- */
.cart-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:clamp(2rem,5vw,4rem);align-items:start;}
@media(max-width:900px){.cart-layout{grid-template-columns:1fr;}}
.cart-item{display:grid;grid-template-columns:88px 1fr auto;gap:1.25rem;align-items:center;padding:1.4rem 0;border-bottom:1px solid var(--line);}
.cart-item:first-child{border-top:1px solid var(--line);}
.cart-thumb{background:var(--panel);border-radius:1px;overflow:hidden;aspect-ratio:1;}
.cart-thumb img{width:100%;height:100%;object-fit:cover;}
.cart-info h3{font-size:1.3rem;color:var(--bone);}
.cart-info .scent{font-size:.84rem;color:var(--stone);}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:1px;margin-top:.55rem;}
.qty button{background:transparent;border:none;padding:.35rem .75rem;font-size:1rem;cursor:pointer;color:var(--bone);line-height:1;}
.qty button:hover{color:var(--gold);}
.qty button:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}
.qty span{padding:0 .75rem;min-width:2ch;text-align:center;font-weight:600;color:var(--bone);}
.cart-line{text-align:right;}
.cart-line .lt{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.45rem;color:var(--bone);}
.remove{display:block;margin-top:.55rem;background:none;border:none;padding:0;cursor:pointer;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--stone);border-bottom:1px solid transparent;}
.remove:hover{color:var(--gold);border-bottom-color:var(--gold);}
.remove:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}

.summary{background:var(--panel);border:1px solid var(--line);border-radius:1px;padding:clamp(1.5rem,3vw,2rem);position:sticky;top:100px;}
.summary h3{margin-bottom:1.3rem;color:var(--bone);}
.summary-row{display:flex;justify-content:space-between;padding:.55rem 0;color:var(--bone-70);font-size:.95rem;}
.summary-row.total{border-top:1px solid var(--line);margin-top:.6rem;padding-top:1.1rem;color:var(--bone);font-size:1.05rem;font-weight:600;}
.summary-row.total .amt{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.7rem;font-weight:500;}
.summary .btn{width:100%;text-align:center;margin-top:1.5rem;}

.cart-empty{padding:2rem 0;}
.cart-empty p{color:var(--bone-70);margin-bottom:1.5rem;}

.checkout-form{margin-top:clamp(2.5rem,5vw,4rem);max-width:46rem;}
.checkout-form h2{margin-bottom:1.7rem;}
.form-2col{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;}
@media(max-width:560px){.form-2col{grid-template-columns:1fr;}}

/* ---------- Footer ---------- */
.site-footer{background:var(--panel);color:var(--bone);padding:clamp(3rem,6vw,4.5rem) 0 2.5rem;border-top:1px solid var(--line);}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem;margin-bottom:3rem;}
.footer-brand{margin-bottom:1.2rem;}
.footer-brand span{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.5rem;letter-spacing:.06em;text-transform:uppercase;color:var(--bone);}
.footer-top p{color:var(--bone-70);font-size:.95rem;max-width:36ch;font-weight:300;}
.footer-col h4{font-family:"Inter",sans-serif;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:1rem;}
.footer-col a{display:block;color:var(--bone-70);text-decoration:none;padding:.35rem 0;font-size:.95rem;}
.footer-col a:hover{color:var(--gold);}
.footer-col a:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}
.footer-bottom{border-top:1px solid var(--line);padding-top:1.7rem;font-size:.85rem;color:var(--bone-55);}
.footer-bottom a{color:var(--bone-70);text-decoration:none;border-bottom:1px solid rgba(194,154,84,.6);}
.footer-bottom a:hover{color:var(--gold);}
.footer-bottom .line2{margin-top:.5rem;}
@media(max-width:720px){.footer-top{grid-template-columns:1fr;gap:2rem;}}

.skip-link{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--bg);padding:.7rem 1rem;z-index:100;border-radius:1px;font-weight:600;}
.skip-link:focus{left:1rem;top:1rem;}

.sr-only{position:absolute;left:-9999px;}
