/* =========================================================
   Five Love Stories — Design System
   Cormorant Garamond (Headlines) + DM Sans (Fließtext/UI)
   Creme / Anthrazit / Warmgold

   Schriften werden lokal aus /fonts eingebunden (kein Google-
   Fonts-CDN) — vermeidet die Übertragung von Besucher-IPs an
   Google und das damit verbundene rechtliche Risiko (LG München I).
   ========================================================= */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/dm-sans-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

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

:root {
  --charcoal: #1a1a1a;
  --footer-bg: #1a1a1a;
  --warm-gold: #C9A84C;
  --warm-gold-light: #b8923a;
  --cream: #faf7f2;
  --cream-mid: #f0ebe0;
  --text-main: #1a1a1a;
  --text-muted: #6b6560;
  --border-light: rgba(26, 26, 26, 0.1);
  --max-width: 1280px;
}

html { scroll-behavior: smooth; }

html, body {
  background: var(--cream);
  color: var(--text-main);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

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

a { color: inherit; }

ul { list-style: none; }

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 8vw;
}

.section {
  padding: 7rem 8vw;
}

.section-tight { padding: 4.5rem 8vw; }

@media (max-width: 900px) {
  .section { padding: 4.5rem 6vw; }
  .section-tight { padding: 3rem 6vw; }
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.75rem;
}

.eyebrow-line {
  width: 36px;
  height: 0.5px;
  background: var(--warm-gold);
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-gold);
  font-weight: 400;
}

.eyebrow--center { justify-content: center; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--text-main);
  line-height: 1.15;
}

h2.section-title {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  margin-bottom: 1.5rem;
}

em, .accent {
  font-style: italic;
  color: var(--warm-gold-light);
}

.divider {
  width: 40px;
  height: 0.5px;
  background: var(--warm-gold);
  margin: 0 0 2rem;
}

.divider--center { margin-left: auto; margin-right: auto; }

.lede {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: 480px;
}

.body-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.body-text + .body-text { margin-top: 1.2rem; }

/* ---------- Reveal animation ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal { opacity: 0; animation: fadeUp 1s ease forwards; }
.reveal-fade { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }
.d6 { animation-delay: 0.85s; }

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border: 0.5px solid var(--warm-gold);
  color: #fff;
  background: var(--warm-gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover { background: transparent; color: var(--warm-gold); }

.btn-outline {
  display: inline-block;
  padding: 13.5px 36px;
  border: 0.5px solid var(--charcoal);
  color: var(--text-main);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover { background: var(--charcoal); color: #fff; }

.btn-ghost {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-ghost:hover { color: var(--text-main); }

.btn-ghost-arrow {
  width: 28px;
  height: 0.5px;
  background: currentColor;
  position: relative;
  transition: width 0.3s ease;
  flex-shrink: 0;
}

.btn-ghost:hover .btn-ghost-arrow { width: 40px; }

.btn-ghost-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 0.5px solid currentColor;
  border-top: 0.5px solid currentColor;
  transform: rotate(45deg);
}

.whatsapp-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-icon svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-icon:hover { transform: translateY(-2px); }

/* Outline, not a solid brand-green block — recognisable via the icon
   without shouting louder than the rest of the page. */
.btn-whatsapp {
  background: transparent;
  color: var(--text-main);
  border: 0.5px solid var(--border-light);
  box-shadow: none;
}

.btn-whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.06);
}

/* ---------- Hero (Home) ---------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh 6vw 10vh 8vw;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--cream-mid);
}

.hero-right-inner { width: 100%; height: 100%; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

.hero-right::before {
  content: '';
  position: absolute;
  left: -60px;
  top: 0;
  bottom: 0;
  width: 120px;
  background: var(--cream);
  transform: skewX(-3deg);
  z-index: 3;
}

.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 2.5rem; }

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.hero-headline em { font-style: italic; color: var(--warm-gold-light); }

.hero-divider {
  width: 40px;
  height: 0.5px;
  background: var(--warm-gold);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 360px;
  margin-bottom: 3.5rem;
}

.hero-actions { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 15vh 6vw 4rem; order: 2; }
  /* The mobile nav bar is a solid, fixed 90px-ish bar now (see .site-nav
     above) and — unlike the transparent desktop version — would
     otherwise sit directly on top of and crop the video. Push the video
     block down by the bar's height so the whole frame stays visible. */
  .hero-right { min-height: 45vh; order: 1; margin-top: 90px; }
  .hero-right::before { display: none; }
}

/* ---------- Site nav ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.25rem 8vw;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.1s forwards;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0);
  transition: background 0.45s ease, box-shadow 0.45s ease,
              padding 0.35s ease, border-color 0.45s ease;
}

/* Solid, compact bar once the page has been scrolled — the "reveal" state */
.site-nav.is-scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--border-light);
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.06);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-nav--static {
  background: var(--cream);
  border-bottom-color: var(--border-light);
  opacity: 1;
  animation: none;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 0.5px solid transparent;
}


.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-main);
  border-bottom-color: var(--warm-gold);
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--warm-gold);
  color: #fff !important;
  border: 0.5px solid var(--warm-gold) !important;
  padding: 12px 30px !important;
  font-weight: 500;
  border-bottom: none !important;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--warm-gold-light);
  border-color: var(--warm-gold-light) !important;
}

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

.nav-toggle span {
  width: 22px;
  height: 0.5px;
  background: var(--text-main);
  display: block;
  transition: transform 0.3s ease;
}

/* Open state: the two lines slide together and rotate into an X.
   2.75px = half the distance between the lines' centers (5px gap +
   0.5px line height), so they meet exactly in the middle. */
.nav-toggle.is-open span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  /* Always a solid bar on mobile, never transparent-over-hero — on a
     phone there's no room for the logo/toggle to float legibly over
     changing video content, so it stays constantly visible instead. */
  .site-nav {
    padding: 1.6rem 6vw;
    background: var(--cream);
    /* No backdrop-filter here on purpose: it creates a new containing
       block for position:fixed descendants, and .nav-links (the
       full-screen mobile menu) is a child of .site-nav — with blur on,
       the "fixed, inset:0" menu was resolving against this small bar's
       own box instead of the viewport, so it opened stuck in a sliver
       at the top instead of covering the screen. Solid opaque cream
       gets the same "always legible" result without that trap. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--border-light);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.06);
  }

  .site-nav.is-scrolled {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    /* Overrides the global .site-nav.is-scrolled backdrop-filter below
       901px, for the same containing-block reason as above. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0s linear 0.4s;
    z-index: 35;
  }

  /* Belt-and-braces for iOS Safari: its address bar hiding on scroll
     briefly changes the viewport height, which can throw off the
     translateY(-100%) math and leave a sliver of the closed menu
     visible. visibility: hidden guarantees it's actually gone even if
     that transform glitches, regardless of the cause. */
  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s ease, visibility 0s linear 0s;
  }

  .nav-links a { font-size: 16px; }

  .nav-cta { padding: 13px 32px !important; margin-left: 0; }
}

/* Home page hero, desktop only: the links sit on a dark glass panel
   while the nav is unscrolled and over the video. Its left/right edges
   are cut on the diagonal via clip-path — the same lean as the video's
   own cut, echoed at nav scale — instead of a rounded pill or a plain
   rectangle. Solid cream takes over automatically once .is-scrolled
   kicks in. Scoped to min-width so it never touches the mobile
   full-screen menu. */
@media (min-width: 901px) {
  .hero .site-nav:not(.is-scrolled) .nav-links {
    background: rgba(20, 17, 14, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.55rem 1.75rem;
    clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
  }

  .hero .site-nav:not(.is-scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.92);
  }

  .hero .site-nav:not(.is-scrolled) .nav-links a:hover,
  .hero .site-nav:not(.is-scrolled) .nav-links a[aria-current="page"] {
    color: #fff;
    border-bottom-color: var(--warm-gold);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: rgba(250, 247, 242, 0.7);
  padding: 3rem 8vw 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: start;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 0.5px solid rgba(250, 247, 242, 0.12);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-claim {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(250, 247, 242, 0.5);
}

.footer-heading {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links li { margin-bottom: 0; }

.footer-links a {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(250, 247, 242, 0.7);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footer-links a:hover { color: #fff; }

.footer-links svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 242, 0.4);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom a { text-decoration: none; color: inherit; }
.footer-bottom a:hover { color: #fff; }

.footer-legal { display: flex; gap: 1.5rem; }

/* ---------- Page header (subpages) ---------- */

.page-header {
  position: relative;
  padding: 13rem 8vw 5rem;
  background: var(--cream-mid);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.page-header .lede { margin: 0 auto; text-align: center; }

/* ---------- Placeholder media block ---------- */

.media-placeholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ede8df 0%, #d9d0c0 50%, #cfc6b4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.media-placeholder-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(107, 101, 96, 0.45);
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Feature grid (2x2 — used on Leistungen/Ablauf) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

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

.feature-card {
  border-top: 0.5px solid var(--warm-gold);
  padding-top: 1.5rem;
}

.feature-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--warm-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.feature-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Value list (editorial rhythm, Über mich) ---------- */

.value-list {
  max-width: 840px;
  margin: 3.5rem auto 0;
}

.value-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2.5rem;
  align-items: baseline;
  padding: 2.75rem 0;
  border-top: 0.5px solid var(--border-light);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.value-item:last-child {
  border-bottom: 0.5px solid var(--border-light);
}

.value-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger between items so they don't all fade in as one block */
.value-item:nth-child(2) { transition-delay: 0.08s; }
.value-item:nth-child(3) { transition-delay: 0.16s; }
.value-item:nth-child(4) { transition-delay: 0.24s; }

/* Alternating indent breaks the grid symmetry that read as a slide
   template — a quiet zig-zag instead of four identical boxes. */
.value-item--offset {
  margin-left: 2.5rem;
}

@media (max-width: 700px) {
  .value-item--offset { margin-left: 0; }
}

.value-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--warm-gold);
}

.value-copy h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.value-copy p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 480px;
}

@media (max-width: 700px) {
  .value-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .value-number { font-size: 2.25rem; }
}

/* ---------- Split layout (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
}

.split--reverse .split-media { order: 2; }
.split--reverse .split-text { order: 1; }

@media (max-width: 900px) {
  .split--reverse .split-media,
  .split--reverse .split-text { order: initial; }
}

.split-media {
  position: relative;
  overflow: hidden;
}

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

/* Same diagonal cut as the hero video, mirrored onto the edge facing
   the text — the cream "cuts into" the photo at an angle. */
.split-media::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 80px;
  background: var(--cream);
  transform: skewX(3deg);
  z-index: 2;
}

.split--reverse .split-media::after {
  right: auto;
  left: -40px;
  transform: skewX(-3deg);
}

@media (max-width: 900px) {
  .split-media::after { display: none; }
}

/* ---------- About photo (Über mich) ---------- */

.about-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 8vw;
}

.about-photo-media {
  position: relative;
  overflow: hidden;
  /* The full, uncropped photo exactly as shot — the box matches its
     native proportions, so object-fit never has to cut anything off. */
  aspect-ratio: 1707 / 2560;
}

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

/* Same diagonal cut as the hero video on the home page, echoed here. */
.about-photo-media::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 0;
  bottom: 0;
  width: 56px;
  background: var(--cream);
  transform: skewX(3deg);
  z-index: 2;
}

.about-photo-text .lede,
.about-photo-text .body-text { max-width: 480px; }

@media (max-width: 900px) {
  .about-photo { grid-template-columns: 1fr; gap: 2.25rem; padding: 3.5rem 6vw; }
  .about-photo-media::after { display: none; }
}

/* ---------- Portfolio grid ---------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.portfolio-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #ede8df 0%, #d9d0c0 50%, #cfc6b4 100%);
  cursor: default;
}

.portfolio-tile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* A tile with real footage swaps the pointer for a play cursor — a
   small visual promise that hovering (and clicking, once these link
   out) starts a film rather than just highlighting a placeholder. */
.portfolio-tile--video {
  cursor: pointer;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='19' fill='white' fill-opacity='0.92'/%3E%3Cpath d='M16 12.5l14 7.5-14 7.5z' fill='%231a1a1a'/%3E%3C/svg%3E") 20 20, pointer;
}

.portfolio-tile--video:focus-visible {
  outline: 2px solid var(--warm-gold);
  outline-offset: -2px;
}

/* "Play", flanked by the same thin lines used for the eyebrow labels
   elsewhere — only appears on hover/focus, so the thumbnail reads as a
   photo until you reach for it. */
.portfolio-play-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-play-line {
  width: 26px;
  height: 0.5px;
  background: currentColor;
}

.portfolio-tile--video:hover .portfolio-play-word,
.portfolio-tile--video:focus-visible .portfolio-play-word {
  opacity: 1;
}

/* Hover hint: the grid crops to 4:5, but the film itself is 16:9 —
   this tells you the lightbox shows the full, uncropped frame. */
.portfolio-play-hint {
  position: absolute;
  top: calc(50% + 34px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
  pointer-events: none;
}

.portfolio-tile--video:hover .portfolio-play-hint,
.portfolio-tile--video:focus-visible .portfolio-play-hint {
  opacity: 1;
}

/* ---------- Video lightbox (true 16:9 playback) ---------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw;
  background: rgba(15, 13, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* No fixed aspect-ratio — landscape (16:9) and portrait (9:16) films
   both need to show full-frame, so the box sizes itself to whichever
   the video actually is instead of forcing one shape on both. */
.video-lightbox-frame {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  line-height: 0;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.video-lightbox-frame video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
}

.video-lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

.video-lightbox-close svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .video-lightbox { padding: 22vh 6vw; }
  .video-lightbox-close { top: 1.25rem; right: 1.25rem; }
}

.portfolio-tile-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(107, 101, 96, 0.45);
  text-align: center;
  white-space: nowrap;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  transition: background 0.35s ease;
}

.portfolio-tile:hover .portfolio-overlay { background: rgba(26, 26, 26, 0.45); }

.portfolio-overlay-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-tile:hover .portfolio-overlay-content { opacity: 1; transform: translateY(0); }

.portfolio-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.portfolio-overlay-meta {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Pricing cards ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

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

.pricing-card {
  background: #fff;
  border: 0.5px solid var(--border-light);
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--warm-gold);
  box-shadow: 0 20px 45px rgba(201, 168, 76, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warm-gold);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gold-light);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.6rem;
}

.pricing-price sup {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

.pricing-meta {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 0.5px solid var(--border-light);
}

.pricing-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  flex-grow: 1;
}

.pricing-card .btn-outline,
.pricing-card .btn-primary { text-align: center; }

/* ---------- Stat strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  border-top: 0.5px solid var(--border-light);
  border-bottom: 0.5px solid var(--border-light);
  padding: 3rem 0;
}

@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; gap: 2.5rem; }
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--warm-gold-light);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-card {
  background: var(--cream-mid);
  color: var(--text-main);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
}

.contact-card h3 {
  color: var(--text-main);
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.contact-card .body-text { color: var(--text-muted); margin-bottom: 2rem; }

.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  padding: 0.9rem 0;
  border-bottom: 0.5px solid var(--border-light);
  transition: color 0.2s;
}

.contact-method:hover { color: var(--warm-gold-light); }

.contact-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg { width: 17px; height: 17px; }

.contact-method-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.contact-method-value { font-size: 14px; font-weight: 300; }

/* ---------- Form ---------- */

.form-group { margin-bottom: 1.8rem; }

/* Honeypot: off-screen for people, still present in the DOM for bots
   that auto-fill every field. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.form-label .req { color: var(--warm-gold-light); }

.form-input,
.form-textarea {
  width: 100%;
  border: 0.5px solid var(--border-light);
  background: #fff;
  padding: 0.9rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--warm-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-option { position: relative; }

.form-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}

.form-option label {
  display: inline-block;
  padding: 11px 24px;
  border: 0.5px solid var(--border-light);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.form-option input:checked + label {
  border-color: var(--warm-gold);
  color: var(--warm-gold-light);
  background: rgba(201, 168, 76, 0.08);
}

.form-option input:focus-visible + label {
  outline: 2px solid var(--warm-gold);
  outline-offset: 2px;
}

.form-note {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: -1rem;
  margin-bottom: 1.8rem;
}

.form-submit { margin-top: 0.5rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--cream-mid);
  color: var(--text-main);
  text-align: center;
  padding: 6rem 8vw;
  border-top: 1px solid var(--border-light);
}

.cta-band h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.cta-band .lede { color: var(--text-muted); margin: 0 auto 2.5rem; text-align: center; }

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band .btn-ghost { color: var(--text-muted); }
.cta-band .btn-ghost:hover { color: var(--text-main); }
