/* Fonts are loaded via <link> in each page head (preconnect + stylesheet)
   instead of @import here — avoids a render-blocking request chain. */

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

:root {
  --bg: #F5F3EE;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E0DDD7;
  --nav-height: 72px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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


/* ── NAV ─────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

nav.scrolled {
  border-color: var(--border);
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Enclosed menu mark — fine hairlines set inside a hairline ring,
   morphing into a slim cross within the circle when open */
.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--text);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.nav-hamburger:hover {
  background: rgba(26, 24, 22, 0.04);
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1),
              width 0.55s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.3s ease;
}

.nav-hamburger span:nth-child(1) { width: 18px; }
.nav-hamburger span:nth-child(2) { width: 11px; }
.nav-hamburger span:nth-child(3) { width: 18px; }

.nav-hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 16px; }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 16px; }

/* ── HERO ─────────────────────────────────────────────── */

.hero {
  padding-top: var(--nav-height);
  height: 100vh;
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 3px;
}

.hero-img {
  overflow: hidden;
  position: relative;
}

.hero-img img {
  transition: transform 0.8s ease;
}

.hero-img:hover img {
  transform: scale(1.02);
}

.hero-tagline {
  text-align: center;
  padding: 52px 40px 0;
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 18px);
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.75;
}


/* ── SECTION HEADERS ──────────────────────────────────── */

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
  text-align: center;
}

.page-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-subheading {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.8;
}


/* ── FEATURED GRID ────────────────────────────────────── */

.featured-section {
  padding: 80px 40px;
}

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

.masonry-grid .grid-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 5;
}

.masonry-grid .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-grid .grid-item:hover img {
  transform: scale(1.04);
}


/* ── TRUSTED BY ───────────────────────────────────────── */

.trusted-section {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo-placeholder .logo-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder .logo-mark svg {
  width: 20px;
  height: 20px;
  opacity: 0.3;
}

.logo-placeholder .logo-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ── INSTAGRAM STRIP ──────────────────────────────────── */

.insta-section {
  padding: 64px 40px;
  border-top: 1px solid var(--border);
}

.insta-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.insta-label a {
  color: var(--text);
}

.insta-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.insta-strip .insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.insta-strip .insta-item img {
  transition: transform 0.5s ease;
}

.insta-strip .insta-item:hover img {
  transform: scale(1.05);
}


/* ── FOOTER ───────────────────────────────────────────── */

footer {
  padding: 30px 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-copy { justify-self: start; }
.footer-social { justify-self: end; }

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--text);
}


/* ── PAGE HERO (inner pages) ──────────────────────────── */

.page-hero {
  padding: calc(var(--nav-height) + 72px) 40px 64px;
}


/* ── PORTFOLIO ────────────────────────────────────────── */

.filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.filter-tab {
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--sans);
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.portfolio-grid {
  columns: 3;
  column-gap: 5px;
  padding: 0 40px 80px;
}

.portfolio-grid .grid-item {
  break-inside: avoid;
  margin-bottom: 5px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.portfolio-grid .grid-item img {
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-grid .grid-item:hover img {
  transform: scale(1.03);
}

.portfolio-grid .grid-item.hidden {
  display: none;
}


/* ── LIGHTBOX ─────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 15, 0.94);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
  padding: 4px;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.6;
  padding: 16px;
  transition: opacity 0.2s;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-caption {
  position: absolute;
  bottom: -36px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}


/* ── ARCHIVE ──────────────────────────────────────────── */

.archive-section {
  padding: 0 40px 100px;
}

.property-block {
  margin-bottom: 100px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--border);
}

.property-block:last-child {
  border-bottom: none;
}

.property-hero {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 48px;
}

.property-hero img {
  transition: transform 0.8s ease;
}

.property-hero:hover img {
  transform: scale(1.02);
}

.property-meta {
  max-width: 620px;
  margin-bottom: 48px;
}

.property-name {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.property-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.property-gallery .gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.property-gallery .gallery-item img {
  transition: transform 0.6s ease;
}

.property-gallery .gallery-item:hover img {
  transform: scale(1.04);
}


/* ── CONTACT ──────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0 40px 100px;
  align-items: start;
}

.contact-lead {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 460px;
  margin-bottom: 12px;
}

.contact-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 420px;
}

.contact-direct {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-direct a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s;
}

.contact-direct a:hover {
  border-color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--text);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
  padding: 14px 40px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.form-submit:hover {
  opacity: 0.8;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -8px;
}


/* ── FILM SECTION ─────────────────────────────────────── */

.film-section {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border);
}

.film-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
  margin-bottom: 20px;
}

.film-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.film-caption {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ── TESTIMONIAL ──────────────────────────────────────── */

.testimonial-section {
  margin: 64px 40px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 0;
  position: relative;
}

.testimonial-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.testimonial-image img {
  transition: transform 0.8s ease;
}

.testimonial-image:hover img {
  transform: scale(1.03);
}

.testimonial-card {
  background: #E8F0F5;
  padding: 52px 48px;
  position: relative;
  margin-left: -64px;
  z-index: 2;
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}

.testimonial-attr {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}


/* ── LOGO TEXT MARKS ──────────────────────────────────── */

.logo-text-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px 24px;
  border: 1px solid var(--border);
  min-width: 140px;
}

.ltm-main {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1;
}

.ltm-main.ltm-caps {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ltm-main.ltm-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
}

.ltm-main.ltm-tight {
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ltm-main.ltm-bold-sm {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ltm-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.ltm-sub.ltm-spaced {
  letter-spacing: 0.14em;
}


/* ── TERMS PAGE ───────────────────────────────────────── */

/* ── TERMS HERO ───────────────────────────────────────── */

.terms-hero {
  position: relative;
  margin-top: var(--nav-height);
  height: 44vh;
  min-height: 300px;
  max-height: 460px;
  overflow: hidden;
}

.terms-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terms-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0.22);
}

.terms-hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.terms-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 6px;
}

.terms-hero-title {
  font-family: 'Parisienne', var(--serif), cursive;
  font-weight: 400;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.38);
}

.terms-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px 100px;
}

.terms-content h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  margin-bottom: 48px;
}

.terms-content h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 40px 0 12px;
  color: var(--text);
}

.terms-content p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.terms-content ul {
  margin: 8px 0 16px 20px;
}

.terms-content ul li {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.terms-content .terms-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}


/* ── RESPONSIVE ───────────────────────────────────────── */

@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    /* closed: softly lifted + faded, non-interactive */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0.4s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s;
  }

  /* links cascade in one after another */
  .nav-links li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.open li {
    opacity: 1;
    transform: none;
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.11s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.16s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.21s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.26s; }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 65vh 35vh;
    height: auto;
  }

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

  .featured-section,
  .archive-section,
  .page-hero,
  .insta-section,
  .trusted-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    padding: 0 24px 80px;
  }

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

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

  footer {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .testimonial-section {
    grid-template-columns: 1fr;
    margin: 40px 24px;
  }

  .testimonial-card {
    margin-left: 0;
    padding: 36px 28px;
  }

  .film-section {
    padding: 60px 24px 32px;
  }

  .logo-row {
    gap: 12px;
  }

  .logo-text-mark {
    min-width: 120px;
    padding: 12px 16px;
  }
}

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

  .logo-row {
    gap: 32px;
  }

  .lightbox-prev { left: -40px; }
  .lightbox-next { right: -40px; }

  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* ── SCROLL REVEAL ANIMATIONS ─────────────────────────── */
/* Progressive enhancement: the pre-reveal hidden state ONLY applies
   once JS confirms motion is safe (html.anim). Without JS — or if the
   scroll detector never fires — everything stays fully visible. */

html.anim .reveal,
html.anim .reveal-hero {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.anim .reveal-hero {
  transform: translateY(12px);
}

html.anim .reveal.visible,
html.anim .reveal-hero.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── VIDEO PLAYER (local + youtube) ───────────────────── */

.video-player,
.yt-player {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  line-height: 0;
}

.video-player[data-ratio="16/9"],
.yt-player {
  aspect-ratio: 16 / 9;
}

.video-player[data-ratio="9/16"] {
  aspect-ratio: 9 / 16;
}

.video-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-player .yt-frame,
.yt-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* keep all interaction on our own control */
.yt-player iframe {
  pointer-events: none;
}

/* small flat white pause/play button, bottom-right, auto-hiding.
   Appear and disappear animations are intentionally different:
   appears with a soft spring up, disappears with a quick drop. */
.vp-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  /* OUT animation (when controls hide): quick ease-in drop */
  transform: translateY(12px) scale(0.7);
  transition: opacity 0.28s ease,
              transform 0.28s cubic-bezier(0.6, 0, 0.9, 0.3);
  z-index: 6;
}

.video-player.controls-visible .vp-toggle,
.yt-player.controls-visible .vp-toggle {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  /* IN animation (when controls appear): slower spring with overshoot */
  transition: opacity 0.4s ease,
              transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vp-toggle:hover {
  transform: translateY(0) scale(1.12);
}

.vp-toggle svg {
  width: 13px;
  height: 13px;
  color: #1a1a1a;
}

.vp-toggle .ic-play {
  display: none;
  margin-left: 2px;
}

.video-player.is-paused .vp-toggle .ic-pause,
.yt-player.is-paused .vp-toggle .ic-pause {
  display: none;
}

.video-player.is-paused .vp-toggle .ic-play,
.yt-player.is-paused .vp-toggle .ic-play {
  display: block;
}


/* ── DRONE / MOTION SECTION (home) ────────────────────── */

.drone-section {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}

.drone-full {
  /* full-bleed edge to edge, breaking out of the section padding */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.drone-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.drone-duo {
  max-width: 1280px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}


/* ── OVERLAPPING COLLAGE (portfolio) ──────────────────── */

.collage {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

.cluster {
  position: relative;
  width: 100%;
  margin: 0 auto 132px;
}

/* aspect-ratio spacer reserves cluster height */
.cluster::before {
  content: "";
  display: block;
  padding-bottom: var(--ar, 68%);
}

.c-fig {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  z-index: var(--z, 1);
  margin: 0;
  cursor: pointer;
}

/* subtle entrance — only when JS enables motion */
html.anim .c-fig {
  opacity: 0;
  transform: translateY(34px) scale(0.99);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cluster.visible .c-fig {
  opacity: 1;
  transform: none;
}

.cluster.visible .c-fig:nth-of-type(2) { transition-delay: 0.12s; }
.cluster.visible .c-fig:nth-of-type(3) { transition-delay: 0.24s; }

.c-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 0;
  background: #e9e6e0;
}

.c-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.c-fig:hover .c-img img {
  transform: scale(1.04);
}

/* uniform crops */
.c-land .c-img { aspect-ratio: 3 / 2; }
.c-port .c-img { aspect-ratio: 4 / 5; }
.c-video .c-img { aspect-ratio: 9 / 16; }

/* caption */
.c-cap {
  position: absolute;
  left: var(--l);
  top: var(--t);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 5;
  white-space: nowrap;
}

html.anim .c-cap {
  opacity: 0;
  transition: opacity 1s ease 0.35s;
}

.cluster.visible .c-cap { opacity: 1; }


/* ── RESPONSIVE — collage ─────────────────────────────── */

@media (max-width: 820px) {
  .collage {
    padding: 0 24px 32px;
  }

  .cluster {
    margin-bottom: 48px;
  }

  /* collapse overlap → clean stacked column */
  .cluster::before { display: none; }

  .c-fig {
    position: static !important;
    width: 100% !important;
    margin: 0 auto 14px !important;
    max-width: 480px;
  }

  .c-video .c-img {
    max-width: 300px;
    margin: 0 auto;
  }

  .c-cap {
    position: static !important;
    display: block;
    text-align: center;
    margin: 0 auto 28px;
  }
}


/* ── ABOUT PAGE ───────────────────────────────────────── */

.about-layout {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: 72px;
  padding: 0 40px 110px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-portrait {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-portrait img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-portrait:hover img {
  transform: scale(1.04);
}

.about-lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.about-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 520px;
}

.about-body p + p {
  margin-top: 18px;
}

.about-meta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-meta-value {
  font-size: 14px;
  color: var(--text);
}


/* ── NAV — external (shop) marker ─────────────────────── */

.nav-links a.nav-ext::after {
  content: "\2197";
  font-size: 0.85em;
  margin-left: 3px;
  opacity: 0.6;
}


/* ── REELS ROW (portfolio) ────────────────────────────── */

.reels-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 40px 110px;
}

.reels-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reel-item {
  display: flex;
  flex-direction: column;
}

.reel-cap {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ── RESPONSIVE — drone + about + reels ───────────────── */

@media (max-width: 820px) {
  .drone-section {
    padding: 56px 24px;
  }

  .drone-duo {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px 72px;
  }

  .about-portrait {
    max-width: 360px;
  }

  .reels-section {
    padding: 16px 24px 72px;
  }

  .reels-row {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 32px;
  }
}


/* ══════════════════════════════════════════════════════
   LUXURY MOTION LAYER
   All effects are progressive enhancement: they only
   engage when <html> has the .anim class (added by JS
   when motion is allowed). Without JS or with reduced
   motion, everything renders fully visible.
   ═══════════════════════════════════════════════════ */

/* Lenis smooth scroll */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }


/* ── Cinematic image wipe reveal (clip-path) ──────────── */
html.anim .media-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: clip-path;
}
html.anim .media-reveal.in {
  clip-path: inset(0 0 0 0);
}

/* staggered wipe across the featured grid */
html.anim .masonry-grid .grid-item:nth-child(2) { transition-delay: 0.09s; }
html.anim .masonry-grid .grid-item:nth-child(3) { transition-delay: 0.18s; }
html.anim .masonry-grid .grid-item:nth-child(4) { transition-delay: 0.09s; }
html.anim .masonry-grid .grid-item:nth-child(5) { transition-delay: 0.18s; }
html.anim .masonry-grid .grid-item:nth-child(6) { transition-delay: 0.27s; }


/* ── Heading rise-behind-mask ─────────────────────────── */
.h-reveal {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
html.anim .h-reveal > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
html.anim .h-reveal.in > span {
  transform: translateY(0);
}


/* ── Worked-With logo marquee ─────────────────────────── */
.logo-marquee {
  overflow: hidden;
  margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
}
html.anim .logo-track {
  animation: logo-marquee 38s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-set {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── Hero: slow cinematic Ken-Burns drift ─────────────── */
html.anim .hero-img img {
  animation: kenburns 26s ease-in-out infinite alternate;
}
html.anim .hero-img:nth-child(2) img {
  animation-duration: 30s;
  animation-direction: alternate-reverse;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10) translate(-1.2%, -1.4%); }
}
/* let hover still feel responsive without fighting the drift */
html.anim .hero-img:hover img { animation-play-state: paused; }


/* ── Magnetic / smooth nav + button micro-interactions ── */
.nav-links a,
.form-submit,
.footer-social a {
  transition: color 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}


/* ══════════════════════════════════════════════════════
   MOBILE EXPERIENCE PASS (Instagram bio-link traffic)
   ═══════════════════════════════════════════════════ */
@media (max-width: 680px) {
  /* Single, full-impact hero image instead of a cramped split */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 88vh;
  }
  .hero-img:first-child { display: none; }

  .hero-tagline {
    padding: 40px 24px 0;
    font-size: 16px;
    line-height: 1.7;
  }

  /* tighten vertical rhythm */
  .featured-section { padding: 56px 20px; }
  .section-label { margin-bottom: 32px; }
  .masonry-grid { gap: 5px; }

  .drone-section { padding: 48px 0; }
  .drone-section .section-label { padding: 0 20px; }
  .drone-duo { padding: 0 20px; gap: 5px; }

  /* testimonial reads as a clean stacked card */
  .testimonial-section { margin: 40px 20px; gap: 0; }
  .testimonial-card { margin-top: -28px; margin-left: 16px; margin-right: 0; padding: 32px 24px; }

  .trusted-section { padding: 56px 0; }
  .insta-section { padding: 48px 16px; }
  .insta-strip { gap: 3px; }

  /* comfortable tap targets in the footer */
  .footer-social { gap: 16px 18px; flex-wrap: wrap; }
  .footer-social a { padding: 4px 0; }

  /* page headings breathe a bit more */
  .page-hero { padding: calc(var(--nav-height) + 48px) 24px 48px; }
}

/* Larger, easier-to-tap mobile nav menu */
@media (max-width: 900px) {
  .nav-links { padding: 28px 24px 32px; gap: 4px; }
  .nav-links a {
    font-size: 14px;
    letter-spacing: 0.14em;
    padding: 12px 0;
    display: block;
  }
}


/* ── Respect users who prefer reduced motion ──────────── */
@media (prefers-reduced-motion: reduce) {
  html.anim .media-reveal { clip-path: none !important; }
  html.anim .h-reveal > span { transform: none !important; }
  html.anim .logo-track { animation: none !important; }
  html.anim .hero-img img { animation: none !important; }
  .reveal, .reveal-hero, .cluster .c-fig, .cluster .c-cap {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .footer-logo svg * { animation: none !important; }
  .footer-logo:hover .ftl-logo { animation: none !important; }
}


/* ══════════════════════════════════════════════════════
   FOOTER LOGO — nested-peaks mark with a hidden traveller
   easter-egg: click -> walks -> flies -> reforms.
   ═══════════════════════════════════════════════════ */
.footer-logo {
  justify-self: center;
  width: 54px;
  height: 54px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  line-height: 0;
}

.footer-logo svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.footer-logo svg .ftl-logo path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* traveller: solid pictogram weight (airport-signage style, not stick lines) */
.footer-logo svg .ftl-head {
  fill: currentColor;
  stroke: none;
}

.footer-logo svg .ftl-body {
  fill: none;
  stroke: currentColor;
  stroke-width: 9;
  stroke-linecap: round;
}

.footer-logo svg .ftl-limb {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
}

/* paper plane: filled silhouette echoing the nested-peak geometry */
.footer-logo svg .ftl-plane-wing {
  fill: currentColor;
  stroke: none;
}

.footer-logo svg .ftl-plane-fold {
  fill: currentColor;
  stroke: none;
  opacity: 0.45;
}

.ftl-logo,
.ftl-walker,
.ftl-plane {
  transition: opacity 0.4s ease;
}

.ftl-logo { transform-box: fill-box; transform-origin: center; }
.ftl-plane { transform-box: fill-box; transform-origin: center; }
.ftl-walker,
.ftl-plane { opacity: 0; }

/* two-frame stride: pose B hidden until the walk cycle swaps frames */
.ftl-pose-b { opacity: 0; }

/* ── phase: idle ── */
.footer-logo svg[data-phase="idle"] .ftl-logo { opacity: 1; }
.footer-logo:hover svg[data-phase="idle"] .ftl-logo {
  animation: ftl-settle 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── phase: walk ── */
.footer-logo svg[data-phase="walk"] .ftl-logo { opacity: 0; }
.footer-logo svg[data-phase="walk"] .ftl-walker { opacity: 1; animation: ftl-stroll 2.1s ease-in-out; }
.footer-logo svg[data-phase="walk"] .ftl-pose-a { animation: ftl-step-a 0.44s steps(1) infinite; }
.footer-logo svg[data-phase="walk"] .ftl-pose-b { animation: ftl-step-b 0.44s steps(1) infinite; }

/* ── phase: fly ── */
.footer-logo svg[data-phase="fly"] .ftl-walker { opacity: 0; }
.footer-logo svg[data-phase="fly"] .ftl-plane { opacity: 1; animation: ftl-fly 1.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards; }

/* ── phase: pop (interrupt) ── */
.footer-logo svg[data-phase="pop"] .ftl-logo { opacity: 1; animation: ftl-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.footer-logo svg[data-phase="pop"] .ftl-walker,
.footer-logo svg[data-phase="pop"] .ftl-plane { opacity: 0; }

@keyframes ftl-settle {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(-6deg) scale(1.06); }
  55%  { transform: rotate(4deg) scale(0.98); }
  100% { transform: rotate(0deg) scale(1); }
}
/* stroll across with a gentle walking bob */
@keyframes ftl-stroll {
  0%   { transform: translate(-11px, 0); }
  25%  { transform: translate(-5px, -1.6px); }
  50%  { transform: translate(0, 0); }
  75%  { transform: translate(6px, -1.6px); }
  100% { transform: translate(11px, 0); }
}
/* two-frame stride swap */
@keyframes ftl-step-a {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes ftl-step-b {
  0%, 49.9% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
/* take-off: swoop in, bank, climb away and fade */
@keyframes ftl-fly {
  0%   { transform: translate(-8px, 5px) rotate(5deg) scale(0.9); opacity: 0; }
  14%  { opacity: 1; }
  48%  { transform: translate(10px, -7px) rotate(-7deg) scale(1); opacity: 1; }
  100% { transform: translate(50px, -40px) rotate(-16deg) scale(0.8); opacity: 0; }
}
@keyframes ftl-pop {
  0%   { transform: scale(0.55); }
  60%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@media (max-width: 680px) {
  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 22px;
    padding: 32px 24px;
  }
  .footer-copy,
  .footer-social { justify-self: center; }
  .footer-social { justify-content: center; }
  /* logo sits on top on mobile */
  .footer-logo { order: -1; }
}
