/* ============================================================
   JEWELIVERY — brand showcase
   Type:  Cormorant Garamond (display serif) · Jost (labels/UI)
   Color: warm ivory paper, warm ink, muted 18k gold, jewel tones
   ============================================================ */

:root {
  --ivory:       #f3efe7;
  --ivory-deep:  #e9e3d6;
  --paper:       #faf8f3;
  --ink:         #1a1712;
  --ink-2:       #2a261f;
  --ink-soft:    #6a6357;
  --ink-faint:   #9a9284;
  --gold:        #a4812f;
  --gold-2:      #c5a258;
  --gold-3:      #e3cf9e;
  --line:        rgba(26, 23, 18, 0.14);
  --line-soft:   rgba(26, 23, 18, 0.08);
  --line-gold:   rgba(164, 129, 47, 0.45);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --gut:  clamp(20px, 5vw, 80px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.muted { color: var(--ink-faint); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.serif-em { font-style: italic; font-weight: 400; }

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
  color: var(--ink-2);
}

.body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
section { position: relative; }

.rule { height: 1px; background: var(--line); border: 0; }

/* hairline link */
.tlink {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-gold);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), gap 0.4s var(--ease);
}
.tlink:hover { color: var(--gold); gap: 1.1em; border-color: var(--gold); }
.tlink .arr { font-family: var(--serif); font-size: 16px; }

/* button */
.btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  display: inline-block;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.on-dark { border-color: var(--gold-2); background: transparent; color: var(--ivory); }
.btn.on-dark:hover { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(243, 239, 231, 0.86);
  backdrop-filter: blur(14px);
  padding-block: 16px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav__brand { font-size: 19px; color: var(--ink); transition: color 0.5s var(--ease); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); align-items: center; }
.nav__links a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); opacity: 0.82; transition: opacity 0.3s, color 0.5s var(--ease);
}
.nav__links a:hover { opacity: 1; color: var(--gold); }
.nav__cta {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--line-gold); padding: 10px 20px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: var(--ivory) !important; border-color: var(--gold); }

/* nav over the dark hero */
.nav--over-dark .nav__brand,
.nav--over-dark .nav__links a { color: var(--paper); }
.nav--over-dark .nav__cta { border-color: rgba(227, 207, 158, 0.5); color: var(--paper); }
.nav--over-dark .nav__links a:hover { color: var(--gold-3); }

.nav__burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--paper);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px var(--gut) 80px;
}
.hero__text .eyebrow { margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(46px, 7vw, 104px);
  color: var(--paper);
}
.hero h1 .gold { color: var(--gold-3); }
.hero__sub {
  margin-top: 32px; max-width: 30ch;
  color: rgba(250, 248, 243, 0.7);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.hero__meta {
  margin-top: auto; padding-top: 56px;
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero__meta .item .k { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); }
.hero__meta .item .v { font-family: var(--serif); font-size: 21px; color: var(--paper); margin-top: 6px; }

.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(26,23,18,0.55) 0%, rgba(26,23,18,0) 32%);
}
.hero__tag {
  position: absolute; left: 28px; bottom: 26px; z-index: 2;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,248,243,0.82); display: flex; align-items: center; gap: 10px;
}
.hero__tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }

/* ============================================================
   FEATURED / SIGNATURE
   ============================================================ */
.featured { padding: clamp(80px, 11vw, 160px) 0; background: var(--ivory); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 64px); max-width: 16ch; }
.sec-head .eyebrow { display: block; margin-bottom: 22px; }

.signature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  margin-bottom: 80px;
}
.sig {
  position: relative;
}
.sig--a { grid-column: 1 / 5; }
.sig--b { grid-column: 5 / 9; transform: translateY(80px); }
.sig--c { grid-column: 9 / 13; transform: translateY(24px); }
.sig__img { overflow: hidden; background: var(--ivory-deep); }
.sig__img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 1.1s var(--ease); }
.sig:hover .sig__img img { transform: scale(1.05); }
.sig__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.sig__cap .name { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); font-weight: 400; }
.sig__cap .kind { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); border-top: 1px solid var(--line-soft); }
.coll-list { border-top: 1px solid var(--line); }
.coll {
  display: grid; grid-template-columns: 0.5fr 2fr 1.4fr auto;
  gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 38px) 4px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease), color 0.4s var(--ease);
}
.coll:hover { padding-left: 22px; }
.coll__num { font-family: var(--serif); font-size: 16px; color: var(--ink-faint); font-style: italic; }
.coll__name { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -0.01em; }
.coll__name em { font-style: italic; color: var(--gold); }
.coll__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; max-width: 34ch; }
.coll__go { font-family: var(--serif); font-size: 26px; color: var(--ink-faint); transition: color 0.4s var(--ease), transform 0.4s var(--ease); }
.coll:hover .coll__go { color: var(--gold); transform: translateX(6px); }
.coll:hover .coll__name em { color: var(--gold-2); }

/* ============================================================
   BIRTHSTONE SELECTOR
   ============================================================ */
.birth { padding: clamp(84px, 11vw, 160px) 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.birth .eyebrow { color: var(--gold-2); }
.birth__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.birth__head h2 { font-size: clamp(34px, 5vw, 68px); color: var(--paper); margin-top: 20px; }
.birth__head p { color: rgba(250,248,243,0.62); max-width: 46ch; margin: 22px auto 0; font-size: 15px; line-height: 1.7; }

.months {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px; margin-bottom: clamp(40px, 5vw, 60px);
}
.month-chip {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(250,248,243,0.6);
  background: transparent; border: 1px solid rgba(250,248,243,0.16);
  padding: 10px 16px; cursor: pointer; border-radius: 100px;
  transition: all 0.4s var(--ease);
}
.month-chip:hover { color: var(--paper); border-color: rgba(250,248,243,0.4); }
.month-chip.active { color: var(--ink); background: var(--stone, var(--gold-2)); border-color: transparent; }

.stone-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px);
  align-items: center;
  max-width: 1040px; margin: 0 auto;
  border: 1px solid rgba(250,248,243,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  padding: clamp(28px, 4vw, 56px);
}
.stone-visual {
  position: relative; aspect-ratio: 1/1; border-radius: 4px; overflow: hidden;
  background: #0d0b08;
  display: flex; align-items: center; justify-content: center;
}
.stone-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.stone-visual img.show { opacity: 1; }
/* CSS-rendered gem fallback */
.gem {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.gem.show { opacity: 1; }
.gem__core {
  width: 46%; aspect-ratio: 1/1; border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0) 38%),
    radial-gradient(circle at 64% 70%, var(--stone-hi, #fff), var(--stone, #888) 60%, var(--stone-lo, #333) 100%);
  box-shadow: 0 0 60px -8px var(--stone, #888), inset 0 -10px 30px rgba(0,0,0,0.4);
}
.stone-meta .s-month { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-2); }
.stone-meta .s-name {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 78px);
  line-height: 1; margin: 16px 0 10px; color: var(--paper);
}
.stone-meta .s-name em { font-style: italic; }
.stone-meta .s-tag { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--stone-text, var(--gold-3)); margin-bottom: 22px; }
.stone-meta .s-desc { color: rgba(250,248,243,0.66); font-size: 14.5px; line-height: 1.75; max-width: 38ch; margin-bottom: 30px; }
.stone-meta .s-avail {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,248,243,0.5);
  margin-bottom: 26px;
}
.stone-meta .s-avail .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stone, var(--gold-2)); }

/* ============================================================
   PERSONALISE / STORY
   ============================================================ */
.story { padding: clamp(80px, 11vw, 160px) 0; background: var(--ivory); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story__media .stamp {
  position: absolute; right: -22px; bottom: 36px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink); color: var(--gold-3);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.2;
  border: 1px solid var(--gold);
}
.story h2 { font-size: clamp(32px, 4.4vw, 60px); margin: 22px 0 28px; }
.story h2 em { font-style: italic; color: var(--gold); }
.story__points { margin-top: 38px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.story__points .pt { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.story__points .pt .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 17px; }
.story__points .pt .t { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.story__points .pt .d { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.6; }

/* ============================================================
   SHIPPING BAND
   ============================================================ */
.ship { background: var(--ink-2); color: var(--paper); padding: clamp(60px, 8vw, 104px) 0; }
.ship__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 64px); }
.ship__item { text-align: left; }
.ship__item .big { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 84px); line-height: 0.95; color: var(--gold-3); }
.ship__item .lbl { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper); margin: 18px 0 10px; }
.ship__item .sub { font-size: 14px; color: rgba(250,248,243,0.6); line-height: 1.65; max-width: 30ch; }
.ship__item + .ship__item { border-left: 1px solid rgba(250,248,243,0.12); padding-left: clamp(20px, 3vw, 48px); }

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit { padding: clamp(80px, 11vw, 160px) 0; background: var(--paper); }
.visit__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 80px); }
.visit h2 { font-size: clamp(34px, 4.8vw, 66px); margin: 22px 0 30px; }
.visit__addr { font-family: var(--serif); font-size: 24px; font-weight: 300; line-height: 1.5; color: var(--ink-2); }
.visit__rows { margin-top: 40px; border-top: 1px solid var(--line); }
.visit__row { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.visit__row .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.visit__row .v { font-size: 15px; color: var(--ink); }
.visit__row .v a { border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; transition: color 0.3s; }
.visit__row .v a:hover { color: var(--gold); }
.visit__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.map-ph {
  position: relative; height: 100%; min-height: 420px;
  background:
    repeating-linear-gradient(45deg, var(--ivory-deep) 0 12px, var(--ivory) 12px 24px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  text-align: center; padding: 30px;
}
.map-ph .pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--gold); transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(164,129,47,0.4); }
.map-ph .ph-label { font-family: "Courier New", monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; max-width: 30ch; line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,248,243,0.12); }
.footer__brand .mark { font-size: 26px; color: var(--paper); }
.footer__brand p { color: rgba(250,248,243,0.55); font-size: 14px; line-height: 1.7; margin-top: 22px; max-width: 34ch; }
.footer__col h4 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.footer__col a, .footer__col span { display: block; font-size: 14px; color: rgba(250,248,243,0.7); margin-bottom: 13px; transition: color 0.3s; }
.footer__col a:hover { color: var(--gold-3); }
.footer__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; }
.footer__bot p { font-size: 12px; color: rgba(250,248,243,0.4); letter-spacing: 0.04em; }
.footer__bot .socials { display: flex; gap: 24px; }
.footer__bot .socials a { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,248,243,0.6); }
.footer__bot .socials a:hover { color: var(--gold-3); }

/* ============================================================
   reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { min-height: 64vh; order: -1; }
  .hero__text { padding-top: 110px; }
  .signature { grid-template-columns: 1fr 1fr; }
  .sig--a, .sig--b, .sig--c { grid-column: auto; transform: none; }
  .sig--c { grid-column: 1 / 3; max-width: 60%; }
  .story__grid, .visit__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; }
  .stone-panel { grid-template-columns: 1fr; }
  .stone-visual { max-width: 340px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .hero { min-height: 100svh; }
  .hero__media { order: 0; min-height: 42vh; }
  .hero__text { padding-top: 96px; padding-bottom: 34px; }
  .hero__text h1 { font-size: clamp(40px, 12vw, 56px); line-height: 1.04; }
  .coll { grid-template-columns: auto 1fr auto; }
  .coll__desc { display: none; }
  .ship__grid { grid-template-columns: 1fr; gap: 0; }
  .ship__item + .ship__item { border-left: 0; border-top: 1px solid rgba(250,248,243,0.12); padding-left: 0; padding-top: 32px; margin-top: 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .signature { grid-template-columns: 1fr; }
  .sig--c { grid-column: auto; max-width: 100%; }
  .visit__row { grid-template-columns: 1fr; gap: 4px; }
  .story__media .stamp { right: 12px; width: 108px; height: 108px; font-size: 15px; }
}
