/* ============================================================
   MASTER PEACE SOCIAL CLUB — Marketing Site
   Brand: lime #C8F169 · teal #196465 · off-white #EDEAE0
   Type: Playfair Display · Montserrat · DM Sans · DM Mono
   ============================================================ */

:root {
  --display: 'Playfair Display', Georgia, serif;
  --mark:    'Montserrat', sans-serif;
  --ui:      'DM Sans', -apple-system, system-ui, sans-serif;
  --mono:    'DM Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --bg:         #061818;
  --teal:       #196465;
  --teal-deep:  #0F4849;
  --teal-ink:   #143C3C;
  --lime:       #C8F169;
  --on:         #EDEAE0;
  --on-dim:     rgba(237, 234, 224, 0.62);
  --on-faint:   rgba(237, 234, 224, 0.34);
  --paper:      #F4F1EA;

  --maxw:        1120px;
  --glass-alpha: 0.42;
  --glass-blur:  28px;
  --dock-w:      600px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--on);
  overflow-x: hidden;
  background: var(--bg);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}

/* Aurora fixed background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 80% 10%, rgba(200, 241, 105, 0.05), transparent 55%),
    radial-gradient(ellipse 85% 60% at 10% 32%, rgba(25, 100, 101, 0.16), transparent 55%),
    radial-gradient(ellipse 100% 75% at 55% 108%, rgba(15, 72, 73, 0.20), transparent 60%),
    linear-gradient(162deg, #0a2625 0%, #061818 55%, #040f0f 100%);
}

/* Film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; }

::selection { background: var(--lime); color: #0a3132; }

/* ── Frosted glass ─────────────────────────────────────────── */
.glass {
  background: rgb(8 28 29 / var(--glass-alpha));
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid rgba(245, 241, 234, 0.14);
  box-shadow: 0 20px 60px rgba(10, 30, 30, 0.40), inset 0 1px 0 rgba(245, 241, 234, 0.08);
}

/* ── Layout helpers ────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 64px;
}

.klabel {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 15px 25px;
  border-radius: 999px;
  cursor: none;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn .ar { width: 15px; height: 15px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-lime {
  background: var(--lime);
  color: var(--teal-deep);
}
.btn-lime:hover { background: #d6f783; }

.btn-ghost {
  border-color: rgba(248, 246, 242, 0.45);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--paper); }

/* ── Reveal animations ─────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rv.in  { opacity: 1; transform: none; }
.rv.d1  { transition-delay: 0.12s; }
.rv.d2  { transition-delay: 0.24s; }
.rv.d3  { transition-delay: 0.36s; }

/* ── Custom cursor — bold glowing lime dot, zero-lag (position set in JS) ── */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow:
    0 0 0 5px rgba(200, 241, 105, 0.22),
    0 0 16px 3px rgba(200, 241, 105, 0.55);
  /* only size/visual transitions — position is instant, so no lag */
  transition: width 0.16s ease, height 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.cursor-ring.is-hover {
  width: 34px;
  height: 34px;
  background: rgba(200, 241, 105, 0.85);
  box-shadow:
    0 0 0 6px rgba(200, 241, 105, 0.18),
    0 0 22px 5px rgba(200, 241, 105, 0.55);
}
.cursor-dot { display: none; }

@media (hover: none) {
  .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 34px 48px;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav .brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  cursor: none;
  line-height: 0;
}
.nav .brand img {
  height: 44px;          /* fixed — never reflows */
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
.nav.scrolled .brand img { height: 36px; }

.nav-links {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
}
.nav-links a {
  opacity: 0.92;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: none;
}
.nav-links a:hover { opacity: 1; color: var(--lime); }

.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn { padding: 13px 24px; font-size: 12.5px; }

.nav.scrolled {
  background: rgba(8, 26, 26, 0.55);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  padding: 18px 48px;
  box-shadow: 0 1px 0 rgba(237, 234, 224, 0.08);
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06201f;
}

/* Full-bleed photo layer — horizontal motion blur + warm grade.
   Separate layer so the blur hits only the photo, never the text. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: url(#mpsc-motion) contrast(1.06) saturate(1.14) brightness(0.96);
  transform: scale(1.12);          /* hide the soft edges the blur pulls in */
  pointer-events: none;
  animation: hero-drift 7s ease-in-out infinite alternate;
}

/* Slow flowing drift + breathe — reads as continuous movement */
@keyframes hero-drift {
  0%   { transform: scale(1.12) translate(-1.2%, 0); }
  50%  { transform: scale(1.15) translate(1%, -0.6%); }
  100% { transform: scale(1.12) translate(1.4%, 0.4%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}

/* Film-grain texture over the photo */
.grain-strong {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Top scrim — darkens the photo behind the nav so the menu reads clearly */
.hero-topscrim {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 14, 14, 0.72) 0%, rgba(4, 14, 14, 0.32) 45%, transparent 100%);
}

/* Dark radial vignette */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 95% at 50% 42%, transparent 30%, rgba(4, 14, 14, 0.82) 100%);
}

/* Floating caption frame */
.cap-frame {
  position: absolute;
  inset: 0;
  z-index: 4;
  max-width: 1480px;
  margin: 0 auto;
  pointer-events: none;
}

.cap {
  position: absolute;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--on);
  opacity: 0.8;
  text-shadow: 0 1px 12px rgba(4, 14, 14, 0.8);
}
.cap.tl { left: 8px;  top: 148px; }
.cap.tr { right: 8px; top: 148px; text-align: right; }
.cap.ml { left: 8px;  top: 50%; transform: translateY(-50%); }
.cap.mr { right: 8px; top: 50%; transform: translateY(-50%); text-align: right; }
.cap.bl { left: 8px;  bottom: 54px; }
.cap.br { right: 8px; bottom: 54px; text-align: right; }

/* Center content */
.hero-center {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 90px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Soft dark "focus" scrim behind the eyebrow + headline — MOBILE ONLY, so
   desktop is unchanged. The phone reframe (below) puts the subject's head
   behind the text; this is a gentle safety net for legibility on top of that. */
.hero-center::before {
  content: "";
  position: absolute;
  inset: -8% -10% 0;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 600px) {
  .hero-center::before {
    background: radial-gradient(
      ellipse 80% 52% at 50% 32%,
      rgba(4, 14, 14, 0.42) 0%,
      rgba(4, 14, 14, 0.22) 50%,
      transparent 75%
    );
  }
}

.hero .eyebrow {
  display: inline-block;
  text-align: center;
  font-family: var(--display);
  font-weight: 500;
  color: var(--lime);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 0.82;
  letter-spacing: 0;
  word-spacing: 0.14em;       /* normal, even gaps (Social ↔ Club) */
  text-transform: uppercase;
  margin-bottom: 16px;
  /* tight dark halo + soft glow so the lime reads on bright photo areas */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6), 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero .eyebrow i { font-style: italic; }
/* extra breathing room only after "MasterPeace", before "Social" */
.hero .eyebrow i:nth-of-type(2) { margin-left: 0.34em; }

.hero h1 {
  color: var(--on);
  font-family: var(--mark);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 4.8vw, 68px);
  text-shadow: 0 6px 60px rgba(0, 0, 0, 0.6);
}
.hero h1 span { display: block; }

/* Glass dock card */
.hero-dock {
  margin-top: 30px;
  border-radius: 24px;
  padding: 22px 30px 24px;
  width: min(var(--dock-w), calc(100% - 24px));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-dock .drule {
  width: 48px;
  height: 1px;
  background: rgba(237, 234, 224, 0.4);
  margin-bottom: 15px;
}

.hero-dock .dcaps {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on);
}

.hero-dock .dtag {
  margin: 12px 0 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--on-dim);
  max-width: 34ch;
  text-align: center;
}

.hero-dock .dcta {
  display: flex;
  gap: 12px;
  width: 100%;
}
.hero-dock .dcta .btn {
  flex: 1;
  justify-content: center;
}

/* ════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════ */
.marquee {
  background: var(--lime);
  color: var(--teal-deep);
  overflow: hidden;
  border-top: 1px solid rgba(15, 72, 73, 0.15);
  border-bottom: 1px solid rgba(15, 72, 73, 0.15);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.mq-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 30px 10px 0;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
}
.mq-group span { display: inline-block; }
.mq-group .star { font-style: normal; font-size: 11px; transform: translateY(-2px); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════════
   ETHOS  (No. 01)
   ════════════════════════════════════════════════════════════ */
.ethos {
  padding: 110px 0 96px;
}

.ethos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.ethos-grid > * { min-width: 0; }

.ethos .lead-no {
  margin-bottom: 24px;
  color: var(--lime);
  opacity: 0.92;
}

.ethos .statement {
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1;
  color: var(--on);
  letter-spacing: -0.015em;
}
.ethos .statement em { font-style: italic; color: var(--lime); }

.ethos .copy {
  border-radius: 22px;
  padding: 32px 34px;
}
.ethos .copy p {
  font-size: 15.5px;
  line-height: 1.62;
  margin: 0 0 16px;
  color: var(--on-dim);
}
.ethos .copy p:first-child {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on);
}
.ethos .copy p:last-of-type { margin-bottom: 0; }
.ethos .copy b { font-weight: 600; color: var(--lime); }

.ethos .triad {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ethos .triad span {
  font-family: var(--display);
  font-style: italic;
  font-size: 21px;
  color: var(--on);
}
.ethos .triad span b { color: var(--lime); font-style: normal; font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   FEATURE  (No. 02)
   ════════════════════════════════════════════════════════════ */
.feature {
  position: relative;
  height: 84vh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--teal-deep);
}

.feature .thermal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: url(#mpsc-motion) contrast(1.05) saturate(1.1) brightness(0.92);
  transform: scale(1.12);          /* cover the soft edges the blur pulls in */
  animation: hero-drift 7s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .feature .thermal { animation: none; }
}

/* Grain layer sits above photo + vignette, below the text (z-index 3) */
.feature .grain-strong { z-index: 2; }

.feature .vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 32, 32, 0.12) 0%,
    rgba(8, 32, 32, 0.30) 55%,
    rgba(8, 32, 32, 0.66) 100%
  );
}

.feature .fcontent {
  position: relative;
  z-index: 3;
  padding: 0 64px 72px;
  padding-left: clamp(64px, 9vw, 150px);   /* indent the text in from the left edge */
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.feature h3 {
  color: var(--paper);
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.02;
  max-width: 13ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}
.feature h3 em { font-style: italic; color: var(--lime); }

.feature .fcap {
  margin-top: 20px;
  max-width: 44ch;
  color: var(--paper);
  opacity: 0.94;
  font-size: 16px;
  line-height: 1.6;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.45);
}

/* ════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════ */
.gallery { padding: 120px 0 78px; }

.gallery .ghead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 44px;
}
.gallery .ghead h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; }
.gallery .ghead h2 em { font-style: italic; color: var(--lime); }
.gallery .ghead p { max-width: 32ch; color: var(--on-dim); font-size: 15.5px; line-height: 1.6; }

.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.g-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--teal-deep);
  display: block;
  cursor: none;
}

.g-tile .gimg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.g-tile:hover .gimg { transform: scale(1.05); }

.g-tile .gshade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 30, 30, 0.60) 100%);
}

.g-tile .gcap {
  position: absolute;
  left: 22px; bottom: 20px; right: 22px;
  z-index: 2;
}
.g-tile .gcap .ek {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0.92;
}
.g-tile .gcap .et {
  font-family: var(--display);
  font-size: 26px;
  color: var(--paper);
  line-height: 1.05;
  margin-top: 6px;
}
.g-tile .gcap .et em { font-style: italic; color: var(--lime); }

/* ════════════════════════════════════════════════════════════
   WHAT WE DO
   ════════════════════════════════════════════════════════════ */
.dowedo { padding: 88px 0 78px; }

.dowedo .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 60px;
}
.dowedo .head h2 { font-size: clamp(32px, 4vw, 60px); line-height: 0.98; color: var(--paper); }
.dowedo .head h2 em { font-style: italic; color: var(--lime); }
.dowedo .head p { max-width: 34ch; color: var(--on-dim); font-size: 16px; line-height: 1.45; position: relative; top: 6px; }

.do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(248, 246, 242, 0.22);
}

.do-item {
  padding: 38px 30px 42px;
  border-bottom: 1px solid rgba(248, 246, 242, 0.22);
  border-right: 1px solid rgba(248, 246, 242, 0.22);
  transition: background 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  cursor: none;
}
.do-grid .do-item:nth-child(3n) { border-right: none; }
.do-item:hover { background: rgba(200, 241, 105, 0.06); }

.do-item .num {
  font-family: var(--display);
  font-size: 30px;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 60px;
}
.do-item h4 { font-size: clamp(20px, 2vw, 27px); line-height: 1.1; color: var(--paper); }
.do-item h4 em { font-style: italic; color: var(--lime); }
.do-item p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--on-dim); max-width: 32ch; }

/* ════════════════════════════════════════════════════════════
   MEMBERSHIP  (No. 03)
   ════════════════════════════════════════════════════════════ */
.member { padding: 88px 0 78px; }

.member-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: start;
}
.member-grid > * { min-width: 0; }

.member .lead-no { margin-bottom: 24px; color: var(--lime); }

.member h2 {
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 0.98;
  color: var(--on);
  letter-spacing: -0.02em;
}
.member h2 em { font-style: italic; color: var(--lime); }

.member .sub {
  margin: 28px 0 30px;
  font-size: 19px;
  line-height: 1.62;
  max-width: 42ch;
  color: var(--on-dim);
}
.member .sub b { color: var(--lime); font-weight: 600; }

.member-card { border-radius: 28px; padding: 38px 40px; }

.member-card .free {
  font-family: var(--display);
  font-size: 54px;
  color: var(--lime);
  line-height: 1;
}
.member-card .free small {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on);
  opacity: 0.72;
  margin-top: 10px;
}

.member-card ul {
  list-style: none;
  margin: 30px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.member-card li { display: flex; gap: 14px; font-size: 15px; line-height: 1.4; color: var(--on); }
.member-card li .bx { color: var(--lime); flex-shrink: 0; }
.member-card li b { font-weight: 600; }
.member-card li small { display: block; opacity: 0.82; font-size: 13px; margin-top: 3px; }
.member-card .btn { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   SAY HELLO
   ════════════════════════════════════════════════════════════ */
.hello { padding: 88px 0 110px; }

.hello-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hello h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 0.98; color: var(--paper); }
.hello h2 em { font-style: italic; color: var(--lime); }

.hello .lead { margin: 24px 0 30px; font-size: 18px; line-height: 1.62; max-width: 40ch; color: var(--on-dim); }

.hello .meta { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.hello .meta a { color: var(--lime); cursor: none; }
.hello .meta .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 18px;
}

.form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-faint);
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(248, 246, 242, 0.30);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 16px;
  padding: 10px 2px;
  outline: none;
  transition: border-color 0.25s;
  cursor: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field textarea:focus { border-color: var(--lime); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(248, 246, 242, 0.40); }

.form .btn { align-self: flex-start; margin-top: 6px; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  padding: 56px 0 36px;
  border-top: 1px solid rgba(237, 234, 224, 0.12);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.6fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
  cursor: none;
}
.footer-brand i { font-style: italic; }

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  border-bottom: 1px solid rgba(200, 241, 105, 0.4);
  padding-bottom: 5px;
  cursor: none;
  transition: gap 0.3s cubic-bezier(0.7, 0, 0.2, 1), border-color 0.3s;
}
.footer-cta .ar { width: 14px; height: 14px; transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1); }
.footer-cta:hover { gap: 14px; border-color: var(--lime); }
.footer-cta:hover .ar { transform: translateX(4px); }

.footer-cols .blurb {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.62;
  opacity: 0.86;
  margin: 18px 0 0;
  color: var(--on-dim);
}

.footer-col h5 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }

.footer-col a {
  font-size: 14.5px;
  opacity: 0.90;
  transition: opacity 0.2s, color 0.2s;
  cursor: none;
}
.footer-col a:hover { opacity: 1; color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 246, 242, 0.12);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-faint);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  /* On phone/tablet the section links live in the slide-out menu, so hide the
     inline CTA and reveal the hamburger toggle (keeps the bar to logo + toggle). */
  .nav-cta .btn-lime { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 860px) {
  .ethos-grid,
  .member-grid,
  .hello-grid { grid-template-columns: 1fr; gap: 40px; }

  .do-grid { grid-template-columns: 1fr; }
  .do-grid .do-item { border-right: none; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }

  .gallery .ghead { flex-direction: column; align-items: flex-start; }
  .g-grid { grid-template-columns: 1fr; }
  .g-tile { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .cap { display: none; }
  .wrap { padding: 0 20px; }
  .hero-dock .dcta { flex-direction: column; }
  .hero-dock .dcaps { white-space: normal; text-align: center; }
  .feature .fcontent { padding: 0 20px 48px; }
  .footer-cols { grid-template-columns: 1fr; }
  .nav { padding-left: 20px; padding-right: 20px; }
  .nav.scrolled { padding-left: 20px; padding-right: 20px; }
}

/* ════════════════════════════════════════════════════════════
   CONTENT / DOC PAGES (Commitment · Code of Conduct · Accessibility
   · Privacy · Terms) — long-form readable layout
   ════════════════════════════════════════════════════════════ */
.doc { padding: 168px 0 96px; position: relative; z-index: 1; }

.doc-head {
  max-width: 820px;
  margin: 0 auto 52px;
  padding: 0 48px;
}
.doc-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.doc-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--on);
}
.doc-head h1 em { font-style: italic; color: var(--lime); }
.doc-updated {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-faint);
}

.doc-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 48px;
}
.doc-body .lead {
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--on);
  margin: 0 0 26px;
}
.doc-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--lime);
  margin: 44px 0 14px;
}
.doc-body p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--on-dim);
  margin: 0 0 16px;
  max-width: 70ch;
}
.doc-body p.tight { margin-bottom: 6px; }
.doc-body a { color: var(--lime); border-bottom: 1px solid rgba(200, 241, 105, 0.4); }
.doc-body a:hover { border-color: var(--lime); }

.doc-body ul {
  list-style: none;
  margin: 6px 0 18px;
  padding: 0;
  max-width: 70ch;
}
.doc-body li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dim);
  border-bottom: 1px solid rgba(237, 234, 224, 0.08);
}
.doc-body li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--lime);
  font-size: 11px;
}

.doc-body .closing {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(237, 234, 224, 0.12);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--on);
}
.doc-body .closing .lime { color: var(--lime); font-style: normal; }

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 52px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on);
  cursor: none;
  transition: gap 0.3s cubic-bezier(0.7, 0, 0.2, 1), color 0.2s;
}
.doc-back .ar { width: 14px; height: 14px; transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1); }
.doc-back:hover { color: var(--lime); gap: 14px; }
.doc-back:hover .ar { transform: translateX(-4px); }

@media (max-width: 560px) {
  .doc { padding: 130px 0 72px; }
  .doc-head, .doc-body { padding: 0 22px; }
}

/* ════════════════════════════════════════════════════════════
   NEWSLETTER MODAL
   ════════════════════════════════════════════════════════════ */
.nl-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.nl-modal.open { display: flex; }

.nl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nl-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  border-radius: 24px;
  padding: 42px 36px 30px;
  animation: nl-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes nl-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.nl-x {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  color: var(--on-dim);
  font-size: 26px;
  line-height: 1;
  cursor: none;
  transition: color 0.2s;
}
.nl-x:hover { color: var(--lime); }

.nl-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.nl-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on);
}
.nl-card h3 em { font-style: italic; color: var(--lime); }
.nl-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-dim);
  margin: 14px 0 22px;
}

.nl-form { display: flex; flex-direction: column; gap: 14px; }
.nl-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(248, 246, 242, 0.3);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 17px;
  padding: 10px 2px;
  outline: none;
  cursor: none;
  transition: border-color 0.25s;
}
.nl-form input:focus { border-color: var(--lime); }
.nl-form input::placeholder { color: rgba(248, 246, 242, 0.4); }
.nl-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.nl-done {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--lime);
  padding: 10px 0 6px;
}

.nl-fine {
  margin-top: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-faint);
}

/* ════════════════════════════════════════════════════════════
   MOBILE NAV — hamburger toggle + slide-out menu (≤1080px)
   ════════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;            /* shown ≤1080 via the responsive block */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  position: relative;
  cursor: none;
  z-index: 210;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;            /* below the nav (200) so logo + close-X stay visible */
  display: none;
  flex-direction: column;
  padding: 104px 28px 36px;
  background: rgba(7, 22, 22, 0.90);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}
.mobile-menu.open { display: flex; animation: mm-fade 0.3s ease; }
@keyframes mm-fade { from { opacity: 0; } to { opacity: 1; } }

.mobile-menu .mm-inner {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(237, 234, 224, 0.12);
}
.mobile-menu .mm-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on);
  padding: 22px 4px;
  border-bottom: 1px solid rgba(237, 234, 224, 0.12);
  cursor: none;
  transition: color 0.2s, padding-left 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}
.mobile-menu .mm-link:hover,
.mobile-menu .mm-link:active { color: var(--lime); padding-left: 14px; }

.mobile-menu .mm-cta { margin-top: auto; padding-top: 28px; }
.mobile-menu .mm-cta .btn { width: 100%; justify-content: center; padding-top: 18px; padding-bottom: 18px; }

.mobile-menu .mm-fine {
  margin-top: 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-faint);
}

/* lock background scroll while the menu is open */
body.menu-open { overflow: hidden; }

/* Reveal the hamburger ≤1080 — placed after the base rule above so it wins. */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-lime { display: none; }
}

/* ── Hero photo framing on phones ───────────────────────────
   On a tall phone crop the full image height shows, dropping the bright
   window behind the eyebrow. Zoom in and bias the crop so the subject's
   head/upper body sits behind the wordmark + headline, like desktop. */
@media (max-width: 600px) {
  .hero-bg {
    animation: none;                 /* static zoom instead of the drift */
    transform: scale(1.6);
    transform-origin: 50% 64%;
  }
}
