/* De Light House Care Home — shared styles.
   Colours, type and layout follow the  Design source (Home v2 and siblings). */

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #0C2A19;          /* dark green, the house colour */
  --ink-hover: #17422A;
  --gold: #C79A3B;
  --gold-light: #E8CD8B;
  --cream: #F8F2E3;        /* page background */
  --white: #FFFFFF;
  --text: #23261F;
  --muted: #55584E;
  --muted-light: #C9D2C6;  /* muted text on dark green */
  --field: #8E9084;
  --error: #9B2C1F;
  --rule: rgba(199, 154, 59, .55);
  --rule-soft: rgba(199, 154, 59, .45);
  --rule-dark: rgba(232, 205, 139, .35);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Libre Franklin', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 16px;
  --dome: 20px 20px 50% 50% / 20px 20px 56px 56px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --shell-pad: clamp(8px, 1.2vw, 16px);
  --band-gap: clamp(12px, 1.4vw, 20px); /* the space between stacked sections */
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, blockquote, dl { margin: 0; }
ul, ol { list-style: none; padding: 0; }

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ink-hover); }

img { display: block; }

/* WebP wrappers should not become the flex or grid item themselves. */
picture { display: contents; }

/* A display rule on a class must never beat the hidden attribute. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; color: var(--cream); }

/* ---------------------------------------------------------------- shell */
.shell {
  background: var(--cream);
  padding: var(--shell-pad);
  display: flex;
  flex-direction: column;
  gap: var(--band-gap);
  overflow-x: clip;
}

/* The sections sit inside <main>, so <main> has to carry the same rhythm.
   Without this they stack flush and the white panels merge into one block. */
#main {
  display: flex;
  flex-direction: column;
  gap: var(--band-gap);
}

.band {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* The domed page head: a gold sliver showing under a dark green cap. */
.dome {
  background: var(--gold);
  border-radius: var(--dome);
  padding-bottom: 3px;
}
.dome__inner {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--dome);
  overflow: hidden;
}

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: var(--gold-light); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.018em;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--cream);
}
.display em { font-style: italic; color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
.h2--light { color: var(--cream); }

.lede {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  color: var(--cream);
  text-wrap: pretty;
}


.note {
  font-size: 15px;
  color: var(--muted);
  background: var(--cream);
  border-radius: 999px;
  padding: 2px 12px;
  display: inline-block;
}

.tick {
  display: block;
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

/* ---------------------------------------------------------------- pills */
/* Every call to action is a pill: a label with a round icon chip on the end. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 6px 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.pill__chip {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.pill--lg { min-height: 60px; padding: 0 8px 0 26px; font-size: 18px; font-weight: 600; }
.pill--sm { min-height: 52px; padding: 0 6px 0 22px; font-size: 16px; font-weight: 600; }
.pill--sm .pill__chip { width: 40px; height: 40px; }

.pill--gold { background: var(--gold); color: var(--ink); font-weight: 600; }
.pill--gold:hover { background: var(--gold-light); color: var(--ink); }
.pill--gold .pill__chip { background: var(--ink); }
.pill--gold .pill__chip svg { stroke: var(--gold-light); }

.pill--dark { background: var(--ink); color: var(--cream); font-weight: 600; }
.pill--dark:hover { background: var(--ink-hover); color: var(--cream); }
.pill--dark .pill__chip { background: var(--gold); }
.pill--dark .pill__chip svg { stroke: var(--ink); }

/* Outlined on a dark background. */
.pill--onDark {
  border: 1.5px solid rgba(248, 242, 227, .6);
  background: transparent;
  color: var(--cream);
}
.pill--onDark:hover { background: rgba(12, 42, 25, .6); color: var(--cream); }
.pill--onDark .pill__chip { border: 1.5px solid rgba(248, 242, 227, .6); }
.pill--onDark .pill__chip svg { stroke: var(--cream); }

/* Outlined on a light background. */
.pill--onLight {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.pill--onLight:hover { background: var(--white); color: var(--ink); }
.pill--onLight .pill__chip { border: 1.5px solid var(--gold); }
.pill--onLight .pill__chip svg { stroke: var(--ink); }
.panel .pill--onLight:hover { background: var(--cream); }

.pill--light { background: var(--ink); color: var(--cream); }
.pill--light:hover { background: var(--ink-hover); color: var(--cream); }
.pill--light .pill__chip { background: var(--cream); }
.pill--light .pill__chip svg { stroke: var(--ink); }

/* ---------------------------------------------------------------- header */
.topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px) clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 20px;
}

.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  min-height: 48px;
  margin-right: auto;
}
.mark:hover { color: var(--cream); }
/* The mark is a transparent PNG, so it sits on the dark header unchanged. */
.mark__logo {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: contain;
}
/* On the cream footer the light parts of the mark vanish, so it gets the dark
   disc it was drawn for. */
.mark__logo--sm {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 999px;
  padding: 4px;
}
.mark span {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.nav-pill {
  display: none;
  gap: 2px;
  align-items: center;
  background: rgba(12, 42, 25, .72);
  border-radius: 999px;
  padding: 0 6px;
}
.nav-pill a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  padding: 0 10px;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: 999px;
}
.nav-pill a:hover { background: var(--ink-hover); color: var(--cream); }
.nav-pill a[aria-current="page"] { background: var(--ink-hover); }

.topbar .pill--call { display: none; white-space: nowrap; }

.menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1.5px solid rgba(248, 242, 227, .6);
  background: rgba(12, 42, 25, .6);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

/* Seven tabs only fit on one line from 1200px; below that the menu button takes
   over. Between 1200 and 1339px the call button shrinks to its phone icon. */
@media (min-width: 1200px) {
  .nav-pill { display: flex; }
  .mark span { white-space: nowrap; }
  .topbar .pill--call { display: inline-flex; padding: 0 6px; }
  .topbar .pill--call .pill__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .menu-btn { display: none; }
}
@media (min-width: 1340px) {
  .topbar .pill--call { padding: 0 6px 0 22px; }
  .topbar .pill--call .pill__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

/* ---------------------------------------------------------------- drawer */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(12, 42, 25, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ease), visibility 200ms;
}
.menu-open .scrim { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 31;
  width: min(380px, 88vw);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 16px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: auto;
  transform: translateX(calc(100% + 16px));
  transition: transform 260ms var(--ease);
}
.menu-open .drawer { transform: none; }

.drawer__close {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 205, 139, .5);
  background: transparent;
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--cream);
  text-decoration: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(232, 205, 139, .25);
}
.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.drawer__foot span { font-size: 14px; color: var(--gold-light); }
.drawer__foot a {
  color: var(--cream);
  font-size: 22px;
  font-family: var(--serif);
  min-height: 48px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .scrim, .drawer { display: none; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  padding-bottom: 120px;
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}
.hero__slides img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slides img.is-current { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 42, 25, .92) 0%, rgba(12, 42, 25, .88) 60%, rgba(12, 42, 25, .66) 100%);
}

.hero__body {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 88px) clamp(16px, 4vw, 48px) 0;
}
.hero__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: min(100%, 560px);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  color: var(--cream);
  text-wrap: balance;
}
.hero__lede {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  max-width: 30ch;
  color: var(--cream);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

/* The registration reassurance card under the hero buttons. */
.reg {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 20px 14px 14px;
  border-radius: var(--radius);
  background: rgba(12, 42, 25, .78);
  border: 1px solid rgba(232, 205, 139, .3);
  max-width: 460px;
}
.reg__seal {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
}
.reg p { font-size: 16px; line-height: 1.45; color: var(--muted-light); }
.reg strong { display: block; color: var(--cream); font-weight: 600; font-size: 17px; }

/* The five answers a family looks for before they ring, straight under the hero.
   One column on phones, 3 + 2 on tablets, one row of five from 1200px. */
.factbar {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px) 0;
}
.factbar__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 clamp(16px, 2vw, 28px);
  min-width: 0;
}
.factbar__item + .factbar__item { border-left: 1px solid var(--rule-soft); }
.factbar__item:first-child { padding-left: 0; }
.factbar__big {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}
.factbar__label {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}
@media (min-width: 720px) {
  .factbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Item 4 starts the second row: no divider on its left. */
  .factbar__item:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1200px) {
  .factbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .factbar__item { padding: 0 clamp(14px, 1.5vw, 24px); }
  .factbar__item:first-child { padding-left: 0; }
  .factbar__item:last-child { padding-right: 0; }
  .factbar__item:nth-child(4) { border-left: 1px solid var(--rule-soft); padding-left: clamp(14px, 1.5vw, 24px); }
  .factbar__big { font-size: clamp(1.25rem, 1.6vw, 1.5rem); white-space: nowrap; }
}
/* Stacked on narrow screens the dividing lines would sit in mid-air. */
@media (max-width: 719px) {
  .factbar__item + .factbar__item {
    border-left: 0;
    border-top: 1px solid var(--rule-soft);
    padding-top: clamp(16px, 3vw, 22px);
  }
  .factbar__item { padding-left: 0; padding-right: 0; }
}

.dots {
  position: absolute;
  right: 50%;
  bottom: 44px;
  transform: translateX(50%);
  display: flex;
  background: rgba(12, 42, 25, .55);
  border-radius: 999px;
  padding: 0 6px;
}
.dots button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(248, 242, 227, .7);
  transition: width 200ms var(--ease), background 200ms var(--ease);
}
.dots button[aria-current="true"] span { width: 22px; background: var(--gold); }

@media (min-width: 960px) {
  .hero {
    min-height: 720px;
    padding-bottom: clamp(72px, 8vw, 112px);
  }
  .hero__scrim {
    background: linear-gradient(90deg, rgba(12, 42, 25, .95) 0%, rgba(12, 42, 25, .92) 36%, rgba(12, 42, 25, .8) 46%, rgba(12, 42, 25, .5) 56%, rgba(12, 42, 25, .14) 72%, rgba(12, 42, 25, 0) 88%);
  }
  /* Photos with people in them sit to the right so faces clear the text. */
  .hero__slides img.has-people {
    left: 32%;
    width: 68%;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 240px);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 240px);
  }
  .reg { margin-top: 48px; }
  .dots {
    right: clamp(16px, 5vw, 64px);
    bottom: clamp(40px, 5vw, 64px);
    transform: none;
  }
}

/* Simple page head used by every page except the home page. */
.pagehead {
  padding-bottom: clamp(64px, 8vw, 104px);
}
.pagehead__body {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px) 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------------------------------------------------------------- panels */
.panel {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 64px) var(--gutter);
}
.panel--dark {
  background: var(--ink);
  color: var(--cream);
}
.plain {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(12px, 4vw, 48px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

/* ---------------------------------------------------------------- home: our care */
.care {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px) 0;
  align-items: start;
}
.care__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}
.care__intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
.care__col { min-width: 0; }

.svc-group + .svc-group,
.care__col--b .svc-group:first-child {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.svc-group h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 86px;
  margin-bottom: 8px;
}
.svc-group li + li { border-top: 1px solid var(--rule-soft); margin-left: 86px; }
.svc-group li + li > a { margin-left: -86px; }

.svc {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  text-decoration: none;
  color: var(--text);
  min-height: 98px;
}
.medallion {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  display: grid;
  place-items: center;
  flex: none;
}
.svc__text { display: flex; flex-direction: column; gap: 4px; }
.svc__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.01em;
}
.svc__desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* The "tell us what you need" strip at the foot of the care grid. */
.care__foot {
  grid-column: 1 / -1;
  margin-top: clamp(8px, 2vw, 16px);
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.care__foot p {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 34ch;
  text-wrap: pretty;
}
.care__foot div { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 760px) {
  .care { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .care__intro { grid-column: 1 / -1; }
  .care__col--a { padding-right: clamp(24px, 3vw, 44px); }
  .care__col--b {
    border-left: 1px solid var(--rule);
    padding-left: clamp(24px, 3vw, 44px);
  }
  .care__col--b .svc-group:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}
@media (min-width: 1200px) {
  .care { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1fr); }
  .care__intro {
    grid-column: auto;
    padding-right: clamp(24px, 3vw, 44px);
  }
}

/* ---------------------------------------------------------------- home: letter */
.letter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(28px, 6vw, 80px) var(--gutter);
}
.letter__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.letter__words {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.letter__words blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: pretty;
}

/* Stacked photo carousel: the current card sits in front, neighbours behind. */
.deck {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / .83;
  clip-path: inset(-40px 0);
  touch-action: pan-y;
  user-select: none;
}
.deck__card {
  position: absolute;
  top: 0;
  left: 19%;
  width: 62%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #E9E1CC;
  transition: transform 800ms var(--ease), opacity 800ms var(--ease);
}
.deck__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.deck__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: .38;
  transition: opacity 800ms var(--ease);
  pointer-events: none;
}
.deck__card[data-rel="0"] {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 18px 40px -18px rgba(12, 42, 25, .45);
}
.deck__card[data-rel="0"]::after { opacity: 0; }
.deck__card[data-rel="1"] { transform: translateX(30%) scale(.88); opacity: 1; z-index: 2; }
.deck__card[data-rel="-1"] { transform: translateX(-30%) scale(.88); opacity: 1; z-index: 2; }
.deck__card[data-rel="2"] { transform: translateX(48%) scale(.76); opacity: 0; z-index: 1; }
.deck__card[data-rel="-2"] { transform: translateX(-48%) scale(.76); opacity: 0; z-index: 1; }
/* With six cards one sits directly behind; keep it out of sight. */
.deck__card[data-rel="3"],
.deck__card[data-rel="-3"] { transform: scale(.7); opacity: 0; z-index: 0; }


.dots--dark {
  position: static;
  transform: none;
  background: var(--ink);
}

/* ---------------------------------------------------------------- home: photo strip */
.house {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  padding: clamp(40px, 6vw, 80px) clamp(12px, 4vw, 48px) clamp(24px, 3vw, 40px);
}
.house__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: flex-end;
  justify-content: space-between;
}
.house__blurb { max-width: 52ch; }
.house__bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.strip {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  padding: 4px 0;
}
.strip.is-dragging { cursor: grabbing; }
.strip__track {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  width: max-content;
  will-change: transform;
}
.strip img {
  flex: none;
  width: 160px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: #E9E1CC;
}
@media (min-width: 960px) {
  .strip__track { gap: 16px; padding-right: 16px; }
  .strip img { width: 240px; }
}
/* Without animation the strip becomes a plain scroller. */
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; scrollbar-width: none; padding: 4px clamp(12px, 4vw, 48px); }
  .strip__track { width: auto; }
}

/* ---------------------------------------------------------------- cta */
.cta {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(12px, 1.4vw, 16px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(12px, 1.4vw, 16px);
  align-items: stretch;
}
.cta__text {
  padding: clamp(20px, 4vw, 56px) clamp(12px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}
.cta__text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.014em;
  max-width: 17ch;
  text-wrap: balance;
}
.cta__text p { color: var(--muted-light); max-width: 42ch; }
.cta__text .pill { margin-top: 6px; }
/* Photos of the compound, stacked and crossfaded. The box fills the full
   height of the panel so there is no gap under the photo. */
.cta__slides {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-hover);
}
.cta__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.cta__slides img.is-current { opacity: 1; }

/* ---------------------------------------------------------------- footer */
.site-foot {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(8px, 3vw, 48px) 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}
.site-foot__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.site-foot__mark span {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.site-foot address {
  font-style: normal;
  font-size: 17px;
  color: var(--muted);
}
.site-foot__contact { display: flex; flex-direction: column; gap: 2px; }
.site-foot__contact .eyebrow + a { margin-bottom: 0; }
.site-foot__tel {
  font-family: var(--serif);
  font-size: 22px;
  min-height: 48px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-foot__mail {
  font-size: 17px;
  min-height: 48px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}
.site-foot__contact .eyebrow:nth-of-type(2) { margin-top: 12px; }
.site-foot nav { display: flex; flex-direction: column; }
.site-foot nav a {
  font-size: 17px;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-foot nav a:hover { text-decoration: underline; }
.site-foot__legal {
  border-top: 1px solid var(--rule-soft);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  font-size: 15px;
  color: var(--muted);
}
.site-foot__spacer { height: 72px; }
@media (min-width: 960px) {
  .site-foot__spacer { display: none; }
}

/* ---------------------------------------------------------------- sticky contact */
.mobilebar {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  padding: 8px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(12, 42, 25, .28);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.mobilebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.mobilebar__call { background: var(--gold); color: var(--ink); }
.mobilebar__wa {
  border: 1.5px solid rgba(232, 205, 139, .5);
  color: var(--cream);
  font-weight: 500;
}
.mobilebar__wa:hover { color: var(--cream); }
/* Hidden while a form field has focus, so it never covers the keyboard. */
.field-focus .mobilebar {
  transform: translateY(calc(100% + 16px));
  opacity: 0;
  pointer-events: none;
}

.wa-fab {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--ink);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  place-items: center;
  box-shadow: 0 6px 24px rgba(12, 42, 25, .28);
}
.wa-fab:hover { background: var(--ink-hover); color: var(--gold-light); }

@media (min-width: 960px) {
  .mobilebar { display: none; }
  .wa-fab { display: grid; }
}

/* ---------------------------------------------------------------- about */
/* Who we are: heading on the left, the client's text on the right from 960px. */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px) clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-intro__body {
  max-width: 38em;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-intro__body p { color: var(--text); text-wrap: pretty; }
.about-intro__body .about-intro__lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
@media (min-width: 960px) {
  .about-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* Core values: six short definitions in a grid, ruled like the rooms list. */
.values {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.4vw, 40px);
}
.values__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 clamp(32px, 4vw, 64px);
}
.values__list > div {
  border-top: 1px solid var(--rule);
  padding: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.values__list dt {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.values__list dd { margin: 0; color: var(--muted); }

/* Founder profile (team page): portrait card beside the bio from 860px. */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.profile__portrait {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.profile__portrait img { width: 100%; height: 100%; object-fit: cover; }
.profile__monogram {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 6rem);
  letter-spacing: .04em;
  color: var(--gold-light);
}
.profile__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 40em;
}
.profile__text p:not(.eyebrow) { text-wrap: pretty; }
.profile__creds {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: -6px;
  padding-bottom: 6px;
}
@media (min-width: 860px) {
  .profile { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}

/* Long-form information panels: who cares for your parent, everyday life, couples. */
.info {
  scroll-margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.4vw, 36px);
}
.info__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (min-width: 960px) {
  .info__intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.info__body { display: flex; flex-direction: column; gap: 16px; max-width: 38em; }
.info__body p { text-wrap: pretty; }
.info__body p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}
.info__sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: clamp(8px, 1.6vw, 16px);
}

/* Numbered cards. points--day swaps the numbers for times of day. */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: -8px;
}
.points li {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.points__num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
}
@media (min-width: 1100px) {
  .points--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.points--day .points__num { text-transform: uppercase; letter-spacing: .14em; font-family: var(--sans); font-size: 13px; }
.points h4 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.points p { font-size: 17px; color: var(--muted); text-wrap: pretty; }

/* Ticked list; checks--two splits into two columns on wide screens. */
.checks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 clamp(32px, 4vw, 64px);
  margin-top: -8px;
}
@media (min-width: 860px) {
  .checks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.checks li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--rule-soft);
  text-wrap: pretty;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.checks b { color: var(--ink); font-weight: 600; }

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 30em;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  text-wrap: pretty;
}

.info__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: clamp(20px, 3vw, 32px);
}
.info__cta p { flex: 1 1 320px; color: var(--ink); text-wrap: pretty; }
.info__cta .pill--onLight:hover { background: var(--white); }

.letter-page {
  padding: clamp(48px, 9vw, 128px) var(--gutter);
}
.letter-page article {
  max-width: 34em;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.6vw, 32px);
}
.letter-page__open {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: pretty;
}
.letter-page p:not(.eyebrow):not(.letter-page__open) {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.62;
  color: var(--text);
  text-wrap: pretty;
}
.letter-page__sign {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}
.letter-page__sign p { font-style: italic; color: var(--ink) !important; }

.registration {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.registration__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.registration__seal {
  display: flex;
  align-items: center;
  gap: 16px;
}
.registration__seal .medallion { width: 64px; height: 64px; }

/* The Ministry's logo, shown beside the approval statement. */
.approval {
  justify-self: center;
  width: 100%;
  max-width: 420px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--cream);
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: 0 1px 2px rgba(12, 42, 25, .06), 0 24px 48px -24px rgba(12, 42, 25, .35);
}
.approval__logo {
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--white);
}
.approval__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.approval figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

/* Rooms and grounds: two plain definition lists side by side. */
.rooms-safety {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}
.rooms-safety__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0 clamp(40px, 6vw, 96px);
}
.rooms-safety dl > div {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rooms-safety dl > div:last-child { border-bottom: 1px solid var(--rule); }
.rooms-safety dt {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.rooms-safety dd { margin: 0; color: var(--muted); }

/* What families say. One card fills the row; more cards share it. */
.reviews {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.review {
  margin: 0;
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__mark {
  font-family: var(--serif);
  font-size: 72px;
  line-height: .6;
  height: 32px;
  color: var(--gold);
}
.review blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 36em;
  text-wrap: pretty;
}
.review figcaption {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
}
.review figcaption::before { content: "\2014\00a0"; color: var(--gold); }

/* Vision and mission: two short statements side by side on dark green. */
.purpose {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 44px);
}
.purpose__cols {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.purpose__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--rule-dark);
  padding-top: 24px;
}
.purpose__item p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  color: var(--cream);
  text-wrap: pretty;
}

/* Until the client sends names and photos, the section is a short centred
   "coming soon" note rather than a grid of empty cards. */
.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.team > p:not(.eyebrow):not(.team__soon) { max-width: 46ch; color: var(--muted); }
.team .pill { margin-top: 8px; }
.team__soon {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: 999px;
  padding: 6px 14px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.team figure {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 10px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  background: #EFE7D3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.team__photo span:last-child { font-size: 15px; font-weight: 600; color: var(--muted); }
.team figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
}
.team figcaption b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--muted);
}
.team figcaption span { font-size: 17px; color: var(--muted); }

.glance {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}
.glance .eyebrow { color: var(--gold-light); }
.glance .section-head__text p { color: var(--muted-light); }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark);
}
.facts > div {
  padding: clamp(24px, 3vw, 36px) 12px clamp(24px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.facts dt {
  order: 2;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.35;
}
.facts dd {
  margin: 0;
  order: 1;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cream);
  font-variant-numeric: lining-nums;
}
/* Words and times need far less room than a big numeral. */
.facts__word {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  line-height: 1.1 !important;
}
.facts > div:not(:nth-child(2n+1)) {
  border-left: 1px solid var(--rule-dark);
  padding-left: clamp(16px, 2vw, 28px);
}
@media (min-width: 1000px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:not(:nth-child(2n+1)) { border-left: 0; padding-left: 0; }
  .facts > div:not(:nth-child(3n+1)) {
    border-left: 1px solid var(--rule-dark);
    padding-left: clamp(16px, 2vw, 28px);
  }
}

/* ---------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(12, 42, 25, .95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 72px 16px 24px;
  touch-action: pan-y;
}
.lightbox__bar {
  position: fixed;
  top: 12px;
  left: 16px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream);
}
.lightbox__count { font-size: 15px; color: var(--muted-light); }
.round-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 205, 139, .6);
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.lightbox img {
  width: auto;
  height: auto;
  max-width: min(600px, 100%);
  max-height: calc(100vh - 220px);
  aspect-ratio: 720 / 1120;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--ink-hover);
}
.lightbox__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 600px;
  text-align: center;
}
.lightbox__caption p { font-size: 17px; line-height: 1.45; color: var(--cream); }
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
}
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
@media (min-width: 960px) {
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
}

/* ---------------------------------------------------------------- care page */
.jump {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jump ul { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.jump a:hover { background: #F1E6CB; color: var(--ink); }

.svc-section {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(8px, 1vw, 12px) clamp(8px, 1vw, 12px) clamp(12px, 2vw, 24px);
}
.svc-section__head {
  background: var(--ink);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3.4vw, 44px) clamp(20px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-section__head .tick { height: 3px; }
.svc-section__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.014em;
  color: var(--cream);
}
.svc-section > ul { padding: 0 clamp(12px, 4vw, 52px); }
.svc-row {
  scroll-margin-top: 24px;
  margin: 0 calc(-1 * clamp(8px, 1.6vw, 20px));
  padding: clamp(32px, 4.4vw, 56px) clamp(8px, 1.6vw, 20px);
  border-radius: 0;
  background: rgba(248, 242, 227, 0);
  box-shadow: inset 0 0 0 2px rgba(199, 154, 59, 0);
  transition: background 900ms var(--ease), box-shadow 900ms var(--ease);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px clamp(24px, 3vw, 40px);
  align-items: start;
}
.svc-row + .svc-row { border-top: 1px solid var(--rule-soft); }
/* Flashed for a moment after the jump list takes you here. */
.svc-row.is-flash {
  background: var(--cream);
  box-shadow: inset 0 0 0 2px var(--gold);
  border-radius: var(--radius-sm);
}
.svc-row .medallion { width: 64px; height: 64px; }
.svc-row__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 52ch;
}
.svc-row__text h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
}
.svc-row__text p {
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}
.svc-row .pill {
  grid-column: 1 / -1;
  justify-self: start;
  white-space: nowrap;
}
@media (min-width: 820px) {
  .svc-row { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .svc-row .medallion { width: 84px; height: 84px; }
  .svc-row .pill { grid-column: auto; justify-self: end; align-self: center; }
}

.stay {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px clamp(40px, 6vw, 96px);
}
.stay__intro { display: flex; flex-direction: column; gap: 14px; }
.stay__intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.2;
  color: var(--ink);
}
.stay__intro p { color: var(--muted); max-width: 40ch; }
.stay dl { display: flex; flex-direction: column; }
.stay dl > div {
  border-top: 1px solid var(--rule);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stay dl > div:last-child { border-bottom: 1px solid var(--rule); }
.stay dt {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.stay dd { margin: 0; }

/* ---------------------------------------------------------------- fees page */
.fees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.fees__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.fees__col--card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  align-self: start;
}
.fees__col .pill { margin-top: 8px; }

/* The headline price. The number carries it; the words stay out of the way. */
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 10px;
  font-family: var(--serif);
  color: var(--ink);
}
.price b {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
}
.price__from,
.price__unit {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}
.price--sm b { font-size: clamp(1.8rem, 4vw, 2.4rem); }

.included {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.included li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 17px;
}
.included li:last-child { border-bottom: 0; }
.included li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) translate(2px, -2px);
}
.included__note { font-size: 15px; color: var(--muted); }

.steps { padding: 0; }
.step {
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0 clamp(32px, 5vw, 80px);
  padding: 28px 0 32px;
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.step.is-hidden { opacity: 0; transform: translateY(28px); }
.step:nth-child(even) { transition-delay: 90ms; }
.step__num {
  order: 1;
  justify-self: start;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 112px;
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--ink);
  opacity: .13;
  font-variant-numeric: lining-nums;
}
.step__text {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 48ch;
}
.step__text h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  color: var(--ink);
}
.step__text .tick { width: 40px; }
@media (min-width: 960px) {
  .step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: clamp(32px, 4vw, 48px) 0;
  }
  .step__num { font-size: clamp(180px, 17vw, 240px); }
  /* The big numerals alternate side to side down the list. */
  .step:nth-child(odd) .step__num { order: 2; justify-self: end; }
  .step:nth-child(odd) .step__text { order: 1; }
}

.faq {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}
.faq__list { border-bottom: 1px solid var(--rule-soft); }
.faq details { border-top: 1px solid var(--rule-soft); }
.faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  padding: 12px 0;
}
.faq summary span {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  transition: transform 200ms var(--ease);
}
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p {
  padding: 0 56px 24px 0;
  max-width: 64ch;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

/* ---------------------------------------------------------------- gallery */
.photos {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 88px);
  padding: clamp(24px, 5vw, 64px) clamp(16px, 5vw, 64px);
}
.photos__group { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.photos__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
}
.photos__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--ink);
}
.photos__head span { font-size: 15px; color: var(--muted); }
.photos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  padding-bottom: clamp(20px, 3vw, 40px);
}
.photos__grid li { min-width: 0; }
/* Every second tile drops, so the rows interlock rather than line up. */
.photos__grid li:nth-child(2n+2) { transform: translateY(clamp(20px, 3vw, 40px)); }
.tile {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
}
.tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.tile__frame {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #E9E1CC;
}
.tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 747;
  object-fit: cover;
}
@media (min-width: 1000px) {
  .photos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photos__grid li:nth-child(2n+2) { transform: none; }
  .photos__grid li:nth-child(3n+2) { transform: translateY(clamp(20px, 3vw, 40px)); }
}

.tour {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.tour__play {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 999px;
  border: 1.5px dashed rgba(12, 42, 25, .35);
  display: grid;
  place-items: center;
}
.tour__text {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tour__text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink);
}

/* ---------------------------------------------------------------- contact */
.contact-head {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(12px, 4vw, 56px) clamp(16px, 4vw, 48px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.contact-head__text {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
}
.contact-head__nums { display: flex; flex-direction: column; gap: 10px; }
.numcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding: 10px 12px 10px 24px;
  border-radius: var(--radius);
  text-decoration: none;
}
.numcard > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.numcard__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.numcard__num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.numcard__chip {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.numcard--gold { background: var(--gold); color: var(--ink); }
.numcard--gold:hover { background: var(--gold-light); color: var(--ink); }
.numcard--gold .numcard__num { font-weight: 600; }
.numcard--gold .numcard__chip { background: var(--ink); }
.numcard--ghost {
  border: 1.5px solid rgba(248, 242, 227, .55);
  color: var(--cream);
}
.numcard--ghost:hover { background: var(--ink-hover); color: var(--cream); }
.numcard--ghost .numcard__label { color: var(--gold-light); }
.numcard--ghost .numcard__chip { border: 1.5px solid rgba(232, 205, 139, .6); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 40px) clamp(40px, 6vw, 96px);
  align-items: start;
  padding: clamp(24px, 5vw, 64px) var(--gutter);
}
.contact__details {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid rgba(199, 154, 59, .5);
}
.contact__details li:last-child { border-bottom: 1px solid rgba(199, 154, 59, .5); }
.contact__details .pill { align-self: flex-start; margin-top: 6px; }
.contact__details address {
  font-style: normal;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
  color: var(--ink);
}
.contact__mail {
  font-size: clamp(18px, 1.8vw, 21px);
  min-height: 48px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.contact__form {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(20px, 3.4vw, 44px);
  scroll-margin-top: 16px;
}
.contact__map {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #E9E1CC;
}
.contact__map a { align-self: flex-start; min-height: 48px; display: flex; align-items: center; font-size: 17px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .contact__form { grid-column: 2; grid-row: 1 / span 2; }
  .contact__map { grid-column: 1; grid-row: 2; }
  .contact__map iframe { height: 280px; }
}

/* ---------------------------------------------------------------- form */
.form { display: flex; flex-direction: column; gap: 24px; }
.form__intro { display: flex; flex-direction: column; gap: 8px; }
.form__intro p:last-child { font-size: 17px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.field label { font-size: 17px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--field);
  background: var(--white);
  font: inherit;
  font-size: 18px;
  color: var(--text);
  scroll-margin: 120px 0 45vh;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 52px;
  cursor: pointer;
}
.field__select { position: relative; }
.field__select svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.field .hint { font-size: 15px; color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--error);
}
.field-error.is-shown { display: flex; }
.form__summary {
  display: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--error);
}
.form__summary.is-shown { display: block; }

.check {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1.5px solid var(--field);
  cursor: pointer;
  font-size: 18px;
}
.check input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--ink);
  flex: none;
}
.check span { color: var(--muted); font-size: 16px; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.form__foot > span { font-size: 16px; color: var(--muted); }
.form__foot a { font-weight: 600; white-space: nowrap; }

.sent {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: clamp(8px, 2vw, 16px) 0;
}
.sent h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  color: var(--ink);
}
.sent > p { font-size: clamp(18px, 1.8vw, 20px); max-width: 40ch; }
.sent__urgent {
  width: 100%;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.sent__urgent p { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.pill--xl {
  min-height: 72px;
  padding: 0 10px 0 28px;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}
.pill--xl .pill__chip { width: 52px; height: 52px; }
.sent__urgent > a:last-child { min-height: 48px; display: flex; align-items: center; font-size: 17px; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .deck__card:not([data-rel="0"]) { display: none; }
  .step.is-hidden { opacity: 1; transform: none; }
}
