:root {
  --ink: #251b27;
  --muted: #6f636d;
  --cream: #fffaf7;
  --blush: #f7e7ec;
  --rose: #bd6680;
  --rose-dark: #8b3f59;
  --lavender: #dcd4ec;
  --line: rgba(58, 36, 50, .13);
  --white: #fff;
  --shadow: 0 24px 70px rgba(88, 51, 70, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 1rem/1.65 var(--sans); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7b3951; outline-offset: 3px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header, .dashboard-header { min-height: 78px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,250,247,.92); position: relative; z-index: 20; }
.site-header { position: sticky; top: 0; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.15rem; font-weight: 500; text-decoration: none; letter-spacing: .02em; }
.brand strong { color: var(--rose-dark); }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid var(--rose); border-radius: 50% 50% 48% 52%; color: var(--rose-dark); font: italic 600 1.3rem var(--serif); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a, .text-link { font-size: .9rem; text-decoration: none; }
.main-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--rose-dark); }
.nav-cta { padding: .65rem 1.1rem; border: 1px solid var(--rose); border-radius: 999px; color: var(--rose-dark); }
.nav-toggle { display: none; padding: .5rem; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; background: radial-gradient(circle at 12% 12%, #fff 0, transparent 32%), linear-gradient(135deg, #fffaf7, #f8edf0 70%); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 8vw, 8rem); }
.eyebrow { margin: 0 0 1rem; color: var(--rose-dark); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 { max-width: 690px; margin-bottom: 1.5rem; font-size: clamp(3.25rem, 6.7vw, 6.7rem); font-weight: 600; }
.hero h1 em { display: block; color: var(--rose-dark); font-weight: 600; }
.hero-lead { max-width: 610px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--rose-dark); color: var(--white); }
.button-primary:hover { background: #713047; }
.button-secondary { border-color: var(--rose-dark); background: transparent; color: var(--rose-dark); }
.button-dark { background: var(--ink); color: white; }
.button-small { min-height: 38px; padding: .5rem .85rem; font-size: .78rem; }
.button-danger { background: #fff; border-color: #b52d44; color: #9d2337; }
.microcopy { margin: 1.2rem 0 0; color: var(--muted); font-size: .8rem; }
.hero-art { min-height: 620px; display: grid; place-items: center; padding: 5vw; position: relative; background: radial-gradient(circle at center, rgba(255,255,255,.7), transparent 68%), var(--blush); }
.hero-art::before, .hero-art::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border: 1px solid rgba(189,102,128,.3); border-radius: 50%; }
.hero-art::before { left: -13%; bottom: -12%; }.hero-art::after { right: -9%; top: -5%; }
.arch-card { width: min(440px, 80%); aspect-ratio: .75; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; border-radius: 220px 220px 24px 24px; background: linear-gradient(160deg, rgba(255,255,255,.88), rgba(255,248,250,.48)); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); }
.hero-number { color: var(--rose-dark); font: 600 clamp(6rem, 13vw, 11rem)/.75 var(--serif); opacity: .18; }
.hero-name { margin-top: -1.5rem; font: italic 600 clamp(3rem, 7vw, 5.5rem)/1 var(--serif); color: var(--rose-dark); }
.hero-date { margin-top: 1.5rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.spark { position: absolute; color: var(--rose); font-size: 2rem; }.spark-one { top: 18%; left: 18%; }.spark-two { right: 15%; bottom: 18%; }

.capture-section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem); display: grid; grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.2fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin-bottom: 1.25rem; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.section-heading > p:last-child, .about-copy p, .contact-copy p { max-width: 580px; color: var(--muted); }
.capture-card { padding: clamp(1.25rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.permission-note { display: flex; gap: 1rem; padding: 1rem 1.2rem; margin-bottom: 1.25rem; border-radius: 16px; background: #f9f2f5; }
.permission-note p { margin: .15rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.permission-icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: white; color: var(--rose-dark); }
.capture-empty, .photo-preview { width: 100%; height: clamp(260px, 42vw, 460px); border-radius: 20px; }
.capture-empty { display: grid; place-content: center; justify-items: center; background: linear-gradient(145deg, #f7e6ec, #eee8f6); color: var(--rose-dark); }
.camera-illustration { display: grid; place-items: center; width: 74px; height: 58px; margin-bottom: 1rem; border: 2px solid currentColor; border-radius: 14px; font-size: 2.4rem; }
.capture-empty p { margin: 0; font-family: var(--serif); font-size: 1.3rem; }
.photo-preview { object-fit: contain; background: #1d171c; }
.capture-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.visually-hidden-input:focus-visible + label { outline: 3px solid #7b3951; outline-offset: 3px; }
.text-button { border: 0; background: transparent; color: var(--rose-dark); cursor: pointer; text-decoration: underline; }
.status-message { min-height: 1.65em; margin: .8rem 0 0; color: var(--rose-dark); font-size: .9rem; text-align: center; }

.moments-section { padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 7rem); background: #241b25; color: white; }
.compact { max-width: 760px; margin-bottom: 3rem; }.compact h2 { margin-bottom: 1rem; }.moments-section .compact > p:last-child { color: #c7bcc4; }
.moments-carousel { position: relative; min-height: clamp(420px, 66vw, 720px); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: radial-gradient(circle at center, #432b3a, #181319 74%); box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.moments-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; padding: 2rem; color: #c7bcc4; text-align: center; }.moments-empty > span { margin-bottom: .75rem; color: #e7b4c4; font-size: 2.5rem; }.moments-empty p { margin: 0; }
.moments-slide { position: absolute; inset: 0; margin: 0; padding: 1.5rem 1.5rem 5.5rem; display: grid; place-items: center; }.moments-slide img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }.moments-slide figcaption { position: absolute; right: 1.5rem; bottom: 1.6rem; color: #d8ccd3; font-size: .8rem; letter-spacing: .14em; }
.moments-controls { position: absolute; z-index: 2; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: .35rem; padding: .4rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(15,10,17,.78); backdrop-filter: blur(10px); }.moments-controls button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: white; cursor: pointer; }.moments-controls button:hover { background: rgba(255,255,255,.12); }.moments-controls button:disabled { cursor: default; opacity: .38; }.moments-controls button:disabled:hover { background: transparent; }
.moments-status { position: absolute; z-index: 2; left: 1.5rem; bottom: 1.5rem; max-width: calc(50% - 5rem); margin: 0; color: #f2c5d2; font-size: .82rem; }

.about-section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 9vw, 9rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.about-visual { min-height: 540px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 48% 48% 8px 8px; color: var(--rose-dark); background: radial-gradient(circle, rgba(255,255,255,.7), transparent 60%), var(--lavender); }
.about-visual span { font: 600 clamp(5rem, 12vw, 10rem) var(--serif); }.about-visual small { letter-spacing: .2em; }
.about-copy { max-width: 650px; }.about-copy p:not(.eyebrow) { font-size: 1.05rem; }

.contact-section { padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8rem); display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; background: var(--blush); }
.contact-notice { align-self: center; display: flex; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(139,63,89,.22); border-radius: 24px; background: rgba(255,255,255,.58); }.contact-notice > span { flex: 0 0 auto; color: var(--rose-dark); font-size: 1.5rem; }.contact-notice h3 { margin-bottom: .5rem; font: 600 1.5rem var(--serif); }.contact-notice p { margin: 0; color: var(--muted); }
.site-footer { min-height: 170px; padding: 2rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--ink); color: #d8ccd3; font-size: .82rem; }
.brand-light { color: white; }.brand-light .brand-mark { color: #f4c4d3; border-color: #f4c4d3; }.site-footer p { margin: 0; }

/* Moderation */
.dashboard-page { background: #f8f4f5; }.dashboard-header { position: sticky; top: 0; }.dashboard-header > div { display: flex; align-items: center; gap: 1rem; }
.dashboard-main { width: min(1380px, calc(100% - 2.5rem)); margin: auto; padding: 4rem 0 7rem; }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.dashboard-title h1 { margin-bottom: .5rem; font-size: clamp(2.5rem, 5vw, 4rem); }.dashboard-title p { color: var(--muted); }.dashboard-main section + section { margin-top: 4rem; }.dashboard-main section h2 { font-size: 1.6rem; }
.stat { min-width: 120px; padding: 1rem 1.5rem; border-radius: 18px; background: white; text-align: center; box-shadow: 0 10px 35px rgba(50,30,40,.07); }.stat strong { display: block; color: var(--rose-dark); font: 600 2rem var(--serif); }.stat span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.moderation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }.moderation-card { overflow: hidden; border-radius: 18px; background: white; box-shadow: 0 10px 35px rgba(50,30,40,.07); }.moderation-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }.moderation-meta { padding: 1rem; }.moderation-meta time { color: var(--muted); font-size: .78rem; }.moderation-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }.empty-state { padding: 3rem; border: 1px dashed #c7b5bd; border-radius: 18px; color: var(--muted); text-align: center; }

/* Display */
.display-page { min-height: 100vh; overflow: hidden; background: #160f1c; color: white; }.slideshow { position: relative; width: 100vw; height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a2331, #160f1c 72%); }.display-brand { position: fixed; z-index: 3; top: 2rem; left: 3rem; display: flex; gap: .5rem; align-items: baseline; font: italic 600 2rem var(--serif); }.display-brand strong { color: #e2a3b6; font: 600 .85rem var(--sans); letter-spacing: .1em; }.display-empty { text-align: center; }.display-empty > span { color: #e2a3b6; font-size: 3rem; }.display-empty h1 { margin: 1rem 0; font-size: clamp(3rem, 7vw, 7rem); }.display-empty p { color: #b9abb3; }.slide { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 5rem 1.5rem 6.5rem; display: grid; place-items: center; overflow: hidden; }.slide::before { content: ""; position: fixed; inset: 0; z-index: 0; background-image: var(--slide-bg); background-position: center; background-size: cover; filter: blur(45px) brightness(.3); opacity: .5; transform: scale(1.1); }.slide img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }.slide figcaption { position: fixed; z-index: 3; right: 3rem; top: 2.4rem; font-size: .85rem; letter-spacing: .15em; }.display-controls { position: fixed; z-index: 4; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: .5rem; padding: .55rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(15,10,17,.72); backdrop-filter: blur(12px); }.display-controls button { min-width: 42px; min-height: 42px; padding: .5rem .8rem; border: 0; border-radius: 999px; background: transparent; color: white; cursor: pointer; }.display-controls button:hover { background: rgba(255,255,255,.12); }.display-controls button:disabled { cursor: default; opacity: .38; }.display-controls button:disabled:hover { background: transparent; }.display-controls #fullscreen { padding-inline: 1rem; border-left: 1px solid rgba(255,255,255,.15); border-radius: 0 999px 999px 0; }.display-status { position: fixed; z-index: 4; right: 2rem; bottom: 1rem; margin: 0; color: #f2c5d2; font-size: .85rem; }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; }.hero-copy { min-height: 74vh; }.hero-art { min-height: 620px; }.arch-card { max-width: 410px; }
  .capture-section, .about-section, .contact-section { grid-template-columns: 1fr; }.capture-section { gap: 2.5rem; }.about-visual { min-height: 460px; }.contact-section { gap: 2rem; }
  .moderation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .site-header { min-height: 68px; }.nav-toggle { display: block; }.main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 1.25rem; flex-direction: column; align-items: stretch; gap: .25rem; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(50,30,40,.08); }.main-nav.is-open { display: flex; }.main-nav a { padding: .8rem; }.main-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; }.hero-copy { min-height: calc(100vh - 68px); padding-top: 4rem; padding-bottom: 4rem; }.hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }.hero-art { min-height: 500px; padding: 3rem 1rem; }.arch-card { width: 82%; }
  .capture-section { grid-template-columns: minmax(0, 1fr); }.capture-card { padding: 1rem; }.capture-empty, .photo-preview { height: 330px; }.permission-note { padding: .85rem; }
  .moments-carousel { min-height: 480px; border-radius: 18px; }.moments-slide { padding: .75rem .75rem 5rem; }.moments-slide figcaption { right: 1rem; bottom: 1.3rem; }.moments-status { left: 1rem; bottom: 4.8rem; max-width: calc(100% - 2rem); }.about-visual { min-height: 390px; }
  .site-footer { padding-block: 3rem; flex-direction: column; text-align: center; }
  .dashboard-header { padding: .8rem 1rem; flex-wrap: wrap; }.dashboard-header .text-link { display: none; }.dashboard-main { padding-top: 2.5rem; }.dashboard-title { align-items: flex-end; }.dashboard-title > div:first-child p:last-child { display: none; }.moderation-grid { grid-template-columns: 1fr; }
  .display-brand { top: 1rem; left: 1.25rem; }.slide { padding: 4rem .5rem 5.5rem; }.slide figcaption { top: 1.4rem; right: 1.25rem; }.display-controls { bottom: 1rem; }.display-controls #fullscreen { font-size: 0; }.display-controls #fullscreen span { font-size: 1rem; }
}

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