/* ==========================================================
   With Impact Media · Masterclass landing page
   Mobile-first. Tokens first, then sections in page order.
   ========================================================== */

:root {
  --bg: #F6F4F0;
  --ink: #111111;
  --maroon: #5B0B06;
  --maroon-dk: #3E0704;
  --blush: #E7B9B4;
  --pale: #F1DCD9;
  --sand: #EDE8E1;
  --sand-2: #E7E2DB;
  --char: #2A2624;
  --muted: #5E5E5E;
  --soft: #B5B0AB;
  --line-dk: rgba(255, 255, 255, .25);

  --f-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --sticky-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--maroon); }
a:hover { color: var(--maroon-dk); }
p, h1, h2, h3, figure, blockquote, ul, ol { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared bits ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sec { padding-top: 72px; padding-bottom: 80px; }
.dark { background: var(--ink); color: #fff; }
.mono { font-family: var(--f-mono); font-size: 12px; }
.upper { text-transform: uppercase; letter-spacing: .04em; }
.blush { color: var(--blush); }
.maroon { color: var(--maroon); }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.f1 { flex: 1; }

.eyebrow {
  margin-bottom: 16px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow--blush { color: var(--blush); }
.eyebrow--maroon { color: var(--maroon); }
.eyebrow--pale { color: var(--pale); margin-bottom: 32px; }

.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 6.5vw, 80px); line-height: .92;
}
.lede { margin-top: 16px; font-size: 17px; line-height: 1.55; color: #2B2B2B; max-width: 560px; }
.lede-dark { margin-top: 16px; font-size: 17px; line-height: 1.55; color: #C9C4BF; max-width: 520px; }

.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--ink { stroke-width: 2.4; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 0;
  font-family: var(--f-body); font-size: 16px; font-weight: 600;
  text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, opacity .2s;
}
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--pale); color: var(--ink); }
.btn--maroon-text, .btn--maroon-text:hover { color: var(--maroon); }
.btn--block { display: flex; width: 100%; min-height: 56px; }
.btn--tall { min-height: 60px; font-size: 17px; }
.btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); font-weight: 400; min-height: 56px; padding: 0 20px; }
.btn--outline:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn--outline-strong { background: transparent; color: #fff; border: 1px solid #fff; }
.btn--outline-strong:hover { background: #fff; color: var(--maroon); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.link-u {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-u:hover { color: var(--blush); }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__type span { font-size: 9px; font-weight: 500; letter-spacing: .04em; }
.logo__type b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }

/* hover lift (pointer devices only) */
@media (hover: hover) {
  .lift { transition: transform .25s ease; }
  .lift:hover { transform: translateY(-6px); }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; overflow: hidden; background: #1E1B19; color: #fff; isolation: isolate; }
.hero__shade { position: absolute; inset: 0; background: rgba(17, 17, 17, .7); z-index: -1; }
.hero__hawk {
  position: absolute; right: -6%; top: 46%;
  width: 120%; max-width: 980px; height: auto; opacity: .12; pointer-events: none;
  fill: none; stroke: #fff; stroke-width: .6;
}
.hero__hawk polygon { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__inner { position: relative; padding-top: 20px; padding-bottom: 64px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-dk);
}
.btn-ghost-sm {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px;
  font-family: var(--f-mono); font-size: 12px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.5);
}
.btn-ghost-sm:hover { background: #fff; color: var(--ink); }

.hero .eyebrow { margin: 48px 0 20px; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(60px, 11vw, 148px); line-height: .9; max-width: 1040px;
}
.hero__title span { color: var(--blush); }
.hero__lede { margin-top: 28px; font-size: 18px; line-height: 1.55; max-width: 560px; color: #E4E0DC; }

.steps {
  list-style: none; padding: 0; margin-top: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line-dk);
}
.steps li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-dk); }
.steps p { margin-top: 6px; font-size: 16px; font-weight: 500; }

.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero__ctas .btn { min-height: 56px; padding: 0 30px; }
.hero__note { margin-top: 20px; color: var(--soft); }

/* load-in animation */
.rise { animation: rise .9s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; }
.d3 { animation-delay: .36s; } .d4 { animation-delay: .48s; }
.hero__hawk { animation: hawkSlide 1.4s var(--ease) both; }
.hero__hawk polygon { animation: hawkDraw 2.4s .2s var(--ease) both; }
@keyframes rise { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hawkSlide { from { transform: translateX(-80px); opacity: 0; } to { transform: none; opacity: .12; } }
@keyframes hawkDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ==========================================================
   LIBRARY + FORM
   ========================================================== */
.library { position: relative; overflow: hidden; background: var(--maroon); color: #fff; scroll-margin-top: 0; }
.library__hawk { position: absolute; left: -10%; bottom: 6%; width: 70%; height: auto; opacity: .08; pointer-events: none; }
.library__inner { position: relative; padding-top: 72px; padding-bottom: 80px; }
.library__grid { display: flex; flex-direction: column; gap: 40px; }
.library__side { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 340px; }
.library__main { min-width: 0; }

.cover {
  width: 72%; max-width: 260px; aspect-ratio: 3 / 4;
  background: var(--bg); color: var(--ink);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 32px 64px rgba(0,0,0,.35); transform: rotate(-2deg);
}
.cover__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cover__top .mono { font-size: 10px; letter-spacing: .06em; }
.cover__title { font-family: var(--f-display); font-size: 42px; line-height: .9; }
.cover__title span { color: var(--maroon); }
.cover__meta { font-size: 11px; line-height: 1.6; color: var(--muted); }

.btn-locked {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 56px; border: 1px dashed rgba(255,255,255,.6); background: transparent; color: #fff;
  font-weight: 600; font-size: 16px; cursor: not-allowed;
}
.side-locked, .side-unlocked { display: flex; flex-direction: column; gap: 20px; }
.side-unlocked .btn { min-height: 56px; padding: 0 16px; white-space: nowrap; font-size: 15px; }
/* on phones the thank-you block right below already has the download button */
.side-unlocked { display: none; }
.side-note { color: var(--pale); text-align: center; }
.arr-r { display: none; }
/* on phones the locked button is redundant right above the form */
.side-locked .btn-locked { display: none; }
.side-locked .side-note { text-align: left; }

.h-form { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: .92; }
.h-done { font-family: var(--f-display); font-weight: 400; font-size: clamp(72px, 12vw, 140px); line-height: .88; }
.sub { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--pale); max-width: 520px; }

.progress { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.progress__bar { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.progress__bar i { height: 3px; background: rgba(255,255,255,.3); transition: background-color .3s; }
.progress__bar i.on { background: #fff; }

.step { margin: 32px 0 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.step[data-step="2"], .step[data-step="3"] { gap: 28px; }
.lbl {
  display: block; margin-bottom: 8px;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.q .lbl { margin-bottom: 12px; }
.field { display: flex; flex-direction: column; }
.field .lbl { margin-bottom: 8px; }
.field input {
  height: 52px; padding: 0 14px; border: 2px solid transparent; border-radius: 0;
  background: #fff; color: var(--ink); font-size: 16px; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #8A8580; }
.field input:focus { outline: none; border-color: var(--blush); }
.field input[aria-invalid="true"] { border-color: #FFB4A8; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  background: transparent; color: #fff; font-size: 14px; font-weight: 400;
  transition: background-color .15s, color .15s;
}
.pill:hover { border-color: #fff; }
.pill[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--maroon); font-weight: 600; }
.pills.is-invalid .pill { border-color: #FFB4A8; }

.q--boxed { padding: 20px; border: 1px solid rgba(255,255,255,.4); }
.q__help { margin: -4px 0 14px; font-size: 15px; line-height: 1.5; color: var(--pale); }

.err { min-height: 0; font-size: 14px; color: #FFD6CF; font-weight: 500; }
.err:empty { display: none; }
.nav { display: flex; gap: 12px; margin-top: 4px; }
.step > .btn--block { margin-top: 8px; }
.fine { line-height: 1.6; color: var(--pale); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* thank-you */
.done:focus { outline: none; }
.done > .btn { margin-top: 32px; }
.done__big { font-size: 20px; line-height: 1.45; }
.done__call { margin-top: 32px; background: var(--ink); padding: 28px; }
.done__call .done__big { margin-top: 12px; }
.done__call .btn { margin-top: 20px; }
.done__follow { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.4); padding-top: 28px; }
.done__follow .btn { margin-top: 20px; }
.done__next { margin-top: 28px; }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee { background: var(--ink); color: #fff; overflow: hidden; border-block: 1px solid #2B2B2B; }
.marquee__track {
  display: flex; width: max-content; padding: 16px 0;
  font-family: var(--f-display); font-size: 28px; letter-spacing: .04em; white-space: nowrap;
  animation: marq 30s linear infinite;
}
.marquee__track span { padding-right: 32px; }
.marquee__track i { font-style: normal; color: var(--blush); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   THE IDEA
   ========================================================== */
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.idea { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.idea__words { flex: 1 1 420px; display: flex; flex-direction: column; min-width: 0; }
.idea__w {
  display: flex; align-items: baseline; gap: 16px; width: 100%;
  padding: 4px 0; border: 0; border-bottom: 1px solid var(--ink);
  background: transparent; text-align: left;
}
.idea__w .mono { width: 28px; font-size: 13px; color: var(--muted); flex: none; }
.idea__txt {
  font-family: var(--f-display); font-size: clamp(64px, 10vw, 128px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--ink);
  transition: color .3s;
  overflow-wrap: anywhere;
}
.idea__w[aria-pressed="true"] .mono { color: var(--maroon); }
.idea__w[aria-pressed="true"] .idea__txt { color: var(--maroon); -webkit-text-stroke: 0; }
.idea__card {
  flex: 1 1 300px; background: var(--ink); color: #fff; padding: 32px; min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.idea__line { font-size: 24px; line-height: 1.4; font-weight: 500; }
.idea__line.swap { animation: rise .5s var(--ease) both; }

/* ==========================================================
   FOUNDERS
   ========================================================== */
.founders { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.founder { position: relative; aspect-ratio: 4 / 5; background: var(--char); overflow: hidden; }
.founder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: rgba(17,17,17,.9); }
.founder h3 { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; }
.founder .mono { margin-top: 6px; }
.founder__info > p:last-child { margin-top: 12px; font-size: 15px; line-height: 1.5; color: #DAD5D0; }

/* ==========================================================
   SERVICES ACCORDION
   ========================================================== */
.acc { margin-top: 48px; border-top: 1px solid var(--ink); }
.acc__item { border-bottom: 1px solid var(--ink); }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 24px 0;
  border: 0; background: transparent; text-align: left; color: var(--ink);
}
.acc__btn .mono { width: 28px; font-size: 13px; flex: none; }
.acc__title { flex: 1; font-family: var(--f-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.acc__ico {
  position: relative; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--ink); transition: background-color .2s;
}
.acc__ico::before, .acc__ico::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform .25s;
}
.acc__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__ico { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { display: flex; flex-wrap: wrap; gap: 24px 40px; padding: 0 0 32px 0; animation: rise .45s var(--ease) both; }
.acc__body { flex: 1 1 320px; }
.acc__line { font-size: 20px; line-height: 1.45; }
.tags { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--f-mono); font-size: 12px; padding: 8px 12px; border: 1px solid var(--ink); }

/* ==========================================================
   WORK
   ========================================================== */
.feature { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.feature__reel {
  position: relative; flex: 0 1 340px; width: 100%; max-width: 340px; margin: 0 auto;
  min-height: 480px; background: var(--char); border: 1px solid rgba(255,255,255,.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.feature__reel.is-loaded { background: #fff; border: 0; min-height: 0; display: block; }
.feature__reel .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.feature__tag { position: absolute; top: 16px; left: 16px; font-size: 11px; background: var(--maroon); padding: 4px 8px; z-index: 1; }
.feature__ph { color: var(--soft); text-align: center; padding: 0 24px; }
.feature__copy { flex: 1 1 320px; }
.feature__title { font-family: var(--f-display); font-size: clamp(36px, 5vw, 56px); line-height: .95; }
.feature__copy .lede-dark { margin-top: 20px; max-width: 440px; }
.feature__copy .btn { margin-top: 28px; font-size: 15px; }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.quote {
  position: relative; margin-top: 48px; background: var(--sand);
  padding: clamp(28px, 5vw, 64px); touch-action: pan-y;
}
.quote__mark {
  position: absolute; top: -8px; left: clamp(20px, 4vw, 56px);
  font-family: var(--f-display); font-size: 160px; line-height: 1; color: var(--maroon);
}
.quote blockquote {
  position: relative; margin-top: 48px; max-width: 820px; min-height: 2.5em;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.25; font-weight: 500; letter-spacing: -.01em;
}
.quote blockquote.swap { animation: rise .45s var(--ease) both; }
.quote__foot { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.quote__name { font-size: 18px; font-weight: 600; }
.quote__foot .muted { margin-top: 4px; }
.quote__nav { display: flex; align-items: center; gap: 12px; }
.sq { width: 48px; height: 48px; font-size: 18px; border-radius: 0; }
.sq--outline { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.sq--solid { border: 0; background: var(--ink); color: #fff; }
.sq--outline:hover { background: var(--ink); color: #fff; }
.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; border-radius: 0;
}
.chip[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--ink); color: #fff; }
.footer__inner { padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.footer__big { font-family: var(--f-display); font-size: clamp(64px, 11vw, 160px); line-height: .88; }
.footer__big span { color: var(--blush); }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
  border-top: 1px solid rgba(255,255,255,.3); padding-top: 24px;
}
.footer__contact { display: flex; flex-direction: column; gap: 2px; }
.footer__contact a { color: #CFCFCF; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer__contact a:hover { color: #fff; }

/* ==========================================================
   STICKY CTA
   ========================================================== */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--ink); color: #fff; border-top: 1px solid #2B2B2B;
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform .3s var(--ease);
}
.sticky.is-hidden { transform: translateY(110%); }
.sticky__inner { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.btn-sticky {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.btn-sticky:hover { color: var(--ink); background: var(--pale); }

/* ==========================================================
   SCROLL REVEAL (only when JS is running)
   ========================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================
   LARGER SCREENS
   ========================================================== */
@media (min-width: 720px) {
  .hero__inner { padding-bottom: 72px; }
  .hero .eyebrow { margin-top: 56px; }
  .hero__hawk { top: 38%; width: 78%; }
  .sec, .library__inner { padding-top: 88px; padding-bottom: 96px; }

  .library__grid { flex-direction: row; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
  .library__side { flex: 1 1 280px; }
  .library__main { flex: 999 1 400px; }
  .cover { width: 100%; max-width: none; padding: 28px; }
  .cover__top .mono { font-size: 11px; }
  .cover__title { font-size: 54px; }
  .side-locked .btn-locked { display: flex; }
  .side-unlocked { display: flex; }
  .side-locked .side-note { text-align: center; }
  .arr-r { display: inline; } .arr-d { display: none; }

  .acc__btn { gap: 20px; padding: 28px 0; }
  .acc__panel { padding-left: 48px; }
  .idea { margin-top: 48px; }
  .footer__inner { padding-bottom: 104px; }
}

/* sticky bar is a mobile pattern; desktop has the header CTA */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__hawk { opacity: .12; }
}
