/* Theme taken from the Flora Therapy reference: white page, plum text,
   lilac / orange / peach accents, soft serif + handwritten script + geometric sans. */
:root {
  --white: #FFFFFF;
  --plum: #4A1F63;
  --plum-soft: #6B4A80;
  --lilac: #D9C4F0;
  --lilac-pale: #F4EEFB;
  --orange: #EE7D45;
  --peach: #F8D5C4;

  --serif: "Young Serif", Georgia, serif;
  --script: "Caveat", cursive;
  --sans: "Jost", system-ui, sans-serif;

  --r: 28px;
  --s: clamp(5rem, 9vw, 8rem);           /* space between sections */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--plum);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
::selection { background: var(--lilac); color: var(--plum); }
html { accent-color: var(--plum); caret-color: var(--orange); scrollbar-color: var(--lilac) var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.script { font-family: var(--script); font-weight: 600; font-size: 1.25em; line-height: .9; letter-spacing: .01em; }

.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 1rem/1 var(--sans); white-space: nowrap;
  padding: .8rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: filter .15s ease, background-color .15s ease, color .15s ease, transform .15s var(--ease-out);
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .6rem 1.35rem; font-size: .95rem; }
.btn { min-height: 44px; }
.btn-orange { background: var(--orange); color: var(--plum); }
.btn-lilac { background: var(--lilac); color: var(--plum); }
.btn-purple { background: var(--plum); color: var(--white); }
.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: var(--white); filter: none; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1.6rem; }
.nav nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--orange); }
.nav .btn { padding: .6rem 1.25rem; }
.nav .btn + .btn { margin-left: -1rem; }
.btn-wa { gap: .45rem; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.logo { font: 400 1.9rem/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
.logo-script { font: 600 2.6rem/1 var(--script); margin-right: .02em; }
.logo-small { font-size: 1.35rem; }
.logo-small .logo-script { font-size: 1.85rem; }

/* Hero: full-bleed photo in a rounded card, text over the left side */
.hero {
  position: relative; overflow: hidden;
  min-height: 580px; border-radius: var(--r);
  background: #1E3A2C; color: var(--white);
  display: flex; align-items: center;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,30,20,.72) 0%, rgba(15,30,20,.45) 38%, rgba(15,30,20,0) 62%);
}
.hero-copy { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4.5rem); max-width: 640px; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 15ch; }
.hero h1 .script { display: block; margin-top: .05em; }
.hero-copy p { margin: 1.5rem 0 2rem; max-width: 32ch; color: rgba(255,255,255,.9); }

/* At-a-glance facts (where the logo row sits in the reference) */
.facts {
  list-style: none; padding: 2.75rem 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.facts li { display: flex; gap: 1rem; align-items: flex-start; }
.facts svg {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  background: var(--lilac-pale);
  fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.facts strong { display: block; font: 400 1.15rem/1.3 var(--serif); margin-bottom: .2rem; }
.facts span { color: var(--plum-soft); font-size: .97rem; }

/* About */
.intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--s);
}
.intro h2 { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.35rem); max-width: 20ch; }
.intro p { color: var(--plum-soft); max-width: 48ch; }

/* Events panel */
.panel { background: var(--plum); color: var(--white); border-radius: var(--r); padding: clamp(2rem, 4vw, 3.25rem); }
.panel h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.services {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.services svg {
  width: 60px; height: 60px; margin: 0 auto 1.1rem; display: block;
  fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.services h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.services p { max-width: 24ch; margin-inline: auto; font-size: .97rem; color: rgba(255,255,255,.85); }

/* What's included */
.included {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: var(--s) 0;
}
.included-media { border-radius: var(--r); overflow: hidden; background: var(--peach); }
.included-img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.included h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 1.75rem; }
.checks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.checks li { position: relative; padding-left: 2.1rem; color: var(--plum-soft); }
.checks strong { color: var(--plum); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%234A1F63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/78% no-repeat;
}

/* Audience cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: var(--s) 0; }
.card { border-radius: var(--r); padding: clamp(2rem, 4vw, 2.75rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.card p { max-width: 34ch; flex: 1; }
.card-peach { background: var(--peach); }
.card-orange { background: var(--orange); }

/* Kits waitlist: one aligned block */
.kits { padding-block: var(--s) 0; }
.kits-panel {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--lilac-pale); border-radius: var(--r); overflow: hidden;
}
.kits-media { min-height: 100%; }
.kits-media img { width: 100%; height: 100%; object-fit: cover; }
.kits-copy { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; align-items: flex-start; }
.kits-copy h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.kits-copy > p { color: var(--plum-soft); max-width: 42ch; margin-top: 1rem; }
.kit-list { list-style: none; padding: 0; margin: 1.75rem 0 2rem; width: 100%; }
.kit-list li { padding-block: 1rem; border-top: 1px solid rgba(74, 31, 99, .14); }
.kit-list li:last-child { border-bottom: 1px solid rgba(74, 31, 99, .14); }
.kit-list h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.kit-list p { color: var(--plum-soft); font-size: .98rem; }

/* Photo row */
.gallery { padding-block: var(--s); }
.gallery h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); max-width: 18ch; margin-bottom: 2.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.gallery-grid figure { border-radius: var(--r); overflow: hidden; background: var(--lilac-pale); }
.gallery-grid figure:nth-child(2) { margin-top: 3.5rem; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Enquiry */
.enquire {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 6vw, 5rem); align-items: start;
  background: var(--peach); border-radius: var(--r); padding: clamp(2rem, 5vw, 4rem);
}
.enquire h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
.enquire-copy p { color: var(--plum-soft); margin-top: 1.25rem; max-width: 36ch; }
.enquire-media { margin-top: 2rem; border-radius: 22px; overflow: hidden; background: var(--white); }
.enquire-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.form { display: grid; gap: 1.2rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .95rem; }
.opt { font-weight: 400; color: var(--plum-soft); }
.form input, .form textarea, .form select {
  font: inherit; color: var(--plum); background: var(--white);
  border: 1.5px solid transparent; border-radius: 12px;
  padding: .8rem 1rem; width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: #7E6A90; }
.form textarea { resize: vertical; min-height: 7rem; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: none; border-color: var(--plum); }
.form input[aria-invalid="true"] { border-color: #C2392D; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; pointer-events: none;
  width: .55rem; height: .55rem; margin-top: -.4rem;
  border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: rotate(45deg);
}
.event-only[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: #A8291F; font-size: .9rem; font-weight: 500; }
.error:empty { display: none; }

.form .btn-orange { justify-self: start; margin-top: .5rem; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { font-weight: 500; }
.form-status.is-ok { color: #2E6B45; }
.form-status.is-err { color: #A8291F; }

/* FAQ */
.faq { padding-bottom: var(--s); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
.faq-list { border-top: 1px solid rgba(74, 31, 99, .14); }
.faq details { border-bottom: 1px solid rgba(74, 31, 99, .14); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0; min-height: 44px;
  font: 400 1.15rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: .6rem; height: .6rem; margin-top: -.45rem;
  border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: rotate(45deg);
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq summary:hover { color: var(--orange); }
.faq details p { color: var(--plum-soft); max-width: 60ch; padding: 0 2.5rem 1.4rem 0; }

/* Contact list (in the enquiry panel) */
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; }
.contact-list li > span:first-child { min-width: 5.5rem; font-weight: 500; }
.contact-list a { text-underline-offset: 3px; }
.contact-list [data-contact] { color: var(--plum-soft); }

/* Footer */
.footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; align-items: start;
  padding-block: 4rem calc(2.5rem + env(safe-area-inset-bottom)); color: var(--plum-soft); font-size: .95rem;
  border-top: 1px solid rgba(74, 31, 99, .12); margin-top: var(--s);
}
.footer .logo { color: var(--plum); }
.footer-brand p { margin-top: .6rem; max-width: 30ch; }
.footer-links { display: grid; gap: 0; }
.footer-links a, .footer-contact a, .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a, .footer-contact a { text-decoration: none; color: var(--plum); }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact { font-style: normal; display: grid; gap: 0; align-items: center; }
.footer-copy { grid-column: 1 / -1; font-size: .88rem; }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .facts { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 860px) {
  .nav-link { display: none; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-img { height: 62%; object-position: 72% 30%; }
  .hero-copy { padding-top: 0; }
  .hero::after { background: linear-gradient(0deg, #1E3A2C 0%, #1E3A2C 40%, rgba(30,58,44,0) 62%); }
  .intro, .included, .cards, .kits-panel, .enquire { grid-template-columns: 1fr; }
  .intro { gap: 1.25rem; }
  .kits-media img { aspect-ratio: 4 / 3; height: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:nth-child(2) { margin-top: 2rem; }
  .gallery-grid figure:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { width: min(1200px, 100% - 2rem); }
  .nav nav { gap: 1.5rem; }
  .nav .btn { padding: .55rem 1rem; font-size: .9rem; }
  .btn-wa { font-size: 0 !important; padding: .55rem !important; }
  .btn-wa svg { width: 20px; height: 20px; }
  .services { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .cards { gap: 1rem; }
}

/* Motion. Hidden start states only apply once script.js adds .motion to <html>,
   so the page stays fully visible if scripts fail. */
.motion .hero { clip-path: inset(3% 4% round 40px); transition: clip-path 1.1s var(--ease-out); }
.motion .hero-img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.motion .hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.motion .hero-copy > :nth-child(2) { transition-delay: .12s; }
.motion .hero-copy > :nth-child(3) { transition-delay: .22s; }
.motion.loaded .hero { clip-path: inset(0 0 round var(--r)); }
.motion.loaded .hero-img { transform: none; }
.motion.loaded .hero-copy > * { opacity: 1; transform: none; }

.motion .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.motion .reveal.in { opacity: 1; transform: none; filter: none; }
.motion .reveal-img { clip-path: inset(14% 10% 14% 10% round var(--r)); transition: clip-path 1.1s var(--ease-out); }
.motion .reveal-img img { transform: scale(1.12); transition: transform 1.4s var(--ease-out); }
.motion .reveal-img.in { clip-path: inset(0 0 0 0 round var(--r)); }
.motion .reveal-img.in img { transform: none; }
.motion .kits-media.reveal-img { clip-path: inset(10% 10% 10% 0); }
.motion .kits-media.reveal-img.in { clip-path: inset(0); }
.motion .gallery-grid .reveal-img:nth-child(2) { transition-delay: .1s; }
.motion .gallery-grid .reveal-img:nth-child(2) img { transition-delay: .1s; }
.motion .gallery-grid .reveal-img:nth-child(3) { transition-delay: .2s; }
.motion .gallery-grid .reveal-img:nth-child(3) img { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

[hidden] { display: none !important; }
