/* ============================================
   Gorputzera V4 — Filmakin-style typography
   Display: Noteworthy | Body: DM Sans
   Turquoise #74C7D6 | Beige #F1EED6 | Dark #3A9FBF
   ============================================ */

@font-face {
  font-family: 'Noteworthy';
  src: url('fonts/Noteworthy-Lt.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}

:root {
  /* ── Brand ── */
  --turquoise: #74C7D6;
  --turquoise-dark: #3A9FBF;
  --turquoise-pale: #d3eef3;
  --beige: #F1EED6;
  --beige-warm: #e8e4c8;
  --white: #ffffff;

  /* ── Text (all turquoise family — no black) ── */
  --text: #3A9FBF;
  --text-mid: #5DB8CA;
  --text-light: #89CBDA;
  --text-on-turquoise: rgba(255, 255, 255, 0.95);
  --text-on-turquoise-mid: rgba(255, 255, 255, 0.78);

  /* ── Fonts ── */
  --display: 'Noteworthy', 'Georgia', serif;
  --body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--turquoise-dark);
  background: var(--beige);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}

::selection {
  background: var(--turquoise);
  color: white;
}

/* ============================================
   TYPOGRAPHY SYSTEM (Filmakin-style)
   ============================================ */

/* ── Label / Eyebrow ── */
.label {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--turquoise-dark);
  margin-bottom: 1rem;
}

.label--light {
  color: var(--beige);
}

/* ── Section Title ── */
.s-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.8rem;
}

.s-title em {
  font-family: var(--display);
  font-style: italic;
  color: var(--turquoise-dark);
}

.s-title--light {
  color: var(--white);
}

.s-title--light em {
  color: var(--beige);
}

/* ── Body Text ── */
.s-text {
  font-family: var(--body);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 540px;
  margin-bottom: 0.8rem;
}

.s-text:last-of-type {
  margin-bottom: 0;
}

.s-text strong {
  font-weight: 600;
  color: var(--turquoise-dark);
}

.s-text--light {
  color: var(--text-on-turquoise-mid);
}

.s-text--light strong {
  color: var(--white);
  font-weight: 500;
}

/* ── Quote / Tagline ── */
.s-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--turquoise-dark);
  margin-top: 1.2rem;
  padding-left: 1.2rem;
  position: relative;
}

.s-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--turquoise);
  border-radius: 2px;
}

/* ============================================
   INTRO OVERLAY
   ============================================ */

#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#intro-overlay.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#intro-logo {
  width: clamp(140px, 25vw, 220px);
  height: clamp(140px, 25vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.85) rotate(-180deg);
  animation: logoSpin 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes logoSpin {
  0% { opacity: 0; transform: scale(0.85) rotate(-180deg); }
  60% { opacity: 1; transform: scale(1.02) rotate(15deg); }
  80% { opacity: 1; transform: scale(1) rotate(-5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ============================================
   NAVBAR
   ============================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  background: rgba(241, 238, 214, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  transform: translateY(-100%);
}

#navbar.visible {
  transform: translateY(0);
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--turquoise-dark);
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--turquoise);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-family: var(--body);
  color: var(--turquoise-dark);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.2rem 0;
  transition: opacity 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--turquoise-dark);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  opacity: 0.85;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--turquoise-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ============================================
   HERO — Hasiera
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  contain: paint;
  background: var(--turquoise);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(116, 199, 214, 0.78);
  z-index: 1;
  display: none;
}

.hero-vimeo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0;
  animation: riseIn 1s ease 2.6s forwards;
}

.hero-tagline em {
  font-style: italic;
  color: var(--beige);
}

.hero-rule {
  width: 40px;
  height: 3px;
  background: var(--beige);
  margin: 1.5rem auto 0;
  opacity: 0;
  animation: riseIn 0.8s ease 3.1s forwards;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTIONS — Shared
   ============================================ */

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NOR NAIZ — Beige section
   ============================================ */

.section--beige {
  background: var(--beige);
}

/* ── Turquoise sections (Nor naiz, Psikomotrizitatea, Harremanetarako) ── */
.section--turquoise {
  background: var(--turquoise);
}

.section--turquoise .s-title {
  color: var(--white);
}

.section--turquoise .s-title em {
  color: var(--beige);
}

.section--turquoise .s-text {
  color: var(--text-on-turquoise-mid);
}

.section--turquoise .s-text strong {
  color: var(--white);
  font-weight: 500;
}

.section--turquoise .s-quote {
  color: var(--beige);
}

.section--turquoise .s-quote::before {
  background: var(--beige);
}

.section--turquoise .photo-circle {
  border-color: var(--beige);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Psiko cards on turquoise */
.section--turquoise .psiko-card {
  border-color: rgba(255, 255, 255, 0.15);
}

.section--turquoise .psiko-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section--turquoise .psiko-card h3 {
  color: var(--white);
}

.section--turquoise .psiko-card h3 em {
  color: var(--beige);
}

.section--turquoise .psiko-card p {
  color: var(--text-on-turquoise-mid);
}

.section--turquoise .psiko-card p strong {
  color: var(--white);
}

/* Contact form on turquoise */
.section--turquoise .form-group label {
  color: var(--beige);
}

.section--turquoise .form-group input,
.section--turquoise .form-group textarea {
  border-color: rgba(255, 255, 255, 0.3);
}

.section--turquoise .btn-send {
  background: var(--beige);
  color: var(--turquoise-dark);
}

.section--turquoise .btn-send:hover {
  background: var(--beige-warm);
}

.nor-naiz-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.photo-circle {
  width: clamp(160px, 18vw, 220px);
  height: clamp(160px, 18vw, 220px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--turquoise);
  box-shadow: 0 8px 30px rgba(116, 199, 214, 0.2);
  flex-shrink: 0;
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   ZER EGITEN DUT — Video section
   ============================================ */

.section--video {
  position: relative;
  overflow: hidden;
  contain: paint;
}

.video-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sea-vimeo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sea-vimeo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
}

.video-bg-fallback {
  background: linear-gradient(135deg, #e8e4c8 0%, #F1EED6 30%, #ddd9b8 70%, #e8e4c8 100%);
  background-size: 300% 300%;
  animation: seaGradient 8s ease infinite;
}

@keyframes seaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(241, 238, 214, 0.80);
  z-index: 1;
}

.zer-egiten-content {
  position: relative;
  z-index: 2;
}

/* ============================================
   PSIKOMOTRIZITATEA — Grid cards
   ============================================ */

.psiko-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.psiko-card {
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  border-bottom: 1px solid rgba(58, 159, 191, 0.1);
  border-right: 1px solid rgba(58, 159, 191, 0.1);
  transition: background 0.3s ease;
}

.psiko-card:nth-child(3n) {
  border-right: none;
}

.psiko-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.psiko-card:hover {
  background: rgba(255, 255, 255, 0.5);
}

.psiko-card h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.psiko-card h3 em {
  font-style: italic;
  color: var(--turquoise-dark);
}

.psiko-card p {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-mid);
}

.psiko-card p strong {
  font-weight: 600;
  color: var(--turquoise-dark);
}

/* ============================================
   GELA — Gallery (full width)
   ============================================ */

.section--gela {
  background: var(--beige);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.gela-content {
  width: 100%;
}

.gela-title {
  text-align: center;
  padding: 0 2rem;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--turquoise) transparent;
}

.gallery-track::-webkit-scrollbar {
  height: 4px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--turquoise);
  border-radius: 2px;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  height: clamp(180px, 28vh, 300px);
  width: auto;
  display: block;
  object-fit: cover;
}

/* ============================================
   HARREMANETARAKO — Contact
   ============================================ */

.section--contact {
  /* background inherited from section--turquoise */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turquoise-dark);
}

.form-group input,
.form-group textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(116, 199, 214, 0.25);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-send {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  background: var(--turquoise);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start;
}

.btn-send:hover {
  background: var(--turquoise-dark);
  transform: translateY(-1px);
}

.contact-info-v4 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn svg {
  flex-shrink: 0;
}

.contact-btn--whatsapp {
  background: #25D366;
  color: white;
}

.contact-btn--email {
  background: var(--turquoise);
  color: white;
}

.contact-btn--phone {
  background: var(--turquoise-dark);
  color: white;
}

.contact-btn--insta {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  color: white;
}
.contact-btn--location {
  background: #3A9FBF;
  color: white;
}

.hero-bg--fallback {
  z-index: 0;
}

.contact-location {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-light);
  padding-left: 0.2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--turquoise);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 1rem;
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 300;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--white);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 1rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

/* ── Slide up (default) ── */
.reveal-up {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Fade in (no movement) ── */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ── Slide from left ── */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Slide from right ── */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Scale in ── */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Word-by-word reveal (applied via JS) ── */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.word-reveal.visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger siblings (works for all reveal-* types) ── */
.reveal-up:nth-child(2),
.reveal-left:nth-child(2),
.reveal-right:nth-child(2),
.reveal-fade:nth-child(2) { transition-delay: 0.08s; }

.reveal-up:nth-child(3),
.reveal-left:nth-child(3),
.reveal-right:nth-child(3),
.reveal-fade:nth-child(3) { transition-delay: 0.16s; }

.reveal-up:nth-child(4),
.reveal-left:nth-child(4),
.reveal-right:nth-child(4),
.reveal-fade:nth-child(4) { transition-delay: 0.24s; }

.reveal-up:nth-child(5),
.reveal-left:nth-child(5),
.reveal-right:nth-child(5),
.reveal-fade:nth-child(5) { transition-delay: 0.32s; }

.reveal-up:nth-child(6),
.reveal-left:nth-child(6),
.reveal-right:nth-child(6),
.reveal-fade:nth-child(6) { transition-delay: 0.40s; }

.reveal-up:nth-child(7),
.reveal-left:nth-child(7),
.reveal-right:nth-child(7),
.reveal-fade:nth-child(7) { transition-delay: 0.48s; }

.reveal-up:nth-child(8),
.reveal-left:nth-child(8),
.reveal-right:nth-child(8),
.reveal-fade:nth-child(8) { transition-delay: 0.56s; }

/* ── Photo circle gentle float ── */
.photo-circle {
  animation: gentleFloat 4s ease-in-out infinite;
  animation-play-state: paused;
}

.reveal-scale.visible .photo-circle {
  animation-play-state: running;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

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

  .psiko-card:nth-child(3n) {
    border-right: 1px solid rgba(58, 159, 191, 0.1);
  }

  .section--turquoise .psiko-card:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .psiko-card:nth-child(2n) {
    border-right: none;
  }

  .psiko-card:nth-last-child(-n+3) {
    border-bottom: 1px solid rgba(58, 159, 191, 0.1);
  }

  .section--turquoise .psiko-card:nth-last-child(-n+3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .psiko-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {

  /* ── Mobile menu: navbar itself becomes fullscreen overlay ── */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.4rem;
    font-family: var(--display);
    text-transform: none;
    letter-spacing: 0;
    color: var(--white);
    font-weight: 700;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Fullscreen overlay when menu is open */
  #navbar.menu-open {
    position: fixed;
    inset: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--turquoise);
    box-shadow: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
  }

  #navbar.menu-open .nav-brand {
    position: absolute;
    top: 0.7rem;
    left: 1rem;
  }

  #navbar.menu-open .nav-name {
    color: var(--white);
  }

  #navbar.menu-open .nav-hamburger {
    position: absolute;
    top: 0.7rem;
    right: 1rem;
  }

  #navbar.menu-open .nav-hamburger span {
    background: var(--white);
  }

  /* ── Hero: size to the video's 16:9 ratio so the whole frame shows, full width, no crop ── */
  .hero-section {
    min-height: 0;
    height: 56.25vw; /* 9/16 of viewport width = exact video aspect ratio */
  }

  /* Fit the whole video to width instead of cover-cropping it */
  .hero-vimeo iframe {
    width: 100%;
    height: 56.25vw;
    min-width: 0;
    min-height: 0;
  }

  /* ── Section layout ── */
  .nor-naiz-grid {
    grid-template-columns: 1fr;
  }

  .nor-naiz-grid .s-title {
    text-align: left;
  }

  .nor-naiz-photo {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .s-text {
    max-width: none;
    text-align: left;
  }

  .s-quote {
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .psiko-grid {
    grid-template-columns: 1fr;
  }

  .psiko-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(58, 159, 191, 0.1) !important;
  }

  .section--turquoise .psiko-card {
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
  }

  .psiko-card:last-child,
  .section--turquoise .psiko-card:last-child {
    border-bottom: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  #navbar {
    padding: 0.6rem 1rem;
  }

  .nav-name {
    font-size: 0.95rem;
  }

  .hero-tagline {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--turquoise);
  border-radius: 3px;
}
