/* ==========================================================================
   Blossom Haven Living
   Palette: plum + bright rose flower + sage on warm cream (from Trinity's Adobe palette).
   ========================================================================== */
:root {
  --primary: #713B50;      /* plum: wordmark, headings, buttons */
  --primary-deep: #4E2638; /* footer, dark panels, hover */
  --bloom: #DA6F82;        /* bright rose: the flower, the attention color */
  --bloom-deep: #B04A60;   /* rose for text (hero italic line) */
  --bloom-light: #F4A9B6;  /* rose for text on dark plum (footer) */
  --accent: #96AD78;       /* sage: "LIVING", leaves, small details */
  --accent-deep: #5F7547;  /* sage dark enough for icons and checks */
  --cream: #FDFBF8;        /* soft warm white page background */
  --tint: #F7E8EA;         /* soft rose alternating sections */
  --mist: #E9EFE0;         /* sage tint behind icons, checks and the flower */
  --sage-tint: #EEF3E7;    /* soft sage alternating sections */
  --forest: #4A6340;       /* deep sage: mission & vision panel */
  --paper: #FFFFFF;
  --ink: #2E2228;          /* body text */
  --muted: #6E5E66;
  --line: #EADDD8;  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(78, 38, 56, .18);
  --container: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
/* Admin text edits load right after the page; hide the original wording for that moment to avoid a flash. */
.cms-wait [data-edit], .cms-wait [data-edit-list], .cms-wait [data-edit-img] { visibility: hidden; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--primary-deep);
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 50;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -.005em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1.25 var(--font-body);
  text-align: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(113, 59, 80, .7); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: var(--cream); color: var(--primary-deep); }
.btn-light:hover { background: #fff; color: var(--primary-deep); }
.btn-sm { padding: .7rem 1.15rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.text-link { display: inline-block; margin-top: .9rem; color: #fff; font-weight: 600; }
.text-link:hover { color: var(--tint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(46, 34, 40, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand img { width: 136px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--primary); border-color: var(--primary); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    background: none; border: 0; cursor: pointer; border-radius: 10px;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: var(--primary-deep); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--cream); padding: 1rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(46, 34, 40, .4);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a:hover { border-color: var(--line); }
}

/* ---------- Arch motif (from the doorway in the logo) ---------- */
.arch {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--bloom-deep); display: block; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 38rem; }
.hero-note { margin-top: 1.4rem; font-size: .93rem; color: var(--primary); font-weight: 500; }
.hero-art { position: relative; }
.arch-hero {
  aspect-ratio: 4 / 5; max-width: 440px; margin-left: auto;
  background: var(--mist);
  box-shadow: var(--shadow);
}
.arch-hero::after {
  content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1.5px solid rgba(113, 59, 80, .3); pointer-events: none;
}
.arch-hero img { width: 66%; filter: drop-shadow(0 14px 22px rgba(218, 111, 130, .28)); }
.hero-card {
  position: absolute; left: 0; bottom: 12%;
  display: flex; align-items: center; gap: .8rem;
  background: var(--paper); border-radius: 16px; padding: .9rem 1.2rem;
  box-shadow: var(--shadow); font-size: .92rem; line-height: 1.35;
}
.hero-card strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--primary-deep); font-size: 1.05rem; }
.hero-card span { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bloom); box-shadow: 0 0 0 5px rgba(218, 111, 130, .2); flex: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin-inline: auto; width: 100%; }
  .arch-hero { margin-inline: auto; }
  .hero-card { left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.tint-a { background: var(--tint); }
.tint-b { background: var(--sage-tint); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-intro { font-size: 1.12rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-wide { grid-template-columns: 1.05fr .95fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* ---------- Pillars ---------- */
.pillar-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar {
  background: var(--paper); border-radius: var(--radius-lg); padding: 2.2rem 1.9rem;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); }
.pillar-step { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.pillar h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.pillar-sub { font-family: var(--font-display); font-style: italic; color: var(--primary); margin-bottom: 1rem; }
.pillar p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.script-line { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--primary); margin-top: 1.6rem; }
.feature-stack { list-style: none; display: grid; gap: 1rem; }
.feature { display: flex; gap: 1.1rem; background: var(--paper); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: 0 1px 0 var(--line); }
.feature h3 { margin-bottom: .25rem; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); }
.icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; }
.icon svg, .privacy-note svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Home ---------- */
.home-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.arch-home { aspect-ratio: 3 / 4; background: var(--mist); position: sticky; top: calc(var(--header-h) + 24px); }
.arch-home img { width: 55%; opacity: .9; }
/* A real photo of the home (uploaded in /admin) fills the arch instead of the flower */
.arch-home img.is-photo { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.arch-label { position: absolute; bottom: 1.4rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 0 0 2rem; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1rem; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .4rem; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--primary-deep); line-height: 1.25; }
.facts dd span:not(.fact-main) { font-family: var(--font-body); font-size: .88rem; color: var(--muted); }
.list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin-bottom: 2rem; }
.list-cols h3 { font-size: 1.2rem; }
.check { list-style: none; display: grid; gap: .55rem; }
.check li { position: relative; padding-left: 1.8rem; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F7547' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.6rem; }
.callout { background: var(--tint); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.callout h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.callout p { margin: 0; font-size: .97rem; }
.privacy-note { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--muted); border-left: 3px solid var(--primary); padding: .3rem 0 .3rem 1rem; margin: 0; }
.privacy-note svg { flex: none; margin-top: .15rem; }
@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; }
  .arch-home { position: relative; top: 0; max-width: 320px; margin-inline: auto; aspect-ratio: 4 / 4.2; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .list-cols, .callouts { grid-template-columns: 1fr; } }

/* ---------- Who we serve ---------- */
.notice { background: var(--paper); border-radius: var(--radius); padding: 1.3rem 1.5rem; border-left: 4px solid var(--primary); margin-top: 1.6rem; }
.notice strong { display: block; color: var(--primary-deep); margin-bottom: .3rem; }
.notice p { margin: 0; }
.list-title { font-size: 1.35rem; }
.pill-list { list-style: none; display: grid; gap: .6rem; }
.pill-list li { background: var(--paper); border-radius: 14px; padding: .85rem 1.1rem .85rem 2.9rem; position: relative; }
.pill-list li::before {
  content: ""; position: absolute; left: 1.05rem; top: 50%; width: 1.1rem; height: 1.1rem; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2396AD78'%3E%3Cpath d='M20 4c-9 0-15 4.5-15 12 0 1.4.3 2.7.8 4 .9-4.2 3.8-7.6 8.2-9.5-3.4 2.6-5.5 5.7-6.3 9.4 1 .1 1.7.1 2.3.1C17 20 20 13 20 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Provide cards ---------- */
.card-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem 1.7rem; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.card h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 1rem; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Message band ---------- */
.band {
  position: relative; overflow: hidden;
  background: var(--primary-deep);
  color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
/* Soft flower tucked into the corner, never behind the quote */
.band::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 340px; height: 390px; right: -90px; bottom: -120px; transform: rotate(-14deg);
  background: url("../assets/flower.png") center / contain no-repeat;
  opacity: .14;
}
.band > .container { position: relative; z-index: 1; }
.band blockquote { margin: 0 auto; max-width: 52rem; text-align: center; }
.band p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; margin: 0; font-style: italic; }

/* ---------- Apply ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-bottom: 2.5rem; counter-reset: none; position: relative; }
.steps li { text-align: center; position: relative; padding: 0 .3rem; }
.steps li::after { content: ""; position: absolute; top: 26px; left: calc(50% + 32px); right: calc(-50% + 32px); height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 6px, transparent 6px 12px); opacity: .5; }
.steps li:last-child::after { display: none; }
.steps span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto .9rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--primary); color: var(--primary); font: 600 1.2rem var(--font-display); }
.steps li:last-child span { background: var(--bloom); border-color: var(--bloom); color: #fff; }
.steps h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
/* Tablets and phones: one vertical timeline, circles joined by a dashed line */
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 26rem; margin-inline: auto; }
  .steps li { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 0 0 1.4rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::after {
    top: 44px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--primary) 0 5px, transparent 5px 10px);
  }
  .steps span { margin: 0; flex: none; width: 44px; height: 44px; font-size: 1.05rem; }
  .steps h3 { margin: 0; font-size: 1.02rem; }
}

.apply-panels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.8rem; }
.panel h3 { font-size: 1.3rem; }
.panel-cta { background: var(--primary); border-color: var(--primary); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.panel-cta h3 { color: #fff; }
.panel-cta p { color: rgba(255, 255, 255, .88); }
.panel-cta .btn { margin-top: auto; }
@media (max-width: 900px) { .apply-panels { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
/* Intro: same split pattern as "A Transitional Stay" — story left, one card right */
.about-intro { margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.block-label { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }

/* Name meaning: three identical rows in one card */
.name-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.name-defs { display: grid; margin: 0; }
.def { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.def:first-child { padding-top: .2rem; border-top: 0; }
.def:last-child { padding-bottom: 0; }
.def dt { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--primary-deep); margin-bottom: .3rem; }
.def dt span:not(.def-word) { font-style: italic; font-size: .95rem; color: var(--muted); margin-left: .4rem; }
.def dd { margin: 0; color: var(--muted); }

/* Mission + vision */
.mv-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--forest); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 5vw, 3.2rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.mv-panel > div + div { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.mv-label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: .9rem; }
.mv-text { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.45; margin: 0; text-wrap: pretty; }

/* Values */
.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.value .icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); }
.value .icon svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--primary-deep); margin: .1rem 0 .25rem; }
.value p { margin: 0; color: var(--muted); font-size: .96rem; }

@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mv-panel { grid-template-columns: 1fr; }
  .mv-panel > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.5rem; }
  .values { grid-template-columns: minmax(0, 1fr); }
}
.founder { display: grid; grid-template-columns: 210px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.8rem); }
.founder-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: var(--mist); box-shadow: 0 0 0 7px var(--paper), 0 0 0 8.5px var(--bloom), 0 18px 34px -16px rgba(78, 38, 56, .45); }
.founder h3 { font-size: 1.9rem; margin-bottom: .2rem; }
.founder-title { font-family: var(--font-display); font-style: italic; color: var(--bloom-deep); font-size: 1.05rem; margin-bottom: 1rem; }
.founder p:last-child { margin: 0; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 200px; }
}

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.partner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.5rem); display: flex; flex-direction: column; align-items: flex-start; }
.partner h3 { font-size: 1.6rem; }
.partner .btn { margin-top: auto; }
.small-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: .4rem 0 .8rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tag-list li { background: var(--mist); color: var(--accent-deep); border-radius: 999px; padding: .38rem .85rem; font-size: .9rem; font-weight: 500; }
.benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-bottom: 1.8rem; width: 100%; }
.benefits li { padding: .6rem .9rem; background: var(--tint); border-radius: 12px; font-weight: 500; font-size: .95rem; color: var(--primary-deep); }
@media (max-width: 860px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; }
.faq-list details { background: var(--paper); border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s; }
.faq-list details[open] { border-color: var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.2rem 3.4rem 1.2rem 1.5rem; position: relative;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--primary-deep);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 1.5rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.path-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.path {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; height: 100%;
  padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--radius); text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.path span { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: var(--primary-deep); }
.path b { color: var(--primary); font-weight: 600; font-size: .95rem; }
.path:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .path-grid { grid-template-columns: 1fr; } }

/* Owner info left, form right; stacks (owner first) on tablets and phones */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.contact-owner { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-owner { position: static; }
}

.owner-card { background: var(--primary-deep); color: rgba(255, 255, 255, .85); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.2rem); }
.owner-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .8rem; }
.owner-card h3 { color: #fff; font-size: clamp(1.7rem, 4vw, 2rem); margin-bottom: .15rem; }
.owner-title { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: rgba(255, 255, 255, .78); margin-bottom: 1.4rem; }
.owner-actions { display: grid; gap: .6rem; margin-bottom: 1.3rem; }
.owner-line {
  display: flex; align-items: center; gap: .85rem; min-height: 60px;
  padding: .75rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .08);
  color: #fff; text-decoration: none; font-weight: 600; line-height: 1.3;
  overflow-wrap: break-word; transition: background .2s;
}
.owner-line:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.owner-line small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .15rem; }
.owner-line svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.owner-area { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .7); }

.contact-form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  font: 400 1rem var(--font-body); color: var(--ink);
  width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(113, 59, 80, .12); }
.contact-form .invalid { border-color: #B3261E; }
.contact-pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.contact-pref legend { font-size: .92rem; font-weight: 600; margin-bottom: .45rem; padding: 0; width: 100%; }
.contact-form label.inline { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.contact-form label.check-label { align-items: flex-start; font-size: .92rem; color: var(--muted); }
.contact-form input[type="radio"], .contact-form input[type="checkbox"] { accent-color: var(--primary); width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; flex: none; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.contact-form .btn { justify-self: start; }
@media (max-width: 560px) {
  .contact-form .btn { justify-self: stretch; width: 100%; padding-block: 1.1rem; }
  .contact-pref { gap: .5rem; }
  .contact-pref label.inline { flex: 1 1 0; justify-content: center; padding: .7rem .5rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); }
  .contact-pref label.inline:has(input:checked) { border-color: var(--primary); background: var(--paper); }
}
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--primary); }
.form-status.err { color: #B3261E; }
.hp { position: absolute !important; left: -9999px; }

.crisis { background: var(--tint); border-radius: var(--radius); padding: 1.2rem 1.3rem; font-size: .93rem; }
.crisis strong { display: block; color: var(--primary); margin-bottom: .3rem; }
.crisis p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, .82); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .96rem; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--bloom-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { width: 170px; margin-bottom: 1.2rem; }
.footer-motto { font-family: var(--font-display); font-style: italic; color: var(--bloom-light); font-size: 1.15rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bloom-light); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer li { word-break: break-word; }
.footer-base { border-top: 1px solid rgba(244, 169, 182, .3); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Sticky mobile action bar (hidden on larger screens) ---------- */
.mobile-cta { display: none; }

/* ==========================================================================
   Phone layout: shorter page, swipe rows, compact lists, thumb-friendly CTAs
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: 3.25rem; }
  .section-head { margin-bottom: 1.6rem; }
  .section-intro { font-size: 1.02rem; }
  .js .reveal { opacity: 1; transform: none; }

  /* Hero: copy first, no oversized art */
  .hero { padding-block: 1.75rem 2.75rem; }
  .hero-art { display: none; }
  .lede { font-size: 1.05rem; }
  .btn-row { flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
  .btn-row .btn { width: 100%; }

  /* Swipe rows: one card plus a peek of the next */
  .pillar-grid, .card-grid, .values {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .pillar-grid::-webkit-scrollbar, .card-grid::-webkit-scrollbar, .values::-webkit-scrollbar { display: none; }
  .pillar-grid > li, .card-grid > li, .values > li { scroll-snap-align: start; }
  .pillar { padding: 1.6rem 1.4rem; }
  .pillar h3 { font-size: 1.4rem; }
  .card { padding: 1.4rem 1.3rem; }
  .card:hover { transform: none; box-shadow: none; }
  .value { padding: 1.25rem; }

  /* Compact stacked content */
  .feature { padding: 1.1rem 1.2rem; gap: .9rem; }
  .feature .icon { width: 40px; height: 40px; border-radius: 12px; }
  .script-line { font-size: 1.2rem; }
  .pill-list { gap: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
  .pill-list li { border-radius: 0; padding: .8rem 1rem .8rem 2.7rem; }
  .pill-list li + li { border-top: 1px solid var(--line); }
  .notice { padding: 1.1rem 1.2rem; }

  /* The stay */
  .arch-home { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); max-width: none; }
  .arch-home img { width: 28%; }
  .arch-label { bottom: .9rem; }
  .facts { gap: .6rem; margin-bottom: 1.5rem; }
  .facts div { padding: .9rem .85rem; }
  .facts dd { font-size: 1.08rem; }
  .callout { padding: 1.1rem 1.2rem; }

  /* Apply */
  .panel { padding: 1.4rem 1.3rem; }
  .panel-cta .btn { width: 100%; }

  /* About */
  .mv-panel { padding: 1.6rem 1.4rem; }
  .mv-text { font-size: 1.15rem; }
  .founder { gap: 1.4rem; padding: 1.8rem 1.4rem 1.9rem; text-align: center; }
  .founder-photo { width: min(250px, 78%); max-width: none; margin: .35rem auto 0; }
  .founder h3 { font-size: 1.75rem; margin-bottom: .2rem; }
  .founder .eyebrow { margin-bottom: .5rem; }
  .founder p:not(.eyebrow):not(.founder-title) { text-align: left; }

  /* Partners */
  .partner { padding: 1.5rem 1.3rem; align-items: stretch; }
  .partner h3 { font-size: 1.4rem; }
  .partner .btn { width: 100%; }
  .tag-list { margin-bottom: 1.4rem; }
  .benefits { margin-bottom: 1.4rem; }

  /* FAQ */
  .faq-list summary { padding: 1rem 3rem 1rem 1.2rem; font-size: 1.05rem; }
  .faq-list details p { padding: 0 1.2rem 1.1rem; }

  /* Contact: four options as one tappable list */
  .path-grid { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
  .path-grid li + li .path { border-top: 1px solid var(--line); }
  .path { flex-direction: row; align-items: center; gap: 1rem; padding: 1.05rem 1.2rem; border: 0; border-radius: 0; }
  .path:hover { transform: none; box-shadow: none; background: var(--tint); }
  .path span { font-size: 1.02rem; }
  .path b { font-size: 0; flex: none; }
  .path b::after { content: "→"; font-size: 1.2rem; color: var(--primary); }
  .contact-form { padding: 1.4rem 1.2rem; box-shadow: none; border: 1px solid var(--line); }

  /* Sticky action bar */
  .mobile-cta {
    display: grid; grid-template-columns: auto 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { padding: .95rem 1.2rem; }
  .mobile-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* Flower as a soft watermark woven into sections, not a separate block */
  .hero::after, #orchid-home::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    background: url("../assets/flower.png") center / contain no-repeat;
    opacity: .13;
  }
  .hero::after { width: 230px; height: 260px; top: .5rem; right: -78px; transform: rotate(12deg); }
  .hero > .container { position: relative; z-index: 1; }
  #orchid-home { position: relative; overflow: hidden; }
  #orchid-home::before { width: 210px; height: 240px; top: 1.25rem; right: -70px; transform: rotate(-10deg); }
  #orchid-home > .container { position: relative; z-index: 1; }
  .home-visual { display: none; }
  .home-visual.has-photo { display: block; margin-bottom: 1.5rem; }
  .band::before { width: 190px; height: 220px; right: -70px; bottom: -80px; opacity: .12; }
}

/* ---------- Background options for client review (shown only with ?options) ---------- */
:root[data-bg="pure"]  { --cream: #FFFFFF; }
:root[data-bg="blush"] { --cream: #FDF8F8; }
:root[data-bg="original"] { --cream: #F7F2EA; }
body { transition: background-color .3s; }
.bg-picker {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 90;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: .25rem; max-width: calc(100% - 32px);
  padding: .4rem; background: var(--primary-deep); color: #fff; border-radius: 22px;
  box-shadow: 0 12px 30px -10px rgba(78, 38, 56, .55); font: 500 .85rem var(--font-body);
}
.bg-row { display: flex; align-items: center; gap: .2rem; }
.bg-row span { width: 6.2rem; padding-left: .6rem; opacity: .75; white-space: nowrap; }
.bg-picker button {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; cursor: pointer;
  font: inherit; color: #fff; background: transparent; border: 0; border-radius: 999px; padding: .45rem .75rem;
}
.bg-picker button:hover { background: rgba(255, 255, 255, .12); }
.bg-picker button[aria-pressed="true"] { background: #fff; color: var(--primary-deep); }
.bg-picker i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
@media (max-width: 640px) {
  .bg-picker { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); font-size: .74rem; border-radius: 18px; }
  .bg-row span, .bg-picker i { display: none; }
  .bg-row { justify-content: center; }
  .bg-picker button { padding: .45rem .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
