/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --background: #0a0a0a;
  --foreground: #f3f1ec;
  --card: #111111;
  --muted: #171717;
  --muted-foreground: #a3a19a;
  --accent: #b9a37c;
  --border: rgba(243, 241, 236, 0.12);
  --border-strong: rgba(243, 241, 236, 0.24);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", ui-serif, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  font-feature-settings: "ss01" 1, "kern" 1;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
}
button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }

svg { display: block; }

ul { list-style: none; }

::selection { background: var(--foreground); color: var(--background); }

:focus-visible {
  outline: 1px solid var(--foreground);
  outline-offset: 4px;
}

/* Section anchor offset so fixed header doesn't cover headings */
section[id] { scroll-margin-top: 5rem; }

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

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
  margin-inline: auto;
  width: 100%;
  max-width: 1600px;
  padding-inline: 1.5rem;
}
@media (min-width: 640px) { .container { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 4rem; } }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .eyebrow { font-size: 0.875rem; } }

.hairline { height: 1px; width: 100%; background: var(--border); }

.h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--foreground);
  font-weight: 500;
}
@media (min-width: 640px) { .h2 { font-size: 3rem; } }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  text-wrap: balance;
}
@media (min-width: 640px) { .lead { font-size: 1.25rem; } }

.icon { flex-shrink: 0; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.icon-btn {
  color: rgba(243, 241, 236, 0.8);
  transition: color 0.3s;
}
.icon-btn:hover { color: var(--foreground); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn-solid {
  background: var(--foreground);
  color: var(--background);
}
.btn-solid:hover { background: rgba(243, 241, 236, 0.9); }
.btn-solid .icon-arrow { transition: transform 0.3s; }
.btn-solid:hover .icon-arrow { transform: translateX(4px); }

.btn-outline {
  border: 1px solid rgba(243, 241, 236, 0.4);
  color: var(--foreground);
}
.btn-outline:hover {
  border-color: var(--foreground);
  background: rgba(243, 241, 236, 0.05);
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--foreground);
}
.link-underline span {
  border-bottom: 1px solid rgba(243, 241, 236, 0.4);
  padding-bottom: 0.25rem;
  transition: border-color 0.3s;
}
.link-underline:hover span { border-color: var(--foreground); }
.link-underline .icon-arrow { transition: transform 0.3s; }
.link-underline:hover .icon-arrow { transform: translateX(4px); }

/* ==========================================================================
   Scroll progress + custom cursor
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  z-index: 90;
  background: rgba(243, 241, 236, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--foreground);
}
.cursor-ring {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(243, 241, 236, 0.5);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo);
}
.cursor-ring.is-hovering {
  width: 52px; height: 52px;
  border-color: var(--accent);
}
@media (pointer: coarse), (max-width: 767px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ==========================================================================
   Reveal-on-scroll / split heading
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
[data-reveal="left"] { transform: translateX(28px); }
[data-reveal="right"] { transform: translateX(-28px); }
[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

.split-heading .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.12em;
  vertical-align: bottom;
}
.split-heading .word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s var(--ease-out-expo), opacity 0.9s var(--ease-out-expo);
}
.split-heading.in-view .word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  opacity: 0;
  transform: translateY(-100px);
  animation: header-in 1s var(--ease-out-expo) 0.2s forwards;
}
@keyframes header-in { to { opacity: 1; transform: translateY(0); } }

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--foreground);
}
@media (min-width: 640px) { .brand { font-size: 1.25rem; } }

.main-nav { display: none; align-items: center; gap: 2.5rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }

.nav-link {
  position: relative;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: rgba(243, 241, 236, 0.8);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--foreground); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.menu-btn {
  position: relative;
  display: flex;
  height: 2.5rem; width: 2.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
@media (min-width: 768px) { .menu-btn { display: none; } }
.menu-line {
  height: 1px; width: 1.5rem;
  background: var(--foreground);
  transition: transform 0.3s var(--ease-out-expo);
}
.menu-btn.is-open #menuLine1, #sheetCloseBtn .menu-line-x1 {
  transform: rotate(45deg) translateY(3.5px);
}
.menu-btn.is-open #menuLine2, #sheetCloseBtn .menu-line-x2 {
  transform: rotate(-45deg) translateY(-3.5px);
}
#sheetCloseBtn { position: relative; }
#sheetCloseBtn .menu-line { position: absolute; }

/* ==========================================================================
   Mobile sheet
   ========================================================================== */
.mobile-sheet-overlay {
  position: fixed; inset: 0;
  z-index: 55;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-sheet-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-sheet {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 60;
  width: 100%;
  background: var(--background);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out-expo);
}
.mobile-sheet.is-open { transform: translateX(0); }
@media (min-width: 768px) { .mobile-sheet, .mobile-sheet-overlay { display: none; } }

.mobile-sheet-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}
.mobile-sheet-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-sheet-brand { font-size: 1.125rem; }

.mobile-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: rgba(243, 241, 236, 0.9);
  transition: color 0.3s, opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(24px);
}
.mobile-nav-link:hover { color: var(--foreground); }
.mobile-sheet.is-open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-sheet.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-sheet.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.22s; }
.mobile-sheet.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.29s; }
.mobile-sheet.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.36s; }
.mobile-sheet.is-open .mobile-nav-link:nth-child(5) { transition-delay: 0.43s; }
.mobile-sheet.is-open .mobile-nav-link:nth-child(6) { transition-delay: 0.5s; }

.mobile-sheet-social { display: flex; align-items: center; gap: 1.5rem; }
.mobile-sheet-social a { color: rgba(243, 241, 236, 0.7); transition: color 0.3s; }
.mobile-sheet-social a:hover { color: var(--foreground); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 640px;
  width: 100%;
  align-items: flex-end;
  overflow: hidden;
  background: var(--background);
}

.hero-media {
  position: absolute; inset: 0;
  transform: scale(1.12);
  animation: hero-scale-in 2.4s var(--ease-out-expo) forwards;
}
@keyframes hero-scale-in { to { transform: scale(1); } }

.hero-media-zoom {
  position: absolute; inset: 0;
  animation: hero-breathe 26s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(15%) contrast(1.08);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: black;
  opacity: 0.55;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background), rgba(10, 10, 10, 0.2), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 10rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) { .hero-content { padding-bottom: 7rem; } }

.hero-eyebrow { margin-bottom: 1.5rem; color: rgba(243, 241, 236, 0.8); }

.hero-title {
  max-width: 56rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 1.04;
  font-weight: 500;
  text-wrap: balance;
  color: var(--foreground);
}

.hero-sub {
  margin-top: 2rem;
  max-width: 28rem;
  font-size: 1rem;
  color: rgba(243, 241, 236, 0.75);
}
@media (min-width: 640px) { .hero-sub { font-size: 1.125rem; } }

.hero-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.hero-scroll {
  position: absolute;
  inset-inline: 0;
  bottom: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-scroll-label { font-size: 0.625rem; color: rgba(243, 241, 236, 0.6); }
.hero-scroll-track {
  position: relative;
  height: 2.5rem; width: 1px;
  overflow: hidden;
  background: rgba(243, 241, 236, 0.2);
}
.hero-scroll-fill {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 100%;
  background: rgba(243, 241, 236, 0.8);
  animation: scroll-fill 2s ease-in-out infinite;
}
@keyframes scroll-fill {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0%); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   Experience
   ========================================================================== */
.experience { border-bottom: 1px solid var(--border); padding-block: 7rem; }
@media (min-width: 640px) { .experience { padding-block: 9rem; } }

.experience-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
  .experience-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .experience-heading { grid-column: span 5; }
  .experience-copy { grid-column: 7 / span 6; }
}

.stats-grid {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.stat { border-top: 1px solid var(--border); padding-top: 2rem; }
.stat-value {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--foreground);
}
@media (min-width: 640px) { .stat-value { font-size: 3.75rem; } }
.stat-label { margin-top: 0.75rem; font-size: 0.875rem; letter-spacing: 0.02em; color: var(--muted-foreground); }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding-block: 7rem; }
@media (min-width: 640px) { .about { padding-block: 9rem; } }

.about-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .about-media { grid-column: 1 / span 6; }
  .about-copy { grid-column: 8 / span 5; }
}
.about-copy { display: flex; flex-direction: column; justify-content: center; }

.about-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--muted);
}
@media (min-width: 1024px) { .about-image-frame { aspect-ratio: 3 / 4; } }
.about-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}

.about-lead { margin-top: 2rem; }

.highlight-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(243, 241, 236, 0.8);
}
.highlight-mark { margin-top: 0.5rem; height: 1px; width: 1.5rem; flex-shrink: 0; background: var(--accent); }

.about-copy .link-underline { margin-top: 3rem; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio { border-top: 1px solid var(--border); padding-block: 7rem; }
@media (min-width: 640px) { .portfolio { padding-block: 9rem; } }

.portfolio-head { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 640px) { .portfolio-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.portfolio-filters { display: flex; flex-wrap: wrap; column-gap: 1.5rem; row-gap: 0.75rem; }
.filter-btn { font-size: 0.875rem; letter-spacing: 0.02em; color: var(--muted-foreground); transition: color 0.3s; }
.filter-btn:hover { color: var(--foreground); }
.filter-btn.is-active { color: var(--foreground); }

.portfolio-grid { margin-top: 4rem; column-count: 1; column-gap: 1.5rem; }
@media (min-width: 640px) { .portfolio-grid { column-count: 2; } }
@media (min-width: 1024px) { .portfolio-grid { column-count: 3; } }

.portfolio-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
  overflow: hidden;
  break-inside: avoid;
  background: var(--muted);
  text-align: left;
}
.portfolio-item.is-hidden { display: none; }
.portfolio-item.aspect-portrait { aspect-ratio: 3 / 4; }
.portfolio-item.aspect-landscape { aspect-ratio: 4 / 3; }
.portfolio-item.aspect-square { aspect-ratio: 1 / 1; }

.portfolio-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
  transition: transform 0.7s var(--ease-out-expo);
}
.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.5s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}
.portfolio-item:hover .portfolio-caption { transform: translateY(0); opacity: 1; }
.portfolio-title { display: block; font-family: var(--font-serif); font-size: 1.125rem; color: white; }
.portfolio-cat { display: block; margin-top: 0.25rem; color: rgba(255, 255, 255, 0.7); }
.portfolio-caption .icon { color: rgba(255, 255, 255, 0.8); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-expo);
}
.lightbox.is-open { display: flex; opacity: 1; }

.lightbox-top { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; }
@media (min-width: 640px) { .lightbox-top { padding: 1.25rem 2.5rem; } }

.lightbox-body {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0 1rem 1.5rem;
}
@media (min-width: 640px) { .lightbox-body { padding: 0 4rem 1.5rem; } }

.lightbox-body img {
  max-height: 75vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}
.lightbox-body img.is-shown { opacity: 1; transform: scale(1); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  height: 2.75rem; width: 2.75rem;
  align-items: center;
  justify-content: center;
  color: rgba(243, 241, 236, 0.7);
  transition: color 0.3s;
}
.lightbox-nav:hover { color: var(--foreground); }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
@media (min-width: 640px) { .lightbox-prev { left: 1.5rem; } .lightbox-next { right: 1.5rem; } }

.lightbox-caption { padding: 0 1.5rem 2rem; text-align: center; }
@media (min-width: 640px) { .lightbox-caption { padding: 0 2.5rem 2rem; } }
.lightbox-title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--foreground); }
@media (min-width: 640px) { .lightbox-title { font-size: 1.5rem; } }
#lightboxCategory { margin-top: 0.5rem; }

/* ==========================================================================
   Films
   ========================================================================== */
.films { border-top: 1px solid var(--border); background: var(--card); padding-block: 7rem; }
@media (min-width: 640px) { .films { padding-block: 9rem; } }

.films-head { max-width: 42rem; }

.films-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .films-grid { grid-template-columns: repeat(2, 1fr); } }

.film-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--muted);
  text-align: left;
}
.film-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.1);
  transition: transform 0.7s var(--ease-out-expo);
}
.film-card:hover img { transform: scale(1.04); }

.film-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background-color 0.5s;
}
.film-card:hover .film-overlay { background: rgba(0, 0, 0, 0.5); }

.film-play {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.film-play svg {
  display: flex;
  height: 4rem; width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 1.4rem;
  transition: transform 0.5s;
  box-sizing: border-box;
}
.film-card:hover .film-play svg { transform: scale(1.1); }

.film-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
}
.film-title { display: block; font-family: var(--font-serif); font-size: 1.125rem; color: white; }
.film-cat { display: block; margin-top: 0.25rem; color: rgba(255, 255, 255, 0.7); }
.film-duration { font-size: 0.75rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.7); }

/* Video modal */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.video-modal {
  position: fixed;
  top: 50%; left: 50%;
  z-index: 155;
  width: 95vw;
  max-width: 64rem;
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.video-modal.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }

.video-modal-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: black; }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.video-modal-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding-inline: 1.5rem;
  color: var(--foreground);
}
.video-modal-placeholder svg { color: rgba(243, 241, 236, 0.7); }
.video-modal-title { font-family: var(--font-serif); font-size: 1.25rem; }
.video-modal-note { max-width: 20rem; font-size: 0.875rem; color: var(--muted-foreground); }
.video-modal-note code { color: rgba(243, 241, 236, 0.7); }

.video-modal-close { position: absolute; top: 1rem; right: 1rem; color: rgba(255, 255, 255, 0.8); }
.video-modal-close:hover { color: white; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding-block: 7rem; }
@media (min-width: 640px) { .services { padding-block: 9rem; } }
.services-head { max-width: 42rem; }

.services-list { margin-top: 4rem; border-top: 1px solid var(--border); }

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-block: 2rem;
  transition: background-color 0.5s;
}
@media (min-width: 640px) {
  .service-row { grid-template-columns: repeat(12, 1fr); gap: 2rem; padding-block: 2.5rem; }
}
.service-row:hover { background: rgba(23, 23, 23, 0.4); }

.service-number {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--muted-foreground);
  transition: color 0.5s;
}
.service-row:hover .service-number { color: var(--accent); }
@media (min-width: 640px) { .service-number { grid-column: span 1; } }

.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
  transition: transform 0.5s;
  font-weight: 500;
}
@media (min-width: 640px) { .service-title { grid-column: span 4; font-size: 1.875rem; } }
.service-row:hover .service-title { transform: translateX(0.5rem); }

.service-desc { font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
@media (min-width: 640px) { .service-desc { grid-column: span 6; font-size: 1rem; } }

.service-arrow {
  color: transparent;
  opacity: 0;
  transform: translateY(-4px);
  transition: transform 0.5s, color 0.5s, opacity 0.5s;
}
@media (min-width: 640px) { .service-arrow { grid-column: span 1; justify-self: end; } }
.service-row:hover .service-arrow { transform: translateY(0); color: var(--foreground); opacity: 1; }

/* ==========================================================================
   Team
   ========================================================================== */
.team { border-top: 1px solid var(--border); padding-block: 7rem; }
@media (min-width: 640px) { .team { padding-block: 9rem; } }
.team-head { max-width: 42rem; }
.team-head .lead { margin-top: 1.5rem; }

.team-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5rem;
  row-gap: 3.5rem;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(5, 1fr); column-gap: 2rem; } }
@media (min-width: 1024px) { .team-offset { transform: translateY(2.5rem); } }

.team-photo { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--muted); }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.7s var(--ease-out-expo), filter 0.7s var(--ease-out-expo);
}
.team-member:hover .team-photo img { transform: scale(1.06); filter: grayscale(0%) contrast(1.05); }

.team-name { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.125rem; color: var(--foreground); }
.team-role { margin-top: 0.25rem; font-size: 0.75rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted-foreground); }

/* ==========================================================================
   Differentials
   ========================================================================== */
.differentials { background: var(--foreground); color: var(--background); padding-block: 7rem; }
@media (min-width: 640px) { .differentials { padding-block: 9rem; } }
.differentials-eyebrow { color: rgba(10, 10, 10, 0.6); }
.differentials-title { max-width: 48rem; color: var(--background); text-wrap: balance; }

.differentials-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 3rem;
}
@media (min-width: 640px) { .differentials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .differentials-grid { grid-template-columns: repeat(3, 1fr); } }

.differential { border-top: 1px solid rgba(10, 10, 10, 0.2); padding-top: 1.5rem; }
.differential-number { font-family: var(--font-serif); font-size: 0.875rem; color: rgba(10, 10, 10, 0.5); }
.differential-title { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.3; color: var(--background); font-weight: 500; }
.differential-desc { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgba(10, 10, 10, 0.65); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { border-top: 1px solid var(--border); padding-block: 7rem; }
@media (min-width: 640px) { .testimonials { padding-block: 9rem; } }
.testimonials-head { max-width: 42rem; }

.testimonials-wrap { margin-top: 4rem; }

.testimonials-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  padding-inline: 0.5rem;
}
@media (min-width: 1024px) { .testimonial-slide { flex: 0 0 80%; } }

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  border: 1px solid var(--border);
  padding: 2.5rem;
}
@media (min-width: 640px) { .testimonial-card { padding: 3.5rem; } }
@media (min-width: 1024px) { .testimonial-card { flex-direction: row; align-items: center; } }

.testimonial-quote { color: var(--accent); }

.testimonial-quote-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--foreground);
  text-wrap: balance;
  font-weight: 500;
}
@media (min-width: 640px) { .testimonial-quote-text { font-size: 1.875rem; } }

.testimonial-caption { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { position: relative; height: 3rem; width: 3rem; flex-shrink: 0; overflow: hidden; border-radius: 50%; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.testimonial-name { font-size: 0.875rem; color: var(--foreground); }
.testimonial-event { font-size: 0.75rem; color: var(--muted-foreground); }

.testimonials-controls { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; }

.testimonials-dots { display: flex; gap: 0.5rem; }
.dot { height: 0.375rem; width: 0.375rem; border-radius: 999px; background: var(--border); transition: width 0.3s, background-color 0.3s; }
.dot.is-active { width: 2rem; background: var(--foreground); }

.testimonials-arrows { display: flex; gap: 1rem; }
.arrow-btn {
  display: flex;
  height: 2.5rem; width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: rgba(243, 241, 236, 0.7);
  transition: border-color 0.3s, color 0.3s;
}
.arrow-btn:hover { border-color: var(--foreground); color: var(--foreground); }

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  position: relative;
  display: flex;
  min-height: 70vh;
  align-items: center;
  overflow: hidden;
  padding-block: 8rem;
}

.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%) contrast(1.1); }
.cta-overlay-dark { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.cta-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background), transparent, rgba(10, 10, 10, 0.4));
}

.cta-content { position: relative; z-index: 10; text-align: center; }
.cta-inner { margin-inline: auto; max-width: 48rem; }

.cta-eyebrow { margin-bottom: 2rem; color: rgba(243, 241, 236, 0.7); }

.cta-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--foreground);
  text-wrap: balance;
  font-weight: 500;
}
@media (min-width: 640px) { .cta-title { font-size: 3.75rem; } }

.cta-sub {
  margin-inline: auto;
  margin-top: 2rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: rgba(243, 241, 236, 0.75);
  text-wrap: balance;
}

.cta-actions {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 4rem; padding-block: 5rem; }

.footer-top { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }

.footer-brand { max-width: 24rem; }
.footer-tagline { margin-top: 1rem; }

.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; row-gap: 0.75rem; }
@media (min-width: 640px) { .footer-nav { display: flex; grid-template-columns: none; gap: 3rem; } }
.footer-nav a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.3s; }
.footer-nav a:hover { color: var(--foreground); }

.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { color: var(--muted-foreground); transition: color 0.3s; }
.footer-social a:hover { color: var(--foreground); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
