/* ============================================================
   RNDM studio — style.css
   ============================================================ */

:root {
  --almost-black: #202020;
  --almost-black-deep: #141414;
  --almost-white: #EFEFE8;
  --grad-orange:  #FF9900;
  --grad-pink:    #F62FFA;
  --grad-main:    linear-gradient(237deg, #FF9900 9%, #F62FFA 132%);
  --grad-vert:    linear-gradient(187deg, #FF9900 9%, #F62FFA 132%);
  --grad-green:   linear-gradient(237deg, #68D25F 9%, #2F8CFA 132%);
  --font-serif:   'the-seasons', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --col:          calc(100vw / 12);
  --nav-h:        48px;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: hidden; }
body {
  background: var(--almost-white);
  color: var(--almost-black);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; font-family: inherit; }
img { display: block; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── GRID LINES ─────────────────────────────────────────────── */
.grid-lines {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  transition: color 0.4s;
}
.grid-line {
  position: absolute; top: 0; bottom: 0; width: 0;
  border-left: 1px dashed rgba(20,20,20,0.25);
  transition: border-color 0.5s;
}
.grid-line[data-col="3"]  { left: calc(3 * var(--col)); }
.grid-line[data-col="6"]  { left: calc(6 * var(--col)); }
.grid-line[data-col="9"]  { left: calc(9 * var(--col)); }
.grid-line--mobile { display: none; left: 50%; }
.grid-lines.dark .grid-line { border-color: rgba(239,239,232,0.55); }
@media (max-width: 768px) {
  .grid-line[data-col="3"],
  .grid-line[data-col="6"],
  .grid-line[data-col="9"] { display: none; }
  .grid-line--mobile { display: block; }
}

/* ── 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 24px;
  z-index: 200;
  color: var(--almost-white);
  transition: color 0.4s;
  pointer-events: none;
}
.nav.light { color: var(--almost-black); }
.nav * { pointer-events: auto; }

/* Left: RNDM studio [space] says hello [space] Vienna */
.nav__left {
  display: flex;
  align-items: baseline;
  gap: 6px; /* space between each label */
  font-size: 12px;
  font-weight: 700;
}
/* Location always clearly readable */
.nav__location {
  /* Default: dark sections → white */
  color: var(--almost-white);
  background: none;
  -webkit-text-fill-color: inherit;
}
/* Light sections → gradient text */
.nav.light .nav__location {
  background: var(--grad-vert);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Right: only IG icon + Studio — hidden in phase 1 */
.nav__right {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
.nav__right.visible { opacity: 1; transform: none; pointer-events: auto; }
.nav__ig {
  display: flex; align-items: center; gap: 6px;
  opacity: 0.85; transition: opacity 0.2s;
}
.nav__ig:hover { opacity: 1; }
.nav__ig svg { display: block; flex-shrink: 0; }

/* Mobile hamburger */
.nav__hamburger { display: none; flex-direction: column; gap: 6px; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 1px; }
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
  .nav__right { display: none; }
}

/* ── FOOTER NAV (fixed bottom) ───────────────────────────────── */
.footer-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 38px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  z-index: 200;
  font-size: 12px; font-weight: 700;
  color: var(--almost-white);
  pointer-events: none;
  transition: color 0.4s, opacity 0.6s;
  opacity: 0; /* hidden until Intro II */
}
.footer-nav.visible { opacity: 1; }
.footer-nav.light { color: var(--almost-black); }
.footer-nav__link { pointer-events: auto; opacity: 0.7; transition: opacity 0.2s; }
.footer-nav__link:hover { opacity: 1; }

/* ── SCROLL INDICATOR ─────────────────────────────────────────── */
.scroll-indicator {
  position: fixed;
  bottom: 7px;
  left: calc(50% + 8px);
  transform: translateX(-50%);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 201;
  opacity: 0;
  transition: opacity 0.6s, color 0.4s;
  pointer-events: auto;
  color: var(--almost-white);
}
.scroll-indicator.visible { opacity: 0.55; }
.scroll-indicator.light { color: var(--almost-black); }
.scroll-indicator svg {
  animation: scrollBob 2.2s ease-in-out infinite;
  display: block;
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ── MOBILE MENU ─────────────────────────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0;
  background: var(--almost-black); color: var(--almost-white);
  z-index: 300; display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%); transition: transform 0.4s var(--ease-out);
}
.menu-overlay.open { transform: none; }
.menu-overlay__close { align-self: flex-end; color: var(--almost-white); padding: 4px; }
.menu-overlay__nav { display: flex; flex-direction: column; margin-top: 60px; }
.menu-overlay__link {
  font-family: var(--font-serif); font-size: 42px; color: var(--almost-white);
  padding: 16px 0; border-bottom: 0.5px solid rgba(239,239,232,0.12);
}
.menu-overlay__footer { margin-top: auto; display: flex; gap: 24px; font-size: 13px; opacity: 0.5; }
.menu-overlay__meta { display: flex; align-items: center; gap: 6px; color: var(--almost-white); }

/* ── CURSOR — system cursor used, dot elements hidden ────────── */
.cursor, .cursor-follower { display: none; }

/* ── SECTIONS — base ─────────────────────────────────────────── */
.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* All sections except clients are exactly 100vh */
.section:not(.section--clients) {
  height: 100vh;
  min-height: 100vh;
  display: flex; align-items: center;
}

/* ── ① INTRO I+II — gradient, fullscreen ────────────────────── */
.section--intro {
  background: var(--grad-main);
  justify-content: center;
  flex-direction: column;
}
.particles-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
/* Phases: absolute stacked, centered */
.intro__phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out);
  z-index: 2;
}
.intro__phase.active { opacity: 1; pointer-events: auto; }

/* "Hello." — fluid, fills ~80% of viewport width */
.intro__hello {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5.8vw, 110px);
  line-height: 1.05;
  color: var(--almost-white);
  letter-spacing: -0.01em;
}

/* Rule above "Welcome" */
.intro__rule {
  width: 124px; height: 4px; border-radius: 2px;
  background: var(--almost-white);
  margin-bottom: 20px;
}

/* "Welcome to RNDM studio." — fluid fullwidth */
.intro__welcome {
  font-family: var(--font-serif);
  /* "Welcome to RNDM studio." is ~24 chars, at ~100vw we want it fullwidth.
     At 100vw ÷ ~24 chars × ~0.55 (aspect ratio The Seasons) ≈ 2.3vw per char,
     so font-size ≈ 100vw / 24 * 0.55 inverse ≈ ~5.5vw works well.
     Confirmed by Figma: 100px at 1728px = 5.79vw → use 5.8vw */
  font-size: clamp(32px, 5.8vw, 110px);
  line-height: 1.05;
  color: var(--almost-white);
  letter-spacing: -0.01em;
}

/* ── ② INTRO III — white, two centered text layers ──────────── */
.section--intro3 {
  background: var(--almost-white);
  justify-content: center;
  align-items: center;
}

.intro3__bg-text {
  position: absolute;
  inset: 0;
  padding: 80px 40px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(28px, 5vw, 70px);
  line-height: 1.2;
  color: var(--almost-black);
  pointer-events: none;
  z-index: 3;
  display: grid;
  place-items: center;
}
.intro3__bg-text > div {
  width: 100%;
  text-align: center;
}
.intro3__bg-text .word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.28em;
}
.intro3__bg-text .char {
  display: inline-block;
  opacity: 0.25;
  will-change: transform, opacity;
}

/* Main text — BEHIND bg-text */
.intro3__main-text {
  position: relative;
  z-index: 1; /* behind bg-text z-index:3 */
  font-family: var(--font-serif);
  font-size: clamp(32px, 7.7vw, 133px);
  line-height: 1.1;
  color: var(--almost-black);
  text-align: center;
  padding: 0 calc(1 * var(--col));
  max-width: 100%;
}

/* ── ③ WORK ─────────────────────────────────────────────────── */
.section--work {
  background: var(--almost-white);
  padding: 0;
}
/* Chapter label — consistent across all sections */
.chapter-label {
  position: absolute;
  top: var(--nav-h);
  left: 24px;
  padding-top: 12px;
  z-index: 10;
}
.chapter-rule {
  width: 124px; height: 4px; border-radius: 2px;
  background: var(--almost-black);
  margin-bottom: 8px;
}
.chapter-rule--white { background: var(--almost-white); }
.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.8vw, 52px);
  color: var(--almost-black);
  line-height: 1;
  text-align: left;
}
.chapter-title--white { color: var(--almost-white); }

.work__slider { position: relative; width: 100%; height: 100%; }
.work__slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}
.work__slide.active { opacity: 1; pointer-events: auto; }

/* Image: fills from col 2 (16.67%) to right edge, centered vertically */
.work__slide-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 75vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Project info: bottom left, above footer nav */
.work__slide-info {
  position: absolute;
  bottom: 68px;
  left: 24px;
  max-width: calc(8 * var(--col));
}
.work__slide-client {
  font-family: var(--font-serif);
  font-weight: 400; /* Regular */
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--almost-black);
  margin-bottom: 6px;
  line-height: 1.1;
}
.work__slide-meta {
  font-family: var(--font-sans);
  font-weight: 300; /* Light */
  font-size: clamp(13px, 1.2vw, 20px);
  color: rgba(20,20,20,0.5);
  line-height: 1.6;
}

/* Nav: arrows right side vertically centered, counter left-aligned with → */
.work__nav {
  position: absolute;
  right: calc(var(--col) * 0.5);
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  align-items: flex-start; /* left-align counter with right arrow */
  gap: 8px;
  z-index: 10;
}
.work__arrows { display: flex; gap: 20px; align-items: center; }
.work__arrow {
  font-size: 20px; opacity: 0.4;
  transition: opacity 0.2s; color: var(--almost-black);
}
.work__arrow:hover { opacity: 1; }
.work__counter {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px; letter-spacing: 0.12em;
  opacity: 0.4; color: var(--almost-black);
  /* Offset left to align with → arrow: gap(20px) + ←width(~20px) = ~40px */
  padding-left: 40px;
}
.work__drag-hint {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 9px; letter-spacing: 0.08em;
  opacity: 0.22; color: var(--almost-black);
  padding-left: 40px;
}

/* ── ④ CLIENTS & SERVICES — NOT 100vh, scrollable ───────────── */
.section--clients {
  background: var(--almost-white);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
  padding: 80px 24px 160px;
  display: flex;
  gap: 0;
}
.section-rule { width: 124px; height: 4px; border-radius: 2px; background: var(--almost-black); margin-bottom: 8px; }
.section-rule--gradient { background: var(--grad-main); }
.section-label {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.8vw, 52px);
  color: var(--almost-black);
  margin-bottom: 40px;
  text-align: left;
  line-height: 1;
}

/* Client logo cards — horizontal drag scroll */
.clients__grid {
  display: flex; gap: 24px; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: 8px;
  margin-bottom: 160px;
  width: 100%;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.clients__grid:active { cursor: grabbing; }
.clients__grid::-webkit-scrollbar { display: none; }
.clients__card {
  flex-shrink: 0; width: 261px; height: 261px; border-radius: 8px;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.clients__card img { max-width: 68%; max-height: 68%; object-fit: contain; filter: brightness(0) invert(1); }

/* Fields of Expertise */
.fields__wrap {
  position: relative; width: 100%; height: 780px;
  margin-bottom: 160px;
}
.fields__bg-word {
  position: absolute; font-family: var(--font-serif);
  font-size: clamp(80px, 17vw, 250px);
  color: var(--almost-black-deep); opacity: 0.06; line-height: 1;
  pointer-events: none; white-space: nowrap;
}
.fields__bg-word--fields    { top: 132px; left: 0; }
.fields__bg-word--of        { top: 222px; left: calc(41.67%); }
.fields__bg-word--expertise { top: 402px; right: 0; text-align: right; }
.fields__header { position: absolute; top: 0; left: 0; }
.fields__header .section-rule { display: block; }
.fields__header .section-label { display: block; margin-bottom: 0; }
.fields__items  { position: relative; width: 100%; height: 100%; z-index: 2; }
.fields__item   { position: absolute; }
.fields__item-headline {
  font-family: var(--font-serif); font-size: 32px; color: var(--almost-black);
  margin-bottom: 12px; white-space: nowrap;
  transition: transform 0.15s;
}
.fields__item-body { font-size: 14px; line-height: 18px; color: rgba(20,20,20,0.5); }
/* Positions scaled to use full width — from Figma 1728px canvas, now fluid */
.fields__item--ux        { left: 3%;   top: 140px; }
.fields__item--brand     { left: 51%;  top: 190px; }
.fields__item--direction { left: 10%;  top: 310px; }
.fields__item--strategy  { left: 67%;  top: 330px; }
.fields__item--systems   { left: 34%;  top: 480px; }
.fields__item--service   { left: 4%;   top: 560px; }

/* Quote */
.quote__wrap {
  position: relative; width: 100%;
  padding: 120px 0 160px; text-align: center;
  overflow: visible; /* allow ornament to extend beyond */
}
.quote__ornament {
  position: absolute;
  width: 349px; height: 420px;
  top: 80px;
  left: calc(50% + 180px);
  pointer-events: none; z-index: 0;
  /* JS moves this via background-position lerp on the parent — 
     transition handled by JS ornament lerp loop */
  display: block;
}
.quote__text {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 100px);
  line-height: 1.1;
  background: var(--grad-vert);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; z-index: 2; margin-bottom: 40px;
  display: inline-block;
  max-width: 60vw; /* 60% screen width */
}
.quote__author {
  font-size: 18px; font-weight: 300; opacity: 0.5;
  margin-bottom: 80px; position: relative; z-index: 2; display: block;
}
.quote__body {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 36px);
  line-height: 1.4; color: var(--almost-black);
  max-width: 60vw; display: inline-block; position: relative; z-index: 2;
}

/* ── ④b STUDIO ──────────────────────────────────────────────── */
.section--studio {
  background: var(--almost-white);
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
}
.studio__content {
  position: relative;
  z-index: 2;
  padding: 80px calc(var(--col) + 22px) 40px;
  width: 100%; /* full width like Figma */
}
.studio__body {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.5;
  color: var(--almost-black);
  white-space: pre-line;
  max-width: 100%;
  /* Glow in background color for legibility over image */
  text-shadow: 0 0 3.5px rgba(239,239,232,0.75);
}
/* Portrait: large, centered, behind text, bottom-anchored */
.studio__portrait {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-height: 85%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
  pointer-events: none;
}

.section--studio .chapter-label {
  text-shadow: 0 0 3.5px rgba(239,239,232,0.75);
}

@media (max-width: 768px) {
  .studio__portrait { width: 100%; }
  .studio__content  { padding: 60px 20px 40px; }
}

/* ── ⑤ OFFF ─────────────────────────────────────────────────── */
.section--offf {
  padding: 0;
  background: #000;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
.offf__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.offf__content {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 80px;
}
/* Rule + headline block — from Figma: left 166px = ~9.6% of 1728px ≈ col 1 + some */
.offf__headline-wrap {
  padding: 0 0 0 calc(1 * var(--col));
  margin-bottom: 48px;
}
.offf__rule {
  width: 118px; height: 4px; border-radius: 2px;
  background: var(--almost-white);
  margin-bottom: 12px;
}
.offf__headline {
  font-family: var(--font-serif);
  font-weight: 400;
  /* Figma: 100px at 1728px = 5.79vw */
  font-size: clamp(32px, 5.8vw, 100px);
  line-height: 1.05;
  color: var(--almost-white);
  max-width: calc(9 * var(--col));
}
/* Credit — from Figma: left 461px ≈ 26.7% ≈ between col 3 and col 4 */
.offf__credit {
  padding-left: calc(2.6 * var(--col));
  font-family: var(--font-sans);
  font-weight: 400; /* Regular */
  font-size: clamp(14px, 1.16vw, 20px);
  line-height: 1.8;
  color: var(--almost-white);
  opacity: 1;
}
.offf__photo-credit {
  position: absolute;
  /* Figma: left ~16px, vertically centered ~531px of 1117px */
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 12px; font-weight: 700;
  color: #81eb07;
  white-space: nowrap;
  z-index: 3;
  letter-spacing: 0.03em;
}

/* ── ⑥b EXPERIMENTS FULLSCREEN VARIANT ─────────────────────── */
.section--expfull {
  padding: 0;
  align-items: flex-end;
  background: #000;
}
.expfull__bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.expfull__bg iframe {
  width: 100%; height: 100%;
  border: none;
  pointer-events: auto; /* fullscreen = full interaction */
}
.expfull__overlay {
  display: none; /* theme switching handles readability via JS color changes */
}
/* XL mouse-sensitive title — floats in front of iframe */
.expfull__xl {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-serif);
  font-size: clamp(80px, 14vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  opacity: 0.18;
  white-space: nowrap;
  /* Position set by JS */
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.4s;
}
.expfull__content {
  position: relative; z-index: 2;
  padding: 0 24px 100px;
}
.expfull__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--almost-white);
  margin-bottom: 6px;
}
.expfull__meta {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 300;
  color: var(--almost-white);
  opacity: 0.55;
}
/* Nav — right side vertically centered, same as Work */
.expfull__nav {
  position: absolute;
  right: calc(var(--col) * 0.5);
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 8px;
  z-index: 10;
}
.expfull__arrows { display: flex; gap: 20px; align-items: center; }
.expfull__arrow {
  font-size: 20px; opacity: 0.5;
  color: var(--almost-white);
  transition: opacity 0.2s;
}
.expfull__arrow:hover { opacity: 1; }
.expfull__counter {
  font-family: var(--font-sans); font-weight: 300;
  font-size: 11px; letter-spacing: 0.12em;
  opacity: 0.4; color: var(--almost-white);
  padding-left: 40px;
}
.expfull__hint {
  font-family: var(--font-sans); font-weight: 300;
  font-size: 9px; letter-spacing: 0.08em;
  opacity: 0.22; color: var(--almost-white);
  padding-left: 40px;
}


.section--contact {
  background: var(--grad-main);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
/* Chapter label — top left like work */
.contact__chapter {
  position: absolute;
  top: var(--nav-h); left: 24px;
  padding-top: 12px;
}
.contact__chapter-rule {
  width: 117px; height: 4px; border-radius: 2px;
  background: var(--almost-white); margin-bottom: 8px;
}
.contact__chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.07vw, 53px);
  color: var(--almost-white); line-height: 1;
}
/* Centered content */
.contact__center {
  width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
}
.contact__cta {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.8vw, 100px);
  color: var(--almost-white); text-align: center;
  line-height: 1; letter-spacing: -0.01em;
}
.contact__details {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.1vw, 36px);
  color: var(--almost-white); text-align: center;
  line-height: 1.6;
}
.contact__details a {
  border-bottom: 1px solid rgba(239,239,232,0.5);
  padding-bottom: 2px; transition: opacity 0.2s;
}
.contact__details a:hover { opacity: 0.7; }

/* ── ⑧ END ──────────────────────────────────────────────────── */
.section--end {
  background: var(--almost-white);
  align-items: center;
  justify-content: flex-start; /* left-align */
}
.end__wordmark {
  font-family: var(--font-serif);
  font-size: min(22.45vw, 35vh);
  line-height: 0.848;
  white-space: pre;
  cursor: default;
  user-select: none;
  /* Figma gradient */
  background: linear-gradient(237.12deg, rgb(255,153,0) 9.37%, rgb(246,47,250) 131.67%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── INTRO III — Splitting.js char animation ─────────────────── */
.intro3__bg-text [data-splitting] .char {
  display: inline-block;
}
@keyframes charWave {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

/* ============================================================
   MOBILE — max-width 768px
   ============================================================ */
@media (max-width: 768px) {

  /* ── INTRO I+II — vertically centered ───────────────────── */
  .intro__phase {
    justify-content: center;
    align-items: flex-start;
  }
  .intro__hello,
  .intro__welcome {
    font-size: clamp(48px, 14vw, 120px);
    line-height: 1.0;
    white-space: normal;
  }

  /* ── INTRO III — bigger main text, swap z-index ──────────── */
  .intro3__bg-text {
    font-size: clamp(20px, 6vw, 48px);
    z-index: 2;
    opacity: 0.18;
  }
  .intro3__main-text {
    font-size: clamp(42px, 12vw, 100px);
    z-index: 1;
    padding: 0 12px;
  }

  /* ── CHAPTER / SECTION HEADLINES — 16px ───────────────────── */
  .chapter-title,
  .section-label,
  .contact__chapter-title,
  .expfull__chapter .chapter-title {
    font-size: 16px !important;
  }

  /* ── WORK — full height, image centered, nav + info at bottom */
  .section--work { height: 100vh; min-height: 100vh; }
  .work__slider  { height: 100vh; }
  .work__slide {
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 16px 160px;
  }
  .work__slide-image {
    max-width: 92vw;
    max-height: 55vh;
    position: static;
    transform: none;
    flex-shrink: 0;
  }
  /* ── WORK — nav (arrows+counter) above copy ──────────────── */
  .work__nav {
    position: absolute !important;
    bottom: 148px !important;
    left: 0 !important; right: 0 !important;
    top: auto !important; transform: none !important;
    width: 100% !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 !important;
    z-index: 10;
  }
  .work__arrows { gap: 16px; }
  .work__counter { padding-left: 0 !important; }
  .work__drag-hint { display: none; }
  .work__slide-info {
    position: absolute !important;
    bottom: 52px !important;
    left: 16px !important; right: 16px !important;
    top: auto !important;
    text-align: left;
  }
  .work__slide-client { font-size: 20px !important; }
  .work__slide-meta   { font-size: 12px !important; line-height: 1.4 !important; }

  /* ── SELECTED CLIENTS ─────────────────────────────────────── */
  .clients__card { width: 130px; height: 130px; }

  /* ── FIELDS — vertical stack, left-aligned ───────────────── */
  .fields__wrap { height: auto; min-height: unset; padding-bottom: 40px; }
  .fields__header { position: static !important; left: auto !important; margin-bottom: 20px; }
  .fields__items { position: static; height: auto; }
  .fields__item,
  .fields__item--ux, .fields__item--brand, .fields__item--direction,
  .fields__item--strategy, .fields__item--systems, .fields__item--service {
    position: static !important;
    left: auto !important; top: auto !important;
    margin-bottom: 28px; padding-left: 0 !important; text-align: left !important;
  }
  .fields__item:nth-child(even) { padding-left: 0 !important; }
  .fields__item-headline { font-size: 22px; text-align: left !important; white-space: normal; }
  .fields__item-body { text-align: left !important; }

  /* ── FIELDS BG — compact and staggered ───────────────────── */
  .fields__bg-word {
    display: block;
    font-size: clamp(50px, 14vw, 90px);
    opacity: 0.05;
  }
  .fields__bg-word--fields    { top: 20px;  left: -8px; }
  .fields__bg-word--of        { top: 200px; right: -8px; left: auto; }
  .fields__bg-word--expertise { top: 380px; left: -8px; }

  /* ── QUOTE — ornament smaller on mobile ──────────────────── */
  .quote__wrap { padding: 60px 0 80px; overflow: visible; }
  .quote__ornament {
    width: 160px !important;
    height: 192px !important;
  }
  .quote__text, .quote__body { max-width: 90vw; }
  .quote__text { font-size: clamp(28px, 8vw, 60px); }
  .quote__body { font-size: clamp(16px, 4.5vw, 28px); }

  /* ── OFFF — headline at top edge ─────────────────────────── */
  .section--offf { align-items: flex-start; }
  .offf__content { padding-top: 60px; padding-bottom: 40px; }
  .offf__bg { background-position: -200px center; }
  .offf__headline-wrap { padding: 0 0 0 16px; }
  .offf__headline {
    text-align: left;
    font-size: clamp(32px, 10vw, 80px) !important;
    line-height: 1.1;
  }
  .offf__credit { padding-left: 16px; text-align: left; }
  .offf__photo-credit {
    left: auto; right: 16px; top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    font-size: 10px;
  }

  /* ── EXPERIMENTS V2 — headline above ─────────────────────── */
  .section--experiments { display: flex; flex-direction: column; align-items: flex-start; }
  .section--experiments .chapter-label {
    position: static !important;
    width: 100%; padding-top: 80px; padding-left: 0; margin-bottom: 32px;
  }
  .exp__items { position: static; min-height: unset; width: 100%; }
  .exp__item {
    position: static !important;
    left: auto !important; top: auto !important;
    width: 100% !important;
    margin-bottom: 40px; padding: 0 16px;
  }
  .exp__bg-word { display: none; }

}
