/* ============================================
   RUKMANI EXPORTS — Design System
   "Warm Editorial Restraint" (Visual Identity, Phase 4)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Warm neutral base — deepened for stronger, more confident contrast */
  --ivory: #F8F6F0;
  --ivory-deep: #EEE7D8;
  --taupe: #C9B896;
  --taupe-line: rgba(139, 105, 41, 0.20);
  --espresso: #17120D;
  --espresso-soft: #3E332A;
  --espresso-faint: #756654;

  /* Refined gold accent — polished, not mustard; used sparingly, never a block */
  --brass: #9C7A34;
  --brass-light: #C7A360;
  --brass-deep: #7A5D26;
  --gold-shine: linear-gradient(135deg, #D4B579 0%, #9C7A34 50%, #C7A360 100%);

  /* Gemstone color — reserved exclusively for gemstone representations */
  --ruby: #8A1D28;
  --ruby-deep: #5E1119;
  --ruby-light: #B23A44;

  --white: #FFFEFC;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1280px;
  --gutter: clamp(1.25rem, 6vw, 64px);

  --shadow-soft: 0 4px 24px rgba(23, 18, 13, 0.06);
  --shadow-card: 0 8px 32px rgba(23, 18, 13, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--espresso-soft);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.001em;
  margin: 0;
}

h4 {
  font-family: var(--font-body);
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.001em;
  margin: 0;
}

h1 { letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Visible, accessible focus state site-wide — required for both keyboard users and accessibility scoring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--espresso); color: var(--ivory); padding: 0.9rem 1.4rem;
  font-size: 0.9rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brass-deep);
}

.hairline {
  border: none;
  border-top: 1px solid var(--taupe-line);
  margin: 0;
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--taupe-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark svg { height: 38px; width: auto; }
.logo-img { height: 46px; width: auto; }

.logo-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--espresso);
  line-height: 1.1;
}

.logo-word span { display: block; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--brass-deep); font-family: var(--font-body); font-weight: 600; margin-top: 2px; }

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}

nav.primary-nav a {
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--espresso-soft);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

nav.primary-nav a.emphasis { color: var(--espresso); font-weight: 600; }

nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--brass);
  transition: right 0.25s ease;
}

nav.primary-nav a:hover::after { right: 0; }
nav.primary-nav a.current::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--espresso);
  margin: 5px 0;
}

@media (max-width: 900px) {
  nav.primary-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
     height: fit-content;
  }
  nav.primary-nav.open { transform: translateX(0); height:fit-content;}
  nav.primary-nav a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
}

@media (max-width: 1080px) {
    .f-nav {
height: fit-content;
    }
}

/* ============ BUTTONS / CTA ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.8rem;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  background: transparent;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}
.btn:hover { background: var(--espresso); color: var(--ivory); transform: translateY(-1px); box-shadow: var(--shadow-card); }

.btn-solid {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}
.btn-solid:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: var(--white); }

.btn-brass {
  border-color: var(--brass);
  color: var(--brass-deep);
}
.btn-brass:hover { background: var(--brass); color: var(--white); }

.text-link {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.text-link:hover { border-color: var(--brass-deep); opacity: 0.75; }

.header-bag { display:flex; align-items:center; gap:0.4rem; }
.header-bag .count {
  background: var(--espresso); color: var(--ivory); border-radius: 50%;
  width: 19px; height: 19px; display:flex; align-items:center; justify-content:center;
  font-size: 0.68rem; flex: none;
}

/* ============ SECTIONS ============ */

.section { padding: clamp(4rem, 9vw, 8.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-alt { background: var(--ivory-deep); }
.section-dark { background: var(--espresso); color: var(--taupe); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ivory); }

/* ============ HERO ============ */

.hero {
  padding: clamp(3rem, 10vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  margin-bottom: 1.5rem;
}

.hero .lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--espresso-soft);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.gem-hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* ============ TRUST BAR ============ */

.trust-bar {
  border-top: 1px solid var(--taupe-line);
  border-bottom: 1px solid var(--taupe-line);
  padding: 1.5rem 0;
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  justify-content: space-between;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--espresso-soft);
  white-space: nowrap;
}
.trust-item .dot { width: 5px; height: 5px; background: var(--brass); border-radius: 50%; flex: none; }

/* ============ TWO COLUMN / GRID CONTENT ============ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split.reverse .split-media { order: 0; } }

.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.1rem; }
.split p { max-width: 52ch; }

.entry-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 720px) { .entry-paths { grid-template-columns: 1fr; } }

.entry-card {
  position: relative;
  border: 1px solid var(--taupe-line);
  padding: clamp(2rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 340px;
  justify-content: flex-end;
  overflow: hidden;
}

.entry-card .facet-bg { position: absolute; inset: 0; opacity: 0.9; }
.entry-card .entry-content { position: relative; z-index: 1; }
.entry-card h3 { font-size: 1.7rem; color: var(--ivory); }
.entry-card p { color: var(--taupe); max-width: 34ch; }
.entry-card .text-link { color: var(--ivory); border-color: var(--brass-light); }

/* ============ CARDS / GRID ============ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--taupe-line);
  border: 1px solid var(--taupe-line);
}
@media (max-width: 860px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.stone-card {
  background: var(--ivory);
  padding: 2rem 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
.stone-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); z-index: 2; }

.stone-card .stone-figure { height: 220px; margin-bottom: 0.4rem; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--ivory-deep); }

.stone-card h4 { font-size: 1.3rem; }
.stone-card .meta { font-size: 0.83rem; color: var(--espresso-faint); letter-spacing: 0.02em; }
.stone-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--brass);
  color: var(--brass-deep);
  width: fit-content;
}
.stone-card .price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--espresso); margin-top: 0.2rem; }

/* ============ REVIEWS ============ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--taupe-line);
  border: 1px solid var(--taupe-line);
}
@media (max-width: 860px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--ivory);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.review-photo {
  width: 100%; height: 160px; background-size: cover; background-position: center;
  margin-bottom: 0.3rem;
}
.review-stars { color: var(--brass-deep); font-size: 1rem; letter-spacing: 0.1em; }
.review-quote { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--espresso); line-height: 1.5; }
.review-author { font-size: 0.82rem; color: var(--espresso-faint); letter-spacing: 0.02em; text-transform: uppercase; }

/* ============ QUOTE / STORY BLOCKS ============ */

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.4;
  max-width: 34ch;
}

/* ============ LATTICE MOTIF (Jaipur jharokha reference) ============ */

.lattice-band {
  height: 46px;
  background-image: repeating-linear-gradient(
    45deg, var(--taupe-line), var(--taupe-line) 1px, transparent 1px, transparent 22px
  ), repeating-linear-gradient(
    -45deg, var(--taupe-line), var(--taupe-line) 1px, transparent 1px, transparent 22px
  );
  opacity: 0.7;
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--espresso);
  color: var(--taupe);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.site-footer h4 {
  color: var(--ivory);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid a {
  display: block;
  font-size: 0.88rem;
  color: var(--taupe);
  margin-bottom: 0.7rem;
}
.footer-grid a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: var(--espresso-faint);
}

/* ============ UTILITIES ============ */

.mt-0 { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; }
.tiny-caps { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brass-deep); font-weight: 600; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ INQUIRE MODAL ============ */

.inquire-overlay {
  position: fixed; inset: 0; background: rgba(37,29,23,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
  padding: 1.5rem;
}
.inquire-overlay.open { opacity: 1; visibility: visible; }
.inquire-box {
  background: var(--ivory); max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: clamp(1.8rem, 4vw, 2.6rem); position: relative; border: 1px solid var(--taupe-line);
}
.inquire-close {
  position: absolute; top: 1rem; right: 1.2rem; background: none; border: none;
  font-size: 1.6rem; line-height: 1; color: var(--espresso-faint); cursor: pointer;
}
.inquire-close:hover { color: var(--espresso); }
.inquire-box .form-row { margin-bottom: 1.1rem; }
.inquire-box label { display:block; font-size:0.8rem; color: var(--espresso-soft); margin-bottom:0.4rem; }
.inquire-box input, .inquire-box select, .inquire-box textarea {
  width:100%; padding:0.7rem 0.9rem; border:1px solid var(--taupe-line); background:var(--white);
  font-family: var(--font-body); font-size:0.92rem; color:var(--espresso);
}
.inquire-box input:focus, .inquire-box select:focus, .inquire-box textarea:focus { outline:1px solid var(--brass); border-color:var(--brass); }
