/* ============================================
   dripbook.online - Landing Page Styles
   Editorial fashion magazine aesthetic
   Mobile-first, fully responsive
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --bg: #F5F0E8;
  --bg-alt: #EAE3D7;
  --bg-dark: #1C1917;
  --ink: #1C1917;
  --ink-soft: #57534E;
  --ink-light: #78716C;
  --accent: #B8412B;
  --accent-light: #E8A087;
  --accent-bg: #FDF0EB;
  --line: #D6CFC4;
  --white: #FFFEFD;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --container: 1200px;
  --container-narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-snap-type: y proximity;
  overflow-x: clip;
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

@media (max-width: 767px) {
  html {
    scroll-snap-type: none;
  }

  section {
    scroll-snap-align: none;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 3.25rem;
  width: auto;
  display: block;
}

.nav-logo-dot {
  color: var(--accent);
}

/* Nav links - hidden by default, shown after hero scroll on desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Nav CTA - hidden by default, shown after hero scroll */
.nav-cta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--ink);
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  transition: all 0.3s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
}

/* Mobile menu toggle - hidden on tablet/desktop, where nav-links show inline */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-hamburger svg {
  display: block;
}

.nav-hamburger .icon-close {
  display: none;
}

.nav-hamburger.open .icon-menu {
  display: none;
}

.nav-hamburger.open .icon-close {
  display: block;
}

/* Show nav links + CTA after hero is scrolled past (desktop only) */
.nav.past-hero .nav-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Pages without a hero (e.g. Our Models) show the nav CTA immediately */
.nav-static .nav-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-static {
  background: var(--bg);
  border-bottom-color: var(--line);
}

.nav-link-active {
  color: var(--accent) !important;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
}

/* ---------- Typography ---------- */
.section-tag {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-number {
  display: block;
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}

.section-sub {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  line-height: 1.5;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: revealUp 0.9s var(--ease-out) forwards;
  will-change: transform, opacity;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sections that haven't loaded yet get scroll-triggered reveal */
.reveal-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: transform, opacity;
}

.reveal-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered children within a revealed section */
.stagger-children > .reveal-scroll,
.stagger-children > .reveal {
  transition-delay: var(--stagger, 0s);
}

/* Parallax layer for premium depth */
.parallax {
  will-change: transform;
}

/* Smooth hover lift for interactive surfaces */
.step,
.outcome-card,
.asset-card,
.cta-form,
.form-success {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.step:hover,
.asset-card:hover,
.outcome-card:hover {
  transform: translateY(-2px);
}

/* Focus transition for accessibility */
input:focus,
button:focus,
a:focus {
  transition: outline 0.2s ease, box-shadow 0.2s ease, border-color 0.3s var(--ease);
}

/* Section entry scale effect */
.section-entry {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.section-entry.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}

.hero-em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 144;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 1.125rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-micro {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-light);
}

/* Hero visual - lookbook mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

/* Hero visual - dense "contact sheet" wall: many looks, both models, at once.
   Reads like a curated Instagram grid (fitting, since that's where these
   photos actually go) with one enlarged feature tile anchoring the eye. */
.hero-mosaic {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-auto-flow: row dense;
  gap: 6px;
  aspect-ratio: 3 / 4;
}

.mosaic-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 18px -12px rgba(28, 25, 23, 0.3);
}

.mosaic-tile-feature {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  border-radius: 8px;
  box-shadow: 0 16px 34px -16px rgba(28, 25, 23, 0.38);
}

.mosaic-frame {
  position: absolute;
  inset: -4%;
  animation: mosaicDrift 20s ease-in-out infinite;
}

.mosaic-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.mosaic-layer-1 {
  animation: mosaicFadeOut 11s ease-in-out infinite;
}

.mosaic-layer-2 {
  opacity: 0;
  animation: mosaicFadeIn 11s ease-in-out infinite;
}

/* Frames with only one layer (no crossfade partner) should stay fully visible, not fade to transparent */
.mosaic-frame:not(:has(.mosaic-layer-2)) .mosaic-layer-1 {
  animation: none;
  opacity: 1;
}

/* Stagger the ambient drift so tiles don't breathe in sync */
.mosaic-tile:nth-child(3n+1) .mosaic-frame { animation-delay: -3s; }
.mosaic-tile:nth-child(3n+2) .mosaic-frame { animation-delay: -9s; }
.mosaic-tile:nth-child(3n) .mosaic-frame { animation-delay: -15s; }

@keyframes mosaicDrift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes mosaicFadeOut {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes mosaicFadeIn {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

.mosaic-tone-warm { background: linear-gradient(135deg, #EDE6D8 0%, #DCD2BF 100%); }
.mosaic-tone-warm-alt { background: linear-gradient(150deg, #E3D9C8 0%, #CBBBA0 100%); }
.mosaic-tone-terracotta { background: linear-gradient(135deg, var(--accent) 0%, #8B3220 100%); }
.mosaic-tone-terracotta-soft { background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%); }
.mosaic-tone-dark { background: linear-gradient(135deg, #1C1917 0%, #2C2723 100%); }
.mosaic-tone-dark-alt { background: linear-gradient(150deg, #2C2723 0%, #44201A 100%); }
.mosaic-tone-flatlay { background: linear-gradient(135deg, #D6C4A6 0%, #AE9877 100%); }

.mosaic-label {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(255, 254, 253, 0.85);
  padding: 4px 9px;
  border-radius: 100px;
}

.mosaic-label-light {
  color: var(--white);
  background: rgba(28, 25, 23, 0.55);
}

.mosaic-label-right {
  left: auto;
  right: 9px;
}

/* Pinned "before" print - the designer's-desk signature detail */
.mosaic-pin {
  position: absolute;
  left: -8%;
  bottom: 13%;
  width: 32%;
  aspect-ratio: 4 / 5;
  z-index: 5;
  border-radius: 5px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 14px 28px -12px rgba(28, 25, 23, 0.4);
  transform: rotate(-7deg);
}

.mosaic-label-pin {
  font-size: 0.5625rem;
  padding: 3px 7px;
  left: 6px;
  bottom: 6px;
}

.mosaic-badge {
  position: absolute;
  top: -12px;
  right: 10%;
  z-index: 6;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ---------- Placeholders ---------- */
.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  color: var(--ink-light);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

.placeholder-portrait {
  background: linear-gradient(135deg, #E8E0D2 0%, #D9CFBE 100%);
}

.placeholder-video {
  background: linear-gradient(135deg, #1C1917 0%, #2C2723 100%);
  color: rgba(255, 254, 253, 0.5);
}

.placeholder-icon {
  opacity: 0.4;
}

/* ---------- Scroll hint ---------- */
.scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.scroll-hint-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--ink-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Before / After ---------- */
.before-after {
  background: var(--bg-dark);
  padding: 80px 0;
  color: var(--bg);
}

.before-after .section-number {
  color: var(--accent-light);
}

.before-after .section-headline {
  color: var(--bg);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.ba-before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.ba-after {
  z-index: 1;
}

.placeholder-ba {
  border-radius: 0;
}

.placeholder-flatlay {
  background: linear-gradient(135deg, #E0D6C6 0%, #C9BCA8 100%);
  color: rgba(28, 25, 23, 0.4);
}

.placeholder-model {
  background: linear-gradient(135deg, #C24A30 0%, #8B3220 100%);
  color: rgba(255, 254, 253, 0.55);
}

.placeholder-icon-lg {
  opacity: 0.5;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-line {
  width: 100%;
  height: 100%;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: pulseHandle 2.5s ease-in-out infinite;
}

@keyframes pulseHandle {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 4px 24px rgba(184, 65, 43, 0.5); }
}

.ba-label {
  position: absolute;
  bottom: 16px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 4;
  pointer-events: none;
}

.ba-label-before {
  left: 16px;
  background: rgba(28, 25, 23, 0.7);
  color: var(--bg);
}

.ba-label-after {
  right: 16px;
  background: rgba(255, 254, 253, 0.2);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.ba-caption {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--accent-light);
  margin-top: 1.75rem;
}

/* ---------- How it works ---------- */
.how-it-works {
  padding: 80px 0;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0;
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
}

.step-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.step-desc {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 26rem;
}

/* ---------- What you get ---------- */
.what-you-get {
  background: var(--bg-alt);
  padding: 80px 0;
}

.assets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.asset-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.placeholder-asset {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #E8E0D2 0%, #D9CFBE 100%);
  border-radius: 6px;
  transition: transform 0.4s var(--ease);
}

.asset-card:hover .placeholder-asset {
  transform: scale(1.02);
}

.asset-photo {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.asset-card:hover .asset-photo {
  transform: scale(1.02);
}

.asset-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.asset-label {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.asset-video {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.placeholder-asset-video {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1C1917 0%, #2C2723 100%);
  color: rgba(255, 254, 253, 0.4);
}

.asset-video-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.asset-video-meta {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-light);
}

/* Video reel isn't live yet — mute it visually and flag it as upcoming */
.asset-soon-badge {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  background: var(--bg-alt);
  padding: 3px 9px;
  border-radius: 100px;
  vertical-align: middle;
}

.asset-video-soon .placeholder-asset-video {
  opacity: 0.55;
}

.asset-video-soon .asset-video-meta {
  opacity: 0.7;
}

/* ---------- Why it matters ---------- */
.why-it-matters {
  padding: 80px 0;
}

.outcomes-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.outcome-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.outcome-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 8px 30px -12px rgba(184, 65, 43, 0.15);
}

.outcome-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.outcome-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.outcome-desc {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Transparency ---------- */
.transparency {
  background: var(--bg-alt);
  padding: 80px 0;
}

.transparency-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transparency-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.transparency-text:last-of-type {
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.transparency-note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--accent);
  line-height: 1.5;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  margin: 0.25rem 0;
}

.transparency-secondary {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ---------- CTA Form ---------- */
.cta {
  background: var(--accent-bg);
  padding: 80px 0;
}

.cta-form {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 20px 60px -20px rgba(184, 65, 43, 0.15);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-optional {
  font-weight: 400;
  color: var(--ink-light);
}

.form-field input {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form-field input::placeholder {
  color: var(--ink-light);
}

.form-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-pill-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-pill {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1.5px solid var(--line);
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.form-pill:hover {
  border-color: var(--ink-light);
}

.form-pill-input:checked + .form-pill {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.form-pill-input:focus-visible + .form-pill {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  background: var(--bg);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.upload-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
}

.upload-text {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.upload-text span {
  font-size: 0.8125rem;
  color: var(--ink-light);
}

.upload-zone.upload-zone-full {
  cursor: default;
  opacity: 0.5;
}

.upload-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.upload-thumb {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}

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

.upload-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.72);
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-error {
  display: none;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--accent);
  text-align: center;
}

.form-error.active {
  display: block;
}

.form-micro {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-light);
  text-align: center;
}

/* Form success */
.form-success {
  display: none;
  background: var(--white);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 20px 60px -20px rgba(184, 65, 43, 0.15);
}

.form-success.active {
  display: block;
  animation: revealUp 0.6s var(--ease-out) forwards;
}

.form-success-icon {
  color: var(--accent);
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-success-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.form-success-text {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

.footer-copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ink-light);
}

/* ============================================
   Our Models page
   ============================================ */

/* Page hero - kept deliberately short so the roster below shares the fold */
.models-hero {
  padding: 28px 0 20px;
}

.models-hero .section-tag {
  margin-bottom: 0.625rem;
}

.models-hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
}

.models-hero-sub {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 34rem;
}

/* Roster */
.model-roster {
  padding: 0 0 32px;
}

.roster-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -24px;
  padding: 0 24px 4px;
  scrollbar-width: none;
}

.roster-grid::-webkit-scrollbar {
  display: none;
}

.roster-swipe-hint {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-light);
  margin-top: 10px;
}

.model-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px -20px rgba(28, 25, 23, 0.18);
  border: 1px solid var(--line);
  height: 216px;
  scroll-snap-align: start;
  flex: 0 0 87%;
  min-width: 87%;
}

.model-card-photo {
  position: relative;
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
}

.model-card-photo .mosaic-frame {
  inset: -4%;
}

.model-card-active-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255, 254, 253, 0.9);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
}

.model-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 18px 18px 18px 16px;
  min-width: 0;
}

.model-card-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.model-card-name span {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-top: 2px;
}

.model-card-specialty {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.model-card-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.model-card-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.model-card-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Portfolio */
.portfolio-section {
  background: var(--bg-alt);
  padding: 64px 0 72px;
  border-top: 1px solid var(--line);
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.portfolio-headline-group .section-headline {
  margin-bottom: 0.5rem;
}

.portfolio-tabs {
  display: flex;
  gap: 0.625rem;
}

.portfolio-tab {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 10px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.portfolio-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.portfolio-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.portfolio-grid.active {
  display: grid;
}

.portfolio-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px -16px rgba(28, 25, 23, 0.3);
}

.portfolio-tile .mosaic-frame {
  inset: -4%;
  animation: mosaicDrift 18s ease-in-out infinite;
}

.portfolio-tile-label {
  position: absolute;
  left: 9px;
  bottom: 9px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(255, 254, 253, 0.85);
  padding: 4px 9px;
  border-radius: 100px;
}

.portfolio-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.portfolio-cta-text {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.portfolio-cta-text strong {
  color: var(--ink);
}

/* ============================================
   Mobile sticky CTA - below 768px only
   ============================================ */
@media (max-width: 767px) {
  .nav {
    position: sticky;
    top: 0;
    z-index: 150;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
    padding-top: env(safe-area-inset-top, 0px);
  }

  .nav-inner {
    padding: 12px 16px;
    min-height: 56px;
  }

  .nav-logo {
    display: inline-block;
    position: relative;
    z-index: 1;
  }

  .nav-logo-img {
    height: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px -16px rgba(28, 25, 23, 0.2);
    padding: 4px 20px 12px;
  }

  .nav-links.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    color: var(--ink);
  }

  .nav-links.mobile-open a:last-child {
    border-bottom: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hide nav CTA on mobile, it lives in the sticky bottom bar */
  .nav-cta {
    display: none !important;
  }

  main {
    padding-bottom: 92px;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 140;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    box-sizing: border-box;
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .sticky-cta.at-cta {
    transform: translateY(100%);
  }

  .sticky-cta .btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .footer {
    padding-bottom: calc(40px + 92px);
  }

  /* Hero: base rule centers content in a 100vh box, which was tuned for
     a fixed/overlaying desktop nav. On mobile the nav is sticky (already
     takes up real space above), so that same centering + 140px top padding
     just pushes the headline down and leaves dead space above it. Let the
     hero sit close to the nav instead of centering in the full viewport. */
  .hero {
    min-height: 0;
    padding: 28px 0 56px;
    align-items: flex-start;
  }
}

/* ============================================
   Tablet - 768px+
   ============================================ */
@media (min-width: 768px) {

  .container {
    padding: 0 48px;
  }

  .nav-inner {
    padding: 22px 48px;
  }

  /* Show nav links after hero scroll on desktop */
  .nav.past-hero .nav-links {
    display: flex;
  }

  /* Pages without a hero (e.g. Our Models) show nav links immediately */
  .nav-static .nav-links {
    display: flex;
  }

  /* Typography */
  .section-headline {
    font-size: 2.5rem;
  }

  .section-header {
    margin-bottom: 3.5rem;
  }

  /* One section per fold on desktop */
  .hero,
  .before-after,
  .how-it-works,
  .what-you-get,
  .why-it-matters,
  .transparency,
  .cta {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 60px;
  }

  /* Hero - centered composition, contained within one fold */
  .hero {
    padding: 100px 0 60px;
    justify-content: center;
  }

  .hero .container {
    width: 100%;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1040px;
    margin: 0 auto;
  }

  .hero-text {
    flex: 1.2;
    max-width: 540px;
  }

  .hero-visual {
    flex: 1;
    justify-content: center;
  }

  .hero-headline {
    font-size: 3.25rem;
  }

  .hero-sub {
    font-size: 1.125rem;
  }

  .hero-mosaic {
    max-width: 420px;
  }

  /* Before / After — keep the slider's own aspect ratio matched to the
     4:5 source photos so object-fit:cover never has to crop them */
  .ba-slider {
    max-width: 340px;
    margin: 0 auto;
  }

  /* How it works */
  .steps-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .step {
    flex: 1;
    padding-right: 1.5rem;
    border-right: 1px solid var(--line);
  }

  .step:last-child {
    border-right: none;
  }

  /* What you get - compact layout to fit one fold */
  .what-you-get .container {
    max-width: 760px;
  }

  .assets-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .placeholder-asset {
    aspect-ratio: 1 / 1;
  }

  .asset-video {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .asset-video .placeholder-asset-video {
    flex: 2;
    aspect-ratio: 16 / 6;
    max-height: 140px;
  }

  .asset-video-info {
    flex: 1;
  }

  /* Why it matters */
  .outcomes-grid {
    flex-direction: row;
    gap: 1.5rem;
  }

  .outcome-card {
    flex: 1;
    padding: 32px 28px;
  }

  /* Transparency */
  .transparency-text {
    font-size: 1.5rem;
  }

  .transparency-text:last-of-type {
    font-size: 1.25rem;
  }

  /* CTA form */
  .cta-form {
    padding: 36px 32px;
    gap: 1.25rem;
  }

  .form-row {
    flex-direction: row;
    gap: 1.5rem;
  }

  .form-field {
    flex: 1;
  }

  .form-success {
    padding: 64px 36px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  /* Our Models page - hero + roster stay compact so both cards share the fold */
  .models-hero {
    padding: 108px 0 28px;
  }

  .models-hero-headline {
    font-size: 2.75rem;
  }

  .models-hero-sub {
    font-size: 1rem;
  }

  .roster-grid {
    flex-direction: row;
    overflow-x: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
  }

  .model-card {
    flex: 1;
    min-width: 0;
    height: 232px;
  }

  .roster-swipe-hint {
    display: none;
  }

  .portfolio-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Desktop - 1024px+
   ============================================ */
@media (min-width: 1024px) {

  .section-headline {
    font-size: 3rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Hero - larger screens, more breathing room but still one fold */
  .hero-grid {
    gap: 5rem;
    max-width: 1100px;
  }

  .hero-text {
    max-width: 600px;
  }

  .hero-headline {
    font-size: 4rem;
  }

  .hero-sub {
    font-size: 1.25rem;
  }

  .hero-mosaic {
    max-width: 460px;
  }

  /* Before / After */
  .ba-slider {
    max-width: 380px;
  }

  /* How it works */
  .step-num {
    font-size: 3rem;
  }

  .step-title {
    font-size: 1.625rem;
  }

  .step-desc {
    font-size: 1.0625rem;
  }

  /* What you get */
  .what-you-get .container {
    max-width: 820px;
  }

  .placeholder-asset {
    aspect-ratio: 4 / 5;
  }

  .asset-video .placeholder-asset-video {
    aspect-ratio: 16 / 7;
    max-height: 180px;
  }

  /* Why it matters */
  .outcome-title {
    font-size: 1.375rem;
  }

  .outcome-desc {
    font-size: 1rem;
  }

  /* Transparency */
  .transparency-text {
    font-size: 1.75rem;
  }

  .transparency-note {
    font-size: 1.125rem;
  }

  /* CTA form */
  .cta-form {
    padding: 40px 44px;
  }

  .form-success {
    padding: 80px 44px;
  }

  .form-success-title {
    font-size: 2.25rem;
  }
}

/* ============================================
   Large desktop - 1280px+
   ============================================ */
@media (min-width: 1280px) {

  .hero-headline {
    font-size: 4.5rem;
  }

  .hero-grid {
    max-width: 1200px;
  }

  .section-headline {
    font-size: 3.25rem;
  }
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-mosaic,
  .mosaic-frame,
  .mosaic-layer-1,
  .mosaic-layer-2,
  .ba-handle-circle,
  .scroll-hint-line {
    animation: none !important;
  }

  .mosaic-layer-2 {
    opacity: 0 !important;
  }
}

/* ============================================
   Small screens - below 380px
   ============================================ */
@media (max-width: 379px) {

  .hero-headline {
    font-size: 2.25rem;
  }

  .section-headline {
    font-size: 1.75rem;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .nav-logo {
    font-size: 1.0625rem;
  }

  .assets-grid {
    gap: 10px;
  }

  .ba-handle-circle {
    width: 36px;
    height: 36px;
  }
}
