/* ============================================================
   CAMI — nourishment, movement & stillness
   Palette drawn from: Fuchsia Flame, Royal Burgundy,
   Corsage rose & Olivine green.
   ============================================================ */

:root {
  --plum:    #5e1230;   /* deep royal burgundy */
  --fuchsia: #9b0047;   /* fuchsia flame      */
  --rose:    #cf9aa9;   /* corsage / dusty rose */
  --rose-soft:#e7c8d1;
  --olive:   #9aad38;   /* olivine            */
  --olive-deep:#75842a;
  --cream:   #f7f0e6;   /* warm paper         */
  --cream-deep:#efe4d3;
  --ink:     #2c2320;   /* near-black warm    */
  --muted:   #6f6058;
  --burgundy:#760832;   /* brand identity burgundy (logo) */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", system-ui, -apple-system, Segoe UI, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(28px, 5vw, 64px);

  /* Consistent vertical rhythm, used by every section */
  --section-pad: clamp(104px, 14vh, 180px);   /* standard section top & bottom */
  --section-pad-sm: clamp(68px, 9vh, 112px);  /* lighter sections / footer */
  --head-gap: clamp(44px, 6vh, 76px);         /* gap under a section heading */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

em { font-style: italic; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.overline {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fuchsia);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn--solid { background: var(--plum); color: var(--cream); }
.btn--solid:hover { background: var(--fuchsia); transform: translateY(-2px); }
.btn--ghost { border: 1px solid currentColor; color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--plum); transform: translateY(-2px); }
.btn--ink { background: var(--plum); color: var(--cream); }
.btn--ink:hover { background: var(--fuchsia); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(247,240,230,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(44,35,32,0.08);
  padding: 12px var(--gutter);
}
.brand {
  text-decoration: none;
  color: var(--cream);
  transition: color .35s ease;
  display: inline-flex;
  align-items: center;
}
.scrolled .brand { color: var(--burgundy); }
/* Wordmark rendered from the brand SVG, recolored via mask so it follows the text color */
.brand-logo {
  display: block;
  height: 32px; width: calc(32px * 7.646);
  background-color: currentColor;
  -webkit-mask: url("images/logo-primary.svg") left center / contain no-repeat;
          mask: url("images/logo-primary.svg") left center / contain no-repeat;
  transition: height .35s ease, width .35s ease;
}
.scrolled .brand-logo { height: 28px; width: calc(28px * 7.646); }

.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--cream);
  transition: color .35s ease, opacity .2s ease;
}
.scrolled .nav a { color: var(--ink); }
.nav a:hover { color: var(--rose); }
.scrolled .nav a:hover { color: var(--fuchsia); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative; z-index: 60;
}
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--cream); transition: all .3s ease;
}
.scrolled .nav-toggle span { background: var(--plum); }
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 10px; }
.nav-toggle span:nth-child(3){ top: 20px; }
body.menu-open .nav-toggle span { background: var(--cream); }
body.menu-open .nav-toggle span:nth-child(1){ top:10px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3){ top:10px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; text-align: center;
  color: var(--cream);
  padding: clamp(210px,33vh,380px) var(--gutter) clamp(84px,13vh,150px);
  background: url("images/gathering.jpg") center 50%/cover no-repeat;
}
.hero-top, .hero-bottom { position: relative; z-index: 1; width: 100%; max-width: 900px; margin: 0 auto; }
/* soft blur + darken over the couch in the lower area, so the buttons pop */
.hero::before {
  content:""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  background: linear-gradient(180deg, rgba(45,12,28,0) 0%, rgba(45,12,28,0.5) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
}
.hero::after {
  content:""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(44,20,30,0.42) 0%, rgba(44,20,30,0.06) 32%, rgba(50,12,30,0.78) 100%);
}
.hero-inner { max-width: 880px; position: relative; z-index: 1; margin: 0 auto; }
.hero .overline { color: #fbeef0; text-shadow: 0 2px 14px rgba(30,8,18,0.7); }
.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  margin: 0.25em 0 0.4em;
  text-shadow: 0 2px 30px rgba(40,10,25,0.4);
}
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 48ch; margin: 1.1em auto 0;
  color: #fbeef0;
  text-shadow: 0 2px 16px rgba(28,8,16,0.65);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(251,238,240,0.8); z-index: 1;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { text-align: center; padding: var(--section-pad) 0; }
.intro h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  max-width: 20ch; margin: 0.6em auto 0;
  color: var(--plum);
}
.intro h2 em { color: var(--fuchsia); }
.leaf {
  display: inline-block; width: 34px; height: 34px;
  background-color: var(--olive);
  -webkit-mask: url("images/hibiscus.svg") center / contain no-repeat;
          mask: url("images/hibiscus.svg") center / contain no-repeat;
}

/* ============================================================
   THREE PILLARS
   ============================================================ */
.pillars-head { text-align: center; padding: clamp(30px,5vh,60px) 0 clamp(30px,4vh,46px); }
.pillars-head h2 { font-size: clamp(1.9rem,4vw,3.2rem); color: var(--plum); margin-top:.3em; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; padding: 0 6px;
}
.pillar {
  position: relative; display: block; text-decoration: none;
  min-height: clamp(460px, 78vh, 760px);
  overflow: hidden; color: var(--cream);
}
.pillar-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.pillar:hover .pillar-img { transform: scale(1.06); }
.pillar::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,9,16,0.55) 0%, rgba(26,9,16,0.12) 34%, rgba(26,9,16,0.84) 100%);
}
.pillar-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(26px,3.2vw,44px);
  text-shadow: 0 1px 12px rgba(18,5,11,0.55);
}
.pillar-content .overline { color: var(--rose-soft); }
.pillar-title { font-size: clamp(2rem, 2.9vw, 3.1rem); text-shadow: 0 2px 24px rgba(30,8,18,0.5); }
.pillar-desc {
  font-size: 0.98rem; line-height: 1.6; max-width: 32ch;
  margin: 0.5em 0 1.1em; color: #f6e7ea;
}
.pillar-more {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 700; color: var(--cream);
  display: inline-flex; align-items: center; gap: 8px;
}
.pillar-more::after { content: "→"; transition: transform .3s ease; }
.pillar:hover .pillar-more::after { transform: translateX(5px); }
.pillar-bottom { }

/* ============================================================
   THE TABLE — detail trio
   ============================================================ */
.table-detail { padding: var(--section-pad) 0; }
.section-head { text-align: center; margin-bottom: var(--head-gap); }
.section-head h2 { font-size: clamp(2rem,4.2vw,3.2rem); color: var(--plum); margin-top:.35em; }
.section-head p { max-width: 54ch; margin: 1em auto 0; color: var(--muted); }

.trio { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,56px); }
.trio-item { text-align: center; }
.trio-item .num {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--olive-deep);
}
.trio-item h3 { font-size: 1.6rem; color: var(--plum); margin: 0.2em 0 0.5em; }
.trio-item p { font-size: 0.98rem; color: var(--muted); margin: 0; }
.trio-divider { height: 1px; background: var(--cream-deep); margin: 0; }

/* Offering cards (used on the subpages) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.card {
  background: var(--cream-deep); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(44,20,30,0.16); }
.card-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.card-body { padding: clamp(24px, 2.2vw, 34px); }
.card-body h3 { font-size: 1.55rem; color: var(--plum); margin: 0 0 .55em; }
.card-body p { font-size: 0.98rem; line-height: 1.65; color: var(--muted); margin: 0; }
.card-body p strong { color: var(--ink); font-weight: 600; }
.cards--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .cards:not(.cards--four) { grid-template-columns: 1fr; gap: 22px; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .cards--four { grid-template-columns: 1fr; gap: 22px; max-width: 460px; margin-inline: auto; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--plum); color: var(--cream); padding: var(--section-pad) 0; }
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px,6vw,90px);
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
  aspect-ratio: 4/5;
}
.about-photo::before {
  content:""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--rose); border-radius: 4px; z-index: -1;
}
.about .overline { color: var(--rose); }
.about h2 { font-size: clamp(2rem,4vw,3rem); margin: 0.3em 0 0.7em; }
.about h2 em { color: var(--rose); }
.about p { color: #ece0d2; margin: 0 0 1.2em; }
.about .signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--rose-soft); }
.about-ig { margin-top: 1.4em; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: var(--section-pad) 0; }
/* Masonry: photos keep their natural shape, nothing is cropped */
.gallery-grid { column-count: 3; column-gap: 12px; }
.gallery-grid figure { margin: 0 0 12px; overflow: hidden; border-radius: 4px; break-inside: avoid; }
.gallery-grid img { width: 100%; height: auto; display: block; transition: transform 1s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative; text-align: center; color: var(--cream);
  padding: var(--section-pad) var(--gutter);
  background: url("images/flowers.jpg") center 35%/cover no-repeat;
}
.contact::after {
  content:""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(50,12,30,0.74), rgba(60,10,38,0.86));
}
.contact > * { position: relative; z-index: 1; }
.contact .overline { color: var(--rose-soft); }
.contact h2 { font-size: clamp(2.2rem,5vw,3.6rem); margin: 0.3em auto 0.5em; max-width: 16ch; text-shadow: 0 2px 20px rgba(20,5,12,0.5); }
.contact p { max-width: 46ch; margin: 0 auto 2em; color: #f8ecee; text-shadow: 0 1px 14px rgba(20,5,12,0.5); }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink); color: var(--cream-deep);
  padding: var(--section-pad-sm) 0 44px; text-align: center;
}
.site-footer .brand { color: var(--cream); display: inline-flex; align-items: center; margin-bottom: 18px; }
.site-footer .brand-logo { height: 34px; width: calc(34px * 7.646); }
.foot-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 18px 0 26px; }
.foot-links a {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; color: var(--cream-deep); opacity: .85;
}
.foot-links a:hover { color: var(--rose); opacity: 1; }
.foot-fine { font-size: 0.74rem; color: #9b8f86; letter-spacing: 0.04em; }
.foot-fine a { color: var(--rose); text-decoration: none; }

/* ============================================================
   OFFERING DETAILS (Mat, Cushion), FAQ
   ============================================================ */
.intro-sub { max-width: 58ch; margin: 1.4em auto 0; color: var(--muted); }
.detail-cta { text-align: center; margin-top: var(--head-gap); }
.trio-item p strong, .split-text strong { color: var(--ink); font-weight: 600; }
.trio--four { grid-template-columns: repeat(4,1fr); }
.text-link {
  display: inline-block; margin-top: .8em; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fuchsia); text-decoration: none;
}
.text-link:hover { color: var(--plum); }

.band { padding: var(--section-pad) 0; }
.band--rose { background: var(--cream-deep); }
.split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px,6vw,90px); align-items: center;
}
.split-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.split-text h2 { font-size: clamp(2rem,4vw,3rem); color: var(--plum); margin: .3em 0 .6em; }
.split-text h2 em { color: var(--fuchsia); }
.split-text p { color: var(--muted); margin: 0 0 1.2em; }
.ticks { list-style: none; padding: 0; margin: 0 0 2em; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .6em; color: var(--muted); }
.ticks li::before { content: "\273F"; position: absolute; left: 0; color: var(--olive-deep); }

.faq { padding: var(--section-pad) 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--rose-soft); padding: 1.1em 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.25rem;
  color: var(--plum); display: flex; justify-content: space-between; gap: 1em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fuchsia); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8em 0 0; color: var(--muted); }

.free-med {
  max-width: 760px; margin: var(--section-pad-sm) auto 0; text-align: center;
  background: var(--cream-deep); border-radius: 6px; padding: clamp(32px,5vw,52px) clamp(22px,5vw,56px);
}
.free-med h3 { font-size: clamp(1.6rem,3vw,2.2rem); color: var(--plum); margin: .4em 0 .5em; }
.free-med p { color: var(--muted); margin: 0 0 1.6em; }
.free-med-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn--line { border: 1px solid var(--plum); color: var(--plum); }
.btn--line:hover { background: var(--plum); color: var(--cream); transform: translateY(-2px); }
.trio-item p a, .faq details p a { color: var(--fuchsia); }
.about-text p a { color: var(--rose-soft); }
.about .fullname { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin: -.4em 0 1.6em; }
.foot-social { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 0 0 22px; }
.foot-social a { font-size: .85rem; color: var(--rose); text-decoration: none; }
.foot-social a:hover { color: var(--cream); }

/* ============================================================
   SUBPAGE HERO (table / mat / cushion)
   ============================================================ */
.page-hero {
  position: relative; min-height: clamp(430px, 66vh, 650px);
  display: flex; align-items: flex-end; color: var(--cream);
  padding: 0 var(--gutter) clamp(50px, 8vh, 96px);
  background-size: cover; background-position: center;
}
.page-hero::after {
  content:""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(44,20,30,0.5) 0%, rgba(44,20,30,0.14) 42%, rgba(60,15,40,0.8) 100%);
}
.page-hero .inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero .overline { color: #fbeef0; text-shadow: 0 2px 14px rgba(28,8,16,0.7); }
.page-hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); margin: .18em 0 .34em; text-shadow: 0 2px 24px rgba(28,8,16,0.55); }
.page-hero .page-lead { font-size: clamp(1.02rem, 1.5vw, 1.25rem); max-width: 54ch; color: #fbeef0; margin: 0; text-shadow: 0 2px 16px rgba(28,8,16,0.6); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) and (min-width: 901px) {
  .trio--four { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 68vh; }
  .trio, .trio--four { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; }
  .split-photo { max-width: 420px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .gallery-grid { column-count: 2; }

  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: var(--plum); gap: 30px;
    transform: translateY(-100%);
    visibility: hidden; opacity: 0; pointer-events: none;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility .45s;
    z-index: 55;
  }
  body.menu-open .nav { transform: translateY(0); visibility: visible; opacity: 1; pointer-events: auto; }
  .nav a { color: var(--cream); font-size: 1.1rem; }
  .scrolled .nav a { color: var(--cream); }
  .nav-toggle { display: block; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .gallery-grid { column-count: 1; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; text-align: center; }
  /* Use the stacked wordmark where the horizontal mark gets too small */
  .brand-logo { height: 46px; width: calc(46px * 2.760);
    -webkit-mask-image: url("images/logo-stacked.svg"); mask-image: url("images/logo-stacked.svg"); }
  .scrolled .brand-logo { height: 42px; width: calc(42px * 2.760); }
  .site-footer .brand-logo { height: 52px; width: calc(52px * 2.760); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pillar-img { transition: none; }
}
