/* ── VARIABLES ──────────────────────────────────────── */
:root {
  --cream:       #f0e7d7;
  --cream-light: #faf6ef;
  --taupe:       #b8a79a;
  --taupe-dark:  #9a8a7e;
  --brown:       #584d46;
  --brown-dark:  #3a3330;
  --white:       #ffffff;
  --text:        #544d4b;
  --text-light:  #7a6f6a;
}

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

html {
  scroll-behavior: smooth;
}

/* Offset every section anchor by exactly the navbar height so the top edge
   lands flush with the bottom of the fixed bar — no overlap, no sliver. */
section[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--brown);
  border-bottom: 1px solid rgba(240, 231, 215, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* brand | center-links | cta */
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3.25rem);
  height: 84px;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(58, 51, 48, 0.3);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  justify-self: start;
  align-self: center;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  justify-content: center;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Active section indicator — full opacity + underline, no bold shift */
.nav-links a.active {
  opacity: 1;
}

.nav-links a.active::after {
  width: 100%;
}

/* "Let's Talk" CTA now lives inline inside the nav list, next to Portfolio.
   Keeps the pill shape but shrinks the padding so it balances visually with
   the surrounding uppercase nav links. */
.nav-cta-item { display: list-item; }

.nav-cta {
  color: var(--cream);
  text-decoration: none;
  border: 1.5px solid rgba(240, 231, 215, 0.5);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}

/* Cancel the hover underline the .nav-links a rule adds to everything. */
.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: rgba(240, 231, 215, 0.12);
  border-color: rgba(240, 231, 215, 0.8);
  opacity: 1;
}

/* ── LANGUAGE SWITCHER ─────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  justify-self: end;
  border: 1px solid rgba(240, 231, 215, 0.25);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 100px;
  opacity: 0.55;
  transition: opacity 0.2s, background 0.2s;
}

.lang-btn:hover { opacity: 0.9; }

.lang-btn.active {
  opacity: 1;
  background: rgba(240, 231, 215, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── SHARED BUTTON ──────────────────────────────────── */
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--brown);
  color: var(--brown);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: background 0.25s, color 0.25s;
  font-weight: 400;
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--cream);
}

/* ── CONTAINER ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.25rem);
}

/* ── HERO ───────────────────────────────────────────── */
/* Target: ~75 % of the viewport height.
   max() floor at 550 px so the layout never collapses on small mobile
   screens where 75vh could be as little as 420 px.                  */
.section-hero {
  background: var(--cream);
  min-height: max(75vh, 550px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  /* vh-based gap scales down with the shorter section */
  gap: clamp(1rem, 3vh, 2.5rem);
  /* top = navbar (84px) + comfortable breathing room (1 rem ≈ 16px)
     bottom scales proportionally with viewport height              */
  padding: calc(84px + 1rem) clamp(1.25rem, 6vw, 5rem) clamp(1.5rem, 3vh, 2.5rem);
  position: relative;
}

.hero-portrait {
  width: 100%;
  max-width: 360px;
  /* Portrait is capped at 40 vh — proportional to the 75 vh section.
     At 800 px → 320 px; at 1080 px → 380 px (hard cap).
     Keeps the image from dominating the hero.                      */
  max-height: clamp(220px, 40vh, 380px);
  aspect-ratio: 1;
  background: linear-gradient(145deg, #c98a5e 0%, #b87444 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  overflow: hidden;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-portrait-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}


.hero-name {
  font-family: 'Playfair Display', serif;
  /* Slightly smaller range to suit the more compact 60 vh hero */
  font-size: clamp(56px, 7vw, 90px);
  font-weight: 600;
  line-height: 0.95;
  color: var(--brown-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-subtitle .amp {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.hero-email {
  display: inline-block;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-email:hover {
  color: var(--brown);
}

.hero-socials {
  position: absolute;
  /* Scales with viewport height: at 800 px → 24 px, 1080 px → 32 px */
  bottom: clamp(1rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-socials a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-socials a:hover {
  color: var(--brown);
}

.hero-socials span {
  color: var(--taupe);
  font-size: 0.8rem;
}

/* ── ABOUT ──────────────────────────────────────────── */
.section-about {
  background: var(--cream-light);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

/* Phone hidden: single-column so text spans the full container width.
   Restore to `1.8fr 1fr` when the About phone is uncommented in HTML. */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 40px;
}

.about-photo-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  font-weight: 500;
}

/* Constrain reading width when phone is hidden and text spans full container.
   Remove max-width when restoring the two-column layout. */
.about-right {
  max-width: 780px;
  margin-inline: auto;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 32px;
  line-height: 1.08;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 300;
}

.about-text p strong {
  font-weight: 600;
  color: var(--brown);
}

.about-brands {
  padding-top: 12px;
}

.brands-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
  font-weight: 500;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.brand-tile {
  background: var(--cream);
  border: 1px solid var(--taupe);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brown);
  text-transform: uppercase;
  transition: background 0.2s;
}

.brand-tile:hover {
  background: var(--taupe);
  color: var(--cream);
}

/* ── WHY UGC ─────────────────────────────────────────── */
.section-why {
  background: var(--brown);
  padding: 100px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.15;
}

.why-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(240, 231, 215, 0.72);
  font-weight: 300;
}

.why-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(240, 231, 215, 0.2);
}

.why-stat {
  padding: 28px 40px;
  border-bottom: 1px solid rgba(240, 231, 215, 0.12);
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.why-stat:last-child {
  border-bottom: none;
}

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  color: var(--cream);
  flex-shrink: 0;
  line-height: 1;
}

.why-desc {
  font-size: 0.82rem;
  color: rgba(240, 231, 215, 0.65);
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 300;
}

/* ── SERVICES ───────────────────────────────────────── */
.section-services {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-services h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 60px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--brown);
  border-radius: 16px;
  padding: 48px 36px;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--brown-dark);
  transform: translateY(-4px);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
}

/* ── INVESTMENT ─────────────────────────────────────── */
.section-investment {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  box-sizing: border-box;
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-investment h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 16px;
  text-align: center;
}

.investment-sub {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
}

/* 3-column pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Room above the grid so the badge can straddle the top edge of Core */
  padding-top: 1rem;
}

/* Each column is position:relative so the ::after divider is contained */
.pricing-col {
  position: relative;
  text-align: center;
}

/* Vertical divider: 70% tall, centered vertically, between col 1–2 and 2–3 */
.pricing-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--taupe);
  opacity: 0.5;
}

/* Identical padding on every card — this is what keeps all three
   titles, feature lists, and CTAs on the same horizontal axes.     */
.pricing-inner {
  padding: 1.75rem clamp(1.5rem, 4vw, 3rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

/* ── Featured (Core) column highlight ── */
/* Only visual differences from the base: background + radius.
   NO extra padding here — uniform padding comes from .pricing-inner. */
.pricing-col--featured {
  background: var(--cream-light);
  border-radius: 16px;
}

/* Remove the divider line that sits between featured and its neighbours
   (the bg card already creates the visual separation) */
.pricing-col--featured::after { display: none; }
.pricing-col:has(+ .pricing-col--featured)::after { display: none; }

/* Badge straddles the top edge of the Core card.
   transform: translate(-50%, -50%) means:
     - X: centred horizontally on the card
     - Y: lifted so the pill sits half above / half below the card's top edge
   It is position:absolute so it takes zero space inside the flex flow —
   the "Core" title stays perfectly aligned with Starter and Brand Pack. */
.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid var(--taupe);
  border-radius: 100px;
  padding: 5px 14px;
}

.pricing-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--brown-dark);
  display: block;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--brown);
  display: block;
  margin-bottom: 20px;
  line-height: 1.1;
}

.pricing-price em {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  width: 100%;
  margin-bottom: 16px;
}

.pricing-features li {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  padding: 7px 0;
  border-bottom: 1px solid rgba(184, 167, 154, 0.3);
}

.pricing-features li:first-child {
  border-top: 1px solid rgba(184, 167, 154, 0.3);
}

.pricing-target {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1; /* pushes CTA to the bottom */
}

/* Ghost/outline CTA — Starter & Brand Pack */
.pricing-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown);
  background: transparent;
  border: 1.5px solid rgba(88, 77, 70, 0.45);
  border-radius: 100px;
  padding: 12px 32px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-top: auto;
}

.pricing-cta:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

/* Solid primary CTA — Core (featured) only */
.pricing-col--featured .pricing-cta {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.pricing-col--featured .pricing-cta:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
}

/* ── STATS ──────────────────────────────────────────── */
.section-stats {
  background: var(--brown-dark);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 24px;
  border-right: 1px solid rgba(240, 231, 215, 0.1);
  text-align: center;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 14px;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 400;
}

/* ── PORTFOLIO ──────────────────────────────────────── */
.section-portfolio {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-portfolio h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: clamp(4rem, 6vw, 6rem);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 64px;
  font-style: italic;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ── PORTFOLIO PHONE MOCKUP (Uiverse.io by Rodrypaladin, adapted) ── */
.portfolio-phone {
  width: 210px;
  height: 400px;
  background: black;
  border-radius: 35px;
  border: 2px solid rgb(40, 40, 40);
  padding: 7px;
  position: relative;
  margin: 0 6px;
  box-shadow: 0 12px 40px rgba(58, 51, 48, 0.30), 0 4px 12px rgba(58, 51, 48, 0.15);
}

/* Notch bar centered at the top */
.portfolio-phone .top {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, 0%);
  width: 35%;
  height: 18px;
  background-color: black;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 10;
}

/* Speaker slit inside the notch */
.portfolio-phone .speaker {
  position: absolute;
  top: 2px;
  right: 50%;
  transform: translate(50%, 0%);
  width: 40%;
  height: 2px;
  border-radius: 2px;
  background-color: rgb(20, 20, 20);
  z-index: 11;
}

/* Front camera dot */
.portfolio-phone .camera {
  position: absolute;
  top: 6px;
  right: 84%;
  transform: translate(50%, 0%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.048);
  z-index: 11;
}

/* Camera lens reflection dot */
.portfolio-phone .int {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  background-color: rgba(0, 0, 255, 0.212);
}

/* Right side button (power) */
.portfolio-phone .btn1 {
  position: absolute;
  width: 2px;
  height: 45px;
  top: 30%;
  right: -4px;
  background-image: linear-gradient(to right, #111, #222, #333, #464646, #595959);
}

/* Left side buttons (silent switch + volume) */
.portfolio-phone .btn2,
.portfolio-phone .btn3 {
  position: absolute;
  width: 2px;
  left: -4px;
  background-image: linear-gradient(to left, #111, #222, #333, #464646, #595959);
}

.portfolio-phone .btn2 {
  height: 30px;
  top: 26%;
}

.portfolio-phone .btn3 {
  height: 30px;
  top: 36%;
}

/* Screen — solid black when holding a video */
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--taupe) 0%, var(--taupe-dark) 100%);
  border-radius: 25px;
  opacity: 0.35;
  overflow: hidden;
  position: relative;
}

.phone-screen:has(video),
.phone-screen:has(media-player) {
  opacity: 1;
  background: #000;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.phone-screen media-player {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Force cover fit on Vidstack's internal video element */
.phone-screen media-player video {
  object-fit: cover;
}

/* Poster is natively visible while paused (browser renders it on the video canvas).
   Once Vidstack has started playback at least once it adds [data-started] to the
   player element. At that point, enable a CSS opacity transition so the jump from
   poster → first video frame is a smooth 0.4 s dissolve rather than a hard cut. */
.phone-screen media-player[data-started] video {
  transition: opacity 0.4s ease;
}

/* Decorative phone used in the About section (no video, no controls) */
.phone-mockup {
  width: 270px;
  height: 480px;
  background: var(--brown-dark);
  border-radius: 36px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(58, 51, 48, 0.22);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 6px;
  background: rgba(240, 231, 215, 0.25);
  border-radius: 3px;
  z-index: 2;
}


/* ── VIDSTACK NATIVE UI THEMING ──────────────────────── */
/* Scope all overrides to .portfolio-video so they never bleed out.
   --media-brand drives the progress-bar fill, slider thumbs, and the
   large centre play-button ring — we use the portfolio's warm brown.  */
.portfolio-video {
  --media-brand: #c98a5e;
  --media-font-family: 'Inter', sans-serif;
  /* Clip Vidstack's absolutely-positioned controls to the phone's
     rounded corners (phone-screen already has overflow:hidden, but
     this guarantees the native gradient scrim is also clipped).      */
  border-radius: 25px;
  overflow: hidden;
}

/* Transparent control-bar background — let our gradient scrim show
   through instead of Vidstack's default heavy dark bar.             */
.portfolio-video media-controls-group {
  background: transparent !important;
}

/* Soft gradient scrim: invisible at top, dark vignette at the bottom
   so the white icons stay readable on any video content.            */
.portfolio-video media-controls {
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.55) 100%
  ) !important;
}

.portfolio-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

/* ── PHOTOGRAPHY ────────────────────────────────────── */
.section-photography {
  background: var(--brown-dark);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-photography h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 60px;
  text-align: center;
}

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

.photo-tile {
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--taupe) 0%, var(--taupe-dark) 100%);
  border: 1px solid rgba(240, 231, 215, 0.15);
  overflow: hidden;
}

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

/* ── HOW IT WORKS ───────────────────────────────────── */
.section-how {
  background: var(--cream-light);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-how h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 64px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--taupe);
}

.step {
  padding: 52px 48px 52px 0;
  border-right: 1px solid var(--taupe);
  padding-left: 48px;
}

.step:first-child {
  padding-left: 0;
}

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

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--taupe);
  display: block;
  margin-bottom: 22px;
  font-weight: 400;
  line-height: 1;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--brown);
  margin-bottom: 14px;
  font-weight: 500;
}

.step p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-light);
  font-weight: 300;
}

/* ── CONTACT ────────────────────────────────────────── */
.section-contact {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
}

.section-contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-contact p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 44px;
  font-weight: 300;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 52px;
}

.contact-socials a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.contact-socials a:hover {
  color: var(--brown);
  border-bottom-color: var(--brown);
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--brown-dark);
  padding: 28px clamp(1.25rem, 4vw, 3.25rem);
  text-align: center;
}

.footer p {
  font-size: 0.7rem;
  color: rgba(240, 231, 215, 0.35);
  letter-spacing: 0.1em;
}

/* ── HERO — short-screen fix (laptops: 1280×800, 1440×900, etc.) ── */
/* Targets viewports that are wide enough to keep the two-column layout
   but short enough that the portrait + socials become cramped.
   At 800 px height: portrait → 38vh ≈ 304 px (was 420 px), giving the
   socials a comfortable 160 px+ buffer below the image. */
@media (max-height: 900px) and (min-width: 769px) {
  /* On short laptop screens the base 40 vh is already conservative,
     but clamp the portrait further so it never crowds the socials. */
  .hero-portrait {
    max-height: 34vh;
  }
}

/* ── PORTFOLIO PHONE — desktop upsize ──────────────── */
@media (min-width: 769px) {
  .portfolio-phone {
    width: 280px;
    height: 533px;
  }
}

/* ── RESPONSIVE — 1024px ────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid rgba(240, 231, 215, 0.1); }
  .stat:nth-child(4) { border-top: 1px solid rgba(240, 231, 215, 0.1); }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .why-stats {
    border-left: none;
    border-top: 1px solid rgba(240, 231, 215, 0.2);
  }
}

/* ── RESPONSIVE — 900px: trigger hamburger early ────── */
@media (max-width: 900px) {
  /* Collapse to: brand | lang-switcher | toggle. Nav links go into dropdown. */
  .navbar {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--brown);
    border-bottom: 1px solid rgba(240, 231, 215, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px clamp(1.25rem, 4vw, 3.25rem);
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  /* In the mobile dropdown, shrink the CTA pill slightly. */
  .nav-cta-item .nav-cta {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
}

/* ── RESPONSIVE — 768px ─────────────────────────────── */
@media (max-width: 768px) {
  /* Pricing: stacked cards always exceed one viewport — drop the vh constraint */
  .section-investment {
    min-height: auto;
  }

  /* Pricing: stack to single column */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pricing-col--featured {
    border-radius: 0;
  }

  /* Remove all vertical dividers on mobile — use horizontal padding instead */
  .pricing-col::after,
  .pricing-col:has(+ .pricing-col--featured)::after { display: none; }

  .pricing-col {
    border-bottom: 1px solid rgba(184, 167, 154, 0.3);
    padding: 48px 0;
  }

  .pricing-col:last-child { border-bottom: none; }

  .pricing-inner { padding: 0 clamp(1.25rem, 6vw, 2.5rem); }

  /* Shrink navbar height; dropdown follows */
  .navbar { height: 68px; }
  .nav-links { top: 68px; }

  section[id] { scroll-margin-top: 68px; }

  .section-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    /* top = 68px navbar + 1.5rem gap; bottom proportional */
    padding: calc(68px + 1.5rem) clamp(1.25rem, 5vw, 2rem) clamp(1.5rem, 3vh, 2.5rem);
    min-height: auto;
  }

  .hero-portrait {
    max-width: 220px;
    justify-self: center;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-name {
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-email {
    display: block;
    text-align: center;
  }

  /* Make socials flow naturally instead of absolute on mobile */
  .hero-socials {
    position: static;
    transform: none;
    left: auto;
    justify-content: center;
    margin-top: 8px;
    padding-bottom: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-placeholder {
    padding-right: 0;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: clamp(2rem, 5vw, 3.25rem) 16px;
  }


  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .step {
    border-right: none;
    border-top: 1px solid var(--taupe);
    padding: 40px 0;
  }

  .step:first-child { padding-left: 0; }
}

/* ── RESPONSIVE — 480px (iPhone) ───────────────────── */
@media (max-width: 480px) {
  .navbar { height: 60px; }
  .nav-links { top: 60px; }
  .nav-brand { font-size: 1.3rem; }
  section[id] { scroll-margin-top: 60px; }

  .section-hero {
    /* top = 60px navbar + 1rem gap */
    padding: calc(60px + 1rem) clamp(1.25rem, 5vw, 1.75rem) 1.5rem;
    gap: 20px;
  }

  .hero-portrait { max-width: 180px; }
  .hero-name { font-size: clamp(40px, 13vw, 48px); }
  .hero-subtitle { font-size: 1rem; }
  .hero-socials { font-size: 0.8rem; gap: 12px; }

  .about-text h2 { font-size: clamp(32px, 10vw, 38px); margin-bottom: 24px; }
  .about-text p { font-size: 1rem; }

  .section-services h2 { font-size: clamp(26px, 8vw, 30px); margin-bottom: 40px; }
  .service-card { padding: 36px 24px; }

  /* Stats — single column on iPhone */
  .stats-grid { grid-template-columns: 1fr; }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(240, 231, 215, 0.1);
  }

  .stat:nth-child(2) { border-top: none; }
  .stat:nth-child(3) { border-top: none; }
  .stat:nth-child(4) { border-top: none; }
  .stat:last-child { border-bottom: none; }

  /* Portfolio */
  .section-portfolio h2 { font-size: clamp(26px, 8vw, 30px); }


  .section-photography h2 { font-size: clamp(26px, 8vw, 30px); margin-bottom: 40px; }
  .photo-grid { gap: 10px; }

  .section-how h2 { font-size: clamp(26px, 8vw, 30px); margin-bottom: 48px; }
  .step { padding: 32px 0; }

  .section-contact h2 { font-size: clamp(28px, 8vw, 32px); }

  .contact-socials {
    gap: 20px;
    flex-wrap: wrap;
  }

  .btn-outline {
    font-size: 0.68rem;
    padding: 14px 24px;
    word-break: break-all;
  }
}

/* ── FADE-IN ANIMATION ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
