/* ==========================================================================
   FileX — design system v3  ("Ink & paper")
   Loaded after style.css. Re-declares the legacy token names so every inline
   var(--gold)/var(--navy) style on the existing templates follows the new palette.
   ========================================================================== */

:root {
  /* legacy tokens remapped ------------------------------------------------ */
  --navy: #0c1210;
  --navy-2: #111a16;
  --navy-3: #17231d;
  --ink-navy: #0c1210;
  --gold: #1f6f52;
  --gold-2: #2e8b68;
  --gold-3: #14563f;
  --gold-light: #a8d5c2;
  --ivory: #f7f4ec;
  --cream: #efe9dc;
  --ink: #14181a;
  --ink-soft: #4a5450;
  --ink-muted: #6b7772;
  --line: #e2dccd;
  --white: #fffefb;
  --offwhite: #f7f4ec;

  /* new tokens ------------------------------------------------------------ */
  --paper: #f7f4ec;
  --paper-2: #fffefb;
  --sand: #e9e3d3;
  --ink-900: #0b100e;
  --accent: #1f6f52;
  --accent-hi: #2e8b68;
  --accent-ink: #12452f;
  --hair: rgba(12, 18, 16, .12);
  --hair-strong: rgba(12, 18, 16, .22);

  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --radius: 2px;
  --radius-lg: 4px;
  --shadow-xs: 0 1px 2px rgba(12, 18, 16, .05);
  --shadow-sm: 0 2px 8px rgba(12, 18, 16, .06);
  --shadow: 0 18px 40px -20px rgba(12, 18, 16, .25);
  --shadow-xl: 0 40px 80px -40px rgba(12, 18, 16, .3);
  --gold-grad: linear-gradient(140deg, #2e8b68 0%, #1f6f52 55%, #14563f 100%);
  --gold-shine: radial-gradient(ellipse at 30% 20%, #2e8b68, #1f6f52 45%, #14563f 80%);

  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(.98rem, .95rem + .18vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.04rem + .35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + .7vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  --step-5: clamp(2.6rem, 1.5rem + 4.4vw, 5.2rem);

  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --measure: 68ch;
  --shell: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: 'ss01' 1, 'cv05' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--ink-900);
  margin: 0 0 .5em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 40;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); letter-spacing: -.03em; }
h2 { font-size: var(--step-4); letter-spacing: -.025em; }
h3 { font-size: var(--step-2); letter-spacing: -.015em; }
h4 { font-size: var(--step-1); letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { font-weight: 600; color: var(--ink-900); }

.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

/* paper grain — a single SVG turbulence tile, no extra request */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  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='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- shell --- */
.container { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }

.section {
  padding-block: clamp(3.2rem, 7vw, 6.5rem);
  position: relative;
}
.section + .section { border-top: 1px solid var(--hair); }

.section-title { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); max-width: 26ch; }
.section-title h2 { margin-bottom: .35rem; }
.section-title p { color: var(--ink-soft); max-width: 54ch; }
.section-title h2 em, .section-title h2 span { font-style: italic; color: var(--accent); }

.eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 1rem;
}
.eyebrow::before {
  display: none;
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

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

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.6rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.gap-2 { gap: .75rem; }
.gap-3 { gap: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.text-center .section-title { margin-inline: auto; }

/* --------------------------------------------------------------- topbar --- */
.topbar {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .72);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.topbar .inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: .55rem var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: .9rem 1.4rem;
  flex-wrap: wrap;
}
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--gold-light); }
.topbar i { color: var(--accent-hi); font-size: .8em; }

/* ------------------------------------------------------------------ nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 236, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-stuck { box-shadow: 0 12px 30px -22px rgba(12, 18, 16, .5); background: rgba(247, 244, 236, .96); }
.nav-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: .85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 2px;
  flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .name { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--ink-900); letter-spacing: -.01em; }
.logo-text .tag {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-links { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.5rem); }
.nav-links > a:not(.btn) {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  padding: .45rem 0;
  position: relative;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right .28s cubic-bezier(.16, 1, .3, 1);
}
.nav-links > a:not(.btn):hover::after,
.nav-links > a[aria-current="page"]::after { right: 0; }

.mob-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--hair-strong);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
  grid-template-rows: repeat(3, 1px);
  align-content: center;
}
.mob-toggle span { display: block; width: 18px; height: 1px; background: var(--ink-900); }

.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 16, 14, .5);
  backdrop-filter: blur(3px);
  z-index: 99999;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mob-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(86vw, 380px);
  height: 100dvh;
  background: var(--paper-2);
  z-index: 100000;
  padding: 4.6rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  box-shadow: -30px 0 60px -40px rgba(11, 16, 14, .6);
  transition: right .38s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
}
.mob-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--hair-strong);
  background: transparent;
  border-radius: 2px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-900);
  cursor: pointer;
}
.mob-close:hover { background: var(--ink-900); color: var(--paper); }
.mob-drawer .btn {
  width: 100%;
  padding-inline: .8rem;
  font-size: .8rem;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.mob-drawer a:not(.btn) {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink-900);
  text-decoration: none;
  padding: .55rem 0;
  border-bottom: 1px solid var(--hair);
}
.mob-drawer a:not(.btn):hover { color: var(--accent); }

/* -------------------------------------------------------------- buttons --- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .7rem 1.35rem;
  background: var(--btn-bg);
  color: var(--btn-fg) !important;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  will-change: transform;
}
.btn:hover { background: var(--accent-ink); box-shadow: var(--shadow-sm); color: #fff !important; }
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--accent);
  color: #fff !important;
  background-image: none;
  box-shadow: none;
}
.btn-gold:hover { background: var(--accent-ink); }

.btn-outline {
  background: transparent;
  color: var(--ink-900) !important;
  border-color: var(--hair-strong);
}
.btn-outline:hover { background: var(--ink-900); color: var(--paper) !important; border-color: var(--ink-900); }

.btn-ghost-white { background: transparent; color: var(--paper) !important; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }

.btn-wa { background: #0f6b4f; color: #fff !important; }
.btn-wa:hover { background: #0b5440; }

.btn-lg { min-height: 54px; padding: .9rem 1.8rem; font-size: .92rem; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .78rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------------------------------------------------------------- hero --- */
/* The legacy sheet styled .hero as a navy block with white centred text at
   0,1,1 specificity — these rules outrank it so every page's hero adopts the
   paper ground and left-aligned editorial layout. */
section.hero {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(3rem, 7vw, 5.6rem) clamp(2.6rem, 6vw, 4.6rem);
  text-align: left;
}
.hero::after { display: none; }
.hero .frame { display: none; }
.hero .ornament { display: none; }
.hero .inner,
.hero .hero-inner > .inner {
  max-width: 46rem;
  margin: 0;
  text-align: left;
  position: relative;
  z-index: 2;
}
.hero-inner {
  background: none;
  padding: 0;
  text-align: left;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
}
.hero-inner::before, .hero-inner::after { display: none; }
.hero h1 { color: var(--ink-900); font-weight: 600; }
.hero h1 em { color: var(--accent); font-style: italic; text-shadow: none; }
.hero .sub { color: var(--ink-soft); margin: 1.2rem 0 0; font-size: var(--step-1); font-weight: 400; max-width: 46ch; }
.hero .actions { justify-content: flex-start; margin-top: 1.9rem; }

.hero {
  position: relative;
  background: var(--paper);
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.6rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
/* fine architectural grid behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hair) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hair) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 10%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 10%, #000 10%, transparent 72%);
  opacity: .55;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }
.hero-inner > .inner { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); max-width: 46rem; }

.hero h1 {
  font-size: var(--step-5);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0;
  font-weight: 600;
}
.hero h1 em, .hero h1 span.accent { font-style: italic; color: var(--accent); }
.hero .sub, .hero p.sub {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.55;
}
.hero .sub strong, .hero p.sub strong { color: var(--ink-900); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-meta b { display: block; font-family: var(--sans); font-size: .96rem; letter-spacing: 0; text-transform: none; color: var(--ink-900); font-weight: 600; }

.frame { position: relative; }
.ornament { display: none; }

/* architectural line-art beside the hero headline */
.hero-art {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 430px);
  height: auto;
  opacity: .8;
  pointer-events: none;
  z-index: 0;
}
.hero .hero-inner { position: relative; z-index: 1; }

/* the 38-link practice row — was one 4,300px unbreakable line (no whitespace
   between the anchors, plus white-space:nowrap on each) */
.pop-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
  justify-content: center;
  align-items: baseline;
}
.pop-links-wrap > div { flex-basis: 100%; margin-bottom: .6rem; }
.pop-links-wrap a {
  white-space: normal !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--hair) !important;
  font-size: .92rem;
  transition: color .2s ease, border-color .2s ease;
}
.pop-links-wrap a:hover { color: var(--accent) !important; border-color: var(--accent) !important; }

/* ---------------------------------------------------------------- cards --- */
.pcard {
  position: relative;
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2vw, 1.6rem);
  text-decoration: none;
  color: var(--ink);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, box-shadow .35s ease;
  overflow: hidden;
}
.pcard::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .4s cubic-bezier(.16, 1, .3, 1);
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: var(--hair-strong);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.pcard:hover::after { width: 100%; }
.pcard h3 { font-size: var(--step-1); margin-bottom: .4rem; letter-spacing: -.01em; }
.pcard p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 0; }
.pcard i.fas, .pcard i.far { color: var(--accent); }
.pcard-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.pcard.num::before {
  content: attr(data-num);
  display: block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--ink-muted);
  margin-bottom: .9rem;
}

.icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: .9rem;
  background: var(--paper);
}

/* ----------------------------------------------------------------- stats --- */
.stats, .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.stat { background: var(--paper-2); padding: 1.4rem 1.2rem; text-align: left; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--accent-ink);
  letter-spacing: -.03em;
  display: block;
}
.stat .lbl {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: .5rem;
  display: block;
}

/* ------------------------------------------------------------ testimonials --- */
.testimonial {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--accent);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border-radius: var(--radius);
}
.testimonial p { font-family: var(--serif); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.testimonial cite { font-style: normal; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

/* ------------------------------------------------------------------ blog --- */
.blog-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.4vw, 1.9rem);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--hair-strong); color: var(--ink); }
.blog-cat {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); display: inline-block; margin-bottom: .7rem;
}
.blog-title, .blog-card h3 { font-family: var(--serif); font-size: var(--step-1); line-height: 1.24; margin-bottom: .5rem; color: var(--ink-900); }
.blog-card p { font-size: .9rem; color: var(--ink-soft); }
.blog-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); text-decoration: none;
}
.blog-more i { transition: transform .3s ease; }
.blog-card:hover .blog-more i { transform: translateX(4px); }

/* ---------------------------------------------------------------- forms --- */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .45rem; }
.form-group input, .form-group select, .form-group textarea,
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  background: var(--paper-2);
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 82, .14);
}
textarea { min-height: 130px; resize: vertical; }

/* ---------------------------------------------------------------- misc  --- */
.category-block { border-top: 1px solid var(--hair); padding-top: 1rem; }
.profile-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hair-strong);
  background: var(--sand);
}
.av { border-radius: 50%; object-fit: cover; }

/* floating contact stack */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 55;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-end;
}
.fx-float-btn {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--paper);
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .25s ease, background .25s ease;
}
.fx-float-btn:hover { transform: translateY(-2px) scale(1.04); background: var(--accent); color: #fff; }
.fx-float-tip {
  position: absolute; right: 60px;
  background: var(--ink-900); color: var(--paper);
  font-size: .72rem; padding: .35rem .6rem; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease; white-space: nowrap;
}
.fx-float-btn:hover + .fx-float-tip, .fx-float-btn:focus-visible + .fx-float-tip { opacity: 1; }

/* ----------------------------------------------------------------- cta --- */
.cta, .section.cta {
  background: var(--ink-900);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 0;
}
.cta h2, .section.cta h2 { color: var(--paper); }
.cta p, .section.cta p { color: rgba(247, 244, 236, .72); }
.cta .eyebrow, .section.cta .eyebrow { color: var(--gold-2); }
.cta .eyebrow::before { background: var(--gold-2); }

/* -------------------------------------------------------------- footer --- */
footer {
  background: var(--ink-900);
  color: rgba(247, 244, 236, .62);
  padding: clamp(2.6rem, 5vw, 4rem) 0 0;
  font-size: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
footer .footer-grid {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(1.6rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.4rem, 3vw, 3rem);
}
footer h4 {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, .45);
  margin-bottom: 1rem;
  font-weight: 500;
}
footer a { color: rgba(247, 244, 236, .82); text-decoration: none; display: block; padding: .2rem 0; }
footer a:hover { color: var(--gold-2); }
footer .footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); }
footer .footer-phone { font-family: var(--mono); font-size: .95rem; color: var(--paper); }
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 1.2rem var(--gutter) 1.6rem;
  font-size: .78rem;
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
}
/* the inline "Areas we serve" block keeps its inline colours; lift them to the new palette */
footer div[style*="font-size:.78rem"] a { color: rgba(247, 244, 236, .62); display: inline; }

/* ----------------------------------------------------- wordmark lockup --- */
.wordmark {
  font-family: var(--serif);
  font-size: clamp(3rem, 12vw, 9rem);
  line-height: .8;
  letter-spacing: -.05em;
  color: rgba(247, 244, 236, .07);
  user-select: none;
}

/* the legacy floating stack, brought into the new language */
.fx-floating-cta {
  right: clamp(.9rem, 2vw, 1.4rem) !important;
  bottom: clamp(.9rem, 2vw, 1.4rem) !important;
  gap: .5rem !important;
  display: flex;
  flex-direction: column;
}
.fx-floating-cta > a {
  width: 48px !important;
  height: 48px !important;
  border-radius: 2px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 14px 30px -18px rgba(11, 16, 14, .6) !important;
  font-size: 1.05rem !important;
  transition: transform .22s ease, background .22s ease;
}
.fx-floating-cta > a:hover { transform: translateY(-2px); }

/* --------------------------------------------------------- 404 / states --- */
.fx-404-section-title { font-family: var(--serif); font-size: var(--step-4); }
.dead-end .actions { margin-top: 1.4rem; }

/* --------------------------------------------------------------- motion --- */
/* Content is visible by default. Only a JS-confirmed browser may pre-hide it. */
html.js-anim [data-anim] { opacity: 0; }
html.js-anim [data-anim="fade-up"] { transform: translateY(22px); }
/* the hero entrance is choreographed in fx-motion.js; pre-hide only while that
   layer is confirmed present (anim-init.js removes js-anim if it never loads) */
html.js-anim .hero h1,
html.js-anim .hero .sub,
html.js-anim .hero p.sub,
html.js-anim .hero .actions .btn { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-anim [data-anim],
  html.js-anim [data-anim="fade-up"] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ----------------------------------------------------------- responsive --- */
@media (max-width: 1024px) {
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-art { display: none; }
  .nav-links { display: none; }
  .mob-toggle { display: grid; }
  .topbar .inner { font-size: .62rem; }
  .topbar .inner > span:first-child { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 8.5vw, 3.4rem); }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: clamp(2.4rem, 8vw, 3.6rem); }
  .hero-meta { gap: 1rem 1.6rem; }
  .hero-meta b { font-size: .88rem; }
}

@media (max-width: 640px) {
  footer .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  footer .footer-bottom { flex-direction: column; }
  .btn { width: 100%; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .topbar { display: none; }
  .nav-inner { padding: .7rem var(--gutter); }
}

@media print {
  .nav, .topbar, .fab, .mob-drawer, .mob-overlay, footer { display: none !important; }
  body { background: #fff; color: #000; }
}