/* ============================================================
   Phoenix Beauty School — Funnel Design System v2
   Per "Phoenix Beauty School Brand Guidelines" (2026):
   · Porcelain base, studio-white cards, espresso ink
   · Champagne gold accents (60·30·10 rule)
   · Cormorant Garamond display (often italic) + Jost body/UI
   · Small radii (2–4px), soft rare shadows, generous whitespace
   ============================================================ */
:root {
  --espresso: #241b14;
  --cocoa: #4a3a2c;
  --gold: #b08a46;
  --gold-dark: #8a6a2f;
  --gold-light: #d9be8a;
  --rose: #cba494;
  --gray: #8b9099;
  --silver: #c7cdd4;
  --hairline: #e7ebef;
  --porcelain: #eef1f4;
  --white: #ffffff;
  --r: 3px;
  --shadow: 0 10px 40px rgba(36, 27, 20, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--porcelain);
  color: var(--espresso);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; line-height: 1.15; color: var(--espresso); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 400; }
h3 { font-size: 1.35rem; font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
p { margin-bottom: 1rem; color: var(--cocoa); }
a { color: var(--gold-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }

/* tracked uppercase label — brand signature */
.kicker {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.kicker.rule::before {
  content: ""; display: inline-block; width: 34px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 12px;
}

/* header */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
header.site img.logo { height: 64px; width: auto; }
header.site .right { text-align: right; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }
header.site .right a { color: var(--espresso); font-weight: 400; letter-spacing: 0.08em; }

/* buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--r);
  padding: 18px 42px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--gold-dark); color: var(--white); }
.btn.ghost {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--silver);
}
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-dark); background: transparent; }
.btn[disabled] { opacity: 0.55; cursor: wait; }
.textlink {
  font-family: "Jost", sans-serif; font-weight: 400; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-light); padding-bottom: 2px;
}

/* stars / review band */
.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.review-inline { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--gray); }
.review-inline b { color: var(--espresso); font-weight: 500; }

/* hero */
.hero { padding: 84px 0 96px; overflow: hidden; }
.hero .grid-hero { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .hero .grid-hero { grid-template-columns: 1.02fr 0.98fr; } }
.hero .lead { font-size: 18px; color: var(--cocoa); max-width: 520px; }
.hero .lead-en { font-size: 14.5px; color: var(--gray); max-width: 520px; }
.hero .cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }

/* layered hero photo composition */
.photo-stack { position: relative; padding: 0 0 56px 0; }
.photo-stack .main {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow);
}
@media (max-width: 899px) { .photo-stack .main { aspect-ratio: 4 / 3; } }
.photo-stack::before {
  content: ""; position: absolute; inset: -16px 16px 40px -16px;
  border: 1px solid var(--gold-light); border-radius: var(--r); z-index: -1;
}
.photo-stack .inset {
  position: absolute; left: -28px; bottom: 0; width: 44%;
  aspect-ratio: 1 / 1.15; object-fit: cover;
  border: 6px solid var(--white); border-radius: var(--r);
  box-shadow: var(--shadow);
}
@media (max-width: 899px) { .photo-stack .inset { left: 0; } }
.photo-stack .badge {
  position: absolute; right: -18px; top: -26px; width: 108px; height: auto;
  filter: drop-shadow(0 6px 16px rgba(36,27,20,.18));
}

/* date/time chips */
.when { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.when .chip {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 14px 22px; font-size: 14.5px; color: var(--espresso);
}
.when .chip b {
  display: block; font-weight: 500; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 2px;
}

/* full-bleed photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.photo-strip img { width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; }

/* section headers */
.sec-head { max-width: 660px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { margin-top: 14px; color: var(--gray); }

/* cards */
.grid { display: grid; gap: 24px; }
@media (min-width: 780px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 40px 34px;
}
.card .icon {
  width: 56px; height: 56px; border: 1px solid var(--gold-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  overflow: hidden;
}
.card .icon svg { stroke: var(--gold); }
.card .icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@media (max-width: 759px) { .card .icon { margin-left: auto; margin-right: auto; } }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 15px; }
.card .en { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* two-col photo + checklist */
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > .media { order: 2; } }
.split .media { position: relative; }
.split .media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow);
}
.split .media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-light); border-radius: var(--r); z-index: -1;
}

/* checklist */
ul.check { list-style: none; }
ul.check li { padding: 12px 0 12px 40px; position: relative; font-size: 16px; color: var(--espresso); font-weight: 400; }
ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: 14px;
  color: var(--gold); border: 1px solid var(--gold-light); border-radius: 50%;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
ul.check li .en { display: block; font-size: 13px; color: var(--gray); font-weight: 300; }

/* testimonials */
.alt-white { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pull-quote {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-align: center; color: var(--espresso);
  max-width: 820px; margin: 0 auto;
}
.pull-quote .by { display: block; font-family: "Jost", sans-serif; font-style: normal; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 22px; }
.review-band {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  margin: 48px 0; flex-wrap: wrap;
}
.review-band .num { font-family: "Cormorant Garamond", serif; font-size: 3rem; color: var(--espresso); line-height: 1; }
.review-band .lbl { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.tcard { position: relative; }
.tcard::before {
  content: "“"; font-family: "Cormorant Garamond", serif; font-size: 5rem; line-height: 0.6;
  color: var(--gold-light); display: block; margin: 10px 0 18px;
}
.tcard .q { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; font-style: italic; color: var(--espresso); margin-bottom: 18px; }
.tcard .who { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.tcard .who span { color: var(--gray); text-transform: none; letter-spacing: 0.02em; display: block; margin-top: 2px; }

/* video slots */
.video-wall { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 780px) { .video-wall.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.video-slot .frame {
  position: relative; padding-top: 56.25%; border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--hairline); background: var(--white); box-shadow: var(--shadow);
}
.video-slot.portrait .frame { padding-top: 132%; }
.video-slot iframe, .video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-slot .note { color: var(--gray); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; text-align: center; }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ba img { width: 100%; aspect-ratio: 1066 / 694; object-fit: cover; border-radius: var(--r); }

/* instructor */
.instructor-cred { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.instructor-cred .chip {
  border: 1px solid var(--gold-light); color: var(--gold-dark); border-radius: var(--r);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 16px;
}

/* form */
.form-shell { max-width: 620px; margin: 0 auto; }
.form-panel {
  background: var(--white); border: 1px solid var(--hairline); border-top: 2px solid var(--gold);
  border-radius: var(--r); padding: 52px 48px; box-shadow: var(--shadow);
}
@media (max-width: 620px) { .form-panel { padding: 36px 24px; } }
.form-panel h2 { text-align: center; margin-bottom: 8px; }
.form-panel .sub { text-align: center; color: var(--gray); font-size: 14.5px; margin-bottom: 34px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cocoa); margin-bottom: 8px;
}
.field input, .field select {
  width: 100%; background: var(--white); border: 1px solid var(--silver);
  border-radius: var(--r); color: var(--espresso); padding: 14px 16px;
  font-size: 16px; font-family: "Jost", sans-serif; font-weight: 300;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--gray); margin: 20px 0 28px; }
.consent input { margin-top: 4px; accent-color: var(--gold); }
.form-panel .btn { width: 100%; }
.tiny { font-size: 12.5px; color: var(--gray); text-align: center; margin-top: 14px; }

/* VIP */
.vip {
  background: var(--white); border: 1px solid var(--gold-light); border-radius: var(--r);
  padding: 56px 48px; max-width: 680px; margin: 0 auto; text-align: center; box-shadow: var(--shadow);
}
@media (max-width: 620px) { .vip { padding: 36px 24px; } }
.vip .tag {
  display: inline-block; background: var(--rose); color: var(--white); border-radius: var(--r);
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding: 7px 16px; margin-bottom: 20px;
}
.vip .price { font-family: "Cormorant Garamond", serif; font-size: 3.4rem; color: var(--gold); line-height: 1; margin: 18px 0 6px; }
.vip ul.check { text-align: left; max-width: 430px; margin: 26px auto 36px; }

/* footer */
footer { background: var(--white); border-top: 1px solid var(--hairline); padding: 64px 0; text-align: center; }
footer img { height: 72px; margin: 0 auto 20px; }
footer p { color: var(--gray); font-size: 13.5px; letter-spacing: 0.04em; margin: 0; }
footer a { color: var(--cocoa); }

/* ============================================================
   v3 — funnel structure components
   ============================================================ */

/* full-bleed hero with photo + espresso scrim, text overlaid */
.hero-full {
  position: relative; overflow: hidden; text-align: center;
  padding: 96px 24px 150px; color: #fff;
}
.hero-full .bg { position: absolute; inset: 0; z-index: 0; }
.hero-full .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-full .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(36,27,20,.78) 0%, rgba(36,27,20,.62) 45%, rgba(36,27,20,.55) 72%, var(--porcelain) 100%);
}
.hero-full > .inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-full .kicker { color: var(--gold-light); border: 1px solid rgba(217,190,138,.45); padding: 9px 20px; border-radius: 999px; }
.hero-full h1 { color: #fff; margin-top: 8px; }
.hero-full h1 em { color: var(--gold-light); }
.hero-full .lead { color: rgba(255,255,255,.88); max-width: 620px; margin: 18px auto 0; }
.hero-full .lead-en { color: rgba(255,255,255,.62); max-width: 620px; margin: 10px auto 0; }
.hero-full .when { justify-content: center; }
.hero-full .cta-row { justify-content: center; margin-top: 38px; }
.hero-full .review-inline { justify-content: center; color: rgba(255,255,255,.75); }
.hero-full .review-inline b { color: #fff; }
.hero-full .btn { box-shadow: 0 14px 44px rgba(0,0,0,.35); }

/* VSL card overlapping the hero bottom */
.vsl-wrap { position: relative; z-index: 2; max-width: 780px; margin: -110px auto 0; padding: 0 24px; }
.vsl-wrap .video-slot .frame { border: 8px solid var(--white); box-shadow: 0 30px 80px rgba(36,27,20,.25); }
.vsl-wrap .note { background: transparent; }

/* repeated CTA band */
.cta-band { text-align: center; padding: 8px 0 0; }
.cta-band .date-line {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray); margin-top: 16px;
}

/* for-you / not-for-you
   Functional colors from the brand guidelines' own Do/Don't system:
   sage #5B8A5B (yes) · brick #B5473C (no) — muted, never traffic-light. */
.fit-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit { padding: 44px 38px; }
.fit.yes { border-top: 2px solid var(--gold); }
.fit.no { border-top: 2px solid var(--silver); }
.fit h3 { margin-bottom: 20px; }
.fit.yes h3 { color: #5b8a5b; }
.fit.no h3 { color: #b5473c; }
.fit ul.check li { font-weight: 300; font-size: 15.5px; }
.fit.yes ul.check li::before { color: #5b8a5b; border-color: rgba(91,138,91,.4); }
.fit.no ul.check li::before { content: "✕"; color: #b5473c; border-color: rgba(181,71,60,.35); }
.fit.no ul.check li { color: var(--cocoa); }

/* scroll-reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.7,.3,1), transform .7s cubic-bezier(.22,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .1s; }
  .reveal.d2 { transition-delay: .22s; }
  .reveal.d3 { transition-delay: .34s; }
  .photo-stack .badge { animation: phx-float 5s ease-in-out infinite; }
  @keyframes phx-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
}

/* utility */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.gold-rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 26px 0; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   Mobile: center everything, full-width CTAs
   ============================================================ */
@media (max-width: 759px) {
  .hero-full { padding: 72px 20px 140px; }
  .sec-head, .split > div, .card, .cta-band { text-align: center; }
  .when, .cta-row, .review-inline, .instructor-cred, .review-band { justify-content: center; }
  .when { width: 100%; }
  .when .chip { flex: 1 1 100%; text-align: center; }
  .kicker.rule::before { display: none; }
  .gold-rule { margin-left: auto; margin-right: auto; }
  .btn { width: 100%; text-align: center; }
  .cta-row { gap: 18px; }
  ul.check { display: inline-block; text-align: left; max-width: 440px; }
  .split .media::after { display: none; }
  .photo-stack { padding-bottom: 44px; }
  .photo-stack .inset { width: 40%; }
  .tcard { text-align: left; }
  .fit { padding: 34px 22px; }
}
