/* =========================================================================
   With U Alumni landing page — stylesheet
   =========================================================================
   Layout of this file:
     1. Design tokens      — colors, fonts, spacing, images. Edit here first.
     2. Base + primitives  — reset, typography, .wrap, .eyebrow, .btn
     3. Sections           — nav, hero, swing, unlocks, foundation, renew, final
     4. Motion             — .reveal animation and reduced-motion fallback

   To restyle the page, change a token in section 1. Almost every visual
   choice below reads from these variables, so one edit updates the page.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Surfaces — page background and the two tinted section backgrounds */
  --paper: #FFFFFF;
  --surface: #F5F7F2;
  --surface-2: #EDF1E9;

  /* Brand green. --green is the fill, --green-ink is the readable text tone */
  --green: #6ACC46;
  --green-ink: #358A1E;
  --green-hover: #5EC03A;

  /* Ink */
  --dark: #12140F;
  --text: #12140F;
  --muted: #5C6357;

  /* Hairlines */
  --line: rgba(18, 20, 15, .10);
  --line-soft: rgba(18, 20, 15, .07);

  /* Type */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Layout */
  --maxw: 1160px;
  --gutter: 28px;
  --radius: 8px;
  --radius-sm: 2px;

  /* Section background photographs */
  --hero-image: url('img/hero.jpg');
  --final-image: url('img/final.jpg');
}

/* -------------------------------------------------------------------------
   2. BASE + PRIMITIVES
   ------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green-ink);
}

h1,h2,h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 2px;
  background: var(--green);
  color: var(--dark);
  border: 1px solid var(--green);
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(106,204,70,.35);
  background: var(--green-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--green-ink);
  box-shadow: none;
  background: transparent;
  color: var(--green-ink);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-dark:hover {
  background: #000;
  box-shadow: 0 12px 30px rgba(18,20,15,.25);
}

/* -------------------------------------------------------------------------
   3. SECTIONS — navigation bar
   ------------------------------------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.8);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.01em;
}

.brand span {
  color: var(--green-ink);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 20px;
}

.nav-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

@media(max-width:640px) {
  .nav-tag {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Hero: full-bleed photo behind stacked white gradients
   ------------------------------------------------------------------------- */
header {
  position: relative;
  padding: 120px 0 108px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(255,255,255,.55) 82%, #fff 100%),linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 32%, rgba(255,255,255,.6) 66%, rgba(255,255,255,.74) 100%),var(--hero-image);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

header::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 34%;
  transform: translateX(-50%);
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(106,204,70,.14),transparent 62%);
  pointer-events: none;
  z-index: 1;
}

@media(max-width:900px) {
  header {
    padding: 88px 0 80px;
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.86) 55%, #fff 100%),var(--hero-image);
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media(max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero h1 {
  font-size: clamp(42px,6.4vw,82px);
  margin: 22px 0 8px;
}

.hero h1 .here {
  color: var(--muted);
}

.hero h1 .there {
  color: var(--green-ink);
  position: relative;
}

.hero h1 .there::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .06em;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,var(--green),rgba(106,204,70,0));
}

.hero p.lead {
  font-size: clamp(17px,2vw,20px);
  color: var(--muted);
  max-width: 520px;
  margin: 24px 0 34px;
}

.hero p.lead b {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.video {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 64px rgba(18,20,15,.3);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* -------------------------------------------------------------------------
   Swing: demand-constrained vs supply-constrained panels
   ------------------------------------------------------------------------- */
.swing {
  padding: 90px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.swing .sec-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.swing .sec-head h2 {
  font-size: clamp(30px,4.4vw,52px);
  margin: 16px 0 14px;
}

.swing .sec-head p {
  color: var(--muted);
  font-size: 17px;
}

.swing .sec-head p b {
  color: var(--text);
  font-weight: 600;
}

.swing-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
}

@media(max-width:820px) {
  .swing-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 28px;
  background: var(--paper);
  position: relative;
}

.panel .picon {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.panel .picon svg {
  width: 24px;
  height: 24px;
}

.panel .state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.panel h3 {
  font-size: 26px;
  margin-bottom: 22px;
  line-height: 1.04;
}

.panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  align-items: center;
}

.panel li .mk {
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.panel.old {
  background: var(--surface-2);
}

.panel.old .picon {
  background: rgba(18,20,15,.06);
  color: var(--muted);
}

.panel.old .state {
  color: var(--muted);
}

.panel.old h3 {
  color: var(--muted);
}

.panel.old li {
  color: var(--muted);
}

.panel.old .mk {
  background: rgba(18,20,15,.12);
  color: var(--muted);
}

.panel.now {
  border-color: var(--green);
  box-shadow: 0 20px 48px rgba(106,204,70,.16);
}

.panel.now::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
  border-radius: 8px 8px 0 0;
}

.panel.now .picon {
  background: rgba(106,204,70,.14);
  color: var(--green-ink);
}

.panel.now .state {
  color: var(--green-ink);
}

.panel.now .mk {
  background: var(--green);
}

.pivot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 118px;
}

.pivot .arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(106,204,70,.4);
}

.pivot .plabel {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

@media(max-width:820px) {
  .pivot .arrow {
    transform: rotate(90deg);
  }
}

.swing-note {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: var(--paper);
  padding: 26px 30px;
}

.swing-note .lead-in {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-ink);
  display: block;
  margin-bottom: 9px;
}

.swing-note p {
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.55;
}

.swing-note p b {
  color: var(--green-ink);
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   Unlocks: card grid of what membership adds
   ------------------------------------------------------------------------- */
.unlocks {
  padding: 88px 0 30px;
}

.sec-head-l {
  max-width: 640px;
  margin-bottom: 48px;
}

.sec-head-l h2 {
  font-size: clamp(30px,4.4vw,54px);
  margin: 16px 0 14px;
}

.sec-head-l p {
  color: var(--muted);
  font-size: 17px;
}

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

@media(max-width:900px) {
  .grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 18px 44px rgba(18,20,15,.09);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .28s ease;
}

.card:hover::before {
  transform: scaleY(1);
}

.card .problem {
  color: var(--muted);
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 15px;
}

.card .rule {
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-bottom: 16px;
}

.card .answer-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: rgba(106,204,70,.13);
  color: var(--green-ink);
  display: grid;
  place-items: center;
  flex: none;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 19px;
  line-height: 1.08;
  margin: 0;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
  margin: 0;
}

.card .tag {
  display: inline-block;
  margin-top: 16px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--green-ink);
  border: 1px solid var(--green);
  padding: 5px 11px;
  border-radius: 2px;
}

.addon {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--green);
  background: rgba(106,204,70,.06);
  border-radius: 8px;
  padding: 28px 32px;
}

@media(max-width:640px) {
  .addon {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 28px 24px;
  }
}

.addon .plus {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  flex: none;
  line-height: 1;
}

.addon h3 {
  font-size: 21px;
  margin-bottom: 6px;
  line-height: 1.1;
}

.addon p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.addon p b {
  color: var(--text);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Foundation: what members keep
   ------------------------------------------------------------------------- */
.foundation {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  padding: 72px 0;
}

.found-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.found-head h2 {
  font-size: clamp(24px,3.4vw,38px);
  margin-top: 14px;
}

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

@media(max-width:760px) {
  .found-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.found-item {
  display: flex;
  flex-direction: column;
}

.f-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(18,20,15,.07);
  color: var(--text);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.f-icon svg {
  width: 25px;
  height: 25px;
}

.found-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.16;
}

.found-item p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.card .team {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card .team span {
  font-size: 11.5px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 5px 10px;
  border-radius: 2px;
}

.card .team span b {
  color: var(--green-ink);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Renewal: green call-out band
   ------------------------------------------------------------------------- */
.renew {
  padding: 40px 0 96px;
}

.renew-inner {
  position: relative;
  overflow: hidden;
  background: var(--green);
  border-radius: 8px;
  padding: 52px 52px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}

@media(max-width:820px) {
  .renew-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 30px;
    text-align: center;
  }
}

.renew-inner::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(255,255,255,.30),transparent 60%);
}

.renew .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--dark);
  padding: 9px 15px;
  border-radius: 2px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.renew h2 {
  font-size: clamp(24px,3vw,34px);
  line-height: 1.08;
  position: relative;
  z-index: 2;
  color: var(--dark);
}

.renew p {
  color: rgba(18,20,15,.72);
  margin-top: 12px;
  font-size: 16px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

@media(max-width:820px) {
  .renew p {
    margin-inline: auto;
  }
}

.renew .btn {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Final: closing pitch over the second photograph
   ------------------------------------------------------------------------- */
.final {
  position: relative;
  text-align: center;
  padding: 132px 0 138px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.78) 24%, rgba(255,255,255,.78) 76%, #fff 100%),var(--final-image);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(106,204,70,.1),transparent 60%);
  z-index: 1;
}

@media(max-width:900px) {
  .final {
    padding: 100px 0 104px;
    background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,.85) 22%,rgba(255,255,255,.85) 78%,#fff 100%),var(--final-image);
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
  }
}

.final .inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.final h2 {
  font-size: clamp(34px,5.4vw,66px);
  line-height: 1.02;
}

.final h2 .green {
  color: var(--green-ink);
}

.final p {
  color: var(--muted);
  font-size: 18px;
  margin: 22px auto 30px;
  max-width: 520px;
}

.final .final-lead {
  color: var(--text);
  font-weight: 600;
  font-size: clamp(18px,2.2vw,21px);
  line-height: 1.35;
  margin: 24px auto 8px;
  max-width: 560px;
}

.final .price {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--muted);
}

.final .price b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--green-ink);
  letter-spacing: -.01em;
  margin-right: 10px;
  vertical-align: -2px;
}

.final .btn {
  font-size: 16px;
  padding: 18px 36px;
}

footer {
  border-top: 1px solid var(--line-soft);
  padding: 34px 0;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-inner .brand {
  font-size: 16px;
}

.foot-inner p {
  color: var(--muted);
  font-size: 13px;
}

/* -------------------------------------------------------------------------
   4. MOTION — .reveal fades sections in as they scroll into view
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease,transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .btn:hover,.card:hover {
    transform: none;
  }
}

