/* Rangreza London — Velvet Jewel Box */
:root {
  --bg: #14100c;
  --surface: #211a13;
  --ink: #f3ead8;
  --muted: #b8ab92;
  --gold: #c9a24a;
  --ruby: #9e1b3c;
  --line: rgba(201, 162, 74, 0.5);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

a { color: var(--gold); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--bg); }

/* Small uppercase Jost labels: captions and field names only */
.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Channel-set ruby stones between two gold lines, as on the bangles */
.stones {
  width: 7.5rem;
  height: 14px;
  padding-block: 3px;
  border-block: 1px solid var(--gold);
  background: repeating-linear-gradient(90deg, var(--ruby) 0 8px, transparent 8px 11px) content-box;
}

.rule {
  width: 3.5rem;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }

.btn-quiet { background: transparent; color: var(--gold); }
.btn-quiet:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  background: linear-gradient(rgba(20, 16, 12, 0.85), rgba(20, 16, 12, 0));
}
.brand { display: block; flex: none; }
.brand svg { width: 9.75rem; height: auto; }

.site-nav { display: none; }
.site-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-color: var(--gold); color: var(--gold); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  color: var(--gold);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.header-call:hover { border-color: var(--ink); }
.header-call svg { width: 1rem; height: 1rem; }
.header-call .num { display: none; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
}
.hero-photo {
  position: relative;
  flex: none;
  height: 58svh;
  min-height: 20rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
/* The image box is 111.5% wide so the white strip on the photo's right edge is always clipped */
.hero-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 111.5%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 40% 55%;
  animation: case-light 2.6s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.hero-text {
  position: relative;
  margin-top: -3rem;
  padding: 0 var(--gutter) 3.5rem;
  animation: settle 1.4s 0.5s ease-out both;
}
.hero h1 {
  font-size: clamp(2.55rem, 11.5vw, 5.75rem);
  max-width: 11.5em;
}
.hero-lede {
  max-width: 30rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.125rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero-hours { margin-top: 1.75rem; }

@keyframes case-light {
  from { filter: brightness(0.18) saturate(0.5); transform: scale(1.04); }
  to { filter: brightness(1) saturate(1); transform: scale(1); }
}
@keyframes settle {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Intro statement */
.intro {
  display: grid;
  justify-items: center;
  gap: 2.25rem;
  padding: clamp(4rem, 11vw, 8rem) var(--gutter);
  text-align: center;
}
.intro p {
  max-width: 21em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 5.2vw, 2.5rem);
  line-height: 1.25;
  text-wrap: balance;
}

/* One piece per section */
.piece {
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding: clamp(4rem, 11vw, 8.5rem) var(--gutter);
  text-align: center;
}
.piece-dark { background: var(--surface); }
.piece h2 {
  max-width: 15em;
  font-size: clamp(2rem, 6.5vw, 3.25rem);
}
.piece p {
  max-width: 33rem;
  color: var(--muted);
}

.piece-figure { width: 100%; }
.w-narrow { max-width: 23rem; }
.w-mid { max-width: 34rem; }
.w-wide { max-width: 46rem; }

.frame {
  padding: clamp(0.5rem, 1.6vw, 0.8rem);
  border: 1px solid var(--line);
}
.crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ar);
  background: #0c0907;
}
.crop img {
  position: absolute;
  top: var(--y, 0%);
  left: var(--x, 0%);
  width: var(--w, 100%);
  max-width: none;
  height: auto;
}
.soften img { filter: brightness(0.9) contrast(1.05); }
.darken img { filter: brightness(0.78) contrast(1.05); }

.piece-figure figcaption { margin-top: 1rem; }

.beads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.75rem;
  font-size: 1rem;
  color: var(--ink);
}
.beads li { display: inline-flex; align-items: center; gap: 0.6rem; }
.bead {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset -2px -3px 4px rgba(0, 0, 0, 0.35), inset 2px 2px 3px rgba(255, 255, 255, 0.35);
}

/* Visit */
.visit {
  padding: clamp(4rem, 11vw, 8.5rem) var(--gutter);
}
.visit-head {
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  margin-bottom: 3rem;
  text-align: center;
}
.visit-head h2 { font-size: clamp(2rem, 6.5vw, 3.25rem); max-width: 14em; }

.panel {
  display: grid;
  gap: 2rem;
  max-width: 54rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 4.5vw, 3rem);
  border: 1px solid var(--gold);
}
.panel-photo { max-width: 15rem; margin-inline: auto; width: 100%; }
.panel-photo img { width: 100%; filter: brightness(0.8); }

.facts { display: grid; gap: 1.4rem; }
.facts dd {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
}
.facts dd small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}
.facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.facts a:hover { color: var(--gold); }

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.panel-note { margin-top: 1.5rem; color: var(--muted); font-size: 1rem; }

/* Footer */
.site-footer {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: 4rem var(--gutter) 3rem;
  border-top: 1px solid rgba(201, 162, 74, 0.25);
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}
.site-footer svg.logo { width: 12rem; height: auto; }
.site-footer address { font-style: normal; }
.site-footer .web { color: var(--ink); }
.site-footer .small { font-size: 0.9rem; }

@media (max-width: 26rem) {
  .hero-actions .btn,
  .panel-actions .btn { width: 100%; }
}

@media (min-width: 48rem) {
  .brand svg { width: 11.5rem; }
  .site-nav { display: flex; gap: 2.25rem; }
  .header-call .num { display: inline; }
  .header-call .word { display: none; }

  .panel { grid-template-columns: 15rem 1fr; align-items: center; gap: 3rem; }
  .panel-photo { margin: 0; }
}

@media (min-width: 60rem) {
  .hero { justify-content: center; }
  .hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to bottom, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .hero-text {
    margin-top: 0;
    padding: 8rem var(--gutter) 5rem;
    max-width: 50rem;
  }
  .hero h1 { font-size: clamp(3.5rem, 6vw, 6rem); max-width: 9.5em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img,
  .hero-text { animation: none; }
  .btn { transition: none; }
}
