/* ============================================================
   ALEX KNIGHT EDUCATION — Homepage
   Editorial luxury rebuild.
   Cormorant Garamond + DM Sans · neutral palette · sharp corners.
   ============================================================ */

:root {
  /* color */
  --ink:         #1C1C1A;
  --ink-soft:    #2A2A27;
  --soft:        #4A4A47;
  --muted:       #8A8A85;
  --rule:        #E8E4DC;
  --rule-deep:   #D4CFC4;
  --stone:       #EFEFEF;
  --cream:       #F4F1EB;
  --cream-deep:  #FAF8F4;
  --white:       #FFFFFF;

  --bg:          var(--white);
  --fg:          var(--ink);

  /* type */
  --font-serif:  "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans:   "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow:  11px;
  --fs-body:     16px;
  --fs-body-lg:  18px;
  --fs-h4:       clamp(20px, 1.6vw, 24px);
  --fs-h3:       clamp(28px, 2.4vw, 38px);
  --fs-h2:       clamp(40px, 4.6vw, 72px);
  --fs-h1:       clamp(56px, 7vw, 108px);

  --ls-eyebrow:  .32em;
  --ls-btn:      .22em;

  --lh-body:     1.7;
  --lh-display:  1.05;

  /* space */
  --gutter:      clamp(20px, 4vw, 56px);
  --section-y:   clamp(96px, 12vw, 180px);
  --container:   1280px;
  --container-narrow: 980px;
  --container-text:  680px;

  /* motion */
  --dur:   320ms;
  --ease:  cubic-bezier(.22,.61,.36,1);
}

/* ============================================================
   RESET
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }
em, i { font-style: italic; }

/* ============================================================
   PRIMITIVES
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.container-text { max-width: var(--container-text); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  display: inline-block;
}
.eyebrow.muted { color: var(--soft); }
.eyebrow.on-dark { color: var(--cream); }

.eyebrow-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--soft);
}
.eyebrow-rule::before,
.eyebrow-rule::after {
  content: ''; width: 36px; height: 1px; background: var(--rule-deep);
}
.section-dark .eyebrow-rule { color: rgba(244,241,235,.7); }
.section-dark .eyebrow-rule::before,
.section-dark .eyebrow-rule::after { background: rgba(244,241,235,.32); }

/* Editorial display headline */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
  letter-spacing: -.005em;
  color: var(--ink);
}
.display em { font-style: italic; font-weight: 400; }
.display.lg { font-size: var(--fs-h1); }
.display.sm { font-size: var(--fs-h3); }

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--soft);
  font-weight: 400;
}

.body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--soft);
  font-weight: 400;
}
.body p + p { margin-top: 1.2em; }

/* Italic roman numeral marker */
.numeral {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ink);
  line-height: 1;
  display: inline-block;
}
.numeral.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  padding: 18px 30px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--white); }

.btn--solid {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
.btn--solid:hover { background: var(--soft); border-color: var(--soft); }

.btn--on-dark {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn--on-dark:hover { background: var(--white); color: var(--ink); }

.btn--solid.btn--on-dark { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--solid.btn--on-dark:hover { background: var(--cream); border-color: var(--cream); }

.btn .arrow { display: inline-block; }

/* Text link */
.tlink {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tlink:hover { gap: 16px; color: var(--soft); border-color: var(--soft); }
.section-dark .tlink { color: var(--white); border-color: var(--white); }
.section-dark .tlink:hover { color: var(--cream); border-color: var(--cream); }

/* Image placeholder */
.ph {
  position: relative;
  background: var(--cream);
  color: var(--soft);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.ph::before {
  content: ''; position: absolute; inset: 14px;
  border: 1px solid var(--rule-deep);
  pointer-events: none;
}
.ph-label {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--soft);
  max-width: 70%;
  position: relative; z-index: 1;
}
.ph--stone { background: var(--stone); }
.ph--cream-deep { background: var(--cream-deep); }
.ph--ink { background: var(--ink); color: rgba(244,241,235,.7); }
.ph--ink::before { border-color: rgba(244,241,235,.18); }
.ph--ink .ph-label { color: rgba(244,241,235,.7); }

/* Section helpers */
.section { padding: var(--section-y) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--cream-deep); }
.section-dark .display,
.section-dark .numeral { color: var(--cream-deep); }
.section-dark .body,
.section-dark .lead { color: rgba(244,241,235,.78); }

/* Hairline rule */
.hr {
  display: block; width: 64px; height: 1px;
  background: var(--rule-deep); border: 0; margin: 0 auto;
}
.hr--full { width: 100%; }
.section-dark .hr { background: rgba(244,241,235,.22); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  padding: 18px 0;
  background: transparent;
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), padding var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--rule);
  padding: 10px 0;
}
.nav.over-dark { color: var(--cream-deep); }
.nav.over-dark.scrolled { color: var(--ink); }

.nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}

.nav-brand {
  justify-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
  position: relative;
}
.nav-brand-img {
  height: 64px; width: auto; display: block;
  transition: height var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-brand-img-light { position: absolute; inset: 0; margin: auto; opacity: 0; }
.nav.over-dark .nav-brand-img-dark { opacity: 0; }
.nav.over-dark .nav-brand-img-light { opacity: 1; }
.nav.over-dark.scrolled .nav-brand-img-dark { opacity: 1; }
.nav.over-dark.scrolled .nav-brand-img-light { opacity: 0; }
.nav.scrolled .nav-brand-img { height: 42px; }

.nav-links {
  display: flex; align-items: center; gap: 34px;
}
.nav-links-left { justify-self: start; }
.nav-links-right { justify-self: end; gap: 26px; }

.nav-link {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: currentColor;
  position: relative; padding: 6px 0;
  transition: opacity var(--dur) var(--ease);
  opacity: .88;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width var(--dur) var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.nav-icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: currentColor;
  opacity: .8;
  transition: opacity var(--dur) var(--ease);
}
.nav-icon:hover { opacity: 1; }
.nav-icon svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
}

/* ============================================================
   1 · HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  background: var(--ink);
  color: var(--cream-deep);
  isolation: isolate;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 0;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-photo::before {
  /* darker overlay for legibility */
  content: ''; position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.35), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.75) 100%);
}
.hero-photo .ph-label {
  color: rgba(244,241,235,.4);
  font-size: 10px;
  letter-spacing: .32em;
  position: relative;
  z-index: 0;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px;
  margin: auto;
  padding: 180px var(--gutter) 140px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.hero .eyebrow {
  color: rgba(244,241,235,.85);
  font-size: 11px;
}
.hero .display {
  color: var(--cream-deep);
  font-size: clamp(48px, 7vw, 104px);
  letter-spacing: -.01em;
  max-width: 16ch;
}
.hero .lead {
  color: rgba(244,241,235,.82);
  max-width: 58ch;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(244,241,235,.6);
  font-family: var(--font-sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 56px; background: rgba(244,241,235,.4);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -56px; left: 0; right: 0;
  height: 56px; background: rgba(244,241,235,.95);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { top: -56px; }
  60%  { top: 56px; }
  100% { top: 56px; }
}

/* ============================================================
   2 · PROOF BAR
   ============================================================ */
.proof {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.proof-cell {
  text-align: center;
  padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.proof-cell + .proof-cell { border-left: 1px solid var(--rule); }
.proof-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1;
  color: var(--ink);
}
.proof-num em { font-style: italic; }
.proof-featured-list {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--ink);
}
.proof-num small {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  vertical-align: .12em;
  margin-right: 2px;
  color: var(--soft);
}
.proof-label {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--soft);
  max-width: 22ch;
  line-height: 1.7;
}

@media (max-width: 780px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-cell + .proof-cell { border-left: 0; border-top: 1px solid var(--rule); padding-top: 48px; margin-top: 48px; }
}

/* ============================================================
   2b · FEATURED IN
   ============================================================ */
.featured-in {
  padding: clamp(56px, 7vw, 88px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.featured-in-inner {
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.featured-in-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(40px, 6vw, 88px);
  width: 100%;
}
.featured-in-logos li { display: flex; align-items: center; justify-content: center; }
.featured-in-logos img {
  height: 72px; width: auto; display: block;
  opacity: .72;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease);
  max-width: 240px;
  object-fit: contain;
}
.featured-in-logos img.logo-square { height: 150px; }
.featured-in-logos li:hover img { opacity: 1; }

@media (max-width: 640px) {
  .featured-in-logos { gap: 32px; }
  .featured-in-logos img { height: 48px; }
  .featured-in-logos img.logo-square { height: 104px; }
}

/* ============================================================
   3 · A NOTE FROM ALEX
   ============================================================ */
.note { background: var(--cream-deep); }
.note-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.note-text {
  display: flex; flex-direction: column; gap: 30px;
  max-width: 560px;
}
.note-eyebrow { align-self: flex-start; justify-content: flex-start; }
.note-eyebrow::before { display: none; }
.note .display { max-width: 18ch; }
.note .body {
  font-size: 17px; line-height: 1.85; color: var(--soft);
  text-align: left;
}
.note-signoff {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-top: 4px;
  align-self: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--rule-deep);
  min-width: 160px;
}
.note-portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.note-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note-caption {
  position: absolute;
  left: 0; bottom: 0;
  padding: 18px 22px;
  background: rgba(20, 20, 18, 0.78);
  color: var(--cream-deep);
  display: flex; flex-direction: column; gap: 4px;
  backdrop-filter: blur(4px);
}
.note-caption-name {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
}
.note-caption-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(244,241,235,.75);
}

@media (max-width: 900px) {
  .note-grid { grid-template-columns: 1fr; gap: 48px; }
  .note-portrait { order: -1; max-width: 380px; margin: 0 auto; }
  .note-text { max-width: none; }
}

/* ============================================================
   4 · THE FREE GUIDE (lead magnet, big)
   ============================================================ */
.guide {
  background: var(--ink);
  color: var(--cream-deep);
  border-top: 1px solid rgba(244,241,235,.12);
  border-bottom: 1px solid rgba(244,241,235,.12);
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.guide-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(244,241,235,.08);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.guide-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-text {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  max-width: 520px;
}
.guide-text .display { max-width: 18ch; }
.guide-text .lead { max-width: 50ch; }
.guide-text .form-inline { margin-top: 8px; }

@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; gap: 48px; }
  .guide-cover { aspect-ratio: 16 / 10; max-width: 560px; margin: 0 auto; }
  .guide-text { max-width: none; align-items: center; text-align: center; }
  .guide-text .form-inline { width: 100%; }
}

.form-inline {
  display: flex; gap: 0; width: 100%; max-width: 560px;
  border: 1px solid var(--ink);
}
.form-inline input {
  flex: 1; min-width: 0;
  padding: 18px 22px;
  border: 0; outline: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  letter-spacing: .02em;
}
.form-inline input::placeholder { color: var(--muted); }
.form-inline button {
  padding: 18px 28px;
  background: var(--ink); color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  border: 0;
  transition: background var(--dur) var(--ease);
  white-space: nowrap;
}
.form-inline button:hover { background: var(--soft); }
.form-inline.on-dark { border-color: var(--white); }
.form-inline.on-dark input { background: transparent; color: var(--white); }
.form-inline.on-dark input::placeholder { color: rgba(244,241,235,.5); }
.form-inline.on-dark button { background: var(--white); color: var(--ink); }
.form-inline.on-dark button:hover { background: var(--cream); }

.micro {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.section-dark .micro { color: rgba(244,241,235,.55); }

@media (max-width: 620px) {
  .form-inline { flex-direction: column; }
  .form-inline input { width: 100%; }
  .form-inline button { width: 100%; }
}

/* ============================================================
   5 · WHERE TO START
   ============================================================ */
.start { background: var(--white); }
.start-head {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  margin-bottom: clamp(64px, 7vw, 96px);
}
.start-head .display { max-width: 22ch; }
.start-head .body { max-width: 56ch; color: var(--soft); }

.start-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.start-card {
  background: var(--white);
  padding: 56px 44px;
  display: flex; flex-direction: column; gap: 18px;
  transition: background var(--dur) var(--ease);
  min-height: 360px;
}
.start-card:hover { background: var(--cream-deep); }
.start-card .numeral { margin-bottom: 6px; }
.start-card-label {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink);
}
.start-card-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 400;
}
.start-card p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
}
.start-card .tlink { margin-top: auto; align-self: flex-start; }

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

/* ============================================================
   6 · FEATURED
   ============================================================ */
.featured { background: var(--cream-deep); }
.featured-head {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  margin-bottom: clamp(64px, 7vw, 96px);
}
.featured-head .display { max-width: 22ch; }

.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
}
.pcard {
  background: transparent;
  display: flex; flex-direction: column; gap: 22px;
}
.pcard-image-wrap { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.pcard-image-wrap .ph { width: 100%; height: 100%; }
.pcard-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 800ms var(--ease);
}
.pcard:hover .pcard-image { transform: scale(1.03); }

/* Before / After slider */
.ba {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: var(--cream-deep);
  touch-action: none;
  --pos: 50%;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 92%;
  display: block;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-label {
  position: absolute; top: 16px;
  z-index: 4;
  font-family: var(--font-sans);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--white);
  padding: 7px 11px;
  background: rgba(20,20,18,.62);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 0;
  pointer-events: none;
}
.ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(20,20,18,.15);
}
.ba-handle-knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.ba-handle-knob svg { width: 18px; height: 18px; }
.ba-input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  margin: 0;
  z-index: 5;
  cursor: ew-resize;
}
.pcard-image-wrap .badge {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-sans);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  background: var(--ink); color: var(--white);
  padding: 8px 12px;
}
.pcard-meta {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--soft);
}
.pcard-meta .pcard-no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: none;
}
.pcard-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 400;
}
.pcard-title em { font-style: italic; }
.pcard p {
  color: var(--soft);
  font-size: 15.5px;
  line-height: 1.7;
  flex: 1 1 auto;
}
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-deep);
}
.pcard-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
}
.pcard-price small {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}

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

/* ============================================================
   7 · TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--cream); }
.t-head {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  margin-bottom: clamp(56px, 7vw, 90px);
}
.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.tcard {
  background: var(--white);
  padding: 48px 38px 40px;
  display: flex; flex-direction: column; gap: 28px;
  min-height: 100%;
}
.tcard-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}
.tcard-foot {
  display: flex; align-items: center; gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.tcard-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream);
  flex: 0 0 56px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tcard-avatar::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px solid var(--rule-deep);
}
.tcard-avatar .ph-label { font-size: 8px; letter-spacing: .28em; color: var(--muted); }
.tcard-attribution {
  display: flex; flex-direction: column; gap: 4px;
}
.tcard-name {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink);
}
.tcard-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--soft);
}

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

/* ============================================================
   8 · NEWSLETTER (dark)
   ============================================================ */
.newsletter {
  background:
    linear-gradient(rgba(20,20,18,.86), rgba(20,20,18,.92)),
    url('assets/camera-hands-opt.jpg') center / cover no-repeat;
  color: var(--cream-deep);
  position: relative;
  isolation: isolate;
}
.newsletter::before {
  /* subtle vignette on top of the dark layer */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,.45) 100%);
  z-index: 0;
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter-inner {
  max-width: 920px; margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 30px;
}
.newsletter .display { color: var(--cream-deep); max-width: 22ch; }
.newsletter .lead { color: rgba(244,241,235,.82); max-width: 60ch; }

/* ============================================================
   9 · CLOSING
   ============================================================ */
.closing { background: var(--cream-deep); }
.closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.closing-text {
  display: flex; flex-direction: column; gap: 30px;
  max-width: 520px;
}
.closing-text .display { max-width: 12ch; }
.closing-text .body { color: var(--soft); font-size: 17px; }
.closing-actions {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 360px;
}
.closing-actions .btn { justify-content: space-between; width: 100%; padding: 20px 26px; }
.closing-actions .btn .arrow { font-family: var(--font-serif); font-style: italic; font-size: 18px; }

.closing-image { aspect-ratio: 4 / 5; overflow: hidden; }
.closing-image .ph { width: 100%; height: 100%; }
.closing-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .closing-grid { grid-template-columns: 1fr; }
  .closing-image { order: -1; aspect-ratio: 4 / 3; }
}

/* ============================================================
   10 · FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: clamp(80px, 9vw, 140px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(244,241,235,.16);
}
.footer-brand-img { width: 260px; max-width: 100%; height: auto; display: block; margin-bottom: 24px; }
.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(244,241,235,.7);
  margin-top: 24px;
  max-width: 28ch;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--cream-deep);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(244,241,235,.72);
  transition: color var(--dur) var(--ease);
}
.footer-col li a:hover { color: var(--cream-deep); }

.footer-bottom {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: rgba(244,241,235,.55);
}
.footer-bottom .dots { color: rgba(244,241,235,.4); margin: 0 14px; }
.footer-studio-link {
  color: rgba(244,241,235,.55);
  border-bottom: 1px solid rgba(244,241,235,.25);
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer-studio-link:hover { color: var(--cream-deep); border-color: var(--cream-deep); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 16px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ============================================================
   FADE-IN
   ============================================================ */
.fade { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.fade.in { opacity: 1; transform: none; }
