/* ── 1. IMPORT CUSTOM FONT ── */
@font-face {
  font-family: 'Williwaw';
  src: url('Williwaw-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* OPTIMIZATION: Prevents invisible text before font renders */
}

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

:root {
  --black: #050100;
  --white: #fffff5;
  --gray: #c8c6c2;
  --sidebar-width: 40px;
}

html, body {
  width: 100%;
  max-width: 100vw; 
  min-height: 100vh; 
  overflow-x: hidden; 
  overscroll-behavior-x: none; 
  background: var(--black);
  font-family: 'Williwaw', sans-serif;
}

/* ── SCROLL ANIMATION WRAPPERS ── */
.sticky-wrapper {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  clip-path: inset(0); 
}

.scroll-spacer {
  height: 2000vh; 
  width: 100%;
  position: relative;
  z-index: -1; 
}

/* ── SIDEBAR & HAMBURGER MENU ── */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  border-right: 1px solid var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: var(--black);
  cursor: pointer; 
  transition: background-color 0.4s ease, border-color 0.4s ease; 
}

.sidebar:hover {
  background-color: var(--white);
}

.sidebar-menu {
  position: absolute;
  top: 50%;
  left: calc(50% - 1px); 
  transform: translate(-50%, -50%);
  width: 16px; 
  height: 20px;
}

.sidebar-menu span {
  position: absolute;
  left: 0;
  width: 100%; 
  height: 1.5px;
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar:hover .sidebar-menu span {
  background-color: var(--black);
}

.sidebar-menu span:nth-child(1) { top: 6px; }
.sidebar-menu span:nth-child(2) { top: 14px; }

.sidebar-menu.open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
  background: var(--black) !important; 
}
.sidebar-menu.open span:nth-child(2) {
  top: 10px;
  transform: rotate(-45deg);
  background: var(--black) !important; 
}

.sidebar-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-45%) translateY(-180%) rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -0.4px;
  color: var(--white);
  user-select: none;
  transition: color 0.4s ease; 
}

.sidebar:hover .sidebar-label {
  color: var(--black);
}

/* ── INVERTED STATES ── */
.sidebar.inverted {
  background: transparent;
  border-right: 1px solid var(--black);
}

.sidebar.inverted .sidebar-menu span {
  background: var(--black);
}

.sidebar.inverted .sidebar-label {
  color: var(--black);
}

.sidebar.inverted:hover {
  background-color: var(--black);
}

.sidebar.inverted:hover .sidebar-menu span {
  background-color: var(--white);
}

.sidebar.inverted:hover .sidebar-label {
  color: var(--white);
}

.sidebar.media-active {
  background-color: transparent;
  border-right: 1px solid var(--white);
}

.sidebar.media-active:hover {
  background-color: rgba(255, 255, 245, 0.1); 
}

.sidebar.menu-open {
  background-color: transparent !important;
  border-right-color: var(--black) !important; 
}

.sidebar.menu-open:hover {
  background-color: transparent !important;
}

.sidebar.menu-open .sidebar-label {
  opacity: 0; 
}

.hero-name.inverted, 
.hero-subtitle.inverted {
  color: var(--black);
}

/* ── MAIN LAYOUT ── */
.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  clip-path: inset(0); 
}

.panel-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: var(--black);
  z-index: 3;
}

.panel-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: clamp(300px, 100vw, 1000px); 
  height: 100%;
  background: linear-gradient(
    to right,
    #050100          0%,
    #050100          10%,
    rgba(5,1,0,0.92) 25%,
    rgba(5,1,0,0.70) 50%,
    rgba(5,1,0,0.40) 70%, 
    rgba(5,1,0,0.15) 85%, 
    rgba(5,1,0,0.02) 95%, 
    rgba(5,1,0,0)    100% 
  );
  z-index: 3;
  pointer-events: none;
  opacity: var(--gradient-opacity, 1); 
}

.panel-image {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--black);
  z-index: 1; 
}

.panel-photo {
  position: absolute;
  top: 0;
  right: -15%; 
  height: 100%;
  width: 100%; 
  object-fit: cover; 
  object-position: 100% center; 
  display: block;
  transform-origin: 80% center; 
  will-change: transform, opacity; 
}

.hero-text {
  position: absolute;
  bottom: 120px; 
  left: var(--sidebar-width);
  padding-left: 60px; 
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease; 
  will-change: opacity;
}

.hero-name {
  font-weight: 300;
  font-size: clamp(52px, 6.5vw, 96px);
  color: var(--white);
  letter-spacing: -1.92px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  transition: color 0.4s ease; 
}

.hero-subtitle {
  margin-top: -15px;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2.8px;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  margin-right: -0.35em;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
  transition: color 0.4s ease; 
}

.hero-subtitle .dot {
  margin: 0 8px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 40px;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1.2s ease 1.2s forwards;
}

.scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.2);
  animation: scrollLine 2s ease-in-out 1.5s infinite;
}

.stage-wrapper {
  position: absolute;
  top: 50%;
  left: calc(var(--sidebar-width) + (100vw - var(--sidebar-width)) / 2);
  height: clamp(266px, 37.33vw, 533px); 
  transform: translateY(-50%); 
  width: 0; 
  z-index: 10;
  pointer-events: none; 
}

.center-image-container {
  position: absolute;
  left: 0; 
  top: 0;
  transform: translate(-50%, 0) scale(0.8) translateZ(0); 
  opacity: 0;
  width: clamp(200px, 28vw, 400px);
  aspect-ratio: 3 / 4; 
  background-color: #9e9e9e; 
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.center-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-section {
  position: absolute;
  left: 4vw; 
  top: 0; 
  width: clamp(300px, 30vw, 500px);
  opacity: 0;
  transform: translateX(40px) translateZ(0); 
  color: #1C1C1B; 
  font-family: 'Williwaw', sans-serif;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.about-section h2 {
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -1.28px;
  font-size: clamp(40px, 4.5vw, 64px); 
  margin-bottom: 24px;
}

.about-section p {
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.56px;
  line-height: 1.6; 
  font-size: clamp(14px, 1.2vw, 18px); 
}

.media-section {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: var(--black); 
  z-index: 20; 
  opacity: 0;
  pointer-events: none;
  will-change: opacity; 
  color: var(--white);
}

.media-bg-video {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  opacity: 0.20; 
  z-index: 1;
  pointer-events: none; 
  overflow: hidden; 
  transition: opacity 0.8s ease; 
}

.media-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 67.5vw; 
  min-height: 120vh;
  min-width: 213.33vh; 
  transform: translate(-50%, -50%);
  border: none;
}

.media-heading {
  position: absolute;
  top: 15%;
  left: calc(var(--sidebar-width) + 6vw);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

.media-content {
  position: absolute;
  top: 50%;
  left: calc(var(--sidebar-width) + (100vw - var(--sidebar-width)) / 2);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between; 
  width: 85%; 
  z-index: 2;
}

.media-text-left-wrapper {
  position: relative;
  width: clamp(150px, 22vw, 380px); 
  height: 100px; 
}

.media-text-left {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  text-align: left;
  will-change: opacity, transform;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.media-center-video-wrapper {
  position: relative;
  width: clamp(400px, 45vw, 900px);
  aspect-ratio: 16 / 9; 
}

.media-center-video {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-color: transparent; 
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, opacity 0.6s ease;
  overflow: hidden; 
  will-change: opacity;
}

.media-center-video iframe {
  width: 100%; 
  height: 100%;
  display: block;
  border: none;
}

.media-text-right {
  width: clamp(150px, 24vw, 420px); 
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px; 
  padding-left: 6vw; 
}

.media-text-right h3 {
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.media-text-right p {
  font-weight: 300;
  font-size: clamp(14px, 1vw, 16px);
  opacity: 0.4; 
}

.recordings-label {
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0;
  transition: font-size 0.6s ease, opacity 0.6s ease; 
  transform-origin: left center;
  white-space: nowrap; 
}

.recordings-label.active {
  font-size: clamp(24px, 2.5vw, 36px);
  opacity: 1;
}

.recordings-label.inactive {
  font-size: clamp(14px, 1vw, 16px);
  opacity: 0.4;
}

.center-audio {
  height: 140%; 
  top: -20%; 
  border-radius: 8px; 
}

.center-audio::after {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  pointer-events: none; 
  background: 
    linear-gradient(to bottom, var(--black) 0%, transparent 15%, transparent 85%, var(--black) 100%),
    linear-gradient(to right, var(--black) 0%, transparent 5%, transparent 95%, var(--black) 100%);
}

/* ── FULL SCREEN NAV OVERLAY ── */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  z-index: 90; 
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10vh 8vw; 
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
}

.nav-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: transparent; 
  z-index: 1;
  transition: opacity 0.4s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay.fade-transition::before {
  opacity: 1;
  background: var(--black);
}

.nav-links {
  position: relative;
  z-index: 2;
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px; 
  margin-left: calc(var(--sidebar-width) + 2vw); 
}

.nav-item {
  font-size: clamp(20px, 2.5vw, 36px); 
  color: var(--black); 
  font-weight: 300;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: baseline; 
}

.nav-item:hover {
  opacity: 1;
  transform: translateX(10px); 
}

.nav-num {
  font-size: 0.55em; 
  opacity: 0.5;
  font-weight: 400;
  display: inline-block;
  width: 2em; 
  text-align: left;
  margin-right: 10px; 
}

/* ── CONTACT SECTION (REDESIGN) ── */
.contact-section {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 25; 
  opacity: 0;
  pointer-events: none;
  background-color: transparent; 
  color: var(--black); 
  display: flex;
  align-items: center;
  will-change: opacity;
}

/* This guarantees it matches the Media Section's layout exactly */
.contact-wrapper {
  position: absolute;
  top: 50%;
  left: calc(var(--sidebar-width) + (100vw - var(--sidebar-width)) / 2);
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 1400px;
}

.contact-heading {
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  margin-bottom: 5vh;
}

.contact-content-split {
  display: flex;
  align-items: stretch;
  gap: 5vw;
  width: 100%;
}

.contact-left {
  flex: 1; /* You can lower this to 0.8 or 0.9 if you want the image slightly narrower than the form */
  display: flex;
  justify-content: flex-start; /* Forces the image to align flush left with your heading */
}

/* This specifically targets the image tag to force constraints */
.contact-left img,
.contact-image,
.image-placeholder {
  width: 100%;
  height: 100%; /* Tells the image to fill the exact vertical space of the form */
  max-width: 450px; /* Keeps the width from getting out of hand on ultra-wides */
  aspect-ratio: auto; /* 👈 IMPORTANT: Remove the 1/1 square restriction so it can be a rectangle */
  object-fit: cover; /* Ensures the photo crops beautifully without squishing or distorting */
  display: block;
}

.image-placeholder {
  background-color: #dcdcdc; 
}

.contact-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  max-width: 600px; /* Prevents the form inputs from stretching infinitely wide */
}

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

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

.form-field label {
  font-size: 16px;
  color: var(--black);
}

.input-clipper {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--black);
  padding: 15px;
  font-family: 'Williwaw', sans-serif;
  font-size: 16px;
  color: var(--black);
  outline: none;
}

.contact-form textarea {
  resize: none;
  height: 150px;
}

.submit-btn {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 18px;
  font-family: 'Williwaw', sans-serif;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

/* ── CONTACT ANIMATIONS ── */
.animate-text {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-box {
  clip-path: inset(0 100% 0 0); 
  opacity: 0; 
  transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease;
}

.contact-section.active .animate-text {
  opacity: 1;
  transform: translateY(0);
}

.contact-section.active .animate-box {
  clip-path: inset(0 0 0 0); 
  opacity: 1; 
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.mobile-text {
  display: none;
}

/* ── AUDIO VISUALIZER IDLE & PLAYING STATES ── */
.tap-to-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Williwaw', sans-serif;
  font-size: clamp(16px, 3vw, 24px);
  color: var(--white);
  z-index: 5;
  pointer-events: none; 
  animation: breatheText 2.5s infinite ease-in-out;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

@keyframes breatheText {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.98); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.02); }
}

canvas[id^="visualizer-canvas"] {
  width: 100%;
  height: 100%;
  display: block;
  background-color: transparent; 
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.center-audio.playing .tap-to-play {
  opacity: 0 !important;
  visibility: hidden;
  display: none !important; 
}

.center-audio.playing canvas[id^="visualizer-canvas"] {
  opacity: 1;
}

/* ── 1. SHARED MOBILE UI ── */
@media (max-width: 768px), (max-height: 500px) and (orientation: landscape), (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  .sidebar { width: 100%; height: 50px; border-right: none; border-bottom: 1px solid rgba(255, 255, 245, 0.15); flex-direction: row; background: var(--black); }
  .sidebar-label { bottom: auto; top: 50%; left: 24px; transform: translateY(-50%); font-size: 16px; }
  .sidebar-menu { left: auto; right: 24px; top: 50%; transform: translateY(-50%); }
  .sidebar.inverted { border-right: none; border-bottom: 1px solid var(--black); background: var(--white); }
  .sidebar.media-active { border-right: none; border-bottom: 1px solid var(--white); }
  .sidebar.menu-open { border-bottom-color: var(--black) !important; border-right-color: transparent !important; }

  .panel-photo { right: 0; object-position: 45% center; }
  .panel-dark { width: 100%; height: 60%; top: auto; bottom: 0; background: transparent !important; pointer-events: none; }
  .panel-dark::after { left: 0; top: auto; bottom: 0; width: 100%; height: 100%; background: linear-gradient(to top, #050100 0%, rgba(5, 1, 0, 0.9) 20%, rgba(5, 1, 0, 0.4) 60%, rgba(5, 1, 0, 0) 100%); }
  
  .hero-text { left: 0; padding-left: 0; width: 100%; bottom: 20vh; }
  .hero-name { font-size: 48px; }
  .hero-subtitle { margin-top: 2px; font-size: 12px; }
  .scroll-hint { display: none; }

  .nav-overlay { background-position: 70% 15%; padding: 10vh 24px; }
  .nav-links { margin-left: 0; }
  .nav-item { font-size: 24px; }
}

/* ── 2. PORTRAIT MOBILE LAYOUT ── */
@media (max-width: 768px) and (orientation: portrait) {
  .stage-wrapper { left: 0; width: 100%; }
  
  .center-image-container { left: 50%; width: calc(100% - 48px); max-width: none; aspect-ratio: 4 / 5; }
  .about-section { left: 50%; width: calc(100% - 48px); overflow: visible; pointer-events: auto; text-align: left; } 
  .about-section h2 { font-size: 42px; margin-bottom: 12px; text-align: left; }
  .about-section p { font-size: 16px; text-align: left; }

  .media-heading { top: 15vh; left: 5vw; }
  .media-content { left: 50%; flex-direction: column; width: 90%; gap: 15px; overflow: visible; pointer-events: auto; }
  .media-text-right { order: 1; width: 100%; padding-left: 0; flex-direction: row; justify-content: space-between; }
  .recordings-label.active { font-size: 22px; }
  .recordings-label.inactive { font-size: 12px; }
  .media-center-video-wrapper { order: 2; width: 100%; }
  .media-text-left-wrapper { order: 3; width: 100%; height: 60px; margin-top: 5px; }
  .media-text-left { text-align: center; font-size: 18px; }
  .center-audio { height: 100%; top: 0; }

  /* Removed absolute positioning for mobile portrait to keep it scrolling nicely */
  .contact-wrapper { position: relative; top: auto; left: auto; transform: none; width: calc(100% - 48px); margin-left: 24px; overflow: visible; pointer-events: auto; }
  .contact-heading { font-size: 42px; margin-bottom: 24px; }
  .contact-content-split { flex-direction: column; }
  .contact-left { display: none; }
  .contact-right { width: 100%; }
  
  .desktop-text { display: none; }
  .mobile-text { display: inline; }
}

/* ── 3. LANDSCAPE MOBILE LAYOUT ── */
@media (max-height: 500px) and (orientation: landscape), (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  .hero-name { font-size: 36px; }
  
  .stage-wrapper { left: 0; width: 100%; }
  
  .center-image-container { left: 24px; top: 0; width: 35%; max-width: none; }
  .about-section { left: auto; right: 24px; top: 0; width: calc(100% - 35% - 48px - 4vw); max-height: none; overflow: visible; pointer-events: auto; }
  .about-section h2 { font-size: 28px; margin-bottom: 8px; text-align: left; margin-top: 0; line-height: 1; }
  .about-section p { font-size: 13px; text-align: left; line-height: 1.4; }

  .media-heading { top: 75px; left: 24px; font-size: 32px; }
  .media-content { left: 50%; flex-direction: row; width: calc(100% - 48px); max-height: none; overflow: visible; gap: 10px; justify-content: space-between; }
  .media-center-video-wrapper { width: 40%; }
  .media-text-left-wrapper { width: 25%; height: 50px; margin-top: 0; }
  .media-text-left { font-size: 16px; text-align: left; }

  .media-text-right { width: 25%; padding-left: 0; flex-direction: column; align-items: flex-end; text-align: right; }
  .recordings-label.active { font-size: 20px; }
  .recordings-label.inactive { font-size: 12px; }

  .contact-section { display: block; padding-top: 80px; padding-bottom: 40px; overflow-y: auto; pointer-events: auto; }
  
  /* Removed absolute positioning for mobile landscape to keep it scrolling nicely */
  .contact-wrapper { position: relative; top: auto; left: auto; transform: none; width: calc(100% - 48px); margin: 0; margin-left: 24px; max-height: none; overflow: visible; }
  .contact-heading { font-size: 32px; margin-bottom: 16px; }
  .contact-content-split { gap: 3vw; align-items: flex-start; }

  .contact-left { flex: 0.5; display: flex; justify-content: flex-start; }
  .image-placeholder { width: 100%; max-width: 160px; aspect-ratio: 1 / 1; }
  .contact-right { flex: 1.5; }

  .contact-form { gap: 12px; }
  .contact-form input, .contact-form textarea { padding: 8px; font-size: 14px; }
  .contact-form textarea { height: 80px; }
  .submit-btn { padding: 10px; font-size: 16px; margin-top: 0; }
  
  .mobile-text { display: none; }
  
  .nav-overlay { padding-top: 80px; }
}