:root {
  --paper: #f4efe7;
  --ink: #181714;
  --muted: #777168;
  --accent: #e95345;
  --yellow: #f4c85b;
  --line: rgba(24, 23, 20, .16);
  --radius: 28px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(20px, 4vw, 64px); color: #fff; transition: .3s ease;
}
.site-header.scrolled { background: rgba(244,239,231,.91); color: var(--ink); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding-top: 15px; padding-bottom: 15px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.nav-random { border: 0; border-radius: 999px; background: var(--accent); color: white; padding: 11px 18px; cursor: pointer; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #26211d; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 18%, rgba(0,0,0,.24) 55%, rgba(0,0,0,.75) 100%); }
.hero-content { position: relative; z-index: 2; width: min(1180px, 100%); padding: 150px clamp(20px, 6vw, 90px) clamp(50px, 8vh, 88px); color: white; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.eyebrow.light { color: rgba(255,255,255,.78); }
.hero h1 { margin: 18px 0 20px; max-width: 1100px; font-family: var(--serif); font-size: clamp(64px, 10vw, 158px); line-height: .79; font-weight: 400; letter-spacing: -.055em; }
.hero h1 em { font-weight: 400; color: #ffd8ce; }
.hero-copy { max-width: 610px; margin: 0 0 28px; color: rgba(255,255,255,.84); font-size: clamp(17px, 2vw, 23px); line-height: 1.5; }
.hero-button { width: min(360px, 100%); display: inline-flex; justify-content: space-between; align-items: center; border: 0; border-radius: 999px; padding: 18px 22px; background: var(--accent); color: white; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.hero-button:hover { transform: translateY(-2px); background: #d9473a; }
.hero-button span:last-child { font-size: 24px; }
.hero-scroll { position: absolute; right: clamp(20px, 4vw, 64px); bottom: 45px; z-index: 3; color: rgba(255,255,255,.74); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero-scroll span { margin-left: 8px; }

.manifest { padding: clamp(95px, 14vw, 220px) clamp(20px, 6vw, 90px); }
.section-kicker { margin: 0 0 22px; color: var(--accent); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.manifest h2 { max-width: 1160px; margin: 0; font-family: var(--serif); font-size: clamp(47px, 7vw, 108px); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.manifest h2 em { color: var(--accent); font-weight: 400; }

.mood-section, .ideas, .related { padding: 0 clamp(20px, 4.5vw, 72px) clamp(110px, 12vw, 180px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 104px); line-height: .9; letter-spacing: -.045em; font-weight: 400; }
.section-head > p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.7; }

.mood-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mood { min-height: 330px; position: relative; padding: 34px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; transition: color .3s ease; }
.mood::after { content: ""; position: absolute; inset: 100% 0 0; transition: inset .35s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.mood-love::after { background: #ef8d83; }
.mood-fun::after { background: #f3c95f; }
.mood-weird::after { background: #8da9a1; }
.mood-fast::after { background: #222; }
.mood:hover::after { inset: 0; }
.mood-fast:hover { color: white; }
.mood span { font-size: 12px; font-weight: 800; }
.mood strong { position: absolute; left: 34px; bottom: 54px; font-family: var(--serif); font-size: clamp(36px, 4vw, 62px); line-height: .95; font-weight: 400; max-width: 85%; }
.mood small { position: absolute; left: 34px; bottom: 28px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }

.feature-break { margin: 0 clamp(14px, 2vw, 28px) clamp(120px, 14vw, 210px); position: relative; height: min(82vh, 900px); overflow: hidden; border-radius: 34px; background: #111; }
.feature-break img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.feature-break:hover img { transform: scale(1.035); }
.feature-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.04) 70%); }
.feature-break-copy { position: absolute; z-index: 2; left: clamp(28px, 6vw, 95px); bottom: clamp(34px, 8vw, 95px); color: white; }
.feature-break-copy span { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }
.feature-break-copy h2 { margin: 15px 0 22px; font-family: var(--serif); font-size: clamp(50px, 7vw, 105px); font-weight: 400; line-height: .9; letter-spacing: -.04em; }
.feature-break-copy a { display: inline-block; border-bottom: 1px solid rgba(255,255,255,.65); padding-bottom: 5px; font-weight: 700; }

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.filter { padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter.active, .filter:hover { background: var(--ink); color: white; border-color: var(--ink); }
.dates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(38px, 6vw, 92px) clamp(20px, 3vw, 46px); transition: opacity .2s ease; }
.dates-grid.loading { opacity: .35; }
.date-card:nth-child(3n) { grid-column: 1 / -1; }
.date-card:nth-child(3n) .date-image-wrap { aspect-ratio: 16 / 7.5; }
.date-card a { display: block; }
.date-image-wrap { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: #ddd4c9; }
.date-image { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.date-card:hover .date-image { transform: scale(1.035); }
.date-no, .date-vibe { position: absolute; top: 18px; background: rgba(244,239,231,.92); backdrop-filter: blur(8px); border-radius: 999px; font-size: 11px; font-weight: 800; }
.date-no { left: 18px; padding: 9px 11px; }
.date-vibe { right: 18px; padding: 9px 13px; text-transform: uppercase; letter-spacing: .09em; }
.date-card-body { padding: 20px 5px 0; }
.date-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(31px, 3.1vw, 53px); line-height: .98; font-weight: 400; letter-spacing: -.03em; }
.date-card-body > p { margin: 0; max-width: 780px; color: var(--muted); line-height: 1.65; }
.meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 16px; color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.meta span + span::before { content: "•"; margin-right: 18px; color: var(--accent); }
.center { display: flex; justify-content: center; margin-top: 70px; }
.outline-button { min-width: 300px; display: flex; justify-content: space-between; gap: 35px; border: 1px solid var(--ink); border-radius: 999px; padding: 17px 21px; background: transparent; cursor: pointer; font-weight: 800; }
.outline-button:hover { background: var(--ink); color: white; }

.random-cta { margin: 0 14px 14px; min-height: 82vh; display: grid; place-content: center; text-align: center; padding: 70px 20px; background: var(--accent); color: white; border-radius: 34px; }
.random-cta .section-kicker { color: rgba(255,255,255,.72); }
.random-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(78px, 12vw, 180px); line-height: .75; letter-spacing: -.055em; font-weight: 400; }
.random-cta > p:not(.section-kicker) { font-size: 18px; }
.random-cta button { margin: 25px auto 0; min-width: 280px; display: flex; justify-content: space-between; border: 0; border-radius: 999px; background: white; color: var(--ink); padding: 18px 22px; font-weight: 800; cursor: pointer; }

.footer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 65px clamp(20px, 4.5vw, 72px); }
.footer strong { font-size: 22px; }
.footer p { color: var(--muted); line-height: 1.6; }
.footer-small { max-width: 520px; justify-self: end; }

.random-dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); overflow: auto; }
.random-dialog::backdrop { background: rgba(18,16,14,.72); backdrop-filter: blur(8px); }
.dialog-close { position: fixed; z-index: 10; margin: 14px; right: max(14px, calc((100vw - min(900px, calc(100vw - 24px))) / 2 + 14px)); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(244,239,231,.9); cursor: pointer; font-size: 25px; }
.random-stage img { width: 100%; height: min(48vh, 470px); object-fit: cover; }
.random-copy { padding: 34px clamp(22px, 5vw, 52px) 44px; }
.random-copy h2 { margin: 8px 0 15px; font-family: var(--serif); font-size: clamp(42px, 6vw, 70px); line-height: .92; font-weight: 400; }
.random-copy > p { color: var(--muted); line-height: 1.65; }
.random-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
.random-actions a, .random-actions button { border: 1px solid var(--ink); border-radius: 999px; padding: 13px 18px; background: var(--ink); color: white; cursor: pointer; font-weight: 800; }
.random-actions button { background: transparent; color: var(--ink); }
.random-loading { min-height: 460px; display: grid; place-content: center; justify-items: center; padding: 40px; text-align: center; }
.random-loading span { width: 54px; height: 54px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.detail-page { padding-bottom: 100px; }
.detail-hero { min-height: 90svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.72)); }
.back-link { position: absolute; z-index: 2; top: 110px; left: clamp(20px, 5vw, 75px); color: white; font-weight: 700; }
.detail-title { position: relative; z-index: 2; color: white; padding: 60px clamp(20px, 5vw, 75px); max-width: 1250px; }
.detail-title h1 { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(62px, 9vw, 140px); line-height: .8; letter-spacing: -.05em; font-weight: 400; }
.detail-content { display: grid; grid-template-columns: 1.55fr .7fr; gap: 80px; padding: clamp(80px, 10vw, 150px) clamp(20px, 6vw, 90px); }
.detail-intro { max-width: 850px; font-size: 19px; line-height: 1.7; color: var(--muted); }
.detail-intro .lead { margin-top: 0; font-family: var(--serif); color: var(--ink); font-size: clamp(39px, 4vw, 62px); line-height: 1; letter-spacing: -.03em; }
.detail-facts { border-top: 1px solid var(--line); }
.detail-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.detail-facts span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.steps { padding: 0 clamp(20px, 6vw, 90px) 140px; }
.step { display: grid; grid-template-columns: .2fr 1fr; gap: 50px; padding: 44px 0; border-top: 1px solid var(--line); }
.step > span { color: var(--accent); font-weight: 800; }
.step h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); font-weight: 400; }
.step p { max-width: 800px; margin: 0; color: var(--muted); line-height: 1.7; }


.community-section { padding: 0 clamp(20px, 6vw, 90px) clamp(120px, 13vw, 190px); }
.community-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; padding-top: clamp(70px, 8vw, 120px); border-top: 1px solid var(--line); }
.community-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 104px); line-height: .9; letter-spacing: -.045em; font-weight: 400; }
.community-head > p { margin: 0; max-width: 520px; color: var(--muted); line-height: 1.7; }
.community-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); margin-top: 58px; align-items: start; }
.comment-form { position: sticky; top: 96px; padding: clamp(24px, 3vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.comment-form-title { display: grid; gap: 6px; margin-bottom: 28px; }
.comment-form-title span { font-family: var(--serif); font-size: 34px; }
.comment-form-title strong { color: var(--muted); font-size: 12px; line-height: 1.5; }
.comment-form label:not(.consent-row):not(.form-trap) { display: block; margin: 18px 0; }
.comment-form label > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.comment-form input[type="email"], .comment-form input[type="text"], .comment-form textarea, .comment-form input[type="file"] { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); padding: 14px 15px; font: inherit; }
.comment-form textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid rgba(233,83,69,.25); border-color: var(--accent); }
.comment-form small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.photo-field input { padding: 10px; }
.photo-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 18px; }
.photo-preview:empty { display: none; }
.photo-preview > div { min-width: 0; }
.photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.photo-preview span { display: block; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 22px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.consent-row input { margin-top: 3px; accent-color: var(--accent); }
.consent-row span { margin: 0; text-transform: none; letter-spacing: 0; font-weight: 500; }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.comment-submit { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 999px; padding: 16px 19px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }
.comment-submit:hover { background: var(--accent); }
.comment-submit:disabled { opacity: .55; cursor: wait; }
.comment-status { min-height: 20px; margin: 12px 2px 0; font-size: 12px; line-height: 1.5; }
.comment-status.success { color: #1d6d49; }
.comment-status.error { color: #9f3229; }
.comments-wall { min-width: 0; }
.comments-wall-head { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.comments-wall-head h3 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 400; }
.comments-wall-head span { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-weight: 800; }
.comments-empty { padding: 38px 0; color: var(--muted); line-height: 1.7; }
.community-comment { padding: 30px 0 36px; border-bottom: 1px solid var(--line); }
.community-comment-top { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.community-comment-top strong { font-size: 16px; }
.community-comment-top time { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.community-comment-body { margin: 16px 0 0; max-width: 780px; font-size: 17px; line-height: 1.7; white-space: pre-wrap; }
.community-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.community-gallery a { display: block; overflow: hidden; border-radius: 18px; background: #ddd4c9; }
.community-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.community-gallery a:hover img { transform: scale(1.03); }

.not-found { min-height: 75vh; display: grid; place-content: center; padding: 120px 24px; text-align: center; }
.not-found h1 { margin: 0; font-family: var(--serif); font-size: clamp(60px, 10vw, 130px); line-height: .9; font-weight: 400; }
.not-found .hero-button { margin: 25px auto; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .site-header { padding: 16px 18px; }
  .brand > span:last-child, .nav > a { display: none; }
  .nav { gap: 8px; }
  .hero-content { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(62px, 19vw, 105px); }
  .hero-scroll { display: none; }
  .section-head { display: block; }
  .section-head > p { margin-top: 22px; }
  .mood-grid { grid-template-columns: 1fr; }
  .mood { min-height: 240px; }
  .feature-break { height: 72vh; }
  .dates-grid { grid-template-columns: 1fr; }
  .date-card:nth-child(3n) { grid-column: auto; }
  .date-card:nth-child(3n) .date-image-wrap { aspect-ratio: 4 / 5; }
  .footer { grid-template-columns: 1fr; }
  .footer-small { justify-self: start; }
  .detail-content { grid-template-columns: 1fr; gap: 45px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .community-head, .community-layout { grid-template-columns: 1fr; }
  .community-head { gap: 26px; }
  .comment-form { position: static; }
  .photo-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-comment-top { display: grid; gap: 5px; }
}


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