/* ------------------------------------------------------------------
    GLOBAL VARIABLES & BASE STYLES
  ------------------------------------------------------------------ */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --text: #7c7c7c;
  --text-muted: #666666;
  --border-subtle: #e5e5e5;
  --accent: #000000;
  --accent-soft: rgba(0, 0, 0, 0.07);
  --max-width: 1200px;
  --radius-soft: 8px;
  --transition-fast: 150ms ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  padding-top: 0px;
  letter-spacing: 0.01em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------
    SKIP LINK
  ------------------------------------------------------------------ */

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.75rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ------------------------------------------------------------------
    LAYOUT WRAPPER
  ------------------------------------------------------------------ */

.site-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* ------------------------------------------------------------------
    HEADER & NAVIGATION
  ------------------------------------------------------------------ */

.site-header {
  padding-top: 1rem;
}

/* Artist name / branding */
.artist-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  margin: 0 0 1rem;
}

/* Nav container */
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Nav links */
.site-nav a {
  text-decoration: none;
  color: #333333;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

.site-nav a:hover {
  text-decoration: underline;
  color: #000000;
}

/* Meta links (Instagram, Shop) */
.nav-meta-link {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666666;
}

/* Mobile nav toggle */
.nav-toggle {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.nav-toggle:hover {
  background-color: var(--bg-alt);
}

/* ------------------------------------------------------------------
    MAIN CONTENT
  ------------------------------------------------------------------ */

.site-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ------------------------------------------------------------------
    SECTIONS
  ------------------------------------------------------------------ */

.section {
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.section-header {
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.section-kicker {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222222;
}

.section-body p {
  margin-bottom: 1rem;
}

.section-columns {
  display: grid;
  gap: 1.5rem;
}

/* ------------------------------------------------------------------
    HERO / FEATURED WORK
  ------------------------------------------------------------------ */

.hero {
  display: grid;
  gap: 1.5rem;
}

.hero-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius-soft);
}

.hero-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #333;
}

.hero-note {
  font-size: 0.85rem;
  color: #777;
}

/* ------------------------------------------------------------------
    WORK GRID
  ------------------------------------------------------------------ */

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.filter-btn {
  border: 1px solid var(--border-subtle);
  background: transparent;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: #000;
  background-color: rgba(0, 0, 0, 0.06);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  /*     gap: 1.25rem;
 */
}

.work-card {
  /*     display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center; */
  border-radius: 6px;
  background-color: #fff;
  /*     border: 1px solid #ebebeb;
 */
}

.work-card figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-block-start: 10px;
  margin-block-end: 10px;
  margin-inline-start: 10px;
  margin-inline-end: 10px;
}

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

.work-card figcaption {
  padding: 0.6rem;
}

.work-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.work-meta {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.2rem;
}

/* ============================================
  WORKS PAGES (Year bar + grid like reference)
============================================ */

.works-shell {
  max-width: 1400px;
}

.works-page {
  padding: 2.2rem 0 3rem;
}

.works-years {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0 1.5rem;
  margin: 0 0 1.5rem;
/*   border-bottom: 1px solid #efefef;
 */}

.works-year-btn {
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
  position: relative;
}

.works-year-btn:hover {
  opacity: 0.55;
}

.works-year-btn.is-active {
  color: #111;
}

.works-year-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #111;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.works-item {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.works-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* ------------------------------------------------------------------
    CV / LISTS
  ------------------------------------------------------------------ */

.subheading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.3rem;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.plain-list li {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------
    CONTACT FORM
  ------------------------------------------------------------------ */

/* CHANGED: Contact no longer uses the old grid/form layout */
#contact {
  display: block;
}


#contact > .contact-form {
  grid-area: form;
}

/* Mobile: stack cleanly */
@media (max-width: 900px) {
  #contact {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "body"
      "form";
    gap: 2rem;
  }
}

.contact-form {
  margin-top: 1.5rem;
  max-width: 450px;
}

.form-row {
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.85rem;
  color: #333;
}

input,
textarea {
  font: inherit;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

input:focus,
textarea:focus {
  outline: 1px solid #000;
  border-color: #000;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  background-color: #000;
  color: #fff;
}

.button:hover {
  background-color: #222;
}

.form-note {
  font-size: 0.8rem;
  color: #777;
}

/* ============================================
  CONTACT (Replace form with simple contact card)
============================================ */

.contact-card {
  margin-top: 1.5rem;
  max-width: 450px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.2rem;
  background: #fff;
}

.contact-card-title {
  margin: 0 0 0.7rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #111;
}

.contact-card-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

.contact-email {
  display: inline-block;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #111;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.02);
  transition:
    opacity 140ms ease-out,
    transform 140ms ease-out,
    background 140ms ease-out;
}

.contact-email:hover {
  opacity: 0.65;
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.04);
}

.contact-card-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: #777;
}

/* ============================================
   CONTACT — side-by-side, space-between, equal height
============================================ */

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* equal height */
  gap: 1.2rem;          /* tighter than before */
  margin-top: 1.5rem;
}

.contact-row .contact-card {
  margin-top: 0;
  flex: 0 0 calc(50% - 0.6rem); /* true space-between feel */
  display: flex;
  flex-direction: column;
}

/* Optional: keeps them visually composed on very wide screens */
.contact-row .contact-card {
  max-width: 520px;
}

/* Mobile: stack cleanly */
@media (max-width: 900px) {
  .contact-row {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-row .contact-card {
    max-width: none;
    flex: 1 1 auto;
  }
}



/* ------------------------------------------------------------------
    FOOTER
  ------------------------------------------------------------------ */

.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.8rem;
  color: #999;
}

/* ------------------------------------------------------------------
    RESPONSIVE
  ------------------------------------------------------------------ */

@media (min-width: 768px) {
  /*     .hero {
      grid-template-columns: 1.3fr 1fr;
    }

    .section-columns {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    } */
}

/* Mobile nav expanding */
.site-nav.is-open {
  display: flex;
}

@media (max-width: 959.98px) {
  .site-nav {
    margin-top: 0.5rem;
  }
}

/* ============================================
    TOP NAV — 
  ============================================ */


/* Artist Name */
.nav-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 3.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  color: #555;
  transition: opacity 140ms ease-out;
}

.nav-list a:hover {
  opacity: 0.45;
}

/* ============================================
    FIXED DROPDOWN — NO GAP BELOW MENU ITEM
    Smooth hover, fully accessible
  ============================================ */

.has-dropdown {
  position: relative;
}

/* Invisible buffer so mouse never loses hover */
.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -10px;
  width: 180px;
  background: #fffffff9;
  padding: 1.2rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0px 6px 28px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.15s ease;
  z-index: 6000;
  list-style: none;
}

.dropdown li {
  padding: 0rem 0;
}

.dropdown a {
  font-size: 0.77rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666666f2;
}

/* Hover state */
.has-dropdown:hover .dropdown {
  opacity: 0.95;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============================
    Mobile Styles
  ============================ */

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

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #111;
  transition:
    transform 180ms ease,
    opacity 150ms ease;
}

/* Hamburger active state */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 960px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
/*     border-bottom: 1px solid #eee;
 */    display: none;
    padding: 1.5rem 0 2rem;
  }

  .nav-menu.is-open {
    display: block;
    animation: fadeDown 220ms ease-out;
  }

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    display: none;
    margin-top: -0.4rem;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }
}

/* ============================================
    FULL-WIDTH TOP NAVIGATION — FINAL VERSION
    (Responsive, modern, conflict-free)
  ============================================ */

.top-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 5000;
  padding: 2.3rem 0;
  opacity: 0.95;
/*   border-bottom: 1px solid #efefef; */
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  text-decoration: none;
  color: #111;
  white-space: nowrap;
}

/* Desktop nav list */
.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 3.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li > a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  color: #555;
  transition: opacity 130ms ease-out;
}

.nav-list > li > a:hover {
  opacity: 0.45;
}

/* ============================================
    MOBILE NAV
  ============================================ */

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

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: #111;
  transition:
    transform 180ms ease,
    opacity 150ms ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu container */
@media (max-width: 960px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #ffffff;
/*     border-bottom: 1px solid #eee;
 */    padding: 1.6rem 0 2rem;
  }

  .nav-menu.is-open {
    display: block;
    animation: fadeDown 200ms ease-out;
  }

  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-list {
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
  }

  /* Mobile dropdown */
  .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    padding: 0;
    margin-top: -0.3rem;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }
}

/* ============================================
    OPENING SCENE (SPLASH SCREEN)
  ============================================ */

/* 1. The Container */
.opening-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999; /* Must be higher than everything else */
  background-color: #000; /* Fallback color */
  display: flex;
  align-items: center;
  padding-left: 10vw; /* Push 10% from the left edge */
  padding-right: 5vw;
  transition:
    opacity 0.8s ease-in-out,
    visibility 0.8s ease-in-out;
}

/* TEMP VIDEO-ONLY MODE (May 2026)
   Revert by removing this block after slideshow + Enter button are restored in index.html.
*/
.opening-scene--video-only {
  align-items: flex-end;
  padding-bottom: max(8vh, 1.25rem);
}

.opening-scene--video-only .os-content {
  max-width: none;
}

.opening-scene--video-only .os-controls {
  gap: 0.75rem;
}

.opening-scene--intro-white {
  background: #ffffff;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}

.opening-scene--intro-white .os-content {
  width: max-content;
  max-width: calc(100% - 3rem);
  margin: clamp(28vh, 40vh, 46vh) 0 0 clamp(2rem, 5vw, 5.5rem);
  color: #b9b9b9;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 220ms ease;
}

.opening-scene--intro-white.is-intro-ready .os-content {
  opacity: 1;
}

.opening-scene--intro-white .os-title {
  color: #b9b9b9;
  text-shadow: none;
  font-weight: 300;
  font-size: clamp(2.2rem, 6.2vw, 5.9rem);
  letter-spacing: 0.175em;
  text-transform: uppercase;
  margin: 0 0 2.9rem 0;
  margin-left: -0.08em;
  white-space: nowrap;
}

.opening-scene--intro-white .os-title-letter {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateX(-22px) skewX(-2deg);
  animation: introLetterCinematic 980ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--letter-index) * 82ms);
  will-change: transform, opacity, filter;
}

.opening-scene--intro-white .os-title-letter--space {
  width: 0.38em;
}

.opening-scene--intro-white .os-controls {
  justify-content: flex-start;
  gap: 0;
  width: auto;
  margin-left: 0;
  position: static;
}

.opening-scene--intro-white .os-btn {
  border: 0 !important;
  color: #bebebe;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: clamp(0.88rem, 1.5vw, 1.85rem);
  letter-spacing: 0.23em;
  margin-left: 0.34em;
  transform: translateY(-0.08em);
}

.opening-scene--intro-white .os-btn:hover {
  background: transparent;
  color: #9b9b9b;
}

.opening-scene--intro-white .os-social {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: clamp(2rem, 5vw, 5.5rem);
  bottom: clamp(2rem, 6vh, 6rem);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #bcbcbc;
  background: rgba(255, 255, 255, 0.95);
  color: #8f8f8f;
  z-index: 100000;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 220ms ease, transform 220ms ease;
}

.opening-scene--intro-white .os-social svg {
  display: block;
}

.opening-scene--intro-white .os-social:hover {
  background: #f4f4f4;
  color: #666;
  border-color: #9c9c9c;
  opacity: 0.82;
  transform: scale(1.04);
}

.opening-scene--intro-white .os-social:focus-visible {
  outline: 2px solid #8b816b;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .opening-scene--intro-white .os-title-letter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@keyframes introLetterCinematic {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateX(-22px) skewX(-2deg);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}

.os-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.os-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Opening scene should NEVER flash: default hidden */
#opening-scene {
  display: flex;
}

/* Only show when JS decides it should run */
#opening-scene.is-enabled {
  display: flex;
}

.transition-loader {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.transition-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.transition-loader__inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.transition-loader__ring {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(182, 182, 182, 0.5);
  border-top-color: rgba(120, 120, 120, 0.9);
  animation: transitionLoaderSpin 900ms linear infinite;
}

/* 2. The Content (Text & Buttons) */
.os-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left; /* Align text left */
  max-width: 800px;
}

.os-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 2.5vw, 5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 2rem 0; /* Margin bottom */
  line-height: 1.1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.os-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.os-lang-group {
  display: flex;
  gap: 1rem;
}

.os-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.os-btn {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0 !important;          /* kills the UA border */
  outline: 0;                    /* kills default outline */
  box-shadow: none;              /* kills any focus ring shadow */
  color: #fff;
  padding: 0.7rem 1.6rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/*.os-btn:hover {
  background: #ffffffed;
  color: #000;
/*   border-color: #fff;
 *}*/

 /*   border: 1px solid rgba(255, 255, 255, 0.8);
 */

.os-social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%; /* Circle shape */
  transition: all 0.3s ease;
}

.os-social svg {
  width: 20px;
  height: 20px;
}

.os-social:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.os-audio-toggle {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.os-audio-toggle:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.os-audio-toggle .os-audio-icon {
  width: 20px;
  height: 20px;
}

.os-audio-toggle .os-audio-icon--unmuted {
  display: none;
}

.os-audio-toggle.is-unmuted .os-audio-icon--muted {
  display: none;
}

.os-audio-toggle.is-unmuted .os-audio-icon--unmuted {
  display: block;
}

.video-page {
  margin: 0;
  background: #fff;
}

.video-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

.video-stage__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-stage__loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 340ms ease, visibility 340ms ease;
}

.video-stage__loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-stage__loading-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.video-stage__loading-ring {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(182, 182, 182, 0.5);
  border-top-color: rgba(120, 120, 120, 0.9);
  animation: transitionLoaderSpin 900ms linear infinite;
}

@keyframes transitionLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.video-stage__controls {
  position: absolute;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 2;
}

.video-stage__sound-hint {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* 3. The Slideshow Logic */
.os-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 4 images
  .os-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    /* Animation settings: 24s total loop, 4 images = 6s each 
    animation: slideShowFade 24s infinite; 
  }

  /* Stagger the animations so images crossfade 
  .os-slide:nth-child(1) { animation-delay: 0s; }
  .os-slide:nth-child(2) { animation-delay: 6s; }
  .os-slide:nth-child(3) { animation-delay: 12s; }
  .os-slide:nth-child(4) { animation-delay: 18s; }

  @keyframes slideShowFade {
    0% { opacity: 0; animation-timing-function: ease-in; }
    1% { opacity: 1; animation-timing-function: ease-out; } 
    25% { opacity: 1; }
    29% { opacity: 0; }
    100% { opacity: 0; }
  }
    */

/* ============================================
    SLIDESHOW LOGIC (UPDATED FOR 6 IMAGES)
    Total Loop: 24s (6 images x 4s each)
  ============================================ */

.os-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;

  /* CHANGED: Total loop time is now 24s */
  animation: slideShowFade 18s infinite;
}

/* DELAYS: Increment by 4 seconds 
    (0s, 4s, 8s, 12s, 16s, 20s)
  */
.os-slide:nth-child(1) {
  animation-delay: 0s;
}
.os-slide:nth-child(2) {
  animation-delay: 3s;
}
.os-slide:nth-child(3) {
  animation-delay: 6s;
}
.os-slide:nth-child(4) {
  animation-delay: 9s;
}
.os-slide:nth-child(5) {
  animation-delay: 12s;
} /* New */
.os-slide:nth-child(6) {
  animation-delay: 15s;
} /* New */

/* KEYFRAMES: 
    100% divided by 6 images = ~16.6% per image.
    We fade in quickly (0-3%), hold until ~16%, then fade out.
  */
@keyframes slideShowFade {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  1% {
    opacity: 1;
    animation-timing-function: ease-out;
  } /* Quick fade in */
  17% {
    opacity: 1;
  } /* Hold visible until 17% of total time */
  20% {
    opacity: 0;
  } /* Fade out by 20% */
  100% {
    opacity: 0;
  }
}

/* Optional: Dark overlay to make text readable over bright images */
.os-slideshow::after,
.os-video-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

/* 4. The Exit State */
.opening-scene.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Prevent scrolling while splash screen is visible */
body.scroll-locked {
  overflow: hidden;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .os-title {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }
  .os-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
  }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .opening-scene {
    padding-left: 5vw; /* Less padding on mobile */
    align-items: flex-end; /* Position bottom-left on mobile often looks nice */
    padding-bottom: 20vh;
  }

  .os-title {
    /* Adjust clamp slightly for mobile constraints */
    font-size: clamp(1.7rem, 2.1vw, 3.4rem);
  }

  .os-controls {
    flex-direction: column; /* Stack buttons and icons on very small screens */
    align-items: flex-start;
  }

  .opening-scene--video-only {
    align-items: flex-end;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .opening-scene--video-only .os-content {
    width: 100%;
  }

  .opening-scene--video-only .os-controls {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .opening-scene--intro-white {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
  }

  .opening-scene--intro-white .os-content {
    margin: clamp(24vh, 34vh, 40vh) 0 0 clamp(1.1rem, 5vw, 1.6rem);
    max-width: calc(100% - 2rem);
    text-align: left;
  }

  .opening-scene--intro-white .os-title {
    font-size: clamp(0.94rem, 5.5vw, 1.38rem);
    letter-spacing: 0.115em;
    white-space: normal;
    margin: 0 0 1.75rem 0;
    margin-left: -0.06em;
  }

  .opening-scene--intro-white .os-title-letter {
    animation-delay: calc(var(--letter-index) * 62ms);
  }

  .opening-scene--intro-white .os-controls {
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0;
    gap: 0;
    align-items: flex-start;
  }

  .opening-scene--intro-white .os-btn {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    margin-left: 0.3em;
    transform: translateY(-0.06em);
  }

  .opening-scene--intro-white .os-social {
    left: max(1.1rem, env(safe-area-inset-left));
    bottom: max(1.1rem, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

}

/* ============================================
  LIGHTBOX
============================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 260ms ease;
}

.lightbox.is-open .lightbox-backdrop {
  opacity: 1;
}

.lightbox-panel{
  position: relative;
  width: min(1100px, calc(100vw - 4rem));
  height: min(820px, calc(100vh - 4rem));
  margin: 2rem auto;
  background: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.18);
}

.lightbox.is-open .lightbox-panel {
  transform: translateY(0);
  opacity: 1;
}

.lb-main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lb-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lb-meta {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  min-height: 4rem;
    flex: 0 0 auto;
}

.lb-title {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  height: auto;
  width: auto;
  margin: 0;
}

.lb-desc {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.3rem;
}

.lb-strip {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-top: 0.5rem;
    flex: 0 0 auto;

}

.lb-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 120ms ease;
  border-radius: 4px;
}

.lb-thumb.is-active {
  opacity: 1;
}

.lb-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease;
}

.lb-close:hover {
  opacity: 0.7;
  transform: translateY(-1px);
  background: rgba(255,255,255,0.95);
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.6rem;
  color: #111;
  opacity: 0.9;
  transition: opacity 140ms ease, transform 140ms ease, background 140ms ease;
}

.lb-prev { left: 0.9rem; }
.lb-next { right: 0.9rem; }

.lb-prev:hover,
.lb-next:hover {
  opacity: 0.65;
  background: rgba(255,255,255,0.95);
}

@media (max-width: 720px) {
  .lightbox-panel {
    margin: 2vh 0.8rem;
    padding: 1.1rem;
    border-radius: 16px;
  }

  .lb-image {
    max-height: 62vh;
  }
}


/* ============================================
  ABOUT — Text + 2x2 image grid
============================================ */

.about-shell--2x2 {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

/* Desktop: two columns */
@media (min-width: 960px) {
  .about-shell--2x2 {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.25rem;
    align-items: center; /* KEY: removes the “hanging text” feeling */
  }
}

/* Right side: strict 2x2 */
.about-media--2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Card style (keep your look) */
.about-photo {
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition:
    transform 160ms ease-out,
    opacity 160ms ease-out;
}

.about-photo:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}

/* Text styling (yours, just ensuring it reads clean) */
.about-copy {
  color: #222;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-note {
  color: #777;
  font-size: 0.9rem;
}

/* Mobile: stack, keep 2 columns until it gets too small */
@media (max-width: 560px) {
  .about-shell--2x2 {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-media--2x2 {
    grid-template-columns: 1fr;
  }
}

/* CHANGED: Loader overlay (on-brand, minimal) */
.os-loader {
  position: absolute;
  inset: 0;
  z-index: 3; /* above slideshow overlay, below nothing else */
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 10vw;
  padding-right: 5vw;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.os-loader-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: osSpin 900ms linear infinite;
}

@keyframes osSpin {
  to {
    transform: rotate(360deg);
  }
}

.os-loader-type {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.os-loader-name {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.95rem;
  font-weight: 300;
}

.os-loader-sub {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  opacity: 0.75;
}

/* CHANGED: When first slide is ready, fade loader out */
.opening-scene.is-loaded .os-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Mobile alignment tweak to match your bottom-left composition */
@media (max-width: 768px) {
  .os-loader {
    padding-left: 5vw;
    padding-bottom: 20vh;
    align-items: flex-end;
  }
}

.has-dropdown:focus-within .dropdown {
  opacity: 0.95;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ✅ ADD: Mobile nav spacing + hamburger hit-area */
@media (max-width: 960px) {
  .nav-inner {
    padding: 0 1.25rem; /* was 0 2rem on desktop */
  }

  .top-nav {
    padding: 1.6rem 0;  /* optional: reduces tall header on mobile */
  }

  .nav-hamburger {
    padding: 10px;      /* gives breathing room + better tap target */
    margin-right: -6px; /* OPTIONAL: keeps visual alignment if padding makes it feel too inset */
  }
}

/* ✅ ADD THIS AT THE VERY END OF styles.css */
@media (max-width: 960px) {
  header.top-nav .nav-inner {
    padding-left: calc(0px + env(safe-area-inset-left)) !important;
    padding-right: calc(16px + env(safe-area-inset-right)) !important;
  }

  header.top-nav .nav-hamburger {
    padding: 12px !important;      /* bigger tap target */
    margin-right: 4px !important;  /* keeps it off the edge */
  }
}

/* ✅ FIX: Mobile menu centered + dropdown always open */
@media (max-width: 960px) {
  /* center the whole stack */
  header.top-nav .nav-menu {
    text-align: center;
  }

  header.top-nav .nav-list {
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  /* kill the desktop hover buffer on mobile */
  header.top-nav .has-dropdown::after {
    display: none;
  }

  /* dropdown should ALWAYS show on mobile */
  header.top-nav .has-dropdown .dropdown {
    display: flex !important;       /* force open */
    flex-direction: column;
    align-items: center;            /* center the list */
    gap: 1.1rem;

    position: static;               /* ensure not floating */
    width: 100%;
    margin-top: 0.6rem;
    padding: 0;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;

    background: transparent;        /* remove desktop panel look */
    box-shadow: none;
    border-radius: 0;
  }

  header.top-nav .has-dropdown .dropdown li {
    padding: 0;
  }

  header.top-nav .has-dropdown .dropdown a {
    display: inline-block;
    text-align: center;
  }
}

/* ============================================================
   ✅ ADD: Modern mobile menu overlay (full-screen + centered)
   Put this at the VERY END of styles.css
============================================================ */
@media (max-width: 960px) {
  /* Make the header stay above the overlay */
  header.top-nav {
    position: sticky;
    top: 0;
    z-index: 7000; /* above page content */
  }

  /* Full-screen overlay panel */
  header.top-nav .nav-menu {
    position: fixed;
    inset: 0; /* full screen */
    display: none; /* closed by default */
    padding: calc(90px + env(safe-area-inset-top)) 24px
      calc(36px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;

    /* animation base */
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 220ms ease;
  }

  /* Open state */
  header.top-nav .nav-menu.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Center the whole menu stack */
  header.top-nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
  }

  /* Bigger / nicer tap targets */
  header.top-nav .nav-list > li > a {
    display: inline-block;
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;      /* slightly larger on mobile */
    letter-spacing: 0.22em; /* modern spacing */
    color: #111;
  }

  /* Dropdown: ALWAYS OPEN and centered on mobile */
  header.top-nav .has-dropdown::after {
    display: none; /* remove desktop hover buffer */
  }

  header.top-nav .has-dropdown .dropdown {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1.05rem;

    position: static;
    width: 100%;
    margin: 0.35rem 0 0;
    padding: 0;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;

    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  header.top-nav .has-dropdown .dropdown a {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: rgba(17, 17, 17, 0.72);
    padding: 0.35rem 0.4rem;
  }

  /* Keep hamburger above overlay */
  header.top-nav .nav-hamburger {
    position: relative;
    z-index: 8000;
  }

  /* Optional: soften brand while menu is open (nice polish) */
  header.top-nav .nav-menu.is-open ~ * {
    pointer-events: none;
  }
}

/* ✅ ADD: lock page scroll when mobile menu is open */
body.nav-locked {
  overflow: hidden;
}
