/* RM Jewellers · Coming soon
   Same "Royal Teal" palette and type as the main site: deep teal, gold, Bodoni Moda, Marcellus SC, Jost. */
:root {
  --bg: #021a23; --bg2: #03222d; --panel: #05303d;
  --line: rgba(223, 194, 105, .16); --line2: rgba(223, 194, 105, .34);
  --ink: #f3ecdc; --ink2: #d9d3c4; --mute: #9fb3b4;
  --gold: #dfc269; --gold2: #f4e0a0; --gold3: #b8892f;
  --gold-grad: linear-gradient(100deg, #b8892f 0%, #e6c878 30%, #f6e4a8 50%, #dfc269 70%, #b8892f 100%);
  --f: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --disp: 'Bodoni Moda', Georgia, serif;
  --caps: 'Marcellus SC', 'Bodoni Moda', Georgia, serif;
  --e: cubic-bezier(.22, .61, .12, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: radial-gradient(120% 80% at 50% 0%, #07394a 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--ink2); font: 300 16px/1.65 var(--f);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p, figure, address { margin: 0; }
address { font-style: normal; }
::selection { background: var(--gold); color: #042a36; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dim { color: var(--mute); }

/* ---------- background layers */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.glow {
  position: fixed; left: 50%; top: 30vh; width: 900px; height: 900px; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(223, 194, 105, .12), transparent 70%);
  pointer-events: none; z-index: 0; animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; scale: 1.08; } }
body > *:not(#dust):not(.glow) { position: relative; z-index: 1; }

/* ---------- type */
.eyebrow { display: inline-block; font: 500 11px/1.4 var(--f); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.t-caps { font: 400 clamp(22px, 2.5vw, 34px)/1.15 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px auto 0; color: var(--gold); }
.orn i { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.orn i:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.orn b { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- header */
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px clamp(16px, 4vw, 56px); animation: fade 1s var(--e) .2s both;
}
.top-wa { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .06em; color: var(--ink); padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; transition: background .35s, color .35s; }
.top-wa:hover { background: var(--gold); color: #042a36; }

/* ---------- hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(8px, 3vh, 40px) 16px 90px; max-width: 880px; margin-inline: auto; }

.emblem-wrap { position: relative; width: clamp(200px, 30vw, 300px); aspect-ratio: 480 / 440; margin-bottom: 30px; display: grid; place-items: center; }
.emblem {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 10px 40px rgba(223, 194, 105, .25));
  animation: emblemIn 1.6s var(--e) both, float 6s ease-in-out 1.6s infinite;
}
.emblem-wrap::after { /* light sweep across the logo */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 246, 214, .55) 50%, transparent 58%) -150% 0 / 250% 100% no-repeat;
  -webkit-mask: url(assets/emblem-gold-480.webp) center / contain no-repeat;
          mask: url(assets/emblem-gold-480.webp) center / contain no-repeat;
  animation: sweep 5s ease-in-out 1.8s infinite, float 6s ease-in-out 1.6s infinite;
}
@keyframes emblemIn { from { opacity: 0; transform: translateY(24px) scale(.86); filter: blur(10px) drop-shadow(0 0 0 transparent); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes sweep { 0% { background-position: -150% 0; } 45%, 100% { background-position: 150% 0; } }

.halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 224, 160, .22), transparent 72%); animation: fade 2s ease .4s both, breathe 5s ease-in-out 2s infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line2); inset: -14%; animation: spin 40s linear infinite, fade 2s ease .8s both; }
.ring::before { content: ''; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; translate: -50% 0; rotate: 45deg; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.ring--2 { inset: -26%; border-style: dashed; border-color: var(--line); animation-duration: 70s, 2s; animation-direction: reverse, normal; }
.ring--2::before { width: 5px; height: 5px; top: auto; bottom: -3px; }
@keyframes spin { to { rotate: 360deg; } }

.title { margin: 14px 0 0; font: 400 clamp(42px, 7.4vw, 92px)/1.02 var(--disp); letter-spacing: -.015em; color: var(--ink); }
.title .line { display: block; overflow: hidden; padding: .04em .1em .1em; }
.title .line > * { display: inline-block; animation: rise 1.1s var(--e) var(--d) both; }
.title em {
  font-style: italic; background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.1s var(--e) var(--d) both, shimmer 4s linear 2.5s infinite;
}
@keyframes rise { from { transform: translateY(110%); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }

.sub { margin-top: 22px; max-width: 560px; font: italic 400 clamp(16px, 1.5vw, 20px)/1.55 var(--disp); color: #e6dcc4; }

.reveal { animation: up 1s var(--e) var(--d, 0s) both; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- notify */
.notify { display: flex; gap: 10px; width: 100%; max-width: 500px; margin-top: 40px; }
.notify input {
  flex: 1; min-width: 0; padding: 0 20px; height: 52px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(2, 26, 35, .6); color: var(--ink); font: 400 15px var(--f);
  transition: border-color .3s, box-shadow .3s;
}
.notify input::placeholder { color: var(--mute); }
.notify input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(223, 194, 105, .12); }
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: var(--gold-grad); background-size: 200% 100%; color: #042a36;
  font: 500 12px/1 var(--f); letter-spacing: .16em; text-transform: uppercase;
  transition: background-position .8s var(--e), transform .3s var(--e), box-shadow .3s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(223, 194, 105, .6); }
.btn svg { transition: transform .4s var(--e); }
.btn:hover svg { transform: translateX(4px); }
.hint { margin-top: 14px; font-size: 13px; color: var(--mute); }

/* ---------- gallery */
.gallery { padding: 40px clamp(16px, 4vw, 56px) 100px; max-width: 1240px; margin-inline: auto; }
.st { text-align: center; margin-bottom: 48px; }
.st .eyebrow { margin-bottom: 14px; }
.arches { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.arch { position: relative; opacity: 0; transform: translateY(50px); transition: opacity 1s var(--e), transform 1.1s var(--e); }
.arch.in { opacity: 1; transform: none; }
.arch:nth-child(2) { transition-delay: .12s; margin-top: 40px; }
.arch:nth-child(3) { transition-delay: .24s; }
.arch:nth-child(4) { transition-delay: .36s; margin-top: 40px; }
.arch img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 4px 4px;
  border: 1px solid var(--line2); padding: 6px; background: var(--bg2);
  outline: 1px solid var(--line); outline-offset: 8px; /* second arch line, follows the radius */
  transition: transform 1s var(--e), filter .6s, outline-offset .7s var(--e), outline-color .7s;
  filter: saturate(.92);
}
.arch:hover img { transform: translateY(-6px); filter: saturate(1.08); outline-offset: 14px; outline-color: var(--line2); }
.arch figcaption { margin-top: 16px; text-align: center; font: 400 15px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

/* ---------- promises */
.promises {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 0 auto 90px;
  border-block: 1px solid var(--line); padding-inline: 16px;
}
.promise { display: flex; flex-direction: column; gap: 6px; padding: 30px 24px; text-align: center; }
.promise + .promise { border-left: 1px solid var(--line); }
.promise b { font: 400 17px/1.3 var(--caps); letter-spacing: .1em; color: var(--gold2); }
.promise span { font-size: 14px; color: var(--mute); }

/* ---------- footer */
.foot { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 16px 48px; }
.foot img { opacity: .9; margin-bottom: 6px; }
.visit { font: italic 400 clamp(22px, 3vw, 30px)/1.2 var(--disp); color: var(--ink); }
.foot address { max-width: 520px; font-size: 14px; color: var(--ink2); }
.foot .dim { font-size: 14px; }
.links { display: flex; gap: 28px; margin: 10px 0 26px; }
.lnk { padding-bottom: 6px; font: 500 11px/1 var(--f); letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: color .3s, background-size .4s var(--e); }
.lnk:hover { color: var(--gold2); background-size: 40% 1px; }
.foot small { font-size: 12px; color: var(--mute); letter-spacing: .04em; }

/* ---------- responsive */
@media (max-width: 860px) {
  .arches { grid-template-columns: repeat(2, 1fr); }
  .arch:nth-child(3) { margin-top: 0; }
  .promises { grid-template-columns: 1fr; }
  .promise + .promise { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .top .eyebrow { display: none; }
  .top { justify-content: center; }
  .notify { flex-direction: column; }
  .notify input { flex: none; }
  .btn { justify-content: center; }
  .ring--2 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .arch { opacity: 1; transform: none; }
}
