@font-face { font-family: "Cormorant"; src: url(/assets/cormorant-var.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/assets/cormorant-italic-var.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(/assets/spectral-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Spectral"; src: url(/assets/spectral-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/assets/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #121212;
  --surface: #1a1917;
  --surface-2: #2a2723;
  --line: #34302a;
  --line-strong: #595146;
  --cream: #ede6da;
  --sand: #c3af93;
  --bronze: #8a7658;
  --muted: #9e9a92;
  --glow: 0 0 0 1px rgba(195,175,147,.25), 0 0 22px rgba(195,175,147,.32), 0 0 44px rgba(195,175,147,.12);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --body: "Spectral", Georgia, serif;
  --ui: "Archivo", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; background: var(--ink); color: var(--cream);
  font: 400 17px/1.5 var(--body);
  background-image: radial-gradient(120% 60% at 50% -10%, rgba(195,175,147,.13), transparent 60%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.page { max-width: 480px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); }

.top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; justify-items: center; padding: 8px 0 28px; }
.qr-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--sand); cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.qr-btn svg { width: 20px; height: 20px; }
.wordmark { width: min(230px, 62vw); height: auto; display: block; }

.hero { text-align: center; }
.avatar { width: 136px; height: 136px; margin: 0 auto 20px; border-radius: 50%; padding: 4px; background: linear-gradient(160deg, var(--cream), var(--bronze)); box-shadow: var(--glow); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; display: block; border: 3px solid var(--ink); }
h1 { font: 500 44px/1.02 var(--serif); letter-spacing: .01em; margin: 0 0 10px; }
.role { margin: 0; font: 500 13px/1.6 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.role span { color: var(--muted); }
.meta { margin: 12px auto 0; max-width: 40ch; color: var(--muted); font-size: 15px; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tags li { font: 500 12px/1 var(--ui); letter-spacing: .06em; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); }

.ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; border-radius: 999px; font: 600 14px/1 var(--ui); white-space: nowrap; letter-spacing: .02em; cursor: pointer; border: 0; transition: transform .15s ease, background .2s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.btn-primary { background: var(--cream); color: var(--ink); box-shadow: var(--glow); }
.btn-primary:hover { background: #fff8ec; }
.btn-ghost { background: var(--surface-2); color: var(--cream); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--sand); }
.wide { width: 100%; margin-top: 8px; }

.links { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 72px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s ease, background .2s ease; -webkit-tap-highlight-color: transparent; }
a.row:hover, .row-main:hover { border-color: var(--line-strong); background: #1f1e1b; }
a.row:active { transform: scale(.985); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--sand); flex: none; }
.txt { display: grid; min-width: 0; flex: 1; }
.txt strong { font: 600 16px/1.3 var(--ui); color: var(--cream); }
.txt small { font: 400 14px/1.35 var(--body); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { width: 9px; height: 9px; border-right: 1.6px solid var(--muted); border-top: 1.6px solid var(--muted); transform: rotate(45deg); margin-right: 4px; flex: none; }

.row-split { padding: 0; gap: 0; position: relative; }
.row-split .row-main { display: flex; align-items: center; gap: 14px; flex: 1; padding: 14px 16px; min-height: 72px; min-width: 0; border-radius: 17px 0 0 17px; }
.row-split .row-main:hover { background: #1f1e1b; }
.row-split > :last-child { border-radius: 0 17px 17px 0; }
.row-phone .ico { background: var(--cream); color: var(--ink); }
.row-side { align-self: stretch; display: grid; place-items: center; align-content: center; gap: 4px; width: 64px; flex: none; border: 0; border-left: 1px solid var(--line); color: var(--sand); font: 600 11px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.row-side:hover { background: var(--surface-2); }
.row-side { background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.row-side svg { width: 20px; height: 20px; }

.foot { text-align: center; margin-top: 44px; color: var(--bronze); font: 500 11px/1.6 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.foot-mark { width: 110px; height: auto; opacity: .7; }
.foot p { margin: 10px 0 0; }

/* Exchange drawer (vaul-style bottom sheet: drag the grip or flick down to close) */
.sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--cream); overflow: hidden; }
.sheet::backdrop { background: transparent; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(8,8,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: calc(1 - var(--pull, 0)); transition: opacity .5s cubic-bezier(.32,.72,0,1); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 480px; max-height: 92svh; display: flex; flex-direction: column; background: #181715; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -24px 60px -20px rgba(0,0,0,.7); transform: translate3d(0, var(--y, 0px), 0); transition: transform .5s cubic-bezier(.32,.72,0,1); will-change: transform; }
.sheet.is-dragging .sheet-panel, .sheet.is-dragging .sheet-scrim { transition: none; }
.sheet[open]:not(.is-in) .sheet-panel { --y: 100%; }
.sheet[open]:not(.is-in) .sheet-scrim { opacity: 0; }
.sheet.is-out .sheet-panel { --y: 100% !important; transition-duration: .3s; }
.sheet.is-out .sheet-scrim { opacity: 0; transition-duration: .3s; }
.sheet-grip { flex: none; display: grid; place-items: center; height: 28px; cursor: grab; touch-action: none; }
.sheet.is-dragging .sheet-grip { cursor: grabbing; }
.sheet-grip span { width: 48px; height: 5px; border-radius: 999px; background: var(--line-strong); }
.sheet-body { position: relative; display: block; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px max(24px, env(safe-area-inset-bottom)); }
.x { position: absolute; top: 0; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; }
.eyebrow { margin: 0 0 6px; font: 600 11px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.sheet h2 { font: 500 34px/1.05 var(--serif); margin: 0 0 8px; }
.lede { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.sheet label { display: grid; gap: 6px; margin-bottom: 12px; font: 600 12px/1 var(--ui); letter-spacing: .06em; color: var(--muted); }
.sheet label em { font-style: normal; font-weight: 400; color: var(--bronze); }
.sheet input, .sheet textarea { width: 100%; font: 400 16px/1.4 var(--ui); color: var(--cream); background: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; outline: none; resize: vertical; }
.sheet input:focus, .sheet textarea:focus { border-color: var(--sand); box-shadow: 0 0 0 3px rgba(195,175,147,.18); }
.hp { position: absolute !important; left: -9999px; }
.err { color: #e7a58f; font: 500 14px/1.4 var(--ui); margin: 4px 0 8px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

@media (max-width: 360px) { .ctas { grid-template-columns: 1fr; } h1 { font-size: 38px; } }

/* Shiny CTA (ported from the 21st.dev ShinyButton, recolored to Slate gold). Pure CSS. */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-angle-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --gradient-shine { syntax: "<color>"; initial-value: #ede6da; inherits: false; }

.shiny-cta {
  --shiny-cta-bg: #141311;
  --shiny-cta-bg-subtle: #2a2723;
  --shiny-cta-fg: var(--cream);
  --shiny-cta-highlight: var(--sand);
  --shiny-cta-highlight-subtle: #fff4e0;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  isolation: isolate;
  position: relative;
  overflow: hidden;
  outline-offset: 4px;
  border: 1px solid transparent;
  color: var(--shiny-cta-fg);
  background:
    linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle), 0 0 26px rgba(195,175,147,.16);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}
.shiny-cta::before, .shiny-cta::after, .shiny-cta > span::before {
  content: ""; pointer-events: none; position: absolute;
  inset-inline-start: 50%; inset-block-start: 50%; translate: -50% -50%; z-index: -1;
}
.shiny-cta:active { translate: 0 1px; }
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size); height: var(--size);
  background: radial-gradient(circle at var(--position) var(--position), var(--sand) calc(var(--position) / 4), transparent 0) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
  -webkit-mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
  border-radius: inherit;
  opacity: .4;
}
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--shiny-cta-highlight), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: .45;
}
.shiny-cta > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.shiny-cta > span::before {
  --size: calc(100% + 1rem);
  width: var(--size); height: var(--size);
  box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
  opacity: 0;
  transition: opacity var(--transition);
  animation: calc(var(--duration) * 1.5) breathe linear infinite;
}
.shiny-cta, .shiny-cta::before, .shiny-cta::after {
  animation: var(--animation) var(--duration), var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}
.shiny-cta:is(:hover, :focus-visible, :active) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
}
.shiny-cta:is(:hover, :focus-visible, :active), .shiny-cta:is(:hover, :focus-visible, :active)::before, .shiny-cta:is(:hover, :focus-visible, :active)::after { animation-play-state: running; }
.shiny-cta:is(:hover, :focus-visible, :active) > span::before { opacity: .5; }
@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shimmer { to { rotate: 360deg; } }
@keyframes breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

/* Shine border (ported from the 21st.dev ShineBorder): spinning gold conic ring around the photo. */
.avatar { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.avatar::before {
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--bronze), var(--cream), var(--sand), #3a3128, var(--bronze), #fff4e0, var(--sand), #3a3128, var(--bronze));
  filter: blur(4px);
  animation: shine-spin 4s linear infinite;
}
.avatar img { position: relative; }
@keyframes shine-spin { to { rotate: 360deg; } }


/* Copy button (ported from the 21st.dev copy button): icon morphs to a check, tooltip confirms. */
.row-copy { position: relative; }
.cp-ico { position: relative; width: 20px; height: 20px; }
.cp-ico svg { position: absolute; inset: 0; width: 20px; height: 20px; transition: transform .2s ease, opacity .2s ease; }
.cp-check { transform: scale(0); opacity: 0; color: var(--cream); stroke-width: 2.2; }
.row-copy.is-copied .cp-copy { transform: scale(0); opacity: 0; }
.row-copy.is-copied .cp-check { transform: scale(1); opacity: 1; }
.row-copy.is-copied .cp-label { color: var(--cream); }
.cp-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 5; translate: -50% 4px; padding: 6px 10px; border-radius: 8px; background: var(--cream); color: var(--ink); font: 600 12px/1 var(--ui); letter-spacing: .02em; text-transform: none; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, translate .15s ease; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
.cp-tip::after { content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0; border: 5px solid transparent; border-top-color: var(--cream); }
.row-copy:is(.is-copied, .is-tip) .cp-tip { opacity: 1; translate: -50% 0; }

/* Share button (ported from the 21st.dev ShareButton): the pill gives way to share options that
   slide in one after another. Hover opens it on desktop; tap opens it on phones. */
.share { position: relative; margin-top: 22px; height: 56px; }
.share-toggle { width: 100%; height: 56px; transition: opacity .3s ease, transform .3s ease; }
.share-links { position: absolute; inset: 0; display: flex; border-radius: 999px; overflow: hidden; pointer-events: none; }
.share-link { flex: 1; display: grid; place-items: center; align-content: center; gap: 4px; min-width: 0; border: 0; border-right: 1px solid rgba(18,18,18,.14); background: var(--cream); color: var(--ink); font: 600 11px/1 var(--ui); letter-spacing: .04em; cursor: pointer; opacity: 0; transform: translateX(-100%); transition: opacity .2s ease, transform .2s ease, background .2s ease; -webkit-tap-highlight-color: transparent; }
.share-link:last-child, .share-link:has(+ [hidden]) { border-right: 0; }
.share-link:hover { background: #fff8ec; }
.share-link svg { width: 18px; height: 18px; stroke-width: 1.8; }
.share-link.is-copied span { color: var(--bronze); }
.share.is-open .share-toggle { opacity: 0; pointer-events: none; }
.share.is-open .share-links { pointer-events: auto; }
.share.is-open .share-link { opacity: 1; transform: none; }
.share.is-open .share-link:nth-child(2) { transition-delay: 50ms; }
.share.is-open .share-link:nth-child(3) { transition-delay: 100ms; }
.share.is-open .share-link:nth-child(4) { transition-delay: 150ms; }
.share.is-open .share-link:nth-child(5) { transition-delay: 200ms; }

/* Featured review */
.review { margin: 22px 0 0; padding: 22px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; position: relative; }
.review::before { content: ""; position: absolute; inset: 0 20px auto; height: 1px; background: linear-gradient(90deg, transparent, var(--sand), transparent); opacity: .6; }
.stars { display: flex; gap: 3px; color: var(--sand); margin-bottom: 12px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0; font: italic 500 22px/1.3 var(--serif); color: var(--cream); }
.review figcaption { margin-top: 14px; display: grid; gap: 2px; }
.review figcaption strong { font: 600 14px/1.3 var(--ui); color: var(--cream); }
.review figcaption span { font: 500 12px/1.4 var(--ui); letter-spacing: .06em; color: var(--muted); }

/* Blur fade on scroll (21st.dev BlurFade): each piece eases in as it enters the viewport. */
.js :is(.top, .hero > *, .links > *, .review, .share, .foot) { opacity: 0; transform: translateY(8px); filter: blur(6px); transition: opacity .5s ease-out, transform .5s ease-out, filter .5s ease-out; }
.js :is(.top, .hero > *, .links > *, .review, .share, .foot).is-in { opacity: 1; transform: none; filter: none; }

/* Border beam (21st.dev ShineBorder, applied to buttons): a gold light circles the edge. */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.beam, .beam:hover { border: 1px solid transparent; }
.beam {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    conic-gradient(from var(--beam), var(--line-strong) 0 60%, var(--bronze) 76%, var(--cream) 87%, var(--sand) 93%, var(--line-strong)) border-box;
  animation: beam 4s linear infinite;
}
.beam:hover { --beam-boost: 1; }
@keyframes beam { to { --beam: 360deg; } }

/* Review CTA + QR drawer */
.review-cta { margin-top: 18px; }
.review-cta svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.qr-body { text-align: center; }
.qr-body .lede { margin-bottom: 20px; }
.qr-frame { width: min(260px, 70vw); margin: 0 auto; padding: 14px; border-radius: 18px; background: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--glow); }
.qr-svg { display: block; width: 100%; height: auto; }
.qr-url { margin: 16px 0 6px; font: 600 12px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
