/* Base */
:root {
  --sage: #97a27c;
  --mustard: #d1b76a;
  --blush: #d8b1b8;
  --plum: #87445b;
  --cream: #f3efe9;
  --paper: #f6f2ed;

  --ink: rgba(255, 255, 255, 0.92);
  --inkPlum: #f2e7e2;
  --inkDark: #3a2a2a;

  --pillPink: #caa3ad;
  --pillPinkText: #6d3a4f;
  --pillLight: #f5efe8;
  --pillLightText: #6d3a4f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--inkDark);
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.25;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skipLink {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: #111;
  border-radius: 10px;
  z-index: 999;
}
.skipLink:focus {
  left: 12px;
}

/* Typography */
.display {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0;
}

.displaySub {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
}

.center {
  text-align: center;
}

/* Common layout blocks */
.panel {
  width: 100%;
}

.panelSplit {
  display: grid;
  grid-template-columns: 1fr;
}

.panelGrid {
  display: grid;
  grid-template-columns: 1fr;
}

.panelMedia {
  background: #e7e3dd;
}

.panelMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.panelCopy {
  padding: 40px 26px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.panelCopy--sage {
  background: var(--sage);
  color: var(--ink);
}

.panelCopy--mustard {
  background: var(--mustard);
  color: rgba(255, 255, 255, 0.92);
}

.panelCopy--plum {
  background: var(--plum);
  color: var(--inkPlum);
  text-align: left;
  justify-items: start;
  padding: 34px 26px;
  gap: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--pillPink);
  color: var(--pillPinkText);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.pill--light {
  background: var(--pillLight);
  color: var(--pillLightText);
}

/* HERO */
.panel--hero .panelMedia img {
  aspect-ratio: 1 / 1;
}

.panelCopy--heroDecor {
  position: relative;
  overflow: hidden;
}

.panelCopy--heroDecor > *:not(.heroFlowers) {
  position: relative;
  z-index: 1;
}

.panelCopy--heroDecor {
  /* Reserve room for the flowers so headings don't overlap at common widths */
  padding-right: clamp(26px, 14vw, 240px);
}

.heroFlowers {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(120px, 16vw, 220px);
  height: auto;
  pointer-events: none;
  opacity: 0.95;
  z-index: 0;
}

.panel--hero .display {
  font-size: clamp(52px, 7vw, 78px);
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

.panel--hero .displaySub {
  font-size: clamp(34px, 5.5vw, 54px);
  margin-top: 8px;
}

.panel--hero .pill {
  margin-top: 14px;
}

/* APPROCHE */
.panel--approche .display {
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.98;
}

.panel--approche .panelCopy {
  padding: 46px 26px;
}

.approcheRight {
  display: grid;
  grid-template-columns: 1fr;
}

.approcheMosaic {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  min-height: 330px;
  overflow: hidden;
}

.approcheMosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plumItem {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

/* QUOTE */
.band {
  padding: 30px 22px;
}

.band--quote {
  background: var(--blush);
  color: #6d3a4f;
}

.quote {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 20px;
  line-height: 1.35;
}

/* ABOUT */
.panel--about .display {
  font-size: 56px;
  line-height: 1;
}

.panel--about .displaySub {
  font-size: 38px;
}

/* OPTIONS HEADER */
.band--plum {
  background: var(--plum);
  color: rgba(255, 255, 255, 0.92);
}

.band--plum .display {
  font-size: clamp(44px, 6.2vw, 68px);
  line-height: 1;
}

.band--plum .displaySub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(26px, 4.6vw, 40px);
  margin-top: 6px;
}

/* OPTIONS CARDS */
.options {
  background: #ffffff;
}

.optionsGrid {
  display: grid;
  grid-template-columns: 1fr;
}

.optionCard {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  background: #e7e3dd;
}

.optionCard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.98;
  transform: scale(1.02);
}

.optionCard--1::before {
  background-image: url("assets/home-option-1.jpg");
}

.optionCard--2::before {
  background-image: url("assets/home-option-2.jpg");
}

.optionCard--3::before {
  background-image: url("assets/home-option-3.jpg");
}


@media (max-width: 420px) {
  .heroFlowers {
    width: 150px;
  }
}

/* Common breakpoint: tablets and up (~768px) */
@media (min-width: 720px) {
  .panelSplit {
    grid-template-columns: 1fr 1fr;
  }

  .panelGrid {
    grid-template-columns: 1fr 1fr;
  }

  .approcheRight {
    grid-template-columns: 1fr 1fr;
  }

  .panelMedia img {
    aspect-ratio: 1 / 1;
  }

  .optionsGrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .optionCard {
    min-height: 260px;
  }
}

/* Common breakpoint: laptops/desktops (~1024px+) */
@media (min-width: 1024px) {
  .panelMedia img {
    aspect-ratio: auto;
    min-height: 560px;
  }
}

/* Vibrancy & Motion */
:root {
  --shadowSoft: 0 14px 34px rgba(34, 20, 28, 0.12);
  --shadowLift: 0 22px 60px rgba(34, 20, 28, 0.18);
  --ring: 0 0 0 3px rgba(202, 163, 173, 0.35);
}

body {
  background:
    radial-gradient(900px 650px at 10% 10%, rgba(209, 183, 106, 0.16), transparent 60%),
    radial-gradient(800px 520px at 92% 18%, rgba(152, 162, 124, 0.18), transparent 60%),
    radial-gradient(900px 600px at 50% 90%, rgba(216, 177, 184, 0.14), transparent 58%),
    var(--paper);
}

.panelCopy { position: relative; }
.panelCopy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 500px at 50% 0%, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.panelCopy--sage { background: linear-gradient(165deg, #9aaa80 0%, #8f9c76 50%, #88946f 100%); }
.panelCopy--mustard { background: linear-gradient(165deg, #d7bf72 0%, #c9b064 45%, #c2a95c 100%); }
.panelCopy--plum { background: linear-gradient(165deg, #8c4a60 0%, #834256 55%, #763a4a 100%); }

.pill {
  box-shadow: 0 10px 22px rgba(34, 20, 28, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.pill:hover { transform: translateY(-1px); box-shadow: var(--shadowSoft); }
.pill:focus-visible { outline: none; box-shadow: var(--shadowSoft), var(--ring); }

.optionCard { cursor: pointer; isolation: isolate; }
.optionCard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 380px at 50% 0%, rgba(255, 255, 255, 0.26), transparent 58%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 1;
  pointer-events: none;
}
.optionCard:hover::after { opacity: 0.9; }
.optionCard::before { transition: transform 260ms ease; }
.optionCard:hover::before { transform: scale(1.06); }

.heroFlowers { filter: saturate(1.05) contrast(1.02); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: saturate(0.98);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: saturate(1); }

@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.panel--hero .pill { animation: floaty 5.8s ease-in-out 1.2s infinite; }
.heroFlowers { animation: floaty 6.6s ease-in-out 0.8s infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  .panel--hero .pill, .heroFlowers { animation: none; }
  .pill, .optionCard::after, .optionCard::before { transition: none; }
}
/* JS-enhanced reveal */
/* Default: visible (so content never disappears if JS is blocked). */
.reveal { opacity: 1; transform: none; filter: none; }
/* When JS is active, we animate in. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: saturate(0.98);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); filter: saturate(1); }