/* mushroombaby — single-page editorial site
 * Palette: deep plum, antique gold, dusty rose, warm cream, mushroom-cap brown
 * Type: Cormorant Garamond (display serif) + Inter (sans body)
 */

:root {
  --cream:        #f4ede2;
  --cream-soft:   #ebe0ce;
  --cream-deep:   #e2d3bb;
  --plum:         #3d1e3a;
  --plum-deep:    #1f0f1d;
  --plum-shade:   #2a1428;
  --gold:         #b89968;
  --gold-soft:    #d4b88c;
  --rose:         #b8847a;
  --rose-soft:    #d8a89e;
  --brown:        #6b4e3a;
  --ink:          #241823;
  --ink-soft:     #4a3a47;
  --line:         #c9b89a55;

  --serif: 'Cormorant Garamond', 'Cormorant', 'Georgia', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max:    1240px;
  --tight:  720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease:   cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--plum); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--plum);
  line-height: 1.08;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

::selection { background: var(--gold-soft); color: var(--plum-deep); }

/* ======================================================
   Top nav
   ====================================================== */
.topnav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.25rem, 2.5vw, 2rem) var(--gutter);
  color: var(--cream);
}
.topnav .brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .02em;
  color: var(--cream);
}
.topnav .brand-mark { color: var(--gold-soft); font-size: 1.05rem; transform: translateY(-1px); }
.topnav nav { display: flex; gap: clamp(1.25rem, 2vw, 2rem); align-items: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.topnav nav a { color: var(--cream); opacity: .8; }
.topnav nav a:hover { opacity: 1; color: var(--gold-soft); }
.topnav .nav-cta {
  border: 1px solid #fff5;
  padding: .55rem 1rem;
  border-radius: 999px;
  opacity: 1;
}
.topnav .nav-cta:hover { background: #ffffff14; border-color: var(--gold-soft); }

@media (max-width: 540px) {
  .topnav nav a:not(.nav-cta) { display: none; }
}

/* ======================================================
   Reveal animation
   ====================================================== */
/* Progressive enhancement: only hide reveal targets if JS has activated */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 7rem);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-image { position: absolute; inset: 0; z-index: -2; }
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: saturate(.78) contrast(1.02) brightness(.78);
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 70%, #1f0f1d33 0%, #1f0f1d99 60%, #1f0f1dee 100%),
    linear-gradient(180deg, #1f0f1d99 0%, #1f0f1d22 30%, #1f0f1daa 100%);
}
.hero-copy {
  max-width: 760px;
  position: relative; z-index: 1;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.5rem;
  font-weight: 400;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 6.5vw, 5.6rem);
  font-weight: 400;
  line-height: 1.04;
  margin: 0 0 1.6rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
@media (max-width: 600px) {
  .hero h1 br { display: none; }
}
.hero h1 em {
  font-style: italic;
  color: var(--rose-soft);
  font-weight: 400;
}
.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  line-height: 1.45;
  color: #f4ede2cc;
  max-width: 560px;
  margin: 0 0 2.5rem;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: 1.05rem 1.85rem;
  border: 1px solid #f4ede255;
  border-radius: 999px;
  color: var(--cream);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: #1f0f1d33;
  backdrop-filter: blur(2px);
}
.cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--plum-deep);
}
.cta:hover .cta-arrow { transform: translateX(4px); }
.cta-arrow { transition: transform .3s var(--ease); }

.hero-scroll {
  position: absolute;
  bottom: 1.4rem; right: var(--gutter);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #f4ede288;
  display: inline-flex; align-items: center; gap: .8rem;
}
.hero-scroll span {
  display: inline-block; width: 32px; height: 1px; background: #f4ede277;
}
@media (max-width: 720px) { .hero-scroll { display: none; } }

/* ======================================================
   Section primitives
   ====================================================== */
.section {
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 1rem;
}
.section-title {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
  max-width: 18ch;
  margin: 0 0 1.5rem;
}
.section-head { text-align: center; max-width: 560px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.section-head .section-title { margin-left: auto; margin-right: auto; }
.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .8em;
  margin: 0 0 2rem;
  padding-left: .8em;
}

/* ======================================================
   Philosophy
   ====================================================== */
.philosophy {
  text-align: center;
  max-width: var(--tight);
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.philosophy .section-eyebrow { text-align: center; }
.prose-lede {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--plum);
  margin: 0 auto;
  max-width: 30ch;
}

/* ======================================================
   Offerings
   ====================================================== */
.offerings { background: var(--cream-soft); max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.offerings > .offering-grid,
.offerings > .section-head { max-width: var(--max); margin-left: auto; margin-right: auto; }

.offering-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
}
@media (max-width: 920px) { .offering-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.offering {
  background: var(--cream);
  padding: clamp(2rem, 3vw, 3rem) clamp(1.75rem, 2.5vw, 2.5rem);
  border-radius: 4px;
  position: relative;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.offering:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px #2a14288a; }
.offering-num {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: 1.4rem; margin: 0 0 1.5rem;
  letter-spacing: .15em;
}
.offering h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: .35em;
}
.offering .loc {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 0 0 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.offering > p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* ======================================================
   Quote break
   ====================================================== */
.quote-break {
  position: relative;
  min-height: 80vh;
  display: grid; place-items: center;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.quote-break > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: saturate(.7) brightness(.55);
}
.quote-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #1f0f1d99, #2a142866 50%, #1f0f1daa);
}
.quote-break figure {
  margin: 0;
  max-width: 740px;
  text-align: center;
}
.quote-break blockquote { margin: 0; }
.quote-break p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  margin: 0 0 2rem;
}
.quote-mark { color: var(--gold-soft); font-style: normal; font-size: 1.2em; line-height: 0; vertical-align: -0.15em; padding-right: .12em; }
.quote-mark-end { padding-left: .12em; padding-right: 0; }
.quote-break figcaption {
  font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-soft);
}

/* ======================================================
   For whom
   ====================================================== */
.for-whom { padding-top: clamp(6rem, 11vw, 10rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .for-whom-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .for-whom-image { order: 2; }
}
.for-whom-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.for-whom-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.78) contrast(1.02) sepia(.06);
}
.for-whom-copy .section-title { max-width: 18ch; }
.for-whom-copy p { color: var(--ink-soft); max-width: 42ch; }

/* ======================================================
   Image break — mushrooms
   ====================================================== */
.image-break {
  width: 100%;
  height: clamp(280px, 45vh, 520px);
  overflow: hidden;
  position: relative;
}
.image-break img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) brightness(.92);
}
.image-break-mushrooms img { object-position: center 60%; }

/* ======================================================
   Gatherings
   ====================================================== */
.gatherings { background: var(--plum-deep); color: var(--cream); max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.gatherings > .section-head,
.gatherings > .gatherings-list { max-width: var(--max); margin-left: auto; margin-right: auto; }
.gatherings .section-eyebrow { color: var(--gold-soft); }
.gatherings .section-title { color: var(--cream); }

.gatherings-list { list-style: none; margin: 0; padding: 0; }
.gathering {
  display: grid;
  grid-template-columns: 180px 1fr 200px;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: baseline;
  padding: clamp(2rem, 3vw, 2.75rem) 0;
  border-top: 1px solid #f4ede21f;
}
.gathering:last-child { border-bottom: 1px solid #f4ede21f; }
.gathering h3 {
  color: var(--cream);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 .35em;
}
.gathering-when {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-soft);
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: .04em;
}
.gathering-where {
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-soft);
  margin: 0 0 .9rem;
}
.gathering > p:nth-child(4) { color: #f4ede2bb; max-width: 50ch; margin: 0; }
.gathering-status {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-align: right;
  margin: 0 !important;
}

@media (max-width: 820px) {
  .gathering {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: 2rem 0;
  }
  .gathering-status { text-align: left; margin-top: 1rem !important; }
  .gathering-where { margin-bottom: .5rem; }
  .gathering > p:nth-child(4) { margin-top: .4rem; }
}

/* ======================================================
   Contact
   ====================================================== */
.contact {
  text-align: center;
  max-width: var(--tight);
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}
.contact .section-eyebrow { text-align: center; }
.contact .section-title { margin: 0 auto 1.5rem; }
.contact-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto 3rem;
}
.email-cta {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--plum);
  border-bottom: 1px solid var(--gold);
  padding: .25em .15em;
  letter-spacing: .005em;
}
.email-cta:hover { color: var(--gold); border-bottom-color: var(--plum); }
.contact-fineprint {
  margin-top: 3rem;
  font-size: .9rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-left: auto; margin-right: auto;
}

/* ======================================================
   Footer
   ====================================================== */
.site-footer {
  position: relative;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(2rem, 3vw, 3rem);
  text-align: center;
}
.footer-image { position: absolute; inset: 0; z-index: -2; }
.footer-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  filter: saturate(.55) brightness(.42);
}
.footer-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #1f0f1dcc, #1f0f1dee);
}
.footer-inner { max-width: 720px; margin: 0 auto; }
.footer-brand {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-style: italic;
  margin: 0 0 .5rem;
  color: var(--cream);
  letter-spacing: .01em;
}
.footer-brand span { color: var(--gold-soft); margin-right: .35em; }
.footer-where {
  font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 2rem;
}
.footer-meta {
  margin: 0 0 2.5rem;
  font-size: .92rem;
  color: #f4ede2cc;
  display: inline-flex; gap: .8rem; align-items: center; flex-wrap: wrap; justify-content: center;
}
.footer-meta a { border-bottom: 1px solid #f4ede244; padding-bottom: 1px; }
.footer-meta a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.footer-fineprint {
  font-size: .78rem;
  color: #f4ede277;
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ======================================================
   Small refinements
   ====================================================== */
@media (max-width: 540px) {
  .hero { align-items: end; padding-bottom: 4rem; }
  .topnav { padding-top: 1.25rem; padding-bottom: 1.25rem; }
}
