/* ============================================================
   Pardeep Jewellers — Direction 2 "Modern Heritage Editorial"
   Mobile-first. Ivory paper, royal gold, deep ruby, champagne.
   ============================================================ */

:root {
  --ivory: #F7F2E8;
  --cream: #F1E9DA;
  --gold: #B8944A;
  --gold-deep: #96742F;
  --champagne: #E4CE97;
  --ruby: #8E1622;
  --ruby-deep: #6E0F19;
  --ink: #2B2118;
  --ink-soft: #5C5044;
  --dark: #241A10;
  --font-display: "Fraunces", serif;
  --font-body: "Figtree", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--ivory);
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.28 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
.loader.done { opacity: 0; pointer-events: none; }
.loader.hidden { display: none; }
.loader-logo-wrap { position: relative; width: 180px; overflow: hidden; }
.loader-logo { width: 100%; }
.loader-sweep {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,244,214,.85) 50%, transparent 70%);
  transform: translateX(-110%);
}
.loader.play .loader-sweep { animation: sweep 1.2s ease-in-out .2s 1 forwards; }
@keyframes sweep { to { transform: translateX(110%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(247,242,232,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184,148,74,.25);
}
.nav-toggle {
  width: 40px; height: 34px; background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header-logo-link { position: absolute; left: 50%; transform: translateX(-50%); }
.header-logo { height: 44px; width: auto; }

.header-rate {
  margin-left: auto;
  display: flex; align-items: baseline; gap: 5px;
  border: 1px solid rgba(184,148,74,.5);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  position: relative; overflow: hidden;
}
.header-rate .rate-kt { color: var(--ink-soft); letter-spacing: .04em; }
.header-rate .rate-value { font-weight: 600; color: var(--gold-deep); }
.header-rate .rate-value small { font-weight: 400; color: var(--ink-soft); font-size: 10px; }
/* light-sweep placement 3: header rate shimmer */
.header-rate::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,244,214,.9) 50%, transparent 65%);
  transform: translateX(-110%);
}
.header-rate.shimmer::after { animation: sweep 1.1s ease-in-out 1 forwards; }

.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--ivory);
  border-bottom: 1px solid rgba(184,148,74,.25);
  display: none; flex-direction: column;
}
.site-nav.open { display: flex; }
.site-nav a {
  padding: 15px 20px;
  font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  border-top: 1px solid rgba(184,148,74,.15);
}
.site-nav a.active { color: var(--ruby); }

/* ---------- Shared bits ---------- */
.section { padding: 56px 20px; position: relative; }

.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
  margin-bottom: 14px;
}
/* light-sweep placement 4: gold rule under section titles, draws in on scroll */
.rule-title { position: relative; padding-bottom: 10px; }
.rule-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 64px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--champagne) 30%, #FFF3CE 50%, var(--champagne) 70%, var(--gold) 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  transform: scaleX(0); transform-origin: left;
}
.rule-title.in-view::after { animation: ruleGlint 1.5s ease-out forwards; }
@keyframes ruleGlint {
  0%   { transform: scaleX(0); background-position: 120% 0; }
  40%  { transform: scaleX(1); }
  100% { transform: scaleX(1); background-position: -60% 0; }
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.ruby-em { font-style: italic; color: var(--ruby); }

.body-copy { color: var(--ink-soft); font-size: 16px; max-width: 34em; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  text-align: center;
  transition: background .25s, color .25s;
}
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

.text-link {
  display: inline-block; margin-top: 20px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

.figure-caption {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 12px;
}

/* ---------- Hero ---------- */
.hero { padding: 28px 20px 32px; }
.hero-eyebrow { text-align: left; }
.hero-headline { display: block; margin-bottom: 20px; }
.headline-gold {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 16vw, 110px);
  line-height: .98;
  letter-spacing: -.01em;
  /* light-sweep placement 2: sheen baked into the gradient */
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold) 30%, #F0DFAE 50%, var(--gold) 70%, var(--gold-deep) 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.headline-gold.play { animation: headlineSheen 1.6s ease-out .4s 1 forwards; }
@keyframes headlineSheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.headline-ruby {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 7vw, 40px);
  color: var(--ruby);
  margin-top: 6px;
}

.hero-media { position: relative; overflow: hidden; }
.hero-video { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; background: var(--cream) url("../images/hero-fallback.jpg") center/cover no-repeat; }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(20,12,6,.65));
  color: #fff;
}
.hero-caption-label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; }
.hero-caption-line { font-family: var(--font-display); font-size: 19px; }

.hero-actions { display: flex; gap: 12px; margin-top: 16px; }
.hero-actions .btn { flex: 1; padding-inline: 10px; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--dark);
  color: var(--champagne);
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px;
  padding: 12px 16px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.ticker-rate { font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; color: #F0DFAE; }
.ticker-updated { color: rgba(228,206,151,.6); font-size: 10px; margin-left: 6px; }
.ticker-fallback { font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; color: #F0DFAE; }

/* ---------- Legacy ---------- */
.legacy-numeral {
  position: absolute; top: 30px; right: 8px;
  font-family: var(--font-display);
  font-size: 150px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184,148,74,.35);
  pointer-events: none;
}
.legacy-figure { margin-top: 28px; }
.legacy-figure img { width: 100%; }

/* ---------- Specialisations mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.mosaic-card { position: relative; display: block; }
.mosaic-card img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; }
.mosaic-card:nth-child(even) { transform: translateY(26px); }
.mosaic-label {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-display);
  font-size: 21px; color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--champagne);
}
.specialisations { padding-bottom: 84px; } /* room for staggered column */

/* ---------- Bridal feature ---------- */
.bridal-figure {
  position: relative;
  margin: 26px 10px 28px 0;
}
.bridal-figure::after {
  content: ""; position: absolute; inset: 12px -10px -12px 10px;
  border: 1px solid var(--champagne);
  pointer-events: none;
  z-index: -1;
}
.bridal-figure img { width: 100%; display: block; }
.bridal-feature .body-copy { margin-bottom: 24px; }
.btn-ruby { background: var(--ruby); border: 1px solid var(--ruby); color: #F6E9DC; }
.btn-ruby:hover { background: transparent; color: var(--ruby); }

/* ---------- Walk-ins CTA ---------- */
.viewing-cta {
  background: var(--ruby);
  color: #F6E9DC;
  text-align: center;
  padding: 52px 24px;
}
.cta-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); margin-bottom: 14px; }
.cta-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(27px, 7.5vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-headline em { color: var(--champagne); }
.cta-note { font-size: 14px; color: rgba(246,233,220,.85); max-width: 30em; margin: 0 auto 26px; }
.btn-cta { border: 1px solid var(--champagne); color: var(--champagne); }
.btn-cta:hover { background: var(--champagne); color: var(--ruby); }

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: flex; gap: 12px;
  overflow-x: auto;
  margin-top: 26px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-video {
  flex: 0 0 62%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--cream);
}

/* ---------- Trust ---------- */
.trust { display: flex; flex-direction: column; gap: 34px; }
.trust-row { display: flex; align-items: center; gap: 22px; }
.trust-numeral {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 64px; line-height: 1;
  color: var(--ink);
  min-width: 130px;
}
.trust-numeral sup { font-size: 26px; color: var(--gold); }
.trust-numeral-small { font-size: 27px; line-height: 1.2; }
.trust-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Instagram ---------- */
.instagram { text-align: left; }
.insta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 24px 0;
}
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.instagram .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid rgba(184,148,74,.3);
  text-align: center;
  padding: 44px 20px 90px; /* extra bottom room so FAB never covers links */
}
.footer-logo { height: 74px; width: auto; margin: 0 auto 18px; }
.footer-address { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.footer-hours { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* ---------- Desktop ---------- */
@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .header-logo-link { position: static; transform: none; }
  .header-logo { height: 52px; }
  .site-nav {
    position: static; display: flex; flex-direction: row;
    background: none; border: 0; margin-left: 28px;
  }
  .site-nav a { border: 0; padding: 8px 14px; font-size: 13px; }

  .section, .hero { padding-left: clamp(24px, 8vw, 120px); padding-right: clamp(24px, 8vw, 120px); }

  .hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    grid-template-areas: "eyebrow media" "headline media" "actions media";
    align-items: center; column-gap: 48px;
    padding-top: 48px; padding-bottom: 48px;
  }
  .hero-eyebrow { grid-area: eyebrow; align-self: end; }
  .hero-headline { grid-area: headline; }
  .hero-actions { grid-area: actions; align-self: start; max-width: 420px; }
  .hero-media { grid-area: media; max-width: 430px; justify-self: end; }

  .legacy-numeral { font-size: 300px; right: 60px; }
  .legacy .body-copy { font-size: 18px; }

  .mosaic { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .mosaic-card:nth-child(even) { transform: translateY(40px); }
  .specialisations { padding-bottom: 110px; }

  .gallery-video { flex-basis: 240px; }

  .trust { flex-direction: row; justify-content: space-between; gap: 20px; }
  .trust-numeral { min-width: 0; font-size: 84px; }
  .trust-numeral-small { font-size: 34px; }

  .instagram .btn { width: auto; }
  .insta-grid { max-width: 560px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader.play .loader-sweep,
  .header-rate.shimmer::after,
  .headline-gold.play { animation: none; }
  .headline-gold { background-position: 50% 0; }
  .rule-title.in-view::after { animation: none; }
  .rule-title::after { transform: scaleX(1); background-position: 50% 0; }
  .loader { transition: none; }
}

/* ---------- Gold scroll thread (B+, brief v2.0) ---------- */
.gold-thread { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; }
main, .site-footer { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .gold-thread path { stroke-dashoffset: 0 !important; }
}

/* ---------- About Us page ---------- */
.about-open { padding-bottom: 24px; }
.about-intro { margin-top: 6px; font-style: italic; color: var(--ruby); font-size: 17px; }

/* Timeline — thread (global) is the connecting spine; items sit to one side */
.timeline { padding-top: 24px; display: flex; flex-direction: column; gap: 40px; }
.tl-item { padding-left: 22px; border-left: 1px solid rgba(184,148,74,.35); }
.tl-year {
  display: block;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 4px;
}
.tl-heading {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 6.5vw, 32px); line-height: 1.15;
  margin-bottom: 8px;
}

/* Family */
.family-list { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 22px; }
.family-member { display: flex; flex-direction: column; padding-bottom: 20px; border-bottom: 1px solid rgba(184,148,74,.2); }
.family-member:last-child { border-bottom: 0; }
.fm-name { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.fm-gen { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 3px 0 6px; }
.fm-desc { font-size: 15px; color: var(--ink-soft); }
.family-closing { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--ruby); max-width: 30em; }

/* Values */
.values-list { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.values-list li { display: flex; flex-direction: column; }
.val-name { font-family: var(--font-display); font-size: 18px; color: var(--gold-deep); }
.val-desc { font-size: 15px; color: var(--ink-soft); }

/* Invitation */
.invitation { background: var(--ruby); color: #F6E9DC; text-align: center; padding: 52px 24px; }
.invitation .cta-headline em { color: var(--champagne); }
.invitation .btn-cta { margin-top: 20px; }

@media (min-width: 800px) {
  .timeline { max-width: 640px; }
  .family-list { max-width: 640px; }
  .values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; max-width: 760px; }
}

/* ---------- Why choose us strip + closing note (v2.1) ---------- */
.why-choose {
  background: var(--cream);
  border-top: 1px solid rgba(184,148,74,.25);
  border-bottom: 1px solid rgba(184,148,74,.25);
  padding: 26px 20px;
  text-align: center;
}
.why-choose .eyebrow { margin-bottom: 16px; }
.why-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px;
}
.why-list li {
  font-family: var(--font-display);
  font-size: 15px; color: var(--ink);
}
.why-list li::before { content: "◆ "; color: var(--ruby); font-size: 9px; vertical-align: 2px; }

.closing-note { padding: 48px 24px 40px; text-align: center; }
.closing-note p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(17px, 4.6vw, 22px); line-height: 1.55;
  color: var(--ink-soft); max-width: 34em; margin: 0 auto;
}

@media (min-width: 800px) {
  .why-list { grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 44px; }
  .trust { padding-top: 40px; padding-bottom: 40px; }
}

/* ---------- Contact Us page ---------- */
.contact-open { padding-bottom: 10px; }
.contact-block { padding-top: 30px; padding-bottom: 30px; }
.contact-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 6vw, 28px); margin-bottom: 12px;
}
.contact-address { margin-bottom: 16px; }
.map-wrap { border: 1px solid rgba(184,148,74,.35); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }
.map-btn { margin-top: 14px; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid rgba(184,148,74,.2);
  font-size: 15px;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-day { color: var(--ink-soft); }
.hours-time { font-weight: 600; color: var(--ink); white-space: nowrap; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(184,148,74,.2);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-name { flex: 1 1 100%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.contact-number { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.contact-wa {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--ruby); border-bottom: 1px solid var(--ruby); padding-bottom: 1px;
}
.contact-insta { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.contact-insta a { color: var(--ruby); border-bottom: 1px solid var(--ruby); }

.form-note { margin-bottom: 18px; font-size: 14px; }
.enquiry-form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.enquiry-form label { display: flex; flex-direction: column; gap: 6px; }
.enquiry-form label span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.enquiry-form input, .enquiry-form textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(184,148,74,.4);
  padding: 12px 14px; border-radius: 0;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.btn-form { background: var(--ruby); color: #F6E9DC; border: 0; cursor: pointer; font-family: var(--font-body); }
.btn-form:hover { background: var(--ruby-deep); }
