/* ═══════════════════════════════════════════════════════
   JANEVE INTERIORS — OPULENT DARK LUXURY REDESIGN
   Palette: Inky Plum · Plum Taupe · Aged Gold · Ivory
   Type: Canela Trial (display) + Montserrat (body)
════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  /* Core colors — Inky Plum scale */
  --ink:          #1E1110;
  --ink-2:        #271618;
  --ink-3:        #321C20;
  --ink-4:        #3E2228;
  --ink-5:        #4A2830;
  --border:       rgba(194,175,171,0.18);
  --border-mid:   rgba(194,175,171,0.32);

  /* Gold system — unchanged, glows beautifully on inky plum */
  --gold:         #D4A843;
  --gold-bright:  #F0C75A;
  --gold-muted:   #C49A30;
  --gold-faint:   rgba(212,168,67,0.15);
  --gold-glow:    rgba(212,168,67,0.10);

  /* Text — Plum Taupe as muted, warm ivory as primary */
  --text-primary: #F5EDE8;
  --text-muted:   #C2AFAB;
  --text-faint:   #9E8B87;
  --text-inv:     #1E1110;

  /* Dusty rose accents — Behr Atlanta #C2AFAB */
  --cream:        #EDE4E2;
  --cream-dark:   #D9CECA;

  /* Type */
  --font-d: 'Canela Text Trial', 'Canela Trial', 'Georgia', serif;
  --font-b: 'Montserrat', 'Helvetica Neue', sans-serif;

  /* Sizes */
  --xs:   clamp(0.75rem, 0.68rem + 0.25vw, 0.875rem);
  --sm:   clamp(0.9rem, 0.82rem + 0.35vw, 1.05rem);
  --base: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  --lg:   clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  --xl:   clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  --2xl:  clamp(2.2rem, 1.2rem + 3vw, 4rem);
  --3xl:  clamp(3rem, 1rem + 5.5vw, 7rem);
  --hero: clamp(3.8rem, 0.5rem + 8.5vw, 9.5rem);

  /* Spacing */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem; --s32: 8rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  /* Nav */
  --nav-h: 90px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-b);
  font-size: var(--base);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul[role='list'] { list-style: none; }
button { cursor: none; background: none; border: none; font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: rgba(212,168,67,0.3); color: var(--text-primary); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── LAYOUT ─────────────────────────────────────────── */
.section {
  padding-block: clamp(var(--s16), 10vw, var(--s32));
}

/* ── GLOBAL LABELS & HEADINGS ───────────────────────── */
.label-gold {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.label-gold::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.label-gold-light {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--s5);
}

.section-title {
  font-family: var(--font-d);
  font-size: var(--2xl);
  font-weight: 500;
  line-height: 1.04;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--s8);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.gold-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: var(--s8);
}

.body-para {
  font-size: var(--base);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  letter-spacing: 0.025em;
  max-width: 52ch;
}

/* ── SCROLL REVEAL ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-in.in-view { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   LOADER
══════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s10);
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  animation: loaderPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

.ll-j {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-primary);
}

.ll-rule {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--gold);
}

.ll-rule::before, .ll-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 1;
}

.ll-i {
  font-family: var(--font-b);
  font-size: clamp(0.55rem, 1vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: rgba(212,168,67,0.3);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  animation: loaderFill 1.5s var(--ease-out) forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-out), opacity 0.3s;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212,168,67,0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out), opacity 0.3s, width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}

.cursor.hovering { transform: translate(-50%, -50%) scale(2); opacity: 0.5; }
.cursor-follower.hovering { width: 60px; height: 60px; opacity: 0.5; }

@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
  body, button { cursor: auto; }
}

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background var(--dur) var(--ease-out),
              height var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(30,17,16,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding-inline: clamp(var(--s6), 5vw, var(--s16));
  gap: var(--s8);
}

/* Logo */
.nav-logo { display: flex; flex-shrink: 0; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.nl-janeve {
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  color: var(--text-primary);
}

.nl-rule-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  gap: var(--s2);
}
.nl-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.nl-interiors {
  font-family: var(--font-b);
  font-size: clamp(0.42rem, 0.7vw, 0.55rem);
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: var(--s10);
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,243,234,0.85);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--s3) var(--s6);
  border: 1px solid var(--border-mid);
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-out);
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: var(--s2);
  margin-left: auto;
  cursor: none;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.4s var(--ease-out);
}
.nav-hamburger.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-hamburger.open span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink-2);
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s8);
}

.mm-link {
  font-family: var(--font-d);
  font-size: var(--2xl);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mm-link:hover { color: var(--gold); }
.mm-cta { color: var(--gold) !important; font-style: italic; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.05);
  transform-origin: top center;
  transition: transform 0.1s linear;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13,11,9,0.2) 0%,
      rgba(13,11,9,0.0) 35%,
      rgba(13,11,9,0.6) 65%,
      rgba(13,11,9,0.92) 100%
    ),
    linear-gradient(to right,
      rgba(13,11,9,0.5) 0%,
      rgba(13,11,9,0.0) 55%
    );
}

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

.hero-content {
  position: relative;
  z-index: 5;
  padding: clamp(var(--s12), 7vw, var(--s24));
  padding-top: clamp(var(--s20), 10vw, var(--s32));
  padding-bottom: clamp(var(--s16), 10vw, var(--s32));
  max-width: min(900px, 85vw);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s8);
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 0.8s forwards;
}

.eyebrow-line {
  height: 1px;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.eyebrow-line:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.hero-eyebrow span {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  margin-bottom: var(--s6);
}

.ht-line {
  display: block;
  font-family: var(--font-d);
  font-size: var(--hero);
  font-weight: 500;
  line-height: 0.93;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  opacity: 0;
  animation: heroReveal 1.1s var(--ease-out) forwards;
}

.ht-line.italic { font-style: italic; font-weight: 400; color: rgba(248,243,234,0.92); }
.ht-line[data-delay="0"]   { animation-delay: 1.0s; }
.ht-line[data-delay="120"] { animation-delay: 1.12s; }
.ht-line[data-delay="240"] { animation-delay: 1.24s; }

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

.hero-byline {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--s4);
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 1.4s forwards;
}

.hero-sub {
  font-family: var(--font-b);
  font-size: clamp(0.8rem, 0.65rem + 0.5vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.75;
  color: rgba(248,243,234,0.75);
  max-width: 44ch;
  margin-bottom: var(--s10);
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 1.55s forwards;
  text-transform: uppercase;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--s8);
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 1.6s forwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s10);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all 0.4s var(--ease-out);
}
.hero-btn:hover {
  background: transparent;
  color: var(--gold);
}

.hero-link {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,243,234,0.82);
  border-bottom: 1px solid rgba(248,243,234,0.2);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.hero-link:hover { color: var(--text-primary); border-color: var(--text-primary); }

/* Hero meta stats */
.hero-meta {
  position: absolute;
  right: clamp(var(--s8), 5vw, var(--s20));
  bottom: clamp(var(--s10), 6vw, var(--s20));
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--s8);
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 1.8s forwards;
}

.hm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hm-num {
  font-family: var(--font-d);
  font-size: var(--xl);
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hm-num sup { font-size: 0.45em; vertical-align: super; }

.hm-label {
  font-family: var(--font-b);
  font-size: clamp(0.55rem, 0.8vw, 0.65rem);
  font-weight: 200;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--s2);
  max-width: 10ch;
  text-align: center;
  line-height: 1.3;
}

.hm-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold-muted), transparent);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: var(--s8);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.4; }
}

@media (max-width: 600px) {
  .hero-meta { display: none; }
}

/* ══════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════ */
.marquee-band {
  background: var(--ink-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s4);
  overflow: hidden;
}

.marquee-inner { overflow: hidden; }

.marquee-track {
  display: inline-flex;
  gap: var(--s8);
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.marquee-track .sep {
  color: var(--gold-muted);
  letter-spacing: 0;
  font-size: 0.45rem;
  align-self: center;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about { background: var(--ink-2); }

.about-container {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(var(--s12), 7vw, var(--s24));
  align-items: center;
}

/* Image stack */
.about-img-stack {
  position: relative;
  padding-bottom: var(--s12);
  padding-right: var(--s10);
}

.ais-main {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.ais-main img { width: 100%; height: 100%; transition: transform 0.8s var(--ease-out); }
.ais-main:hover img { transform: scale(1.04); }

.ais-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}
.ais-accent img { width: 100%; height: 100%; }

.ais-badge {
  position: absolute;
  top: var(--s8);
  right: calc(-1 * var(--s5));
  background: var(--gold);
  color: var(--ink);
  padding: var(--s5) var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge-num {
  font-family: var(--font-d);
  font-size: var(--xl);
  font-weight: 500;
  line-height: 1;
}

.badge-text {
  font-family: var(--font-b);
  font-size: clamp(0.48rem, 0.8vw, 0.6rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: var(--s2);
}

/* About text */
.about-right {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.about-signature {
  margin-top: var(--s4);
}

.sig-text {
  font-family: var(--font-d);
  font-size: var(--2xl);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-muted);
}

@media (max-width: 860px) {
  .about-container { grid-template-columns: 1fr; }
  .about-img-stack { padding-right: 0; }
  .ais-badge { right: 0; }
}

/* ══════════════════════════════════════════════════════
   CINEMATIC BREAKS
══════════════════════════════════════════════════════ */
.cinematic-break {
  height: clamp(320px, 50vh, 620px);
  background-image: var(--cb-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.cb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,11,9,0.85) 0%, rgba(13,11,9,0.4) 50%, rgba(13,11,9,0.1) 100%);
  display: flex;
  align-items: center;
  padding: clamp(var(--s10), 8vw, var(--s24));
}

.cb-right .cb-overlay {
  background: linear-gradient(to left, rgba(13,11,9,0.85) 0%, rgba(13,11,9,0.4) 50%, rgba(13,11,9,0.1) 100%);
  justify-content: flex-end;
}

.cb-quote {
  max-width: 520px;
  border-left: 1px solid var(--gold);
  padding-left: var(--s8);
}

.cb-right .cb-quote {
  border-left: none;
  border-right: 1px solid var(--gold);
  padding-left: 0;
  padding-right: var(--s8);
  text-align: right;
}

.cb-quote p {
  font-family: var(--font-d);
  font-size: var(--xl);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: var(--s5);
}

.cb-quote p em {
  font-style: italic;
  color: var(--gold-bright);
}

.cb-quote cite {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-style: normal;
}

@media (max-width: 600px) {
  .cinematic-break { background-attachment: scroll; }
}

/* ══════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════ */
.portfolio { background: var(--ink); }

.port-header {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
  margin-bottom: var(--s12);
}

.port-sub {
  font-size: var(--base);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.8;
  margin-top: var(--s5);
}

/* Filters */
.port-filters {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
  display: flex;
  gap: var(--s3);
  margin-bottom: var(--s12);
  flex-wrap: wrap;
}

.pf-btn {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--s3) var(--s6);
  border: 1px solid var(--border);
  color: var(--text-faint);
  background: transparent;
  transition: all 0.35s var(--ease-out);
}

.pf-btn:hover { color: var(--text-muted); border-color: var(--border-mid); }

.pf-btn.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
}

/* Portfolio Grid — editorial magazine layout */
.port-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
}

.pg-item { position: relative; overflow: hidden; }
.pg-item:not(:nth-child(1)):not(:nth-child(7)):not(:nth-child(11)) { grid-column: span 4; }
.pg-item:nth-child(1)  { grid-column: span 8; grid-row: span 2; }
.pg-item:nth-child(7)  { grid-column: span 8; }
.pg-item:nth-child(11) { grid-column: span 8; }
.pg-item.pg-wide { grid-column: span 8 !important; }
.pg-item.pg-tall { grid-column: span 4; grid-row: span 2; }

.pg-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
  filter: brightness(0.88) saturate(0.9);
}

.pg-item:hover .pg-img img {
  transform: scale(1.07);
  filter: brightness(0.75) saturate(0.8);
}

.pg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,11,9,0.9) 0%, rgba(13,11,9,0.0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s6);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.pg-item:hover .pg-overlay { opacity: 1; }

.pg-cat {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}

.pg-title {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

.pg-item.hidden { display: none; }

@media (max-width: 900px) {
  .port-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .pg-item, .pg-item.pg-wide, .pg-item:nth-child(1), .pg-item:nth-child(7), .pg-item:nth-child(11) {
    grid-column: span 1 !important; grid-row: span 1 !important;
  }
}

@media (max-width: 560px) {
  .port-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
}

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services { background: var(--ink-2); }

.svc-container {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
}

.svc-header { margin-bottom: var(--s16); }

.svc-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: clamp(var(--s16), 8vw, var(--s24));
}

.svc-card {
  display: grid;
  grid-template-columns: 80px 1fr 420px;
  gap: var(--s10);
  align-items: center;
  padding: var(--s12) var(--s10);
  border: 1px solid var(--border);
  border-top: none;
  background: var(--ink-3);
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.svc-card:first-child { border-top: 1px solid var(--border); }

.svc-card:hover {
  background: var(--ink-4);
  border-color: var(--border-mid);
}

.svc-card--reverse { direction: rtl; }
.svc-card--reverse > * { direction: ltr; }

.svc-num {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: rgba(212,168,67,0.15);
  line-height: 1;
  text-align: center;
}

.svc-content { display: flex; flex-direction: column; gap: var(--s5); }

.svc-content h3 {
  font-family: var(--font-d);
  font-size: var(--xl);
  font-weight: 400;
  color: var(--text-primary);
}

.svc-content p {
  font-size: var(--base);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 50ch;
}

.svc-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.svc-content li {
  font-size: var(--sm);
  font-weight: 300;
  color: var(--text-faint);
  padding-left: var(--s5);
  position: relative;
  letter-spacing: 0.04em;
}

.svc-content li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
  font-size: 0.35rem;
  top: 0.5em;
}

.svc-img {
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.svc-img img { width: 100%; height: 100%; transition: transform 0.7s var(--ease-out); }
.svc-card:hover .svc-img img { transform: scale(1.05); }

@media (max-width: 900px) {
  .svc-card { grid-template-columns: 60px 1fr; }
  .svc-img { display: none; }
}
@media (max-width: 560px) {
  .svc-card { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s8); }
  .svc-num { text-align: left; }
}

/* Process Band */
.process-band {
  background: var(--ink);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pb-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: clamp(var(--s12), 6vw, var(--s24)) clamp(var(--s6), 5vw, var(--s20));
}

.pb-heading {
  font-family: var(--font-d);
  font-size: var(--xl);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--s16);
  text-align: center;
}

.pb-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.pb-step {
  flex: 1;
  text-align: center;
  padding: 0 var(--s4);
}

.pbs-num {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s6);
}

.pb-step h4 {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--s3);
}

.pb-step p {
  font-size: var(--sm);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 24ch;
  margin: 0 auto;
}

.pb-connector {
  display: flex;
  align-items: center;
  padding-top: 26px;
  flex-shrink: 0;
  width: 60px;
}
.pbc-line { flex: 1; height: 1px; background: var(--border); }
.pbc-diamond { font-size: 0.4rem; color: var(--gold-muted); flex-shrink: 0; }

@media (max-width: 700px) {
  .pb-steps { flex-direction: column; align-items: center; }
  .pb-connector { transform: rotate(90deg); width: 40px; }
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonials { background: var(--ink-3); }

.test-container {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
}

.test-header { margin-bottom: var(--s16); }

.test-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 1px;
  background: var(--border);
}

.test-card {
  background: var(--ink-3);
  padding: var(--s10) var(--s10);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.test-card--feature {
  background: var(--ink-4);
  padding: var(--s12) var(--s10);
  border-top: 2px solid var(--gold);
}

.test-stars { color: var(--gold); font-size: var(--sm); letter-spacing: 0.08em; }

.test-quote {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-style: italic;
  font-weight: 300;
  color: rgba(248,243,234,0.92);
  line-height: 1.6;
  flex: 1;
}

.test-card--feature .test-quote {
  font-size: var(--xl);
  color: var(--text-primary);
}

.test-client {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-top: auto;
}

.tc-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.test-client span {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

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

/* ══════════════════════════════════════════════════════
   INTAKE FORM
══════════════════════════════════════════════════════ */
.intake {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
}

.intake-bg {
  position: absolute;
  inset: 0;
  background-image: var(--ib-img);
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.intake-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink-2) 45%, rgba(13,11,9,0.6) 100%);
}

.intake-container {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--s12), 7vw, var(--s24));
  align-items: start;
}

.intake-left { position: sticky; top: calc(var(--nav-h) + var(--s8)); }

.intake-title {
  font-family: var(--font-d);
  font-size: var(--2xl);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--s6);
}

.intake-title em { font-style: italic; color: var(--gold); }

.intake-intro {
  font-size: var(--base);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 40ch;
  margin-bottom: var(--s8);
}

.intake-gold-bar {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: var(--s8);
}

.ici-link {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-style: italic;
  color: var(--gold);
  transition: color 0.3s;
}
.ici-link:hover { color: var(--gold-bright); }

/* Form */
.i-form {
  background: var(--ink-3);
  border: 1px solid var(--border);
  padding: clamp(var(--s8), 4vw, var(--s12));
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.if-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}

.if-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

label {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.req { color: var(--gold); }

input, select, textarea {
  font-family: var(--font-b);
  font-size: var(--sm);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--ink-2);
  border: 1px solid var(--border);
  padding: var(--s4);
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

input::placeholder, textarea::placeholder { color: var(--text-faint); font-weight: 300; }

input:focus, select:focus, textarea:focus {
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 2px rgba(212,168,67,0.08);
}

textarea { resize: vertical; min-height: 120px; line-height: 1.7; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238A6A3A' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
  padding-right: var(--s10);
}

option { background: var(--ink-3); color: var(--text-primary); }

.if-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding: var(--s5) var(--s10);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all 0.4s var(--ease-out);
  margin-top: var(--s2);
}
.if-submit:hover { background: transparent; color: var(--gold); }

.if-note {
  text-align: center;
  font-size: var(--xs);
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

/* Success */
.i-success {
  background: var(--ink-3);
  border: 1px solid var(--border-mid);
  padding: var(--s16);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s6);
}

.is-diamond {
  font-size: var(--2xl);
  color: var(--gold);
  animation: diamondSpin 0.6s var(--ease-out);
}

@keyframes diamondSpin {
  from { transform: scale(0.3) rotate(-90deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

.i-success h3 {
  font-family: var(--font-d);
  font-size: var(--xl);
  font-weight: 400;
  color: var(--text-primary);
}

.i-success p {
  font-size: var(--base);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 40ch;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .intake-container { grid-template-columns: 1fr; }
  .intake-left { position: static; }
  .if-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--s16), 8vw, var(--s24));
  padding-bottom: var(--s10);
  padding-inline: clamp(var(--s6), 5vw, var(--s20));
}

.footer-top {
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s10);
  margin-bottom: var(--s12);
  flex-wrap: wrap;
}

.ft-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ftl-j {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--text-primary);
  line-height: 1;
}

.ftl-rule-wrap { width: 100%; }
.ftl-rule {
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.ftl-i {
  font-family: var(--font-b);
  font-size: clamp(0.48rem, 0.8vw, 0.62rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.ft-tagline {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-weight: 300;
  color: var(--text-faint);
  line-height: 1.6;
  text-align: right;
}
.ft-tagline em {
  font-style: italic;
  color: var(--gold-muted);
  display: block;
  font-size: 0.9em;
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: var(--s5);
  max-width: 1360px;
  margin-inline: auto;
  margin-bottom: var(--s12);
}

.fd-line { flex: 1; height: 1px; background: var(--border); }
.fd-diamond { color: var(--gold-muted); font-size: 0.4rem; flex-shrink: 0; }

.footer-mid {
  max-width: 1360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s12);
  margin-bottom: var(--s12);
}

.fm-col h4 {
  font-family: var(--font-b);
  font-size: var(--xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--s6);
}

.fm-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }

.fm-col a {
  font-size: var(--sm);
  font-weight: 300;
  color: var(--text-faint);
  transition: color 0.3s;
  letter-spacing: 0.04em;
}
.fm-col a:hover { color: var(--gold); }

.fm-email {
  font-family: var(--font-d);
  font-size: var(--lg);
  font-style: italic;
  color: var(--text-muted) !important;
  display: block;
  margin-bottom: var(--s3);
}
.fm-email:hover { color: var(--gold) !important; }

.fm-loc {
  font-size: var(--sm);
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.fm-social { display: flex; flex-direction: column; gap: var(--s4); }

.fms-link {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--sm);
  font-weight: 300;
  color: var(--text-faint);
  transition: color 0.3s;
  letter-spacing: 0.06em;
}
.fms-link:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1360px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
  display: flex;
  justify-content: center;
}

.footer-bottom p {
  font-size: var(--xs);
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

@media (max-width: 700px) {
  .footer-mid { grid-template-columns: 1fr; }
  .ft-tagline { text-align: left; }
}

/* ══════════════════════════════════════════════
   BEHIND THE VISION SECTION
══════════════════════════════════════════════ */
.behind-vision {
  background: var(--onyx);
  padding-block: clamp(var(--s16), 8vw, var(--s32));
  overflow: hidden;
}

.bv-inner {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--s8);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--s10), 5vw, var(--s20));
  align-items: center;
}

.bv-text {
  position: relative;
}

.bv-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 1rem + 4vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: var(--s6);
}

.bv-title em {
  font-style: italic;
  color: var(--gold);
}

.bv-body {
  font-family: var(--sans);
  font-size: var(--sm);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 38ch;
}

.bv-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  position: relative;
}

.bv-photo {
  position: relative;
  overflow: hidden;
}

.bv-photo-1 {
  border-radius: 2px;
  aspect-ratio: 3/4;
  margin-top: var(--s10);
}

.bv-photo-2 {
  border-radius: 2px;
  aspect-ratio: 3/4;
  margin-bottom: var(--s10);
}

.bv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(10%) contrast(1.05);
}

.bv-photo:hover img {
  transform: scale(1.04);
}

/* Subtle gold corner accent on the first photo */
.bv-photo-1::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 60px;
  height: 60px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

/* Subtle gold corner accent on the second photo */
.bv-photo-2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 60px;
  height: 60px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

/* Decorative text element */
.bv-text::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: -20px;
  font-family: var(--serif);
  font-size: 18rem;
  color: var(--gold);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .bv-inner {
    grid-template-columns: 1fr;
    gap: var(--s10);
  }
  .bv-text::before { display: none; }
  .bv-photos {
    max-height: 600px;
  }
  .bv-photo-1, .bv-photo-2 {
    aspect-ratio: 4/5;
    margin-top: 0;
    margin-bottom: 0;
  }
  .bv-photo-1 { margin-top: var(--s6); }
}

@media (max-width: 500px) {
  .bv-photos {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
  .bv-photo-1, .bv-photo-2 {
    aspect-ratio: 3/4;
    margin: 0;
  }
}

/* ══════════════════════════════════════════════
   IN MOTION — VIDEO GALLERY
══════════════════════════════════════════════ */
.video-section {
  background: #080604;
  padding-block: clamp(var(--s16), 8vw, var(--s32));
}

.vs-header {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--s8);
  margin-bottom: clamp(var(--s10), 4vw, var(--s16));
}

.vs-sub {
  font-family: var(--font-b);
  font-size: var(--sm);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 44ch;
  margin-top: var(--s4);
}

.video-grid {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--s8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.vg-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #0a0806;
  cursor: pointer;
}

/* Landscape videos get wider cells */
.vg-item:nth-child(1),
.vg-item:nth-child(5),
.vg-item:nth-child(9),
.vg-item:nth-child(13) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.vg-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vg-item:hover video {
  transform: scale(1.03);
}

.vg-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 4, 0.35);
  transition: background 0.4s ease, opacity 0.4s ease;
}

.vg-item.playing .vg-overlay {
  background: transparent;
  opacity: 0;
}

.vg-item.playing:hover .vg-overlay {
  opacity: 1;
  background: rgba(8, 6, 4, 0.2);
}

.vg-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(8, 6, 4, 0.6);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(4px);
}

.vg-play svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
}

.vg-item.playing .vg-play svg polygon {
  /* Show pause icon when playing */
  display: none;
}

.vg-item.playing .vg-play::before,
.vg-item.playing .vg-play::after {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  background: var(--gold);
  border-radius: 1px;
  margin-inline: 2px;
}

.vg-item.playing .vg-play {
  display: flex;
  gap: 4px;
}

.vg-play:hover {
  transform: scale(1.1);
  background: rgba(212, 168, 67, 0.2);
}

/* Gold corner accent on hover */
.vg-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 3;
  pointer-events: none;
}

.vg-item:hover::before {
  width: 40px;
  height: 40px;
}

@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vg-item:nth-child(1),
  .vg-item:nth-child(5),
  .vg-item:nth-child(9),
  .vg-item:nth-child(13) {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s2);
  }
  .vg-item:nth-child(1),
  .vg-item:nth-child(5),
  .vg-item:nth-child(9),
  .vg-item:nth-child(13) {
    grid-column: span 2;
  }
}
