/* ==========================================================================
   OsMark — styles
   Palette: dark blue (base) · red (action) · light gold (accent)
   ========================================================================== */
:root {
  --bg: #050b1a;
  --navy-900: #0a1530;
  --navy-800: #10224a;
  --navy-700: #1a3163;
  --red: #d62839;
  --red-hover: #e8354a;
  --red-text: #ff5a69;
  --gold: #e9cb8b;
  --gold-deep: #c9a45c;
  --text: #f5efe3;
  --muted: #a9b4cc;
  --line: rgba(233, 203, 139, 0.16);
  --line-strong: rgba(233, 203, 139, 0.32);
  --surface: rgba(10, 21, 48, 0.62);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 24px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(26, 49, 99, 0.55), transparent 60%),
    radial-gradient(900px 600px at 95% 110%, rgba(214, 40, 57, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
h1 em, h2 em, h3 em, .brand-name em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--bg);
  padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 250;
  display: grid; place-items: center;
  background: var(--bg);
}
.loader.is-done { display: none; }
.loader-inner { display: grid; justify-items: center; gap: 22px; color: var(--gold); }
.loader-bar { width: 180px; height: 2px; background: rgba(233, 203, 139, 0.15); overflow: hidden; border-radius: 2px; }
.loader-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s linear;
}
.loader-pct { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- 3D layer ---------- */
#webgl {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(5, 11, 26, 0.75) 100%);
}
.bg-fallback { display: none; }
.no-webgl .bg-fallback {
  display: block;
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(420px 420px at 72% 40%, rgba(233, 203, 139, 0.18), transparent 70%),
    radial-gradient(360px 360px at 30% 70%, rgba(214, 40, 57, 0.16), transparent 70%);
}

main, .site-footer { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.35s var(--ease-out);
}
.btn .icon { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 12px 32px -12px rgba(214, 40, 57, 0.75);
}
.btn-primary:hover { background: var(--red-hover); box-shadow: 0 16px 40px -12px rgba(214, 40, 57, 0.9); }
.btn-ghost { border-color: rgba(233, 203, 139, 0.4); color: var(--gold); background: rgba(5, 11, 26, 0.3); }
.btn-ghost:hover { background: rgba(233, 203, 139, 0.1); border-color: var(--gold); }
.btn-sm { min-height: 44px; padding: 0 1.2rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px;
  color: var(--gold); font-weight: 600; text-decoration: none;
}
.link-arrow .icon { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 11, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--gold); min-height: 44px; }
.brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.nav-links { display: flex; gap: 0.5rem; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 8px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(5, 11, 26, 0.5);
  cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 2rem;
  padding: 2rem var(--gutter);
  background: #050b1a;
  border-top: 1px solid var(--line);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), visibility 0s linear 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open .site-header { background: #050b1a; border-color: var(--line); }
.mobile-menu ul { display: grid; gap: 0.25rem; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 56px;
  font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---------- Common sections ---------- */
.section { padding-block: clamp(96px, 14vw, 180px); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); line-height: 1.08; }
.section-lead { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; max-width: 58ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: end;
  padding: calc(var(--header-h) + 40px) 0 max(96px, 11vh);
  text-align: center;
}
.hero-inner { display: grid; justify-items: center; }
.hero .eyebrow::before { display: none; }
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1.04; letter-spacing: -0.04em; font-weight: 800;
  max-width: 14ch;
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .word-inner { display: inline-block; }
.hero-lead { margin-top: 1.5rem; max-width: 56ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  min-height: 44px;
}
.scroll-cue-line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--red); animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(5, 11, 26, 0.55);
  overflow: hidden; padding-block: 22px;
}
.marquee-track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--text); white-space: nowrap; }
.marquee span:nth-of-type(even) { color: var(--gold); }
.marquee i { width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services chapters ---------- */
.services-intro { padding-bottom: 0; }
.chapter {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 12vh;
}
.chapter-inner { display: flex; }
.chapter--right .chapter-inner { justify-content: flex-end; }
.chapter-card {
  width: min(500px, 100%);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: linear-gradient(160deg, rgba(16, 34, 74, 0.66), rgba(5, 11, 26, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(233, 203, 139, 0.08);
}
.chapter-meta { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.5rem; }
.chapter-num { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--red-text); }
.chapter-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold);
  background: rgba(233, 203, 139, 0.06);
}
.chapter-kicker { color: var(--muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.chapter-card h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 1rem; }
.chapter-card > p { color: var(--muted); }
.chapter-list { margin: 1.5rem 0; display: grid; gap: 0.7rem; }
.chapter-list li { display: flex; gap: 0.8rem; align-items: baseline; }
.chapter-list li::before {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  background: var(--gold); transform: rotate(45deg) translateY(-2px);
}

/* chapter progress dots */
.chapter-nav {
  position: fixed; right: 22px; top: 50%; z-index: 40;
  display: grid; gap: 2px;
  transform: translate(12px, -50%); opacity: 0; visibility: hidden;
  transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0s linear 0.4s;
}
.chapter-nav.is-visible { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.chapter-nav button {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; position: relative;
}
.chapter-nav button::before {
  content: ''; width: 8px; height: 8px; border-radius: 99px;
  background: rgba(233, 203, 139, 0.35);
  transition: height 0.4s var(--ease-out), background-color 0.3s;
}
.chapter-nav button[aria-current='true']::before { height: 26px; background: var(--red); }
.chapter-nav button span {
  position: absolute; right: 48px; white-space: nowrap;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateX(6px); transition: opacity 0.25s, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.chapter-nav button:hover span, .chapter-nav button:focus-visible span { opacity: 1; transform: none; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat {
  padding: 2rem 0 0;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.stat::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--red);
}
.stat-num {
  display: block;
  font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--text), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; margin-top: 0.9rem; color: var(--muted); max-width: 22ch; }

/* ---------- Process ---------- */
.process-track { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
.process-line-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: left; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); border: 1px solid var(--line-strong);
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--gold);
  margin-bottom: 1.75rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.work-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
  position: relative;
}
.work-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(233, 203, 139, 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.work-card:hover { border-color: var(--line-strong); }
.work-card:hover::after { opacity: 1; }
.work-art {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.work-art span {
  font-family: var(--font-serif); font-style: italic; font-weight: 700;
  font-size: clamp(6rem, 12vw, 10rem); line-height: 1;
  transition: transform 0.8s var(--ease-out);
}
.work-card:hover .work-art span { transform: scale(1.08) translateY(-4px); }
.work-art::before, .work-art::after { content: ''; position: absolute; border-radius: 50%; }
.work-art--1 { background: linear-gradient(135deg, #2a1a0f, #7a5a2a 60%, #e9cb8b); }
.work-art--1 span { color: #fff6e4; }
.work-art--1::before { width: 60%; aspect-ratio: 1; border: 1px solid rgba(255, 246, 228, 0.35); right: -12%; top: -20%; }
.work-art--2 { background: linear-gradient(135deg, var(--navy-700), #0d1b3d 55%, var(--red)); }
.work-art--2 span { color: var(--gold); }
.work-art--2::before { width: 38%; aspect-ratio: 1; background: rgba(214, 40, 57, 0.4); left: -8%; bottom: -14%; filter: blur(8px); }
.work-art--3 { background: linear-gradient(135deg, #8e1422, var(--red) 50%, #f08a4b); }
.work-art--3 span { color: #fff; }
.work-art--3::before { width: 50%; aspect-ratio: 1; border: 18px solid rgba(255, 255, 255, 0.12); right: -10%; bottom: -25%; }
.work-art--4 { background: linear-gradient(135deg, #060e22, var(--navy-800) 50%, #2d4f9c); }
.work-art--4 span { color: #fff; }
.work-art--4::before { width: 44%; aspect-ratio: 1; border: 1px solid rgba(233, 203, 139, 0.5); left: 8%; top: 12%; }
.work-art--4::after { width: 12%; aspect-ratio: 1; background: var(--red); right: 18%; top: 18%; }
.work-body { padding: 1.5rem 1.75rem 1.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.tags li {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.3rem 0.75rem;
}
.work-body h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.work-body p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { min-height: 100vh; display: flex; align-items: center; }
.contact-card {
  width: min(620px, 100%);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: linear-gradient(160deg, rgba(16, 34, 74, 0.7), rgba(5, 11, 26, 0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.form { margin-top: 2rem; display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field label { font-size: 0.9rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 0.8rem 1rem;
  background: rgba(5, 11, 26, 0.6);
  border: 1px solid rgba(169, 180, 204, 0.28);
  border-radius: 12px;
  color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9CB8B' 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 14px center; background-size: 18px;
  padding-right: 2.5rem;
}
.field select option { background: var(--navy-900); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(233, 203, 139, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 203, 139, 0.18);
}
.field [aria-invalid='true'] { border-color: var(--red-text); }
.field-hint { font-size: 0.85rem; color: var(--muted); }
.field-error { font-size: 0.85rem; color: var(--red-text); min-height: 0; }
.field-error:empty { display: none; }
.form-status { font-size: 0.95rem; color: var(--gold); }
.form-status:empty { display: none; }

.contact-info { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.75rem; color: var(--muted); }
.contact-info li { display: flex; align-items: center; gap: 0.75rem; }
.contact-info .icon { color: var(--gold); }
.contact-info a { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.contact-info a:hover { text-decoration-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 11, 26, 0.85);
  padding-top: 72px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { margin-top: 1rem; color: var(--muted); max-width: 34ch; }
.footer-title { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul a {
  display: inline-flex; align-items: center; min-height: 36px;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.site-footer ul a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 56px; padding-block: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: 0.9rem;
}
.back-top { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; text-decoration: none; color: var(--gold); }
.back-top .icon { width: 16px; height: 16px; }

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(233, 203, 139, 0.65);
  pointer-events: none;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s, border-color 0.3s, opacity 0.3s;
  mix-blend-mode: normal;
}
.cursor.is-hover { width: 64px; height: 64px; background: rgba(214, 40, 57, 0.14); border-color: var(--red-text); }
.cursor.is-hidden { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .process-line { display: none; }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .chapter-nav { display: none; }

  .hero { padding-bottom: 88px; }

  .chapter { align-items: flex-end; padding-block: 45vh 8vh; }
  .chapter--right .chapter-inner { justify-content: flex-start; }
  .chapter-card { width: 100%; }

  .contact { align-items: flex-end; padding-top: 40vh; }

  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { gap: 2.5rem 1rem; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .section-head--row .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@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;
  }
  .marquee-track { animation: none; }
  .work-card { transform: none !important; }
}
section:focus,main:focus{outline:none}
