/* =====================================================================
   U2ber Cohort — styles (premium monochrome, matches u2berclub.com)
   ===================================================================== */
:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --black-3: #111110;
  --white: #f4f4f2;
  --grey: #8a8a86;
  --grey-2: #b4b4af;
  --line: rgba(244, 244, 242, 0.14);
  --line-2: rgba(244, 244, 242, 0.24);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--white); color: var(--black); }
img { max-width: 100%; display: block; }
a { color: var(--white); }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.stack { display: flex; flex-direction: column; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { position: relative; padding: clamp(90px, 15vh, 180px) 0; }
.rule { border-top: 1px solid var(--line); }

/* ---------- type ---------- */
.label {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 26px;
}
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.03em; }
.it { font-style: italic; font-weight: 400; }
.dim { color: var(--grey); }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.lead { color: var(--grey); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; max-width: 52ch; margin-top: 26px; }
.section-head { margin-bottom: clamp(48px, 8vh, 80px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 15px 34px; border-radius: 100px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: all .4s var(--ease);
}
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(244, 244, 242, 0.18); color: var(--black); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; white-space: nowrap;
}

/* ---------- nav ---------- */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 32px;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-bar.scrolled {
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  padding: 16px 32px; border-bottom-color: var(--line);
}
.mark { font-weight: 600; font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white); text-decoration: none; }
.mark span { color: var(--grey); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--grey); text-decoration: none; font-size: 13px; letter-spacing: 0.05em; transition: color .3s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { color: var(--white) !important; border: 1px solid var(--line); padding: 9px 18px; border-radius: 100px; transition: all .4s var(--ease); }
.nav-cta:hover { background: var(--white); color: var(--black) !important; border-color: var(--white); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; overflow: hidden; padding: 120px 24px 120px;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 34px; opacity: 0; transform: translateY(20px);
  animation: rise 1.1s var(--ease) .2s forwards;
}
.eyebrow::before, .eyebrow::after {
  content: ""; display: inline-block; width: 26px; height: 1px;
  background: var(--grey); vertical-align: middle; margin: 0 14px 3px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 10rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 13ch;
}
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(40px); animation: rise 1.2s var(--ease) forwards; }
.hero .sub {
  margin-top: 40px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--grey);
  max-width: 46ch; line-height: 1.6; opacity: 0; transform: translateY(20px);
  animation: rise 1.1s var(--ease) 1s forwards;
}
.hero .btn-row { margin-top: 46px; justify-content: center; opacity: 0; transform: translateY(20px); animation: rise 1.1s var(--ease) 1.15s forwards; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey);
  opacity: 0; animation: fade 1s ease 1.6s forwards;
}
.scroll-hint span {
  display: block; width: 1px; height: 44px; background: linear-gradient(var(--grey), transparent);
  margin: 14px auto 0; transform-origin: top; animation: pulse 2.2s ease-in-out infinite;
}
.ghost {
  position: absolute; font-family: var(--serif); font-weight: 300;
  color: rgba(244, 244, 242, 0.03); white-space: nowrap; pointer-events: none; user-select: none;
  font-size: clamp(8rem, 26vw, 30rem); letter-spacing: -0.04em;
}
.ghost.one { top: 6%; left: -8%; }
.ghost.two { bottom: 4%; right: -10%; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scaleY(0.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- manifesto ---------- */
.manifesto p.big {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 22ch;
}
.manifesto .strike { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--grey); }

/* ---------- three ways / grid cells ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell {
  background: var(--black); padding: 52px 40px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  transition: background .5s var(--ease);
}
.cell:hover { background: #0c0c0c; }
.cell .num { font-family: var(--serif); font-size: 1.1rem; color: var(--grey); }
.cell h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.cell p { color: var(--grey); font-size: 0.98rem; line-height: 1.6; }
.cell.crossed h3 { color: var(--grey); text-decoration: line-through; text-decoration-thickness: 1px; }
.cell.win { background: var(--white); color: var(--black); }
.cell.win .num, .cell.win p { color: #4a4a47; }
.cell.win h3 { font-style: italic; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-block; animation: scrollx 38s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem); color: var(--grey); margin: 0 30px; letter-spacing: -0.02em;
}
.marquee-track span::after { content: "·"; margin-left: 60px; color: rgba(244, 244, 242, 0.2); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- method ---------- */
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--black); padding: 40px 28px; display: flex; flex-direction: column; gap: 18px; min-height: 300px; transition: background .5s var(--ease); }
.step:hover { background: #0c0c0c; }
.step .num { font-family: var(--serif); font-size: 1rem; color: var(--grey); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; }
.step p { color: var(--grey); font-size: 0.95rem; line-height: 1.6; flex: 1 1 auto; }

/* ---------- experiments ---------- */
.exp-list { list-style: none; border-top: 1px solid var(--line); }
.exp {
  display: grid; grid-template-columns: minmax(120px, 0.6fr) 1.4fr 1fr; gap: 40px;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.exp-no { font-family: var(--serif); font-weight: 300; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.04em; color: rgba(244, 244, 242, 0.22); }
.exp-no small { display: block; margin-top: 16px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.32em; color: var(--grey); text-transform: uppercase; }
.exp-main h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.05; }
.exp-main p { color: var(--grey); font-size: 1rem; line-height: 1.65; margin-top: 16px; max-width: 46ch; }
.exp-main .study { margin-top: 26px; font-size: 0.92rem; color: var(--grey-2); }
.exp-main .study b { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.exp-side { display: flex; flex-direction: column; gap: 28px; }
.exp-side b { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.task { border: 1px solid var(--line-2); border-radius: 20px; padding: 22px 24px; }
.task span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.45; }
.exp-end { padding-top: 70px; text-align: center; }
.exp-end p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; margin: 0 auto; }

/* ---------- traits ---------- */
.traits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; text-align: center; border-top: 1px solid var(--line); padding-top: 70px; }
.trait strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; }
.trait span { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-top: 16px; line-height: 1.7; }

/* ---------- tools ---------- */
.tools-head { display: flex; flex-wrap: wrap; gap: 32px 60px; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(48px, 8vh, 80px); }
.weekly { text-align: right; }
.weekly .label { margin-bottom: 10px; }
.weekly p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
.tool-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tool-col { background: var(--black); padding: 44px 40px; }
.tool-col h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 18px; }
.tool-list { list-style: none; }
.tool-list li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tool-list b { font-weight: 500; font-size: 13px; letter-spacing: 0.16em; }
.tool-list span { color: var(--grey); font-size: 0.95rem; text-align: right; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { background: var(--black); padding: 44px 32px; display: flex; flex-direction: column; gap: 28px; transition: background .5s var(--ease); }
.plan:hover { background: #0c0c0c; }
.plan .tag { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey); }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -0.02em; margin-top: 10px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price strong { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--grey); font-size: 13px; letter-spacing: 0.04em; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.plan li { color: var(--grey-2); font-size: 0.95rem; line-height: 1.5; padding-left: 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--grey); }
.plan .btn { width: 100%; }
.plan.featured { background: var(--white); color: var(--black); }
.plan.featured .tag, .plan.featured .price span { color: #5a5a56; }
.plan.featured li { color: #2a2a28; }
.plan.featured li::before { background: #2a2a28; }
.plan.featured .btn-solid { background: var(--black); color: var(--white); }
.plan.featured .btn-solid:hover { color: var(--white); box-shadow: 0 12px 40px rgba(5, 5, 5, 0.25); }
.fine { margin-top: 26px; font-size: 12px; color: var(--grey); letter-spacing: 0.02em; }

/* ---------- join ---------- */
.join { text-align: center; }
.join h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 0.98; letter-spacing: -0.03em; }
.join .sub2 { color: var(--grey); margin: 28px auto 44px; max-width: 46ch; font-size: 1.05rem; line-height: 1.6; }
.join-form { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  flex: 1 1 200px; width: 100%; background: transparent; border: 1px solid var(--line-2);
  color: var(--white); font-family: var(--sans); font-size: 15px;
  padding: 16px 22px; border-radius: 100px; outline: none; transition: border-color .4s var(--ease);
}
.input::placeholder { color: var(--grey); }
.input:focus { border-color: var(--white); }
.join-form .btn { align-self: center; }
.form-msg { min-height: 26px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.15rem; }
.form-msg.ok { color: var(--white); }
.form-msg.err { color: #e8a598; font-family: var(--sans); font-style: normal; font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot .mark { font-size: 13px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { color: var(--grey); text-decoration: none; font-size: 13px; letter-spacing: 0.02em; transition: color .3s; }
.foot-links a:hover { color: var(--white); }
.copy { color: var(--grey); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- inner pages (student, refund, terms) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 150px 32px 110px; }
.page h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 26px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.page p, .page li { font-size: 1rem; line-height: 1.75; color: var(--grey-2); }
.page a { color: var(--white); }
.form-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field .input { flex: none; }
.field label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.file-input { border-radius: 20px; padding: 14px 18px; color: var(--grey-2); }
.file-input::file-selector-button { font-family: var(--sans); font-size: 13px; background: var(--white); color: var(--black); border: 0; border-radius: 100px; padding: 8px 16px; margin-right: 14px; cursor: pointer; }
.note { font-size: 13px; color: var(--grey); }
.placeholder-note { border: 1px dashed var(--line-2); border-radius: 16px; padding: 14px 18px; color: var(--grey-2); font-size: 14px; margin-bottom: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .method { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .traits { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
}
@media (max-width: 860px) {
  .exp { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .grid3, .tool-cols { grid-template-columns: 1fr; }
  .cell { min-height: auto; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .nav-bar, .nav-bar.scrolled { padding-left: 22px; padding-right: 22px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .method, .plans { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .traits { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .tool-col { padding: 36px 24px; }
  .weekly { text-align: left; }
  .hero .btn-row .btn, .join-form .btn { width: 100%; }
  .page { padding: 120px 22px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .eyebrow, .hero h1 .word, .hero .sub, .hero .btn-row, .scroll-hint, .reveal { opacity: 1 !important; transform: none !important; }
}
