/* ============================================================
   SCUARE — Apple-inspired, airy, clean
   ============================================================ */

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

:root {
  --black:  #0a0a0a;
  --ink:    #1a1a1a;
  --gray-1: #3a3a3a;
  --gray-2: #6e6e73;
  --gray-3: #aeaeb2;
  --gray-4: #d1d1d6;
  --gray-5: #f2f2f7;
  --white:  #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r: 18px;
  --r-sm: 12px;

  --nav-h: 66px;
  --pad: clamp(24px, 5vw, 80px);
  --max: 1400px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
#nav.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.nav-logo { height: 28px; display: flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; object-fit: contain; }
.logo-dark { display: none; }
.logo-light { display: block; }
#nav.scrolled .logo-dark { display: block; }
#nav.scrolled .logo-light { display: none; }

.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 400; color: rgba(255,255,255,.85); letter-spacing: -.1px; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
#nav.scrolled .nav-links a { color: var(--gray-1); }
#nav.scrolled .nav-links a:hover { color: var(--black); }

.nav-menu-btn span { background: var(--white); }
#nav.scrolled .nav-menu-btn span { background: var(--ink); }

.nav-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  z-index: 99; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-link { font-size: 36px; font-weight: 300; color: var(--white); letter-spacing: -1px; transition: opacity .2s; }
.mobile-link:hover { opacity: .6; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* Self-hosted background video */
.hero-video-bg {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
}
.hero-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Dark overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.45) 60%,
    rgba(0,0,0,.70) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(48px,8vw,120px)) var(--pad) clamp(64px,8vw,120px);
  display: flex;
  align-items: flex-end;
}

.hero-text { display: flex; flex-direction: column; gap: 28px; max-width: 680px; }

.hero-text h1 {
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 300; line-height: .95; letter-spacing: -3px; color: var(--white);
}
.brand-word { font-weight: 600; display: inline-block; color: var(--white); }

.hero-sub { font-size: clamp(16px,1.8vw,19px); font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.72); letter-spacing: -.2px; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center;
  height: 48px; padding: 0 28px;
  background: var(--ink); color: var(--white);
  font-size: 15px; font-weight: 500; letter-spacing: -.2px;
  border-radius: 100px; border: none; cursor: pointer;
  transition: background .2s, transform .2s var(--spring), box-shadow .2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--gray-1); transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.btn-secondary {
  display: inline-flex; align-items: center;
  height: 48px; padding: 0 28px;
  background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 500; letter-spacing: -.2px;
  border-radius: 100px; border: 1.5px solid var(--ink); cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--spring);
  text-decoration: none;
}
.btn-secondary:hover { background: var(--ink); color: var(--white); transform: scale(1.03); }

/* Hero image grid */
.hero-media {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 12px;
  align-items: end;
}
.hero-img-main {
  border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4/5; background: var(--gray-5);
  position: relative;
}
.hero-img-secondary {
  border-radius: var(--r); overflow: hidden;
  aspect-ratio: 3/4; background: var(--gray-5);
  height: 70%;
  align-self: end;
  position: relative;
}

/* Crossfade slideshow */
.hero-slide, .hero-slide-sm {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: heroFade 12s ease-in-out infinite;
}
.hero-slide:nth-child(1), .hero-slide-sm:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2), .hero-slide-sm:nth-child(2) { animation-delay: 4s; }
.hero-slide:nth-child(3), .hero-slide-sm:nth-child(3) { animation-delay: 8s; }

/* First slide visible immediately, others wait their turn */
.hero-slide:nth-child(1), .hero-slide-sm:nth-child(1) {
  opacity: 1;
  animation-name: heroFadeFirst;
}
@keyframes heroFadeFirst {
  0%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  92%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes heroFade {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Vertical social strip — fixed right */
.hero-socials {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 50;
}
.hero-socials a { color: rgba(255,255,255,.55); line-height: 0; transition: color .2s, transform .2s; }
.hero-socials a svg { width: 17px; height: 17px; }
.hero-socials a:hover { color: var(--white); transform: scale(1.2); }
@media (max-width: 900px) { .hero-socials { display: none; } }

/* ── SHARED SECTIONS ── */
section:not(#hero) {
  padding: clamp(48px,7vw,96px) var(--pad);
  max-width: calc(var(--max) + var(--pad)*2);
  margin: 0 auto;
}
/* Work section gets less top padding since it follows hero directly */
#work { padding-top: clamp(32px, 4vw, 56px); }

.section-header { margin-bottom: clamp(40px,6vw,64px); }
.section-label { font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-2); margin-bottom: 10px; }
.section-header h2, .about-content h2, .contact-info h2 {
  font-size: clamp(34px, 5vw, 58px); font-weight: 300; letter-spacing: -2px; line-height: 1.05; color: var(--ink);
}

/* ── PORTFOLIO ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.portfolio-item { cursor: pointer; }
.portfolio-item--featured { grid-column: 1/-1; }

.portfolio-thumb {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 16/9; background: var(--gray-5);
}
.portfolio-item--featured .portfolio-thumb { aspect-ratio: 21/9; }

.portfolio-thumb img { transition: transform .6s var(--ease); }
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0); transition: background .3s;
}
.portfolio-item:hover .portfolio-overlay { background: rgba(0,0,0,.3); }

.play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.7);
  transition: opacity .25s, transform .3s var(--spring);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.play-btn svg { width: 16px; height: 16px; margin-left: 3px; }
.play-btn--large { width: 68px; height: 68px; }
.play-btn--large svg { width: 22px; height: 22px; }
.portfolio-item:hover .play-btn { opacity: 1; transform: scale(1); }

.duration {
  position: absolute; bottom: 12px; right: 14px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.45); backdrop-filter: blur(8px);
  padding: 3px 8px; border-radius: 6px;
}

.portfolio-info { padding: 14px 4px 0; }
.portfolio-info h3 { font-size: 16px; font-weight: 500; letter-spacing: -.3px; color: var(--ink); margin-bottom: 3px; }
.portfolio-info p { font-size: 13px; color: var(--gray-2); }

/* ── CLIENTS ── */
#clients {
  background: var(--gray-5); border-radius: 20px;
  max-width: calc(var(--max) + var(--pad)*2);
  margin: 0 auto clamp(48px,7vw,96px);
  overflow: hidden; padding: clamp(32px,4vw,48px) 0;
}
#clients .section-header { padding: 0 var(--pad); margin-bottom: 24px; }
#clients .section-header h2 { font-size: clamp(22px, 2.5vw, 32px); }

.clients-track-wrapper {
  overflow: hidden;
  -webkit-mask: linear-gradient(to right,transparent 0%,black 10%,black 90%,transparent 100%);
  mask: linear-gradient(to right,transparent 0%,black 10%,black 90%,transparent 100%);
}
.clients-track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.client-item { display: flex; align-items: center; padding: 0 36px; height: 48px; border-right: 1px solid var(--gray-4); flex-shrink: 0; }
.client-item span { font-size: clamp(15px,1.6vw,19px); font-weight: 300; letter-spacing: -.3px; color: var(--gray-2); transition: color .2s; white-space: nowrap; }
.client-item:hover span { color: var(--ink); }

/* ── ABOUT ── */
#about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,96px); align-items: center;
}
.about-image { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: var(--gray-5); }

/* Crossfade slideshow for about section */
.about-slideshow { position: relative; }
.about-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: aboutFade ease-in-out infinite;
}
/* First slide starts visible */
.about-slide:first-child { opacity: 1; animation-name: aboutFadeFirst; }
@keyframes aboutFadeFirst {
  0%   { opacity: 1; }
  16%  { opacity: 1; }
  20%  { opacity: 0; }
  96%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes aboutFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  16%  { opacity: 1; }
  20%  { opacity: 0; }
  100% { opacity: 0; }
}

.about-content { display: flex; flex-direction: column; gap: 22px; }
.about-text { font-size: clamp(15px,1.5vw,17px); line-height: 1.78; color: var(--gray-1); font-weight: 300; text-align: left; }

/* ── CONTACT ── */
#contact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,96px); align-items: start;
  background: var(--ink); border-radius: 28px 28px 0 0;
  max-width: 100%; margin: 0; padding: clamp(64px,9vw,112px) var(--pad);
  color: var(--white);
}
.contact-info .section-label { color: rgba(255,255,255,.35); }
.contact-info h2 { color: var(--white); margin-bottom: 44px; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact-details li { display: flex; flex-direction: column; gap: 8px; }
.contact-details a, .contact-details li > span:not(.contact-label) { font-size: 16px; font-weight: 300; color: rgba(255,255,255,.8); line-height: 1.5; display: block; transition: color .2s; }
.contact-label { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); line-height: 1; }
.contact-details a + .contact-text-link { margin-top: 1px; }
.contact-phone-group { gap: 1px; }
.contact-details a:hover { color: var(--white); }
.contact-socials { display: flex; gap: 16px; }
.contact-socials a { color: rgba(255,255,255,.35); line-height: 0; transition: color .2s, transform .2s; }
.contact-socials a svg { width: 20px; height: 20px; }
.contact-socials a:hover { color: var(--white); transform: translateY(-2px); }

.contact-form { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 13px 15px;
  font-family: var(--font); font-size: 15px; font-weight: 300; color: var(--white);
  transition: border-color .2s, background .2s; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.22); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.form-group input.field-error, .form-group textarea.field-error { border-color: rgba(255,100,80,.7); background: rgba(255,80,60,.06); }
.form-group input.field-error:focus, .form-group textarea.field-error:focus { border-color: rgba(255,120,100,.8); }
/* Honeypot — visually hidden, never shown to real users */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none; tabindex: -1;
}

/* Submit button inside dark contact section */
.btn-submit-dark {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  height: 48px; padding: 0 28px;
  background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 15px; font-weight: 500;
  border-radius: 100px; border: none; cursor: pointer;
  transition: background .2s, transform .2s var(--spring), box-shadow .2s;
  margin-top: 8px;
}
.btn-error { color: #ff6b6b !important; }
.btn-submit-dark:hover {
  background: var(--gray-4);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

/* ── FOOTER ── */
footer { background: var(--ink); padding: 28px var(--pad); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.07); }
.footer-left { display: flex; align-items: center; gap: 28px; }
.footer-logo-img { height: 22px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 300; }
.footer-right a { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 300; transition: color .2s; }
.footer-right a:hover { color: rgba(255,255,255,.9); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 9999;
  background: var(--ink); color: var(--white);
  border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  max-width: min(560px, calc(100vw - 32px));
  width: 100%;
  animation: slideUp .35s var(--ease);
}
@keyframes slideUp { from { opacity:0; transform: translateX(-50%) translateY(16px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }
.cookie-inner { display: flex; align-items: center; gap: 20px; width: 100%; flex-wrap: wrap; }
.cookie-inner p { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.7); flex: 1; min-width: 180px; }
.cookie-inner p a { color: rgba(255,255,255,.9); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn { height: 36px; padding: 0 16px; border-radius: 100px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; transition: background .2s, opacity .2s; }
.cookie-btn--accept { background: var(--white); color: var(--ink); }
.cookie-btn--accept:hover { opacity: .88; }
.cookie-btn--ghost { background: rgba(255,255,255,.12); color: var(--white); }
.cookie-btn--ghost:hover { background: rgba(255,255,255,.2); }

/* ── VIDEO MODAL ── */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal.open { opacity: 1; pointer-events: auto; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.modal-content {
  position: relative; z-index: 1;
  width: min(94vw, 1080px);
  display: flex; flex-direction: column; gap: 0;
  transform: scale(.94);
  transition: transform .4s var(--spring);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--r);
  background: #161616;
}
.modal.open .modal-content { transform: scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  border: none; border-radius: 50%; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: white; transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.15); }
.modal-close svg { width: 16px; height: 16px; }

/* Video tabs (shown when project has multiple videos) */
.modal-video-tabs {
  display: flex; gap: 6px; padding: 10px 16px;
  background: #111;
}
.modal-video-tab {
  background: rgba(255,255,255,.08); border: none;
  color: rgba(255,255,255,.5); font-family: var(--font);
  font-size: 12px; font-weight: 500; letter-spacing: .5px;
  padding: 6px 16px; border-radius: 100px; cursor: pointer;
  transition: background .2s, color .2s;
}
.modal-video-tab:hover { background: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.modal-video-tab.active { background: var(--white); color: var(--ink); }

/* Player — rounded top by default; flat when tabs sit above it */
.modal-player { aspect-ratio: 16/9; overflow: hidden; background: #000; flex-shrink: 0; border-radius: var(--r) var(--r) 0 0; }
.modal-video-tabs + .modal-player { border-radius: 0; }
.modal-player iframe { width: 100%; height: 100%; border: none; }

/* Details panel */
.modal-details {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Client + Agency pills */
.modal-meta-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.modal-pill {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 110px;
}
.pill-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.pill-value {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,.9);
}

/* Title block */
.modal-title-block { margin-bottom: 10px; }
.modal-title-block h3 {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 500;
  color: var(--white); letter-spacing: -.4px; line-height: 1.2;
}

.modal-desc {
  font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.55); font-weight: 300;
  margin-bottom: 16px;
}

/* Team */
.modal-team {
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column; gap: 5px;
}
.team-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.modal-team p { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 300; line-height: 1.65; }
.modal-team p span { display: block; }

/* Contact section — producer link & phone group */
.contact-text-link {
  background: none; border: none; padding: 0; margin: 0;
  align-self: flex-start;
  font-family: var(--font); font-size: 15px; font-weight: 300; line-height: 1.5;
  color: rgba(255,255,255,.38); cursor: pointer; text-align: left;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.18);
  transition: color .2s, text-decoration-color .2s;
}
.contact-text-link:hover { color: rgba(255,255,255,.7); text-decoration-color: rgba(255,255,255,.4); }
.contact-phone-group { display: flex; flex-direction: column; }

/* Producers modal */
.producers-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.producer-item { padding: 0; border: none; }
.producer-item h4 { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.producer-role { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.producer-email { display: inline-block; color: rgba(255,255,255,.7); text-decoration: underline; font-size: 13px; transition: color .2s; }
.producer-email:hover { color: var(--white); }

@media (max-width: 600px) {
  .producers-list { grid-template-columns: 1fr; gap: 24px; }
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { grid-template-columns: 1fr 1fr; max-width: 480px; }
  .hero-img-secondary { height: auto; }
  .hero-socials { justify-content: flex-start; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item--featured { grid-column: 1/-1; }
  #about { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16/9; }
  #contact { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; }
  .modal-content { width: min(96vw, 600px); }
  .modal-details { padding: 20px 20px 24px; }
}
@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-left { flex-direction: column; gap: 8px; }
  .modal-meta-pills { flex-direction: column; }
}
