/* ============================================================
   REFYNITY — Leadership & Management Training
   Design system + components. Single source of truth.
   Brand: part strategist, part therapist.
   Signature motif: the infinity spine (Reflection · Refinement · Infinity)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --ink:            #2F313F;   /* primary navy */
  --ink-deep:       #24252F;   /* deepest sections */
  --ink-70:         rgba(47, 49, 63, 0.70);
  --burgundy:       #5A1826;   /* accent */
  --burgundy-lift:  #7A2233;   /* hover */
  --sand:           #CAC2B5;   /* warm neutral */
  --sand-soft:      #E3DDD3;
  --sage:           #92A297;   /* calm accent */
  --sage-deep:      #6F8076;
  --paper:          #F7F5F0;   /* warm off-white bg */
  --paper-raise:    #FCFBF7;
  --white:          #ffffff;

  /* Text roles */
  --fg:             #2F313F;
  --fg-soft:        #565863;
  --fg-faint:       #82848D;
  --fg-on-dark:     #EFEDE7;
  --fg-on-dark-soft:#C3C0B8;

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body:    "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --t-eyebrow: 0.78rem;
  --t-small:   0.9rem;
  --t-body:    1.0625rem;
  --t-lead:    clamp(1.15rem, 1.6vw, 1.4rem);
  --t-h4:      clamp(1.3rem, 2vw, 1.6rem);
  --t-h3:      clamp(1.7rem, 3vw, 2.3rem);
  --t-h2:      clamp(2.2rem, 4.5vw, 3.4rem);
  --t-h1:      clamp(2.9rem, 7vw, 5.5rem);
  --t-mega:    clamp(3.6rem, 12vw, 9rem);

  /* Space + layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  --shadow-soft: 0 24px 60px -30px rgba(36, 37, 47, 0.45);
  --shadow-card: 0 18px 40px -24px rgba(36, 37, 47, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -0.01em; }
.display-1 { font-size: var(--t-h1); }
.display-2 { font-size: var(--t-h2); }
.display-3 { font-size: var(--t-h3); }
.display-4 { font-size: var(--t-h4); line-height: 1.2; }
p { color: var(--fg-soft); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--fg); }
strong { color: var(--fg); font-weight: 700; }

.eyebrow {
  font-family: var(--body);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }
.serif-accent { font-family: var(--display); font-style: italic; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--ink     { background: var(--ink);      color: var(--fg-on-dark); }
.section--ink-deep{ background: var(--ink-deep); color: var(--fg-on-dark); }
.section--sand    { background: var(--sand-soft); }
.section--paper   { background: var(--paper); }
.section--burgundy{ background: var(--burgundy);  color: var(--fg-on-dark); }
.section--ink p, .section--ink-deep p, .section--burgundy p { color: var(--fg-on-dark-soft); }
.section--ink .eyebrow, .section--ink-deep .eyebrow, .section--burgundy .eyebrow { color: var(--sage); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head p { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--burgundy);
  --btn-fg: var(--paper);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.7em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em; border: 1px solid var(--btn-bg);
  border-radius: 999px; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { background: var(--burgundy-lift); border-color: var(--burgundy-lift); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(47,49,63,0.28); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: rgba(247,245,240,0.5); }
.btn--onDarkGhost { --btn-bg: transparent; --btn-fg: var(--fg-on-dark); border-color: rgba(239,237,231,0.32); }
.btn--onDarkGhost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.textlink {
  font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5em;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--burgundy);
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.textlink:hover { gap: 0.85em; }
.section--ink .textlink, .section--burgundy .textlink, .section--ink-deep .textlink { color: var(--sage); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink-deep);
  color: var(--fg-on-dark-soft);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; }
.topbar__socials { display: flex; align-items: center; gap: 0.35rem; }
.social-link {
  width: 30px; height: 30px; display: inline-grid; place-items: center;
  border-radius: 50%; color: var(--sand);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-link:hover { background: rgba(146,162,151,0.18); color: var(--paper); transform: translateY(-1px); }
.social-link svg { width: 15px; height: 15px; }
.topbar__member { display: inline-flex; align-items: center; gap: 0.5em; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; color: var(--sand); transition: color 0.3s var(--ease); }
.topbar__member:hover { color: var(--paper); }
.topbar__member svg { width: 13px; height: 13px; }
.topbar__tag { display: none; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.7rem; color: var(--sage); }
@media (min-width: 720px) { .topbar__tag { display: inline; } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,245,240,0.86); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(36,37,47,0.5); border-color: rgba(47,49,63,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.05rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { width: 34px; height: 22px; color: var(--burgundy); flex: none; }
.brand__word { font-family: var(--display); font-weight: 600; font-size: 1.65rem; letter-spacing: 0.02em; color: var(--ink); line-height: 1; }
.brand__logo { height: 40px; width: auto; display: block; }
.footer__brand .brand__logo { height: 48px; }
.brand__logo--light { filter: brightness(0) invert(1); }
@media (max-width: 600px) { .brand__logo { height: 34px; } }
.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__link { font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em; color: var(--fg); position: relative; padding-block: 0.3rem; transition: color 0.3s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__link:hover { color: var(--burgundy); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--burgundy); }
.nav__cta { display: flex; align-items: center; gap: 1.4rem; margin-top: 0.6rem; }
.nav__cta .btn { padding: 0.68em 1.5em; }
.nav__toggle { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  /* A filtering ancestor becomes the containing block for position:fixed children,
     which would trap the slide-in drawer. Drop the blur on mobile so the drawer
     anchors to the viewport and fills full height. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px);
    background: var(--ink); color: var(--fg-on-dark);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
    padding: 2rem var(--gutter); transform: translateX(100%);
    transition: transform 0.45s var(--ease); box-shadow: var(--shadow-soft);
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav__link { font-family: var(--display); font-size: 1.8rem; font-weight: 500; color: var(--fg-on-dark); padding-block: 0.7rem; width: 100%; }
  .nav__link::after { display: none; }
  .nav__cta { flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-top: 1.8rem; width: 100%; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__backdrop { position: fixed; inset: 0; background: rgba(20,21,28,0.4); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); z-index: -1; }
  .nav.is-open .nav__backdrop { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Infinity mark + spine ---------- */
.infinity-mark { color: var(--sage); }
.spine { width: 100%; max-width: 560px; margin-inline: auto; color: var(--sage); }
.spine path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.spine .spine__draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-visible .spine .spine__draw { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--fg-on-dark); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(120% 90% at 85% 10%, rgba(146,162,151,0.16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(90,24,38,0.35), transparent 60%);
  pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero__eyebrow { color: var(--sage); margin-bottom: 1.6rem; }
.hero__title { font-size: var(--t-h1); color: var(--paper); }
.hero__title em { font-style: italic; color: var(--sand); }
.hero__lead { margin-top: 1.6rem; max-width: 30ch; color: var(--fg-on-dark-soft); }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__pillars { margin-top: 3rem; display: flex; gap: 1.8rem; flex-wrap: wrap; font-family: var(--display); font-size: 1.15rem; color: var(--sand); }
.hero__pillars span { display: inline-flex; align-items: center; gap: 0.7rem; }
.hero__pillars span::before { content: "∞"; font-size: 0.9rem; color: var(--sage); }

.hero__figure { position: relative; }
.hero__portrait { position: relative; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-soft); background: var(--sage-deep); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; left: -1.5rem; bottom: 2rem; background: var(--paper); color: var(--ink); padding: 1rem 1.3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); max-width: 220px; }
.hero__badge .n { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--burgundy); }
.hero__badge .l { font-size: 0.78rem; color: var(--fg-soft); margin-top: 0.3rem; }
.hero__wordmark { position: absolute; right: -0.5rem; top: -2.6rem; width: clamp(150px, 20vw, 230px); height: auto; opacity: 0.1; filter: brightness(0) invert(1); pointer-events: none; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__figure { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__wordmark { display: none; }
}

/* ---------- Media + text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); aspect-ratio: 5/4; object-fit: cover; background: var(--sand); }
.split__media--tall img { aspect-ratio: 4/5; }
.media-frame { position: relative; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(47,49,63,0.06); pointer-events: none; }
.media-tag { position: absolute; bottom: 1rem; left: 1rem; background: rgba(36,37,47,0.82); color: var(--paper); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 999px; backdrop-filter: blur(4px); }

/* Founder photo placeholder — used until a real headshot is dropped in */
.photo-placeholder {
  width: 100%; aspect-ratio: 4 / 5;
  display: grid; place-items: center; gap: 1.2rem;
  padding: 2rem; text-align: center; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(146,162,151,0.22), transparent 55%),
    linear-gradient(158deg, #383a48 0%, #2c2e3b 55%, #262833 100%);
}
.photo-placeholder__mark { width: clamp(66px, 24%, 116px); height: auto; color: var(--sage); opacity: 0.92; }
.photo-placeholder .cap { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,237,231,0.5); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Scenario cards ---------- */
.scenario { position: relative; background: var(--paper-raise); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.scenario:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(36,37,47,0.5); }
.scenario__media { aspect-ratio: 3/2; overflow: hidden; background: var(--sage-deep); }
.scenario__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.scenario:hover .scenario__media img { transform: scale(1.05); }
.scenario__body { padding: 1.7rem 1.7rem 2rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.scenario__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-deep); }
.scenario__title { font-size: 1.45rem; color: var(--ink); line-height: 1.15; }
.scenario__body p { font-size: 0.98rem; }

/* Multi-column grids collapse to one column on small screens */
@media (max-width: 760px) {
  .cols-2 { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
}

/* Scenario cards → swipeable carousel on mobile (keeps the section short, not smushed) */
@media (max-width: 760px) {
  .scenario-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0.35rem var(--gutter) 1rem;
    scrollbar-width: none;
  }
  .scenario-grid::-webkit-scrollbar { display: none; }
  .scenario-grid .scenario {
    flex: 0 0 84%;
    min-width: 0;
    scroll-snap-align: center;
  }
  .scenario__media { aspect-ratio: 16 / 10; }
  .scenario__body { padding: 1.4rem 1.4rem 1.6rem; }
}

/* ---------- Service rows ---------- */
.service { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2rem,4vw,3.2rem) 0; border-top: 1px solid rgba(47,49,63,0.12); }
.service:last-child { border-bottom: 1px solid rgba(47,49,63,0.12); }
.service--reverse .service__media { order: 2; }
.service__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow-card); background: var(--sage-deep); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__index { font-family: var(--display); font-size: 1.1rem; color: var(--burgundy); letter-spacing: 0.1em; }
.service__title { font-size: var(--t-h3); color: var(--ink); margin: 0.4rem 0 0.8rem; }
.service__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.4rem; }
.chip { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ink); background: var(--sand-soft); padding: 0.4rem 0.85rem; border-radius: 999px; }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; gap: 1.6rem; }
  .service--reverse .service__media { order: 0; }
}

/* ---------- Methodology pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,3vw,2.5rem); position: relative; }
.pillar { position: relative; }
.pillar__num { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--sage); opacity: 0.85; }
.pillar__word { font-family: var(--display); font-size: 1.7rem; color: var(--paper); margin: 0.6rem 0 0.2rem; }
.pillar__sub { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.9rem; }
.pillar p { color: var(--fg-on-dark-soft); font-size: 0.98rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.5rem,3vw,2rem); }
.stat { border-left: 1px solid rgba(239,237,231,0.22); padding-left: 1.3rem; }
.stat__n { font-family: var(--display); font-size: clamp(2.8rem,5vw,3.8rem); line-height: 0.95; color: var(--sand); }
.stat__n em { font-style: normal; font-size: 0.5em; color: var(--sage); }
.stat__l { margin-top: 0.7rem; font-size: 0.92rem; color: var(--fg-on-dark-soft); }
.stat__src { margin-top: 0.6rem; font-size: 0.72rem; color: rgba(239,237,231,0.5); letter-spacing: 0.02em; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2,1fr); gap: 2rem; } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Quote / pull ---------- */
.pull { max-width: 900px; margin-inline: auto; text-align: center; }
.pull__q { font-family: var(--display); font-size: clamp(1.8rem,4vw,3rem); line-height: 1.2; color: var(--ink); }
.section--ink .pull__q, .section--burgundy .pull__q { color: var(--paper); }
.pull__mark { font-size: 2.4rem; color: var(--sage); margin-bottom: 0.6rem; display: block; }
.pull__cite { margin-top: 1.6rem; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); }
.section--ink .pull__cite { color: var(--sage); }

/* ---------- Value / list rows ---------- */
.valuegrid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,3vw,2.5rem); }
.value { padding-top: 1.4rem; border-top: 2px solid var(--burgundy); }
.value h4 { font-size: 1.35rem; color: var(--ink); margin-bottom: 0.5rem; }
.value p { font-size: 0.96rem; }
.section--ink .value h4 { color: var(--paper); }
.section--ink .value { border-color: var(--sage); }
@media (max-width: 820px) { .valuegrid { grid-template-columns: 1fr; gap: 1.8rem; } }

.checklist li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.6rem 0; color: var(--fg-soft); }
.checklist li::before { content: "∞"; color: var(--sage-deep); font-size: 0.95rem; margin-top: 0.35rem; flex: none; }
.section--ink .checklist li { color: var(--fg-on-dark-soft); }
.section--ink .checklist li::before { color: var(--sage); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--burgundy); color: var(--fg-on-dark); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: "∞"; position: absolute; font-family: var(--display); font-size: 40rem; line-height: 1; color: rgba(255,255,255,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-band__inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta-band__logo { position: relative; width: 150px; height: auto; margin: 0 auto 1.6rem; display: block; filter: brightness(0) invert(1); opacity: 0.96; }
.cta-band h2 { color: var(--paper); font-size: var(--t-h2); }
.cta-band p { color: rgba(239,237,231,0.82); margin: 1.1rem 0 2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  border: 1px solid rgba(47,49,63,0.2); background: var(--paper-raise);
  border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 1rem; color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(90,24,38,0.12); }
.form__note { font-size: 0.82rem; color: var(--fg-faint); }
.form__status { font-size: 0.95rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); display: none; }
.form__status.is-success { display: block; background: rgba(146,162,151,0.18); color: var(--sage-deep); border: 1px solid rgba(146,162,151,0.4); }
.form__status.is-error { display: block; background: rgba(90,24,38,0.08); color: var(--burgundy); border: 1px solid rgba(90,24,38,0.35); }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-detail { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid rgba(47,49,63,0.1); }
.contact-detail svg { width: 20px; height: 20px; color: var(--burgundy); flex: none; margin-top: 0.2rem; }
.contact-detail .k { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); }
.contact-detail .v { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: var(--fg-on-dark-soft); padding-top: clamp(3.5rem,7vw,5.5rem); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer__brand .brand__word { color: var(--paper); }
.footer__brand p { margin-top: 1.1rem; max-width: 34ch; font-size: 0.95rem; color: var(--fg-on-dark-soft); }
.footer__socials { display: flex; gap: 0.4rem; margin-top: 1.4rem; }
.footer__col h5 { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem; }
.footer__col li { margin-bottom: 0.7rem; }
.footer__col a { color: var(--fg-on-dark-soft); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; font-size: 0.82rem; color: rgba(239,237,231,0.55); }
.footer__bottom a:hover { color: var(--paper); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Member modal (stub) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,21,28,0.55); backdrop-filter: blur(3px); }
.modal__card { position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3rem); max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-soft); transform: translateY(12px); transition: transform 0.4s var(--ease); }
.modal.is-open .modal__card { transform: translateY(0); }
.modal__card .infinity-mark { width: 48px; margin: 0 auto 1.2rem; }
.modal__logo { width: 132px; height: auto; margin: 0 auto 1.4rem; display: block; }
.modal__card h3 { font-size: 1.8rem; color: var(--ink); margin-bottom: 0.7rem; }
.modal__card p { font-size: 0.98rem; margin-bottom: 1.6rem; }
.modal__close { position: absolute; top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; border-radius: 50%; border: none; background: transparent; cursor: pointer; color: var(--fg-soft); font-size: 1.3rem; transition: background 0.3s var(--ease); }
.modal__close:hover { background: rgba(47,49,63,0.08); }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--ink); color: var(--fg-on-dark); position: relative; overflow: hidden; padding-block: clamp(3.5rem,7vw,6rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 90% 0%, rgba(146,162,151,0.14), transparent 55%); pointer-events: none; }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: var(--t-h1); color: var(--paper); margin-top: 1.2rem; }
.page-hero p { margin-top: 1.3rem; font-size: var(--t-lead); color: var(--fg-on-dark-soft); max-width: 54ch; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.8rem; } .mt-2 { margin-top: 1.6rem; } .mt-3 { margin-top: 2.4rem; }
.mb-2 { margin-bottom: 1.6rem; }
.text-center { text-align: center; }
.maxw-narrow { max-width: 60ch; }
.stack-lg > * + * { margin-top: 1.6rem; }

/* ---------- A11y ---------- */
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 2px; }
.section--ink :focus-visible, .hero :focus-visible, .footer :focus-visible, .cta-band :focus-visible { outline-color: var(--sage); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.8rem 1.2rem; z-index: 300; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .spine .spine__draw { stroke-dashoffset: 0; }
}
