:root {
  --ink: #171613;
  --paper: #f5f0e9;
  --blush: #e8b9b0;
  --coral: #e0644a;
  --lime: #d7f26b;
  --night: #201d25;
  --line: rgba(23, 22, 19, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 4vw; background: rgba(245, 240, 233, 0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { font-weight: 700; letter-spacing: -0.04em; }
.brand span { font-weight: 400; }
nav { display: flex; gap: 2rem; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .25s; }
nav a:hover::after { right: 0; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 1.2rem; font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.66); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.055em; line-height: .94; }
h1 { margin-bottom: 2rem; font-size: clamp(3.5rem, 7vw, 7rem); }
h2 { font-size: clamp(3rem, 6vw, 6rem); }
h1 em, h2 em, .program-note em { font-family: "Prata", serif; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.45rem; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); background: transparent; color: var(--ink); }
.button-small { min-height: 42px; padding-inline: 1.1rem; }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 7vw; align-items: center; min-height: calc(100vh - 72px); padding-block: 7vw 5vw; }
.hero-lead { max-width: 600px; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.65; color: rgba(23,22,19,.72); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin: 2rem 0 3.25rem; }
.text-link { font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: .5rem; }
.hero-proof { display: flex; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.hero-proof span { flex: 1; font-size: .72rem; line-height: 1.4; color: rgba(23,22,19,.64); }
.hero-proof strong { display: block; margin-bottom: .15rem; font-family: "Prata", serif; font-size: 1.65rem; color: var(--ink); }
.hero-visual { position: relative; }
.portrait-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--blush); border-radius: 180px 180px 18px 18px; }
.portrait-wrap img { height: 100%; object-fit: cover; object-position: 62% center; transform: scale(1.02); transition: filter .5s, transform .5s; }
.portrait-wrap.hero-static img { object-position: 50% 42%; }
.portrait-tint { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(25,18,20,.74)); pointer-events: none; }
.portrait-wrap.night img { filter: saturate(.72) contrast(1.16) brightness(.74); transform: scale(1.06); }
.portrait-wrap.night .portrait-tint { background: linear-gradient(180deg, rgba(20,14,27,.15), rgba(20,14,27,.88)); }
.look-label { position: absolute; bottom: 30px; left: 30px; color: white; }
.look-label span { display: block; margin-bottom: .65rem; font-size: .65rem; letter-spacing: .2em; }
.look-label strong { font: 400 clamp(2rem, 3.2vw, 3.7rem)/.98 "Prata", serif; }

.ticker { overflow: hidden; padding: 1rem 0; background: #efc7bd; color: var(--ink); white-space: nowrap; }
.ticker div { width: max-content; padding-left: 2vw; font-size: 1rem; font-weight: 700; letter-spacing: .05em; animation: ticker 24s linear infinite; }
.ticker i { margin: 0 1.2rem; font-style: normal; color: #b94f75; }
@keyframes ticker { to { transform: translateX(-45%); } }

.intro { display: block; padding-block: 10vw; }
.intro > div { width: min(860px, 74%); margin-left: auto; }
.intro h2 { margin-bottom: 2.2rem; }
.intro > div p { max-width: 710px; font-size: 1.08rem; line-height: 1.75; color: rgba(23,22,19,.7); }

.lessons { padding-block: 9vw; background: var(--night); color: white; }
.section-heading { display: grid; grid-template-columns: .7fr 1.5fr; gap: 8vw; align-items: start; margin-bottom: 5rem; }
.section-heading h2 { margin-bottom: 0; }
.lesson-card { display: grid; grid-template-columns: 90px 1fr 1.15fr; gap: 3.5rem; align-items: center; margin-bottom: 2rem; padding: 2rem; border-radius: 20px; }
.lesson-day { background: #efc7bd; color: var(--ink); }
.lesson-night { background: #393340; }
.lesson-number { align-self: start; font: 400 3.2rem "Prata", serif; }
.lesson-image { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 160px 160px 12px 12px; }
.lesson-image img { height: 100%; object-fit: cover; }
.lesson-content h3 { margin-bottom: 1.5rem; font: 400 clamp(2.7rem, 4.4vw, 5rem)/.95 "Prata", serif; }
.lesson-content > p:not(.eyebrow) { max-width: 540px; line-height: 1.7; opacity: .74; }
.lesson-content ul { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.lesson-content li { padding: .8rem 0; border-bottom: 1px solid currentColor; font-size: .86rem; text-transform: uppercase; }

.skills { padding-block: 10vw; }
.section-heading.dark { color: var(--ink); }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.skill-card { min-height: 330px; padding: 1.8rem; background: var(--paper); }
.skill-card span { display: block; margin-bottom: 6rem; font-family: "Prata", serif; color: var(--coral); }
.skill-card h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.skill-card p { margin-bottom: 0; color: rgba(23,22,19,.65); font-size: .9rem; line-height: 1.65; }

.program { display: grid; grid-template-columns: 1.1fr .9fr; background: #393340; color: white; }
.program-note { min-height: 580px; padding: 4rem; background: #efc7bd; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.program-note p { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.program-note strong { max-width: 600px; font-size: clamp(2.5rem, 4.3vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.program-list { padding: 4rem; }
.program-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.program-list span { font: 400 1.2rem "Prata", serif; }
.program-list p { margin: 0; font-size: 1.08rem; }

.author { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; padding-block: 10vw; }
.author-image { overflow: hidden; aspect-ratio: 4 / 5; background: #d9d1c9; border-radius: 18px; }
.author-image img { height: 100%; object-fit: cover; }
.author-copy h2 { margin-bottom: 2rem; font-family: "Prata", serif; }
.author-copy p { max-width: 580px; line-height: 1.7; color: rgba(23,22,19,.67); }
.author-copy .author-lead { font-size: 1.35rem; color: var(--ink); }
.author-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.author-facts li { position: relative; padding: 1.15rem 0 1.15rem 2rem; border-bottom: 1px solid var(--line); line-height: 1.65; color: rgba(23,22,19,.7); }
.author-facts li::before { content: "✦"; position: absolute; left: 0; color: var(--coral); }
.author-facts a { text-decoration: underline; text-underline-offset: 3px; }

.gallery { padding-block: 9vw; background: var(--night); color: white; }
.gallery-heading { display: grid; grid-template-columns: .45fr 1.35fr .7fr; gap: 4vw; align-items: end; margin-bottom: 4rem; }
.gallery-heading h2 { margin-bottom: 0; font-size: clamp(3rem, 5vw, 5.4rem); }
.gallery-heading > p:last-child { margin-bottom: .4rem; color: rgba(255,255,255,.62); font-size: .92rem; line-height: 1.65; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.gallery-item { overflow: hidden; height: 330px; margin: 0; border-radius: 12px; background: #332e39; }
.gallery-item.tall { height: 674px; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.08); }

.buy { padding: 5vw 4vw; background: var(--blush); }
.buy-card { width: min(900px, 100%); margin: auto; padding: clamp(2rem, 6vw, 6rem); background: var(--ink); color: white; text-align: center; border-radius: 300px 300px 22px 22px; }
.buy-card h2 { margin-bottom: 3rem; }
.price-row { display: flex; justify-content: space-between; align-items: flex-end; max-width: 600px; margin: 0 auto 2rem; padding: 1.2rem 0; border-block: 1px solid rgba(255,255,255,.22); text-align: left; }
.price-row span { font-size: .78rem; text-transform: uppercase; }
.price-row strong { font: 400 4rem "Prata", serif; }
.price-row small { font: 600 1rem "Manrope", sans-serif; }
.button-light { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button-light:hover { color: white; }
.payment-note { margin: 1rem 0 0; font-size: .7rem; opacity: .55; }

.faq { padding-block: 10vw; }
.faq-list { max-width: 850px; margin-left: auto; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; font-size: 1.07rem; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 1.4rem; transition: transform .25s; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 700px; padding: 0 0 1.5rem; color: rgba(23,22,19,.67); line-height: 1.65; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem 4vw; background: var(--night); color: white; font-size: .72rem; }
footer p { margin: 0; opacity: .65; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links button { padding: 0; border: 0; background: none; color: white; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.legal-dialog { width: min(820px, calc(100% - 28px)); max-height: min(84vh, 900px); padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.legal-dialog::backdrop { background: rgba(20,18,24,.72); backdrop-filter: blur(6px); }
.legal-dialog article { padding: clamp(2rem, 6vw, 4.5rem); }
.legal-dialog h2 { margin: 0 3rem 2.5rem 0; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.legal-dialog h3 { margin: 2rem 0 .7rem; font-size: 1rem; }
.legal-dialog p, .legal-dialog li { color: rgba(23,22,19,.72); font-size: .9rem; line-height: 1.7; }
.dialog-close { position: sticky; z-index: 2; top: 16px; float: right; width: 42px; height: 42px; margin: 16px 16px -58px 0; border: 0; border-radius: 50%; background: var(--ink); color: white; font-size: 1.6rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4.5rem; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; width: min(620px, 100%); margin: auto; }
  .intro, .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .lesson-card { grid-template-columns: 55px .8fr 1.2fr; gap: 1.5rem; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .program { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 64px; }
  .site-header .button { min-height: 38px; padding-inline: .8rem; font-size: .62rem; }
  h1 { font-size: 3.6rem; }
  h2 { font-size: 3.2rem; }
  .hero { min-height: auto; padding-block: 4rem 3rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { gap: .7rem; }
  .portrait-wrap { aspect-ratio: 4 / 5.3; }
  .intro > div { width: 100%; }
  .intro, .lessons, .skills, .author, .faq { padding-block: 5rem; }
  .section-heading { margin-bottom: 2.7rem; }
  .lesson-card { display: grid; grid-template-columns: 1fr; padding: 1rem; gap: 1.2rem; }
  .lesson-number { position: absolute; z-index: 2; padding: 1rem; color: white; }
  .lesson-image { aspect-ratio: 4 / 4.6; }
  .lesson-content { padding: 1rem; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: auto; }
  .skill-card span { margin-bottom: 3rem; }
  .program { width: 100%; }
  .program-note, .program-list { min-height: auto; padding: 2.2rem 1.3rem; }
  .program-note strong { margin-top: 7rem; }
  .author { grid-template-columns: 1fr; }
  .gallery { padding-block: 5rem; }
  .gallery-heading { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item, .gallery-item.tall { height: 300px; grid-row: auto; }
  .gallery-item.wide { grid-column: span 2; }
  .buy { padding: 3rem 14px; }
  .buy-card { padding: 5rem 1.2rem 2.5rem; border-radius: 180px 180px 18px 18px; }
  .price-row strong { font-size: 3rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
