/* Unsaid Feelings — website. Night plum hero, cream reading sections, rose used sparingly. */
:root {
  --night: #271d27;
  --plum: #3a2e39;
  --cream: #f5ede6;
  --paper: #fbf6f1;
  --rose: #c08497;
  --rose-deep: #9c5c70;
  --lavender: #a89fb0;
  --ink-soft: rgba(58, 46, 57, 0.72);
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 38rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--cream); padding: .5rem 1rem; border-radius: 999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 2rem;
  padding: max(.9rem, env(safe-area-inset-top)) clamp(1.25rem, 4vw, 3rem) .9rem;
  background: rgba(39, 29, 39, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--cream);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.brand img { border-radius: 10px; }
.nav nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; }
.nav nav a { text-decoration: none; opacity: .78; }
.nav nav a:hover { opacity: 1; }
.nav-cta { margin-left: .5rem; }
@media (max-width: 860px) { .nav nav { display: none; } .nav-cta { margin-left: auto; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-rose { background: var(--rose); color: #fff; box-shadow: 0 12px 30px rgba(192, 132, 151, .35); }
.button-rose:hover { background: #b6758a; }
.button-light { background: var(--cream); color: var(--plum); padding: .6rem 1.1rem; font-size: .95rem; }
.button-ghost { color: var(--cream); border: 1px solid rgba(245, 237, 230, .3); }
.button-ghost:hover { border-color: rgba(245, 237, 230, .6); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem) clamp(4rem, 9vw, 8rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(168, 159, 176, .18), transparent 60%),
    radial-gradient(40rem 30rem at 5% 90%, rgba(192, 132, 151, .16), transparent 60%),
    var(--night);
  color: var(--cream);
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.02em;
  margin: 0;
}
.lede { max-width: var(--measure); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; color: rgba(245, 237, 230, .82); margin: 1.6rem 0 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.stores { margin-top: 1.4rem; font-size: .95rem; color: rgba(245, 237, 230, .62); }

.letter { margin: 0; justify-self: center; width: min(100%, 26rem); }
.paper {
  position: relative;
  background: var(--paper); color: var(--plum);
  border-radius: 6px 6px 22px 6px;
  padding: 2.2rem 2rem 2.4rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35), 0 2px 0 rgba(255, 255, 255, .6) inset;
  transform: rotate(-2deg);
  font-family: var(--serif);
}
.paper .to { font-size: 1.35rem; margin: 0 0 .9rem; }
.paper .line { font-size: 1.3rem; line-height: 1.55; font-style: italic; min-height: 6.2em; margin: 0; }
.paper .sign { text-align: right; margin: 1.2rem 0 0; color: var(--ink-soft); }
.letter figcaption { margin-top: 1.4rem; text-align: center; font-size: .92rem; color: rgba(245, 237, 230, .6); }

/* The release: words lift away as ash, then the letter returns. */
.paper.releasing .line, .paper.releasing .to, .paper.releasing .sign {
  transition: opacity 2.2s ease, filter 2.2s ease, transform 2.6s ease;
  opacity: 0; filter: blur(6px); transform: translateY(-14px);
}
/* A new letter, to someone else, fades in. */
.paper .to, .paper .sign { transition: opacity 1.2s ease; }
.paper.arriving .to, .paper.arriving .sign { transition: none; opacity: 0; }
.ash { position: absolute; inset: 0; pointer-events: none; }
.ash span {
  position: absolute; width: 4px; height: 4px; border-radius: 1px;
  background: rgba(58, 46, 57, .35);
  animation: drift 2.6s ease-out forwards;
}
@keyframes drift {
  to { transform: translate(var(--dx), -140px) rotate(160deg); opacity: 0; }
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem); max-width: 76rem; margin: 0 auto; }
.section-head { max-width: var(--measure); margin-bottom: 2.8rem; }
.section h2, .closing h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.01em;
  margin: 0 0 1rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0 0 .5rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; counter-reset: none; }
.steps li { border-top: 1px solid rgba(58, 46, 57, .14); padding-top: 1.4rem; }
.step-n { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--rose-deep); margin-bottom: .8rem; }
.steps p { color: var(--ink-soft); margin: 0; }

.choices {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(58, 46, 57, .12);
  border-radius: 28px; overflow: hidden; padding: 0; margin-top: -2rem;
}
.choice { background: var(--paper); padding: 2rem 1.6rem; }
.choice p { margin: 0; color: var(--ink-soft); }

/* Community: the intro and reactions on the left, a quiet wall of shared letters on the right. */
.community {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.community-intro { position: sticky; top: 6.5rem; }
.community-intro h2 { margin-top: .2rem; }
.community-intro > p:not(.kicker) { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; margin: 1rem 0 0; }
.community-intro h3 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); margin: 2.4rem 0 1rem; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); margin: 0; }
.reactions-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.reactions-list li { display: flex; gap: .9rem; align-items: flex-start; }
.reactions-list strong { display: block; font-size: 1rem; color: var(--plum); }
.reactions-list p { margin: .15rem 0 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.reaction-icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(58, 46, 57, .08); }
.reaction-icon svg, .reaction svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reaction-hold { color: #9c5c70; }
.reaction-metoo { color: #7d6a93; }
.reaction-light { color: #b9822f; }

.posts { columns: 2; column-gap: 1.2rem; }
.post {
  break-inside: avoid; margin: 0 0 1.2rem; display: block;
  background: #fff; border-radius: 22px; padding: 1.5rem 1.5rem 1.2rem;
  box-shadow: 0 1px 0 rgba(58, 46, 57, .04), 0 18px 40px rgba(58, 46, 57, .07);
  transition: transform .4s ease, box-shadow .4s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(58, 46, 57, .04), 0 24px 50px rgba(58, 46, 57, .1); }
.post-1 { background: var(--plum); color: var(--cream); }
.post-1 .post-to, .post-1 .post-meta { color: rgba(245, 237, 230, .7); }
.post-1 .post-name { color: var(--cream); }
.post-1 .reaction { background: rgba(245, 237, 230, .1); color: #d9c6e6; }
.post-2 { background: linear-gradient(160deg, #fff 0%, #fbeef0 100%); }
.post-to { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin: 0 0 .5rem; font-size: 1rem; }
.post-body { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; margin: 0 0 1.2rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; font-size: .88rem; color: var(--ink-soft); border-top: 1px solid rgba(58, 46, 57, .08); padding-top: .9rem; }
.post-1 .post-meta { border-top-color: rgba(245, 237, 230, .12); }
.post-name { font-weight: 600; color: var(--plum); }
.reaction { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .55rem; border-radius: 999px; background: rgba(58, 46, 57, .05); }
.reaction strong { font-weight: 600; }

.promises {
  grid-column: 1 / -1; list-style: none; margin: .5rem 0 0; padding: 1.3rem 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.2rem;
  border-top: 1px solid rgba(58, 46, 57, .1); border-bottom: 1px solid rgba(58, 46, 57, .1);
  color: var(--ink-soft); font-size: .95rem;
}
.promises li { display: inline-flex; align-items: center; gap: .55rem; }
.promises li::before { content: ""; width: .45rem; height: .45rem; border-radius: 999px; background: var(--rose); }

.fine { max-width: var(--measure); color: var(--ink-soft); font-size: .98rem; margin-top: 2rem; }
.fine.center { margin-left: auto; margin-right: auto; text-align: center; }

.safety { background: var(--plum); color: var(--cream); max-width: none; }
.safety > * { max-width: 76rem; margin-left: auto; margin-right: auto; }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 3.5rem; }
.safety-grid p { color: rgba(245, 237, 230, .78); margin: 0; }
.safety .fine { color: rgba(245, 237, 230, .7); border-top: 1px solid rgba(245, 237, 230, .15); padding-top: 1.6rem; margin-top: 3rem; max-width: 76rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { background: rgba(255, 255, 255, .55); border: 1px solid rgba(58, 46, 57, .1); border-radius: 28px; padding: 2rem; }
.plan-featured { background: #fff; border-color: rgba(58, 46, 57, .3); box-shadow: 0 24px 60px rgba(58, 46, 57, .1); }
.price { font-family: var(--serif); font-size: 2.6rem; margin: .4rem 0 0; line-height: 1.1; }
.price span { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.price-alt { margin: .2rem 0 0; color: var(--rose-deep); font-weight: 500; }
.plan ul { padding-left: 1.1rem; margin: 1.4rem 0 0; color: var(--ink-soft); }
.plan li { margin: .45rem 0; }

.faq { max-width: 48rem; }
.faq h2 { margin-bottom: 2rem; }
details { border-bottom: 1px solid rgba(58, 46, 57, .14); padding: 1.2rem 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); color: var(--rose-deep); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-soft); margin: .8rem 0 0; max-width: var(--measure); }

.closing {
  text-align: center; padding: clamp(4rem, 9vw, 8rem) 1.5rem;
  background: radial-gradient(40rem 20rem at 50% 0%, rgba(192, 132, 151, .2), transparent 70%), var(--night);
  color: var(--cream);
}
.closing h2 { max-width: 34rem; margin: 0 auto 2rem; }

/* Footer */
.footer {
  background: var(--night); color: rgba(245, 237, 230, .68); font-size: .95rem;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 6rem) max(1.8rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(245, 237, 230, .08);
}
.footer a { color: rgba(245, 237, 230, .82); text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-top {
  max-width: 76rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 2.5rem;
}
.footer-logo { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.25rem; color: var(--cream) !important; text-decoration: none !important; }
.footer-logo img { border-radius: 10px; }
.footer-brand p { margin: 1rem 0 1.4rem; max-width: 18rem; line-height: 1.6; }
.footer .footer-cta { color: var(--plum); text-decoration: none; }
.footer-col h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin: .4rem 0 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-crisis p { margin: 0; line-height: 1.6; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(245, 237, 230, .05); border: 1px solid rgba(245, 237, 230, .08); }
.footer-crisis a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  max-width: 76rem; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(245, 237, 230, .08);
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; font-size: .85rem; color: rgba(245, 237, 230, .5);
}
.footer-bottom p { margin: 0; }
.footer-lang { margin-left: auto; padding: .35rem .9rem; border: 1px solid rgba(245, 237, 230, .18); border-radius: 999px; }
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand, .footer-crisis { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-lang { margin-left: 0; }
}

@media (max-width: 640px) { .posts { columns: 1; } }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .letter { justify-self: start; }
  .steps, .plans { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr; }
  .community-intro { position: static; }
  .choices { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .safety-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .choices { grid-template-columns: 1fr; }
  .cta-row .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .paper.releasing .line, .paper.releasing .to, .paper.releasing .sign { transition: none; }
  .ash span { display: none; }
}

/* Simple content pages (privacy, terms, support) */
.page { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1.5rem 5rem; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 1rem; }
.page h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 2.4rem 0 .6rem; }
.page p, .page li { color: var(--ink-soft); }
.page .updated { color: var(--rose-deep); font-weight: 500; }

/* Language switch */
.lang-switch { color: rgba(245, 237, 230, .8); font-size: .92rem; text-decoration: none; margin-left: auto; margin-right: .9rem; }
.lang-switch:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .lang-switch { margin-left: auto; } .nav-cta { margin-left: 0; } }
@media (min-width: 861px) { .nav nav + .lang-switch { margin-left: 1.4rem; } }

/* Release rituals */
.rituals { padding-top: 0; }
.ritual-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ritual { background: var(--paper); border-radius: 28px; padding: .8rem .8rem 1.4rem; box-shadow: 0 14px 36px rgba(58, 46, 57, .06); }
.ritual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-bottom: 1.1rem; }
.ritual h3, .ritual p { padding: 0 .7rem; }
.ritual p { margin: 0; color: var(--ink-soft); }

/* More ways to feel held */
.held-section { background: linear-gradient(180deg, transparent, rgba(192, 132, 151, .08) 30%, transparent); max-width: none; }
.held-section > * { max-width: 76rem; margin-left: auto; margin-right: auto; }
.held-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.held-card { display: grid; grid-template-columns: 11rem 1fr; gap: 1.4rem; align-items: center; background: #fff; border-radius: 28px; padding: .9rem 1.6rem .9rem .9rem; box-shadow: 0 18px 40px rgba(58, 46, 57, .07); }
.held-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.held-card p { margin: 0; color: var(--ink-soft); }

/* Gift */
.gift { display: grid; grid-template-columns: minmax(0, 26rem) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gift > img { width: 100%; height: auto; border-radius: 32px; box-shadow: 0 24px 60px rgba(58, 46, 57, .14); }
.gift h2 { margin-bottom: .8rem; }
.gift p { color: var(--ink-soft); font-size: 1.1rem; max-width: var(--measure); margin: 0 0 1.6rem; }
.gift .fine { font-size: .95rem; margin-top: 1.6rem; }

.closing-art { display: block; width: min(22rem, 80%); height: auto; margin: 0 auto 2.4rem; border-radius: 32px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }

@media (max-width: 960px) {
  .ritual-grid { grid-template-columns: repeat(2, 1fr); }
  .held-grid { grid-template-columns: 1fr; }
  .gift { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ritual-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .ritual { padding: .5rem .5rem 1rem; border-radius: 22px; }
  .ritual h3 { font-size: 1.15rem; padding: 0 .4rem; }
  .ritual p { font-size: .9rem; padding: 0 .4rem; }
  .held-card { grid-template-columns: 1fr; padding: .8rem .8rem 1.4rem; }
  .held-card > div { padding: 0 .6rem; }
}
.nav-cta, .brand span { white-space: nowrap; }
@media (max-width: 430px) {
  .brand { font-size: 1rem; gap: .5rem; }
  .brand img { width: 30px; height: 30px; }
  .lang-switch { font-size: .82rem; margin-right: .5rem; }
  .nav-cta { padding: .5rem .85rem; font-size: .85rem; }
}
