/* NTUR Aid Kit — Direction Atelier */

:root {
  --paper: #D9D2C2;
  --paper-lite: #E6DECD;
  --cream: #F4ECD8;
  --ink: #1A1714;
  --ink-mid: #4a4338;
  --ink-soft: rgba(26, 23, 20, 0.2);
  --accent: #C84B2F;
  --tape-a: rgba(60, 160, 210, 0.55);
  --tape-b: rgba(228, 90, 31, 0.5);
  --note-peach: #F8D9C0;
  --note-sage: #E2DFC8;
  --font-display: "Fraunces", serif;
  --font-ui: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --font-scribble: Caveat, cursive;
  --display-weight: 300;
  --hero-size: clamp(72px, 12vw, 128px);
  --section-pad: 80px;
  --radius: 0;
  --photo-filter: contrast(1.04) saturate(0.98);
  --grain-opacity: 0.24;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  position: relative;
  overflow-x: hidden;
}

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

::selection {
  background: var(--accent);
  color: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

.page {
  position: relative;
  z-index: 2;
}

/* Typography utilities */
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  display: inline-block;
}

.tag--light {
  color: var(--cream);
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.display-title--lg { font-size: clamp(52px, 8vw, 96px); }
.display-title--md { font-size: clamp(48px, 7vw, 84px); }
.display-title--sm { font-size: clamp(40px, 6vw, 72px); }

.display-title em,
.display-title .accent {
  font-style: italic;
  color: var(--accent);
}

.display-title--cream {
  color: var(--cream);
}

.display-title--cream em {
  color: var(--accent);
}

.lead {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-mid);
}

.lead--italic {
  font-style: italic;
}

.scribble {
  font-family: var(--font-scribble);
  font-size: 22px;
  color: var(--accent);
  transform: rotate(-3deg);
  display: inline-block;
  line-height: 1.1;
}

.scribble--cream {
  color: var(--cream);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.85);
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--big {
  padding: 20px 30px;
  font-size: 17px;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--accent {
  background: var(--accent);
  color: var(--cream);
}

.btn--nav {
  padding: 10px 18px;
  font-size: 13px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.7);
}

.btn--cream-border {
  border-color: var(--cream);
}

.btn__arrow {
  flex-shrink: 0;
}

/* Tape */
.tape {
  position: absolute;
  background: var(--tape-a);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  background-image: repeating-linear-gradient(-3deg, transparent 0 6px, rgba(255, 255, 255, 0.08) 6px 7px);
}

.tape--orange { background: var(--tape-b); }

/* Polaroid */
.polaroid {
  display: inline-block;
  padding: 12px 12px 38px;
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: var(--font-scribble);
  font-size: 20px;
  color: var(--ink);
}

.polaroid__img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--ink);
  filter: var(--photo-filter);
}

.polaroid__caption {
  margin-top: 10px;
}

/* Sticky note */
.note {
  position: relative;
  width: 230px;
  padding: 22px 20px;
  font-family: var(--font-scribble);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -35px;
  width: 70px;
  height: 18px;
  background: var(--tape-a);
  transform: rotate(5deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  background-image: repeating-linear-gradient(5deg, transparent 0 6px, rgba(255, 255, 255, 0.08) 6px 7px);
}

.note--cream { background: var(--cream); }
.note--peach { background: var(--note-peach); }
.note--sage { background: var(--note-sage); }

.note--1 { top: 0; left: 4%; transform: rotate(-4deg); }
.note--2 { top: 30px; left: 30%; transform: rotate(3deg); }
.note--3 { top: 10px; left: 60%; transform: rotate(-2deg); }
.note--4 { top: 220px; left: 10%; transform: rotate(5deg); }
.note--5 { top: 240px; left: 42%; transform: rotate(-3deg); }
.note--6 { top: 200px; left: 70%; transform: rotate(2deg); }
.note--7 { top: 390px; left: 20%; transform: rotate(-5deg); }
.note--8 { top: 380px; left: 52%; transform: rotate(4deg); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: relative;
  z-index: 5;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.nav__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mid);
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  align-items: center;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 0;
}

.hero__visual {
  position: relative;
  height: 760px;
  overflow: hidden;
  margin: 0 32px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--photo-filter);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.11) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero__badge {
  position: absolute;
  top: 24px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.hero__badge--left {
  left: 24px;
  background: var(--cream);
  color: var(--ink);
}

.hero__badge--right {
  right: 24px;
  color: var(--cream);
  text-align: right;
  background: rgba(26, 23, 20, 0.6);
}

.hero__title-wrap {
  position: absolute;
  bottom: 50px;
  left: 50px;
  right: 50px;
  color: var(--cream);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-size: var(--hero-size);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  padding: 60px var(--section-pad) 40px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: flex-end;
}

.hero__subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 34px;
  line-height: 1.25;
  max-width: 640px;
  letter-spacing: -0.01em;
}

.hero__subtitle em {
  font-style: italic;
  color: var(--accent);
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__polaroid-wrap {
  justify-self: center;
  position: relative;
}

.hero__polaroid {
  transform: rotate(3.2deg);
  width: 260px;
}

.hero__polaroid .polaroid__img {
  height: 230px;
}

/* ── Manifesto ── */
.manifesto {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: -0.01em;
  position: relative;
}

.manifesto__inner {
  position: relative;
  display: inline-block;
  padding-left: 48px;
}

.manifesto__inner span {
  margin-right: 32px;
}

.manifesto__dot {
  color: var(--accent);
}

/* ── Problem ── */
.problem {
  position: relative;
  padding: var(--section-pad) 48px calc(var(--section-pad) + 20px);
}

.problem__intro {
  max-width: 780px;
}

.problem__intro .tag { margin-bottom: 0; }
.problem__intro .display-title { margin-top: 18px; }
.problem__hook {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-mid);
}

.problem__wall {
  margin-top: 60px;
  position: relative;
  min-height: 520px;
}

.problem__wall .note {
  position: absolute;
}

/* ── Solution ── */
.solution {
  position: relative;
  padding: var(--section-pad) 48px;
  background: var(--ink);
  color: var(--cream);
}

.solution .grain-section {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

.solution__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution__body p {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  opacity: 0.85;
  max-width: 480px;
}

.solution__stats {
  margin-top: 30px;
  display: flex;
  gap: 36px;
}

.solution__stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  white-space: nowrap;
}

.solution__stat-num--italic {
  font-style: italic;
}

.solution__polaroids {
  position: relative;
  height: 480px;
}

.solution__polaroids .polaroid {
  position: absolute;
}

.solution__p1 {
  width: 300px;
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-6deg);
}

.solution__p1 .polaroid__img { height: 290px; }

.solution__p2 {
  width: 280px;
  top: 60px;
  left: 160px;
  z-index: 2;
  transform: rotate(5deg);
}

.solution__p2 .polaroid__img { height: 270px; }

.solution__p3 {
  width: 240px;
  top: 280px;
  left: 60px;
  z-index: 3;
  transform: rotate(-3deg);
}

.solution__p3 .polaroid__img { height: 150px; }

#video-block {
  display: none;
}

/* ── Program ── */
.program {
  padding: calc(var(--section-pad) + 10px) 48px calc(var(--section-pad) - 10px);
  position: relative;
}

.program__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.week-card {
  position: relative;
  background: var(--cream);
  padding: 24px 22px 28px;
  min-height: 300px;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.week-card:nth-child(1) { transform: rotate(-1.8deg); }
.week-card:nth-child(2) { transform: rotate(1.8deg); }
.week-card:nth-child(3) { transform: rotate(-1.8deg); }
.week-card:nth-child(4) { transform: rotate(1.8deg); }

.week-card .tape {
  width: 80px;
  height: 20px;
  top: -10px;
  left: 50%;
  margin-left: -40px;
}

.week-card:nth-child(even) .tape { background: var(--tape-b); }

.week-card__title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 42px;
  margin-top: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: italic;
}

.week-card__text {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-mid);
}

.week-card__num {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: var(--font-scribble);
  font-size: 28px;
  color: var(--accent);
}

/* ── Invest ── */
.invest {
  padding: var(--section-pad) 48px;
  position: relative;
}

.invest__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.invoice {
  position: relative;
  background: var(--cream);
  padding: 40px 36px 56px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transform: rotate(-1deg);
  background-image: repeating-linear-gradient(transparent 0 30px, rgba(26, 23, 20, 0.06) 30px 31px);
  color: var(--ink);
}

.invoice .tape:first-of-type {
  width: 100px;
  height: 22px;
  top: -12px;
  left: 30px;
  transform: rotate(-8deg);
}

.invoice .tape:last-of-type {
  width: 70px;
  height: 20px;
  top: -10px;
  right: 30px;
  left: auto;
  transform: rotate(6deg);
  background: var(--tape-b);
}

.invoice__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.invoice__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mid);
}

.invoice__price-block {
  margin-top: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--ink-mid);
}

.invoice__program {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mid);
}

.invoice__price {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(80px, 14vw, 144px);
  line-height: 0.85;
  margin-top: 8px;
  letter-spacing: -0.03em;
}

.invoice__price em {
  font-style: italic;
  font-size: 0.55em;
}

.invoice__lines {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
}

.invoice__lines li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted var(--ink-soft);
  padding-bottom: 6px;
}

.invoice__lines .mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

.invoice__thanks {
  margin-top: 24px;
  font-family: var(--font-scribble);
  font-size: 32px;
  color: var(--accent);
  transform: rotate(-4deg);
  display: inline-block;
  border: 2px solid var(--accent);
  padding: 4px 14px;
  border-radius: 6px;
}

/* ── FAQ ── */
.faq {
  padding: calc(var(--section-pad) + 10px) 48px;
  position: relative;
  background: var(--paper-lite);
}

.faq .grain-section {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

.faq__inner {
  position: relative;
  max-width: 840px;
}

.faq-item {
  border-bottom: 1px solid var(--ink-soft);
  padding: 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  cursor: pointer;
}

.faq-item__toggle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  margin-top: 4px;
  min-width: 24px;
}

.faq-item__q {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 26px;
  line-height: 1.25;
}

.faq-item__a {
  display: none;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 580px;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* ── CTA ── */
.cta {
  position: relative;
  padding: 0;
}

.cta__visual {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--photo-filter);
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.cta__content {
  position: absolute;
  inset: 0;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
}

.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(64px, 12vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.cta__title em {
  font-style: italic;
  color: var(--accent);
}

.cta__text {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
  max-width: 560px;
  opacity: 0.92;
}

.cta__actions {
  margin-top: 34px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.footer a {
  color: inherit;
}

/* Section spacing helper */
.section-head {
  margin-bottom: 50px;
}

.section-head .display-title {
  margin-top: 18px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root {
    --section-pad: 48px;
  }

  .nav {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .nav__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero__visual {
    height: 520px;
    margin: 0 16px;
  }

  .hero__title-wrap {
    left: 24px;
    right: 24px;
    bottom: 32px;
  }

  .hero__sub {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }

  .hero__subtitle {
    font-size: 26px;
  }

  .problem {
    padding-left: 20px;
    padding-right: 20px;
  }

  .problem__wall {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .problem__wall .note {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100%;
    transform: rotate(-2deg) !important;
  }

  .solution__grid,
  .invest__grid {
    grid-template-columns: 1fr;
  }

  .solution__polaroids {
    height: 360px;
    margin-top: 40px;
  }

  .solution__p1,
  .solution__p2,
  .solution__p3 {
    transform: scale(0.85);
  }

  .program__cards {
    grid-template-columns: 1fr 1fr;
  }

  .cta__content {
    padding: 40px 20px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px;
  }
}

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