:root {
  color-scheme: dark;
  --page: #121212;
  --text: #f8f5ef;
  --muted: #a6a29c;
  --gold: #d9c6a6;
  --line: rgba(255, 255, 255, .11);
  font-family: "Manrope", sans-serif;
  background: #242622;
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { outline-offset: 5px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ambient-background { position: fixed; inset: -50px; pointer-events: none; background: linear-gradient(rgba(29, 31, 28, .65), rgba(30, 31, 28, .8)), url("/.netlify/images?url=/img/emily-portrait.png&w=480&fm=webp&q=60") center 40% / cover; filter: blur(35px); }
.profile-page { position: relative; width: min(100%, 460px); margin: 44px auto; background: var(--page); border: 1px solid rgba(255, 255, 255, .12); border-radius: 28px; overflow: hidden; box-shadow: 0 32px 90px rgba(8, 10, 8, .5); animation: page-in .9s both; }
.cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding-top: 330px; isolation: isolate; overflow: hidden; background: #2b2d28; }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 29%; transform: scale(1.04); will-change: transform, opacity; }
.cover-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 12, .17), transparent 35%, rgba(18, 18, 18, .65) 70%, rgba(18, 18, 18, .85) 90%, var(--page) 100%); }
.topbar { position: absolute; top: 20px; left: 24px; right: 20px; display: flex; align-items: center; justify-content: space-between; }
.topbar-caption { font-size: 11px; letter-spacing: .11em; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.round-button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(23, 23, 23, .35); color: #fff; display: grid; place-items: center; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transition: transform .25s, background .25s; }
.round-button:hover { background: rgba(60, 60, 60, .7); transform: translateY(-2px); }
.round-button:active { transform: scale(.94); }
.share-button .icon { width: 18px; height: 18px; }
.profile-info { position: relative; text-align: center; padding: 0 22px 44px; text-shadow: 0 2px 15px rgba(12, 12, 12, .6); }
.eyebrow { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .2em; margin: 0 0 8px; }
h1 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 40px; line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.name-period { color: var(--gold); }
.handle { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.bio { font-size: 11px; color: #c1bdb6; margin: 17px 0 0; }
.featured-section { padding: 29px 24px 0; animation: fade-up .8s .35s both; }
.section-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 17px; }
.section-heading span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line)); }
.section-heading span:last-child { transform: rotate(180deg); }
.section-heading h2 { color: var(--muted); margin: 0; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .19em; }
.featured-card { position: relative; display: block; height: 242px; border: 1px solid rgba(217, 198, 166, .23); border-radius: 19px; overflow: hidden; isolation: isolate; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); transition: transform .3s, box-shadow .3s; }
.featured-card > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; animation: slow-zoom 15s ease-in-out infinite alternate; }
.featured-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 16, 16, .22), rgba(16, 16, 16, .02) 25%, rgba(16, 16, 16, .1) 45%, rgba(16, 16, 16, .87) 100%); }
.card-topline { position: absolute; top: 17px; left: 17px; right: 17px; display: flex; justify-content: space-between; align-items: center; }
.card-kicker { font-size: 8px; letter-spacing: .17em; font-weight: 600; text-shadow: 0 1px 8px #171717; }
.age-label { font-size: 9px; border-radius: 20px; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(24, 24, 24, .25); backdrop-filter: blur(10px); }
.card-content { position: absolute; bottom: 20px; left: 17px; right: 17px; display: flex; gap: 11px; align-items: center; }
.card-lock { width: 38px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.card-lock .icon { width: 18px; height: 18px; }
.card-subtitle { font-size: 8px; color: #e1d8c9; }
.card-content h3 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 24px; line-height: 1.25; margin: 2px 0 0; }
.card-arrow { margin-left: auto; }
.card-arrow .icon { width: 20px; height: 20px; }
.shimmer { position: absolute; inset: -60% -100%; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .12) 49%, transparent 56%); transform: translateX(-50%); animation: shimmer 8s ease-in-out infinite; }
.featured-card:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(217, 198, 166, .13); }
.featured-card:active { transform: scale(.98); }
.discretion { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 15px 0 0; color: #8d8983; font-size: 8px; }
.discretion .icon { width: 10px; height: 10px; }
.page-footer { text-align: center; padding: 28px 24px 26px; }
.footer-rule { display: block; height: 1px; width: 35px; margin: 0 auto 20px; background: #39342c; }
.footer-heart { width: 15px; height: 15px; color: var(--gold); stroke-width: 1.3; }
.page-footer p { font-size: 9px; color: #a19b91; margin: 7px 0; }
.footer-signature { font-family: "DM Serif Display", serif; font-size: 19px; font-style: italic; color: #cdbb9e; }
.age-dialog { width: min(390px, calc(100% - 36px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 36px 27px 25px; background: linear-gradient(150deg, rgba(48, 46, 42, .97), rgba(24, 24, 23, .98)); color: var(--text); border: 1px solid rgba(217, 198, 166, .24); border-radius: 25px; text-align: center; box-shadow: 0 20px 100px rgba(0, 0, 0, .5); }
.age-dialog[open] { animation: modal-in .25s ease-out both; }
.age-dialog::backdrop { background: rgba(8, 9, 8, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dialog-close { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; background: transparent; border-color: transparent; color: var(--muted); }
.dialog-close .icon { width: 16px; height: 16px; }
.modal-lock { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(217, 198, 166, .25); border-radius: 18px; margin: 8px auto 22px; background: rgba(217, 198, 166, .07); color: var(--gold); }
.modal-lock .icon { width: 26px; height: 26px; }
.age-dialog .eyebrow { font-size: 7px; }
.age-dialog h2 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: 31px; margin: 8px 0 16px; }
#age-description { color: #bbb5aa; font-size: 12px; line-height: 1.9; margin-bottom: 25px; }
.confirm-button { width: 100%; min-height: 49px; display: flex; justify-content: center; align-items: center; gap: 13px; background: var(--gold); border: 1px solid var(--gold); color: #24211c; font-size: 13px; font-weight: 800; border-radius: 12px; transition: transform .2s, background .2s; }
.confirm-button:hover { background: #ebd8b8; }
.confirm-button:active { transform: scale(.98); }
.confirm-button .icon { width: 18px; height: 18px; }
.leave-button { min-height: 45px; margin-top: 7px; background: transparent; border: 0; color: #c7c1b8; font-size: 12px; width: 100%; border-radius: 10px; }
.leave-button:hover { background: rgba(255, 255, 255, .05); }
.modal-note { font-size: 8px; color: #969086; margin: 10px 0 0; }
.modal-open { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: max(25px, env(safe-area-inset-bottom)); z-index: 2; width: max-content; max-width: calc(100% - 32px); padding: 13px 20px; border: 1px solid var(--line); border-radius: 12px; background: #302e28; color: var(--text); font-size: 11px; text-align: center; box-shadow: 0 10px 35px rgba(0, 0, 0, .3); opacity: 0; transform: translate(-50%, 15px); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.noscript-notice { position: relative; width: min(100%, 460px); margin: 0 auto; padding: 15px; background: #302e28; color: var(--text); text-align: center; font-size: 12px; }
a[aria-disabled="true"] { opacity: .4; pointer-events: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes shimmer { 0%, 55% { transform: translateX(-50%); opacity: 0; } 60% { opacity: 1; } 90%, 100% { transform: translateX(50%); opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 500px) {
  :root { background: var(--page); }
  .ambient-background { display: none; }
  .profile-page { margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; min-height: 100svh; }
  .cover { min-height: 500px; padding-top: 300px; }
  .topbar { top: max(18px, env(safe-area-inset-top)); }
  .profile-info { padding: 0 19px 44px; }
  .featured-section { padding: 27px 20px 0; }
  .page-footer { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  h1 { font-size: 35px; }
  .card-content h3 { font-size: 20px; }
  .card-subtitle { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cover-image { will-change: auto; }
}
