/* ==========================================================================
   Bilge Günay İçözü — portfolio
   Design system: dark, cinematic, laser-red on near-black.
   ========================================================================== */

@view-transition {
  navigation: auto;
}

:root {
  --bg: #0a0908;
  --bg-soft: #121110;
  --surface: #16140f;
  --surface-2: #1b1815;
  --ink: #f4f1e9;
  --ink-soft: #cbc6b8;
  --muted: #8c887c;
  --muted-2: #5c584f;
  --line: rgba(244, 241, 233, 0.1);
  --line-strong: rgba(244, 241, 233, 0.18);
  --red: #ff3b26;
  --red-soft: rgba(255, 59, 38, 0.5);
  --red-glow: rgba(255, 59, 38, 0.28);
  --header-bg: rgba(10, 9, 8, 0.82);
  --panel: rgba(10, 9, 8, 0.7);

  --max: 1560px;
  --shell: 40px;
  --header-height: 92px;
  --section-gap: clamp(96px, 12vw, 200px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);

  --f-display: 'Archivo', 'Inter Tight', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'Space Mono', monospace;
}

html[data-theme="light"] {
  --bg: #f4f1e9;
  --bg-soft: #edeade;
  --surface: #eae6d9;
  --surface-2: #e4e0d1;
  --ink: #0a0908;
  --ink-soft: #35322c;
  --muted: #6d685c;
  --muted-2: #9a9484;
  --line: rgba(10, 9, 8, 0.12);
  --line-strong: rgba(10, 9, 8, 0.22);
  --red: #e02f1c;
  --red-soft: rgba(224, 47, 28, 0.5);
  --red-glow: rgba(224, 47, 28, 0.22);
  --header-bg: rgba(244, 241, 233, 0.86);
  --panel: rgba(244, 241, 233, 0.82);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  background: var(--bg);
  color-scheme: dark;
}
html[data-theme="light"] { color-scheme: light; }

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, iframe, canvas { display: block; max-width: 100%; }
/* stop Chrome painting an opaque white backdrop behind transparent
   cross-origin embeds (Vimeo/YouTube) when the page color-scheme is dark */
iframe { color-scheme: light; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

::selection {
  background: var(--red);
  color: #0a0908;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--shell);
  padding-right: var(--shell);
}

/* ---------- grain + vignette overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- custom cursor: single dot, red on hover ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none !important;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.18s ease, transform 0.18s ease;
  will-change: left, top;
}
.cursor-dot.is-active {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.3);
}
.cursor-dot.is-hidden { opacity: 0; }
html.has-cursor,
html.has-cursor body,
html.has-cursor a,
html.has-cursor button {
  cursor: none;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 1001;
  box-shadow: 0 0 12px var(--red-glow);
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.preloader-count {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.preloader-count span { color: var(--ink); }
.preloader-bar {
  width: min(280px, 60vw);
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
html.no-js .preloader { display: none; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: transform 0.5s var(--ease-soft), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--shell);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
}
.brand-dot { color: var(--red); }

.header-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
  transition: color 0.22s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--ink);
  outline: none;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.theme-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--ink);
  border-color: var(--ink-soft);
  outline: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 1px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 10001;
  background: var(--red);
  color: #0a0908;
  padding: 12px 18px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- main / footer ---------- */
.site-main { padding-top: var(--header-height); }

.site-footer {
  position: relative;
  padding-top: 140px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-footer--slim { padding-top: 40px; }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-grid a { color: var(--ink-soft); transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--red); }

.footer-socials {
  display: flex;
  gap: 20px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}

/* ---------- reveal ---------- */
.reveal-line { display: block; overflow: hidden; }
.reveal-inner { display: inline-block; will-change: transform; }
[data-reveal] {
  opacity: 0;
  transform: translateY(46px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(255, 59, 38, 0.16) 0%, transparent 70%),
    radial-gradient(50% 60% at 15% 80%, rgba(255, 59, 38, 0.08) 0%, transparent 70%),
    var(--bg);
}

/* hero image: blurred/faint at rest, revealed in a soft circle under the cursor */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-base {
  filter: blur(26px) saturate(0.85);
  opacity: 0.22;
  transform: scale(1.08); /* hide soft blur edges */
}
html[data-theme="light"] .hero-image-base {
  opacity: 0.38;
  filter: blur(26px) saturate(0.9);
}
canvas.hero-image-reveal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}
/* text keeps a quiet halo over the image so it stays readable in both themes */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  opacity: 0.55;
  pointer-events: none;
}
/* touch devices: no cursor — show the image quietly instead */
@media (hover: none), (pointer: coarse) {
  .hero-image-reveal { display: none; }
  .hero-image-base { filter: blur(4px) saturate(0.9); opacity: 0.3; }
  html[data-theme="light"] .hero-image-base { opacity: 0.45; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  margin-top: clamp(70px, 14vh, 180px); /* sit lower: more open space for the image reveal above */
}

.hero-kicker {
  margin-bottom: 34px;
}

.hero-sub {
  margin: 0;
  max-width: 24ch;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 600;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: var(--shell);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--ink-soft), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 44px;
  background: var(--red);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(88px); }
}

/* ---------- section heading ---------- */
.section {
  position: relative;
  padding: 0 0 var(--section-gap);
}
.section-anchor { scroll-margin-top: 112px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
  padding-top: var(--section-gap);
  border-top: 1px solid var(--line);
}

.section-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  max-width: 13ch;
}

.section-note {
  max-width: 420px;
  font-size: 0.98rem;
  color: var(--muted);
  text-align: right;
}

/* ---------- work grid: single-column list ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  width: 100%;
}

.work-card {
  position: relative;
  background: var(--bg);
  padding: 38px 38px 34px;
  min-height: min(80vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.work-card-media {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: transform 0.7s var(--ease);
}
.work-card-media img,
.work-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.3) 0%, rgba(10,9,8,0.12) 45%, rgba(10,9,8,0.82) 100%);
}

.work-card:hover .work-card-media,
.work-card:focus-within .work-card-media {
  transform: scale(1.04);
}

.work-card-bottom {
  position: relative;
  z-index: 2;
  color: #f4f1e9;
}

.work-card-tag {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3b26;
  margin-bottom: 14px;
  display: inline-block;
}

.work-card-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: rgba(244, 241, 233, 0.72);
}
.work-card:hover .work-card-meta { color: rgba(244, 241, 233, 0.95); }

.work-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.work-card:hover .work-card-arrow {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

/* ---------- buttons / links ---------- */
.btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 15px 26px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #0a0908;
  outline: none;
}

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--muted-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { text-decoration-color: var(--red); color: var(--red); }

/* ---------- project (case study) page ---------- */
.project-hero {
  position: relative;
  width: 100%;
}
.project-hero-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}
.project-hero-media img,
.project-hero-media video,
.project-hero-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.3fr);
  gap: 60px;
  padding-top: 56px;
}

.project-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.meta-group { display: grid; gap: 24px; }
.meta-block { padding-top: 16px; border-top: 1px solid var(--line); }
.meta-block h3,
.description-block h3 {
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-block p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.meta-block p + p { margin-top: 10px; }

.description-block { max-width: 780px; }
.description-block p { margin: 0; font-size: 1.06rem; color: var(--ink-soft); }
.description-block p + p { margin-top: 16px; }

.project-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }

.project-media-stack {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  margin-top: clamp(60px, 8vw, 110px);
}

.process-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(40px, 6vw, 80px) var(--shell) clamp(24px, 3vw, 40px);
}
.process-heading .eyebrow { flex-shrink: 0; }
.process-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.project-gallery {
  margin-top: clamp(60px, 8vw, 110px);
}
/* thin divider between a video section and the image gallery that follows */
.project-media-stack + .project-gallery::before {
  content: '';
  display: block;
  width: min(100% - (var(--shell) * 2), var(--max));
  height: 1px;
  background: var(--line);
  margin: 0 auto clamp(48px, 8vw, 90px);
}
.gallery-grid {
  columns: 3 300px;
  column-gap: 8px;
  padding: 0 8px;
}
.gallery-grid figure {
  margin: 0 0 8px;
  break-inside: avoid;
  overflow: hidden;
  background: var(--bg);
}
.gallery-grid img { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.04); }

.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: var(--section-gap);
}
.project-nav a {
  padding: 46px var(--shell);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s ease;
}
.project-nav a:first-child { border-right: 1px solid var(--line); text-align: left; }
.project-nav a:last-child { text-align: right; align-items: flex-end; }
.project-nav a:hover { background: var(--surface); }
.project-nav-label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-nav-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@media (max-width: 1100px) {
  .project-intro { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .project-nav { grid-template-columns: 1fr; }
  .project-nav a:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-nav a:last-child { text-align: left; align-items: flex-start; }
  .gallery-grid { columns: 1; }
}

/* ---------- sliders ---------- */
.full-slider {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.slider-viewport { overflow: hidden; }
.full-slider .slider-track { display: flex; align-items: flex-start; transition: transform 0.6s var(--ease-soft); }
.full-slider .slide {
  min-width: 100%;
  height: min(86vh, 1000px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.full-slider .slide img { width: auto; height: 100%; max-width: 100%; object-fit: contain; margin: 0 auto; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  backdrop-filter: blur(6px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.slider-arrow:hover { background: var(--red); border-color: var(--red); color: #0a0908; }
.slider-arrow--prev { left: 20px; }
.slider-arrow--next { right: 20px; }

.slider-dots { display: flex; justify-content: center; gap: 8px; padding-top: 18px; }
.slider-dot { width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; background: var(--muted-2); cursor: pointer; }
.slider-dot.active { background: var(--red); transform: scale(1.2); }

.video-gallery { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line); }
.video-slider { position: relative; border: 1px solid var(--line); background: var(--surface); }
.video-slider .slider-viewport { overflow: hidden; }
.video-slider .slider-track { display: flex; transition: transform 0.6s var(--ease-soft); }
.video-slide { min-width: 100%; position: relative; aspect-ratio: 16/9; flex-shrink: 0; }
.video-slide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.3fr);
  gap: 60px;
  padding-top: var(--section-gap);
  border-top: 1px solid var(--line);
}
.about-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.about-right h3 {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 44px 0 16px;
}
.about-right h3:first-child { margin-top: 0; }
.about-right p { margin: 0; font-size: 1.05rem; color: var(--ink-soft); }
.about-right p + p { margin-top: 16px; }
.about-right ul { display: grid; gap: 10px; }
.about-right ul li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.collab-label { font-size: 0.85em; color: var(--muted); }

/* ---------- production page ---------- */
.production-clients {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 900px;
}
.production-clients span { color: var(--muted); margin: 0 6px; }

/* ---------- sticky sidebar ---------- */
.sticky-side { position: sticky; top: 130px; align-self: start; }

@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .sticky-side { position: static; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root {
    --shell: 22px;
    --header-height: 76px;
  }
  .nav { gap: 16px 18px; }
  .work-card { padding: 26px 24px 24px; min-height: 300px; }
}

@media (max-width: 700px) {
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-note { text-align: left; max-width: none; }
  .project-nav a { padding: 34px var(--shell); }

  /* square-source video (Dissonant): fill full window width instead of letterboxing */
  .project-hero-media--square { aspect-ratio: 1 / 1; }

  /* image gallery: drop the slider on mobile — stack full-width at natural aspect ratio */
  .full-slider { overflow: visible; }
  .full-slider .slider-viewport { overflow: visible; }
  .full-slider .slider-track {
    display: block;
    transform: none !important;
    transition: none;
  }
  .full-slider .slide {
    min-width: 0;
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
  }
  .full-slider .slide + .slide { margin-top: 2px; }
  .full-slider .slide img { width: 100%; height: auto; max-width: none; }
  .full-slider .slider-arrow { display: none; }

  .header-inner { gap: 14px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px var(--shell);
    gap: 26px;
    z-index: 999;
  }
  .nav.is-open a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
}

/* ---------- no-js fallback: never trap content invisible ---------- */
html.no-js [data-reveal],
html.no-js .hero-kicker,
html.no-js .hero-sub,
html.no-js .hero-scroll,
html.no-js .reveal-inner,
html.no-js .work-card { opacity: 1 !important; transform: none !important; }
html.no-js .preloader { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
