/* ============================
   FONTS
============================ */
@font-face {
  font-family: "BricolageGrotesque";
  src: url("assets/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/Jost.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}
/* Custom background color for different footers */
/* LIGHT THEME (background: #EEEEEE) */
.page-theme-light {
  --footer-bg-highlight: rgba(255, 255, 255, 0.20);
  --footer-bg-falloff: rgba(255, 255, 255, 0.20);
  --footer-bg-base: rgba(255, 255, 255, 0.20);
  --footer-border: rgba(255, 255, 255, 0.40);
  --footer-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  --footer-rim: rgba(0, 0, 0, 0.05);
  --footer-text: #000000;
  --footer-underline: rgba(0, 0, 0, 0.85);
  --footer-dropdown-bg: rgba(255, 255, 255, 0.8);
  --footer-dropdown-border: rgba(0, 0, 0, 0.08);
  --footer-dropdown-shadow:
    0 12px 28px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.65);
  --footer-dropdown-text: #000000;
  --contact-btn-bg: #000;
  --contact-btn-text: #fff;
  --header-bg: #FFFFFF;
  --header-border: 1px solid #BABABA;
  --header-text: #000000;
  --span: #000;
  --close: #000;
}
/* DARK THEME (background: #000000) */
.page-theme-dark {
  --footer-bg-highlight: rgba(0, 0, 0, 0.6);
  --footer-bg-falloff: rgba(0, 0, 0, 0.6);
  --footer-border: rgba(255, 255, 255, 0.25);
  --footer-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
  --footer-rim: rgba(255, 255, 255, 0.12);
  --footer-dropdown-bg: rgba(0, 0, 0, 0.6);
  --footer-dropdown-border: rgba(255, 255, 255, 0.25);
  --footer-dropdown-shadow:
    0 18px 40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  --footer-dropdown-text: #ffffff;
  --footer-text: #ffffff;
  --footer-underline: rgba(255, 255, 255, 0.85);
  --contact-btn-bg: #f3efef;
  --contact-btn-text: #813408;
  --header-bg: #000000;
  --header-border: 1px solid #BABABA;
  --header-text: #ffffff;
  --span: #fff;
  --close: #fff;
}
/* ============================
   GLASS VARIABLES
============================ */
:root {
  --lg-bg-color: rgba(255, 255, 255, 0.25);
  --lg-highlight: rgba(255, 255, 255, 0.75);
  --lg-text: #ffffff;
  --lg-hover-glow: rgba(255, 255, 255, 0.4);
  --lg-red: #fb4268;
  --lg-grey: #5b5b5b;
  --contact-btn-bg: #bababa;
  /* default background */
  --contact-btn-text: #2f2f2f;
  /* default text */
}
/* ============================
   RESET
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "BricolageGrotesque";
}
html,
body {
  height: 100%;
  width: 100%;
}
body.page-theme-dark {
  background: #000000;
}
/* LIGHT pages (about, detail page etc.) */
body.page-theme-light {
  background: #f3f3f3;
}
/* ============================
   HEADER
============================ */
.header-container {
  top: 0;
  z-index: 900;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 0;
}
/* optional hide-on-scroll */
.header-container.header-hidden {
  transform: translateY(-120px);
  opacity: 0;
  pointer-events: none;
}
/* main bar */
.header-content {
  width: 100%;
  height: 72px;
  padding: 12px 25px;
  background: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* BRAND (left side) */
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--header-text);
}
.header-brand:link,
.header-brand:visited,
.header-brand:hover {
  text-decoration: none;
  color: var(--header-text);
}
/* small logo container — DESKTOP hides, MOBILE uses */
.header-brand-icon {
  display: none;
  /* desktop: hidden */
}
/* base logo style (shared) */
.header-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
/* default vs alt logo toggling */
.header-logo-default {
  display: block;
}
.header-logo-alt {
  display: none;
}
body.use-alt-logo .header-logo-default {
  display: none;
}
body.use-alt-logo .header-logo-alt {
  display: block;
}
/* text "COCOON MEDIA" */
.header-brand-text {
  font-size: 18px;
  font-weight: 700;
  font-family: "Jost";
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* keep old .logo class (if used somewhere) */
.logo {
  font-size: 18px;
  font-weight: 700;
  font-family: "Jost";
}
/* DESKTOP right-side logo (old behaviour) */
.header-icon-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* CONTACT in header: hidden on desktop, mobile only */
.header-contact-btn {
  display: none;
}
/* ---------- MOBILE HEADER (<=768px) ---------- */
@media (max-width: 768px) {
  /* header floats over hero */
  .header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: transparent;
  }
  .header-content {
    background: var(--header-bg);
    border: none;
    height: auto;
    padding: 10px 14px;
  }
  /* Brand: icon ABOVE text, aligned left */
  .header-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .header-brand-icon {
    display: flex;
    /* show icon on mobile */
    align-items: center;
    justify-content: flex-start;
  }
  .header-brand-icon .header-logo {
    width: 72px;
    /* bigger icon */
    height: auto;
    margin-left: 40px;
  }
  .header-brand-text {
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 10px;
  }
  /* hide the separate desktop icon on mobile */
  .header-icon-desktop {
    display: none;
  }
  /* show CONTACT pill on the right */
  .header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 24px;
    height: 32px;
    border-radius: 0;
    border: 1px solid #714929;
    color: #714929;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    box-shadow: none;
    cursor: pointer;
  }
  .header-contact-btn:hover {
    background: rgba(200, 122, 62, 0.12);
  }
}
/* Fix spacing for fixed header + mobile footer on all pages */
@media (max-width: 768px) {
  /* ABOUT / LIGHT PAGES (like Behind the Brand) */
  body.page-theme-light {
    padding-bottom: 80px;
  }
  /* STUDIO PAGE – add top space for header */
  body.studio-page .studio-main {
    padding-top: 90px;
    padding-bottom: 180px;
  }
  /* PORTFOLIO PAGE – offset content from header + footer */
  body.portfolio-page .portfolio-wrapper {
    margin-top: 90px;
    padding-bottom: 120px;
  }
}
/* ============================
   HERO
============================ */
.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.hero-image {
  width: 92%;
  height: auto;
  display: block;
}
/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .hero {
    margin-top: 100px;
    /* below mobile header */
  }
  .hero-image {
    width: 100%;
    max-width: 100%;
    /* ---- MOBILE HERO IMAGE ---- */
    content: url("assets/images/studio_hero_mobile.png");
    /* Replace filename with your real mobile hero image */
  }
}
/* ============================
   ABOUT SECTION (if used)
============================ */
.about-section {
  text-align: center;
  padding: 25px 20px;
  max-width: 850px;
  margin: 0 auto;
}
.about-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #b35a3e;
  letter-spacing: 1px;
}
.about-content p {
  font-size: 16px;
  color: #777373;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: left;
  font-family: "Jost";
}
.about-content {
  text-align: left;
}
/* ============================
   FOOTER NAV BAR — FLOATING
============================ */
.footer-nav-container {
  position: fixed;
  left: 0;
  bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
}
.footer-nav {
  width: 100%;
  padding: 8px 25px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  text-align: center;
  background: linear-gradient(145deg,
      var(--footer-bg-highlight),
      var(--footer-bg-falloff));
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
}
/* align three columns */
.footer-nav> :nth-child(1) {
  justify-self: start;
}
.footer-nav> :nth-child(2) {
  justify-self: center;
}
.footer-nav> :nth-child(3) {
  justify-self: end;
}
/* --- Social icons --- */
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social .icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}
.footer-social .icon img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.3);
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* generic hover */
.footer-social .icon:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.footer-social .icon:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}
/* --- Menu links --- */
.footer-menu {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.footer-menu a {
  text-decoration: none;
  font-size: 12px;
  color: var(--footer-text);
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}
.footer-menu a.active {
  color: var(--footer-text-hover);
  font-weight: 700;
}
.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--footer-underline);
  transition: width 0.25s ease;
}
.footer-menu a:hover::after {
  width: 100%;
}
/* ---- UNIFIED ICON BASE (desktop + mobile) ---- */
.footer-social .icon img,
.mobile-footer-social .icon img,
.mobile-menu-social .icon img {
  filter: grayscale(1) brightness(1.2);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}
/* ---- MOBILE TAP → show color ---- */
@media (max-width: 768px) {
  .mobile-footer-social .icon:active img,
  .mobile-menu-social .icon:active img {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.06);
  }
}
/* --- CONTACT button --- */
.contact-btn {
  position: relative;
  z-index: 0;
  height: 42px;
  padding: 8px 22px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 12px;
  font-family: "BricolageGrotesque";
  font-weight: 700;
  color: var(--contact-btn-text);
  background: var(--contact-btn-bg);
  border: 1px solid #714929;
  backdrop-filter: blur(4px) saturate(180%);
  -webkit-backdrop-filter: blur(4px) saturate(180%);
}
/* ============================
   MAIN BACKGROUND IMAGE (HOME)
============================ */
.main-background {
  position: absolute;
  top: 102px;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("assets/images/t1.jpg") center -80px no-repeat;
  background-size: 80%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .main-background {
    background-size: 100%;
    background-position: center -60px;
  }
}
/* MOBILE — Replace background image */
/* MOBILE - Ensure background fits inside clip-path reveal */
@media (max-width: 768px) {
  .main-background {
    position: absolute;
    inset: 0;
    background: url("assets/images/t1.jpg") center center no-repeat;
    background-size: cover;
    z-index: 0;
    /* keep behind content */
    pointer-events: none;
  }
}
/* @media (max-width: 480px) {
  .main-background {
    background-size: contain;
    background-position: center top;
  }
} */
/* ============================
   PORTFOLIO DETAIL AREA
============================ */
.portfolio-detail-page {
  background: #f3f3f3;
}
/* default card layout */
.detail-wrapper {
  width: 100%;
  margin: 0px;
  margin-left: 50px;
  padding: 0px 46px 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
/* Top text block */
detail-text-block {
  max-width: 720px;
}
.detail-title {
  font-size: 32px;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
}
.detail-subtitle {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 14px;
}
.detail-film-by {
  font-size: 13px;
  font-family: "Jost";
  color: #2461ff;
  margin-bottom: 6px;
}
.detail-film-by span {
  color: #111;
}
.detail-meta-line {
  font-size: 11px;
  font-family: "Jost";
  color: #555;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Watch / share row */
.detail-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.detail-watch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-watch-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
}
.youtube-pill {
  border: none;
  outline: none;
  padding: 7px 16px;
  border-radius: 999px;
  background: #ff0000;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-family: "Jost";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.youtube-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.detail-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-share-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
}
.detail-share-icon {
  width: 32px;
  height: 32px;
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-share-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Video frame */
.detail-video {
  margin-top: 10px;
}
.detail-video-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
/* .video-iframe-wrapper {
  position: absolute;
  inset: 0;            
  width: 100%;
  height: 100%;
}
.video-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;  
} */
/* still image + iframe share the same sizing */
.detail-video-inner img,
.detail-video-inner iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
/* FIX: keep iframe aspect ratio correct on mobile */
.detail-video-inner iframe {
  object-fit: contain !important;
}
/* FIX MOBILE VIDEO COLLAPSE */
@media (max-width: 960px) {
  .portfolio-page .detail-video {
    width: 100%;
  }
  .portfolio-page .detail-video-inner {
    width: 100%;
    height: auto;
    /* <-- IMPORTANT */
    aspect-ratio: 16 / 9;
    /* <-- ensure stable ratio */
  }
  .portfolio-page .video-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }
}
/* ---- MOBILE FIX: video should stay full width ---- */
@media (max-width: 768px) {
  .portfolio-page .detail-video {
    width: 100% !important;
  }
  .portfolio-page .detail-video-inner {
    width: 100% !important;
    /* full width */
    max-width: 100% !important;
    margin: 0 auto !important;
    /* center it */
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    /* prevents shrinking */
  }
  .portfolio-page .video-iframe-wrapper {
    width: 100% !important;
    height: 100% !important;
  }
  .portfolio-page .video-iframe-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}
.detail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.detail-play span {
  margin-left: 3px;
  font-size: 26px;
  color: #111;
}
.detail-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 18px 0 4px;
}
/* MOBILE: hide detail navigation (prev / current / next icons) */
@media (max-width: 768px) {
  .portfolio-page .detail-pagination {
    display: none !important;
  }
}
/* base button style – no circle bg */
.detail-film-icon,
.detail-arrow {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* image sizing */
.detail-film-icon img,
.detail-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
/* LEFT icon slightly softer by default */
.detail-film-icon-prev img {
  opacity: 0.6;
  transform: scale(0.9);
}
/* center icon stays normal */
.detail-film-icon-current img {
  opacity: 1;
  transform: scale(1);
}
/* HOVER – only recolour icon close to #b35a3e (no circle) */
.detail-film-icon:hover img,
.detail-arrow:hover img {
  opacity: 1;
  filter:
    brightness(0) saturate(100%) sepia(1) hue-rotate(8deg) saturate(900%) contrast(1.05);
}
/* Responsive detail page (generic) */
@media (max-width: 900px) {
  .detail-wrapper {
    width: 100%;
    padding: 28px 20px 26px;
    margin-left: 0;
  }
  .detail-title {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  /* keep WATCH + YouTube + SHARE on one row */
  .detail-actions {
    flex-direction: nowrap;
    align-items: flex-start;
  }
  .detail-watch {
    flex-shrink: 0;
  }
  .detail-share {
    margin-left: auto;
    /* push share to the right side */
    gap: 6px;
  }
  .detail-share-label {
    display: none;
    /* hide "SHARE" text on small screens */
  }
}
/* Related portfolio heading on detail page */
.detail-related-title {
  width: 92%;
  margin: 0 auto 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777;
  font-family: "Jost";
}
/* ============================
   INLINE DETAIL ON PORTFOLIO PAGE
============================ */
/* hidden by default on portfolio page */
.portfolio-page .detail-wrapper {
  display: none;
}
/* when a card is clicked, JS adds .is-visible */
.portfolio-page .detail-wrapper.is-visible {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0px auto 0px;
  padding: 10px 60px 0px;
  background: #ffffff;
  border-radius: 32px;
}
/* text column on the left */
.portfolio-page .detail-text-block {
  max-width: 325px;
}
/* video column on the right */
.portfolio-page .detail-video {
  margin-top: 0;
  flex: 1;
  width: 100%;
}
/* Fix video centering when inner width is 80% */
.portfolio-page .detail-video-inner {
  width: 90%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  /* centers it */
}
.portfolio-page .detail-video-inner img {
  object-fit: cover;
  object-position: center center;
}
/* responsive: stack on small screens */
@media (max-width: 960px) {
  .portfolio-page .detail-wrapper.is-visible {
    flex-direction: column;
    padding: 10px 10px 0px;
    margin-bottom: 20px;
  }
  .portfolio-page .detail-text-block {
    max-width: 100%;
  }
}
/* ============================
   RESPONSIVE FOOTER
============================ */
@media (max-width: 768px) {
  .footer-nav {
    grid-template-columns: 1fr;
    row-gap: 18px;
    text-align: center;
  }
  .footer-nav>* {
    justify-self: center;
  }
  .footer-social {
    justify-content: center;
    width: 100%;
    gap: 14px;
    flex-wrap: wrap;
  }
  .footer-menu {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .contact-btn {
    width: 40%;
  }
}
/* GLASS DROPDOWN MENU – DESKTOP FOOTER ONLY (click + smooth) */
.footer-nav .dropdown-menu {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 14px;
  min-width: 180px;
  overflow: hidden;
  background-color: var(--footer-dropdown-bg);
  border: 1px solid var(--footer-dropdown-border);
  box-shadow: var(--footer-dropdown-shadow);
  color: var(--footer-dropdown-text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.footer-nav .dropdown-menu::before {
  content: "";
  position: absolute;
  inset: -80%;
  opacity: 0.65;
  mix-blend-mode: screen;
}
.footer-nav .dropdown-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
/* content on top of the liquid */
.footer-nav .dropdown-menu>* {
  position: relative;
  z-index: 2;
}
/* CLICKED OPEN STATE (JS toggles .is-open) */
.footer-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Links inside desktop dropdown */
.footer-nav .dropdown-menu a {
  text-decoration: none;
  font-size: 12px;
  font-family: "Jost";
  color: var(--footer-text);
  font-weight: 500;
  padding: 6px 8px;
  white-space: nowrap;
}
.footer-nav .dropdown-menu a:hover {
  color: var(--footer-text);
}
/* ============================
   MOBILE FOOTER – PORTFOLIO SUBMENU
============================ */
.mobile-menu-portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-menu-portfolio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-menu-portfolio-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}
/* rotate arrow when open */
.mobile-menu-portfolio.is-open .mobile-menu-portfolio-arrow {
  transform: rotate(180deg);
}
/* black glass card under PORTFOLIO */
.mobile-portfolio-submenu {
  display: none;
  width: 100%;
  padding: 12px 0 6px;
  /* background: rgba(0, 0, 0, 0.95); */
  /* backdrop-filter: blur(8px); */
  /* -webkit-backdrop-filter: blur(8px); */
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-portfolio.is-open .mobile-portfolio-submenu {
  display: flex;
}
.mobile-portfolio-submenu a {
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
}
/* ============================
   PORTFOLIO CARD ENTRANCE ANIM
============================ */
.portfolio-page .video-card {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
}
.portfolio-page .video-card.card-in {
  animation: cardCenterZoom 1.05s cubic-bezier(0.23, 0.86, 0.32, 1.01) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes cardCenterZoom {
  0% {
    opacity: 0;
    transform: translate3d(var(--from-x, 0px), var(--from-y, 0px), 0) scale(0.35);
  }
  40% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.04);
  }
  60% {
    transform: translate3d(0, 0, 0) scale(0.97);
  }
  80% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
/* Mobile: softer fade/slide instead of big center zoom */
@media (max-width: 768px) {
  .portfolio-page .video-card {
    opacity: 0;
    transform: translateY(18px);
  }
  .portfolio-page .video-card.card-in {
    animation: cardFadeUp 0.55s ease-out forwards;
    animation-delay: var(--delay, 0s);
  }
  @keyframes cardFadeUp {
    0% {
      opacity: 0;
      transform: translateY(18px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
/* ============================
   PORTFOLIO PAGE
============================ */
.portfolio-page {
  background: #000000;
}
/* Outer wrapper */
.portfolio-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0px auto 120px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* Top row: breadcrumb, search, profile */
.portfolio-top {
  display: grid;
  grid-template-columns: 1.4fr 3fr 0.8fr;
  align-items: center;
}
.portfolio-breadcrumb {
  font-size: 14px;
  color: #6a6a6a;
  font-family: "Jost";
}
/* Search */
.portfolio-search {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 30px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.portfolio-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  font-family: "Jost";
  color: #3b3b3b;
}
.portfolio-search button {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-search button img {
  width: 16px;
  height: 16px;
}
/* Profile bubble */
.portfolio-profile {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  font-family: "Jost";
  color: #555;
}
/* ============================
   VIDEO GRID – PORTFOLIO LAYOUT
============================ */
.video-grid {
  /* make it truly full viewport width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* ✅ auto fit columns based on screen width */
  column-width: 280px;
  /* <-- change this to control card size */
  column-gap: 2px;
  margin-bottom: 80px;
}
.video-card {
  position: relative;
  display: block;
  background: #000;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2px;
  break-inside: avoid;
}
.video-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.video-card:hover img {
  transform: scale(1.03);
  opacity: 1;
  filter: brightness(0.5) saturate(1.05);
}
/* label in the middle – uses data-subtitle from HTML */
.video-card::before {
  content: attr(data-subtitle);
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* round arrow button */
.video-card::after {
  content: "➜";
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.7),
    inset 0 1px 2px rgba(255, 255, 255, 0.75);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
/* show label + button on hover */
.video-card:hover::before,
.video-card:hover::after {
  opacity: 1;
}
.video-card:hover::before {
  transform: translate(-50%, -50%) translateY(-4px);
}
.video-card:hover::after {
  transform: translate(-50%, -50%) scale(1);
}
/* YouTube badge */
.youtube-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}
.youtube-badge img {
  width: 60px;
  height: auto;
}
/* generic classes */
.video-a,
.video-b,
.video-c,
.video-d,
.video-e,
.video-f,
.video-g,
.video-h,
.video-i,
.video-j,
.video-k {
  grid-column: auto;
  grid-row: auto;
}
/* Responsive columns */
@media (max-width: 992px) {
  .video-grid {
    column-count: 2;
  }
}
@media (max-width: 768px) {
  .video-grid {
    column-count: 1;
  }
  .portfolio-wrapper {
    max-width: 100%;
    padding: 0 10px 80px;
    margin: 30px auto 80px;
  }
}
/* ============================
   STUDIO PAGE
============================ */
.studio-page {
  background: #111111;
  color: #ffffff;
}
.studio-main {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 0 180px;
}
.studio-inner {
  width: 100%;
  max-width: 1200px;
}
.studio-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  margin-bottom: 40px;
}
.studio-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* MOBILE — Replace Studio Hero Image */
@media (max-width: 768px) {
  .studio-hero img {
    content: url("assets/images/studio_hero_mobile.png");
    /* Replace with your actual mobile hero image path */
  }
}
.studio-hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.studio-hero-play span {
  margin-left: 3px;
  font-size: 30px;
  color: #111;
}
.studio-text-block {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}
.studio-title {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  color: #CFC4B2;
}
.studio-copy p {
  font-family: "Jost";
  font-size: 14px;
  line-height: 1.9;
  color: #d3d3d3;
  margin-bottom: 18px;
}
.studio-map-wrapper {
  width: 92%;
  max-width: 900px;
  margin: 40px auto 30px;
  border-radius: 32px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.studio-map iframe {
  border: 0;
  width: 100%;
  height: 260px;
  display: block;
}
/* ====== NEW: MAP CARD LIKE REFERENCE IMAGE ====== */
.studio-map-wrapper {
  width: 92%;
  max-width: 900px;
  margin: 40px auto 40px;
}
.studio-map-card {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
/* top: map */
.studio-map {
  position: relative;
  width: 100%;
  height: 260px;
}
.studio-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(1.05);
}
/* bottom: black info bar */
.studio-map-info {
  background: #000000;
  color: #ffffff;
  padding: 20px 32px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: "Jost";
}
.studio-map-col {
  flex: 1 1 10px;
  min-width: 0;
}
.studio-map-col h3 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cccccc;
  margin-bottom: 8px;
}
.studio-map-col p,
.studio-map-col a {
  font-size: 13px;
  line-height: 1.6;
  color: #ffffff;
  text-decoration: none;
}
.studio-map-col a:hover {
  text-decoration: underline;
}
/* right side: socials */
.studio-map-social {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.studio-map-social-text {
  font-size: 13px;
  margin-bottom: 10px;
}
.studio-map-social-icons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.studio-map-social-icons .icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.studio-map-social-icons .icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.studio-map-social-icons .icon:hover img {
  opacity: 1;
  transform: translateY(-1px);
}
/* map card responsive */
@media (max-width: 900px) {
  .studio-main {
    padding: 0px 0 160px;
  }
  .studio-inner {
    width: 95%;
  }
  .studio-map-wrapper {
    width: 95%;
  }
}
@media (max-width: 700px) {
  .studio-map-info {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .studio-map-social {
    align-items: flex-start;
    text-align: left;
  }
  .studio-map-social-icons {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .studio-main {
    padding: 0px 0 160px;
  }
  .studio-inner {
    width: 100%;
  }
  .studio-map-wrapper {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .studio-title {
    font-size: 12px;
    letter-spacing: 0.14em;
    color: #CFC4B2;
  }
  .studio-copy p {
    font-size: 13px;
    line-height: 1.8;
  }
}
/* ============================
   HOME PAGE CIRCULAR REVEAL
============================ */
.index-page.intro-active {
  overflow: hidden;
}
.page-shell-index {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000000;
  clip-path: circle(0% at 50% 50%);
  z-index: 1;
  will-change: clip-path;
}
.page-shell-index.reveal {
  animation: revealOutwards 2.2s ease-in-out forwards;
}
.intro-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.85s ease;
  will-change: opacity;
}
.intro-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: introPop 0.4s ease-out forwards;
}
.intro-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.intro-text {
  margin-top: 18px;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111111;
  opacity: 0;
  animation: introTextFade 0.4s ease-out forwards;
  animation-delay: 0.4s;
  font-weight: 700;
  font-family: "Jost";
}
.intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
/* MOBILE – force white background behind intro video */
@media (max-width: 768px) {
  .intro-video-wrapper {
    background: #ffffff !important;
  }
}
@keyframes introPop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes introTextFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Circle reveal with recoil */
@keyframes revealOutwards {
  0% {
    clip-path: circle(0% at 50% 50%);
  }
  40% {
    clip-path: circle(25% at 50% 50%);
  }
  70% {
    clip-path: circle(20% at 50% 50%);
  }
  100% {
    clip-path: circle(150% at 50% 50%);
  }
}
@supports not (clip-path: circle(0% at 50% 50%)) {
  .page-shell-index {
    clip-path: none;
  }
}
/* ============================
   PORTFOLIO CIRCLE REVEAL
============================ */
.portfolio-shell {
  position: relative;
  min-height: 100vh;
  background: #ffffff;
  clip-path: none;
  will-change: clip-path;
  overflow: hidden;
}
.portfolio-shell.reveal-done {
  clip-path: none !important;
  animation: none !important;
  overflow: visible;
}
/* ===== Mobile-safe reveal completion (prevents flicker / collapse) ===== */
.page-shell-index.reveal-done {
  /* remove clip-path so nothing cuts off the background */
  clip-path: none !important;
  -webkit-clip-path: none !important;
  /* freeze height to avoid mobile address-bar reflows */
  /* prefer newer units that don't change with chrome (svh/dvh), fallback to 100vh */
  height: 100svh;
  /* spec-compliant in modern browsers */
  min-height: 100svh;
  height: 100dvh;
  min-height: 100dvh;
  height: 100vh;
  /* fallback */
  min-height: 100vh;
  overflow: visible !important;
}
/* ensure intro video wrapper has white bg on mobile and covers fully */
@media (max-width: 768px) {
  .intro-video-wrapper {
    background: #ffffff !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    /* above everything while active */
  }
  /* make sure main background fills the (now-frozen) shell */
  .main-background {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}
/* Desktop / tablet animation */
@media (min-width: 769px) {
  .portfolio-shell.reveal {
    clip-path: circle(0vmax at 50vw 50vh);
    animation: portfolioRevealDesktop 1.2s cubic-bezier(0.22, 0.86, 0.32, 1.02) forwards;
  }
}
/* Mobile: a bit faster & snappier */
@media (max-width: 768px) {
  .portfolio-shell.reveal {
    clip-path: circle(0vmax at 50vw 50vh);
    animation: portfolioRevealMobile 0.9s cubic-bezier(0.25, 0.9, 0.3, 1.0) forwards;
  }
}
/* Desktop bounce (similar to home page) */
@keyframes portfolioRevealDesktop {
  0% {
    clip-path: circle(0vmax at 50vw 50vh);
  }
  40% {
    clip-path: circle(55vmax at 50vw 50vh);
  }
  65% {
    clip-path: circle(45vmax at 50vw 50vh);
  }
  100% {
    clip-path: circle(150vmax at 50vw 50vh);
  }
}
/* Mobile version */
@keyframes portfolioRevealMobile {
  0% {
    clip-path: circle(0vmax at 50vw 50vh);
  }
  35% {
    clip-path: circle(50vmax at 50vw 50vh);
  }
  60% {
    clip-path: circle(42vmax at 50vw 50vh);
  }
  100% {
    clip-path: circle(150vmax at 50vw 50vh);
  }
}
/* Fallback for browsers that don't support viewport-based circle() */
@supports not (clip-path: circle(0vmax at 50vw 50vh)) {
  .portfolio-shell {
    clip-path: none;
    overflow: visible;
  }
}
/* ============================
   STUDIO – INFO / BOOKING
============================ */
.studio-info-card {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 18px 24px;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  color: #f5f5f5;
  font-family: "Jost";
}
.studio-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.studio-info-column h3 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaaaaa;
  margin-bottom: 6px;
}
.studio-info-column p {
  font-size: 13px;
  line-height: 1.5;
}
.studio-info-social {
  display: flex;
  gap: 12px;
}
/* guidelines text block */
.studio-guidelines {
  width: 92%;
  max-width: 900px;
  margin: 0 auto 44px;
  color: #e5e5e5;
  font-family: "Jost";
  font-size: 13px;
  line-height: 1.85;
}
.studio-guidelines h2 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CFC4B2;
  margin-bottom: 10px;
}
.studio-guidelines-intro {
  margin-bottom: 12px;
}
.studio-guidelines ol {
  padding-left: 18px;
}
.studio-guidelines li {
  margin-bottom: 8px;
}
/* booking section */
.studio-booking {
  width: 92%;
  max-width: 520px;
  margin: 0 auto 90px;
}
.studio-booking-header {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CFC4B2;
  margin-bottom: 16px;
}
.studio-booking-card {
  background: #000000;
  border-radius: 24px;
  padding: 22px 24px 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}
.booking-form-row {
  margin-bottom: 10px;
}
.booking-form-row input,
.booking-form-row select,
.booking-form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 2px;
  border: 1px solid #444;
  background: transparent;
  color: #f5f5f5;
  font-size: 13px;
  font-family: "Jost";
  outline: none;
}
.booking-form-row input::placeholder,
.booking-form-row textarea::placeholder {
  color: #888;
}
.booking-form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.booking-form-row textarea {
  resize: vertical;
  min-height: 80px;
}
.booking-form-row input:focus,
.booking-form-row select:focus,
.booking-form-row textarea:focus {
  border-color: #ffffff;
}
/* send button */
.booking-submit {
  margin-top: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  height: 38px;
  border: 1px solid #714929;
  background: #fff;
  color: #813408;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "BricolageGrotesque";
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.booking-submit:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}
/* responsive tweaks */
@media (max-width: 768px) {
  .studio-info-card {
    padding: 16px 18px;
  }
  .studio-info-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .studio-booking-card {
    padding: 20px 18px 24px;
  }
}
/* ============================
   CONTACT MODAL
============================ */
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.contact-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.contact-modal {
  width: min(420px, 90vw);
  background: #000000;
  /* border-radius: 26px; */
  padding: 22px 26px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: "Jost";
}
/* header */
.contact-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 14px;
}
.contact-modal-header h2 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contact-modal-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}
/* form */
.contact-modal-form {
  margin-top: 4px;
}
.contact-field {
  margin-bottom: 10px;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5f5f5;
  margin-bottom: 4px;
  display: block;
}
.contact-label .req {
  color: #ff3b3b;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 3px;
  border: 1px solid #444444;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-family: "Jost";
  outline: none;
}
.contact-field textarea {
  resize: vertical;
  min-height: 70px;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #888888;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #ffffff;
}
.contact-modal-submit {
  margin-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  height: 36px;
  /* border-radius: 999px; */
  border: 1px solid #ffffff;
  background: #fff;
  color: #813408;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: "BricolageGrotesque";
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.contact-modal-submit:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .contact-modal {
    padding: 18px 18px 22px;
  }
}
/* ============================
   MOBILE FOOTER + PANEL
============================ */
.mobile-footer {
  display: none;
}
@media (max-width: 768px) {
  .footer-nav {
    display: none;
  }
  .footer-nav-container {
    bottom: 0;
  }
  .mobile-footer {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1200;
  }
  /* closed state bar */
  .mobile-footer-bar {
    width: 100%;
    background: linear-gradient(145deg,
        var(--footer-bg-highlight),
        var(--footer-bg-falloff));
    padding: 10px 20px;
    backdrop-filter: blur(8px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-footer-social {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .mobile-footer-social .icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-footer-social .icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.2);
    opacity: 0.9;
  }
  /* burger button on the right */
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(145deg, var(--footer-bg-highlight), var(--footer-bg-falloff));
    backdrop-filter: blur(8px) saturate(180%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--close);
  }
  /* open panel */
  .mobile-menu-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg,
        var(--footer-bg-highlight),
        var(--footer-bg-falloff));
    backdrop-filter: blur(8px) saturate(180%);
    padding: 30px 24px 18px;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-menu-panel.open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    text-align: center;
  }
  .mobile-menu-links a,
  .mobile-menu-portfolio-toggle {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 14px;
    letter-spacing: 0.16em;
    font-weight: 600;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  /* contact button inside panel */
  .mobile-menu-contact.contact-btn {
    width: 150px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: #d0d0d0;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0;
    box-shadow: none;
  }
  /* bottom row: icons + X */
  .mobile-menu-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-menu-social {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .mobile-menu-social .icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-social .icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.2);
    opacity: 0.9;
  }
  .mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: var(--close);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}
/* ===== EXTRA MOBILE FOOTER BEHAVIOUR ===== */
@media (max-width: 768px) {
  /* When menu is open, hide the small bottom bar */
  .mobile-footer.menu-open .mobile-footer-bar {
    display: none;
  }
  /* Give more room inside the panel when open */
  .mobile-footer.menu-open .mobile-menu-panel {
    padding-top: 40px;
  }
  /* Extra spacing around PORTFOLIO block in mobile menu */
  .mobile-menu-portfolio {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .mobile-portfolio-submenu {
    margin-top: 10px;
  }
  .mobile-portfolio-submenu a {
    padding: 10px 0;
  }
  /* When portfolio submenu is open, hide other main links (HOME/ABOUT/STUDIO) */
  .mobile-menu-links.submenu-open>a {
    display: none;
  }
}
/* ============================
   FOOTER PORTFOLIO DROPDOWN
============================ */
.footer-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  z-index: 1010;
}
.footer-dropdown .dropdown-toggle {
  text-decoration: none;
  font-size: 12px;
  color: var(--footer-text);
  font-weight: 500;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Arrow icon inside DESKTOP footer */
.footer-nav .mobile-menu-portfolio-arrow {
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
  opacity: 0.85;
}
.footer-dropdown .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--footer-underline);
  transition: width 0.25s ease;
}
.footer-dropdown:hover .dropdown-toggle::after {
  width: 100%;
  color: var(--footer-text-hover, var(--footer-text));
}
/* HOVER OPEN (desktop) – open dropdown when mouse is over PORTFOLIO */
.footer-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Rotate arrow on hover as well */
.footer-dropdown:hover .mobile-menu-portfolio-arrow {
  opacity: 1;
  transform: translateY(1px) rotate(180deg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Rotate arrow when open (desktop via JS .is-open) */
.footer-dropdown.is-open .mobile-menu-portfolio-arrow {
  opacity: 1;
  transform: translateY(1px) rotate(180deg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* =========================================================
   INDEX HERO BACKGROUND (looks like Image 1)
========================================================= */
:root {
  --index-header-h: 72px;
  /* your header-content height */
  --index-footer-h: 80px;
  /* adjust if needed */
}
/* Index: no circle clip that can cut visuals */
.index-page .page-shell-index {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  animation: none !important;
  background: transparent !important;
}
/* Header overlays on desktop only for index */
@media (min-width: 769px) {
  .index-page .header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1005;
    background: transparent;
  }
}
/* The key: background starts UNDER the header (so head doesn't crop) */
.index-page .main-background {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--index-header-h);
  bottom: var(--index-footer-h);
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/images/t1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  /* IMPORTANT: keep subject visible (moves framing DOWN) */
  background-position: center 40%;
  transform: translateZ(0);
  will-change: transform;
}
/* Keep UI above background */
.index-page #header-placeholder,
.index-page #footer-placeholder,
.index-page .page-shell-index {
  position: relative;
  z-index: 2;
}
/* prevent sideways jitter */
html,
body {
  overflow-x: hidden;
}
/* ============================
   HOME PAGE INTRO VIDEO
============================ */
.intro-video-wrapper {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 1;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.intro-video-wrapper.fading {
  opacity: 0;
}
.intro-video-wrapper.hidden {
  display: none;
}
/* #introVideo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */
/* Video: centered small */
.intro-video-wrapper video {
  width: 30vw;
  max-width: 600px;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: contain;
  object-position: center center;
  /* border-radius: 12px; */
}
/* Fix intro video on mobile (no cropping) */
@media (max-width: 768px) {
  .intro-video-wrapper {
    padding: 0;
    background: #000;
  }
  .intro-video-wrapper video {
    width: 30vh;
    max-width: 600px;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    /* no cropping */
    object-position: center center;
    border-radius: 0;
  }
}
/* on portfolio (white interior) make nav lighter */
.portfolio-page .glass-nav {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}
/* Hide detail section on portfolio grid page until a card is clicked */
.portfolio-page .detail-wrapper {
  display: none;
}
/* Show when JS adds .is-visible */
.portfolio-page .detail-wrapper.is-visible {
  display: flex;
}
/* ============================
   CLIENTS / PARTNERS STRIP
============================ */
.clients-section {
  padding: 10px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.clients-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b35a3e;
  margin-bottom: 32px;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
}
.client-logo {
  flex: 0 0 auto;
}
.client-logo img {
  max-height: 55px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}
/* hover → show real color */
.client-logo:hover img {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}
/* small screens */
@media (max-width: 600px) {
  .clients-section {
    padding: 0 20px 70px;
  }
  .clients-logos {
    gap: 24px 28px;
  }
  .client-logo img {
    max-height: 42px;
  }
}
/* Youtube iframe wrapper */
.video-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  background: #000;
}
.video-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
