/* Viewsource
   Layout: left-aligned editorial column on a faint engineering grid; mono "path" labels mark each section;
   teal from the logo is the only accent. Light and dark themes are driven by the tokens below. */

/* ---------- tokens ---------- */
:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --fg: #0f2329;
  --muted: #4f656c;
  --line: #d4e0e2;
  --grid: rgba(27, 111, 127, 0.07);
  --grid-faint: rgba(27, 111, 127, 0.045);
  --glow-line: transparent;
  --glow-dot: transparent;
  --accent: #1b6f7f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(27, 111, 127, 0.09);
  --danger: #b4312a;
  --hero-img-opacity: 0.10;
  --about-img-opacity: 0.06;
  --panel-bg: #0f2329;
  --panel-fg: #d7e7ea;
  --panel-dim: #8aa2a8;
  --panel-key: #6fd0dc;
  --shadow: 0 1px 2px rgba(15, 35, 41, 0.05), 0 12px 32px -12px rgba(15, 35, 41, 0.18);
  color-scheme: light;

  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(3rem, 11vw, 8rem);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1160px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1417; --surface: #101f23; --fg: #e2eef0; --muted: #8fa7ad; --line: #1e3439;
    --grid: rgba(79, 195, 209, 0.06); --grid-faint: rgba(79, 195, 209, 0.055); --glow-line: rgba(79, 195, 209, 0.12); --glow-dot: rgba(140, 225, 235, 0.55);
    --accent: #4fc3d1; --accent-ink: #062126; --accent-soft: rgba(79, 195, 209, 0.10);
    --danger: #ff8a80; --hero-img-opacity: 0.22; --about-img-opacity: 0.14;
    --panel-bg: #071013; --panel-fg: #d7e7ea; --panel-dim: #7d979d; --panel-key: #6fd0dc;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0a1417; --surface: #101f23; --fg: #e2eef0; --muted: #8fa7ad; --line: #1e3439;
  --grid: rgba(79, 195, 209, 0.06); --grid-faint: rgba(79, 195, 209, 0.055); --glow-line: rgba(79, 195, 209, 0.12); --glow-dot: rgba(140, 225, 235, 0.55);
  --accent: #4fc3d1; --accent-ink: #062126; --accent-soft: rgba(79, 195, 209, 0.10);
  --danger: #ff8a80; --hero-img-opacity: 0.22; --about-img-opacity: 0.14;
  --panel-bg: #071013; --panel-fg: #d7e7ea; --panel-dim: #7d979d; --panel-key: #6fd0dc;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; }
code { font-family: var(--font-mono); font-size: .9em; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin: 0 0 0 auto; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 6px 12px; border-radius: 6px;
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--fg); background: var(--accent-soft); }
.nav-links a.active { color: var(--accent); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--step--1);
  border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: inline; }
}
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 8px; padding: 6px 9px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { gap: 10px; }
  .nav-links {
    position: absolute; top: var(--header-h); left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links:not(.open) { display: none; }
  .theme-toggle .label { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-bg {
  position: absolute; inset: -15% 0;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
  opacity: var(--hero-img-opacity);
  filter: grayscale(.6) contrast(1.1);
  will-change: transform;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center var(--grid-y, 0px);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(72px, 13vw, 160px); }
.hero-sub .hero-inner { padding-block: clamp(56px, 9vw, 112px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent);
  letter-spacing: 0.02em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; margin-top: 18px; }
.hero-sub h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
.hero h1 .cursor { display: inline-block; width: 0.08em; height: 0.82em; background: var(--accent); margin-left: 0.06em; vertical-align: -0.04em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lede { font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--muted); margin-top: 20px; max-width: 30ch; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 0.98rem; text-decoration: none;
  transition: transform .2s, background-color .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- sections ---------- */
.section { position: relative; isolation: isolate; padding-block: clamp(72px, 10vw, 128px); }

/* Faint grid behind each section, faded out in a soft oval so it breaks up the space without tiling it.
   The bright corner alternates between sections. */
.section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-faint) 1px, transparent 1px);
  background-size: 40px 40px;
  /* --grid-y (set by main.js) lines every section's grid up with the page, so rows stay 40px apart across boundaries */
  background-position: center var(--grid-y, 0px);
  --fade-at: 88% 8%;
  mask-image: radial-gradient(ellipse 55% 75% at var(--fade-at), #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at var(--fade-at), #000 0%, transparent 100%);
}
.section:nth-of-type(even)::before { --fade-at: 10% 92%; }

/* Pointer glow (dark mode, mouse only): the same 40px grid, brighter, with a dot on every intersection,
   shown in a circle around the pointer. main.js sets --gx/--gy in each area's own coordinates.
   It sits behind the content, so cards and panels with their own background hide it. */
.site-footer { position: relative; isolation: isolate; }
.section::after, .site-footer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, var(--glow-dot) 1.3px, transparent 2px),
    linear-gradient(var(--glow-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--glow-line) 1px, transparent 1px);
  background-size: 40px 40px;
  /* the dot tile is shifted half a cell so each dot lands on a line intersection */
  background-position: calc(50% - 19.5px) calc(var(--grid-y, 0px) - 19.5px), center var(--grid-y, 0px), center var(--grid-y, 0px);
  mask-image: radial-gradient(circle 150px at var(--gx, -999px) var(--gy, -999px), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 150px at var(--gx, -999px) var(--gy, -999px), #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%);
  opacity: 0; transition: opacity .35s ease;
}
.glow-on .section::after, .glow-on .site-footer::after { opacity: 1; }
:root[data-theme="light"] .section::after, :root[data-theme="light"] .site-footer::after { display: none; }
@media (hover: none), (pointer: coarse) { .section::after, .site-footer::after { display: none; } }
@media (max-width: 760px) {
  .section::before {
    mask-image: radial-gradient(ellipse 90% 45% at var(--fade-at), #000 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 45% at var(--fade-at), #000 0%, transparent 100%);
  }
}
.section-tight-top { padding-top: 0; }
/* used where the next section continues this one (Services -> Flex Tools panel) */
.section-tight-bottom { padding-bottom: clamp(20px, 3vw, 32px); }
.section-head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.path { font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); letter-spacing: 0.02em; }
.section-head h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.025em; }
.section-head p { color: var(--muted); font-size: var(--step-0); }

.ico { display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); flex-shrink: 0; }
.ico svg { width: 22px; height: 22px; }
.ico .bi { font-size: 21px; line-height: 1; }

/* capability strip (What We Do / What are Flex Tools?) */
.capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.cap { padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start; transition: background-color .25s; }
.cap + .cap { border-left: 1px solid var(--line); }
.cap:hover { background: var(--accent-soft); }
.cap .ico { width: 44px; height: 44px; border-radius: 10px; }
.cap .tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.cap h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; }
.cap p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) {
  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap:nth-child(3) { border-left: 0; }
  .cap:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .cap + .cap { border-left: 0; border-top: 1px solid var(--line); }
}

/* about */
.about { background: var(--surface); border-block: 1px solid var(--line); overflow: hidden; }
/* faded close-up of this site's own source, behind the text side of the band */
.about-bg {
  position: absolute; inset: -10% 0; z-index: -1; pointer-events: none;
  background: url("../img/about-bg.jpg") center / cover no-repeat;
  opacity: var(--about-img-opacity);
  filter: grayscale(.6) contrast(1.1);
  mask-image: linear-gradient(to left, #000 15%, transparent 75%);
  -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 75%);
  will-change: transform;
}
@media (max-width: 860px) {
  .about-bg {
    mask-image: linear-gradient(to bottom, transparent 30%, #000 75%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 75%);
  }
}
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; max-width: 100%; box-shadow: var(--shadow); background: var(--line); }
.photo img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; }
.photo figcaption a {
  display: block; font-family: var(--font-mono); font-size: 0.75rem; text-decoration: none;
  background: rgba(7, 16, 19, .72); color: #e2eef0; padding: 5px 10px; border-radius: 6px;
  transition: background-color .2s;
}
.photo figcaption a:hover { background: rgba(7, 16, 19, .9); }
.about-copy { display: grid; gap: 18px; }
.about-copy h2 { font-size: var(--step-3); letter-spacing: -0.025em; }
.about-copy p { color: var(--muted); max-width: 58ch; }
.years { display: flex; align-items: baseline; gap: 14px; padding-block: 6px; }
.years strong { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 4.75rem); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.years span { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); max-width: 22ch; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-family: var(--font-mono); font-size: 0.78rem; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); background: var(--bg); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* services */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.service .ico { width: 48px; height: 48px; border-radius: 12px; }
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 0.98rem; }
.service.wide { grid-column: 1 / -1; }
.service.centred { align-items: center; }
@media (max-width: 760px) { .service-list { grid-template-columns: minmax(0, 1fr); } .service { padding: 22px; } }

/* flex tools */
.tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool { display: grid; gap: 14px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .25s, transform .25s, box-shadow .25s; }
.tool:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-head { display: flex; align-items: center; gap: 14px; }
.tool-logo { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.tool-logo.ico { border-radius: 12px; }
.tool-title { display: grid; gap: 2px; min-width: 0; }
.tool h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.01em; }
.tool h3 a { color: var(--fg); text-decoration: none; }
.tool h3 a:hover { color: var(--accent); }
.tool h3 svg { width: 14px; height: 14px; vertical-align: 2px; margin-left: 4px; color: var(--muted); }
.tool-updated { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tool p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 760px) { .tool-list { grid-template-columns: minmax(0, 1fr); } .tool { padding: 22px; } }

/* contact */
.contact-card {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end;
  padding: clamp(32px, 6vw, 64px); border-radius: 18px; border: 1px solid var(--line);
  background: var(--panel-bg); color: var(--panel-fg); overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(111, 208, 220, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 208, 220, .07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.contact-card > * { position: relative; }
.contact-card .path { color: var(--panel-key); }
.contact-card h2 { font-size: var(--step-3); color: #f2f8f9; letter-spacing: -0.025em; margin-top: 12px; }
.contact-card p { color: var(--panel-dim); margin-top: 14px; max-width: 46ch; }
.email-box { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.email {
  font-family: var(--font-mono); font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--panel-key);
  text-decoration: none; border-bottom: 1px solid rgba(111, 208, 220, .35); padding-bottom: 2px;
  overflow-wrap: anywhere;
}
.copy-btn {
  font-family: var(--font-mono); font-size: var(--step--1);
  background: transparent; color: var(--panel-fg); border: 1px solid rgba(255, 255, 255, .2);
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
}
.copy-btn:hover { border-color: var(--panel-key); }
.loc { font-family: var(--font-mono); font-size: var(--step--1); color: var(--panel-dim); }
@media (max-width: 760px) { .contact-card { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* plain content pages (privacy, error) */
.page-body { max-width: 72ch; display: grid; gap: 16px; }
.page-body h1 { font-size: var(--step-3); letter-spacing: -0.025em; }
.page-body h2, .page-body h3 { font-size: var(--step-1); margin-top: 8px; }
.page-body p { color: var(--muted); }
.page-body .text-danger { color: var(--danger); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 32px; color: var(--muted); font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg); margin: 0 0 12px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand .brand { font-size: 1.05rem; }
.foot-brand .brand img { width: 28px; height: 28px; }
.foot-brand strong { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.foot-bottom .mono { font-size: 0.78rem; }
@media (max-width: 640px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* back to top */
.to-top {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- scroll reveal (starts faintly visible, settles in on scroll) ---------- */
.reveal-pending { opacity: 0.18; transform: translateY(36px); }
.reveal-ready { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .cursor { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
  .hero-bg, .photo img, .about-bg { transform: none !important; }
}
