/* ==========================================================================
   GALEFORCE MEDIA — Core stylesheet
   Art direction: "Storm Warning" — near-black canvas, warm cream foreground,
   amber storm-warning accent. Heavy grotesque display + editorial serif accent
   + mono metadata.
   --------------------------------------------------------------------------
   These styles are intentionally UNLAYERED so they sit above Tailwind's
   @layer utilities in the cascade. Anything a utility class needs to override
   is deliberately left unset here (margins, widths, gap, order).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — near-black, never pure #000 (avoids OLED smearing on scroll) */
  --gf-ink:        #0A0A0A;
  --gf-ink-2:      #121212;
  --gf-ink-3:      #1A1A1A;
  --gf-ink-4:      #232323;

  /* Foreground — warm cream, not white */
  --gf-cream:      #EDE8DF;   /* 15.9:1 on --gf-ink */
  --gf-cream-dim:  #A8A29A;   /*  8.0:1 on --gf-ink */
  --gf-cream-faint:#8A8580;   /*  5.3:1 on --gf-ink — quietest tone still clearing WCAG AA */

  /* Accent — storm-warning amber */
  --gf-amber:      #F2612C;
  --gf-amber-lift: #FF7A45;
  --gf-amber-deep: #C6431A;

  /* Lines */
  --gf-line:        rgba(237, 232, 223, 0.11);
  --gf-line-strong: rgba(237, 232, 223, 0.22);

  /* Feedback */
  --gf-danger:  #FF5A5A;
  --gf-success: #57C97E;

  /* Radii — restrained; the references are mostly hard-edged */
  --gf-r-sm: 4px;
  --gf-r-md: 10px;
  --gf-r-lg: 20px;
  --gf-r-pill: 999px;

  /* Spacing rhythm (density 5/10 — standard) */
  --gf-s-1: 8px;
  --gf-s-2: 16px;
  --gf-s-3: 24px;
  --gf-s-4: 32px;
  --gf-s-5: 48px;
  --gf-s-6: 64px;
  --gf-s-7: 96px;
  --gf-s-8: 128px;

  /* Motion — one global rhythm so everything feels like one system */
  --gf-dur-fast: 180ms;
  --gf-dur:      300ms;
  --gf-dur-slow: 620ms;
  --gf-ease:     cubic-bezier(0.22, 1, 0.36, 1);   /* expo-ish out */
  --gf-ease-in:  cubic-bezier(0.64, 0, 0.78, 0);

  /* Layering scale */
  --gf-z-base:   0;
  --gf-z-raised: 10;
  --gf-z-sticky: 40;
  --gf-z-header: 60;
  --gf-z-overlay:80;
  --gf-z-cursor: 90;
  --gf-z-boot:   100;

  /* Layout */
  --gf-gutter: clamp(20px, 5vw, 72px);
  --gf-max:    1560px;
  --gf-header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--gf-ink);
  color: var(--gf-cream);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--gf-cream-dim);
  background: var(--gf-ink);
  overflow-x: hidden;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.gf-lock { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }

::selection { background: var(--gf-amber); color: var(--gf-ink); }

/* Focus — never removed, always visible, offset so it reads on dark */
:focus-visible {
  outline: 2px solid var(--gf-amber);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.gf-skip {
  position: absolute;
  left: var(--gf-gutter);
  top: -100px;
  z-index: calc(var(--gf-z-boot) + 1);
  background: var(--gf-amber);
  color: var(--gf-ink);
  padding: 12px 20px;
  font-weight: 700;
  transition: top var(--gf-dur) var(--gf-ease);
}
.gf-skip:focus { top: 16px; }

/* Grain overlay — sits above everything, ignores pointer events */
.gf-grain {
  position: fixed;
  inset: 0;
  z-index: var(--gf-z-overlay);
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.gf-display,
h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  color: var(--gf-cream);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0;
}

/* Fluid display scale */
/* d1 is capped so the longest hero line ("We make brands", ~7.3em at weight 800)
   still fits the shell at every breakpoint instead of wrapping. */
.gf-d1 { font-size: clamp(2.5rem, 9.6vw, 9rem); line-height: 0.88; letter-spacing: -0.045em; }
.gf-d2 { font-size: clamp(2.5rem, 8.5vw, 7.5rem);  line-height: 0.88; letter-spacing: -0.042em; }
.gf-d3 { font-size: clamp(2rem, 5.6vw, 4.5rem);    line-height: 0.94; letter-spacing: -0.035em; }
.gf-d4 { font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.02; letter-spacing: -0.028em; }
.gf-d5 { font-size: clamp(1.25rem, 2vw, 1.6rem);   line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

/* Editorial serif accent — the "Voyage" counterpoint */
.gf-serif {
  font-family: 'Instrument Serif', 'Bodoni Moda', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  /* Optical size correction: serif italic reads smaller next to Archivo 800 */
  font-size: 1.06em;
}

.gf-amber   { color: var(--gf-amber); }
.gf-cream   { color: var(--gf-cream); }
.gf-dim     { color: var(--gf-cream-dim); }
.gf-faint   { color: var(--gf-cream-faint); }

/* Mono metadata label — the tiny uppercase corner text */
.gf-label {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gf-cream-faint);
}
.gf-label-amber { color: var(--gf-amber); }

/* Section index number, e.g. (01) */
.gf-index {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gf-amber);
}

/* Body copy — constrained measure */
.gf-lead {
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--gf-cream);
  max-width: 62ch;
  text-wrap: pretty;
}
.gf-body { max-width: 68ch; text-wrap: pretty; }
.gf-measure-tight { max-width: 46ch; }

/* Tabular figures wherever numbers align */
.gf-tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.gf-shell {
  width: 100%;
  max-width: var(--gf-max);
  margin-inline: auto;
  padding-inline: var(--gf-gutter);
}

.gf-section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.gf-section-tight { padding-block: clamp(48px, 7vw, 96px); }

.gf-rule { height: 1px; background: var(--gf-line); border: 0; margin: 0; }

/* Section header: mono index + label on the left, big title beside it */
.gf-sechead {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gf-s-3);
  align-items: start;
  padding-block-end: clamp(32px, 5vw, 72px);
}
@media (min-width: 900px) {
  .gf-sechead { grid-template-columns: 220px 1fr; gap: var(--gf-s-5); }
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--gf-r-pill);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--gf-dur) var(--gf-ease),
              border-color var(--gf-dur) var(--gf-ease),
              transform var(--gf-dur-fast) var(--gf-ease);
  touch-action: manipulation;
}
.gf-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform var(--gf-dur-slow) var(--gf-ease);
}
.gf-btn:hover::after,
.gf-btn:focus-visible::after { transform: translateY(0); }
.gf-btn:active { transform: scale(0.97); }

.gf-btn-primary { background: var(--gf-amber); color: var(--gf-ink); }
.gf-btn-primary::after { background: var(--gf-cream); }
.gf-btn-primary:hover, .gf-btn-primary:focus-visible { color: var(--gf-ink); }

.gf-btn-ghost {
  color: var(--gf-cream);
  border: 1px solid var(--gf-line-strong);
}
.gf-btn-ghost::after { background: var(--gf-cream); }
.gf-btn-ghost:hover, .gf-btn-ghost:focus-visible {
  color: var(--gf-ink);
  border-color: var(--gf-cream);
}

.gf-btn-solid { background: var(--gf-cream); color: var(--gf-ink); }
.gf-btn-solid::after { background: var(--gf-amber); }

.gf-btn[disabled],
.gf-btn[aria-disabled='true'] {
  opacity: 0.42;
  pointer-events: none;
  cursor: not-allowed;
}

.gf-btn .gf-btn-spinner { display: none; }
.gf-btn.is-loading .gf-btn-spinner { display: block; animation: gf-spin 720ms linear infinite; }
.gf-btn.is-loading .gf-btn-arrow { display: none; }

@keyframes gf-spin { to { transform: rotate(360deg); } }

/* Circular icon button (the WEN LAUNCH scroll cue) */
.gf-circlebtn {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid var(--gf-line-strong);
  color: var(--gf-cream);
  transition: background var(--gf-dur) var(--gf-ease),
              color var(--gf-dur) var(--gf-ease),
              border-color var(--gf-dur) var(--gf-ease);
}
.gf-circlebtn:hover, .gf-circlebtn:focus-visible {
  background: var(--gf-amber);
  border-color: var(--gf-amber);
  color: var(--gf-ink);
}

/* Text link with animated rule */
.gf-tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gf-cream);
  font-weight: 600;
  padding-block: 6px;
  position: relative;
}
.gf-tlink::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gf-amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--gf-dur) var(--gf-ease);
}
.gf-tlink:hover::before, .gf-tlink:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}
.gf-tlink:hover, .gf-tlink:focus-visible { color: var(--gf-amber); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.gf-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 2px;
  z-index: calc(var(--gf-z-header) + 1);
  background: var(--gf-amber);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.gf-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--gf-z-header);
  padding-block: 18px;
  transition: background var(--gf-dur) var(--gf-ease),
              padding var(--gf-dur) var(--gf-ease),
              border-color var(--gf-dur) var(--gf-ease);
  border-bottom: 1px solid transparent;
}
.gf-header.is-stuck {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--gf-line);
  padding-block: 10px;
}

.gf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gf-s-3);
}

.gf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.04em;
  color: var(--gf-cream);
  text-transform: uppercase;
}
.gf-logo-mark { color: var(--gf-amber); flex: none; }

/* The wordmark is one flex item, so the lockup gap only ever sits between the
   mark and the type — it can never open up inside the word. */
.gf-logo-word { display: inline-block; white-space: nowrap; }

.gf-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .gf-nav { display: flex; } }

.gf-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gf-cream-dim);
  padding: 10px 16px;
  border-radius: var(--gf-r-pill);
  position: relative;
  transition: color var(--gf-dur) var(--gf-ease);
}
.gf-nav a:hover { color: var(--gf-cream); }
.gf-nav a[aria-current='page'] { color: var(--gf-cream); }
.gf-nav a[aria-current='page']::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gf-amber);
}
.gf-nav a[aria-current='page'] { padding-left: 28px; }

.gf-burger {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gf-line-strong);
  color: var(--gf-cream);
  transition: background var(--gf-dur) var(--gf-ease), color var(--gf-dur) var(--gf-ease);
}
.gf-burger:hover { background: var(--gf-ink-3); }
@media (min-width: 1024px) { .gf-burger { display: none; } }

.gf-burger-lines { width: 20px; display: grid; gap: 5px; }
.gf-burger-lines span {
  display: block; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform var(--gf-dur) var(--gf-ease), opacity var(--gf-dur-fast) var(--gf-ease);
}
.gf-burger[aria-expanded='true'] .gf-burger-lines span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.gf-burger[aria-expanded='true'] .gf-burger-lines span:nth-child(2) { opacity: 0; }
.gf-burger[aria-expanded='true'] .gf-burger-lines span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Fullscreen mobile menu */
.gf-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--gf-z-header) - 1);
  background: var(--gf-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gf-header-h) + 32px) var(--gf-gutter) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--gf-dur-slow) var(--gf-ease),
              visibility 0s linear var(--gf-dur-slow);
}
.gf-menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path var(--gf-dur-slow) var(--gf-ease), visibility 0s;
}
.gf-menu-list { list-style: none; margin: 0; padding: 0; }
.gf-menu-list li { border-bottom: 1px solid var(--gf-line); }
.gf-menu-list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  font-size: clamp(2rem, 11vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gf-cream);
  line-height: 1;
  opacity: 0;
  transform: translateY(24px);
}
.gf-menu.is-open .gf-menu-list a { animation: gf-menu-in 520ms var(--gf-ease) forwards; }
.gf-menu-list li:nth-child(1) a { animation-delay: 90ms; }
.gf-menu-list li:nth-child(2) a { animation-delay: 130ms; }
.gf-menu-list li:nth-child(3) a { animation-delay: 170ms; }
.gf-menu-list li:nth-child(4) a { animation-delay: 210ms; }
.gf-menu-list li:nth-child(5) a { animation-delay: 250ms; }
.gf-menu-list a span { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: var(--gf-amber); letter-spacing: 0.1em; }
.gf-menu-list a:hover { color: var(--gf-amber); }

@keyframes gf-menu-in { to { opacity: 1; transform: translateY(0); } }

/* Vertical social rail (reference 2) */
.gf-rail {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--gf-z-sticky);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
@media (min-width: 1400px) { .gf-rail { display: flex; } }
.gf-rail a {
  writing-mode: vertical-rl;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gf-cream-faint);
  padding: 8px 6px;
  transition: color var(--gf-dur) var(--gf-ease);
}
.gf-rail a:hover { color: var(--gf-amber); }
.gf-rail::after { content: ''; width: 1px; height: 72px; background: var(--gf-line-strong); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.gf-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: calc(var(--gf-header-h) + 48px) clamp(32px, 5vw, 64px);
  overflow: hidden;
}
.gf-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
}
.gf-hero-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(120vw, 1100px);
  aspect-ratio: 1;
  right: -20%;
  top: -30%;
  background: radial-gradient(circle at center,
              rgba(242, 97, 44, 0.30) 0%,
              rgba(242, 97, 44, 0.10) 35%,
              transparent 68%);
  filter: blur(20px);
}
.gf-hero > .gf-shell { position: relative; z-index: 1; }

/* Line-mask reveal wrapper */
.gf-lines { display: block; }
.gf-line-mask { display: block; overflow: hidden; }
.gf-line-mask > span { display: block; will-change: transform; }

/* --------------------------------------------------------------------------
   8. MARQUEE
   -------------------------------------------------------------------------- */
.gf-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
  border-block: 1px solid var(--gf-line);
  padding-block: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gf-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-right: clamp(32px, 5vw, 72px);
  flex: none;
  min-width: 100%;
  animation: gf-marquee 38s linear infinite;
}
.gf-marquee:hover .gf-marquee-track { animation-play-state: paused; }
.gf-marquee-amber .gf-marquee-track { animation-duration: 26s; }
.gf-marquee-rev .gf-marquee-track { animation-direction: reverse; }

@keyframes gf-marquee { to { transform: translateX(-100%); } }

.gf-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: none;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  letter-spacing: -0.035em;
  color: var(--gf-cream);
  text-transform: uppercase;
  white-space: nowrap;
}
.gf-marquee-item svg { color: var(--gf-amber); flex: none; }

.gf-marquee-sm .gf-marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gf-cream-faint);
}

/* --------------------------------------------------------------------------
   9. NUMBERED SERVICE LIST (NIKI reference)
   -------------------------------------------------------------------------- */
.gf-numlist { border-top: 1px solid var(--gf-line); }

.gf-numrow {
  display: block;
  border-bottom: 1px solid var(--gf-line);
  padding-block: clamp(24px, 3.4vw, 40px);
  position: relative;
  transition: padding-inline var(--gf-dur-slow) var(--gf-ease);
}
.gf-numrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(242, 97, 44, 0.10), transparent 62%);
  opacity: 0;
  transition: opacity var(--gf-dur) var(--gf-ease);
  pointer-events: none;
}
.gf-numrow:hover::before, .gf-numrow:focus-within::before { opacity: 1; }
@media (min-width: 900px) {
  .gf-numrow:hover, .gf-numrow:focus-within { padding-inline: 24px; }
}

.gf-numrow-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
}
.gf-numrow-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--gf-amber);
  line-height: 1;
  flex: none;
}
.gf-numrow-title {
  font-size: clamp(1.75rem, 5.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--gf-cream);
  transition: transform var(--gf-dur-slow) var(--gf-ease);
}
.gf-numrow:hover .gf-numrow-title { color: var(--gf-cream); }
.gf-numrow-icon {
  flex: none;
  color: var(--gf-cream-faint);
  transition: transform var(--gf-dur) var(--gf-ease), color var(--gf-dur) var(--gf-ease);
}
.gf-numrow:hover .gf-numrow-icon {
  transform: translate(4px, -4px);
  color: var(--gf-amber);
}

.gf-numrow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 18px;
  padding-left: 0;
}
@media (min-width: 900px) {
  .gf-numrow-meta { padding-left: calc(clamp(16px, 3vw, 40px) + 3.6ch); }
}

/* --------------------------------------------------------------------------
   10. BENTO / CARDS
   -------------------------------------------------------------------------- */
.gf-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px)  { .gf-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .gf-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }

.gf-tile {
  background: var(--gf-ink-2);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-lg);
  padding: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--gf-dur) var(--gf-ease),
              background var(--gf-dur) var(--gf-ease),
              transform var(--gf-dur-slow) var(--gf-ease);
}
.gf-tile:hover { border-color: var(--gf-line-strong); background: var(--gf-ink-3); }
a.gf-tile:hover, .gf-tile-lift:hover { transform: translateY(-4px); }

/* Inverted highlight tile (the cream cell in the ABOUT US reference) */
.gf-tile-cream {
  background: var(--gf-cream);
  border-color: var(--gf-cream);
  color: var(--gf-ink);
}
.gf-tile-cream:hover { background: var(--gf-cream); border-color: var(--gf-cream); }
.gf-tile-cream .gf-label,
.gf-tile-cream .gf-stat-label { color: rgba(10, 10, 10, 0.70); }
.gf-tile-cream .gf-stat-num { color: var(--gf-ink); }

.gf-tile-amber {
  background: var(--gf-amber);
  border-color: var(--gf-amber);
  color: var(--gf-ink);
}
.gf-tile-amber:hover { background: var(--gf-amber-lift); border-color: var(--gf-amber-lift); }
.gf-tile-amber .gf-label, .gf-tile-amber .gf-stat-label { color: rgba(10, 10, 10, 0.90); }
.gf-tile-amber .gf-stat-num, .gf-tile-amber h3 { color: var(--gf-ink); }

.gf-tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(242, 97, 44, 0.12);
  color: var(--gf-amber);
  flex: none;
}

/* Stats */
.gf-stat-num {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--gf-amber);
  font-variant-numeric: tabular-nums;
}
.gf-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gf-cream-faint);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. GENERATED ARTWORK (stands in for photography)
   -------------------------------------------------------------------------- */
.gf-art {
  position: relative;
  overflow: hidden;
  background: var(--gf-ink-3);
  isolation: isolate;
}
.gf-art::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.34'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}
.gf-art-inner {
  position: absolute;
  inset: 0;
  will-change: transform;
  transition: transform 900ms var(--gf-ease);
}
.gf-art-1 { background: radial-gradient(120% 90% at 18% 12%, #FF7A45 0%, #C6431A 32%, #3A1608 62%, #0E0E0E 100%); }
.gf-art-2 { background: radial-gradient(110% 100% at 82% 84%, #F2612C 0%, #7A2A10 40%, #141414 78%); }
.gf-art-3 { background: conic-gradient(from 210deg at 40% 60%, #1A1A1A, #F2612C 22%, #2A2A2A 46%, #0E0E0E 72%, #1A1A1A); }
.gf-art-4 { background: linear-gradient(150deg, #EDE8DF 0%, #C9C2B6 34%, #6B4A3A 68%, #1A1A1A 100%); }
.gf-art-5 { background: radial-gradient(90% 120% at 50% 0%, #FF7A45 0%, #2A2A2A 46%, #0A0A0A 100%); }
.gf-art-6 { background: linear-gradient(210deg, #F2612C 0%, #1A1A1A 44%, #EDE8DF 100%); }

.gf-art-ratio-4x5  { aspect-ratio: 4 / 5; }
.gf-art-ratio-3x2  { aspect-ratio: 3 / 2; }
.gf-art-ratio-1x1  { aspect-ratio: 1 / 1; }
.gf-art-ratio-16x9 { aspect-ratio: 16 / 9; }

/* Pill and circle masks (reference 2) */
.gf-mask-pill   { border-radius: 999px; }
.gf-mask-arch   { border-radius: 999px 999px 20px 20px; }
.gf-mask-circle { border-radius: 50%; }
.gf-mask-soft   { border-radius: var(--gf-r-lg); }

/* --------------------------------------------------------------------------
   12. WORK CARDS
   -------------------------------------------------------------------------- */
.gf-work {
  display: block;
  position: relative;
  border-radius: var(--gf-r-lg);
  overflow: hidden;
  background: var(--gf-ink-2);
  border: 1px solid var(--gf-line);
  transition: border-color var(--gf-dur) var(--gf-ease);
}
.gf-work:hover { border-color: var(--gf-line-strong); }
.gf-work:hover .gf-art-inner { transform: scale(1.06); }

.gf-work-body {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
}
.gf-work-title {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--gf-cream);
  line-height: 1.15;
}
.gf-work-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.gf-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gf-cream-faint);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.gf-chip-amber { color: var(--gf-amber); border-color: rgba(242, 97, 44, 0.34); }

/* Filter chips are real controls, so they get a real touch target and a
   larger type size than the decorative chips they sit next to. */
.gf-filter-btn {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  border-color: var(--gf-line-strong);
  transition: background var(--gf-dur) var(--gf-ease),
              border-color var(--gf-dur) var(--gf-ease),
              color var(--gf-dur) var(--gf-ease);
}
.gf-filter-btn:hover { color: var(--gf-cream); border-color: var(--gf-cream); }
.gf-filter-btn[aria-pressed='true'] {
  background: var(--gf-amber);
  border-color: var(--gf-amber);
  color: var(--gf-ink);
}

.gf-work-go {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gf-line-strong);
  color: var(--gf-cream);
  transition: background var(--gf-dur) var(--gf-ease),
              color var(--gf-dur) var(--gf-ease),
              transform var(--gf-dur) var(--gf-ease);
}
.gf-work:hover .gf-work-go {
  background: var(--gf-amber);
  border-color: var(--gf-amber);
  color: var(--gf-ink);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   13. PROCESS (sticky steps)
   -------------------------------------------------------------------------- */
.gf-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gf-s-3);
  padding-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--gf-line);
}
@media (min-width: 900px) {
  .gf-step { grid-template-columns: 120px 1fr 1.1fr; gap: var(--gf-s-5); align-items: start; }
}

/* --------------------------------------------------------------------------
   14. FULL-BLEED COLOUR BLOCK (LUMERA reference)
   -------------------------------------------------------------------------- */
.gf-block-amber {
  background: var(--gf-amber);
  color: var(--gf-ink);
  position: relative;
  overflow: hidden;
}
.gf-block-amber h1, .gf-block-amber h2, .gf-block-amber h3, .gf-block-amber h4,
.gf-block-amber .gf-display,
.gf-block-amber .gf-d1, .gf-block-amber .gf-d2, .gf-block-amber .gf-d3,
.gf-block-amber .gf-d4, .gf-block-amber .gf-d5 { color: var(--gf-ink); }
/* 0.66 alpha lands at ~3.4:1 on amber — below AA for 12px mono. 0.90 gives 4.8:1. */
.gf-block-amber .gf-label { color: rgba(10, 10, 10, 0.90); }
.gf-block-amber .gf-lead { color: rgba(10, 10, 10, 0.92); }
.gf-block-amber .gf-rule { background: rgba(10, 10, 10, 0.20); }

/* Oversized bleeding word */
.gf-bleed {
  font-size: clamp(4.5rem, 21vw, 20rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.055em;
  white-space: nowrap;
  margin: 0;
}

/* --------------------------------------------------------------------------
   15. TESTIMONIALS
   -------------------------------------------------------------------------- */
.gf-quote {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--gf-cream);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.gf-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--gf-ink);
  background: var(--gf-amber);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   16. LOGO GRID (with embedded text cell)
   -------------------------------------------------------------------------- */
.gf-logogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-lg);
  overflow: hidden;
}
@media (min-width: 640px)  { .gf-logogrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gf-logogrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.gf-logocell {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 20px;
  border-right: 1px solid var(--gf-line);
  border-bottom: 1px solid var(--gf-line);
  color: var(--gf-cream-faint);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-align: center;
  transition: color var(--gf-dur) var(--gf-ease), background var(--gf-dur) var(--gf-ease);
}
.gf-logocell:hover { color: var(--gf-cream); background: var(--gf-ink-2); }
/* Full-width band: keeps the logo count divisible by the column count at
   every breakpoint, so there is never a ragged half-empty final row. */
.gf-logocell-text {
  grid-column: 1 / -1;
  color: var(--gf-cream);
  font-size: clamp(1.125rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  min-height: 128px;
}
.gf-logocell-text:hover { background: transparent; }

/* --------------------------------------------------------------------------
   17. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.gf-acc { border-top: 1px solid var(--gf-line); }
.gf-acc-item { border-bottom: 1px solid var(--gf-line); }
.gf-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 24px 0;
  min-height: 56px;
  font-size: clamp(1.05rem, 1.7vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gf-cream);
  transition: color var(--gf-dur) var(--gf-ease);
}
.gf-acc-btn:hover { color: var(--gf-amber); }
.gf-acc-sign { flex: none; position: relative; width: 18px; height: 18px; }
.gf-acc-sign::before, .gf-acc-sign::after {
  content: '';
  position: absolute;
  background: var(--gf-amber);
  transition: transform var(--gf-dur) var(--gf-ease), opacity var(--gf-dur) var(--gf-ease);
}
.gf-acc-sign::before { inset: 8px 0 auto 0; height: 1.5px; }
.gf-acc-sign::after  { inset: 0 8px 0 auto; width: 1.5px; }
.gf-acc-btn[aria-expanded='true'] .gf-acc-sign::after { transform: scaleY(0); }

.gf-acc-panel {
  overflow: hidden;
  height: 0;
  transition: height var(--gf-dur-slow) var(--gf-ease);
}
.gf-acc-panel-inner { padding-bottom: 28px; max-width: 68ch; }

/* --------------------------------------------------------------------------
   18. FORMS
   -------------------------------------------------------------------------- */
.gf-field { display: block; margin-bottom: var(--gf-s-3); }

/* Grouped controls: strip the UA fieldset chrome, keep the semantics. */
.gf-fieldset { border: 0; padding: 0; margin-inline: 0; min-inline-size: 0; }
.gf-fieldset > legend { padding: 0; }

.gf-flabel {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gf-cream-dim);
  margin-bottom: 8px;
}
.gf-flabel .gf-req { color: var(--gf-amber); }

.gf-input,
.gf-textarea,
.gf-select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--gf-ink-2);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-r-md);
  color: var(--gf-cream);
  font-size: 1rem; /* 16px — stops iOS zoom-on-focus */
  transition: border-color var(--gf-dur) var(--gf-ease), background var(--gf-dur) var(--gf-ease);
}
.gf-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.gf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8A29A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.gf-input::placeholder, .gf-textarea::placeholder { color: var(--gf-cream-faint); }
.gf-input:hover, .gf-textarea:hover, .gf-select:hover { border-color: var(--gf-line-strong); }
.gf-input:focus, .gf-textarea:focus, .gf-select:focus {
  border-color: var(--gf-amber);
  background: var(--gf-ink-3);
  outline: none;
}
.gf-input:focus-visible, .gf-textarea:focus-visible, .gf-select:focus-visible {
  outline: 2px solid var(--gf-amber);
  outline-offset: 2px;
}

.gf-help { display: block; font-size: 0.8125rem; color: var(--gf-cream-faint); margin-top: 8px; }

.gf-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--gf-danger);
  margin-top: 8px;
}
.gf-field.is-invalid .gf-error { display: flex; }
.gf-field.is-invalid .gf-input,
.gf-field.is-invalid .gf-textarea,
.gf-field.is-invalid .gf-select { border-color: var(--gf-danger); }

/* Budget / service pickers — accessible chip radios */
.gf-chipset { display: flex; flex-wrap: wrap; gap: 10px; }
.gf-chipin { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gf-chipin + span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--gf-r-pill);
  border: 1px solid var(--gf-line-strong);
  color: var(--gf-cream-dim);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--gf-dur) var(--gf-ease);
}
.gf-chipin + span:hover { border-color: var(--gf-cream); color: var(--gf-cream); }
.gf-chipin:checked + span {
  background: var(--gf-amber);
  border-color: var(--gf-amber);
  color: var(--gf-ink);
}
.gf-chipin:focus-visible + span { outline: 2px solid var(--gf-amber); outline-offset: 3px; }

.gf-formnote {
  display: none;
  gap: 10px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--gf-r-md);
  margin-top: var(--gf-s-3);
  font-size: 0.9375rem;
}
.gf-formnote.is-shown { display: flex; }
.gf-formnote-ok  { background: rgba(87, 201, 126, 0.10); border: 1px solid rgba(87, 201, 126, 0.34); color: #A6E5BC; }
.gf-formnote-err { background: rgba(255, 90, 90, 0.10);  border: 1px solid rgba(255, 90, 90, 0.34);  color: #FFB4B4; }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.gf-footer { border-top: 1px solid var(--gf-line); background: var(--gf-ink); }
.gf-footer a { color: var(--gf-cream-dim); transition: color var(--gf-dur) var(--gf-ease); }
.gf-footer a:hover { color: var(--gf-amber); }
.gf-footlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* --------------------------------------------------------------------------
   20. CUSTOM CURSOR (fine pointers only)
   -------------------------------------------------------------------------- */
.gf-cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--gf-z-cursor);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gf-amber);
  pointer-events: none;
  mix-blend-mode: difference;
  display: none;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: transparent;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .gf-cursor { display: grid; }
}
.gf-cursor.is-hot  { width: 56px; height: 56px; background: var(--gf-cream); }
.gf-cursor.is-view { width: 96px; height: 96px; background: var(--gf-amber); color: var(--gf-ink); mix-blend-mode: normal; }

/* --------------------------------------------------------------------------
   21. BOOT / PAGE TRANSITION
   -------------------------------------------------------------------------- */
.gf-boot {
  position: fixed;
  inset: 0;
  z-index: var(--gf-z-boot);
  background: var(--gf-ink);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
}
.gf-boot-word {
  font-size: clamp(1.75rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--gf-cream);
  overflow: hidden;
}
.gf-boot-bar {
  width: min(240px, 50vw);
  height: 2px;
  background: var(--gf-ink-4);
  overflow: hidden;
}
.gf-boot-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gf-amber);
  transform: scaleX(0);
  transform-origin: left;
}
html.gf-booted .gf-boot { pointer-events: none; }

/* Wipe panel used for page-to-page transitions */
.gf-wipe {
  position: fixed;
  inset: 0;
  z-index: calc(var(--gf-z-boot) - 1);
  background: var(--gf-amber);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   22. REVEAL PRIMITIVES
   JS adds .is-in. If JS never runs, content stays visible (no-JS safe).
   -------------------------------------------------------------------------- */
.gf-reveal { opacity: 1; }
html.gf-js .gf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--gf-dur-slow) var(--gf-ease),
              transform var(--gf-dur-slow) var(--gf-ease);
}
html.gf-js .gf-reveal.is-in { opacity: 1; transform: none; }

html.gf-js .gf-reveal-l { opacity: 0; transform: translateX(-32px);
  transition: opacity var(--gf-dur-slow) var(--gf-ease), transform var(--gf-dur-slow) var(--gf-ease); }
html.gf-js .gf-reveal-l.is-in { opacity: 1; transform: none; }

html.gf-js .gf-reveal-scale { opacity: 0; transform: scale(0.94);
  transition: opacity var(--gf-dur-slow) var(--gf-ease), transform var(--gf-dur-slow) var(--gf-ease); }
html.gf-js .gf-reveal-scale.is-in { opacity: 1; transform: none; }

/* Stagger children */
html.gf-js .gf-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms var(--gf-ease), transform 520ms var(--gf-ease);
}
html.gf-js .gf-stagger.is-in > * { opacity: 1; transform: none; }
html.gf-js .gf-stagger.is-in > *:nth-child(1)  { transition-delay: 0ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(2)  { transition-delay: 45ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(3)  { transition-delay: 90ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(4)  { transition-delay: 135ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(5)  { transition-delay: 180ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(6)  { transition-delay: 225ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(7)  { transition-delay: 270ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(8)  { transition-delay: 315ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(9)  { transition-delay: 360ms; }
html.gf-js .gf-stagger.is-in > *:nth-child(10) { transition-delay: 405ms; }

/* --------------------------------------------------------------------------
   23. COLOUR MODIFIERS
   Declared last so a modifier always beats the component that carries it
   (e.g. .gf-marquee-item.gf-outline), without reaching for !important.
   -------------------------------------------------------------------------- */

/* Outline / stroke display text (NIKI reference).
   Stroke-only text is inherently thin, so it uses the brighter --gf-cream-dim
   (8:1) rather than --gf-cream-faint, and the stroke thickens with the type
   size so large display words don't read as a hairline. */
.gf-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gf-cream-dim);
}
@media (min-width: 1024px) { .gf-outline { -webkit-text-stroke-width: 2px; } }

.gf-outline-amber { -webkit-text-stroke-color: var(--gf-amber); }

/* Firefox has no text-stroke: fall back to a solid quiet fill rather than
   rendering the word invisible. */
@supports not (-webkit-text-stroke: 1px #000) {
  .gf-outline { color: var(--gf-cream-faint); }
  .gf-outline-amber { color: var(--gf-amber); }
}

/* Visibility helpers.
   Tailwind's `hidden` lives in @layer utilities, so it LOSES to unlayered
   component rules like `.gf-btn { display: inline-flex }`. Any gf- component
   that needs responsive hiding must use these instead. */
.gf-from-sm { display: none; }
@media (min-width: 640px)  { .gf-from-sm { display: inline-flex; } }

.gf-from-lg { display: none; }
@media (min-width: 1024px) { .gf-from-lg { display: inline-flex; } }

.gf-upto-lg { display: inline-flex; }
@media (min-width: 1024px) { .gf-upto-lg { display: none; } }

/* --------------------------------------------------------------------------
   24. UTILITIES
   -------------------------------------------------------------------------- */
.gf-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.gf-noscroll-x { overflow-x: clip; }

/* --------------------------------------------------------------------------
   25. REDUCED MOTION
   Honour the OS setting: kill transform-based motion, keep opacity cues.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gf-marquee-track { animation: none !important; transform: none !important; }
  .gf-cursor { display: none !important; }
  .gf-hero-canvas { display: none; }

  html.gf-js .gf-reveal,
  html.gf-js .gf-reveal-l,
  html.gf-js .gf-reveal-scale,
  html.gf-js .gf-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .gf-line-mask > span { transform: none !important; opacity: 1 !important; }
  .gf-boot { display: none !important; }
  .gf-wipe { display: none !important; }
}

/* --------------------------------------------------------------------------
   26. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .gf-header, .gf-rail, .gf-cursor, .gf-grain, .gf-boot,
  .gf-wipe, .gf-marquee, .gf-hero-canvas { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .gf-display, h1, h2, h3 { color: #000 !important; }
}
