/* ============================================
   TOM OCKERS — Documentary Filmmaker Portfolio
   ============================================ */
html, body {
  overscroll-behavior: none;
}
/* --- Design Tokens --- */
:root {
  /* Colors */
  --color-bg: #0F0F10;
  --color-text: #EDEDED;
  --color-text-secondary: #B8B8B8;
  --color-accent: #C84B4B;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-surface: #1E1E20;

  /* Typography */
  --font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Bebas Neue', Impact, Arial Narrow, sans-serif;
  --font-size-h1: clamp(48px, 5vw, 72px);
  --font-size-h2: clamp(28px, 3vw, 36px);
  --font-size-body: clamp(16px, 1.125vw, 17px);
  --font-size-meta: 14px;
  --font-size-small: 13px;
  --line-height-tight: 1.15;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.65;
  --letter-spacing-meta: 0.02em;

  /* Spacing (8pt) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Layout */
  --max-width: 1400px;
  --grid-gap: 24px;
  --container-padding: clamp(24px, 5vw, 80px);

  /* Motion */
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
}

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

/* --- Base --- */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.0;
  /* letter-spacing: 0.03em; */
}

h3 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: var(--line-height-tight);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); line-height: 1.05; }

/* --- Grid System --- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* --- Meta Text --- */
.meta-label {
  display: block;
  font-family: var(--font-family);
  font-size: var(--font-size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-meta);
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.meta-value {
  display: block;
  font-family: var(--font-family);
  font-size: var(--font-size-body);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
  background: transparent;
  transition: background var(--duration-normal) var(--ease);
}

.site-header.scrolled {
  background: rgba(15, 15, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.brand .name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand .roles {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  line-height: 1;
}

/* Right-side header group */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Desktop inline nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* All nav items — unified style */
.nav-desktop a,
.nav-desktop .nav-contact {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--duration-fast) var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.active,
.nav-desktop .nav-contact:hover {
  color: var(--color-text);
}


.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--duration-normal) var(--ease), opacity var(--duration-normal) var(--ease);
}

.nav-overlay.open ~ .site-header .hamburger span:first-child,
.hamburger.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-overlay.open ~ .site-header .hamburger span:last-child,
.hamburger.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ============================================
   NAVIGATION OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 12, 13, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.nav-overlay.open {
  transform: translateY(0);
  pointer-events: auto;
}

.nav-overlay ul {
  list-style: none;
  text-align: center;
  padding: 0 var(--space-5);
}

.nav-overlay > ul > li {
  margin-bottom: var(--space-5);
}

.nav-overlay > ul > li:last-child {
  margin-bottom: 0;
}

.nav-overlay > ul > li > a,
.nav-overlay > ul > li > button {
  font-family: var(--font-heading);
  font-size: clamp(40px, 11vw, 60px);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity var(--duration-fast) var(--ease);
}

.nav-overlay > ul > li > a:hover,
.nav-overlay > ul > li > button:hover {
  opacity: 0.5;
}

.lang-toggle {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-toggle .lang-btn {
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.4;
}

.lang-toggle .lang-btn.active,
.lang-toggle .lang-btn[aria-pressed="true"] {
  opacity: 1;
  color: var(--color-accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  height: 100vh;
  padding: calc(72px + 14px) 20px 14px;
  display: flex;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.hero-section.visible {
  opacity: 1;
}

/* The scaled frame */
.hero-frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-surface);
  will-change: transform, border-radius;
}

.hero-frame.has-video {
  cursor: pointer;
}

/* Media fills the frame */
.hero-frame .hero-media {
  position: absolute;
  inset: 0;
}

.hero-frame .hero-media img,
.hero-frame .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay: gradient + text */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: var(--space-8);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.24) 40%,
    transparent 70%
  );
  text-align: center;
}

/* Counter: top-right */
.hero-counter {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

/* Play button (shown when paused) */
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hero-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.hero-frame.is-paused .hero-play-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Mute button */
.hero-mute-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.hero-mute-btn:hover {
  background: rgba(255,255,255,0.22);
}

.hero-mute-btn svg {
  width: 16px;
  height: 16px;
}

.hero-mute-btn .icon-unmuted { display: none; }
.hero-mute-btn .icon-muted   { display: block; }

.hero-frame:not(.is-muted) .hero-mute-btn .icon-unmuted { display: block; }
.hero-frame:not(.is-muted) .hero-mute-btn .icon-muted   { display: none; }

/* Overlay text */
.hero-overlay-text {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 600px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s ease-out, transform 0.6s ease-out;
  transition-delay: 3s;
}

.hero-section.visible .hero-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.0;
  text-transform: uppercase;
}

.hero-title__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--duration-fast) var(--ease);
  position: relative;
  z-index: 1;
}

.hero-title__link:hover {
  text-decoration-color: #fff;
}

.hero-sub {
  font-size: clamp(15px, 1vw, 16px);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--line-height-relaxed);
  max-width: 640px;
}

/* ============================================
   SELECTED WORK SECTION
   ============================================ */
.selected-work-section {
  padding: var(--space-16) 0;
}

.section-intro {
  position: sticky;
  top: calc(72px + var(--space-5));
  align-self: start;
}

.section-intro h2 {
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: var(--font-size-body);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
  max-width: 280px;
}

.link-arrow {
  font-size: var(--font-size-meta);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-meta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast) var(--ease);
}

.link-arrow:hover {
  gap: 10px;
}

.link-arrow::after {
  content: '→';
}

/* --- Project Cards Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.project-card {
  display: block;
}

.project-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-surface);
  margin-bottom: var(--space-2);
  transition: box-shadow var(--duration-normal) var(--ease);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease);
}

.project-card__title {
  font-size: clamp(17px, 1.2vw, 18px);
  font-weight: 600;
  margin-bottom: 4px;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--duration-fast) var(--ease);
}

.project-card__meta {
  font-size: var(--font-size-meta);
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

/* Hover */
@media (hover: hover) {
  .project-card__link:hover .project-card__image {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .project-card__link:hover .project-card__image img {
    transform: scale(1.02);
  }

  .project-card__link:hover .project-card__title {
    text-decoration: underline;
    text-decoration-color: var(--color-text);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border);
}

.about-portrait {
  border-radius: 4px;
  overflow: hidden;
  max-width: 380px;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.about-section h2 {
  margin-bottom: var(--space-3);
}

.about-lead {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
  margin-bottom: var(--space-4);
}

.about-text {
  font-size: var(--font-size-body);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 520px;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
}

.site-footer .grid-12 {
  align-items: center;
}

.footer-name {
  font-weight: 600;
  font-size: var(--font-size-body);
}

.footer-contact {
  text-align: center;
}

.footer-contact a {
  font-size: var(--font-size-body);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease);
}

.footer-contact a:hover {
  color: var(--color-text);
}

.footer-nav {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

.footer-nav a {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease);
}

.footer-nav a:hover {
  color: var(--color-text);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border);
}

.contact-section h2 {
  margin-bottom: var(--space-3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row label {
  font-size: var(--font-size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-meta);
  color: var(--color-text-secondary);
}

.form-row input,
.form-row textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  padding: 12px 16px;
  border-radius: 4px;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--color-text);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.5;
}

.form-status {
  font-size: var(--font-size-meta);
  margin-top: var(--space-3);
  min-height: 1.4em;
}

.form-status.success { color: #6fcf97; }
.form-status.error   { color: #eb5757; }

.contact-form .btn-primary {
  align-self: flex-start;
  cursor: pointer;
}

/* ============================================
   WORK LIST PAGE
   ============================================ */
.work-list-section {
  padding: var(--space-16) 0;
  padding-top: calc(72px + var(--space-10));
}

.work-list-section h1 {
  margin-bottom: var(--space-6);
}

.filter-bar {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.filter-btn {
  font-size: var(--font-size-meta);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-meta);
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease);
}

.filter-btn:hover {
  background: var(--color-surface);
}

.filter-btn.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.projects-grid--full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-5);
}

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */
.project-hero {
  height: 70vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
  margin-top: 72px;
}

.project-hero img,
.project-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info-section {
  padding: var(--space-10) 0 var(--space-16);
}

.project-title {
  margin-bottom: var(--space-4);
}

.project-description .lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.project-description p {
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.project-cta {
  margin-top: var(--space-6);
}

.btn-primary {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 14px 28px;
  font-size: var(--font-size-body);
  font-weight: 500;
  border-radius: 4px;
  transition: opacity var(--duration-fast) var(--ease);
}

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

.project-meta-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-2);
}

/* Stills Gallery */
.project-stills-section {
  padding-bottom: var(--space-16);
}

.project-stills-section h2 {
  margin-bottom: var(--space-5);
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.stills-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  background: var(--color-surface);
}

/* ============================================
   SCROLL FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FOCUS STYLES
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator::after {
    animation: none;
  }
}

/* ============================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================ */
.legal-section {
  padding: calc(72px + var(--space-10)) 0 var(--space-16);
}

.legal-section h1 {
  margin-bottom: var(--space-8);
}

.legal-block {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.legal-block:last-child {
  border-bottom: none;
}

.legal-block h2 {
  font-size: clamp(18px, 1.5vw, 22px);
  margin-bottom: var(--space-3);
}

.legal-block h3 {
  font-size: var(--font-size-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.legal-block p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  list-style: none;
  margin: var(--space-2) 0;
}

.legal-block ul li {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  padding-left: var(--space-3);
  position: relative;
}

.legal-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.legal-block a {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--duration-fast) var(--ease);
}

.legal-block a:hover {
  border-color: var(--color-text);
}

.legal-block code {
  font-family: monospace;
  font-size: 0.875em;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  padding: 2px 6px;
  border-radius: 3px;
}

.legal-scope {
  color: var(--color-text-secondary);
  font-size: var(--font-size-meta);
  margin-bottom: var(--space-6);
}

.legal-lang-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-10) 0 var(--space-8);
}

.legal-lang-divider::before,
.legal-lang-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.legal-lang-divider span {
  font-size: var(--font-size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

/* ============================================
   LEGAL PAGE LANGUAGE VERSIONS
   ============================================ */
.lang-version {
  display: none;
}

html[lang="de"] .lang-version[data-lang="de"],
html[lang="en"] .lang-version[data-lang="en"] {
  display: block;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease);
  padding: 2px 0;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .lang-switcher {
    display: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop: hide hamburger */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* Mobile: hide desktop nav, show hamburger only */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .header-right {
    gap: 0;
  }
}

@media (max-width: 1024px) {
  .projects-grid--full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-12 {
    grid-template-columns: 1fr;
  }

  .col-4, .col-6, .col-8, .col-12 {
    grid-column: span 1;
  }

  /* Header */
  .brand .name {
    font-size: 1.6rem;
  }

  .brand .roles {
    font-size: 11px;
  }

  .hero-sub {
    line-height: 1.4;
  }

  /* Hero */
  .hero-section {
    padding: calc(72px + 8px) 10px 10px;
  }

  .hero-frame .hero-media video {
    transform: scale(1.5);
    transform-origin: center center;
  }

  .hero-overlay {
    padding: var(--space-5);
  }

  /* Selected Work */
  .section-intro {
    position: static;
  }

  .section-description {
    max-width: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .projects-grid--full {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-portrait {
    aspect-ratio: 16 / 9;
    margin-bottom: var(--space-5);
  }

  /* Footer */
  .site-footer .grid-12 {
    gap: var(--space-2);
  }

  .footer-name,
  .footer-contact {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  /* Project Detail */
  .project-hero {
    height: 50vh;
    min-height: 300px;
  }

  .project-meta-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-4);
  }

  .project-meta-sidebar .meta-block {
    flex: 1 1 45%;
  }

  /* Stills */
  .stills-grid {
    grid-template-columns: 1fr;
  }
}
