/* Colours taken from the Kartik Gold business card */
:root {
  --plum-900: #180b15;
  --plum-800: #24121f;
  --plum-700: #33192c;
  --plum-600: #472640;
  --gold-100: #fff1bd;
  --gold-300: #ecc766;
  --gold-500: #c8962f;
  --silver: #f4eef2;
  --muted: #c3b2bd;
  --line: rgba(236, 199, 102, .22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--plum-800); color: var(--silver); font: 300 1.05rem/1.7 var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--gold-100); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-bottom: 14px; }
h3 { font-size: 1.55rem; }
.eyebrow { color: var(--gold-300); font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border: 1px solid transparent; border-radius: 999px; font: 500 .95rem var(--sans); letter-spacing: .03em; cursor: pointer; transition: transform .25s, box-shadow .25s, background-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(115deg, var(--gold-100), var(--gold-300) 35%, var(--gold-500) 70%, var(--gold-300)); color: var(--plum-900); box-shadow: 0 8px 24px rgba(200, 150, 47, .28); }
.btn-gold:hover { box-shadow: 0 12px 34px rgba(236, 199, 102, .42); }
.btn-line { border-color: var(--gold-500); color: var(--gold-100); }
.btn-line:hover { background: rgba(236, 199, 102, .1); }
.btn-sm { padding: 9px 20px; font-size: .86rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.open { background: rgba(24, 11, 21, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 38px; }
.brand-word { width: 168px; height: 16px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; }
.nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold-100); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gold-300); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 70px;
  background:
    radial-gradient(ellipse at 76% 45%, var(--plum-600), transparent 55%),
    radial-gradient(ellipse at 0% 100%, #3b1c2c, transparent 55%),
    var(--plum-900); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 90px, rgba(236, 199, 102, .07) 90px 91px);
  -webkit-mask: linear-gradient(90deg, #000, transparent 60%); mask: linear-gradient(90deg, #000, transparent 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
h1 em { font-weight: 500; background: linear-gradient(100deg, var(--gold-500), var(--gold-100) 40%, var(--gold-300) 60%, var(--gold-500)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; animation: shimmer 7s linear infinite; }
.lead { max-width: 500px; margin: 24px 0 34px; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: .9rem; color: var(--muted); }
.hero-points li::before { content: "◆"; color: var(--gold-500); font-size: .6rem; margin-right: 9px; vertical-align: 2px; }
.hero-art { position: relative; display: grid; place-items: center; }
.ring { position: relative; width: min(100%, 500px); filter: drop-shadow(0 26px 36px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.halo { position: absolute; width: min(94%, 470px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); animation: spin 60s linear infinite; }
.halo::before, .halo::after { content: ""; position: absolute; border-radius: 50%; }
.halo::before { inset: 34px; border: 1px dashed var(--line); }
.halo::after { width: 9px; height: 9px; top: 14%; left: 14%; background: var(--gold-300); box-shadow: 0 0 18px 4px rgba(236, 199, 102, .6); }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.s2 { animation-delay: 1.1s; }
.s3 { animation-delay: 2s; }

/* Marquee */
.marquee { overflow: hidden; padding: 16px 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-100), var(--gold-500)); color: var(--plum-900); }
.marquee-track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.marquee span { font: 600 1.35rem var(--serif); white-space: nowrap; }
.marquee span::after { content: "✦"; margin: 0 34px; font-size: .9rem; }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child, .about p:not(.eyebrow) { color: var(--muted); }
.center { text-align: center; margin-top: 50px; }

/* Collections */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 28px 32px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(165deg, var(--plum-700), var(--plum-900)); transition: transform .35s, border-color .35s, box-shadow .35s, opacity .7s; }
.tile::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 241, 189, .1), transparent); transform: skewX(-18deg); transition: left .7s; }
.tile:hover, .tile:focus-visible { transform: translateY(-8px); border-color: var(--gold-500); box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.tile:hover::after { left: 150%; }
.tile svg { width: 120px; height: 120px; margin-bottom: 22px; fill: none; stroke: var(--gold-300); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.tile .beads { stroke-width: 6; stroke-dasharray: 0.1 9; }
.tile:hover svg { transform: scale(1.09) rotate(-3deg); }
.tile p { color: var(--muted); font-size: .96rem; margin: 8px 0 18px; }
.tile span { margin-top: auto; color: var(--gold-300); font-weight: 500; font-size: .9rem; }

/* Custom orders */
.custom { background: var(--plum-900); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { border-top: 1px solid var(--gold-500); padding-top: 22px; }
.steps b { display: block; font: 500 italic 2.8rem/1 var(--serif); color: var(--gold-300); margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: .96rem; margin-top: 8px; }

/* About + business card */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.facts { margin: 28px 0 32px; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--gold-300); }
.card-stage { perspective: 1000px; container-type: inline-size; }
.bizcard { position: relative; aspect-ratio: 1.75; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 4cqw 5cqw; border-radius: 3cqw; text-align: center; line-height: 1.5;
  background: radial-gradient(circle at 70% 20%, #553049, #321a2d 55%, #1f0f1c);
  box-shadow: 0 36px 70px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out; }
.bizcard-ring { position: absolute; top: 4cqw; left: 4cqw; width: 20cqw; height: 20cqw; transform: rotate(-18deg); }
.bizcard-phones { position: absolute; top: 4cqw; right: 5cqw; text-align: right; font-size: 2.7cqw; }
.about .bizcard-phones { color: var(--silver); }
.bizcard-mark { width: 17cqw; height: 14.5cqw; flex: none; margin-bottom: 4cqw; }
.bizcard-word { width: 66cqw; height: 6.1cqw; flex: none; margin-bottom: 3cqw; }
.about .bizcard-gst { color: var(--gold-300); font-weight: 500; font-size: 3.1cqw; letter-spacing: .04em; margin-bottom: 2.4cqw; }
.about .bizcard .bizcard-phones, .about .bizcard .bizcard-addr { color: var(--silver); }
.about .bizcard .bizcard-gst { color: var(--gold-300); }
.bizcard-addr { font-size: 2.7cqw; max-width: 76cqw; }

/* Contact */
.contact { background: radial-gradient(ellipse at 85% 30%, var(--plum-600), transparent 55%), var(--plum-900); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--gold-300); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.contact-list a { font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-100); }
address { font-style: normal; color: var(--silver); }
.enquiry { display: grid; gap: 18px; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: rgba(51, 25, 44, .72); }
.enquiry label { display: grid; gap: 7px; font-size: .9rem; color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--plum-900); color: var(--silver); font: 400 1rem var(--sans); }
.enquiry textarea { resize: vertical; }
.enquiry :is(input, select, textarea):focus { outline: none; border-color: var(--gold-300); }
.enquiry small { text-align: center; color: var(--muted); }

/* Footer */
.footer { padding: 56px 0 100px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer svg { display: block; margin: 0 auto; }
.footer-mark { width: 70px; height: 60px; }
.footer-word { width: min(260px, 80%); height: 24px; margin-block: 18px !important; }

/* Floating WhatsApp */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); transition: transform .25s; }
.fab:hover { transform: scale(1.1); }
.fab svg { width: 34px; height: 34px; fill: #fff; }

/* Gold rate */
[hidden] { display: none !important; }
.rates { background: radial-gradient(ellipse at 50% 0%, var(--plum-600), transparent 60%), var(--plum-900); }
.rate-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; font-size: .95rem; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--silver); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.badge[data-state="live"] i { background: #3ee37a; animation: pulse 1.8s ease-out infinite; }
.badge[data-state="shop"] i { background: var(--gold-300); }
.badge[data-state="old"] i { background: #ff9d5c; }
.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rate-card { padding: 30px 20px; text-align: center; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(165deg, var(--plum-700), var(--plum-900)); }
.rate-card.featured { border-color: var(--gold-500); box-shadow: 0 20px 50px rgba(200, 150, 47, .18); }
.rate-card h3 { color: var(--gold-300); }
.rate-card h3 small { font: 400 .85rem var(--sans); color: var(--muted); letter-spacing: .1em; margin-left: 6px; }
.rate-card .rate-10g { margin-top: 12px; font: 600 clamp(2rem, 4vw, 2.9rem)/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.rate-card span { color: var(--muted); font-size: .85rem; }
.rate-card .rate-1g { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--gold-100); }
.fine { color: var(--muted); font-size: .85rem; }
.rates > .wrap > .fine { max-width: 640px; margin: 24px auto 0; text-align: center; }
.rates .fine a { color: var(--gold-300); text-decoration: underline; }
.rates .center { margin-top: 28px; }

/* GST calculator */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--plum-700); }
.calc-inputs { display: grid; align-content: start; gap: 22px; padding: 36px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--plum-900); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 10px 8px; border-radius: 999px; text-align: center; font-size: .92rem; color: var(--muted); }
.segmented input:checked + span { background: linear-gradient(115deg, var(--gold-100), var(--gold-300) 45%, var(--gold-500)); color: var(--plum-900); font-weight: 500; }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-100); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: grid; align-content: start; gap: 7px; min-width: 0; font-size: .9rem; color: var(--muted); }
.fields :is(input, select) { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--plum-900); color: var(--silver); font: 400 1rem var(--sans); }
.fields :is(input, select):focus { outline: none; border-color: var(--gold-300); }
.link-btn { justify-self: start; border: 0; background: none; color: var(--gold-300); font: 400 .88rem var(--sans); text-decoration: underline; cursor: pointer; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold-500); }
.calc-result { display: flex; flex-direction: column; gap: 14px; padding: 36px; background: var(--plum-900); border-left: 1px solid var(--line); }
.calc-result dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.calc-result dt { color: var(--muted); }
.calc-result dd { text-align: right; font-weight: 400; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-result dl .grand { flex-direction: column; gap: 2px; border: 0; padding-top: 20px; }
.grand dt { color: var(--gold-300); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.grand dd { text-align: left; font: 600 clamp(2rem, 4vw, 2.7rem)/1.2 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--gold-100); }

/* Scroll reveal */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s, translate .7s, transform .35s, border-color .35s, box-shadow .35s; }
.js .reveal.in { opacity: 1; translate: 0 0; }

@keyframes float { 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1); } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 227, 122, .6); } 100% { box-shadow: 0 0 0 9px rgba(62, 227, 122, 0); } }

/* Menu button replaces the links before they run out of room */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset: 76px 0 auto; flex-direction: column; gap: 20px; max-height: calc(100svh - 76px); overflow-y: auto; padding: 24px; background: var(--plum-900); border-bottom: 1px solid var(--line); }
  .site-header.open .nav { display: flex; }
}

@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-result { border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { text-align: center; padding-top: 104px; }
  .lead { margin-inline: auto; }
  .actions, .hero-points { justify-content: center; }
  .hero-art { order: -1; }
  .ring { width: min(72%, 340px); }
  .halo { width: min(70%, 330px); }
  .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 76px 0; }
}

@media (max-width: 560px) {
  .grid { gap: 14px; }
  .tile { padding: 26px 14px 22px; }
  .tile svg { width: 84px; height: 84px; margin-bottom: 14px; }
  .tile h3 { font-size: 1.3rem; }
  .tile p { font-size: .84rem; }
  .steps, .rate-grid { grid-template-columns: 1fr; }
  .rate-card { padding: 22px 16px; }
  .calc-inputs, .calc-result { padding: 24px 18px; }
  .enquiry { padding: 26px 20px; }
  .brand-word { width: 138px; height: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  h1 em { background-position: 60% 0; }
}
