/* ------------------------------------------------------------
   New School Portrait — design tokens
   ------------------------------------------------------------ */
:root,
[data-theme='light'] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --font-display: 'Clash Display', 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  /* surfaces */
  --color-bg: #fbf9f6;
  --color-surface: #ffffff;
  --color-surface-2: #f4f1ec;
  --color-text: #1f1d22;
  --color-text-muted: #6b6770;
  --color-text-faint: #a8a3ab;
  --color-text-inverse: #fbf9f6;
  --color-border: oklch(from var(--color-text) l c h / 0.1);

  /* pastels */
  --pastel-blush: #f8ddd7;
  --pastel-mint: #d8eee0;
  --pastel-butter: #fbebc3;
  --pastel-sky: #d6e4f5;
  --pastel-lilac: #e7def3;
  --pastel-ink: #1f1d22;

  /* one accent, used sparingly */
  --color-accent: #d7563f;

  /* buttons */
  --btn-bg: var(--color-text);
  --btn-fg: var(--color-text-inverse);

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms var(--ease-out);

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 40 / 0.05);
  --shadow-md: 0 2px 4px oklch(0.25 0.02 40 / 0.05), 0 12px 32px oklch(0.25 0.02 40 / 0.07);
  --shadow-lg: 0 4px 8px oklch(0.25 0.02 40 / 0.06), 0 24px 56px oklch(0.25 0.02 40 / 0.12);

  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1240px;
}

[data-theme='dark'] {
  --color-bg: #16151a;
  --color-surface: #1e1d23;
  --color-surface-2: #26252c;
  --color-text: #eeeae4;
  --color-text-muted: #a7a2aa;
  --color-text-faint: #6e6973;
  --color-text-inverse: #16151a;
  --color-border: oklch(from var(--color-text) l c h / 0.12);

  --pastel-blush: #3b2a2c;
  --pastel-mint: #24332b;
  --pastel-butter: #3a3222;
  --pastel-sky: #242e3b;
  --pastel-lilac: #2f2a3a;
  --pastel-ink: #eeeae4;

  --color-accent: #f08a74;
  --btn-bg: var(--color-text);
  --btn-fg: var(--color-text-inverse);

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 2px 4px oklch(0 0 0 / 0.3), 0 12px 32px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 4px 8px oklch(0 0 0 / 0.35), 0 24px 56px oklch(0 0 0 / 0.5);
}

/* ------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------ */
.container {
  width: min(100% - var(--space-10), var(--content-wide));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .container {
    width: min(100% - var(--space-8), var(--content-wide));
  }
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section--tint {
  background: var(--tint, var(--color-surface-2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--color-accent));
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.h-2xl {
  font-size: var(--text-2xl);
}
.h-xl {
  font-size: var(--text-xl);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.h-lg {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.lead {
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--color-text-muted);
  font-weight: 500;
  max-width: 34ch;
}
.muted {
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    background var(--transition-interactive),
    color var(--transition-interactive);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-interactive);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  box-shadow: inset 0 0 0 1.5px oklch(from var(--color-text) l c h / 0.22);
}
.btn--ghost:hover {
  background: var(--color-surface);
}
.btn--pastel {
  background: var(--pastel, var(--pastel-butter));
  color: #1f1d22;
}
[data-theme='dark'] .btn--pastel {
  color: var(--color-text);
}
.btn--sm {
  min-height: 40px;
  padding: 0 var(--space-5);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition:
    border-color 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}
.header--scrolled {
  border-color: var(--color-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
}
.nav a:hover,
.nav a.is-active {
  color: var(--color-text);
}
.nav a::after {
  content: '';
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--color-text);
}
.icon-btn:hover {
  background: var(--color-surface-2);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.menu-btn {
  display: none;
}
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-5) var(--space-6);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 220ms var(--ease-out),
      transform 260ms var(--ease-out);
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav a {
    min-height: 52px;
    font-size: var(--text-base);
    padding: 0 var(--space-2);
  }
  .nav a::after {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
  }
  .header__cta {
    display: none;
  }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24)) clamp(var(--space-12), 6vw, var(--space-20));
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: var(--space-6);
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 900ms var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) > span {
  animation-delay: 90ms;
}
.hero h1 .line:nth-child(3) > span {
  animation-delay: 180ms;
}
.hero h1 .accent {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
  margin: 0 -0.05em;
  border-radius: 0.25em;
  background: var(--pastel-butter);
  color: #1f1d22;
}
[data-theme='dark'] .hero h1 .accent {
  background: #f3d98b;
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}
.hero__copy .lead,
.hero__actions,
.hero__meta {
  opacity: 0;
  animation: fade 700ms var(--ease-out) forwards;
}
.hero__copy .lead {
  animation-delay: 350ms;
  margin-bottom: var(--space-8);
}
.hero__actions {
  animation-delay: 450ms;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__meta {
  animation-delay: 550ms;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-10);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__meta svg {
  width: 16px;
  height: 16px;
  color: var(--color-text);
}
@keyframes fade {
  to {
    opacity: 1;
  }
}

/* stacked photo composition */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 4.6;
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}
.hero__visual .photo {
  position: absolute;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: pop 900ms var(--ease-out) forwards;
}
.hero__visual .photo:nth-child(1) {
  width: 62%;
  aspect-ratio: 4 / 5;
  left: 0;
  top: 6%;
  --tint: var(--pastel-blush);
  transform: rotate(-4deg);
  animation-delay: 200ms;
}
.hero__visual .photo:nth-child(2) {
  width: 54%;
  aspect-ratio: 4 / 5;
  right: 0;
  top: 0;
  --tint: var(--pastel-sky);
  transform: rotate(5deg);
  animation-delay: 340ms;
}
.hero__visual .photo:nth-child(3) {
  width: 58%;
  aspect-ratio: 5 / 4;
  right: 8%;
  bottom: 0;
  --tint: var(--pastel-mint);
  transform: rotate(-2deg);
  animation-delay: 480ms;
}
@keyframes pop {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.hero__badge {
  position: absolute;
  left: 52%;
  top: 46%;
  z-index: 3;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-text);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.1;
  text-align: center;
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: fade 600ms var(--ease-out) 800ms forwards;
}
.hero__badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 24s linear infinite;
}
.hero__badge span {
  position: relative;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    margin: var(--space-4) auto 0;
    max-width: 440px;
    aspect-ratio: 4 / 3.9;
  }
  .hero .lead {
    max-width: 40ch;
  }
}

/* ------------------------------------------------------------
   Photo slot (drop your photos into /assets/photos)
   ------------------------------------------------------------ */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tint, var(--pastel-blush));
  isolation: isolate;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.photo.is-empty img {
  display: none;
}
.photo__label {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-4);
  color: #1f1d22;
  opacity: 0.55;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[data-theme='dark'] .photo__label {
  color: var(--color-text);
}
.photo__label svg {
  width: 28px;
  height: 28px;
}
.photo.is-empty .photo__label {
  display: flex;
}
a.photo:hover img,
.photo--zoom:hover img {
  transform: scale(1.04);
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.marquee {
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-4);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--space-10);
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__track span::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--pastel-blush));
  filter: saturate(1.4) brightness(0.9);
}
[data-theme='dark'] .marquee__track span::after {
  filter: brightness(2.2);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------
   Section headers & grids
   ------------------------------------------------------------ */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-head .lead {
  max-width: 40ch;
}
@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Parents: feature bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
}
.card {
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.card--tint {
  background: var(--tint, var(--pastel-blush));
  border-color: transparent;
}
.card--tint,
.card--tint .muted {
  color: #1f1d22;
}
[data-theme='dark'] .card--tint,
[data-theme='dark'] .card--tint .muted {
  color: var(--color-text);
}
.card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  opacity: 0.5;
}
.card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--color-text-muted);
}
.card--tint p {
  color: inherit;
  opacity: 0.8;
}
.bento__feature {
  grid-column: span 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.bento__feature .photo {
  aspect-ratio: 4 / 5;
  --tint: rgb(255 255 255 / 0.55);
}
[data-theme='dark'] .bento__feature .photo {
  --tint: rgb(255 255 255 / 0.06);
}
.bento__feature h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.bento__side {
  grid-column: span 5;
  display: grid;
  gap: var(--space-5);
}
@media (max-width: 900px) {
  .bento__feature,
  .bento__side {
    grid-column: span 12;
  }
}
@media (max-width: 600px) {
  .bento__feature {
    grid-template-columns: 1fr;
  }
  .bento__feature .photo {
    aspect-ratio: 4 / 3;
  }
}

/* Schools: stats + list */
.schools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.stat-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-3xl);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-block: var(--space-6) var(--space-2);
}
.stat-big small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}
.perks {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.perks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  max-width: none;
}
.perks li strong {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.perks li span {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.perks svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--color-text);
}
@media (max-width: 860px) {
  .schools {
    grid-template-columns: 1fr;
  }
}

/* Process timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-5);
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.step__when {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--tint, var(--pastel-mint));
  color: #1f1d22;
  margin-bottom: var(--space-3);
  margin-left: var(--space-3);
  vertical-align: 0.5em;
}
[data-theme='dark'] .step__when {
  color: var(--color-text);
}
.step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.note {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Packages */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-5);
  align-items: stretch;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition:
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}
.pkg:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pkg--featured {
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-color: transparent;
}
.pkg__tag {
  display: inline-block;
  margin-left: var(--space-2);
  vertical-align: middle;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--pastel-butter);
  color: #1f1d22;
}
.pkg__name {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.pkg--featured .pkg__name {
  color: oklch(from var(--color-text-inverse) l c h / 0.65);
}
.pkg__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-block: var(--space-4) var(--space-2);
  font-variant-numeric: tabular-nums;
}
.pkg__price sup {
  font-size: 0.45em;
  vertical-align: 0.9em;
  margin-right: 0.05em;
  font-weight: 600;
}
.pkg__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.pkg--featured .pkg__desc {
  color: oklch(from var(--color-text-inverse) l c h / 0.72);
}
.pkg__upgrade {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}
.pkg--featured .pkg__upgrade {
  border-color: oklch(from var(--color-text-inverse) l c h / 0.18);
}
.pkg__upgrade strong {
  font-variant-numeric: tabular-nums;
}
.addons {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-8);
  align-items: start;
}
.addons__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0 var(--space-6);
}
.addons__list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  max-width: none;
}
.addons__list li strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
@media (max-width: 860px) {
  .addons {
    grid-template-columns: 1fr;
  }
}

/* Split feature (sports / santa) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
}
.split--flip > .split__media {
  order: -1;
}
.split__media .photo {
  aspect-ratio: 4 / 5;
  max-width: 520px;
  box-shadow: var(--shadow-md);
}
.split__media--wide .photo {
  aspect-ratio: 5 / 4;
}
.split h2 {
  margin-bottom: var(--space-5);
}
.split p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-block: var(--space-6) var(--space-8);
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--tint, var(--pastel-sky));
  color: #1f1d22;
}
[data-theme='dark'] .pill {
  color: var(--color-text);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--flip > .split__media {
    order: 0;
  }
  .split__media .photo {
    max-width: none;
    aspect-ratio: 4 / 3;
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, 18vw);
  gap: var(--space-4);
}
.gallery .photo:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  --tint: var(--pastel-blush);
}
.gallery .photo:nth-child(2) {
  grid-column: span 2;
  --tint: var(--pastel-sky);
}
.gallery .photo:nth-child(3) {
  grid-column: span 2;
  grid-row: span 2;
  --tint: var(--pastel-mint);
}
.gallery .photo:nth-child(4) {
  grid-column: span 1;
  --tint: var(--pastel-butter);
}
.gallery .photo:nth-child(5) {
  grid-column: span 1;
  --tint: var(--pastel-lilac);
}
.gallery .photo:nth-child(6),
.gallery .photo:nth-child(7) {
  grid-column: span 3;
  grid-row: span 2;
  --tint: var(--pastel-mint);
}
.gallery .photo:nth-child(7) {
  --tint: var(--pastel-blush);
}
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(140px, 38vw);
    grid-auto-flow: dense;
  }
  .gallery .photo:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery .photo:nth-child(1),
  .gallery .photo:nth-child(3) {
    grid-row: span 2;
  }
  .gallery .photo:nth-child(2) {
    grid-column: span 2;
  }
  .gallery .photo:nth-child(6),
  .gallery .photo:nth-child(7) {
    grid-column: span 2;
  }
}

/* FAQ */
.faq {
  max-width: var(--content-default);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--space-10);
  align-items: start;
}
.faq__list {
  border-top: 1px solid var(--color-border);
}
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-5);
  font-weight: 700;
  font-size: var(--text-base);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 300ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .faq__body {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}
@media (max-width: 800px) {
  .faq {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: start;
}
.contact__links {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-8);
}
.contact__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
}
.contact__links a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact__links a span:first-child {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form {
  display: grid;
  gap: var(--space-4);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid oklch(from var(--color-text) l c h / 0.16);
  background: var(--color-bg);
  font-size: var(--text-base);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-text);
  box-shadow: 0 0 0 3px var(--pastel-butter);
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.form__status {
  font-size: var(--text-sm);
  font-weight: 600;
  min-height: 1.5em;
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  padding-block: var(--space-12) var(--space-8);
  border-top: 1px solid var(--color-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.footer ul {
  display: grid;
  gap: var(--space-2);
}
.footer a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
}
.footer a:hover {
  color: var(--color-accent);
}
.footer__tag {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 34ch;
  margin-top: var(--space-4);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.footer__bottom a {
  font-size: inherit;
  font-weight: 600;
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > :first-child {
    grid-column: span 2;
  }
}

/* CTA band */
.cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-20));
  background: var(--pastel-blush);
  color: #1f1d22;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: var(--space-8);
  align-items: center;
}
[data-theme='dark'] .cta-band {
  color: var(--color-text);
}
.cta-band h2 {
  margin-bottom: var(--space-3);
}
.cta-band p {
  opacity: 0.8;
}
.cta-band .btn {
  background: #1f1d22;
  color: #fbf9f6;
}
[data-theme='dark'] .cta-band .btn {
  background: var(--color-text);
  color: var(--color-text-inverse);
}
@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Scroll reveal (opacity + clip only — no layout shift)
   ------------------------------------------------------------ */
.reveal {
  opacity: 1;
}
.js .reveal {
  opacity: 0;
  clip-path: inset(6% 0 0 0);
  transition:
    opacity 800ms var(--ease-out),
    clip-path 900ms var(--ease-out);
}
.js .reveal.is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
.js .reveal[data-delay='1'] {
  transition-delay: 80ms;
}
.js .reveal[data-delay='2'] {
  transition-delay: 160ms;
}
.js .reveal[data-delay='3'] {
  transition-delay: 240ms;
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
}
.skip:focus {
  top: var(--space-4);
}

/* Pill label (small tag) */
.pill {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--pill, var(--pastel-butter));
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
[data-theme='dark'] .pill { color: #1f1d22; }

/* Secure checkout note */
.secure {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 34ch;
}
.secure svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* Video slot */
.photo--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.photo--video.is-empty video,
.photo--video.is-empty .play { display: none; }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1f1d22;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(31, 29, 34, 0.18);
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.play:hover { transform: scale(1.06); }
.photo--video.is-playing .play { opacity: 0; pointer-events: none; }
