@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Tokens, reset and base elements ============================= */
:root {
  --bg: #0f1012;
  --bg-alt: #141517;
  --card: #1a1b1e;
  --line: rgba(255, 255, 255, .09);
  --gold: #c9a24c;
  --gold-light: #e3c27a;
  --text: #ece7da;
  --muted: #a39d8d;
  --wa: #25d366;
  --up: #6fd08c;
  --down: #f08a7e;
  --serif: 'Manrope', system-ui, sans-serif;
  /* one font site-wide */
  --sans: 'Manrope', system-ui, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* content column grows on large screens (and when the browser is zoomed out) */
  --wrap: clamp(1160px, 66vw, 1520px);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.5rem);
  --fs-h3: 1.35rem;
  --fs-lead: 1.1rem;
  --fs-text: .95rem;
  --glow: 0 0 0 1px rgba(227, 194, 122, .35), 0 0 26px rgba(201, 162, 76, .22), 0 10px 44px rgba(201, 162, 76, .14);
}
html {
  font-size: clamp(16px, calc(0.42vw + 10px), 21px);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main:focus {
  outline: none;
}
body.locked {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  letter-spacing: -.022em;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--gold);
  color: #17130a;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}
p {
  color: var(--muted);
}
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #17130a;
  font-weight: 600;
  transition: top .2s;
}
.skip:focus {
  top: 12px;
}
html.lenis,
html.lenis body {
  height: auto;
}
blockquote {
  margin: 0 0 14px;
  font: 500 clamp(1.5rem, 3.2vw, 2.3rem)/1.3 var(--serif);
  color: var(--text);
}
address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 16px;
}
address b {
  display: block;
  color: var(--text);
  font: 600 1.4rem var(--serif);
  margin-bottom: 4px;
}
html {
  background: #0a0a0b;
}
html:not(.ready) .story .chapters {
  visibility: hidden;
}
html:not(.ready) main > section:not(.story),
html:not(.ready) .footer {
  visibility: hidden;
}

@media (max-width: 900px) {
  html:not(.nav-ready) .nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  html.nav-ready .nav:not(.hide) {
    transition: opacity .9s ease, visibility 0s;
  }
}

@media (max-width: 640px) {
  :root {
    --fs-h3: 1.15rem;
    --fs-lead: 1rem;
    --fs-text: .88rem;
  }
}

/* === Layout helpers, headings and buttons ======================== */
.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}
.wrap.narrow {
  max-width: 760px;
  text-align: center;
}
.alt {
  background: var(--bg-alt);
}
.ic {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex: none;
}
.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.sec-head {
  max-width: 620px;
}
.sec-head p {
  margin: 0;
}
.list li {
  color: var(--muted);
}
.note {
  font-size: .85rem;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .93rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: #17130a;
}
.btn-gold:hover {
  background: var(--gold-light);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, .25);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn-lg {
  padding: 17px 34px;
  font-size: 1rem;
}
.hint {
  color: var(--muted);
  font-size: .78rem;
  min-height: 1.2em;
}
.ic.half {
  opacity: .45;
}
.section.trade {
  background: var(--bg);
}
.section {
  padding: clamp(34px, 4.4vw, 58px) 0;
}
.section.trade {
  padding: clamp(34px, 4.4vw, 58px) 0;
}
.sec-head {
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.btn-gold:focus-visible,
.btn-ghost:focus-visible {
  box-shadow: var(--glow);
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .btn {
    padding: 11px 20px;
    font-size: .86rem;
  }

  .btn-lg {
    padding: 13px 24px;
    font-size: .9rem;
  }

  .section,
  .section.trade {
    padding: 32px 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    box-shadow: 0 0 0 1px rgba(227, 194, 122, .5), 0 0 28px rgba(227, 194, 122, .45), 0 8px 40px rgba(201, 162, 76, .35);
  }

  .btn-ghost:hover {
    box-shadow: 0 0 0 1px rgba(227, 194, 122, .35), 0 0 24px rgba(201, 162, 76, .25), inset 0 0 18px rgba(201, 162, 76, .08);
  }
}

/* === Header, menu and drawer ===================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: opacity .4s ease, visibility 0s;
}
.nav.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility 0s .4s;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 16, 18, .97);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .3s;
}
.nav.scrolled::before {
  opacity: 1;
}
.nav-in {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(84px, 4.8vw, 108px);
  transition: height .3s;
}
.nav.scrolled .nav-in {
  height: clamp(70px, 4vw, 90px);
}
.brand img {
  height: clamp(62px, 3.6vw, 84px);
  width: auto;
  transition: height .3s;
}
.nav.scrolled .brand img {
  height: clamp(52px, 3vw, 70px);
}
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.menu-links a {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 0;
  transition: color .2s;
}
.menu-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.menu-links a:hover,
.menu-links a.active {
  color: var(--text);
}
.menu-links a:hover::after,
.menu-links a.active::after {
  transform: scaleX(1);
}
.menu-foot {
  display: flex;
  align-items: center;
}
.menu-foot .btn {
  padding: 9px 16px;
  font-size: .85rem;
}
.menu-tel,
.menu-addr {
  display: none;
}
.burger {
  display: none;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.burger span:nth-child(1) {
  top: 15px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 29px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .3s;
}
.scrim.show {
  opacity: 1;
}
.menu-links a {
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}

@media (max-width: 900px) {
  .burger {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(74vw, 290px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding: 76px 20px 20px;
    background: #121316;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
    overflow-y: auto;
  }

  .menu.open {
    transform: none;
    visibility: visible;
    transition: transform .4s var(--ease), visibility 0s;
  }

  .menu-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .menu-links a {
    font: 600 1.08rem var(--sans);
    letter-spacing: -.01em;
    color: var(--text);
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-links a::after {
    display: none;
  }

  .menu-links a.active {
    color: var(--gold-light);
  }

  .menu-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .menu-foot .btn {
    padding: 11px 18px;
    font-size: .88rem;
  }

  .menu-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    font-weight: 600;
    font-size: .86rem;
  }

  .menu-addr {
    display: block;
    margin: 0;
    font-size: .74rem;
    line-height: 1.5;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-in {
    width: calc(100% - 36px);
    height: 72px;
  }

  .brand img {
    height: 54px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .menu-links a:hover {
    text-shadow: 0 0 16px rgba(227, 194, 122, .45);
  }
}

/* === Hero: scroll story and 3D stage ============================= */
.story-pin {
  position: relative;
  min-height: min(88svh, 840px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.story-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  animation: heroImg 1.6s var(--ease) both;
}
.story-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0, rgba(15, 16, 18, .94) 26%, rgba(15, 16, 18, .6) 50%, rgba(15, 16, 18, 0) 74%), linear-gradient(180deg, rgba(15, 16, 18, .8) 0, rgba(15, 16, 18, 0) 24%);
}
#stage {
  display: none;
}
.chapters {
  position: relative;
}
.chap {
  max-width: 700px;
}
.chap:not(.chap-1) {
  display: none;
}
.chap h1,
.chap h2 {
  font-size: clamp(2.3rem, 5.4vw, 4.5rem);
  line-height: 1.06;
  margin-bottom: 20px;
  letter-spacing: -.035em;
}
.line {
  display: block;
  overflow: hidden;
  padding-bottom: .26em;
  margin-bottom: -.26em;
}
.line > span {
  display: inline-block;
  transform: translateY(112%);
  animation: rise .9s var(--ease) var(--d, 0s) forwards;
}
.a {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .8s var(--ease) var(--d, 0s) forwards;
}
.rotator {
  display: inline-grid;
  vertical-align: top;
  overflow: hidden;
  color: var(--gold-light);
  padding: .08em .04em .24em;
  margin: -.08em -.04em -.24em;
}
.rotator b {
  grid-area: 1 / 1;
  font-weight: inherit;
  opacity: 0;
  transform: translateY(100%);
  animation: word 12s var(--ease) infinite;
}
.rotator b:nth-child(1) {
  animation-delay: 1.3s;
}
.rotator b:nth-child(2) {
  animation-delay: 4.3s;
}
.rotator b:nth-child(3) {
  animation-delay: 7.3s;
}
.rotator b:nth-child(4) {
  animation-delay: 10.3s;
}
.lead {
  max-width: 520px;
  margin-bottom: 28px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.live {
  display: grid;
  gap: 2px;
  margin-bottom: 26px;
}
.live-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.live strong {
  font: 600 clamp(2.2rem, 5vw, 3.6rem)/1.1 var(--serif);
}
.live-when {
  font-size: .9rem;
  color: var(--muted);
}
.is3d .story {
  height: 300vh;
}
.is3d .story-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding: 0;
  display: block;
  background: radial-gradient(ellipse 55% 60% at var(--gx, 72%) 48%, #2b2212 0, rgba(43, 34, 18, .35) 45%, transparent 75%), var(--bg);
}
.is3d .story-bg {
  display: none;
}
.is3d #stage {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.4s ease .2s;
}
.is3d.stage-on #stage {
  opacity: 1;
}
.is3d .story-pin::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(15, 16, 18, .92) 0, rgba(15, 16, 18, .72) 45%, rgba(15, 16, 18, 0) 100%);
}
.is3d .chapters {
  height: 100%;
  margin-top: 0;
  z-index: 1;
}
.is3d .chap {
  display: block;
  position: absolute;
  bottom: clamp(60px, 11vh, 110px);
  width: min(34rem, 46%);
  text-shadow: 0 2px 22px rgba(15, 16, 18, .85);
}
.is3d .chap[data-side="left"] {
  left: 0;
}
.is3d .chap[data-side="right"] {
  right: 0;
  text-align: left;
}
.is3d .chap:not(.chap-4) .actions {
  display: none;
}
.is3d .chap:not(.chap-1) .line > span {
  animation: none;
  transform: translateY(112%);
}
.is3d .chap:not(.chap-1) .a {
  animation: none;
  opacity: 0;
  transform: translateY(16px);
}
.is3d .chap:not(.chap-1).active .line > span {
  transform: none;
}
.is3d .chap:not(.chap-1).active .a {
  opacity: 1;
  transform: none;
}
section:not(.story) h2 {
  font-size: var(--fs-h2);
  line-height: 1.14;
}
.lead {
  font-size: var(--fs-lead);
}
.live strong,
[data-story-rate] {
  color: #fff;
}
.is3d .chap {
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility 0s .22s;
}
.is3d .chap.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease .26s, visibility 0s .26s;
}
.is3d .chap:not(.chap-1) .line > span {
  transition: transform .6s var(--ease) calc(.26s + var(--d, 0s));
}
.is3d .chap:not(.chap-1) .a {
  transition: opacity .4s ease calc(.26s + var(--d, 0s)), transform .5s var(--ease) calc(.26s + var(--d, 0s));
}
.is3d .chap:not(.chap-1):not(.active) .line > span {
  transition: transform 0s .3s;
}
.is3d .chap:not(.chap-1):not(.active) .a {
  transition: opacity 0s .3s, transform 0s .3s;
}

@media (min-width: 700px) and (min-aspect-ratio: 6/5) {
  .is3d .chap {
    bottom: auto;
    top: calc(50% + 12px);
    transform: translateY(-50%);
  }
}

/* wide and short screens (landscape phones and small tablets): text beside the ring, set smaller so it fits */
@media (min-width: 700px) and (min-aspect-ratio: 6/5) and (max-height: 560px) {
  .is3d .chap h1,
  .is3d .chap h2 {
    font-size: clamp(1.5rem, 4.2vw, 2.3rem);
    margin-bottom: 8px;
  }

  .is3d .chap .eyebrow {
    margin-bottom: 6px;
  }

  .is3d .chap .lead {
    font-size: .86rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .is3d .chap .btn {
    padding: 10px 16px;
  }
}

/* stacked hero: the ring above the text (portrait screens and phones) */
@media (max-width: 1000px) and (max-aspect-ratio: 119/100), (max-width: 699px) {
  .is3d .chap {
    width: min(560px, 100%);
  }

  .is3d .story-pin::after {
    height: 62%;
  }

  .is3d .chap[data-side="right"] {
    left: 0;
    right: auto;
  }
}

@media (max-width: 1000px) {
  .story-pin {
    display: block;
    min-height: 0;
    padding: 0 0 40px;
  }

  .story-bg {
    position: relative;
    height: min(46svh, 420px);
  }

  .story-bg::after {
    background: linear-gradient(180deg, rgba(15, 16, 18, .7) 0, rgba(15, 16, 18, 0) 26%, rgba(15, 16, 18, 0) 55%, var(--bg) 100%);
  }

  .chapters {
    margin-top: -56px;
  }
}

@media (max-width: 640px) {
  .actions {
    gap: 10px;
  }

  .past-story .wa-float {
    bottom: 66px;
  }

  .past-story .mbar {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform .7s var(--ease), opacity .4s ease, visibility 0s;
  }

  .past-story.bar-hide .mbar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .4s ease, visibility 0s .4s;
  }

  .is3d .chap {
    bottom: 84px;
  }

  .is3d .chap h1,
  .is3d .chap h2 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
    margin-bottom: 10px;
  }

  .is3d .chap .eyebrow {
    margin-bottom: 8px;
    font-size: .68rem;
  }

  .is3d .chap .lead {
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .live strong {
    font-size: 2rem;
  }

  .is3d .chap[data-side="right"] {
    left: 0;
    right: auto;
  }
}

@media (max-width: 900px) {
  .is3d .story {
    height: 310vh;
  }

  .is3d .chap-4 .actions {
    justify-content: center;
  }

  .is3d .chap-4 .actions .btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .past-story .wa-float {
    bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .past-story.bar-hide .wa-float,
  .past-story.at-end .wa-float {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .past-story.at-end .mbar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .4s ease, visibility 0s .4s;
  }
}

@media (max-width: 700px) {
  .is3d .story {
    height: auto;
  }

  .is3d .story-pin {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: max(100svh, var(--pin-need, 0px));
  }

  .is3d .chap:not(.chap-1) {
    display: none;
  }

  .is3d .chap.chap-1 .actions {
    display: flex;
  }

  .is3d .chap.chap-1 {
    opacity: 1;
    visibility: visible;
    transition: none;
  }
}

@keyframes heroImg {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  to {
    transform: none;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes word {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  4%,
  22% {
    opacity: 1;
    transform: none;
  }
  27%,
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

/* === Loader and smooth scroll ==================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .7s ease, visibility .7s;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
}
.loader-in {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.loader-in img {
  width: 120px;
  height: auto;
}
.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  border-radius: 2px;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.loader-pct {
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--muted);
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* === Gold rate board ============================================= */
.delta.up {
  color: var(--up);
}
.delta.down {
  color: var(--down);
}
.rates {
  background: var(--bg);
}
.rate-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  flex-wrap: wrap;
}
.rate-eyebrow {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.rates-meta {
  margin: 0;
  font-size: .86rem;
  letter-spacing: .02em;
  color: var(--muted);
}
.rate-badge {
  margin-right: 14px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  font-weight: 600;
  color: var(--text);
}
.rate-badge.stale {
  color: var(--down);
}
.rate-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.rate-big {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 1.2vw, 14px);
}
.rate-cur {
  margin-top: .9em;
  font-size: clamp(.8rem, 1.1vw, .95rem);
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--gold-light);
}
.rate-big strong {
  font: 300 clamp(3.4rem, 9.4vw, 8rem)/.95 var(--sans);
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
}
.rate-unit {
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.rate-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rate-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.rate-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.rate-list strong {
  font: 400 clamp(1.4rem, 2.3vw, 1.9rem)/1.1 var(--sans);
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
}
.rate-k {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}
.rate-k span {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold-light);
}
.rate-k em {
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.rates-note {
  font-size: .82rem;
}
.rates-note:empty {
  display: none;
}
.rates.empty .rate-list,
.rates.empty .rate-big,
.rates.empty .rate-unit {
  display: none;
}
.rates.empty .rate-body {
  grid-template-columns: 1fr;
}
.rates.empty .rates-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px;
  font-size: .95rem;
}
.rates {
  padding: clamp(24px, 3vw, 44px) 0;
}
.rate-card {
  padding-top: clamp(14px, 1.6vw, 20px);
}
.rate-body {
  margin-top: clamp(18px, 2.4vw, 32px);
  gap: clamp(28px, 5vw, 80px);
  align-items: stretch;
}
/* the big rate is centred in the space above the note, and the note sits level with the line under 18K */
.rate-main {
  display: flex;
  flex-direction: column;
}
.rate-big {
  margin-top: auto;
}
.rate-unit {
  margin-bottom: auto;
}
.rate-big strong {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: .92;
}
.rate-unit {
  margin-top: 10px;
}
.rate-list li {
  padding: clamp(11px, 1.2vw, 15px) 0;
}
.rates-note {
  margin: 0;
  padding-top: 14px;
}

@media (max-width: 860px) {
  .rate-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .rate-top {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .rates {
    padding: 20px 0 8px;
  }
}

/* === Buy and sell ================================================ */
.trade {
  background: var(--bg);
  padding: clamp(40px, 5.5vw, 68px) 0 0;
}
.trade-glass {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  border-radius: 16px;
  background: rgba(15, 16, 18, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.trade-glass article {
  padding: clamp(18px, 2.6vw, 30px);
}
.trade-glass h3 {
  margin-bottom: 6px;
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.trade-glass article > p {
  font-size: var(--fs-text);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .trade-glass {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
  }

  .trade-glass article {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
  }

  .trade-glass article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    display: none;
  }

  .trade-glass h3 {
    margin-bottom: 4px;
  }

  .trade-glass article {
    padding: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(201, 162, 76, .06), rgba(26, 27, 30, 0) 60%), var(--card);
  }
}

/* === Collections ================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-img {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 16px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 1.2s ease-out;
  transition-delay: var(--d, 0s);
}
.card h3 {
  margin-bottom: 4px;
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.card p {
  margin-bottom: 10px;
  font-size: var(--fs-text);
  line-height: 1.6;
}
.card.in .card-img img {
  transform: scale(1);
}
.card.in:hover .card-img img {
  transform: scale(1.05);
  transition-delay: 0s;
  transition-duration: .7s;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* === Looking for something specific ============================== */
.specific p {
  margin: 0;
  font-size: .95rem;
  max-width: 560px;
}
.specific {
  position: relative;
  isolation: isolate;
}
.specific::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 16, 18, .94) 0, rgba(15, 16, 18, .72) 60%, rgba(15, 16, 18, .5) 100%);
}
.specific-copy .eyebrow {
  margin-bottom: 8px;
}
.specific p.eyebrow {
  font-size: .78rem;
  max-width: none;
  margin-bottom: 12px;
}
.specific {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px clamp(28px, 6vw, 96px);
  padding: clamp(26px, 3.2vw, 42px) 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.specific::before {
  display: none;
}
.specific-copy {
  max-width: 640px;
}
/* the primary action is a full-width thumb target on phones */
@media (max-width: 700px) {
  .specific .btn {
    width: 100%;
  }
}

.specific h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 12px;
}
.specific-copy p:not(.eyebrow) {
  margin: 0;
  font-size: var(--fs-text, .95rem);
  line-height: 1.65;
  color: var(--muted);
}
.specific {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: clamp(22px, 2.6vw, 32px);
  padding-bottom: clamp(22px, 2.6vw, 32px);
}

@media (max-width: 640px) {
  .specific::before {
    background: linear-gradient(180deg, rgba(15, 16, 18, .9) 0, rgba(15, 16, 18, .68) 100%);
  }
}

@media (max-width: 760px) {
  .specific {
    grid-template-columns: 1fr;
  }
}

/* === About and principles ======================================== */
.about {
  background: var(--bg-alt);
}
.about-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px clamp(32px, 6vw, 96px);
}
.about-top h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  margin: 0;
}
.about-lead {
  color: var(--text);
}
.about-copy p:last-child {
  margin: 0;
}
.about-banner {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.about-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  transform: scale(1.1) translateY(var(--py, 0px));
  will-change: transform;
}
.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(15, 16, 18, .7) 0, rgba(15, 16, 18, 0) 45%);
}
.about-stats {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 18px 12px;
  border-radius: 14px;
  background: rgba(15, 16, 18, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.about-stats div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 0 12px;
  text-align: center;
}
.about-stats strong {
  font: 600 1.6rem/1.15 var(--serif);
  color: var(--gold-light);
}
.about-stats span {
  font-size: .8rem;
  color: var(--muted);
}
.principles {
  display: grid;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201, 162, 76, .06), rgba(26, 27, 30, 0) 60%), var(--card);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 6px;
}
.principles li {
  position: relative;
  display: grid;
  align-items: center;
  transition: background .4s;
}
.principles li:hover {
  background: rgba(255, 255, 255, .03);
}
.principles li::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 76, .45);
  transition: background .7s ease .25s, border-color .7s ease .25s, box-shadow .9s ease .25s;
}
.principles li.in::before {
  background: var(--gold);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 7px rgba(201, 162, 76, .14);
}
.principles h3 {
  font-size: 1.45rem;
  margin: 0;
}
.principles p {
  margin: 0;
  font-size: .96rem;
}
.principles li {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  padding: 56px 26px 28px;
  border-radius: 14px;
  padding-top: 26px;
}
.principles li + li {
  border-left: 1px solid var(--line);
  border-radius: 0;
}
.principles li::before {
  left: 26px;
  top: 26px;
  margin-top: 0;
}
.principles li.reveal {
  transform: translateY(28px);
  transition: opacity .9s ease, transform 1.1s var(--ease), background .4s;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s;
}
.principles li.reveal.in {
  transform: none;
}
.principles li::before,
.principles li.in::before {
  display: none;
}
.about-lead {
  font-size: var(--fs-lead);
}
.about-top {
  margin-bottom: clamp(20px, 3vw, 32px);
  align-items: start;
}
.principles {
  margin-top: clamp(20px, 3vw, 30px);
}
.about-top > .reveal:first-child .eyebrow {
  margin-top: 0;
}
.about-lead {
  margin-top: 0;
}
.about-top .about-copy {
  padding-top: calc(.78rem * 1.7 + 12px);
}

@media (max-width: 1000px) {
  .about-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-banner img {
    aspect-ratio: 4 / 3;
  }

  .about-stats {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px 2px;
    border-radius: 14px;
    background: rgba(15, 16, 18, .6);
  }

  .about-stats div {
    padding: 0 4px;
  }

  .about-stats strong {
    font-size: 1.02rem;
  }

  .about-stats span {
    font-size: .66rem;
  }

  .principles {
    padding: 4px;
  }

  .principles li {
    padding: 40px 10px 20px;
    gap: 6px;
    padding-top: 20px;
  }

  .principles li::before {
    left: 10px;
    top: 18px;
    width: 11px;
    height: 11px;
  }

  .principles h3 {
    font-size: .95rem;
    line-height: 1.2;
  }

  .principles p {
    font-size: .74rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 641px) {
  .principles h3 {
    font-size: var(--fs-h3);
  }

  .principles p {
    font-size: var(--fs-text);
  }
}

@supports selector(:has(*)) {
  .principles {
    border-color: transparent;
    background: transparent;
    transition: background .9s ease, border-color .9s ease;
  }

  .principles:has(li.in) {
    border-color: var(--line);
    background: linear-gradient(180deg, rgba(201, 162, 76, .06), rgba(26, 27, 30, 0) 60%), var(--card);
  }
}

/* === About columns (refine the principles base above) ============ */
.principles.p-cols,
.principles.p-cols:has(li.in) {
  border: 0;
  background: none;
  padding: 0;
  border-radius: 0;
}
.principles.p-cols {
  gap: clamp(22px, 3.4vw, 52px);
}
.p-cols li,
.p-cols li + li {
  position: relative;
  padding: 30px 0 4px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.p-cols li::before {
  display: block !important;
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: var(--gold) !important;
  box-shadow: none !important;
  transition: width 1.1s var(--ease) .2s;
}
.p-cols li.in::before {
  width: 64px;
}
.p-cols li:hover {
  background: none;
}
.p-cols h3 {
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .principles.p-cols {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .p-cols li,
  .p-cols li + li {
    padding: 22px 0 14px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .p-cols li:hover {
    background: none;
  }
}

/* === Gold estimator ============================================== */
.calc {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
}
.calc-inputs {
  padding: clamp(22px, 3.5vw, 40px);
  display: grid;
  gap: 26px;
  align-content: start;
}
.calc-row {
  display: grid;
  gap: 10px;
}
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .82rem;
  font-weight: 600;
}
.calc-label b {
  color: var(--gold-light);
  font-weight: 600;
}
.calc-weight {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.calc input[type="number"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .14);
  font: 600 1.4rem var(--serif);
  transition: border-color .2s;
  appearance: textfield;
  -moz-appearance: textfield;
}
.calc input[type="number"]::-webkit-outer-spin-button,
.calc input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc input[type="number"]:focus {
  outline: none;
  border-color: var(--gold);
}
.calc input[type="number"]::placeholder {
  font: 400 .95rem var(--sans);
  color: #6b675c;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.seg label {
  position: relative;
  cursor: pointer;
  flex: 1;
}
.seg input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 7px;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.seg input:checked + span {
  background: var(--gold);
  color: #17130a;
}
.seg input:focus-visible + span {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
.seg-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--gold) var(--fill, 0%), rgba(255, 255, 255, .14) var(--fill, 0%));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold);
}
.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold);
}
.range:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 6px;
}
.calc-out {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(22px, 3.5vw, 40px);
  border: 0;
  background: radial-gradient(ellipse 320px 220px at 75% 0, rgba(201, 162, 76, .16), transparent 100%), linear-gradient(90deg, var(--card) 0, #131417 90px, #121316 100%);
}
.calc-out-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.calc-out strong {
  font: 600 clamp(2.1rem, 4vw, 3.1rem)/1.1 var(--serif);
  color: var(--gold-light);
}
.calc-out small {
  color: var(--muted);
  font-size: .82rem;
  min-height: 1.2em;
}
.breakdown {
  margin: 8px 0 6px;
}
.breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.breakdown dt {
  color: var(--muted);
}
.breakdown dd {
  margin: 0;
  font-weight: 600;
}
.calc-out .btn {
  margin-top: 8px;
}
.calc-out .note {
  margin-top: 6px;
}
.calc-go {
  width: 100%;
}
.calc-idle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .95rem;
  max-width: 22rem;
  transition: opacity .4s ease;
}
.calc-result {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .9s var(--ease);
}
.calc-result-in {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.calc.done .calc-result {
  grid-template-rows: 1fr;
}
.calc.done .calc-idle {
  display: none;
}
.calc-result-in > * {
  opacity: 0;
  transform: translateY(16px);
}
.calc.done .calc-result-in > * {
  animation: calcIn 1s var(--ease) both;
  animation-delay: calc(var(--k, 0) * .14s + .15s);
}
.calc.done .calc-result-in > :nth-child(1) {
  --k: 0;
}
.calc.done .calc-result-in > :nth-child(2) {
  --k: 1;
}
.calc.done .calc-result-in > :nth-child(3) {
  --k: 2;
}
.calc.done .calc-result-in > :nth-child(4) {
  --k: 3;
}
.calc.done .calc-result-in > :nth-child(5) {
  --k: 4;
}
.calc.done.again .calc-result-in > * {
  animation-name: calcIn2;
}
.calc input.calc-rate[readonly] {
  cursor: default;
  color: var(--gold-light);
  caret-color: transparent;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.calc input.calc-rate {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--bg);
  font: 600 1.4rem var(--sans);
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.calc input.calc-rate[readonly] {
  background: var(--bg);
}
.calc input {
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}
.calc input:focus {
  border-color: rgba(227, 194, 122, .6);
  box-shadow: 0 0 0 3px rgba(201, 162, 76, .14), 0 0 22px rgba(201, 162, 76, .16);
  outline: 0;
}

@media (max-width: 1000px) {
  .calc {
    grid-template-columns: 1fr;
  }

  .calc-out {
    padding-top: 8px;
    background: radial-gradient(ellipse 300px 150px at 85% 150px, rgba(201, 162, 76, .17), transparent 100%), linear-gradient(180deg, var(--card) 0, #131417 110px, #121316 100%);
  }

  .calc-inputs {
    padding-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .calc-weight {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) and (pointer: fine) {
  .seg label:hover input:not(:checked) + span {
    color: var(--gold-light);
    text-shadow: 0 0 14px rgba(227, 194, 122, .5);
  }
}

@keyframes calcIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes calcIn2 {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* === Custom orders and forms ===================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.photo {
  margin: 0;
}
.photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
#custom .split {
  align-items: stretch;
}
#custom .photo {
  position: relative;
  min-height: 420px;
}
#custom .photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.col {
  padding-top: 18px;
  border-top: 2px solid var(--gold);
}
.col h3 {
  margin-bottom: 6px;
}
.col p {
  margin: 0;
}
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel.flat {
  padding: 0;
  background: none;
  border: 0;
  margin-top: 22px;
}
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field.full,
.full {
  grid-column: 1 / -1;
}
.field span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .14);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6b675c;
}
.field textarea {
  resize: vertical;
}
.result {
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid rgba(201, 162, 76, .35);
  display: grid;
  gap: 2px;
}
.result span {
  font-size: .78rem;
  color: var(--muted);
}
.result strong {
  font: 600 clamp(1.6rem, 3vw, 2.2rem) var(--serif);
  color: var(--gold-light);
}
.result small {
  color: var(--muted);
  font-size: .82rem;
  min-height: 1.2em;
}
.field .req {
  margin-left: 6px;
  font-style: normal;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
}
.field.bad input,
.field.bad select {
  border-color: var(--down);
}
.field.bad > span {
  color: var(--down);
}
.field select:invalid {
  color: #8c8778;
}
.field select option {
  color: var(--text);
}
.col h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.col p {
  font-size: var(--fs-text);
  line-height: 1.6;
}
.field input,
.field textarea,
.field select {
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(227, 194, 122, .6);
  box-shadow: 0 0 0 3px rgba(201, 162, 76, .14), 0 0 22px rgba(201, 162, 76, .16);
  outline: 0;
}

@media (max-width: 1000px) {
  .split {
    grid-template-columns: 1fr;
  }

  #custom .photo {
    min-height: 0;
  }

  #custom .photo img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .panel.flat {
    padding: 0;
  }
}

/* === Review ====================================================== */
.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}
.stars .ic {
  width: 22px;
  height: 22px;
}
.cite {
  font-size: .9rem;
  margin: 0;
}
.cite a::after {
  content: "";
  position: absolute;
  inset: -13px -6px;
}
.cite a {
  position: relative;
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review {
  padding: clamp(30px, 4vw, 46px) 0;
}

/* === Visit and map =============================================== */
.contact {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact .ic {
  color: var(--gold);
}
.contact a:hover {
  color: var(--gold-light);
}
.map {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: #111;
}
.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.map:hover img {
  transform: scale(1.03);
}
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
.pin i {
  position: absolute;
  left: -13px;
  top: -34px;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .5);
}
.pin i::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #17130a;
}
.pin::before {
  content: "";
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 162, 76, .35);
  animation: pulse 2.4s ease-out infinite;
}
.map-open {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 16, 18, .85);
  backdrop-filter: blur(6px);
  font-size: .8rem;
  font-weight: 600;
}
.map-credit {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: .65rem;
  color: rgba(236, 231, 218, .55);
}
#visit address {
  margin-bottom: 22px;
}
.map,
.contact a {
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}
.map {
  transition-duration: .5s;
}

@media (max-width: 640px) {
  #visit .actions {
    justify-content: center;
  }

  #visit .actions .btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding-inline: 12px;
    white-space: nowrap;
  }
}

@media (hover: hover) and (pointer: fine) {
  .map:hover {
    box-shadow: var(--glow);
  }

  .contact a:hover {
    text-shadow: 0 0 16px rgba(227, 194, 122, .45);
  }
}

@keyframes pulse {
  from {
    transform: scale(.3);
    opacity: .9;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* === Closing call to action ====================================== */
.cta {
  text-align: center;
  background: linear-gradient(rgba(15, 16, 18, .8), rgba(15, 16, 18, .88)), url("../assets/img/cta.webp?v=37") center / cover no-repeat;
  padding: clamp(40px, 5.4vw, 64px) 0;
}
.cta p {
  margin-bottom: 24px;
  color: var(--text);
  opacity: .85;
}
.cta h2 {
  font-size: var(--fs-h2);
  line-height: 1.14;
}

@media (max-width: 700px) {
  .cta {
    background: linear-gradient(rgba(15, 16, 18, .8), rgba(15, 16, 18, .88)), url("../assets/img/cta-sm.webp?v=37") center / cover no-repeat;
  }
}

/* === Footer ====================================================== */
.footer {
  padding: 52px 0 22px;
  background: #0a0a0b;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 32px;
}
.foot-logo {
  width: 110px;
  height: auto;
  margin-bottom: 12px;
}
.footer h3 {
  font: 600 .78rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer a,
.footer p {
  display: block;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--muted);
}
.footer a:hover {
  color: var(--gold-light);
}
/* a 44px tap area around every footer link, without changing how the list looks */
.footer a {
  position: relative;
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}
.footer a::after {
  content: "";
  position: absolute;
  inset: -13px 0;
}
.foot-base {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: #8f8a7c;
}
.foot-addr {
  color: var(--muted);
  line-height: 1.6;
}
.foot-addr:hover {
  color: var(--gold-light);
}
.footer {
  padding-top: clamp(36px, 4vw, 48px);
}

@media (max-width: 1000px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .foot-grid > :nth-child(1) {
    grid-area: brand;
    text-align: center;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
  }

  .foot-grid > :nth-child(2) {
    grid-area: pages;
  }

  .foot-grid > :nth-child(3) {
    grid-area: visit;
  }

  .foot-grid > :nth-child(4) {
    grid-area: contact;
  }

  .foot-logo {
    width: 92px;
    margin: 0 auto 12px;
  }

  .foot-grid > :nth-child(1) p {
    max-width: 20rem;
    margin: 0 auto;
    font-size: .85rem;
    line-height: 1.6;
  }

  .footer h3 {
    font-size: .7rem;
    margin-bottom: 10px;
  }

  .footer a,
  .footer p {
    font-size: .86rem;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .foot-base {
    text-align: center;
    font-size: .76rem;
    margin-top: 24px;
    padding-top: 16px;
  }

  .foot-grid {
    grid-template-columns: .85fr 1.45fr .9fr;
    gap: 24px 12px;
    grid-template-areas: "brand brand brand" "pages visit contact";
    align-items: start;
  }

  .foot-grid > :nth-child(3) {
    padding-top: 0;
    border-top: 0;
  }

  .foot-grid > :nth-child(2) h3,
  .foot-grid > :nth-child(3) h3,
  .foot-grid > :nth-child(4) h3 {
    font-size: .7rem;
    letter-spacing: .12em;
  }

  .foot-grid > :nth-child(n+2) a {
    font-size: .76rem;
    line-height: 1.5;
    margin-bottom: 9px;
  }

  .foot-grid > :nth-child(3) a.foot-addr {
    font-size: .72rem;
    line-height: 1.65;
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .foot-base {
    padding-bottom: 4px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .footer a:hover {
    text-shadow: 0 0 16px rgba(227, 194, 122, .45);
  }
}

/* === Floating WhatsApp button and call bar ======================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  transition: transform .2s;
  transition-property: transform, background, border-color, color, box-shadow, text-shadow, opacity;
  transition-duration: .35s;
  transition-timing-function: ease;
}
.wa-float:hover {
  transform: scale(1.07);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.mbar {
  display: none;
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 16px;
    right: 14px;
    width: 46px;
    height: 46px;
    transition: bottom .6s var(--ease), transform .2s;
  }

  .wa-float svg {
    width: 25px;
    height: 25px;
  }

  .mbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 45;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(105%);
    opacity: 0;
    visibility: hidden;
    transition: transform .7s var(--ease), opacity .5s ease, visibility 0s .7s;
  }

  .mbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 6px;
    background: #0f1012;
    font-size: .8rem;
    font-weight: 600;
  }
}

@media (max-width: 900px) {
  .wa-float {
    z-index: 47;
  }
}

@media (hover: hover) and (pointer: fine) {
  .wa-float:hover {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, .14), 0 0 30px rgba(37, 211, 102, .55);
  }
}

/* === Scroll reveals ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(44px) scale(.98);
  transition: opacity .8s ease, transform .8s ease-out;
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.sp .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .22em;
  margin-bottom: -.22em;
}
.sp .w > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform .8s ease-out;
  transition-delay: calc(var(--i, 0) * 50ms + var(--d, 0s));
}
.sp.in .w > span {
  transform: none;
}

/* === FAQ ======================================================== */
.faq .wrap.narrow {
  text-align: left;
  max-width: 760px;
}
.faq .sec-head {
  margin-bottom: clamp(16px, 2.4vw, 24px);
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 40px 12px 0;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  margin-top: -.6em;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0 0 16px;
  padding-right: 24px;
  color: var(--muted);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* === Legal pages: privacy policy and terms ======================= */
.legal-bar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.legal-bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding: 8px 0;
}
.legal-bar .brand img {
  width: 72px;
  height: auto;
}
.legal {
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px);
}
.legal .wrap.narrow {
  text-align: left;
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 8px;
}
.legal h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin: clamp(26px, 3.6vw, 38px) 0 10px;
}
.legal h3 {
  font-size: 1rem;
  margin: 18px 0 6px;
  color: var(--text);
}
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.75;
}
.legal ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  list-style: disc;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-updated {
  margin: 0 0 22px;
  font-size: .86rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.legal-lead {
  color: var(--text);
  font-size: var(--fs-lead);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.legal-foot {
  padding-top: 0;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
}
.legal-foot .foot-base {
  margin-top: 0;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.foot-legal a {
  display: inline-block;
  position: relative;
  margin: 0;
  font-size: inherit;
  color: var(--muted);
}
.foot-legal a:hover {
  color: var(--gold-light);
}

@media (max-width: 640px) {
  .foot-base {
    justify-content: center;
  }
  .legal-bar-in .btn {
    padding: 10px 16px;
    font-size: .85rem;
  }
}

/* === Reduced motion ================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .a {
    opacity: 1;
    transform: none;
  }

  .sp .w > span {
    transform: none;
  }

  .card-img img {
    transform: none;
  }

  .mbar {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .line > span {
    transform: none;
  }

  .rotator b:first-child {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calc-result {
    transition: none;
  }

  .calc.done .calc-result-in > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* the pinned hero leaves empty space under its last chapter; the rate board moves up into it */
@media (min-width: 1000px) and (min-aspect-ratio: 6/5) {
  .is3d .rates {
    position: relative;
    z-index: 1;
    margin-top: -6vh;
  }
}

/* phones: the hero ends with spare room under its buttons; the rate board moves up into it */
@media (max-width: 700px) {
  .is3d .rates {
    position: relative;
    z-index: 1;
    /* only as much as the hero really has spare under its buttons (none on short screens) */
    margin-top: calc(-1 * clamp(0px, 100svh - var(--pin-need, 100svh) - 8px, 48px));
    padding-top: 12px;
  }
}
