/* =========================================================================
   1042-style studio site — recreation
   Type: PP Neue Montreal (Free for Personal Use)
   Palette measured from source: bg #FCFCFC / ink #121212 / grey #7A7A7A
   ========================================================================= */

/* ---- Fonts ---------------------------------------------------------------- */
/* The site renders Inter (loaded via the Google Fonts <link> in index.html; see --font below).
   The PP Neue Montreal @font-face blocks were removed: they were unused (nothing sets that family)
   and the .otf files are Personal-Use licence, so they are also excluded from deploy (.assetsignore).
   To switch back to Neue Montreal: re-add the @font-face rules here, point --font at "Neue Montreal",
   swap the index.html font <link>, and un-ignore assets/fonts/ in .assetsignore. */

/* ---- Tokens --------------------------------------------------------------- */
:root {
  /* dark theme (inverted) — site loads dark; the page-load splash is white (see #introBg) */
  --bg:      #0d0d0f;
  --ink:     #f4f3f1;
  --ink-2:   #8c8c8c;
  --line:    rgba(255, 255, 255, 0.13);
  --white:   #ffffff;

  /* TEST: Inter — revert these two lines (and the <link> in index.html) to restore Neue Montreal */
  --font:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-tx: "Inter", var(--font);

  --pad:     24px;                 /* page gutter (desktop) */
  --maxw:    1512px;               /* content frame */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* palette used for the "colour image" system */
  --c1:#1b3a8b; --c2:#ff5a1f; --c3:#c6f135; --c4:#6b4eff;
  --c5:#ff6fb5; --c6:#0fb5a6; --c7:#ffc93c; --c8:#e23636;
  --c9:#141414; --c10:#2f6fed;
}

/* ---- Reset ---------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;              /* Medium default for all text */
  line-height: 1.35;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }

/* ---- Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.row {
  padding: 0 0 52px;
  scroll-margin-top: 90px;   /* anchor scroll: arrow ~14px below the top, then the uniform 52px gap
                                to the heading, hero text cleared off-screen — tweak here */
}
.row__label {
  font-size: 16px;
  line-height: 1.375;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.row__body { max-width: 46ch; line-height: 20px; }   /* clean strut so inline lists (Selected clients) wrap evenly */

.label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

/* ---- Top bar -------------------------------------------------------------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 20px var(--pad);
  color: var(--ink);
  transition: transform .55s var(--ease), opacity .6s var(--ease);
}
.topbar--hidden { transform: translateY(-120%); }

/* ---- page-load intro: a light curtain lifts to reveal the site ----------- */
#intro { position: fixed; inset: 0; z-index: 35; pointer-events: none; }     /* below the topbar (z 40) */
#introBg { position: absolute; inset: 0; background: #fff; will-change: transform; }   /* white splash */
#intro.lift #introBg { transform: translateY(-100%); transition: transform .95s var(--ease); }
/* the REAL topbar wordmark is the star: it rises from the curtain to its header home.
   No separate element / handoff, so nothing pops at the end. */
.wordmark-nav > span { transition: color .45s var(--ease), opacity 2.2s var(--ease); will-change: opacity, transform; }
body.intro-run  .topbar { background: none; }                               /* drop the mobile scrim over the splash */
/* intro-arm is set in the HTML so the wordmark is invisible + centred from the very FIRST paint (no flash). */
body.intro-arm .wordmark-nav > span { opacity: 0; }
body.intro-arm .wordmark-nav > span,
body.intro-run .wordmark-nav > span { color: #121212; text-shadow: none; transform: translateY(calc(50vh - 32px)); }  /* centred + dark over the white splash */
body.intro-run .wordmark-nav > span { transition: color .45s var(--ease), opacity .35s var(--ease); }
/* lift: intro-run removed + intro-done added → transform returns to 0; the .95s transform transition
   is only introduced now, so the wordmark rises smoothly to the header without animating on load. */
body.intro-done .wordmark-nav > span { transition: color .45s var(--ease), opacity 2.2s var(--ease), transform .95s var(--ease); }
.wordmark-nav > span.wordmark--letters { display: inline-block; overflow: hidden; }
.wordmark-letter {
  display: inline-block; opacity: 0; transform: translateY(115%);
  transition: opacity .25s var(--ease), transform .72s var(--ease);
  transition-delay: calc(500ms + var(--i) * 55ms);
}
.wordmark-nav > span.wordmark--revealed .wordmark-letter { opacity: 1; transform: translateY(0); }
.intro { transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.intro-arm .intro,
body.intro-run .intro { opacity: 0; transform: translateY(34px); }           /* hero held behind the curtain (from first paint) */

/* ---- mobile portrait-only guard ------------------------------------------ */
#rotate { display: none; }
@media (orientation: landscape) and (max-height: 520px) {   /* a phone held in landscape */
  #rotate {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 500;
    background: var(--bg); color: var(--ink); text-align: center; padding: 24px;
  }
  #rotate .rotate__inner { max-width: 260px; }
  #rotate svg { width: 40px; height: 40px; margin: 0 auto 14px; display: block; }
  #rotate p { font-size: 16px; line-height: 1.45; letter-spacing: -0.01em; }
  body { overflow: hidden; }
}
.wordmark-nav {
  display: flex; align-items: baseline; justify-content: space-between;
  width: 74%;
}
.wordmark-nav > span,
.topbar__nav a {
  font-weight: 500; letter-spacing: -0.01em; line-height: 1;
}
.wordmark-nav > span { font-size: 18px; }
.wordmark-nav sup { font-size: 0.42em; top: -0.7em; }
.topbar__nav a { position: relative; font-size: 16px; }
.topbar__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.topbar__nav a:hover::after { transform: scaleX(1); }

/* ---- Hero showcase carousel ---------------------------------------------- */
.mobile-hero { display: none; }
.hero-stage { padding-top: 52px; padding-bottom: 0; }
.showcase {
  position: relative; width: 100%;
  aspect-ratio: 41 / 34;                    /* near-square, slightly wide (mobile) */
  border-radius: 0; overflow: hidden;
  background: var(--bg);                     /* page colour, not dark — so a sub-pixel edge
                                               never shows as a black hairline (was #0e0e10) */
}
.showcase__track {
  display: flex; height: 100%;
  transition: none;                          /* swap is instant; the visible transition is .sc-fade */
}
/* fade-to-black curtain over the whole card during a slide change */
.sc-fade {
  position: absolute; inset: 0; background: #000;
  opacity: 0; pointer-events: none; z-index: 9;
  transition: opacity 280ms var(--ease);
}
.slide {
  position: relative; flex: 0 0 auto; width: var(--sc-w, 100%); height: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* nav — invisible click halves + a cursor-following floating arrow (1042-style) */
.sc-half {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: none; border: none; padding: 0; margin: 0;
  z-index: 6; pointer-events: none;    /* visual only (holds the mobile arrow); nav is a click handler on .showcase, so the caption CTA stays tappable */
}
.sc-half--prev { left: 0; }
.sc-half--next { right: 0; }
/* the floating arrow replaces the OS cursor over the card once JS is wired */
.sc-cursor-on .showcase { cursor: none; }
.sc-cursor-on .slide__cta { cursor: pointer; }

/* small visible arrow — hidden on desktop (the floating one takes over), shown on mobile */
.sc-half__dot { display: none; }

/* desktop floating arrow that tracks the pointer */
.sc-cursor {
  position: absolute; left: 50%; top: 50%; z-index: 7;
  width: 40px; height: 40px; border-radius: 50%; box-sizing: border-box;   /* 25% smaller */
  background: none; border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(0.6);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.sc-cursor.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sc-cursor svg { width: 46.40625px; height: 46.40625px; }  /* 35% larger; click regions remain unchanged */
/* slow looping micro-animation on the arrow once it fades in — a gentle drift in the pointing direction */
.sc-cursor.is-on svg { animation: scNudgeNext 1.8s ease-in-out infinite; will-change: transform; }
.sc-cursor.is-on.is-prev svg { animation-name: scNudgePrev; }
@keyframes scNudgeNext { 0%, 100% { transform: translate3d(-2px,0,0); } 50% { transform: translate3d(2px,0,0); } }
@keyframes scNudgePrev { 0%, 100% { transform: translate3d(2px,0,0); } 50% { transform: translate3d(-2px,0,0); } }
@media (prefers-reduced-motion: reduce) { .sc-cursor.is-on svg { animation: none; } }

/* index counter — top-left of the card (desktop nudges it in to 96, see media query) */
.sc-index {
  position: absolute; right: 20px; bottom: 20px; z-index: 6;
  color: #fff; font-size: 16px; letter-spacing: -0.01em;   /* matches the caption value text on top */
}

/* image project slide (full-bleed) — explicit 100%+2px width, centered, so it bleeds 1px
   each side (clipped by .slide overflow) and no dark sub-pixel seam shows at either fractional
   edge. NB: left/right + width:auto does NOT stretch a replaced <img>/<video> — it left the
   right edge un-bled, hence the seam. */
.slide__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* no transform/bleed: a composited layer at a fractional x re-introduced the hairline;
   snapShowcase() already lands the card (and this image) on a whole device pixel */

/* colour project slide */
.slide__frame {
  position: absolute; inset: 12% 10%;
  border-radius: 0; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.slide__screen { position: absolute; inset: 14%; border-radius: 0; background: var(--sc); }
/* image/project caption — bottom-left (desktop nudges it in to 96, see media query).
   z-index 8 + pointer-events:none lets the caption sit over the nav halves while taps still
   pass through to change slides — only the CTA re-enables pointer events, so it's tappable. */
/* top-of-card header: name (left) · Category · Role (pushed right) */
.slide__meta {
  position: absolute; top: 20px; left: 20px; right: 20px; z-index: 8; pointer-events: none;
  display: flex; align-items: flex-start; gap: 40px;
}
.slide__field { display: flex; flex-direction: column; gap: 4px; }
.slide__field--role { margin-left: auto; text-align: right; }   /* Role to the far right */
.slide__lbl   { font-size: 12px; opacity: 0.55; line-height: 1.2; }
.slide__val   { font-size: 16px; line-height: 1.2; }
.slide__val--name { font-weight: 500; }   /* project name reads as the primary field */
.slide__cta {
  align-self: flex-start; margin-top: 24px;            /* double padding — set apart from the caption */
  font-size: 16px; color: inherit; pointer-events: auto;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.slide__cta:hover { opacity: 0.75; }

/* specimen (brand-guidelines) slide */
.specimen { background: radial-gradient(130% 120% at 28% 6%, #26262c 0%, #0f0f12 60%); }
.spec-card {
  position: absolute; color: #fff; border-radius: 12px;
  background: #17171b; border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45); padding: 5% 6%;
}
.spec-card--back {
  left: -10%; top: 15%; width: 58%; height: 74%;
  transform: rotate(-9deg); z-index: 1; background: #1c1c21;
}
.spec-card--front {
  right: -8%; top: 6%; width: 74%; height: 88%;
  transform: rotate(-4deg); z-index: 2;
}
.spec-title { font-size: clamp(16px, 4.6vw, 26px); margin-bottom: 4%; }
.spec-lbl { font-size: 10px; color: rgba(255,255,255,0.45); margin: 5% 0 1.5%; letter-spacing: 0.02em; }
.spec-d1 { font-size: clamp(20px, 6.6vw, 40px); font-weight: 500; line-height: 1; }
.spec-d2 { font-size: clamp(15px, 4.8vw, 30px); color: rgba(255,255,255,0.82); line-height: 1.1; }
.spec-hrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2% 6%; }
.spec-hrow span, .spec-brow span { font-size: clamp(11px, 3vw, 15px); color: rgba(255,255,255,0.9); }
.spec-brow { display: flex; flex-wrap: wrap; gap: 4% 8%; }
.spec-cards { display: flex; gap: 6%; margin-top: 3%; }
.spec-swatch { flex: 1; height: 22%; min-height: 34px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)); position: relative; }
.spec-swatch i { position: absolute; left: 18%; right: 18%; bottom: 22%; height: 12%;
  border-radius: 3px; background: #6b4eff; }

/* ---- Marquee (colour "images") -------------------------------------------- */
.marquee {
  position: relative;
  margin-top: 0;
  padding-top: 74px;                         /* clear the fixed top bar */
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.marquee__track {
  display: flex; gap: 14px; width: max-content;
  will-change: transform;
}
.tile {
  position: relative;
  width: 300px; height: 380px; flex: 0 0 auto;
  border-radius: 4px; overflow: hidden;
  background: var(--tile, #ddd);
}
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__idx {
  position: absolute; left: 12px; top: 10px;
  font-size: 11px; letter-spacing: 0.02em; color: rgba(255,255,255,0.85);
  mix-blend-mode: difference;
}

/* ---- Intro / hero --------------------------------------------------------- */
.intro { padding-top: 52px; padding-bottom: 52px; }   /* carousel→text gap matches the 52px inter-section rhythm (mobile; desktop overrides below) */
.intro__eyebrow { font-size: 16px; line-height: 22px; letter-spacing: normal; color: var(--ink-2); margin-bottom: 16px; }
.intro__lead {
  font-family: var(--font);
  font-size: 24px;
  line-height: 30px; font-weight: 500;       /* Medium — 1042 desktop lead (≥1200) */
  max-width: 26ch; letter-spacing: normal;   /* match 1042 (was 6%) */
}
.intro__cta {
  display: none; margin-top: 14px;                 /* hidden on mobile, shown on desktop */
  font-size: 16px; letter-spacing: -0.01em;
}
.intro__cta .u { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.scroll-cue {
  display: block; margin-top: 22px; width: 24px; height: 28px; color: var(--ink);
}
.scroll-cue svg { width: 100%; height: 100%; animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: 0.55; } }
.link-underline { position: relative; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(1); transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); }
.link-underline .dot { transition: transform .45s var(--ease); display: inline-block; }
.link-underline:hover .dot { transform: translateX(4px); }

/* ---- Generic content ------------------------------------------------------ */
.prose { font-size: 16px; line-height: 20px; max-width: 46ch; letter-spacing: 0; }
.work-cta { margin-top: 16px; }        /* "Request case study" link under the email */
.prose--tx { font-family: var(--font-tx); }
.nw { white-space: nowrap; }   /* keeps a multi-word name (e.g. "Axel Springer") from breaking across lines */

/* project & client lists */
.list { list-style: none; }
.list--inline { display: inline; }
.list--inline li { display: inline; font-size: 16px; line-height: 20px; }

/* inline underlined project links */
.list-links { max-width: 46ch; }
.list-links a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: color .3s var(--ease);
}
.list-links a:hover { color: var(--rc, var(--ink-2)); }
.list--inline li:not(:last-child)::after { content: ",\00a0"; color: inherit; }

/* Latest projects — interactive rows */
.projects { list-style: none; border-top: 1px solid var(--line); }
.projects li { border-bottom: 1px solid var(--line); }
.projects a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 18px;
  transition: padding .5s var(--ease), color .4s var(--ease);
}
.projects a .arrow {
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  font-size: 14px;
}
.projects a:hover { padding-left: 20px; }
.projects a:hover .arrow { opacity: 1; transform: translateX(0); }
.projects li[data-c] a:hover { color: var(--rc); }

/* floating colour preview that follows the cursor over the project list */
.preview {
  position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  width: 220px; height: 150px; border-radius: 6px;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  will-change: transform;
  overflow: hidden;
}
.preview.is-on { opacity: 1; }

/* ---- Stats ---------------------------------------------------------------- */
.stats {
  display: flex; align-items: baseline; justify-content: center; gap: 26px;
  padding: 60px 0 40px; font-family: var(--font);
}
.stats .num { font-size: 96px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.stats .dash { font-size: 40px; color: var(--ink-2); }

/* ---- Footer wordmark lockup ---------------------------------------------- */
.footer { padding: 40px 0 0; }
.footer__links { display: flex; flex-direction: column; gap: 12px; padding-bottom: 34px; }
.footer__links a { font-size: 16px; color: var(--ink); width: fit-content; }
.footer__links a:hover { color: var(--ink-2); }
.footer__copyright { margin: 0; padding-bottom: 34px; font-size: 16px; color: var(--ink); }

.wordmark {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0.06em; padding: 8px 0 26px;
  font-weight: 600; letter-spacing: -0.04em; line-height: 0.82;
  font-size: clamp(84px, 26vw, 420px);
  user-select: none;
}
.wordmark .reg { font-size: 0.14em; font-weight: 600; align-self: flex-start; margin-top: 0.2em; }

/* ---- Reveal primitives ---------------------------------------------------- */
.reveal-line { overflow: hidden; display: block; }
.reveal-line > span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.is-in .reveal-line > span { transform: translateY(0); }

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-in .fade-up, .fade-up.is-in { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }

/* ---- Responsive ----------------------------------------------------------- */
/* desktop: wider showcase, larger controls */
@media (min-width: 810px) {
  /* two columns (1042 logic): scrolling left column (statement + sections),
     sticky card on the right that bleeds to the viewport's right edge, full height */
  .page {
    display: grid;
    grid-template-columns: 21% 1fr;   /* proportional: card-start stays ~26% at any width */
    column-gap: 4%;
    align-items: start;
    max-width: none;                  /* was 1512 — drop the clamp so the card reaches the edge */
    padding: 0 0 0 var(--pad);        /* left gutter only; card is full-bleed top + right */
  }
  .hero-stage {
    grid-column: 2; grid-row: 1;
    align-self: start;
    position: sticky;
    top: 0;                           /* card flush to the top — full bleed */
    padding-top: 0;
    min-width: 0;                 /* let the 1fr track shrink instead of overflowing */
  }
  .showcase { height: 100vh; border-radius: 0; }   /* full-height, full-bleed card */
  .sc-cursor { width: 45px; height: 45px; }   /* 25% smaller */
  .sc-index  { right: 48px; bottom: 20px; left: auto; top: auto; }   /* counter bottom-right; bottom padding matches the 20px top */
  .slide__meta { left: 48px; right: 48px; top: 20px; bottom: auto; }  /* caption header top-aligned with the MATSDAHLE wordmark (topbar padding 20px) */

  .col-left { grid-column: 1; grid-row: 1; min-width: 0; }
  .intro {
    padding: 0 0 52px;   /* arrow→first-section gap = the 52px section rhythm (uniform spacing) */
    display: flex; flex-direction: column; justify-content: flex-end;   /* block flush to the bottom */
    min-height: 100vh;
  }
  .intro__lead { max-width: none; }   /* fill the (proportional) left column */
  .scroll-cue { order: 0; margin: 22px 0 0; }    /* arrow sits at the very bottom */

  /* lower sections: narrow column within the left grid track */
  .row { padding-bottom: 64px; }
  .row__body, .prose, .list-links { max-width: none; }
}


/* lead scales down in the tablet band 810–1199 (1042's 1200 step) */
@media (max-width: 1199px) {
  .intro__lead { font-size: 18px; line-height: 24px; }
}

@media (max-width: 809px) {
  :root { --pad: 20px; }
  .intro__lead { font-size: 24px; line-height: 30px; }   /* phone goes back up to 1042's 24px */
  .row__body .prose {
    font-family: var(--font);
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: normal;
  }
  [data-observe] .fade-up,
  [data-observe] .reveal-line > span {
    transition-delay: calc(var(--reveal-i, 0) * 140ms);
  }
  .stats .num { font-size: 64px; }
  .preview { display: none; }
  .hero-stage { display: none; }
  .mobile-hero {
    display: block; position: relative; height: 100vh; height: 100dvh;
    margin: 0 calc(-1 * var(--pad)); overflow: hidden; background: var(--bg);
  }
  .mobile-hero__media { position: absolute; inset: 0; background: var(--bg); }
  .mobile-hero__fallback,
  .mobile-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mobile-hero__fallback { transition: opacity .35s var(--ease); }
  .mobile-hero.is-playing .mobile-hero__fallback { opacity: 0; }
  .mobile-hero__video { z-index: 1; }
  .mobile-hero__caption {
    position: absolute; left: 20px; right: 20px; bottom: 48px; z-index: 2;
    color: #fff; font-size: 16px; line-height: 1.2; pointer-events: none;
  }
  .mobile-hero .scroll-cue {
    position: absolute; left: 20px; bottom: 20px; z-index: 3;
    margin: 0; color: #fff;
  }
  .sc-cursor { display: none; }               /* no pointer-follow on touch */
  .sc-half__dot {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    color: #fff; pointer-events: none;                        /* white arrow, no circle */
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.45));          /* keeps it legible over light images */
  }
  .sc-half--prev .sc-half__dot { left: 12px; }
  .sc-half--next .sc-half__dot { right: 12px; }
  .sc-half__dot svg { width: 30px; height: 30px; }            /* 25% larger arrow graphic; click target is unchanged */
  .sc-half--prev .sc-half__dot svg { animation: scNudgePrev 1.8s ease-in-out infinite; will-change: transform; }   /* slow looping drift */
  .sc-half--next .sc-half__dot svg { animation: scNudgeNext 1.8s ease-in-out infinite; will-change: transform; }
  @media (prefers-reduced-motion: reduce) { .sc-half__dot svg { animation: none; } }

  .topbar { background: linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0)); }
  .wordmark-nav > span { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }  /* legible over the hero image */
}

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }        /* no animated scroll for reduced-motion users */
  .reveal-line > span { transform: none; }
  .fade-up { opacity: 1; transform: none; }
  .mobile-hero__video { display: none; }
}
