:root {
  color-scheme: light;
  --ink: #241925;
  --ink-soft: #3a2b3e;
  --muted: #766a78;
  --paper: #fbf7f5;
  --cream: #f4e9e5;
  --white: #fffdfb;
  --line: #eadfe7;
  --plum: #241729;
  --plum-dark: #170f1d;
  --plum-light: #49334f;
  --rose: #dc718b;
  --coral: #ef947c;
  --gold: #d9b781;
  --sage: #67735d;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --shadow: 0 18px 48px #2c17301a;
  --shadow-hover: 0 24px 58px #2c173026;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; }
button, a, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { color: #fff; background: #a64e70; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Navigation */
.topbar { position: sticky; top: 0; z-index: 10; min-height: 82px; padding: 0 clamp(22px, 5.5vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #fbf5f2; background: #211527f2; border-bottom: 1px solid #ffffff12; backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fffaf8; font: 600 22px var(--serif); letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 14px 14px 14px 4px; color: #2c1b28; background: linear-gradient(145deg, #f6b08b, #d76c8a); font: 600 19px var(--serif); letter-spacing: 0; box-shadow: 0 5px 18px #d76c8a44; }
.brand-light { color: #f2b38f; font-weight: 500; }
.brand small { display: block; margin-top: 4px; color: #c7b7c7; font: 600 8px var(--sans); text-transform: uppercase; letter-spacing: .2em; }
.main-nav { height: 100%; display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; height: 45px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; color: #d2c7d4; background: transparent; font-size: 12px; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.nav-link:hover { color: #fff; background: #ffffff12; }
.nav-link.active { color: #fff9f6; background: #d8758b2c; border-color: #df8d9b55; }
.nav-link.active:after { content: ''; position: absolute; left: 50%; bottom: -19px; width: 18px; height: 3px; border-radius: 3px; background: var(--coral); transform: translateX(-50%); }
.header-tools { display: flex; align-items: center; gap: 11px; }
.header-tools select { min-width: 54px; padding: 10px 8px; border: 1px solid #ffffff24; border-radius: 999px; color: #f5eaf3; background: #ffffff0c; font-size: 11px; }
.header-tools select option { color: var(--ink); background: var(--white); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #291a28; background: linear-gradient(115deg, #f4b087, #df718d); box-shadow: 0 9px 25px #d26d883d; }
.button-primary:hover { background: linear-gradient(115deg, #fac29b, #e77d97); box-shadow: 0 13px 30px #d26d8850; }
.button-outline { color: var(--plum); background: #fffaf8; border-color: #d8c4d3; }
.button-outline:hover { background: #f7e7ee; border-color: #d8849b; }
.button-quiet { color: var(--muted); background: transparent; }
.button-quiet:hover { color: var(--plum); background: #321e350d; }
.button-small { min-height: 40px; padding: 9px 16px; font-size: 11px; }
.light-outline { color: #fff2ed; background: #ffffff0c; border-color: #f2bd9b88; }
.light-outline:hover { background: #ffffff19; border-color: #f4c7ad; }

/* First screen */
.hero { position: relative; display: grid; grid-template-columns: .94fr 1.06fr; min-height: 610px; overflow: hidden; color: #fbf6f4; background: radial-gradient(ellipse at 10% 0%, #69465d 0, transparent 37%), linear-gradient(120deg, #2b1b30, #211627 62%, #1b1422); }
.hero:before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .36; background: radial-gradient(circle at 13% 73%, #e48d9770 0 1px, transparent 2px), radial-gradient(circle at 34% 22%, #f2c89c 0 1px, transparent 2px), radial-gradient(circle at 43% 76%, #f2c89c 0 1px, transparent 2px), radial-gradient(circle at 8% 39%, #f2c89c 0 1px, transparent 2px); background-size: 93px 113px, 147px 127px, 173px 151px, 211px 169px; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 76px clamp(34px, 6vw, 92px) 74px clamp(32px, 9vw, 142px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #b26880; font-size: 9px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.hero .eyebrow { width: fit-content; padding: 9px 13px; border: 1px solid #f0b69b45; border-radius: 999px; color: #f4c6aa; background: #ffffff0c; }
.eyebrow.center { justify-content: center; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 13px #f09c8977; }
.hero h1, .page-intro h1 { margin: 23px 0 20px; font: 500 clamp(48px, 5.5vw, 78px)/1.02 var(--serif); letter-spacing: -.05em; }
.hero h1 { max-width: 650px; color: #fff8f4; text-wrap: balance; }
.hero-text { max-width: 490px; margin: 0; color: #d4c7d3; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.hero .button-quiet { color: #eadfea; }
.hero .button-quiet:hover { color: #fff; background: #ffffff13; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 23px 0 0; color: #c3b2c4; font-size: 10px; }
.hero-note span:first-child { color: var(--gold); }
.hero-visual { position: relative; isolation: isolate; min-height: 610px; overflow: hidden; background: radial-gradient(ellipse at 65% 34%, #ffe4c7 0, #edc7b8 25%, #b6a5a3 58%, #827887 100%); }
.hero-visual:before { content: ''; position: absolute; z-index: 1; inset: 0; background: radial-gradient(ellipse at 72% 27%, #fff6df88 0, transparent 34%), linear-gradient(145deg, #f4d3c555, transparent 53%); }
.hero-visual:after { content: ''; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(0deg, #241827b5 0%, transparent 37%), linear-gradient(90deg, #261a2c2b, transparent 22%, transparent 78%, #2b203019); }
.moon { position: absolute; z-index: 1; top: 12%; right: 21%; width: clamp(88px, 10vw, 142px); aspect-ratio: 1; border-radius: 50%; background: #fff0d1; box-shadow: 0 0 45px #fff1ce8a, 0 0 120px #fff1ce62; animation: moon-breathe 7s ease-in-out infinite; }
.mountain { position: absolute; z-index: 1; left: -4%; bottom: 17%; width: 110%; height: 56%; clip-path: polygon(0 47%,14% 28%,26% 43%,45% 10%,61% 37%,74% 18%,88% 38%,100% 25%,100% 100%,0 100%); }
.mountain-back { background: linear-gradient(125deg, #88877f, #72747a 54%, #646773); }
.mountain-front { bottom: 8%; height: 47%; background: linear-gradient(115deg, #6d6069, #564953 65%, #493c4d); clip-path: polygon(0 34%,18% 45%,37% 15%,58% 43%,75% 17%,100% 40%,100% 100%,0 100%); }
.lake { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 24%; background: linear-gradient(180deg, #594a57, #382b3e); }
.lake:after { content: ''; position: absolute; top: 17px; left: 16%; width: 64%; height: 1px; background: #f1d5b277; box-shadow: 0 16px 0 #f1d5b255, 0 37px 0 #f1d5b23a, 0 62px 0 #f1d5b224; }
.hero-figures { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 3px 6px #24182728); }
.visual-label { position: absolute; z-index: 4; bottom: 28px; left: 30px; padding: 14px 18px; color: #fff8f1; background: #2116299c; border: 1px solid #ffffff2b; border-radius: 15px; backdrop-filter: blur(12px); font: 21px var(--serif); }
.visual-label small { display: block; margin-top: 7px; color: #ead7d9; font: 700 8px var(--sans); letter-spacing: .17em; }

/* Exploration strip and home sections */
.welcome-strip { min-height: 82px; padding: 18px clamp(24px, 10vw, 150px); display: flex; align-items: center; gap: 15px; background: linear-gradient(100deg, #f2dfe0, #f7e9df); border-bottom: 1px solid #ead8da; }
.strip-symbol { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 12px; color: #8f4965; background: #fff9f5; font-size: 18px; box-shadow: 0 5px 15px #6d314514; }
.welcome-strip p { flex: 1; margin: 0; color: #594956; font-size: 12px; line-height: 1.6; }
.text-button { padding: 8px 0; border: 0; color: #7d3f5c; background: transparent; font-size: 11px; font-weight: 800; }
.text-button:hover { color: #b34d72; text-decoration: underline; text-underline-offset: 4px; }
.section { padding: clamp(64px, 8vw, 108px) clamp(24px, 7.5vw, 118px); }
.compact-section { padding-top: 74px; padding-bottom: 86px; }
.section-heading { max-width: 700px; margin: 0 auto 45px; text-align: center; }
.section-heading h2 { margin: 17px 0 13px; color: var(--plum); font: 500 clamp(34px, 4vw, 54px)/1.12 var(--serif); letter-spacing: -.04em; text-wrap: balance; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.value-grid { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value-card { position: relative; min-height: 255px; padding: 27px 23px 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(155deg, #fffdfb, #fff9f8); box-shadow: 0 9px 25px #2b173008; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.value-card:before { content: ''; position: absolute; top: 0; right: 18px; left: 18px; height: 3px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--rose), var(--gold)); opacity: .75; }
.value-card:hover { transform: translateY(-7px); border-color: #dca7b8; box-shadow: var(--shadow-hover); }
.value-icon { width: 43px; height: 43px; margin: 0 0 22px; display: grid; place-items: center; border: 1px solid #e8c7d1; border-radius: 15px; color: #a24e6d; background: linear-gradient(135deg, #fff0ed, #f6e3eb); font-size: 18px; }
.value-card h3 { margin: 0 0 10px; color: var(--plum); font: 500 21px/1.15 var(--serif); }
.value-card p { min-height: 67px; margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.card-link { padding: 0; border: 0; color: #994864; background: transparent; font-size: 10px; font-weight: 800; }
.card-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }

/* Sponsor and story feature */
.ad-slot { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid #e4c8d2; border-radius: 16px; color: #655463; background: linear-gradient(100deg, #fff7f4, #f7eaf0); box-shadow: 0 8px 24px #321a2c09; }
.ad-horizontal { margin: 0 0 32px; }
.home-ad { max-width: 1210px; margin: 0 auto 72px; }
.ad-icon { width: 38px; height: 34px; display: grid; place-items: center; flex: 0 0 38px; border: 1px solid #e4c1cd; border-radius: 10px; color: #9a4f6b; background: #fffaf7; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.ad-label { display: block; margin-bottom: 4px; color: #9d687a; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.ad-slot strong { display: block; color: #4c3d4d; font-size: 11px; font-weight: 600; }
.ad-privacy { margin-left: auto; color: #8a7c89; font-size: 9px; }
.story-feature { max-width: 1360px; min-height: 400px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; overflow: hidden; border-radius: 24px; color: #f8f1f0; background: radial-gradient(ellipse at 78% 15%, #65445c, transparent 46%), linear-gradient(120deg, #211626, #31213a 66%, #462d43); box-shadow: 0 22px 65px #2415292b; }
.story-art { position: relative; min-height: 350px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 52% 40%, #f0bc9270 0, transparent 26%), radial-gradient(ellipse at 49% 82%, #d57c8d4a 0, transparent 45%), linear-gradient(145deg, #59435a, #2b2035 68%, #201928); }
.story-art:before { content: ''; position: absolute; inset: 14% 15%; border: 1px solid #f1d1b547; border-radius: 48% 52% 47% 53%; transform: rotate(-17deg); box-shadow: 0 0 0 20px #ffffff05, 0 0 90px #df9c8130; }
.story-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #2016289c, transparent 56%); }
.quote-mark { position: absolute; z-index: 1; top: -20px; left: 39%; color: #f9ddb050; font: 260px/.9 var(--serif); }
.art-star { position: absolute; z-index: 2; color: #f4cba0; }
.star-a { top: 26%; left: 24%; font-size: 19px; }
.star-b { top: 50%; right: 22%; font-size: 25px; }
.art-caption { position: absolute; z-index: 3; bottom: 29px; left: 30px; color: #f8e4d4; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.story-feature-copy { align-self: center; padding: 58px clamp(32px, 7vw, 96px); }
.story-feature-copy .eyebrow { color: #f0bd9b; }
.story-feature blockquote { margin: 22px 0 15px; color: #fff8f3; font: 500 clamp(25px, 3vw, 39px)/1.3 var(--serif); letter-spacing: -.025em; }
.story-feature-copy p { max-width: 560px; margin: 0 0 24px; color: #d6c9d4; font-size: 12px; line-height: 1.85; }
.join-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }

/* Secondary pages */
.page { display: none; min-height: 68vh; padding: 68px max(7vw, calc((100vw - 1180px)/2)) 96px; background: radial-gradient(ellipse at 100% 0, #f3e4e9 0, transparent 29%), var(--paper); }
.page.active { display: block; animation: page-arrive .38s ease both; }
.page-intro { max-width: 790px; margin: 0 auto 40px 0; }
.page-intro h1 { margin: 17px 0 14px; color: var(--plum); font-size: clamp(42px, 5vw, 66px); }
.page-intro p { max-width: 690px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 17px; }
.toolbar-title { color: var(--plum); font: 500 26px var(--serif); }
.demo-badge { padding: 8px 11px; border: 1px solid #e9d0d9; border-radius: 999px; color: #93516b; background: #fff2f3; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.story-list { display: grid; gap: 15px; }
.story-card { padding: 24px 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 9px 26px #29182a0a; transition: transform .2s ease, box-shadow .2s ease; }
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #917b8c; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.story-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }
.story-card h2 { margin: 14px 0 9px; color: var(--plum); font: 500 24px var(--serif); }
.story-card p { max-width: 850px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.story-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.small-button { padding: 9px 13px; border: 1px solid #e1cbd6; border-radius: 999px; color: #81465e; background: #fffaf8; font-size: 10px; font-weight: 700; transition: background .2s ease, border-color .2s ease; }
.small-button:hover { border-color: #d68da3; background: #faeaf0; }
.story-report-button { margin-left: auto; border-color: #e7b8c2; color: #8f445d; background: #fff6f4; }
.story-report-button:hover { border-color: #c97991; color: #71374f; background: #fbe9ed; }
.original-note { color: #8b7e8d; font-size: 9px; }

/* Community, albums and trust */
.community-callout, .privacy-callout { display: flex; align-items: center; gap: 17px; margin-bottom: 26px; padding: 20px 23px; border: 1px solid #e6cbd5; border-radius: 17px; background: linear-gradient(100deg, #fff7f4, #f8eaf0); }
.callout-icon, .lock-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border: 1px solid #e2bdca; border-radius: 15px; color: #9b4e6c; background: #fffaf7; font-weight: 800; }
.callout-icon { font-size: 12px; }
.community-callout>div, .privacy-callout>div { flex: 1; }
.community-callout strong, .privacy-callout strong { color: var(--plum); font: 500 17px var(--serif); }
.community-callout p, .privacy-callout p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.community-callout .text-button { white-space: nowrap; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fffdfb, #fff8f6); box-shadow: 0 10px 27px #29182a0c; transition: transform .23s ease, box-shadow .23s ease; }
.profile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.profile-top { display: flex; align-items: center; gap: 13px; }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 18px; color: #fff9f4; background: linear-gradient(145deg, #bd6684, #594261); font: 500 19px var(--serif); box-shadow: 0 4px 15px #58304c33; }
.profile-name { color: var(--plum); font: 500 20px var(--serif); }
.profile-age { margin-top: 3px; color: #8d7c8b; font-size: 9px; }
.profile-card p { margin: 16px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 17px; }
.tag { padding: 6px 9px; border: 1px solid #ecdde5; border-radius: 999px; color: #755c72; background: #faf2f3; font-size: 8px; }
.profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.profile-actions small { color: #948694; font-size: 9px; }
.privacy-callout { margin-bottom: 20px; }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.album-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 28px #29182a0c; transition: transform .23s ease, box-shadow .23s ease; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.album-image { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden; color: #fff8f1; background: radial-gradient(circle at 52% 38%, #f3c39466, transparent 25%), linear-gradient(145deg, #a98d8e, #634e65 62%, #332941); }
.album-image:before, .album-image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #251a2db0, transparent 63%); }
.album-image:after { inset: auto 10% 17px; height: 1px; background: #f4d5b877; box-shadow: 0 8px 0 #f4d5b84a, 0 17px 0 #f4d5b833; }
.album-shape { position: relative; z-index: 1; width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid #f7e7d6a6; border-radius: 50%; color: #fff0da; font-size: 21px; box-shadow: 0 0 45px #ffe2c633; }
.album-lock { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 8px 11px; border: 1px solid #ffffff30; border-radius: 999px; color: #fff6f0; background: #211627c9; font-size: 8px; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(8px); }
.album-info { padding: 18px 19px; }
.album-info h2 { margin: 0 0 7px; color: var(--plum); font: 500 20px var(--serif); }
.album-info p { margin: 0 0 14px; color: var(--muted); font-size: 10px; }
.album-info .small-button { width: 100%; }
.empty-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 25px; padding: 22px 3px; border-top: 1px solid var(--line); color: #766879; }
.empty-note span { color: #bd6986; font-size: 18px; }
.empty-note p { margin: 0; font-size: 10px; line-height: 1.8; }

/* Safety page */
.safety-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.safety-card { position: relative; min-height: 207px; padding: 27px 28px 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, #fffdfb, #fff8f6); }
.safety-card:after { content: ''; position: absolute; right: -30px; bottom: -38px; width: 130px; height: 130px; border: 1px solid #dbb4c333; border-radius: 50%; box-shadow: 0 0 0 14px #dbb4c310, 0 0 0 28px #dbb4c30a; }
.safety-number { color: #c1788c; font: 500 30px var(--serif); }
.safety-card h2 { margin: 13px 0 8px; color: var(--plum); font: 500 22px var(--serif); }
.safety-card p { position: relative; z-index: 1; max-width: 680px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.85; }
.report-panel { margin-top: 25px; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #56394f; border-radius: 20px; color: #f7f0ef; background: radial-gradient(ellipse at 90% 10%, #78465d, transparent 40%), linear-gradient(120deg, #27192d, #35233d); box-shadow: 0 14px 34px #2b19301a; }
.report-panel .eyebrow { color: #f1c2a0; }
.report-panel h2 { margin: 11px 0 7px; font: 500 25px var(--serif); }
.report-panel p { max-width: 570px; margin: 0; color: #d2c4d2; font-size: 10px; line-height: 1.8; }

/* Footer and dialogs */
.footer { padding: 43px 7vw 20px; color: #e3d7e3; background: radial-gradient(ellipse at 15% 0%, #4c344d, transparent 40%), #1d1422; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 27px; border-bottom: 1px solid #ffffff1c; }
.footer .brand { color: #fbf4f0; }
.footer .brand-light { color: #efae91; }
.footer .brand-mark { color: #2c1b28; background: linear-gradient(145deg, #f6b08b, #d76c8a); }
.footer .brand small { color: #b7a7bb; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; }
.footer-links button, .footer-links a { padding: 5px 0; border: 0; color: #c8bcca; background: transparent; font-size: 10px; }
.footer-links button:hover, .footer-links a:hover { color: #fff; }
.footer-domain { display: flex; align-items: center; gap: 9px; color: #a99aae; font-size: 9px; }
.footer-domain strong { color: #edb28f; font: 500 17px var(--serif); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 17px; color: #a499a8; font-size: 8px; }
.footer-age { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #9f829b; border-radius: 50%; color: #f1d7c8; }
.age-overlay { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 50% 30%, #5e405d88, transparent 45%), #180f1eeb; backdrop-filter: blur(12px); }
.age-overlay.hidden { display: none; }
.age-dialog { position: relative; width: min(100%, 460px); padding: 39px 44px 33px; overflow: hidden; border: 1px solid #edd6d6; border-radius: 25px; background: linear-gradient(150deg, #fffdfa, #f7edf0); box-shadow: 0 35px 100px #08050b78; text-align: center; }
.age-dialog:before { content: ''; position: absolute; top: -82px; right: -80px; width: 190px; height: 190px; border-radius: 50%; background: #f6d4cf66; filter: blur(2px); }
.age-brand { position: relative; z-index: 1; justify-content: center; margin-bottom: 25px; color: var(--plum); }
.age-brand .brand-mark { color: #2c1b28; }
.age-brand .brand-light { color: #a24e6d; }
.age-pill { width: 44px; height: 44px; margin-bottom: 17px; display: inline-grid; place-items: center; border: 1px solid #dfa8b8; border-radius: 15px; color: #9f4f6e; background: #fff5f2; font-size: 11px; font-weight: 900; }
.age-dialog h2 { margin: 0 0 11px; color: var(--plum); font: 500 32px/1.1 var(--serif); }
.age-dialog p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.age-enter, .age-exit { width: 100%; margin-top: 8px; }
.age-dialog>small { display: block; margin-top: 17px; color: #918493; font-size: 8px; line-height: 1.65; }
.modal-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 18px; background: #180f1ed1; backdrop-filter: blur(8px); }
.modal-backdrop.hidden { display: none; }
.modal-card { position: relative; width: min(100%, 500px); padding: 38px; border: 1px solid #ead7e1; border-radius: 23px; background: linear-gradient(145deg, #fffdfa, #f7edf0); box-shadow: 0 30px 90px #09050b70; }
.modal-close { position: absolute; top: 12px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #806f80; background: #f4e9ec; font-size: 23px; }
.modal-close:hover { color: var(--plum); background: #eddae3; }
.modal-card h2 { margin: 0 0 10px; color: var(--plum); font: 500 29px var(--serif); }
.modal-card p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.modal-card label { display: block; margin: 15px 0 6px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.modal-card select, .modal-card textarea { width: 100%; padding: 12px; border: 1px solid #dfcbd6; border-radius: 12px; color: var(--ink); background: #fffdfb; font: inherit; font-size: 11px; }
.modal-card textarea { min-height: 95px; resize: vertical; }
.modal-card .button { margin-top: 15px; }
.modal-note { margin-top: 17px; padding: 13px 15px; border-left: 3px solid var(--rose); border-radius: 0 10px 10px 0; color: #766778; background: #f7eaf0; font-size: 10px; line-height: 1.7; }
.toast { position: fixed; z-index: 70; bottom: 23px; left: 50%; max-width: 90vw; padding: 13px 19px; border: 1px solid #ffffff24; border-radius: 999px; color: #fff8f5; background: #25182c; font-size: 10px; opacity: 0; pointer-events: none; text-align: center; box-shadow: 0 12px 30px #160d1c66; transform: translate(-50%, 15px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes page-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes moon-breathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 45px #fff1ce8a, 0 0 120px #fff1ce62; } 50% { transform: scale(1.045); box-shadow: 0 0 55px #fff1ceaa, 0 0 145px #fff1ce70; } }

@media (max-width: 1180px) {
  .topbar { padding-inline: 28px; gap: 12px; }
  .brand { font-size: 19px; }
  .main-nav { gap: 1px; }
  .nav-link { padding-inline: 10px; font-size: 10px; }
  .hero-copy { padding-left: 7vw; padding-right: 4vw; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
}

@media (max-width: 850px) {
  .topbar { min-height: 70px; padding: 11px 5vw; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; height: 46px; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .nav-link { height: 39px; padding-inline: 12px; font-size: 10px; }
  .nav-link.active:after { bottom: -3px; }
  .header-tools { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 8vw 55px; }
  .hero-visual { min-height: 460px; }
  .welcome-strip { padding: 16px 8vw; }
  .story-feature { grid-template-columns: 1fr; }
  .story-art { min-height: 250px; }
  .story-feature-copy { padding: 42px 8vw 46px; }
  .section { padding: 66px 7vw; }
  .compact-section { padding-top: 52px; }
  .profile-grid, .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page { padding: 50px 7vw 70px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 17px; }
  .ad-privacy { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .topbar { gap: 6px; padding: 10px 5vw 8px; }
  .brand { gap: 9px; font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 12px 12px 12px 4px; font-size: 16px; }
  .brand small { font-size: 7px; }
  .header-tools { gap: 3px; }
  .header-tools select { min-width: 48px; padding: 8px 6px; font-size: 10px; }
  .button-small { min-height: 36px; padding: 8px 11px; font-size: 10px; }
  .main-nav { height: 42px; }
  .nav-link { height: 36px; padding-inline: 10px; font-size: 9px; }
  .hero-copy { padding: 50px 7vw 42px; }
  .hero .eyebrow { font-size: 8px; }
  .hero h1 { margin: 19px 0 15px; font-size: clamp(43px, 11vw, 55px); }
  .hero-text { font-size: 12px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 5px; margin-top: 23px; }
  .hero-actions .button-quiet { padding-left: 9px; }
  .hero-note { align-items: flex-start; font-size: 9px; line-height: 1.6; }
  .hero-visual { min-height: 350px; }
  .visual-label { bottom: 16px; left: 16px; padding: 11px 13px; font-size: 18px; }
  .visual-label small { font-size: 7px; }
  .welcome-strip { flex-wrap: wrap; gap: 10px; padding: 14px 6vw; }
  .welcome-strip p { min-width: 0; flex: 1; font-size: 10px; }
  .welcome-strip .text-button { margin-left: 45px; }
  .section { padding: 54px 6vw; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading p { font-size: 11px; }
  .value-grid, .profile-grid, .album-grid, .safety-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; padding: 24px; }
  .value-card p { min-height: auto; }
  .value-icon { margin-bottom: 17px; }
  .home-ad { margin: 0 6vw 50px; }
  .ad-slot { align-items: flex-start; padding: 14px; gap: 11px; }
  .story-feature { margin-inline: 5vw; border-radius: 19px; }
  .story-art { min-height: 205px; }
  .story-feature-copy { padding: 34px 7vw 38px; }
  .story-feature blockquote { font-size: 25px; }
  .join-actions { align-items: stretch; flex-direction: column; }
  .join-actions .button { width: 100%; }
  .page { padding: 42px 6vw 58px; }
  .page-intro h1 { font-size: 40px; }
  .page-intro p { font-size: 11px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .story-card { padding: 19px; }
  .story-card h2 { font-size: 21px; }
  .community-callout, .privacy-callout { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
  .community-callout>div, .privacy-callout>div { flex: 1 1 calc(100% - 62px); }
  .community-callout .text-button { margin-left: 59px; }
  .report-panel { align-items: flex-start; flex-direction: column; padding: 24px; }
  .report-panel .button { width: 100%; }
  .footer { padding: 34px 7vw 19px; }
  .footer-links { gap: 12px 16px; }
  .footer-bottom { justify-content: flex-start; font-size: 8px; }
  .age-dialog { padding: 31px 24px 26px; border-radius: 20px; }
  .age-dialog h2 { font-size: 28px; }
  .modal-card { padding: 32px 23px 24px; border-radius: 20px; }
}

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

/* Guest story submissions — local preview only */
.guest-submit-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: clamp(22px, 4vw, 38px); border: 1px solid #e5ced9; border-radius: 20px; background: radial-gradient(ellipse at 5% 5%, #f7e7ed 0, transparent 55%), linear-gradient(135deg, #fffdfa, #f8eff2); box-shadow: 0 14px 38px #2b182a0b; }
.guest-panel-copy { max-width: 660px; }
.guest-kicker { color: #a05c76; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.guest-panel-copy h2 { margin: 9px 0; color: var(--plum); font: 500 27px var(--serif); }
.guest-panel-copy p { margin: 5px 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.guest-panel-copy .guest-local-note { color: #8b6678; font-size: 10px; }
.guest-submit-button { flex: 0 0 auto; white-space: nowrap; }
.guest-submissions { margin-top: 24px; }
.guest-submissions[hidden] { display: none; }
.guest-submission-list { display: grid; gap: 12px; }
.guest-submission-card { padding: 20px 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.guest-submission-card h3 { margin: 12px 0 7px; color: var(--plum); font: 500 21px var(--serif); }
.guest-submission-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.guest-submission-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #917b8c; font-size: 9px; }
.guest-submission-meta span:first-child { color: #98536d; font-weight: 800; letter-spacing: .06em; }
.guest-delete-button { margin-top: 13px; padding: 7px 11px; border: 1px solid #e4cdd7; border-radius: 999px; color: #824a61; background: #fff7f8; font-size: 10px; }
.modal-card input:not([type="checkbox"]) { width: 100%; padding: 12px; border: 1px solid #dfcbd6; border-radius: 12px; color: var(--ink); background: #fffdfb; font: inherit; font-size: 11px; }
.modal-card input[type="checkbox"] { flex: 0 0 auto; accent-color: var(--rose); }
.modal-card .guest-consent-label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; font-weight: 500; }
.guest-story-form .button { width: 100%; }
.modal-card { max-height: min(92vh, 850px); overflow-y: auto; }
@media (max-width: 650px) { .guest-submit-panel { align-items: flex-start; flex-direction: column; gap: 18px; } .guest-submit-button { white-space: normal; } .modal-card { padding: 34px 23px 24px; } }
