/* ==========================================================================
   Sections ported from the-neighbours-hub.vercel.app (client request 2026-10-02)
   Intro, Philosophy, Breathe with us, Not a retreat, The Container, How it works.
   Everything is scoped under .nhv so the rest of the theme is untouched.
   ========================================================================== */

.nhv {
  --ink: #0d0c0a;
  --ink-2: #15140f;
  --ink-3: #1e1c17;
  --bone: #f1ebe0;
  --bone-2: #e7dece;
  --gold: #c9a84c;
  --gold-2: #e0c785;
  --gold-deep: #7a5e14;
  --paper-text: #1b1914;
  --paper-muted: #5a5448;
  --night-text: #ebe4d6;
  --night-muted: rgba(235, 228, 214, 0.68);

  --f-display: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --f-text: 'EB Garamond', Garamond, Georgia, serif;
  --f-ui: 'Jost', 'Futura', 'Helvetica Neue', system-ui, sans-serif;

  --fs-xl: clamp(2.7rem, 1.3rem + 5.6vw, 7.25rem);
  --fs-l: clamp(2.25rem, 1.35rem + 3.6vw, 5rem);
  --fs-m: clamp(1.75rem, 1.3rem + 1.8vw, 3rem);
  --fs-s: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
  --fs-body: clamp(1.09rem, 1.02rem + 0.28vw, 1.28rem);
  --fs-small: 0.98rem;
  --fs-ui: 0.72rem;

  --gutter: clamp(20px, 5.2vw, 80px);
  --maxw: 1520px;
  --measure: 36rem;
  --section: clamp(88px, 13vw, 210px);
  --radius: 2px;
  --ease: cubic-bezier(0.19, 0.72, 0.12, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  position: relative;
  font-family: var(--f-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  background-color: var(--bg);
  color: var(--fg);
}
.nhv *, .nhv *::before, .nhv *::after { box-sizing: border-box; }
.nhv :where(img, svg) { display: block; max-width: 100%; }
.nhv :where(img) { height: auto; }
.nhv :where(h1, h2, h3, p, ol, figure) { margin: 0; }
.nhv :where(ol) { list-style: none; padding: 0; }
.nhv :where(a) { color: inherit; }
.nhv :where(button) { font: inherit; cursor: pointer; }

/* Section palettes */
.nhv.t-dark { --bg: var(--ink); --fg: var(--night-text); --muted: var(--night-muted); --line: rgba(235, 228, 214, 0.14); --accent-text: var(--gold); }
.nhv.t-ink2 { --bg: var(--ink-2); --fg: var(--night-text); --muted: var(--night-muted); --line: rgba(235, 228, 214, 0.14); --accent-text: var(--gold); }
.nhv.t-light { --bg: var(--bone); --fg: var(--paper-text); --muted: var(--paper-muted); --line: rgba(27, 25, 20, 0.14); --accent-text: var(--gold-deep); }
.nhv.t-sand { --bg: var(--bone-2); --fg: var(--paper-text); --muted: var(--paper-muted); --line: rgba(27, 25, 20, 0.16); --accent-text: var(--gold-deep); }

/* Layout */
.nhv-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.nhv-section { padding-block: var(--section); }
.nhv-section + .nhv-section.t-light { padding-top: calc(var(--section) * 0.5); }
.nhv-grid-2 { display: grid; gap: clamp(40px, 6vw, 120px); }
@media (min-width: 900px) { .nhv-grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.nhv-visually-hidden { position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nhv-mt-m { margin-top: clamp(28px, 4vw, 48px); }
.nhv-mt-l { margin-top: clamp(48px, 7vw, 96px); }
.nhv-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Type */
.nhv-display { font-family: var(--f-display); font-weight: 300; font-size: var(--fs-l); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; color: var(--fg); text-transform: none; }
.nhv-display em, .nhv-lede em { font-style: italic; color: var(--accent-text); }
.nhv .nhv-display em, .nhv .nhv-display .nh-gold-italic { font-family: inherit; font-weight: inherit; font-size: inherit; letter-spacing: inherit; }
.nhv-display--xl { font-size: var(--fs-xl); line-height: 0.98; letter-spacing: -0.018em; }
.nhv-display--l { font-size: var(--fs-l); }
.nhv-display--s { font-size: var(--fs-s); line-height: 1.15; letter-spacing: 0; font-weight: 400; }
.nhv-lede { font-size: clamp(1.18rem, 1.05rem + 0.55vw, 1.55rem); line-height: 1.5; color: var(--muted); max-width: var(--measure); text-wrap: pretty; }
.nhv-prose { max-width: var(--measure); color: var(--muted); }
.nhv-prose p + p { margin-top: 1em; }
.nhv-small { font-size: var(--fs-small); }
.nhv-muted { color: var(--muted); }
.nhv-eyebrow { text-wrap: balance; font-family: var(--f-ui); font-size: var(--fs-ui); font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent-text); display: inline-flex; align-items: center; gap: 14px; line-height: 1.4; }
.nhv-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; flex: none; }
.nhv-ui { font-family: var(--f-ui); font-size: var(--fs-ui); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; }
.nhv-num { font-family: var(--f-display); font-style: italic; color: var(--accent-text); }

.nhv-heading { display: grid; gap: clamp(18px, 2.2vw, 30px); margin-bottom: clamp(48px, 7vw, 110px); }
.nhv-heading .nhv-lede { margin-top: 4px; }
.nhv-heading--split { gap: 24px; }
@media (min-width: 1024px) {
  .nhv-heading--split { grid-template-columns: 1.2fr 1fr; align-items: end; column-gap: clamp(40px, 6vw, 120px); }
  .nhv-heading--split .nhv-eyebrow { grid-column: 1 / -1; }
  .nhv-heading--split .nhv-lede { justify-self: end; }
}

/* Buttons & links */
.nhv-btn { --b: var(--gold); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 14px 26px; font-family: var(--f-ui); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--b); border-radius: var(--radius); transition: color 0.5s var(--ease), border-color 0.5s var(--ease); isolation: isolate; overflow: hidden; white-space: nowrap; }
.nhv-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); }
@media (hover: hover) { .nhv-btn:hover::before { transform: scaleY(1); } }
.nhv-btn:focus-visible::before { transform: scaleY(1); }
.nhv-btn--ghost { background: transparent; color: var(--fg); --b: color-mix(in srgb, currentColor 40%, transparent); }
@media (hover: hover) { .nhv-btn--ghost:hover { color: var(--bg); --b: var(--fg); } }
.nhv-btn--ghost:focus-visible { color: var(--bg); --b: var(--fg); }

.nhv-link-arrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--fg); padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.6s var(--ease), color 0.3s; }
.nhv-i-arrow { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
@media (hover: hover) { .nhv-link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent-text); } .nhv-link-arrow:hover .nhv-i-arrow { transform: translateX(5px); } }
.nhv :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Reveal & split-text motion (classes added by nhv.js) */
.nhv-js .nhv [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.nhv-js .nhv [data-reveal].is-in { opacity: 1; transform: none; }
.nhv-js .nhv [data-split]:not(.is-split) { opacity: 0; }
.nhv .is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.02em 0.14em; margin: -0.06em -0.02em -0.14em; }
.nhv .is-split .w__i { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); will-change: transform; }
.nhv .is-split.is-in .w__i { transform: none; }

/* Media */
.nhv-media { position: relative; overflow: hidden; background: transparent; }
.nhv-media img { width: 100%; height: 100%; object-fit: cover; background: var(--ph, var(--ink-3)); }
.nhv-media--tall { aspect-ratio: 3 / 4.4; }
.nhv-media--zoom img { transform: scale(1.08); transition: transform 2.4s var(--ease); }
.nhv-media--zoom.is-in img, .is-in .nhv-media--zoom img { transform: scale(1); }
.nhv-media__cap { margin-top: 14px; font-family: var(--f-ui); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; }
.nhv-parallax img { will-change: transform; transform: translate3d(0, calc((var(--p, 0.5) - 0.5) * -12%), 0) scale(1.14); }

/* ---------- Intro ---------- */
.nhv-intro__grid { display: grid; gap: clamp(48px, 7vw, 80px); }
@media (min-width: 900px) { .nhv-intro__grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(60px, 8vw, 150px); align-items: center; } }
.nhv-intro__copy { display: grid; gap: clamp(26px, 3vw, 38px); justify-items: start; }
.nhv-intro__statement { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 4.1rem); line-height: 1.04; max-width: 17ch; }
.nhv-intro__kicker { color: var(--fg) !important; font-size: 1.15em; }
.nhv-intro__kicker em { color: var(--gold-deep); }
@media (min-width: 640px) and (max-width: 899px) { .nhv-intro__media .nhv-media { aspect-ratio: 16 / 11; } }
.nhv-intro__foot { margin-top: 18px; }

.nhv-facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .nhv-facts { grid-template-columns: repeat(4, 1fr); } }
.nhv-fact { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.nhv-fact:nth-child(odd) { padding-right: 16px; }
@media (min-width: 900px) { .nhv-fact { border-bottom: 0; padding: 36px 28px 8px 0; } .nhv-fact + .nhv-fact { padding-left: 28px; border-left: 1px solid var(--line); } }
.nhv-fact__v { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5rem); line-height: 1; color: var(--fg); }
.nhv-fact__v sup { font-size: 0.4em; color: var(--accent-text); vertical-align: top; margin-left: 2px; }
.nhv-fact__k { font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Philosophy ---------- */
.nhv-pillars { display: grid; gap: clamp(56px, 7vw, 40px); }
@media (min-width: 900px) { .nhv-pillars { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); align-items: start; } }
.nhv-pillar { display: grid; gap: 24px; }
.nhv-pillar__media { position: relative; aspect-ratio: 3 / 4; container-type: inline-size; }
.nhv-pillar__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 12, 10, 0.55), transparent 50%); }
.nhv-pillar__word { position: absolute; z-index: 1; left: 0; right: 0; bottom: 8%; text-align: center; font-family: var(--f-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.24em; font-size: min(clamp(2rem, 1.4rem + 2.4vw, 3.4rem), 12.5cqi); color: var(--bone); padding-left: 0.24em; }
.nhv-pillar__n { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.nhv-pillar__n h3 { margin: 0; color: var(--fg); }
.nhv-pillar__lead { font-family: var(--f-display); font-size: var(--fs-s); line-height: 1.2; color: var(--fg); }
.nhv-pillar__body { color: var(--muted); }
.nhv-pillar__line { font-style: italic; color: var(--accent-text); font-size: 1.05em; }
@media (min-width: 1024px) {
  .nhv-philosophy .nhv-heading--split { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); }
  .nhv-philosophy .nhv-heading--split h2 { grid-column: 1 / -1; }
  .nhv-philosophy .nhv-heading--split .nhv-lede { grid-column: 2; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .nhv-philosophy .nhv-pillars { gap: 72px; }
  .nhv-philosophy .nhv-pillar { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 32px; row-gap: 20px; align-items: start; }
  .nhv-philosophy .nhv-pillar__media { grid-column: 1; grid-row: 1 / span 4; }
  .nhv-philosophy .nhv-pillar > :not(.nhv-pillar__media) { grid-column: 2; }
}

/* ---------- Breathe with us ---------- */
.nhv-breathe-now__grid { align-items: center; }
.nhv-breathe-now__copy { display: grid; gap: 28px; }
.nhv-breath { display: grid; justify-items: center; text-align: center; gap: clamp(26px, 3vw, 40px); padding-block: 20px; }
.nhv-breath__stage { position: relative; width: min(74vw, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.nhv-breath__ring, .nhv-breath__orb { position: absolute; border-radius: 50%; }
.nhv-breath__ring { inset: 0; border: 1px solid rgba(201, 168, 76, 0.45); }
.nhv-breath__ring--2 { inset: 12%; border-color: rgba(201, 168, 76, 0.18); }
.nhv-breath__orb { inset: 18%; background: radial-gradient(circle at 50% 40%, rgba(224, 199, 133, 0.32), rgba(201, 168, 76, 0.08) 60%, transparent 72%); border: 1px solid rgba(201, 168, 76, 0.6); transform: scale(var(--s, 0.62)); transition: transform var(--t, 1.2s) var(--ease-io); }
.nhv-breath__label { position: relative; font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-style: italic; line-height: 1.15; max-width: 12ch; min-height: 2.3em; display: grid; place-items: center; color: var(--fg); }
.nhv-breath__meta { font-family: var(--f-ui); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); min-height: 1.4em; }
.nhv-breath__btn { min-width: 220px; }

/* ---------- Not a retreat ---------- */
.nhv-contrast__list { margin-top: 36px; border-top: 1px solid var(--line); }
.nhv-contrast__list li { display: grid; gap: 6px 40px; padding: clamp(24px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 900px) { .nhv-contrast__list li { grid-template-columns: minmax(220px, 0.42fr) 1fr; } }
.nhv-contrast__k { font-family: var(--f-ui); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.nhv-contrast__v { font-family: var(--f-display); font-weight: 300; font-size: var(--fs-m); line-height: 1.08; color: color-mix(in srgb, var(--fg) 55%, transparent); }
.nhv-contrast__list .is-us .nhv-contrast__k { color: var(--gold-deep); }
.nhv-contrast__list .is-us .nhv-contrast__v { color: var(--fg); font-size: var(--fs-l); }
.nhv-contrast__v em { font-style: italic; }
.nhv-contrast__list .is-us em { color: var(--gold-deep); }
.nhv-contrast__foot { align-items: start; }

/* ---------- The Container ---------- */
.nhv-container-sec { overflow: hidden; padding-block: clamp(120px, 18vw, 280px); isolation: isolate; --p: 0; }
/* An iris that closes as you scroll through the section: the lens shutting. */
.nhv-container-sec__aperture { position: absolute; z-index: -2; left: 50%; top: 50%; width: min(130vw, 1400px); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(calc(var(--p) * 90deg)); }
.nhv-container-sec__aperture svg { width: 100%; height: 100%; overflow: visible; }
.nhv-container-sec__aperture circle { fill: none; stroke: rgba(201, 168, 76, 0.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nhv-container-sec__aperture .nhv-ap-in { stroke: rgba(201, 168, 76, 0.75); transform-origin: 100px 100px; transform: scale(calc(1 - var(--p) * 0.86)); }
.nhv-container-sec::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, transparent 40%, rgba(13, 12, 10, 0.85)); }
.nhv-container-sec__inner { display: grid; gap: clamp(26px, 3.4vw, 44px); justify-items: center; text-align: center; text-shadow: 0 0 2px var(--ink), 0 0 5px var(--ink), 0 0 10px var(--ink), 0 0 18px var(--ink); }
.nhv-container-sec h2 { max-width: 13ch; }
.nhv-container-sec h2 em { font-style: italic; color: var(--gold); }
.nhv-container-sec__cols { display: grid; gap: 22px; max-width: 36rem; color: var(--muted); text-align: left; }
@media (min-width: 900px) { .nhv-container-sec__cols { max-width: 980px; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 24px; } }
.nhv-container-sec__cols p { border-top: 1px solid var(--line); padding-top: 18px; }
.nhv-container-sec__cols em { color: var(--fg); }

/* ---------- How it works ---------- */
.nhv-journey__cite { display: block; margin-top: 14px; font-family: var(--f-ui); font-size: 0.68rem; font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.nhv-journey { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) and (max-width: 1023px) { .nhv-journey { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1024px) { .nhv-journey { grid-template-columns: repeat(4, 1fr); } }
.nhv-journey__step { position: relative; padding: 34px 0 40px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
@media (min-width: 1024px) { .nhv-journey__step { padding: 40px 32px 20px 0; border-bottom: 0; } .nhv-journey__step + .nhv-journey__step { padding-left: 32px; border-left: 1px solid var(--line); } }
.nhv-journey__step::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (min-width: 1024px) { .nhv-journey__step + .nhv-journey__step::before { left: 32px; } }
.nhv-journey__when { font-family: var(--f-ui); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.nhv-journey__title { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-s); line-height: 1.15; color: var(--fg); }
.nhv-journey__n { font-family: var(--f-display); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.nhv-journey__body { color: var(--muted); font-size: 1.02rem; }

@media (prefers-reduced-motion: reduce) {
  .nhv-js .nhv [data-reveal] { opacity: 1; transform: none; transition: none; }
  .nhv .is-split .w__i { transform: none; transition: none; }
  .nhv-parallax img, .nhv-media--zoom img { transform: none; }
  .nhv-container-sec__aperture { transform: translate(-50%, -50%); }
  .nhv-container-sec__aperture .nhv-ap-in { transform: none; }
}
