/* =====================================================================
   IMMERSE NETWORK — site stylesheet
   The ONE place component styles live. Every page links this file and
   no page has an inline <style> block, so a change here lands on the
   whole site at once.

   Colours come from assets/css/tokens.css, which every page loads first.
   Load order in each page's <head>:
       <link rel="stylesheet" href="assets/css/tokens.css" />
       <link rel="stylesheet" href="assets/css/styles.css" />
   ===================================================================== */

/* ---------- BASE ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 26px;
}
section {
  padding: 76px 0;
}
section.wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  background: color-mix(in srgb, var(--page) 68%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--brand);
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.menu {
  display: flex;
  gap: 2px;
  align-items: center;
}
.menu a {
  text-decoration: none;
  color: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 13px;
  border-radius: 10px;
  transition: 0.18s;
}
.menu a:hover {
  background: var(--panel);
  color: var(--brand);
}
.menu .cta {
  background: var(--brand);
  color: var(--white);
  letter-spacing: 0.06em;
  margin-left: 5px;
}
.menu .cta:hover {
  background: var(--brand-deep);
  color: var(--white);
}
.has-drop {
  position: relative;
  display: flex;
  align-items: center;
}
.drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.18s;
  z-index: 60;
}
.has-drop:hover .drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--body);
}
.drop a:hover {
  background: var(--panel);
  color: var(--brand);
}
.burger {
  display: none;
  font-size: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--brand);
}
.logo-icon {
  height: 38px;
}

/* ---------- HERO ---------- */
header.hero {
  padding: 140px 0 96px;
  text-align: center;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(5, 64, 78, 0.62),
      rgba(5, 64, 78, 0.42) 45%,
      rgba(5, 64, 78, 0.4) 62%,
      rgba(255, 255, 255, 0.3) 82%,
      rgba(255, 255, 255, 0.72) 93%,
      var(--page) 100%
    ),
    url("../images/hero.jpeg") center/cover no-repeat;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 26px;
}
h1.title {
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 16ch;
  margin: 0 auto;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.sub {
  margin: 24px auto 0;
  max-width: 54ch;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--on-brand);
  text-shadow: 0 2px 14px var(--scrim);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn {
  cursor: pointer;
  border: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0 26px;
  height: 50px;
  border-radius: var(--r-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-deep);
  border: 2px solid var(--white);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

/* ---------- PAGE HEAD (subpages) ---------- */
.page-head {
  padding: 80px 0 24px;
  text-align: center;
  background: radial-gradient(
      1200px 500px at 50% -180px,
      color-mix(in srgb, var(--brand) 12%, transparent),
      transparent
    );
}
.page-head .kicker {
  justify-content: center;
}
.page-head h1 {
  font-size: clamp(32px, 5.4vw, 58px);
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.page-head p {
  margin: 16px auto 0;
  max-width: 54ch;
  color: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- SECTION HEAD ---------- */
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin-top: 12px;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-weight: 800;
}
.sec-head p {
  margin-top: 14px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  display: block;
}
/* two-up gallery — holds through tablet, collapses on phones */
.gallery-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- EXPLORE CARDS ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.explore-card {
  position: relative;
  height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: block;
}
.explore-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.explore-card:hover img {
  transform: scale(1.06);
}
.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(5, 64, 78, 0.1) 20%,
      rgba(5, 64, 78, 0.65) 50%,
      rgba(5, 64, 78, 0.95) 100%
    );
}
.explore-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
  color: var(--white);
  z-index: 1;
}
.explore-body .kicker {
  color: #8fe3f0;
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.explore-body h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.explore-body p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  line-height: 1.5;
}
.explore-body .arrow {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- ROADMAP ---------- */
.roadmap-wrap {
  position: relative;
  height: 140px;
}
.roadmap-svg {
  width: 100%;
  height: 140px;
  display: block;
  overflow: visible;
  position: absolute;
  inset: 0;
}
.roadmap-dot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px -6px rgba(5, 64, 78, 0.5);
  border: 3px solid var(--page);
}
.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 6px;
}
.roadmap-step {
  text-align: center;
  padding: 0 10px;
}
.roadmap-step h3 {
  font-size: 16px;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.roadmap-step p {
  font-size: 13px;
  color: var(--body);
  margin-top: 6px;
  line-height: 1.5;
}
.sec-head.big h2 {
  font-size: clamp(34px, 5.4vw, 56px);
}
.sec-head.big .kicker {
  font-size: 13px;
}
.sec-head.big p {
  font-size: 17px;
  margin-top: 16px;
}

/* ---------- ABOUT STRIP ---------- */
.about {
  background: var(--panel);
}
.band-panel {
  position: relative;
  z-index: 0;
}
.band-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  background: var(--panel);
  z-index: -1;
}

/* ---------- VALUES ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.val {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition: 0.22s;
  box-shadow: var(--card-shadow);
}
.val:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.val .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
}
.val h3 {
  font-size: 17px;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.val p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.45;
  margin-top: 6px;
}
.val .vnum {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.val h3 {
  margin-top: 0;
}

/* ---------- PODCAST ---------- */
.podcast {
  height: 470px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--brand-deep);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: var(--shadow);
}
.pf-left {
  height: 100%;
  overflow: hidden;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--glass);
}
.pf-lab {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 9px;
}
.pf-lab svg {
  width: 20px;
  height: 20px;
  fill: #1db954;
}
.pf-left h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 12px 0 16px;
  font-weight: 700;
}
.pf-embed {
  flex: 1;
  min-height: 232px;
  border-radius: 14px;
  overflow: hidden;
}
.pf-embed iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 232px;
}
.pf-right {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pf-rhead {
  padding: 24px 22px 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-brand-dim);
}
.pf-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pf-list::-webkit-scrollbar {
  width: 8px;
}
.pf-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}
.ep {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.16s;
}
.ep:hover {
  background: rgba(255, 255, 255, 0.09);
}
.ep.active {
  background: rgba(255, 255, 255, 0.16);
}
.ep .pbtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  flex: none;
  display: grid;
  place-items: center;
}
.ep .pbtn::after {
  content: "";
  border-left: 11px solid var(--white);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.ep .meta {
  min-width: 0;
}
.ep .meta b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ep .meta small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 2px;
}

/* ---------- INSTAGRAM EMBEDS ---------- */
.ig-embeds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
  justify-items: center;
}
.ig-embeds > div {
  width: 100%;
  max-width: 400px;
}

/* ---------- STORY / HISTORY ---------- */
.story-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.story-art {
  height: 340px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.story-art .yr {
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.story-art .yr small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fe3f0;
  text-align: center;
  margin-top: 6px;
}
.story-art::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  top: -80px;
  left: -70px;
}
.story-copy p {
  color: var(--body);
  line-height: 1.7;
  font-size: 16px;
  margin-top: 14px;
}
.story-copy p:first-of-type {
  margin-top: 18px;
}

/* ---------- VISION PILLARS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--card-shadow);
}
.pillar h3 {
  color: var(--brand);
  font-size: 19px;
  margin: 8px 0 14px;
  letter-spacing: -0.01em;
}
.pillar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pillar li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- APPROACH ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.appr {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--card-shadow);
}
.appr .n {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}
.appr h3 {
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.appr p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

/* ---------- APPROACH — photo cards (Carmel) ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.appr--photo {
  position: relative;
  border-radius: var(--r);
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--brand-deep);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px -24px rgba(12, 50, 58, 0.6);
}
.appr--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(5, 64, 78, 0.15) 0%,
      rgba(5, 64, 78, 0.55) 45%,
      rgba(5, 64, 78, 0.9) 100%
    );
}
.appr--photo > * {
  position: relative;
}
.approach-grid .appr--photo:nth-child(1) {
  background-image: url("../images/immerse-guest-speakers-2.jpeg");
}
.approach-grid .appr--photo:nth-child(2) {
  background-image: url("../images/carmel-retreat-3.jpg");
}
.approach-grid .appr--photo:nth-child(3) {
  background-image: url("../images/gallery-community.jpg");
}
.approach-grid .appr--photo:nth-child(4) {
  background-image: url("../images/immerse-guest-speakers-1.jpeg");
}
.appr--photo .n {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--on-brand);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}
.appr--photo h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.appr--photo p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

/* ---------- NEW WINE STRIP ---------- */
.newwine {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.newwine h3 {
  color: var(--brand);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.newwine p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
  margin-top: 8px;
  max-width: 60ch;
}

/* ---------- CONTACT ---------- */
.contact {
  background: radial-gradient(
      1200px 520px at 50% -140px,
      color-mix(in srgb, var(--brand) 10%, transparent),
      transparent
    );
}
#connect {
  position: relative;
  z-index: 0;
}
#connect::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  background: var(--panel);
  z-index: -1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto;
}
.contact-side {
  display: grid;
  gap: 22px;
}
.contact-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.contact-form input,
  .contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page);
  color: var(--ink);
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}
.contact-card--sm {
  padding: 32px 30px;
  text-align: left;
}
.contact-card--sm h3 {
  font-size: 21px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}
.contact-card--sm p {
  margin-bottom: 20px;
}
.contact-card--sm .btn {
  word-break: break-word;
}
.contact-qr {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.member {
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  text-align: center;
  transition: 0.22s;
  box-shadow: var(--card-shadow);
}
.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.member .ph {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
}
.member .ph img {
  z-index: 1;
}
.member .ph span {
  position: relative;
  z-index: 1;
}
.member .ph::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  filter: blur(8px);
  bottom: -14px;
  right: -6px;
}
.member .ph:has(img) {
  background: none;
}
.member .ph:has(img)::after {
  display: none;
}
.member h3 {
  color: var(--brand);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.member .role {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px;
}
.member .member-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 20px;
  height: 38px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: 0.2s;
}
.member .member-email:hover {
  background: var(--brand-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.member p {
  color: var(--body);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
}

/* ---------- RETREAT DETAILS & EVENTS LIST ---------- */
.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.detail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.detail .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.detail .v {
  color: var(--brand);
  font-size: 19px;
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.detail small {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin-top: 4px;
}
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
}
.event {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 26px;
  transition: 0.2s;
  text-decoration: none;
}
.event:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.event .date {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
}
.event .date .m {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.event .date .d {
  font-size: 27px;
  font-weight: 800;
  margin-top: 2px;
  line-height: 1;
}
.event .info {
  flex: 1;
  min-width: 0;
}
.event .info h3 {
  color: var(--brand);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.event .info .loc {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.event .info p {
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}
.event .go {
  flex: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 22px;
}

/* ---------- EVENTS — date range ---------- */
.event .date .d.range {
  font-size: 20px;
  letter-spacing: -0.02em;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--brand-deep);
  color: var(--white);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 60px 26px 30px;
}
.foot-grid h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}
.foot-grid a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 5px 0;
}
.foot-grid a:hover {
  color: var(--white);
}
.foot-grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
  max-width: 32ch;
}
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
}
.foot-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}
.foot-social a:hover {
  background: var(--accent);
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- SUBPAGE VERTICAL RHYTHM ---------- */
body:not([data-page="home"]) section {
  padding: 88px 0;
}
body:not([data-page="home"]) section.wrap {
  padding-top: 88px;
  padding-bottom: 88px;
}
body:not([data-page="home"]) .sec-head {
  margin-bottom: 52px;
}
body:not([data-page="home"]) .page-head {
  padding-bottom: 44px;
}

/* =====================================================================
ACTIVE NAV LINK — driven by <body data-page="...">, so the nav markup
  stays identical on every page apart from its relative link
  depth (root pages link to "about/", subpages to "../about/").
  ===================================================================== */
body[data-page="home"] .menu > a[data-nav="home"],
body[data-page="about"] .menu .has-drop > a,
body[data-page="carmel"] .menu > a[data-nav="carmel"],
body[data-page="events"] .menu > a[data-nav="events"] {
  color: var(--brand);
}

/* =====================================================================
TABLET — 900px
  ===================================================================== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  /* NAV */
  nav {
    flex-wrap: wrap;
  }
  nav.open {
    height: auto;
    background: var(--page);
    box-shadow: var(--shadow);
    padding-bottom: 12px;
  }
  .menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    gap: 2px;
    padding: 10px 0 4px;
  }
  nav.open .menu {
    display: flex;
  }
  .menu a {
    padding: 12px 10px;
  }
  .menu .cta {
    text-align: center;
    margin-top: 4px;
    margin-left: 0;
  }
  .has-drop {
    flex-direction: column;
    align-items: stretch;
  }
  .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    min-width: 0;
    padding: 0 0 6px 14px;
  }
  .burger {
    display: block;
  }
  /* GALLERY */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    height: 260px;
  }
  /* EXPLORE CARDS */
  .explore-grid {
    grid-template-columns: 1fr;
  }
  /* VALUES */
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
  /* PODCAST */
  .podcast {
    grid-template-columns: 1fr;
    height: auto;
  }
  .pf-left {
    border-right: 0;
    border-bottom: 1px solid var(--glass);
  }
  .pf-embed {
    min-height: 200px;
  }
  .pf-right {
    max-height: 320px;
  }
  /* INSTAGRAM EMBEDS */
  .ig-embeds {
    grid-template-columns: 1fr;
  }
  /* STORY / HISTORY */
  .story-inner {
    grid-template-columns: 1fr;
  }
  /* VISION PILLARS */
  .pillars {
    grid-template-columns: 1fr;
  }
  /* APPROACH */
  .approach-grid {
    grid-template-columns: 1fr;
  }
  /* TEAM / RHYTHM */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* SUBPAGE */
  .details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================================
ROADMAP collapse — 820px
  ===================================================================== */
@media (max-width: 820px) {
  /* ROADMAP */
  .roadmap-wrap {
    display: none;
  }
  .roadmap-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
  }
  .roadmap-step {
    text-align: left;
    padding: 0 0 26px 44px;
    position: relative;
  }
  .roadmap-step::before {
    content: attr(data-n);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
  }
  .roadmap-step::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: var(--line);
  }
  .roadmap-step:last-child::after {
    display: none;
  }
}

/* =====================================================================
PHONE TIER — layout only. Nothing here changes colours, type
  or content; nothing above 640px is affected.
  ===================================================================== */
@media (max-width: 640px) {
  /* PHONE TIER */
  .wrap {
    padding: 0 18px;
  }
  nav {
    padding: 0 18px;
  }
  section {
    padding: 52px 0;
  }
  section.wrap {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .sec-head {
    margin-bottom: 32px;
  }
  nav.open .menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  body {
    overflow-wrap: break-word;
  }
  header.hero {
    padding: 96px 0 64px;
  }
  h1.title br {
    display: none;
  }
  .explore-body {
    padding: 20px;
  }
  .pf-left {
    padding: 20px;
  }
  .newwine {
    padding: 28px 22px;
  }
  .contact-card {
    padding: 28px 20px;
  }
  .contact-card--sm {
    padding: 28px 20px;
  }
.val,
    .pillar,
    .appr,
    .appr--photo {
    padding: 20px;
  }
  .ig-embeds > div {
    position: relative;
  }
  .ig-embeds iframe.instagram-media {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 44px 18px 26px;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .foot-grid p {
    max-width: none;
  }
  /* PHONE TIER */
  .page-head {
    padding: 56px 0 32px;
  }
  .gallery-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .member {
    padding: 20px;
  }
  /* PHONE TIER */
  .event {
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px;
  }
  .event .go {
    display: none;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .detail {
    padding: 20px;
  }
}
