/* ==========================================================================
   Roanlight Dental
   Direction: "Low Light", a dark, cinematic editorial practice site.
   One committed idea: the ARCH. Every image is a doorway; the page is a
   corridor of arches you walk down. Motion is slow, weighted, and singular.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink:        #090D0C;
  --ink-2:      #0F1614;
  --ink-3:      #16201D;
  --ink-4:      #1D2926;
  --ivory:      #F4F2EB;
  --ivory-2:    #C3CBC6;
  --ivory-3:    #8C9995;
  --jade:       #63E2AB;
  --jade-ink:   #06120D;
  --jade-deep:  #0D3729;
  --brass:      #D9B678;
  --line:       rgba(244, 242, 235, 0.13);
  --line-soft:  rgba(244, 242, 235, 0.07);

  /* Display: Plus Jakarta Sans, a rounded humanist sans with generous counters and soft
     terminals. Carried heavy (700 for section headings, 800 for the hero) so
     the strokes hold their weight against a near-black ground. Body: Plus Jakarta Sans
     Sans, never below 400 here, for the same reason. */
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wght-heading: 700;          /* section headings, site-wide */
  --wght-hero: 800;             /* the one hero headline per page */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;  /* tabular numerals only */

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --arch: 50vw 50vw 6px 6px / 34vw 34vw 6px 6px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--font-display);
  font-weight: var(--wght-heading); line-height: 1.08; letter-spacing: -0.012em;
  font-variation-settings: normal;
}
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* Visible, unambiguous focus. Never removed. */
:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--jade); color: var(--jade-ink); padding: 10px 16px;
  border-radius: 4px; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.pad { padding-block: clamp(72px, 11vw, 152px); }
.pad-sm { padding-block: clamp(52px, 7vw, 96px); }

/* ---------- type scale ---------- */
.label {
  font-family: var(--font-body); font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jade);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 26px; height: 1px; background: var(--jade); flex: none;
  transform-origin: left;
}
.label--plain::before { display: none; }
.label--dim { color: var(--ivory-3); }
.label--dim::before { background: var(--ivory-3); }

.display {
  /* Plus Jakarta Sans sets wider than the old serif at the same px, so the top of the
     clamp comes down a touch and the tracking tightens: a geometric sans at 800
     will take -0.026em without the counters closing up. */
  font-size: clamp(3.1rem, 9vw, 8.2rem);
  letter-spacing: -0.026em;
  line-height: 1.05;
  font-weight: var(--wght-hero);
  font-variation-settings: normal;
}
.h2 { font-size: clamp(2.15rem, 4.7vw, 4rem); letter-spacing: -0.014em; font-variation-settings: normal; }
.h3 { font-size: clamp(1.42rem, 2.25vw, 2rem); letter-spacing: -0.006em; font-variation-settings: normal; }
.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ivory-2);
  max-width: 54ch;
}
.small { font-size: 0.9rem; color: var(--ivory-3); }
/* The brass accent. Plus Jakarta Sans has no italic worth leaning on at these weights,
   so emphasis is carried by colour alone. Held at the inherited weight so it
   never drops below the surrounding line on a near-black ground. */
em.wonk {
  font-style: normal; color: var(--brass);
  font-weight: inherit;
  font-variation-settings: inherit;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--jade);
  --btn-fg: var(--jade-ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: transparent;
  color: var(--btn-fg);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg);
  transform: translateY(0);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(-101%); }
.btn:hover { color: var(--btn-bg); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --btn-bg: var(--ivory); --btn-fg: var(--ivory); border-color: var(--line); background: transparent; }
.btn--ghost::before { background: var(--ivory); transform: translateY(101%); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ivory); }

.textlink {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--ivory);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--jade), var(--jade));
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: color .3s var(--ease);
}
.textlink .arrow { transition: transform .4s var(--ease); }
.textlink:hover { color: var(--jade); }
.textlink:hover .arrow { transform: translateX(5px); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: linear-gradient(to bottom, rgba(9,13,12,0.92), rgba(9,13,12,0));
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  background: rgba(9, 13, 12, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-family: var(--font-display);
  font-size: 1.18rem; font-weight: var(--wght-hero); letter-spacing: -0.012em; white-space: nowrap;
  font-variation-settings: normal;
}
.brand-mark { width: 26px; height: 30px; flex: none; }
.brand-mark path, .brand-mark rect { transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: translateY(-2px); }
.brand-mark { transition: transform .5s var(--ease); }
.brand b { font-weight: var(--wght-hero); }
.brand span { color: var(--jade); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; text-decoration: none; padding: 9px 14px;
  font-size: 0.94rem; color: var(--ivory-2);
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--jade);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.head-cta { display: inline-flex; align-items: center; gap: 14px; }
.head-phone {
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--ivory-2); text-decoration: none; white-space: nowrap;
  transition: color .3s var(--ease);
}
.head-phone:hover { color: var(--jade); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 999px; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger i { display: block; width: 16px; height: 1.5px; background: var(--ivory); transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line-soft);
  background: rgba(9, 13, 12, 0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.mobile-nav ul { display: flex; flex-direction: column; padding: 12px 0 24px; }
.mobile-nav a {
  display: block; padding: 15px 0; text-decoration: none;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--wght-heading);
  letter-spacing: -0.008em; font-variation-settings: normal;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 20px; }

/* ---------- the arch: the signature shape ---------- */
.arch {
  display: block;
  position: relative; overflow: hidden;
  border-radius: 999px 999px 8px 8px;
  background: var(--ink-2);
}
.arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--soft { border-radius: 240px 240px 8px 8px; }
.arch--flat { border-radius: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 132px; padding-bottom: clamp(48px, 7vw, 96px); overflow: clip; }
.hero-grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: end;
}
.hero-heading { max-width: 15ch; }
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; }
.hero-line .ind { display: inline-block; width: 1.6em; }
.hero-sub { margin-top: clamp(26px, 3vw, 40px); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-figure { position: relative; }
.hero-figure .arch { aspect-ratio: 3 / 4; }
.hero-figure img { transform: scale(1.12); transform-origin: center 30%; }
.hero-badge {
  position: absolute; left: -16px; bottom: 34px;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); flex: none; position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--jade); opacity: 0;
  animation: pulse 2.6s var(--ease-io) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* hero backdrop: one soft jade bloom, no gradient soup */
.bloom {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(760px, 80vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(99, 226, 171, 0.13), transparent 62%);
  filter: blur(24px);
}
.bloom--hero { top: -14%; right: -8%; }
.bloom--low { bottom: -20%; left: -14%; background: radial-gradient(circle, rgba(217,182,120,0.09), transparent 62%); }

/* ---------- marquee rail ---------- */
.rail {
  border-block: 1px solid var(--line-soft);
  padding-block: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.rail-track { display: flex; width: max-content; animation: rail 46s linear infinite; }
.rail-track ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.rail-track li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ivory-3); white-space: nowrap;
}
.rail-track li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--jade); flex: none; }
@keyframes rail { to { transform: translateX(-50%); } }
.rail:hover .rail-track { animation-play-state: paused; }

/* ---------- service index: the hover-peek list ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: block; text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3.2vw, 40px) 0;
  overflow: hidden;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(99,226,171,0.07), transparent 62%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleX(1); }
.svc-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) minmax(0, 0.9fr) auto;
  gap: clamp(16px, 3vw, 44px); align-items: baseline;
}
.svc-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ivory-3); padding-top: 8px; }
.svc-name {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.85rem);
  font-weight: var(--wght-heading); line-height: 1.12; letter-spacing: -0.012em;
  font-variation-settings: normal;
  transition: transform .55s var(--ease), color .4s var(--ease);
}
.svc-row:hover .svc-name, .svc-row:focus-visible .svc-name { transform: translateX(14px); color: var(--jade); }
.svc-note { color: var(--ivory-3); font-size: 0.95rem; max-width: 40ch; }
.svc-go {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex: none; align-self: center;
  transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.svc-row:hover .svc-go, .svc-row:focus-visible .svc-go { background: var(--jade); border-color: var(--jade); color: var(--jade-ink); transform: rotate(-45deg); }

/* floating peek image follows the cursor, fine pointers only, JS-driven */
.peek {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 230px; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.86);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  will-change: transform;
}
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sticky sequence ---------- */
.seq { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.seq-aside { position: sticky; top: 118px; }
.seq-steps { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.seq-step {
  border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: clamp(24px, 3vw, 36px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px;
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.seq-step:hover { border-color: rgba(99,226,171,0.42); transform: translateY(-3px); }
.seq-dot {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--jade); color: var(--jade);
  display: grid; place-items: center; flex: none;
  font-family: var(--font-mono); font-size: 12px;
}
.seq-step h3 { margin-bottom: 10px; }
.seq-step p { margin: 0; color: var(--ivory-2); font-size: 0.98rem; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { background: var(--ink); padding: clamp(26px, 3vw, 40px); }
.stat b {
  display: block; font-family: var(--font-display); font-weight: var(--wght-heading);
  font-size: clamp(2.45rem, 4.7vw, 3.7rem); line-height: 1.04; letter-spacing: -0.012em;
  font-variation-settings: normal;
}
.stat b .unit { color: var(--jade); }
.stat > span { display: block; margin-top: 12px; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory-3); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media .arch { aspect-ratio: 4 / 5; }
.checklist { display: grid; gap: 14px; margin-top: 30px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; color: var(--ivory-2); font-size: 1rem; }
.checklist svg { margin-top: 5px; color: var(--jade); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.quote {
  border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 2.6vw, 34px);
  background: var(--ink-2); display: flex; flex-direction: column; gap: 20px;
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: rgba(99,226,171,0.35); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.24rem; font-weight: var(--wght-heading); line-height: 1.42; letter-spacing: -0.002em; font-variation-settings: normal; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote-init {
  display: grid;
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--jade-deep); color: var(--jade);
  display: grid; place-items: center; font-family: var(--font-body); font-weight: 600; font-size: 12px;
}
.quote cite { font-style: normal; font-size: 0.9rem; }
.quote cite small { display: block; color: var(--ivory-3); font-size: 0.8rem; }
.rate { display: flex; gap: 3px; color: var(--brass); }

/* ---------- cards / journal ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 18px; }
.card-media { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--ink-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-meta { display: flex; gap: 12px; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.card-meta .tag { color: var(--jade); }
.card h3 { font-size: 1.34rem; line-height: 1.26; letter-spacing: -0.004em; transition: color .35s var(--ease); }
.card:hover h3 { color: var(--jade); }
.card p { color: var(--ivory-3); font-size: 0.95rem; margin: 0; }

.feature-post { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 60px); align-items: center; border-bottom: 1px solid var(--line); padding-bottom: clamp(40px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 72px); text-decoration: none; }
.feature-post .card-media { aspect-ratio: 16 / 11; }
.feature-post h2 { margin: 18px 0 16px; }

/* ---------- article ---------- */
.article { max-width: 68ch; margin-inline: auto; }
.article h2 { font-size: clamp(1.68rem, 2.75vw, 2.3rem); margin: 2.25em 0 0.6em; font-variation-settings: normal; }
.article h3 { font-size: 1.2rem; margin: 2em 0 0.5em; color: var(--ivory-2); }
.article p, .article li { font-size: 1.08rem; line-height: 1.72; color: var(--ivory-2); }
.article ul.bullets { margin: 0 0 1.4em; display: grid; gap: 10px; }
.article ul.bullets li { display: block; position: relative; padding-left: 28px; }
.article ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.article ul.bullets li strong { color: var(--ivory); font-weight: 600; }
.article blockquote {
  margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--jade);
  font-family: var(--font-display); font-size: 1.32rem; font-weight: var(--wght-heading);
  line-height: 1.46; letter-spacing: -0.002em; font-variation-settings: normal;
  color: var(--ivory);
}
.article a { color: var(--jade); }
.article-hero .arch { aspect-ratio: 21 / 9; border-radius: 400px 400px 8px 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--line); }
.info-list > div { background: var(--ink-2); padding: 22px clamp(20px, 2.4vw, 30px); display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: baseline; }
.info-list dt { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.info-list dd { margin: 0; }
.info-list dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info-list dd a:hover { color: var(--jade); border-color: var(--jade); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.field input, .field select, .field textarea {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 5px;
  padding: 14px 16px; color: var(--ivory); font-size: 1rem; width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ivory-3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--jade); background: var(--ink-3); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--ivory-3); }
.form-note { font-size: 0.85rem; color: var(--ivory-3); }
.form-status { font-size: 0.92rem; color: var(--jade); min-height: 1.4em; }

.map-strip { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background:
  repeating-linear-gradient(45deg, var(--ink-2) 0 14px, var(--ink-3) 14px 28px); }
.map-strip .inner { padding: clamp(30px, 4vw, 54px); background: linear-gradient(90deg, rgba(9,13,12,0.94), rgba(9,13,12,0.62)); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; border-top: 1px solid var(--line); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 64px); align-items: end; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 76px); }
.foot-grid h4 { font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory-3); margin-bottom: 18px; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { text-decoration: none; color: var(--ivory-2); font-size: 0.95rem; transition: color .3s var(--ease); }
.foot-grid a:hover { color: var(--jade); }
.foot-bottom { border-top: 1px solid var(--line-soft); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.82rem; color: var(--ivory-3); }
.foot-word {
  font-family: var(--font-display); font-size: clamp(3rem, 12.4vw, 11.4rem);
  font-weight: var(--wght-hero); line-height: 0.92; letter-spacing: -0.012em; color: transparent;
  font-variation-settings: normal;
  -webkit-text-stroke: 1px rgba(244,242,235,0.11);
  padding-block: clamp(20px, 3vw, 44px);
  text-align: center; user-select: none;
}

/* ---------- chat concierge ---------- */
.chat-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 20px 13px 15px; border-radius: 999px;
  background: var(--jade); color: var(--jade-ink); border: none;
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(99,226,171,0.4);
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.chat-launch:hover { transform: translateY(-3px); }
.chat-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.94); }
.chat-launch .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jade-ink); }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 96;
  width: min(390px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 44px));
  display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.chat-head .avatar {
  width: 34px; height: 38px; flex: none; border-radius: 999px 999px 4px 4px;
  background: var(--jade-deep); color: var(--jade);
  display: grid; place-items: center; font-family: var(--font-body); font-weight: 600; font-size: 11px;
}
.chat-head b { display: block; font-family: var(--font-display); font-weight: var(--wght-heading); font-size: 1.04rem; letter-spacing: -0.004em; font-variation-settings: normal; }
.chat-head small { color: var(--ivory-3); font-size: 0.76rem; display: flex; align-items: center; gap: 7px; }
.chat-close {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
  display: grid; place-items: center; transition: background .3s var(--ease), transform .3s var(--ease);
}
.chat-close:hover { background: var(--ink-4); transform: rotate(90deg); }
.chat-log { flex: 1 1 auto; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 14px; font-size: 0.94rem; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { align-self: flex-start; background: var(--ink-3); border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--jade); color: var(--jade-ink); border-bottom-right-radius: 4px; font-weight: 600; }
.msg.err { align-self: flex-start; background: rgba(220, 80, 80, 0.14); border: 1px solid rgba(220,80,80,0.3); }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ivory-3); animation: blip 1.2s var(--ease-io) infinite; }
.typing i:nth-child(2) { animation-delay: .16s; }
.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes blip { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 7px 13px; font-size: 0.82rem; cursor: pointer; color: var(--ivory-2);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover { border-color: var(--jade); color: var(--jade); transform: translateY(-1px); }
.chat-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--ink); }
.chat-form input { flex: 1; background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; font-size: 0.94rem; }
.chat-form input:focus { border-color: var(--jade); }
.chat-send {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: none;
  background: var(--jade); color: var(--jade-ink); cursor: pointer;
  display: grid; place-items: center; transition: transform .35s var(--ease);
}
.chat-send:hover { transform: scale(1.07); }
.chat-send:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.chat-foot { padding: 0 20px 14px; font-size: 0.72rem; color: var(--ivory-3); text-align: center; }

/* ==========================================================================
   MOTION, every entrance below is opt-in via .js on <html>.
   With JS disabled or broken, nothing is ever hidden.
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .75s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="scale"] { transform: scale(0.965) translateY(20px); }
.js [data-reveal="left"] { transform: translateX(-22px); }
.js [data-reveal="right"] { transform: translateX(22px); }

/* page-load choreography (hero only) */
.js .hero-line > span { transform: translateY(105%); }
.js.is-ready .hero-line > span {
  transform: translateY(0);
  transition: transform 1.05s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.js [data-enter] { opacity: 0; transform: translateY(16px); }
.js.is-ready [data-enter] {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 400ms);
}
.js .hero-figure .arch { clip-path: inset(0 0 100% 0 round 999px 999px 8px 8px); }
.js.is-ready .hero-figure .arch {
  clip-path: inset(0 0 0% 0 round 999px 999px 8px 8px);
  transition: clip-path 1.3s var(--ease) .28s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal].is-in,
  .js [data-enter], .js.is-ready [data-enter] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero-line > span, .js.is-ready .hero-line > span { transform: none !important; transition: none !important; }
  .js .hero-figure .arch, .js.is-ready .hero-figure .arch { clip-path: none !important; transition: none !important; }
  .rail-track { animation: none; }
  .pulse::after { animation: none; }
  .peek { display: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-inner { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .svc-note { display: none; }
}
@media (max-width: 900px) {
  .nav, .head-cta .btn { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .seq { grid-template-columns: 1fr; }
  .seq-aside { position: static; }
  .split, .split--flip .split-media { grid-template-columns: 1fr; order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-post { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .quotes, .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .info-list > div { grid-template-columns: 1fr; gap: 6px; }
  .hero-badge { left: 10px; }
  .chat-panel { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .chat-launch { right: 14px; bottom: 14px; }
  .svc-name { font-size: 1.5rem; }
}

/* ---------- fine tuning ---------- */
.seq-aside .h2 { font-size: clamp(1.9rem, 3.1vw, 2.85rem); }
.cta-inner .h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .cards--two { grid-template-columns: 1fr; } }
em.wonk { padding-right: 0.05em; }
.chat-chips[hidden] { display: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a.btn {
  display: inline-flex; font-family: var(--font-body); font-size: 0.95rem;
  padding: 15px 26px; border-bottom: 1px solid var(--jade);
}
