/* ============ Tokens ============ */
:root {
  --bg: #f3efe4;          /* parchment */
  --ink: #1f3a2b;         /* deep forest */
  --ink-soft: #5a6b5f;
  --accent: #b5562b;      /* clay / ember */
  --line: rgba(31, 58, 43, .08);
  --bar-bg: rgba(243, 239, 228, .88);

  --sidebar-w: 220px;
  --gap: 12px;
  --pad: 30px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

/* Colour themes for the home boxes and their pages
   (deep = page background, mid = second background colour, accent = highlights). */
.t-wellness   { --t-deep: #11200f; --t-mid: #3d6a2c; --t-glow: rgba(150, 200, 100, .4);  --t-accent: #bfe08f; }
.t-herbal     { --t-deep: #13200f; --t-mid: #2f4a22; --t-glow: rgba(170, 190, 90, .4);   --t-accent: #c9dc8a; }
.t-studio     { --t-deep: #241a14; --t-mid: #5a3d2c; --t-glow: rgba(230, 160, 110, .42); --t-accent: #f2bf95; }
.t-regimental { --t-deep: #220f12; --t-mid: #5a2630; --t-glow: rgba(220, 120, 110, .4);  --t-accent: #f1a7a0; }

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

/* Smooth page-to-page morph (home box → page hero) in browsers that support it */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  html { scroll-behavior: smooth; }
}
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============ Sidebar ============ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 20;
}

/* Triguna Wellness logo (images/logo.png; logo-light.png on the dark pages) */
.logo {
  view-transition-name: site-logo;
  display: block;
  width: calc(var(--sidebar-w) - 48px);
  margin-left: -6px;
}
.logo img {
  width: 100%;
  height: auto;
  transform-origin: left center;
  transition: transform .6s var(--ease);
}
.logo:hover img { transform: scale(1.04); }

.nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  width: fit-content;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle { display: none; }

/* ============ Content ============ */
.content {
  position: relative;
  z-index: 1;
  margin-left: var(--sidebar-w);
  padding: var(--pad) var(--pad) var(--pad) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ Home — 4 boxes, all landscape so designed thumbnails aren't cropped ============
   ┌────────────────┬────────┐
   │                │   2    │
   │       1        ├────────┤
   │                │   3    │
   ├────────────────┴────────┤
   │            4            │
   └─────────────────────────┘
*/
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.grid--home .card:nth-child(1) { grid-column: 1 / 9;  grid-row: 1 / 3; aspect-ratio: 16 / 9; --r: 64px 16px 16px 16px; }
.grid--home .card:nth-child(2) { grid-column: 9 / 13; grid-row: 1;     --r: 16px 64px 16px 16px; }
.grid--home .card:nth-child(3) { grid-column: 9 / 13; grid-row: 2;     --r: 16px 16px 48px 16px; }
.grid--home .card:nth-child(4) { grid-column: 1 / 13; grid-row: 3; aspect-ratio: 12 / 5; --r: 16px 16px 16px 64px; }

/* Headline overlay matching the client's designed thumbnail (box 1):
   large Italiana headline with a hard dark offset shadow, then "Read More"
   between two thin rules, over a darkened lower edge. Used on boxes that
   don't have their own designed thumbnail yet.
   Sizes use container units so the layout scales with each box;
   cqb caps keep it in proportion on the wide banner. */
.tt-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(24, 14, 8, .8) 0%, rgba(24, 14, 8, .48) 30%, rgba(24, 14, 8, 0) 62%);
}
.thumb-text {
  --fs: min(11.4cqi, 20cqb, var(--fit, 11.4cqi));
  position: absolute;
  left: 50%;
  bottom: min(7.4cqi, 13cqb);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  pointer-events: none;
  color: #fff;
}
.tt-head {
  font-family: "Italiana", var(--font-display);
  font-size: var(--fs);
  line-height: 1;
  letter-spacing: -.005em;
  white-space: nowrap;
  -webkit-text-stroke: calc(var(--fs) * .017) #fff;   /* Italiana is light; this brings it closer to the brand font's weight */
  paint-order: stroke fill;
  text-shadow: calc(var(--fs) * .042) calc(var(--fs) * .038) 0 #140b06;
}
.tt-more {
  display: flex;
  align-items: center;
  gap: calc(var(--fs) * .13);
  width: 100%;
  min-width: max(56cqi, 140px);
  margin-top: calc(var(--fs) * .1);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: max(11px, var(--fs) * .3);
  letter-spacing: .16em;
  white-space: nowrap;
}
.tt-more::before,
.tt-more::after {
  content: "";
  flex: 1;
  height: max(1px, var(--fs) * .011);
  background: rgba(255, 255, 255, .92);
  transform: translateY(.35em);
}

/* ============ Card (home boxes) ============
   Fades up on load; on hover the photo slowly zooms and the box lifts a little. */
.card {
  --r: 16px;
  position: relative;
  display: block;
  container-type: size;
  overflow: hidden;
  isolation: isolate;                 /* keeps the zoomed photo clipped to the rounded corners in Safari */
  border-radius: var(--r);
  background: #cfd6c4;
  box-shadow: 0 1px 2px rgba(31, 58, 43, .08), 0 18px 40px -22px rgba(31, 58, 43, .45);
  animation: rise .9s var(--ease) both;
  animation-delay: calc(var(--d) * 110ms + 100ms);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

/* the load-in uses `translate`, so it doesn't fight the hover lift on `transform` */
@keyframes rise {
  from { opacity: 0; translate: 0 24px; }
}
.vt .card { animation: none; }

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 2px rgba(31, 58, 43, .08), 0 28px 50px -24px rgba(31, 58, 43, .55);
  }
  .card:hover img { transform: scale(1.045); }
}

.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ============ Wellness Retreats page ============ */
.page-intro { padding: 2vh 0 0; }
.page-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .3s;
}
.page-back:hover { color: var(--accent); }
.page-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-intro-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding-bottom: clamp(32px, 6vh, 64px);
}
.page-intro h1 {
  grid-column: 1 / 7;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.8vw, 74px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.page-intro h1 em { color: var(--accent); }
.page-intro-text { grid-column: 8 / 13; }
.page-intro-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.page-intro-text p + p { margin-top: 1em; }

.grid-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 58, 43, .16);
}
.grid-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
}
.grid-heading span { flex: none; font-family: var(--font-display); font-size: 14px; color: var(--accent); }

/* ---- index: the 7 designed squares, one large + six small (never cropped) ----
   ┌──────────┬────┬────┬────┐
   │          │ 2  │ 3  │ 4  │
   │    1     ├────┼────┼────┤
   │          │ 5  │ 6  │ 7  │
   └──────────┴────┴────┴────┘
*/
.r-mosaic {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}
.r-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c);
  box-shadow: 0 1px 2px rgba(31, 58, 43, .08), 0 18px 40px -26px rgba(31, 58, 43, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.r-tile:first-child { grid-column: span 2; grid-row: span 2; border-top-left-radius: 72px; }
.r-tile:last-child { border-bottom-right-radius: 56px; }
.r-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.r-tile:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(31, 58, 43, .08), 0 26px 50px -24px rgba(31, 58, 43, .55); }
.r-tile:hover img { transform: scale(1.03); }
.r-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.r-tile-go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s var(--ease);
}
.r-tile:hover .r-tile-go,
.r-tile:focus-visible .r-tile-go { opacity: 1; transform: none; }

/* ---- sticky jump-to bar ---- */
.r-nav {
  position: sticky;
  top: var(--bar-h, 0px);
  z-index: 10;
  display: flex;
  gap: 8px;
  margin-top: clamp(40px, 8vh, 80px);
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 58, 43, .1);
}
.r-nav::-webkit-scrollbar { display: none; }
.r-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(31, 58, 43, .16);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .3s, border-color .3s;
}
.r-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(20, 32, 26, .18);   /* keeps very light colours (pink, lime) visible */
}
.r-nav a:hover { border-color: var(--c); }
.r-nav a.is-active { background: var(--c); border-color: var(--c); color: #14201a; }
.r-nav a.is-active::before { background: #14201a; }

/* ---- one retreat: designed photo + the document's copy, tinted to the photo's frame colour ---- */
.r-section {
  --tint: color-mix(in srgb, var(--c) 22%, #faf7f0);
  --deep: color-mix(in srgb, var(--c) 42%, #14201a);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  align-items: start;
  margin-top: clamp(16px, 3vh, 28px);
  padding: clamp(22px, 4vw, 56px);
  border-radius: 24px 96px 24px 24px;
  background: var(--tint);
  scroll-margin-top: calc(var(--bar-h, 0px) + 76px);
}
.r-section--flip { border-radius: 96px 24px 24px 24px; }

.r-media {
  grid-column: 1 / 6;
  grid-row: 1;
  position: sticky;
  top: calc(var(--bar-h, 0px) + 92px);
  margin: 0;
}
.r-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 60px -36px rgba(20, 32, 26, .6);
}
.r-body { grid-column: 7 / 13; grid-row: 1; }
.r-section--flip .r-media { grid-column: 8 / 13; }
.r-section--flip .r-body { grid-column: 1 / 7; }

.r-num {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--deep);
}
.r-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -.025em;
}
.r-tagline {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.3;
  color: var(--deep);
}
.r-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3e4f43;
}
.r-text p + p { margin-top: 1em; }

.r-subhead {
  margin: 36px 0 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 32, 26, .14);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--deep);
}
.r-subhead + .r-text { margin-top: 12px; }

.r-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.r-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 32, 26, .1);
}
.r-list li:last-child { border-bottom: 0; }
.r-list .n {
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--deep);
}
.r-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
}
.r-list .d {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5b50;
}

.r-closing {
  margin-top: 36px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 18px 18px 56px 18px;
  background: var(--deep);
  color: #f6f2e8;
}
.r-closing-line {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.r-closing-line em { font-style: italic; color: color-mix(in srgb, var(--c) 70%, #fff); }
.r-cta {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 242, 232, .82);
}
.r-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 99px;
  background: #f6f2e8;
  color: var(--deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s;
}
.r-btn:hover { transform: translateY(-2px); background: #fff; }

/* ============ Scroll reveal (only when JS is running) ============ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ============ Contact page ============ */
.contact { padding: 2vh 0 clamp(40px, 8vh, 80px); }
.contact-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(32px, 6vh, 64px);
}
.contact-head h1 {
  grid-column: 1 / 7;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: .98;
  letter-spacing: -.03em;
}
.contact-head h1 em { color: var(--accent); }
.contact-head p {
  grid-column: 8 / 13;
  margin: 0 0 .6em;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.contact-card {
  --deep: color-mix(in srgb, var(--c) 45%, #14201a);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: 24px 24px 24px 24px;
  background: color-mix(in srgb, var(--c) 20%, #faf7f0);
  box-shadow: 0 1px 2px rgba(31, 58, 43, .06), 0 18px 40px -28px rgba(31, 58, 43, .4);
  animation: rise .9s var(--ease) both;
  animation-delay: calc(var(--d) * 110ms + 150ms);
}
.contact-card:first-child { border-top-left-radius: 72px; }
.contact-card:last-child { border-bottom-right-radius: 72px; }
.vt .contact-card { animation: none; }

.contact-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: clamp(28px, 5vh, 56px);
  border-radius: 50%;
  background: var(--c);
  color: #fff;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--deep);
}
.contact-value {
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.contact-value:hover,
.contact-value:focus-visible { background-size: 100% 1.5px; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 4vh, 40px);
}
.contact-btn,
.contact-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 99px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.contact-btn { background: var(--deep); color: #f6f2e8; }
.contact-btn:hover { transform: translateY(-2px); }
.contact-copy {
  min-width: 104px;
  border: 1px solid color-mix(in srgb, var(--deep) 35%, transparent);
  background: transparent;
  color: var(--deep);
}
.contact-copy:hover { border-color: var(--deep); }
.contact-copy.is-copied { background: var(--deep); border-color: var(--deep); color: #f6f2e8; }
.contact-btn:focus-visible,
.contact-copy:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.contact-explore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: clamp(32px, 6vh, 56px);
  padding-top: 18px;
  border-top: 1px solid rgba(31, 58, 43, .14);
}
.contact-explore p {
  margin: 0 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-explore a {
  padding: 9px 16px;
  border: 1px solid rgba(31, 58, 43, .16);
  border-radius: 99px;
  font-size: 14px;
  transition: border-color .3s, color .3s;
}
.contact-explore a:hover { border-color: var(--accent); color: var(--accent); }

/* ============ Footer ============ */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-soft);
}
.footer p { margin: 0; }
.footer-note { font-family: var(--font-display); font-style: italic; }

/* ============ Tablet ============ */
@media (max-width: 1024px) {
  :root { --sidebar-w: 180px; --pad: 22px; }
}

/* ============ Mobile ============ */
@media (max-width: 768px) {
  :root { --pad: 16px; --gap: 10px; }

  .sidebar {
    position: sticky;
    bottom: auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 12px var(--pad);
    background: var(--bar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  .logo { width: auto; margin-left: 0; }
  .logo img { width: auto; height: 46px; }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .35s var(--ease);
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    padding: 18px var(--pad) 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { font-size: 13px; }

  .content {
    margin-left: 0;
    padding: var(--pad);
    min-height: auto;
  }

  /* home: boxes stack, each 16:9 */
  .grid--home { grid-template-columns: 1fr; }
  .grid--home .card:nth-child(n) { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 9; }
  .grid--home .card:nth-child(1) { --r: 44px 14px 14px 14px; }
  .grid--home .card:nth-child(2) { --r: 14px 44px 14px 14px; }
  .grid--home .card:nth-child(3) { --r: 14px 14px 44px 14px; }
  .grid--home .card:nth-child(4) { --r: 14px 14px 14px 44px; }

  /* Wellness Retreats page */
  .page-intro-grid { display: block; }
  .page-intro h1 { margin-bottom: 20px; }

  .contact-head { display: block; }
  .contact-head h1 { margin-bottom: 16px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card:first-child { border-top-left-radius: 48px; }
  .contact-card:last-child { border-bottom-right-radius: 48px; }
  .contact-icon { margin-bottom: 24px; }
  .contact-actions { width: 100%; }
  .contact-btn { flex: 1; }
  .contact-value { font-size: clamp(17px, 5.6vw, 24px); }

  .r-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-tile:first-child { grid-column: span 2; grid-row: auto; border-top-left-radius: 48px; }
  .r-tile:last-child { border-bottom-right-radius: 16px; }
  .r-tile-go { display: none; }

  .r-nav { margin-top: 48px; }

  .r-section,
  .r-section--flip {
    display: block;
    padding: 14px 14px 18px;
    border-radius: 18px 48px 18px 18px;
  }
  .r-media { position: static; margin-bottom: 24px; }
  .r-body { padding: 0 4px; }
  .r-section h2 { font-size: 32px; }
  .r-text p { font-size: 15px; }
  .r-list strong { font-size: 17px; }
  .r-list .d { font-size: 14px; }
  .r-closing { margin-top: 28px; border-radius: 14px 14px 40px 14px; }
  .r-btn { width: 100%; justify-content: center; }

  .footer { justify-content: center; text-align: center; padding-top: 20px; }
}

/* very small phones: stack the contact buttons */
@media (max-width: 380px) {
  .contact-btn, .contact-copy { flex: 1 1 100%; }
}

/* ============ Motion preferences ============ */
@media (prefers-reduced-motion: reduce) {
  .card, .contact-card { animation: none; }
  .card, .card img { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* readable by screen readers and search engines, not shown on screen */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
