/* RBLURRR SUB-PAGE BASE STYLES
   Shared by /work/*.html and /about/. Load order on every page:
     work.css → motion.css (the motion layer, loaded after, so it wins ties)
     → hologram.css → consent.css
   Fonts come from <link> tags in each page's <head> (preconnected, shared
   with the home page's cache) — there is no @import here on purpose.
   Every animation in this file is either wrapped in
   @media (prefers-reduced-motion: no-preference) or switched off at the
   bottom of the file under prefers-reduced-motion: reduce. */

/* ───────────── tokens: warm obsidian + molten gold (matches the home page) ───────────── */
:root {
  --bg: #070503;
  --panel: #100d0a;
  --panel2: #1b1510;
  --text: #f7f4ef;
  --body: #c9c2b7;
  --muted: #8e8578;
  --gold: #ffd277;
  --gold-light: #f4c876;
  --ember: #ff7a3d;
  --label: #e9c982;
  --green: #93e9ce;
  --emerald: #34d399;
  --line: rgba(255, 255, 255, 0.1);
  --line-gold: rgba(255, 210, 119, 0.24);
  --max: 1180px;
  --gradient: linear-gradient(135deg, var(--gold), var(--ember));
  --metal: linear-gradient(180deg, #fffdf6 0%, #ece0c6 52%, #b9a87f 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-stage: cubic-bezier(0.22, 0.9, 0.28, 1);
  --ease-exit: cubic-bezier(0.4, 0, 0, 1);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
}

/* ───────────── base ───────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 122, 61, 0.10), transparent 30%),
    radial-gradient(circle at 15% 28%, rgba(255, 210, 119, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "cv01", "ss03";
  line-height: 1.55;
  /* entrance offsets (cards sliding in from the right) and the About page's
     rotating orbit rings briefly poke past the viewport edge; `clip` hides
     that without creating a scroll container, so the sticky nav still works */
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
/* anchor targets land below the sticky nav */
[id] { scroll-margin-top: 96px; }

/* keyboard users get the same gold ring everywhere (the motion layer adds
   the same ring for its own controls) */
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 9500;
  padding: 10px 14px; border-radius: 8px;
  background: var(--gradient); color: #130b05; font-weight: 600; font-size: 14px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ───────────── nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 5, 3, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font: 600 20px var(--font-heading);
  letter-spacing: 0.16em;
  background: linear-gradient(110deg, var(--gold), var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.links { display: flex; gap: 22px; align-items: center; color: var(--body); font-size: 13px; font-weight: 600; }
.links a { transition: color 0.25s ease; }
.links a:hover, .links a.active { color: #fff; }
.nav-cta, .btn.primary { background: var(--gradient); color: #130b05; border: 0; }
.nav-cta { padding: 10px 14px; border-radius: 8px; }

/* ───────────── hero ───────────── */
.hero {
  max-width: var(--max); margin: auto; padding: 108px 24px 76px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: end;
}
.eyebrow { font: 600 11px var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
h1 { font: 500 clamp(44px, 7vw, 78px)/0.98 var(--font-heading); margin: 18px 0; letter-spacing: -0.055em; max-width: 850px; }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--body); max-width: 720px; line-height: 1.6; }
.hero-side { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); border-radius: 18px; padding: 24px; }
.hero-side strong { display: block; font-size: 15px; margin-bottom: 8px; }
.hero-side p { color: var(--muted); margin: 0; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.proof div { padding: 14px; border-left: 1px solid rgba(255, 210, 119, 0.35); color: var(--muted); font-size: 13px; }
.proof b { display: block; color: var(--text); font-size: 16px; margin-bottom: 3px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ───────────── buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 9px;
  font: 600 14px var(--font-body); color: inherit; cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 210, 119, 0.45); }
.btn[disabled] { cursor: progress; opacity: 0.78; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; transition: gap 0.35s var(--ease-out), color 0.25s ease; }
.text-link:hover { gap: 12px; color: #fff; }

/* ───────────── main + section heads ───────────── */
main { max-width: var(--max); margin: auto; padding: 0 24px 110px; }
.block { position: relative; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  padding: 56px 0 26px; border-top: 1px solid var(--line);
}
h2 { font: 500 clamp(30px, 4vw, 48px)/1.05 var(--font-heading); margin: 8px 0; letter-spacing: -0.035em; }
.section-head p { max-width: 600px; color: var(--muted); margin: 0; }
/* section labels read warm gold like the home page's; the hero eyebrow stays mint */
.section-head .eyebrow, .cta .eyebrow, .inquiry .eyebrow, .pager .eyebrow { color: var(--label); }
.block-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 22px; }

/* ───────────── category + case cards ───────────── */
.category-grid, .case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.category, .case {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  padding: 26px; min-height: 260px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.category:hover, .case:hover { border-color: rgba(255, 210, 119, 0.42); background: linear-gradient(145deg, rgba(255, 210, 119, 0.07), rgba(255, 255, 255, 0.025)); }
.category .num { font: 500 12px var(--font-mono); color: var(--gold); letter-spacing: 0.06em; }
.category h3, .case h3 { font: 500 26px/1.12 var(--font-heading); margin: 46px 0 10px; }
.category p, .case p { color: var(--body); max-width: 620px; }
.arrow { position: absolute; right: 24px; top: 22px; color: var(--gold); font-size: 24px; }
.case { padding: 0; min-height: 0; }
.case img { width: 100%; height: 230px; object-fit: cover; border-bottom: 1px solid var(--line); }
.case-copy { padding: 24px; }
.case h3 { margin: 6px 0 8px; }
.tag {
  display: inline-flex; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--green); font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: 0.09em;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chips span { padding: 5px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.045); color: var(--muted); font-size: 12px; }
/* inline-flex trims the space before an arrow <span>, so the gap supplies it */
.case-link { display: inline-flex; align-items: baseline; gap: 0.3em; margin-top: 20px; color: var(--gold); font-weight: 600; }
.case-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; }
.case-links .case-link { margin-top: 0; }

/* a closing card that spans the whole row (odd case counts) */
.case-wide { grid-column: 1 / -1; }
/* …and one that sits its visual beside the copy */
.case-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case-split .case-visual { height: auto; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--line); }

/* proof logo inside a case without a public link (Readivance → FEOYCS 2026) */
.case-proof { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.case .case-logo { width: auto; height: 40px; border: 0; object-fit: contain; border-radius: 6px; background: rgba(255, 255, 255, 0.04); padding: 4px; }

/* decorative visual for text-only cases, same height as a case image so
   rows line up with their image neighbours */
.case-visual {
  position: relative; height: 230px; overflow: hidden;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 0, rgba(255, 122, 61, 0.18), transparent 60%),
    linear-gradient(rgba(255, 210, 119, 0.05) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(255, 210, 119, 0.05) 1px, transparent 1px) 0 0 / 38px 38px,
    rgba(255, 255, 255, 0.012);
}
.case-visual-label {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(7, 5, 3, 0.72); border: 1px solid rgba(147, 233, 206, 0.35);
  color: #bff9e7; font: 700 10px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.case-visual-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* AI Phone signature: a live voice waveform */
.wave { display: flex; align-items: center; gap: 7px; height: 104px; }
.wave i {
  display: block; width: 6px; height: 100%; border-radius: 6px;
  background: linear-gradient(180deg, #fff1c9, var(--gold) 35%, var(--ember));
  box-shadow: 0 0 14px rgba(255, 170, 90, 0.35);
  transform: scaleY(0.3); transform-origin: 50% 50%;
}
.wave i:nth-child(2n) { transform: scaleY(0.55); }
.wave i:nth-child(3n) { transform: scaleY(0.8); }
.wave.sm { height: 34px; gap: 4px; }
.wave.sm i { width: 4px; }

/* 3D concierge signature: a perspective grid floor drifting toward the viewer */
.grid-visual { perspective: 520px; background: radial-gradient(circle at 50% 30%, rgba(255, 210, 119, 0.12), transparent 55%), rgba(255, 255, 255, 0.012); }
.grid-visual .floor {
  position: absolute; left: -40%; right: -40%; bottom: -30%; height: 90%;
  background:
    linear-gradient(rgba(255, 210, 119, 0.28) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255, 210, 119, 0.22) 1px, transparent 1px) 0 0 / 46px 46px;
  transform: rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(to top, #000 10%, transparent 85%); mask: linear-gradient(to top, #000 10%, transparent 85%);
}
.grid-visual .orb {
  position: relative; z-index: 2; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4d6, var(--gold) 40%, rgba(255, 122, 61, 0.6) 70%, transparent 72%);
  box-shadow: 0 0 60px rgba(255, 190, 100, 0.45);
  translate: 0 -18px;
}

/* ───────────── process (used for "what happens next" and step rows) ───────────── */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process.four { grid-template-columns: repeat(4, 1fr); }
.step { border-top: 1px solid rgba(255, 210, 119, 0.35); padding: 22px 8px; color: var(--body); }
.step b { display: block; color: #fff; margin-bottom: 7px; font: 500 19px/1.25 var(--font-heading); }

/* ───────────── call to action ───────────── */
.cta {
  margin-top: 72px; padding: 42px;
  border: 1px solid rgba(255, 210, 119, 0.3); border-radius: 22px;
  background: radial-gradient(circle at 85% 0, rgba(255, 122, 61, 0.18), transparent 35%), rgba(255, 255, 255, 0.025);
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
}
.cta p { color: var(--body); margin: 8px 0 0; max-width: 650px; }
.cta > .btn { flex: none; white-space: nowrap; }

/* ───────────── services at a glance (All work) ───────────── */
.glance { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.glance li { border-bottom: 1px solid var(--line); }
.glance a {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(0, 1.6fr) auto;
  gap: 18px; align-items: center; padding: 20px 8px;
}
.glance a::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 210, 119, 0.08), transparent 70%);
  transition: opacity 0.35s ease;
}
.glance a:hover::before, .glance a:focus-visible::before { opacity: 1; }
.glance a > * { position: relative; transition: transform 0.5s var(--ease-out), color 0.25s ease; }
.g-name { font: 500 20px/1.2 var(--font-heading); color: #fff; letter-spacing: -0.01em; }
.g-price { font: 600 15px/1.3 var(--font-heading); color: var(--gold); }
.g-note { color: var(--muted); font-size: 14px; }
.g-go { color: var(--gold); font-size: 20px; }
.glance a:hover .g-name { transform: translateX(6px); }
.glance a:hover .g-go { transform: translateX(6px); }

/* ───────────── live demo band (AI systems) ───────────── */
.demo-band {
  position: relative; margin-top: 8px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center;
  padding: 24px 30px; border: 1px solid rgba(147, 233, 206, 0.28); border-radius: 20px;
  background: radial-gradient(circle at 0 50%, rgba(52, 211, 153, 0.10), transparent 45%), rgba(255, 255, 255, 0.022);
}
.demo-band .eyebrow { color: #bff9e7; }
.demo-band p { margin: 6px 0 0; color: var(--body); }
.demo-number {
  display: inline-flex; align-items: center; gap: 16px; white-space: nowrap;
  font: 500 clamp(24px, 3.2vw, 36px)/1 var(--font-heading); letter-spacing: -0.02em; color: #fff;
  padding: 14px 20px; border-radius: 14px; border: 1px solid rgba(147, 233, 206, 0.3);
  background: rgba(7, 5, 3, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.demo-number:hover { border-color: rgba(147, 233, 206, 0.7); background: rgba(52, 211, 153, 0.08); }
/* pulse ring around the live number */
.pulse { position: relative; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 12px rgba(52, 211, 153, 0.8); }
.pulse::before, .pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--emerald); opacity: 0; }

/* ───────────── pricing extras (cards themselves live in motion.css) ───────────── */
.price-card .amount .lead { margin: 0 6px 0 0; }
/* hangs from the card's top edge like a tab, above the tier name's line,
   so it never collides with long tier names on narrow three-up cards */
.price-card .badge {
  position: absolute !important; top: 0; right: 18px;
  padding: 6px 10px; border-radius: 0 0 8px 8px;
  background: var(--gradient); color: #130b05;
  font: 700 10px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.price-note a { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }
.price-note a.text-link { text-decoration: none; }
.price-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  color: var(--gold); font-weight: 600; font-size: 14px;
  transition: gap 0.35s var(--ease-out), color 0.25s ease;
}
.price-cta:hover { gap: 12px; color: #fff; }
/* cards in a row share a height; pin each card's CTA to its bottom edge so
   the "Ask about…" links line up across the row */
.price-grid > .price-card:not(.price-wide) { display: flex; flex-direction: column; }
.price-grid > .price-card:not(.price-wide) > .price-cta { margin-top: auto; padding-top: 20px; align-self: flex-start; }
.price-grid.price-grid-single { grid-template-columns: 1fr; }
.price-wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 10px 40px; align-items: center; }
.price-card.price-wide > ul { margin-top: 0; }

/* setup-fee guarantee (AI phone) */
.guarantee {
  position: relative; margin-top: 16px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center;
  padding: 28px 30px; border: 1px solid rgba(255, 210, 119, 0.3); border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 210, 119, 0.06), rgba(255, 255, 255, 0.015));
}
.seal {
  position: relative; width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  border: 1px solid rgba(255, 210, 119, 0.55);
  font: 600 30px/1 var(--font-heading); color: var(--gold);
}
.seal small { display: block; margin-top: 3px; font: 700 9px/1 var(--font-mono); letter-spacing: 0.14em; color: var(--label); }
.seal::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(255, 210, 119, 0.38); }
.guarantee h3 { font: 500 22px/1.2 var(--font-heading); margin: 0 0 8px; }
.guarantee p { margin: 0; color: var(--body); }
.guarantee .trust-line { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.guarantee-cta { display: grid; gap: 8px; justify-items: end; text-align: right; }
.guarantee-cta small { color: var(--muted); font-size: 12.5px; }

/* what an automation build can include */
.include-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.include-list li {
  position: relative; padding: 14px 16px 14px 36px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, 0.02); color: var(--body); font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.include-list li:hover { border-color: rgba(255, 210, 119, 0.35); background: rgba(255, 210, 119, 0.04); }
.include-list li::before {
  content: ''; position: absolute; left: 16px; top: 1.28em; width: 8px; height: 8px; border-radius: 2px;
  transform: rotate(45deg); background: var(--gradient);
}

/* ───────────── film (Visual media) ───────────── */
.film { margin: 0; }
.film-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: 18px; border: 1px solid rgba(255, 210, 119, 0.28); background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 210, 119, 0.06);
  clip-path: inset(0 round 18px);
  transition: clip-path 1.3s var(--ease-out) 0.15s;
}
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.film figcaption b { color: var(--text); font-weight: 600; }
/* the Saint Homes case card: letterbox bars close in as it arrives */
.case-film .m-media::before, .case-film .m-media::after {
  content: ''; position: absolute; left: 0; right: 0; z-index: 4; height: 10%;
  background: #000; pointer-events: none;
  transition: transform 0.9s var(--ease-out) 0.55s;
}
.case-film .m-media::before { top: 0; transform-origin: 50% 0; }
.case-film .m-media::after { bottom: 0; transform-origin: 50% 100%; }

/* ───────────── timeline (About) ───────────── */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.tl-item { position: relative; padding: 0 0 38px 46px; }
.tl-item::before {
  content: ''; position: absolute; left: 5px; top: 5px; z-index: 2;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 210, 119, 0.08);
}
.tl-item.now::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 210, 119, 0.12), 0 0 18px rgba(255, 190, 100, 0.6); }
.tl-item::after {
  content: ''; position: absolute; left: 11px; top: 22px; bottom: -4px; width: 1px;
  background: linear-gradient(180deg, rgba(255, 210, 119, 0.7), rgba(255, 122, 61, 0.18));
  transform-origin: 50% 0; transition: transform 1.1s var(--ease-out) 0.3s;
}
.tl-item:last-child::after { display: none; }
.tl-date { font: 600 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.tl-item h3 { font: 500 26px/1.15 var(--font-heading); margin: 8px 0 2px; letter-spacing: -0.02em; }
.tl-role { color: var(--gold); font-weight: 600; font-size: 15px; }
.tl-item p { color: var(--body); margin: 10px 0 0; max-width: 720px; line-height: 1.7; }

/* ───────────── credentials (About) ───────────── */
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cred {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.cred:hover { border-color: rgba(255, 210, 119, 0.4); background: rgba(255, 210, 119, 0.05); }
.cred-org { font: 600 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.cred-year { font: 600 11px var(--font-mono); letter-spacing: 0.06em; color: var(--green); white-space: nowrap; }
.cred b { grid-column: 1 / -1; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--text); }

/* ───────────── inline inquiry form (#contact on every sub page) ───────────── */
.inquiry {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 44px;
  padding: 38px; border: 1px solid var(--line); border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 210, 119, 0.07), transparent 40%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.inquiry h2 { margin: 10px 0 12px; }
.inquiry-intro > p { color: var(--body); margin: 0; max-width: 460px; }
.direct { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.direct li { display: grid; gap: 3px; padding-left: 14px; border-left: 1px solid var(--line-gold); transition: border-color 0.3s ease; }
.direct li:hover { border-left-color: var(--gold); }
.direct span { font: 600 11px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.direct a { width: fit-content; font: 500 19px/1.3 var(--font-heading); color: #fff; transition: color 0.25s ease; overflow-wrap: anywhere; }
.direct a:hover { color: var(--gold); }
.direct small { color: var(--muted); font-size: 13px; }
.direct .direct-plain { font: 500 19px/1.3 var(--font-heading); color: #fff; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  font: 16px/1.45 var(--font-body); color: #f7f4ef;   /* 16px: no iOS zoom on focus */
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 10px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8e8578; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 210, 119, 0.32); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 210, 119, 0.16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff9b8b; }
.inquiry-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }
.inquiry-actions .btn { min-width: 210px; }
/* the live region stays rendered (even when empty) so screen readers
   announce the first status change */
.inquiry-status { grid-column: 1 / -1; margin: 0; font: 600 13px/1.6 var(--font-mono); color: var(--body); }
.inquiry-status[data-tone="ok"] { color: var(--emerald); }
.inquiry-status[data-tone="error"] { color: #ff9b8b; }
.inquiry-status a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.inquiry-privacy { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.inquiry-privacy a { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }

/* ───────────── continue-exploring pager ───────────── */
.pager { margin-top: 72px; }
.pager-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.pager-link {
  position: relative; overflow: hidden; display: grid; gap: 6px; align-content: start;
  padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s ease, background 0.3s ease;
}
.pager-link.next { text-align: right; }
.pager-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gradient); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-out);
}
.pager-link.next::after { transform-origin: 100% 50%; }
.pager-link:hover, .pager-link:focus-visible { border-color: rgba(255, 210, 119, 0.42); background: linear-gradient(145deg, rgba(255, 210, 119, 0.06), rgba(255, 255, 255, 0.02)); }
.pager-link:hover::after, .pager-link:focus-visible::after { transform: scaleX(1); }
.pager-dir { font: 600 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.pager-dir i { display: inline-block; font-style: normal; transition: transform 0.45s var(--ease-spring); }
.pager-link.prev:hover .pager-dir i { transform: translateX(-6px); }
.pager-link.next:hover .pager-dir i { transform: translateX(6px); }
.pager-link b { font: 500 24px/1.15 var(--font-heading); letter-spacing: -0.02em; color: #fff; }
.pager-blurb { color: var(--muted); font-size: 14px; }

/* ───────────── trust marquee: seamless loop ─────────────
   motion.css spaces the logos with flex `gap`, which leaves the duplicated
   half one half-gap short, so the loop hitches once per cycle. A trailing
   margin on every item makes both halves exactly equal. */
.m-trust .m-marquee-track { gap: 0; }
.m-trust .m-marquee-track > * { flex: none; margin-right: 56px; }
.m-trust + .block > .section-head { border-top-color: transparent; }

/* ───────────── About page ───────────── */
/* the orbit rings are circles, but a rotating box's bounds grow to ~1.4×
   its width; clipping the hero sideways keeps that from adding a horizontal
   scrollbar (the visible rings sit well inside the hero) */
.about-hero { align-items: center; overflow-x: clip; }
.portrait-wrap { position: relative; min-height: 470px; display: grid; place-items: center; perspective: 900px; }
.portrait-wrap::before, .portrait-wrap::after {
  content: ""; position: absolute; pointer-events: none;
  border: 1px solid rgba(255, 210, 119, 0.22); border-radius: 50%;
  width: 390px; height: 390px;
  animation: orbit 18s linear infinite;
}
/* a brighter arc on each ring, so the orbit actually reads as motion */
.portrait-wrap::before { border-top-color: rgba(255, 210, 119, 0.75); }
.portrait-wrap::after {
  width: 440px; height: 440px;
  border-color: rgba(114, 247, 200, 0.13); border-bottom-color: rgba(147, 233, 206, 0.5);
  animation-direction: reverse; animation-duration: 25s;
}
.portrait {
  position: relative; z-index: 2; width: min(350px, 80vw); aspect-ratio: 1; height: auto;
  object-fit: cover; object-position: 50% 25%; border-radius: 50%;
  border: 1px solid rgba(255, 210, 119, 0.45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), 0 0 50px rgba(255, 122, 61, 0.10);
}
@keyframes orbit { to { transform: rotate(360deg); } }
/* the motion layer's portrait entrance animates `transform`, which would
   fight the static offset below; this one uses opacity/scale/filter only */
.m-js .about-hero .portrait-wrap { animation-name: w-portrait-in; }
@keyframes w-portrait-in {
  from { opacity: 0; scale: 0.9; filter: blur(12px) saturate(0); }
  to { opacity: 1; scale: 1; filter: none; }
}
.identity-line { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.identity-line span {
  font: 600 11px var(--font-mono); letter-spacing: 0.11em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px;
  color: var(--body); background: rgba(255, 255, 255, 0.025);
}
.story { max-width: var(--max); margin: auto; padding: 30px 0 80px; display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 70px; }
.story h2, .values h2 { font: 500 clamp(34px, 5vw, 58px)/1.02 var(--font-heading); letter-spacing: -0.04em; margin: 12px 0; }
.story-copy p { font-size: 18px; line-height: 1.78; color: var(--body); margin: 0 0 22px; }
.story-copy strong { color: var(--text); }
.pullquote {
  margin: 34px 0; padding: 25px 28px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 210, 119, 0.07), transparent);
  font: 500 clamp(22px, 3vw, 31px)/1.35 var(--font-heading); color: #fff;
}
.values { max-width: var(--max); margin: auto; padding: 56px 0 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.value {
  border: 1px solid var(--line); border-radius: 16px; padding: 25px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}
.value .num { font: 600 11px var(--font-mono); color: var(--green); letter-spacing: 0.15em; }
.value h3 { font: 600 24px var(--font-heading); margin: 22px 0 8px; }
.value p { color: var(--body); margin: 0; line-height: 1.65; }
.story + .m-stats { margin-top: 0; }
.texas-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.texas-star { color: var(--gold); }

/* ───────────── footer (structure + link styles live in motion.css) ───────────── */
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer:not(.m-footer) { padding: 30px 24px; text-align: center; }
.m-foot-base .legal { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* the concierge floats above everything on the page */
.holo-stage { z-index: 9200; }
#holoCanvas { z-index: 9199; }

/* ───────────── motion (only for visitors who haven't asked for less) ───────────── */
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: w-wave 1.15s ease-in-out infinite; }
  .wave i:nth-child(1) { animation-delay: -0.10s; }
  .wave i:nth-child(2) { animation-delay: -0.55s; }
  .wave i:nth-child(3) { animation-delay: -0.25s; }
  .wave i:nth-child(4) { animation-delay: -0.80s; }
  .wave i:nth-child(5) { animation-delay: -0.40s; }
  .wave i:nth-child(6) { animation-delay: -0.95s; }
  .wave i:nth-child(7) { animation-delay: -0.15s; }
  .wave i:nth-child(8) { animation-delay: -0.65s; }
  .wave i:nth-child(9) { animation-delay: -0.35s; }
  .case:hover .wave i { animation-duration: 0.8s; }
  .pulse::before, .pulse::after { animation: w-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite; }
  .pulse::after { animation-delay: 1.1s; }
  .seal::before { animation: orbit 26s linear infinite; }
  .grid-visual .floor { animation: w-floor 3.2s linear infinite; }
  .grid-visual .orb { animation: w-float 5s ease-in-out infinite alternate; }
  .tl-item.now::before { animation: w-now 2.6s ease-in-out infinite; }
  .portrait { animation: w-glow 4s ease-in-out infinite alternate; }

  /* Visual media signature: a slow Ken Burns push on the film poster. It
     uses the individual `scale`/`translate` properties because motion.css
     already drives `transform` on .case .m-media img (parallax + hover) —
     the two compose instead of fighting. */
  .case-film .m-media img { animation: w-kenburns 16s ease-in-out infinite alternate; }
  .m-js .case-film:not(.m-in) .m-media::before,
  .m-js .case-film:not(.m-in) .m-media::after { transform: scaleY(0); }

  /* the film frame opens from a letterbox slit as it scrolls into view */
  .m-js .film:not(.m-in) .film-frame { clip-path: inset(16% 0 16% 0 round 18px); }

  /* the timeline rail draws down to each role as it arrives */
  .m-js .tl-item:not(.m-in)::after { transform: scaleY(0); }

  /* sending: the primary button breathes while the note is in flight */
  .inquiry-form.is-sending .btn.primary { animation: w-breathe 1.2s ease-in-out infinite; }
  .inquiry-form.is-sent .inquiry-status { animation: w-pop-in 0.6s var(--ease-spring) both; }
}

@keyframes w-wave { 0%, 100% { transform: scaleY(0.22); } 50% { transform: scaleY(1); } }
@keyframes w-ping { from { transform: scale(1); opacity: 0.85; } to { transform: scale(3.4); opacity: 0; } }
@keyframes w-floor { from { background-position: 0 0, 0 0; } to { background-position: 0 46px, 0 0; } }
@keyframes w-float { from { translate: 0 -12px; } to { translate: 0 -26px; } }
@keyframes w-now {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 210, 119, 0.12), 0 0 12px rgba(255, 190, 100, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(255, 210, 119, 0.05), 0 0 24px rgba(255, 190, 100, 0.8); }
}
@keyframes w-glow {
  from { box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 210, 119, 0.45), 0 0 50px rgba(255, 210, 119, 0.15); }
  to { box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 210, 119, 0.45), 0 0 50px rgba(255, 122, 61, 0.15); }
}
@keyframes w-kenburns { from { scale: 1; translate: 0 0; } to { scale: 1.09; translate: -1.5% -1%; } }
@keyframes w-breathe { 0%, 100% { box-shadow: 0 16px 45px rgba(255, 160, 80, 0.2); } 50% { box-shadow: 0 16px 60px rgba(255, 160, 80, 0.5); } }
@keyframes w-pop-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ───────────── responsive ───────────── */
/* About portrait: shift toward the text only where the column is wide
   enough for the rings; below that it stays centred in its own column */
@media (min-width: 1200px) {
  .about-hero .portrait-wrap { transform: translateX(-40px); }
}
@media (min-width: 851px) and (max-width: 1199px) {
  .portrait { width: min(300px, 100%); }
  .portrait-wrap::before { width: 320px; height: 320px; }
  .portrait-wrap::after { width: 360px; height: 360px; }
}
@media (max-width: 1000px) {
  .include-list { grid-template-columns: repeat(2, 1fr); }
  .cred-list { grid-template-columns: repeat(2, 1fr); }
  .process.four { grid-template-columns: repeat(2, 1fr); }
  .glance a { grid-template-columns: minmax(0, 1fr) auto auto; }
  .g-note { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 850px) {
  /* with JS the motion layer adds a menu button (and a full-screen sheet)
     built from these links; without JS they become a swipeable chip row */
  .m-js .nav .links a:not(.nav-cta) { display: none; }
  html:not(.m-js) .nav { flex-wrap: wrap; row-gap: 12px; }
  html:not(.m-js) .nav .links {
    order: 3; width: 100%; overflow-x: auto; gap: 8px; padding: 2px 0;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  html:not(.m-js) .nav .links a {
    flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center;
    padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
    white-space: nowrap; scroll-snap-align: start;
  }

  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 24px; }
  h1 { font-size: clamp(34px, 9.5vw, 52px); }
  .lede { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .category-grid, .case-grid, .process, .process.four { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .case img, .case-visual { height: 200px; }
  .case-split { grid-template-columns: 1fr; }
  .case-split .case-visual { min-height: 0; height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-band { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .demo-band .wave { display: none; }
  .demo-number { justify-self: start; }
  .price-wide { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .guarantee-cta { justify-items: start; text-align: left; }
  .inquiry { grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; }
  .pager-grid { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; }

  /* About: headline first, portrait after it, sized for the phone */
  .portrait-wrap { min-height: 230px; order: 0; transform: none; }
  .portrait-wrap::before { width: 200px; height: 200px; }
  .portrait-wrap::after { width: 230px; height: 230px; }
  .portrait { width: 180px; }
  .story { grid-template-columns: 1fr; gap: 12px; padding-top: 12px; }
  .value-grid { grid-template-columns: 1fr; }
  .about-hero { padding-bottom: 42px; }
}

@media (max-width: 720px) {
  /* the floating concierge covers the lower-right ~280px on phones; give
     the page enough runway that the footer can scroll clear of it */
  .m-footer .m-foot-base { padding-bottom: 290px; }
}

@media (max-width: 600px) {
  .inquiry-form { grid-template-columns: 1fr; }
  .include-list, .cred-list { grid-template-columns: 1fr; }
  .glance a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .g-price { grid-column: 1; grid-row: 2; }
  .g-note { grid-column: 1 / -1; grid-row: 3; }
  .g-go { grid-column: 2; grid-row: 1 / span 2; }
  .inquiry-actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .m-trust .m-marquee-track > * { margin-right: 36px; }
  /* the email address fits on one line at phone width */
  .direct a, .direct .direct-plain { font-size: 16px; }
  /* footer: Explore + Services side by side, Contact gets the full row */
  .m-footer .m-foot > :last-child { grid-column: 1 / -1; }
}

/* ───────────── reduced motion: still, complete, readable ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait-wrap::before, .portrait-wrap::after { animation: none; }
  /* motion.css pins the portrait at its old -110px offset for this case; undo it */
  .m-js .about-hero .portrait-wrap { transform: none; }
  .skip-link, .btn, .text-link, .price-cta, .pager-link, .pager-link::after, .pager-dir i,
  .glance a > *, .glance a::before, .field input, .field textarea, .film-frame,
  .tl-item::after, .case-film .m-media::before, .case-film .m-media::after { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1200px) {
  .m-js .about-hero .portrait-wrap { transform: translateX(-40px); }
}
