/* Suvarna Jewellers (sample demo). Dark, gold and cream; restraint and space. Motion is slow and quiet:
   long fades with a slight scale, a slow gold light sweep, unhurried zoom on collection cards.
   Transform and opacity only; off for "reduce motion" and paused while the tab is hidden. */

@font-face { font-family: "Jost Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 96%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"); size-adjust: 88%; }

:root {
  --bg: #141110;
  --bg2: #1b1715;
  --gold: #c9a227;
  --gold-soft: #e2c56a;
  --cream: #f3ead9;
  --muted: #bfb4a2;
  --line: rgba(201, 162, 39, .28);
  --ease: cubic-bezier(.25, .6, .2, 1);
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "Jost", "Jost Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 300 17px/1.75 var(--sans); overflow-x: hidden; }
svg { display: block; }
a { color: inherit; }
p, h1, h2, h3, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
h1 em { display: block; font-style: italic; color: var(--gold-soft); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }
strong, b { font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #141110; padding: 10px 14px; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sec { padding: 110px 0; }
.sec--alt { background: var(--bg2); }
.sec__head { margin-bottom: 48px; }
.kicker { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.lead { margin-top: 20px; color: var(--muted); max-width: 48ch; }
.note { margin-top: 26px; font-size: .82rem; color: var(--muted); font-style: italic; }
.note--c { text-align: center; }

/* A thin gold rule with a slow light sweep across it. */
.rule { position: relative; display: block; width: 90px; height: 1px; margin-top: 22px; background: var(--gold); overflow: hidden; }
.rule::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, #fff6d6, transparent); transform: translateX(-120%); }
.js .rule::after { animation: sweep 6s ease-in-out 1.5s infinite; }
@keyframes sweep { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(320%); } }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; font: 400 .92rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); transition: transform .6s var(--ease); }
.btn svg { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: #141110; }
.btn--line { color: var(--cream); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--cream); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--gold { background: var(--gold); color: #141110; border-color: var(--gold); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 20px; color: var(--gold-soft); text-decoration: none; letter-spacing: .06em; }

/* ------------------------------------------------------------------ header */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.head::before { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 16, .92); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .8s ease; }
.head.solid::before { opacity: 1; }
.head__in { position: relative; display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mono { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font: italic 500 1.6rem/1 var(--serif); color: var(--gold-soft); }
.logo__text span { font-size: .66rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { margin-left: auto; display: flex; gap: 32px; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 10px 0; color: var(--muted); }
.nav a:hover { color: var(--gold-soft); }
.head__btns { display: flex; gap: 10px; }
@media (max-width: 800px) { .nav { display: none; } .head__btns { margin-left: auto; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: flex-end; padding: 140px 0 80px; overflow: hidden; }
.hero__art { position: absolute; inset: 0; overflow: hidden; background: #1b1715; }
.hero__media { position: absolute; inset: 0; }
.js .hero__media { animation: breathe 16s ease-in-out infinite; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
/* Desktop: the model is mirrored so she faces the headline instead of sitting under it. */
@media (min-width: 701px) { .hero__img, .hero__video { transform: scaleX(-1); } }
.hero__video { opacity: 0; transition: opacity 1.6s ease; }
.hero__video.on { opacity: 1; }
@keyframes breathe { 50% { transform: scale(1.04); } }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 16, .92) 0%, rgba(20, 17, 16, .55) 45%, rgba(20, 17, 16, 0) 75%), linear-gradient(0deg, rgba(20, 17, 16, .85), transparent 40%); }
.sweep { position: absolute; top: -20%; bottom: -20%; left: 0; width: 22%; background: linear-gradient(90deg, transparent, rgba(255, 238, 180, .12), transparent); transform: translateX(-120%) skewX(-12deg); }
.js .sweep { animation: glint 9s ease-in-out 2s infinite; }
@keyframes glint { 0% { transform: translateX(-120%) skewX(-12deg); } 50%, 100% { transform: translateX(560%) skewX(-12deg); } }
.hero__copy { position: relative; }
.hero__p { margin-top: 24px; max-width: 44ch; color: var(--muted); font-size: 1.08rem; }
.hero__btns { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 28px; font-size: .78rem; font-style: italic; color: var(--muted); }

/* ------------------------------------------------------------------ collections */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.col--wide { grid-column: span 3; }
.col h3 { margin-top: 18px; }
.col p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.col__img { position: relative; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 300 / 220; }
.col--wide .col__img { aspect-ratio: 300 / 110; }
.col__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.col--wide .col__img img { object-position: 50% 35%; }
@media (hover: hover) { .col:hover .col__img img { transform: scale(1.06); } }
.col.tap .col__img img { transform: scale(1.06); }

/* ------------------------------------------------------------------ why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.why svg { width: 44px; height: 44px; color: var(--gold); margin-bottom: 18px; }
.why p { margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* ------------------------------------------------------------------ trust */
.trust { padding: 80px 0 60px; border-block: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.trust__list b { display: block; font: 500 clamp(3rem, 8vw, 4.6rem)/1 var(--serif); color: var(--gold-soft); }
.trust__list span { display: block; margin-top: 10px; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ visit */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.visit__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.card { padding: 36px 32px; border: 1px solid var(--line); background: var(--bg2); }
.card h3 { color: var(--gold-soft); font-style: italic; }
.card > p { margin-top: 12px; }
.hours { margin: 18px 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; }
.hours dt { color: var(--muted); }

/* ------------------------------------------------------------------ footer */
.foot { padding: 48px 0 30px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.foot__nav a { padding: 10px 0; color: var(--muted); text-decoration: none; }
.foot__row { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .82rem; color: var(--muted); }
.foot__row a { color: var(--gold-soft); }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: min(92vw, 460px); padding: 14px 18px; background: var(--cream); color: #141110; font-size: .92rem; font-weight: 400; opacity: 0; transform: translate(-50%, 12px); transition: opacity .5s ease, transform .5s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ reveals: long, unhurried */
.js [data-reveal] { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity 1.3s ease, transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .cols { grid-template-columns: repeat(2, 1fr); }
  .col--wide { grid-column: span 2; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sec { padding: 80px 0; }
  .hero { padding: 120px 0 48px; min-height: 92vh; }
  .hero__img, .hero__video { object-position: 50% 20%; }
  .hero__art::after { background: linear-gradient(0deg, rgba(20, 17, 16, .98) 34%, rgba(20, 17, 16, .55) 62%, rgba(20, 17, 16, .1)); }
  .cols { grid-template-columns: 1fr; }
  .col--wide { grid-column: auto; }
  .col--wide .col__img { aspect-ratio: 300 / 220; }
  .why { grid-template-columns: 1fr; gap: 30px; }
  .trust__list { grid-template-columns: 1fr; gap: 36px; }
  .hero__btns .btn, .visit__btns .btn { width: 100%; }
  .card { padding: 28px 22px; }
  .logo__text b { font-size: 1.4rem; }
}

/* ------------------------------------------------------------------ pause + reduced motion */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .sweep, .rule::after { display: none; }
}
