.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg:        #F2F2F2;
  --bg-hero:   #C8C8C8;
  --panel:     #FFFFFF;
  --accent:    #8BA5BC;
  --text:      #111111;
  --text-dim:  #666666;
  --border:    #DCDCDC;
  --font:      'Inter', sans-serif;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  /* Lock the page to vertical scrolling only — no sideways drag.
     Keeps pinch-zoom for accessibility. */
  touch-action: pan-y pinch-zoom;
}
/* The video row is the one place horizontal swiping is allowed */
.portfolio-scroll { touch-action: pan-x; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Sections ───────────────────────────────────────────── */
.section { min-height: 100vh; padding: 6rem 4rem; position: relative; }

/* ─── Intro Overlay ──────────────────────────────────────── */
.intro-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-video {
  width: clamp(280px, 45vw, 560px);
  max-height: 80vh;
  object-fit: contain;
}
.intro-logo {
  display: none;
  width: clamp(150px, 45vw, 240px);
  opacity: 0;
}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4rem;
  opacity: 0;
  transition: background 0.3s;
}
.navbar.scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
}
.nav-links { display: flex; gap: 2.5rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-hamburger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 0; cursor: pointer; position: relative; z-index: 170; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.2s ease; }
.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); }
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--panel);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  font-size: 2rem;
  font-weight: 700;
  z-index: 150;
}
.nav-mobile.open { display: flex; }
body.menu-open { overflow: hidden; }

/* ─── Hero ────────────────────────────────────────────────── */
.section-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 4rem;
  background: var(--bg-hero);
  text-align: center;
}
.hero-logo-wrap { margin-bottom: 3rem; }
.hero-logo { width: clamp(160px, 28vw, 320px); margin: 0 auto; }
.hero-headline {
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-headline span { display: block; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0) translateY(-100%); opacity: 0; }
  50%  { transform: scaleY(1) translateY(0);     opacity: 1; }
  100% { transform: scaleY(0) translateY(100%);  opacity: 0; }
}

/* ─── Services ────────────────────────────────────────────── */
.section-services { overflow: hidden; }
.services-quote {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 4rem;
}
.services-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-marquee {
  display: inline-flex;
  gap: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: marquee 22s linear infinite;
}
.services-marquee .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.services-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  align-items: start;
}
.services-split-heading h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.services-split-body p { color: var(--text-dim); line-height: 1.8; margin-bottom: 1.2rem; }
.services-split-close {
  color: var(--text) !important;
  font-weight: 700;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ─── Photo Break ────────────────────────────────────────── */
.section-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.break-photo {
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.break-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%);
  display: block;
}
.break-text {
  background: #1A1A1A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
}
.break-heading {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #F0F0F0;
  margin-bottom: 2rem;
}
.break-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #9A9A9A;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2.5rem;
}
.break-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #F0F0F0;
  color: #1A1A1A;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.break-cta:hover { background: var(--accent); color: #fff; }

/* ─── Logos ───────────────────────────────────────────────── */
.section-logos { text-align: center; overflow: hidden; }
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 2.5rem;
  max-width: 960px;
  margin: 3.5rem auto 0;
}
.logo-item {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: opacity(0.85);
  transition: filter 0.3s, transform 0.3s;
}
.logo-item:hover img {
  filter: opacity(1);
  transform: scale(1.06);
}

/* Mobile logo marquee (hidden on desktop) */
.logos-marquee { display: none; }
@keyframes logoMarqueeLeft  { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes logoMarqueeRight { from { transform: translateX(-50%); }   to { transform: translateX(0); } }

/* ─── About ───────────────────────────────────────────────── */
.section-about { display: flex; align-items: center; justify-content: center; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}
.about-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
}
.about-copy p { color: var(--text-dim); line-height: 1.8; margin-bottom: 1.2rem; }
.about-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  font-style: normal;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.5;
}
.about-founder { font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; }
.about-founder em { color: var(--accent); }

/* ─── Testimonials ────────────────────────────────────────── */
.section-testimonials { text-align: center; }
.testimonials-statement {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.testimonial-card {
  background: var(--panel);
  padding: 2rem;
  border-left: 3px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.testimonial-quote { color: var(--text-dim); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-name { font-weight: 700; font-size: 0.85rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }


/* ─── Content / Portfolio Section ────────────────────────── */
.section-content {
  text-align: center;
  min-height: auto;
  padding: 6rem 0;
}
.content-header { margin-bottom: 3rem; padding: 0 4rem; }
.content-sub { font-size: 1.1rem; color: var(--text-dim); margin-top: 0.75rem; max-width: 540px; margin-left: auto; margin-right: auto; }

.portfolio-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 4rem;
}
.portfolio-scroll::-webkit-scrollbar { display: none; }

.portfolio-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.portfolio-card {
  width: clamp(240px, 28vw, 360px);
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.portfolio-video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-video { transform: scale(1.04); }

.portfolio-mute-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0;
  transition: background 0.2s;
  z-index: 2;
}
.portfolio-mute-btn:hover { background: rgba(0,0,0,0.8); }
.portfolio-mute-btn svg { width: 15px; height: 15px; }
.portfolio-mute-btn .icon-unmuted { display: none; }
.portfolio-card.unmuted .icon-muted { display: none; }
.portfolio-card.unmuted .icon-unmuted { display: block; }

.portfolio-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.portfolio-hint svg {
  width: 16px;
  height: 16px;
  animation: hintNudge 1.6s ease-in-out infinite;
}
@keyframes hintNudge {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(5px); opacity: 1; }
}

/* ─── Documentary ────────────────────────────────────────── */
.section-doc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 70vh;
  background: #111111;
}
.doc-image {
  position: relative;
  overflow: hidden;
}
.doc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.6s ease;
}
.section-doc:hover .doc-image img { filter: brightness(1); }
.doc-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: #E4002B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
}
.doc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
}
.doc-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E4002B;
  margin-bottom: 1.2rem;
}
.doc-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #F0F0F0;
  margin-bottom: 2rem;
}
.doc-body {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #9A9A9A;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2.5rem;
}
.doc-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1.5px solid #F0F0F0;
  color: #F0F0F0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.doc-cta:hover { background: #F0F0F0; color: #111111; }

/* ─── Contact / Footer ────────────────────────────────────── */
.section-contact {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.contact-heading {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  align-self: start;
}
.contact-links { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 4rem; align-items: center; }
.contact-link {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.contact-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.contact-link:hover::after { width: 100%; }
.contact-copyright { color: var(--text-dim); font-size: 0.8rem; }

/* ─── Section heading shared ──────────────────────────────── */
.section-heading {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* ─── Focus styles ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.nav-links a:focus-visible,
.nav-mobile a:focus-visible,
.break-cta:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── Testimonials hidden until real content added ───────── */
.section-testimonials { display: none; }

/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .services-marquee { animation: none; }
  .scroll-indicator span { animation: none; }
  .portfolio-hint svg { animation: none; }
  .logos-marquee-row { animation: none !important; }
}

/* ─── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .intro-video { display: none; }
  .intro-logo { display: block; }
  .section { padding: 5rem 1.5rem; }
  .navbar { padding: 1.2rem 1.5rem; justify-content: flex-end; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile {
    inset: auto;
    top: 4rem;
    right: 1.25rem;
    left: auto;
    bottom: auto;
    width: auto;
    min-width: 160px;
    background: var(--panel);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    padding: 1.25rem 1.5rem;
    gap: 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .section-break { grid-template-columns: 1fr; }
  .break-photo { max-height: 60vw; }
  .break-photo img { object-fit: cover; object-position: top center; }
  .services-split { grid-template-columns: 1fr; gap: 2rem; }
  .services-split-heading { text-align: center; }
  .services-split-heading h3 br { display: none; }
  .section-logos { min-height: auto; }
  .logos-grid { display: none; }
  .logos-marquee {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow: hidden;
    margin-top: 2.5rem;
    width: 100%;
  }
  .logos-marquee-row { display: flex; gap: 1.25rem; width: max-content; }
  .logos-marquee-row.row-left  { animation: logoMarqueeLeft  30s linear infinite; }
  .logos-marquee-row.row-right { animation: logoMarqueeRight 30s linear infinite; }
  .logos-marquee .logo-item {
    width: 96px;
    height: 54px;
    flex-shrink: 0;
    background: var(--panel);
    border-radius: 6px;
    padding: 0.6rem;
  }
  .logos-marquee .logo-item img { width: 100%; height: 100%; object-fit: contain; }
  .section-content { padding: 5rem 0; }
  .content-header { padding: 0 1.5rem; }
  .portfolio-scroll { padding: 0 1.5rem; }
  .portfolio-card { width: 200px; }
  .portfolio-hint { display: flex; }
  .section-doc { grid-template-columns: 1fr; }
  .doc-image { min-height: 55vw; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 180px; }
}
