/* =====================================================
   Kindred Family Chiropractic
   Design language drawn from the brand identity board:
   cream canvas, hairline panels, small uppercase labels,
   editorial serif, icon rows and organic marks.
   ===================================================== */

:root {
  --teal: #153f41;
  --teal-dark: #0f3032;
  --clay: #c46948;
  --clay-light: #e0a58b;
  --cream: #fbf6ec;
  --cream-deep: #f4ead9;
  --sage: #9daf94;
  --sage-light: #dfe7d8;
  --sage-pale: #eff2ea;
  --charcoal: #262a27;
  --muted: #5b635d;
  --line: rgba(21, 63, 65, 0.14);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin-top: 0; }
::selection { background: var(--sage); color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 3px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--xs { width: 15px; height: 15px; stroke-width: 1.7; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; top: -60px; left: 20px; z-index: 100;
  background: var(--teal); color: var(--cream);
  padding: 10px 18px; border-radius: 0 0 8px 8px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Demo overlay ---------- */
.demo-open { overflow: hidden; }
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 48, 50, 0.76);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.demo-overlay.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.demo-overlay__card {
  width: min(100%, 460px);
  padding: clamp(34px, 5vw, 52px);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.demo-overlay__card:focus { outline: none; }
.demo-overlay__card img { margin: 0 auto 22px; }
.demo-overlay__card .label { margin-bottom: 16px; }
.demo-overlay__card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 16px; }
.demo-overlay__card #demo-text { margin-bottom: 30px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.demo-overlay__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Shared editorial bits ---------- */
.label {
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.label--light { color: var(--clay-light); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--teal); letter-spacing: -0.025em; }
h1, h2 { line-height: 1.08; }
em { font-weight: 400; font-style: italic; color: var(--clay); }
.label--light ~ h2 em, .hello h2 em { color: var(--clay-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--cream); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--ghost { border-color: var(--line); color: var(--teal); }
.btn--ghost:hover { background: rgba(21,63,65,.05); border-color: var(--teal); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--teal); font-size: 14px; font-weight: 600; text-decoration: none;
}
.link-arrow .icon {
  width: 34px; height: 34px; padding: 9px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background-color .25s, color .25s, border-color .25s;
}
.link-arrow:hover .icon { background: var(--teal); color: var(--cream); border-color: var(--teal); }

.link-quiet {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 13.5px; text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.link-quiet:hover { color: var(--clay); border-color: var(--clay); }

/* ---------- Top ribbon ---------- */
.top-ribbon {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 34px;
  background: var(--sage-light);
  color: var(--teal);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.top-ribbon .icon { width: 13px; height: 13px; color: var(--clay); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); }
.brand img { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 25px; letter-spacing: -0.02em; }
.brand__sub { margin-top: 6px; font-size: 8px; letter-spacing: 0.26em; color: var(--charcoal); }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.nav-list { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-list a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none; transition: color .2s;
}
.nav-list a:hover, .nav-list a.is-current { color: var(--clay); }
.header-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
}
.header-cta .icon { width: 28px; height: 28px; padding: 7px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .25s, color .25s; }
.header-cta:hover .icon { background: var(--teal); color: var(--cream); }
.nav-toggle { display: none; }

/* ---------- Masthead ---------- */
/* Photo: Pexels / zafffmine — https://www.pexels.com/photo/sunlit-interior-with-geometric-shadows-32898153/ */
.masthead {
  padding: clamp(60px, 7vw, 100px) 0 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background-image: linear-gradient(rgba(251, 246, 236, 0.82), rgba(251, 246, 236, 0.82)), url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
.masthead__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(50px, 7vw, 110px); }
.masthead h1 { font-size: clamp(3.4rem, 6vw, 6.1rem); line-height: 0.98; margin-bottom: 0; }
.masthead h1 span { display: block; }
.masthead h1 span:last-child { font-size: 0.68em; letter-spacing: -0.02em; }
.clay-rule { position: relative; width: min(280px, 70%); height: 1px; margin: 34px 0 28px; background: var(--clay); }
.clay-rule svg { position: absolute; right: -6px; top: -15px; width: 52px; }
.masthead__tagline { color: var(--clay); font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-style: italic; line-height: 1.3; margin-bottom: 22px; }
.masthead__body { max-width: 500px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.masthead__links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }

.masthead__art { position: relative; display: grid; place-items: center; min-height: 510px; }
.masthead__blob {
  position: absolute;
  width: min(100%, 470px); aspect-ratio: 1;
  background: var(--sage-light);
  border-radius: 57% 43% 48% 52% / 47% 55% 45% 53%;
  transform: rotate(-13deg);
}
.masthead__circle { position: relative; width: min(88%, 440px); filter: drop-shadow(0 18px 36px rgba(21,63,65,.1)); }
.masthead__mark {
  position: absolute; left: 2%; bottom: 8%;
  width: 94px; height: 94px; padding: 19px;
  background: var(--cream); border-radius: 50%;
  box-shadow: 0 12px 26px rgba(21,63,65,.12);
}
.masthead__caption {
  position: absolute; bottom: 4px; right: 2%;
  color: var(--clay); font-family: var(--serif); font-size: 14px; font-style: italic;
}

.keyword-strip { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 76px; border-block: 1px solid var(--line); }
.keyword { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 8px; text-align: center; }
.keyword + .keyword { border-left: 1px solid var(--line); }
.keyword .icon { width: 26px; height: 26px; color: var(--clay); }
.keyword span { color: var(--teal); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Panels ---------- */
.panel { padding: clamp(80px, 9vw, 132px) 0; border-bottom: 1px solid var(--line); }
.panel--sage { background: var(--sage-pale); }
.panel__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.panel__label h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); margin-bottom: 20px; }
.panel__label > p:not(.label) { max-width: 360px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.palette { display: flex; gap: 9px; margin-top: 34px; }
.palette i { width: 22px; height: 22px; border-radius: 50%; }
.palette i:nth-child(1) { background: var(--teal); }
.palette i:nth-child(2) { background: var(--clay); }
.palette i:nth-child(3) { background: var(--cream); border: 1px solid var(--line); }
.palette i:nth-child(4) { background: var(--sage); }
.palette i:nth-child(5) { background: var(--charcoal); }

.list-row { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.list-row:last-child { border-bottom: 1px solid var(--line); }
.list-row__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage-light); color: var(--teal); }
.list-row__icon .icon { width: 22px; height: 22px; }
.list-row h3 { font-size: 22px; margin: 3px 0 6px; }
.list-row p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 168px; padding: 26px; background: var(--cream); }
.value__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; background: var(--sage-light); color: var(--teal); }
.value__icon .icon { width: 19px; height: 19px; }
.value > span { font-family: var(--serif); font-size: 19px; color: var(--teal); }
.value small { color: var(--muted); font-size: 12.5px; }

/* ---------- Care spread ---------- */
.care { padding: clamp(80px, 9vw, 132px) 0; }
.care__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.care__copy h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: 24px; }
.care__copy > p { max-width: 480px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.care__notes { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 32px; }
.care__notes span { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 13px; }
.care__notes .icon { color: var(--clay); }
.care__figure { margin: 0; }
.care__frame { width: min(100%, 400px); margin-left: auto; aspect-ratio: 0.82; overflow: hidden; border-radius: 200px 200px 4px 4px / 150px 150px 4px 4px; box-shadow: 0 24px 50px rgba(21,63,65,.14); }
.care__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.care__figure figcaption { margin-top: 16px; color: var(--clay); font-family: var(--serif); font-size: 15px; font-style: italic; text-align: right; }

/* ---------- Photo spread ---------- */
.spread { padding-bottom: clamp(80px, 9vw, 130px); }
.spread__head { max-width: 640px; margin-bottom: 46px; }
.spread__head h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
.spread__grid { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: clamp(24px, 4vw, 48px); align-items: end; }
.spread__figure { margin: 0; }
.spread__frame { overflow: hidden; border: 1px solid var(--line); background: var(--sage-light); }
.spread__frame img { width: 100%; height: 100%; object-fit: cover; }
.spread__figure--wide .spread__frame { aspect-ratio: 1.35; border-radius: 140px 6px 6px 6px; }
.spread__figure--wide img { object-position: 50% 38%; }
.spread__figure--tall .spread__frame { aspect-ratio: 0.78; border-radius: 6px 140px 6px 6px; }
.spread__figure--tall img { object-position: 50% 32%; }
.spread__figure figcaption { margin-top: 14px; color: var(--clay); font-family: var(--serif); font-size: 14px; font-style: italic; }
.spread__figure--wide figcaption { text-align: left; }
.spread__figure--tall figcaption { text-align: right; }

/* ---------- Good to know ---------- */
.facts { background: var(--cream-deep); border-block: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 24px 12px; color: var(--teal); font-size: 11.5px; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .icon { width: 19px; height: 19px; color: var(--clay); }

/* ---------- Questions ---------- */
.qa-list details { border-top: 1px solid var(--line); }
.qa-list details:last-child { border-bottom: 1px solid var(--line); }
.qa-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; color: var(--teal); font-size: 15.5px; font-weight: 500; }
.qa-list summary::-webkit-details-marker { display: none; }
.qa__icon { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.7); transition: transform .25s; }
.qa-list details[open] .qa__icon { transform: rotate(45deg); }
.qa-list details p { max-width: 620px; margin: -6px 0 24px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ---------- Say hello ---------- */
.hello { position: relative; overflow: hidden; background: var(--teal); color: var(--cream); padding: clamp(90px, 10vw, 150px) 0; }
.hello__inner { position: relative; z-index: 1; max-width: 740px; }
.hello h2 { color: var(--cream); font-size: clamp(3rem, 5.5vw, 4.8rem); margin-bottom: 22px; }
.hello__inner > p:not(.label) { max-width: 520px; color: rgba(251,246,236,.78); font-size: 17px; line-height: 1.8; }
.hello__details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 54px; border-top: 1px solid rgba(251,246,236,.22); }
.hello__details > div { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(251,246,236,.22); font-size: 14px; color: rgba(251,246,236,.9); }
.hello__details .icon { color: var(--clay-light); }
.hello__details a { text-decoration: none; }
.hello__details a:hover { color: #fff; }
.hello__rings { position: absolute; right: -6%; bottom: -34%; width: min(620px, 55vw); opacity: 0.11; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-dark); color: var(--cream); padding: clamp(64px, 7vw, 96px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.15fr; gap: clamp(32px, 5vw, 70px); }
.brand--footer .brand__name { color: var(--cream); }
.brand--footer .brand__sub { color: rgba(251,246,236,.6); }
.footer__brand p { max-width: 280px; margin: 20px 0 0; color: rgba(251,246,236,.65); font-family: var(--serif); font-size: 14px; font-style: italic; line-height: 1.7; }
.footer__col h3 { margin-bottom: 18px; color: var(--clay-light); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; color: rgba(251,246,236,.72); font-size: 13.5px; }
.footer__col a { text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.footer__contact .icon { color: var(--clay-light); margin-top: 3px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(251,246,236,.16); font-size: 11.5px; color: rgba(251,246,236,.55); }
.footer__bottom p { margin: 0; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 7px; color: var(--cream); text-decoration: none; }
.footer__bottom a:hover { color: var(--clay-light); }

/* ---------- Booking page ---------- */
.booking-hero {
  padding: clamp(60px, 7vw, 100px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(251, 246, 236, 0.86), rgba(251, 246, 236, 0.86)), url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
.booking-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.booking-hero > .container > p:not(.label) { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.booking-main { padding: clamp(46px, 6vw, 80px) 0 clamp(80px, 9vw, 130px); }
.booking-embed {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  border: 1px solid var(--line);
  background: var(--cream);
  contain: layout;
}
.booking-embed iframe { display: block; width: 100%; min-height: 320px; border: 0; }
.booking-notes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-block: 1px solid var(--line); }
.booking-note { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 22px 12px; color: var(--teal); font-size: 11.5px; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.booking-note + .booking-note { border-left: 1px solid var(--line); }
.booking-note .icon { width: 19px; height: 19px; color: var(--clay); }
.booking-note a { text-decoration: none; }

/* ---------- Contact page ---------- */
.contact-main { padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 9vw, 130px); }
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.contact__details h2, .contact__form-wrap h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); margin-bottom: 28px; }
.contact-list { list-style: none; margin: 0 0 34px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sage-light); color: var(--teal); }
.contact-list__icon .icon { width: 18px; height: 18px; }
.contact-list small { display: block; margin-bottom: 4px; color: var(--clay); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-list li > span:last-child { color: var(--charcoal); font-size: 14.5px; line-height: 1.5; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--clay); }

.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--teal); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.field label span { color: var(--muted); letter-spacing: 0; text-transform: none; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}
.field textarea { min-height: 155px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa19c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(157, 175, 148, 0.25); }
.contact-form__submit { justify-self: start; }
.contact-form__submit[disabled] { opacity: 0.6; cursor: wait; }
.contact-form__status { min-height: 22px; margin: 0; color: var(--teal); font-size: 13.5px; }
.contact-form__status.is-error { color: var(--clay); }
.contact-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1050px) {
  .nav-list { gap: 15px; }
  .nav-list a { font-size: 11px; letter-spacing: 0.05em; }
  .primary-nav { gap: 18px; }
  .header-cta { font-size: 11px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px; border: 1px solid var(--line);
    border-radius: 50%; background: none; color: var(--teal); cursor: pointer;
  }
  .nav-toggle .icon { width: 19px; height: 19px; }
  .nav-toggle .icon--close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--close { display: block; }

  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 0 24px; background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(21,63,65,.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: 12px 0; font-size: 14px; }
  .header-cta { align-self: flex-start; margin-top: 18px; }

  .masthead__grid, .panel__grid, .care__grid { grid-template-columns: 1fr; }
  .masthead__art { width: min(100%, 500px); margin-inline: auto; min-height: 460px; }
  .care__grid { gap: 56px; }
  .care__frame { margin-inline: auto; }
  .care__figure figcaption { text-align: center; }
  .spread__grid { grid-template-columns: 1fr; gap: 36px; }
  .spread__figure--wide .spread__frame, .spread__figure--tall .spread__frame { aspect-ratio: 1.2; border-radius: 110px 6px 6px 6px; }
  .spread__figure--tall .spread__frame { border-radius: 6px 110px 6px 6px; }
  .keyword-strip { grid-template-columns: repeat(3, 1fr); }
  .keyword:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .keyword:nth-child(n+4) { border-top: 1px solid var(--line); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .booking-notes { grid-template-columns: 1fr; }
  .booking-note + .booking-note { border-left: 0; border-top: 1px solid var(--line); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 36px, var(--container)); }
  .top-ribbon { font-size: 9px; gap: 8px; letter-spacing: 0.16em; }
  .brand img { width: 36px; height: 36px; }
  .brand__name { font-size: 22px; }
  .masthead { padding-top: 50px; }
  .masthead h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .masthead__links { flex-direction: column; align-items: flex-start; gap: 20px; }
  .masthead__art { min-height: 370px; }
  .masthead__circle { width: min(86%, 340px); }
  .masthead__mark { width: 76px; height: 76px; padding: 15px; }
  .masthead__caption { display: none; }
  .keyword-strip { grid-template-columns: repeat(2, 1fr); }
  .keyword:nth-child(3) { border-left: 0; }
  .keyword:nth-child(n+3) { border-top: 1px solid var(--line); }
  .value-grid { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .list-row { grid-template-columns: 44px 1fr; gap: 14px; }
  .list-row__icon { width: 42px; height: 42px; }
  .spread__frame { border-radius: 80px 4px 4px 4px !important; }
  .spread__figure figcaption { text-align: left !important; }
  .booking-embed { min-height: 480px; }
  .form-row { grid-template-columns: 1fr; }
  .hello__details { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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