:root {
  --cream: #f5eadb;
  --paper: #fff8ec;
  --ink: #1b130f;
  --muted: #786a60;
  --clay: #c65b35;
  --clay-dark: #8f3e27;
  --saffron: #dca23f;
  --olive: #777d55;
  --line: rgba(27,19,15,.14);
  --shadow: 0 32px 110px rgba(65,36,22,.18);
  --content: min(1180px, calc(100vw - 56px));
  --page: min(1480px, calc(100vw - 32px));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12px 12px, rgba(27,19,15,.04) 1.2px, transparent 1.4px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(27,19,15,.032) 1px, transparent 1px) 0 0 / 54px 54px,
    var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.58;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .04;
  background-image: radial-gradient(circle at 1px 1px, #000 1px, transparent 0);
  background-size: 4px 4px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo */
.paella-mark {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle, #fff0b9 0 34%, #e4a137 35% 57%, #b04a31 58% 100%);
  border: 1px solid rgba(27,19,15,.18);
  box-shadow: inset 0 0 0 3px rgba(255,248,235,.64);
  overflow: hidden;
}

.paella-bowl {
  position: absolute;
  width: 32px;
  height: 17px;
  bottom: 8px;
  border-radius: 0 0 28px 28px;
  background: var(--clay);
  border: 2px solid rgba(27,19,15,.18);
}

.paella-arch {
  position: absolute;
  width: 25px;
  height: 19px;
  top: 7px;
  border: 2px solid rgba(255,248,235,.92);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}

.star {
  position: absolute;
  color: var(--paper);
  font-size: 10px;
}
.s1 { left: 8px; top: 9px; }
.s2 { right: 7px; top: 18px; }

/* Header */
.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: var(--content);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,248,236,.4);
  background: rgba(255,248,236,.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(40,24,16,.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.05em;
}

.topbar nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: .9rem;
  font-weight: 800;
}

.topbar nav a {
  color: rgba(27,19,15,.72);
  text-decoration: none;
}

.topbar nav a:last-child {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

/* Hero */
.hero {
  width: var(--page);
  margin: 0 auto;
  min-height: 100svh;
  padding: 18px 0;
  position: relative;
  display: grid;
}

.hero-image {
  position: absolute;
  inset: 18px 0;
  border-radius: 38px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 18px 0;
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(27,19,15,.64), rgba(27,19,15,.28) 48%, rgba(27,19,15,.05)),
    linear-gradient(0deg, rgba(27,19,15,.55), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: var(--content);
  margin: 0 auto;
  padding: 150px 0 58px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .72rem;
  font-weight: 900;
  color: var(--clay);
}

.hero .kicker {
  color: rgba(255,248,236,.82);
}

h1,
h2,
h3,
.big-spanish {
  font-family: "Anybody", system-ui, sans-serif;
  letter-spacing: -.075em;
  line-height: .92;
  margin: 0;
}

h1 {
  font-size: clamp(4.2rem, 9.7vw, 10.4rem);
  max-width: 1050px;
  font-weight: 650;
  margin-top: 20px;
}

h2 {
  font-size: clamp(3rem, 6.8vw, 7.6rem);
  font-weight: 620;
}

h3 {
  font-size: clamp(2.1rem, 4.6vw, 5.5rem);
  font-weight: 600;
}

.script,
.signature {
  font-family: "Caveat", cursive;
  color: var(--clay);
  line-height: 1;
}

.hero-script {
  position: absolute;
  z-index: 4;
  right: 8vw;
  top: 28vh;
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  color: rgba(255,248,236,.72);
  transform: rotate(-7deg);
  pointer-events: none;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(300px, 560px) 148px;
  align-items: end;
  gap: 60px;
  margin-top: 48px;
}

.hero-bottom p {
  margin: 0;
  color: rgba(255,248,236,.86);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.round-link {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid rgba(255,248,236,.58);
  display: grid;
  place-items: center;
  color: var(--paper);
  text-decoration: none;
  font-weight: 900;
  transition: transform .35s ease, background .35s ease;
}

.round-link:hover {
  transform: rotate(-8deg) scale(1.04);
  background: rgba(255,248,236,.14);
}

/* Manifesto */
.manifesto {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(95px, 12vw, 190px) 0;
}

.big-spanish {
  font-size: clamp(4rem, 12vw, 14rem);
  font-weight: 760;
  color: rgba(198,91,53,.14);
  margin-bottom: -2vw;
}

.manifesto h2 {
  max-width: 1060px;
}

.manifesto p:not(.big-spanish) {
  max-width: 650px;
  margin: 42px 0 0 auto;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

/* Editorial split */
.editorial-split {
  width: var(--page);
  margin: 0 auto;
  min-height: 1240px;
  position: relative;
  padding: clamp(100px, 12vw, 180px) 0;
}

.vertical-word {
  position: absolute;
  top: 90px;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Anybody", system-ui, sans-serif;
  font-size: clamp(5rem, 12vw, 13rem);
  font-weight: 850;
  line-height: .8;
  color: rgba(27,19,15,.045);
}

.image {
  position: absolute;
  overflow: hidden;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.image-tall {
  width: min(38vw, 540px);
  height: 760px;
  left: 8vw;
  top: 145px;
}

.story-card {
  width: min(560px, 41vw);
  margin-left: auto;
  margin-right: 8vw;
  margin-top: 140px;
  padding: clamp(38px, 4vw, 58px);
  border-radius: 32px;
  background: rgba(255,248,236,.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}

.story-card h2 {
  font-size: clamp(2.7rem, 4.8vw, 6rem);
}

.story-card p:last-child {
  color: var(--muted);
  margin: 30px 0 0;
  font-size: 1.08rem;
}

.image-wide {
  width: min(56vw, 840px);
  height: 380px;
  right: 8vw;
  bottom: 105px;
}

/* Lessons */
.lessons {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 190px) 0;
}

.section-title {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 68px;
}

.lesson-row {
  display: grid;
  grid-template-columns: 90px 1fr minmax(180px, 280px);
  gap: 44px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.lesson-row:last-child {
  border-bottom: 1px solid var(--line);
}

.number {
  font-family: "Anybody", system-ui, sans-serif;
  font-size: 3rem;
  letter-spacing: -.08em;
  font-weight: 700;
  color: rgba(27,19,15,.22);
}

.lesson-row h3 {
  font-size: clamp(2.35rem, 4.8vw, 5.7rem);
}

.lesson-row p {
  max-width: 680px;
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 1.06rem;
}

.price {
  text-align: right;
}

.price strong {
  display: block;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: .9;
  letter-spacing: -.07em;
  color: var(--clay);
}

.price span {
  display: block;
  color: var(--clay-dark);
  font-weight: 900;
  margin-top: 8px;
}

.lesson-row.featured h3 {
  color: var(--clay);
}

/* Photo strip */
.photo-strip {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 26px;
  align-items: end;
  padding-bottom: clamp(100px, 12vw, 180px);
}

.photo-strip figure {
  margin: 0;
}

.photo-strip figure:nth-child(1) { height: 620px; }
.photo-strip figure:nth-child(2) { height: 430px; transform: translateY(70px); }
.photo-strip figure:nth-child(3) { height: 560px; }

.photo-strip img {
  border-radius: 32px;
  box-shadow: var(--shadow);
}

figcaption {
  font-family: "Caveat", cursive;
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  color: var(--clay);
  margin-top: 16px;
  transform: rotate(-3deg);
}

/* About */
.about {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 190px) 0;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(52px, 7vw, 110px);
  align-items: center;
}

.about-image {
  height: 720px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-copy {
  padding: clamp(34px, 4vw, 58px);
  border-radius: 34px;
  background: rgba(255,248,236,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-copy .script {
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  transform: rotate(-3deg);
  margin: 0 0 14px;
}

.about-copy h2 {
  font-size: clamp(2.9rem, 5.2vw, 6.2rem);
}

.about-copy p:not(.script):not(.signature) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 24px 0 0;
}

.signature {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  margin: 34px 0 0;
  transform: rotate(-2deg);
}

/* Final */
.final {
  width: var(--content);
  margin: 0 auto clamp(90px, 10vw, 150px);
  min-height: 82vh;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
}

.final img {
  position: absolute;
  inset: 0;
}

.final::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27,19,15,.72), rgba(27,19,15,.2)),
    linear-gradient(0deg, rgba(27,19,15,.5), transparent 55%);
}

.final-content {
  position: relative;
  z-index: 2;
  padding: clamp(44px, 8vw, 110px);
  color: var(--paper);
  max-width: 950px;
}

.final .kicker {
  color: rgba(255,248,236,.8);
}

.final p:not(.kicker) {
  color: rgba(255,248,236,.84);
  max-width: 600px;
  margin: 28px 0 34px;
  font-size: 1.1rem;
}

.magnetic-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

/* Footer */
footer {
  width: var(--content);
  margin: 0 auto;
  padding: 36px 0 54px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  :root {
    --content: calc(100vw - 34px);
    --page: calc(100vw - 22px);
  }

  .topbar nav { display: none; }

  .hero-content {
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(3.8rem, 16vw, 7rem);
  }

  .hero-script {
    display: none;
  }

  .hero-bottom,
  .section-title,
  .about {
    grid-template-columns: 1fr;
  }

  .round-link {
    width: 118px;
    height: 118px;
  }

  .editorial-split {
    min-height: auto;
    display: grid;
    gap: 26px;
    padding: 90px 0;
  }

  .vertical-word {
    display: none;
  }

  .image,
  .image-tall,
  .image-wide,
  .story-card {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .image-tall,
  .image-wide {
    height: 430px;
  }

  .lesson-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .price {
    text-align: left;
  }

  .photo-strip {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .photo-strip figure,
  .photo-strip figure:nth-child(1),
  .photo-strip figure:nth-child(2),
  .photo-strip figure:nth-child(3) {
    height: 420px;
    transform: none;
  }

  .about-image {
    height: 520px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --content: calc(100vw - 24px);
    --page: calc(100vw - 16px);
  }

  .topbar {
    top: 10px;
    padding: 8px 10px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image,
  .hero-overlay {
    inset: 8px 0;
    border-radius: 28px;
  }

  .hero-content {
    min-height: 88svh;
    padding: 100px 10px 34px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .hero-bottom {
    margin-top: 30px;
    gap: 22px;
  }

  .manifesto,
  .lessons,
  .about {
    padding: 76px 0;
  }

  .big-spanish {
    font-size: clamp(3.6rem, 18vw, 7rem);
    margin-bottom: 10px;
  }

  .story-card {
    padding: 28px;
  }

  .image-tall,
  .image-wide,
  .photo-strip figure,
  .about-image {
    height: 330px !important;
  }

  .final {
    border-radius: 30px;
    min-height: 72vh;
  }

  .final-content {
    padding: 30px;
  }
}
