/* =====================================================================
   frameworx — design system
   Type:  Space Mono (display / labels / wordmark)  +  IBM Plex Sans (body)
   Color: cool neutral base + warm "x" gradient (pink → coral → orange)
   ===================================================================== */

:root {
  /* neutrals */
  --ink:        #15151a;
  --ink-soft:   #26262e;
  --paper:      #faf9f6;
  --paper-2:    #f1efea;
  --paper-3:    #e9e6df;
  --line:       #e4e1da;
  --line-dark:  #2f2f38;
  --muted:      #6c6c74;
  --muted-2:    #9a9aa1;
  --muted-dark: #a4a4ad;

  /* warm "x" gradient + solids */
  --pink:    #ff4d6d;
  --coral:   #ff6a4d;
  --orange:  #ffa23e;
  --accent:  #ff5a52;
  --grad:    linear-gradient(108deg, #ff4d6d 0%, #ff6a4d 46%, #ffa23e 100%);
  --grad-soft: linear-gradient(108deg, rgba(255,77,109,.14), rgba(255,162,62,.14));

  /* type */
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* metrics */
  --maxw: 1200px;
  --gut:  clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--mono); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.015em; }
p  { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.55; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* eyebrow / label */
.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section.tight { padding-block: clamp(56px, 8vw, 100px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  font-family: var(--mono); font-size: .92rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

.btn-grad { background: var(--grad); border-color: transparent; color: #fff; }
.btn-grad:hover { box-shadow: 0 14px 34px -12px rgba(255,90,82,.65); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: var(--paper); }

/* text link with arrow */
.tlink {
  font-family: var(--mono); font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .5em;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: gap .2s, border-color .2s;
}
.tlink .arr { transition: transform .2s; }
.tlink:hover { border-color: currentColor; }
.tlink:hover .arr { transform: translateX(3px); }

/* ---------- accessibility: skip link ----------
   Visually hidden until focused, so keyboard users can jump the nav. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); font-family: var(--mono);
  font-size: .9rem; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
main:focus { outline: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.wordmark {
  font-family: var(--mono); font-weight: 400; font-size: 1.5rem;
  letter-spacing: -.01em; color: var(--ink);
  display: inline-flex; align-items: baseline;
}
.wordmark .x { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--mono); font-size: .9rem; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* dropdown */
.has-menu { position: relative; }
.menu-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; width: 320px; box-shadow: 0 24px 60px -24px rgba(20,20,26,.3);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 120;
}
.has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 11px; transition: background .18s; }
.menu-item:hover { background: var(--paper-2); }
.menu-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--grad-soft); }
.menu-ic span { width: 13px; height: 13px; }
.menu-item h5 { font-family: var(--mono); font-size: .9rem; font-weight: 700; }
.menu-item p { font-size: .8rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }

/* mobile nav */
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: .25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 0 0; z-index: 90; background: var(--paper);
  padding: 28px var(--gut); transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .28s, transform .28s; display: flex; flex-direction: column; gap: 4px;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-family: var(--mono); font-size: 1.4rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; justify-content: center; }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(20,20,26,.28); border-color: var(--paper-3); }
.card .num { font-family: var(--mono); font-size: .78rem; color: var(--muted-2); letter-spacing: .1em; }
.card h3 a { background-image: linear-gradient(currentColor,currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.card:hover h3 a { background-size: 100% 2px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .tlink { margin-top: auto; }

/* service icon: simple geometric glyph */
.glyph { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; flex: none; }
.glyph i { display: block; }

/* feature card (VCTO) — dark, the star (equal width in the 3x2 grid) */
.card.feature {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
  padding: 32px;
}
.card.feature p { color: var(--muted-dark); }
.card.feature .num { color: var(--muted-dark); }
.card.feature .glyph { background: rgba(255,255,255,.07); }
.card.feature::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: var(--grad); filter: blur(60px); opacity: .35; border-radius: 50%;
}

/* ---------- sections on dark ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark .lead, .dark p { color: var(--muted-dark); }
.dark .eyebrow { color: var(--muted-dark); }

/* ---------- pills / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: .82rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.dark .chip { border-color: var(--line-dark); color: var(--paper); }
/* The feature card is dark but isn't a .dark section, so the override above
   never reaches it — leaving near-black --ink-soft text on the --ink card.
   Only the text colour is corrected; the light border is intentional here. */
.card.feature .chip { color: var(--paper); }

/* ---------- list with gradient ticks ---------- */
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: 1rem; }
.ticks li::before {
  content: ""; flex: none; margin-top: 7px; width: 9px; height: 9px; border-radius: 3px;
  background: var(--grad);
}

/* ---------- stats ---------- */
.stat .n { font-family: var(--mono); font-weight: 700; font-size: clamp(2.4rem,5vw,3.6rem); line-height: 1; letter-spacing: -.03em; }
.stat .k { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.dark .stat .k { color: var(--muted-dark); }

/* ---------- process steps ---------- */
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.dark .step { border-color: var(--line-dark); }
.step .sn { font-family: var(--mono); font-weight: 700; font-size: .85rem; color: var(--accent); letter-spacing: .1em; }

/* ---------- image placeholder ---------- */
/* Brand panel standing in for photography. Drop an <img> inside .ph later and
   it crops to the rounded corners automatically - the mark is just the
   placeholder content, not the container. */
.ph {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background-color: var(--paper-2);
  background-image: radial-gradient(circle at 50% 45%, rgba(255,106,77,.10), transparent 62%);
  display: grid; place-items: center; position: relative; overflow: hidden; min-height: 220px;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-mark {
  width: clamp(84px, 30%, 150px); height: auto;
  opacity: .92; filter: drop-shadow(0 14px 30px rgba(255,90,82,.22));
  animation: ph-breathe 6s ease-in-out infinite;
}
@keyframes ph-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .ph-mark { animation: none; } }
.ph .tag { font-family: var(--mono); font-size: .78rem; color: var(--muted); background: var(--paper); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px,8vw,90px) 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .wordmark { color: var(--paper); font-size: 1.7rem; }
.footer-col h6 { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted-dark); text-transform: lowercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--paper); font-size: .95rem; opacity: .82; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-bottom p, .footer-bottom a { font-family: var(--mono); font-size: .8rem; color: var(--muted-dark); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: .82rem; letter-spacing: .03em; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,90,82,.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- hero framework visual ---------- */
.fx-visual { position: relative; aspect-ratio: 1; width: 100%; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- gradient block glyph ---------- */
.grad-block { width: 16px; height: 16px; border-radius: 5px; background: var(--grad); display:block; transform: rotate(45deg); }
.grad-block.lg { width: 20px; height: 20px; border-radius: 6px; }
.glyph .grad-block { width: 18px; height: 18px; }

/* ---------- section head ---------- */
.sec-head { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.sec-head .eyebrow { margin-bottom: 2px; }

/* ---------- hero ---------- */
.hero-sec { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; }
.fx-hero-glow { position: absolute; z-index: 0; top: -12%; right: -8%; width: 62%; height: 130%; background: var(--grad); filter: blur(120px); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--mono); font-size: .78rem; color: var(--muted-2); letter-spacing: .02em; }

.hero-visual { position: relative; }

/* animated hero mark */
.fx-svg { overflow: visible; }
.fx-x { transform-box: fill-box; transform-origin: center; animation: fx-x-spin 24s linear infinite, fx-x-breathe 5s ease-in-out infinite; }
.fx-orbit { transform-box: fill-box; transform-origin: center; animation: fx-x-spin 40s linear infinite reverse; }
.fx-glow { transform-box: fill-box; transform-origin: center; animation: fx-glow-pulse 5s ease-in-out infinite; }
.fx-nodes circle { transform-box: fill-box; transform-origin: center; animation: fx-node 3.2s ease-in-out infinite; }
.fx-nodes circle:nth-child(2) { animation-delay: .5s; }
.fx-nodes circle:nth-child(3) { animation-delay: 1s; }
.fx-nodes circle:nth-child(4) { animation-delay: 1.5s; }
@keyframes fx-x-spin { to { transform: rotate(360deg); } }
@keyframes fx-x-breathe { 0%,100% { scale: 1; } 50% { scale: 1.06; } }
@keyframes fx-glow-pulse { 0%,100% { opacity: .55; scale: 1; } 50% { opacity: 1; scale: 1.12; } }
@keyframes fx-node { 0%,100% { scale: 1; } 50% { scale: 1.5; } }
@media (prefers-reduced-motion: reduce) {
  .fx-x, .fx-orbit, .fx-glow, .fx-nodes circle, .fx-pulse { animation: none !important; }
  .fx-pulse { display: none; }
}
.fx-chip {
  position: absolute; font-family: var(--mono); font-size: .76rem; background: var(--paper);
  border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; color: var(--ink-soft);
  box-shadow: 0 14px 30px -16px rgba(20,20,26,.35); white-space: nowrap;
}
.fx-chip::before { content:""; display:inline-block; width:7px;height:7px;border-radius:50%;background:var(--grad);margin-right:7px;vertical-align:middle; }
.fx-chip.c1 { top: 4%; left: -4%; animation: float 6s ease-in-out infinite; }
.fx-chip.c2 { top: 18%; right: -10%; animation: float 6.5s ease-in-out infinite .5s; }
.fx-chip.c3 { top: 46%; left: -12%; animation: float 6s ease-in-out infinite 1s; }
.fx-chip.c4 { bottom: 20%; right: -12%; animation: float 6.5s ease-in-out infinite 1.5s; }
.fx-chip.c5 { bottom: -2%; left: 6%; animation: float 6s ease-in-out infinite 2s; }
.fx-chip.c6 { top: -3%; right: 14%; animation: float 6.5s ease-in-out infinite 2.5s; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce){ .fx-chip { animation: none !important; } }

/* ---------- trust strip ---------- */
.trust-label { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; color: var(--muted-2); text-align: center; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 6vw, 64px); margin-top: 26px; }
.logo-ph { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; color: var(--muted-2); letter-spacing: -.01em; opacity: .7; transition: opacity .2s, color .2s; }
.logo-ph:hover { opacity: 1; color: var(--ink-soft); }

/* ---------- spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px,5vw,72px); align-items: center; }
.spot-stats { display: flex; flex-direction: column; gap: 30px; border-left: 1.5px solid var(--line-dark); padding-left: 36px; }

/* ---------- cta band ---------- */
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner > div { display: flex; flex-direction: column; gap: 14px; }
.cta-band .cta-btn { flex: none; }
.cta-band::after { content:""; position:absolute; right:-80px; bottom:-120px; width:320px; height:320px; background:rgba(255,255,255,.18); filter: blur(40px); border-radius:50%; }
.cta-band > .cta-inner { position: relative; z-index: 1; }

/* ---------- floating assessment CTA ----------
   Sits below the mobile menu (z-90) so an open menu covers it. Hidden until
   the visitor has scrolled a little, so it doesn't compete with the hero CTA.
   visibility (not just opacity) is toggled so it leaves the tab order while
   hidden — an invisible but focusable link is a keyboard trap. */
.fx-fab {
  position: fixed; z-index: 80;
  right: clamp(14px, 3vw, 26px); bottom: clamp(14px, 3vw, 26px);
  display: flex; align-items: flex-start; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s cubic-bezier(.2,.8,.2,1),
              transform .35s cubic-bezier(.2,.8,.2,1),
              visibility .35s;
}
.fx-fab.in { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
body.menu-open .fx-fab { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }

.fx-fab-link {
  display: flex; align-items: center; gap: 12px;
  max-width: min(78vw, 340px);
  padding: 11px 20px 11px 13px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  /* Second shadow is a hairline ring so the dark pill still separates when it
     floats over a .dark section. */
  box-shadow: 0 18px 40px -16px rgba(20,20,26,.55), 0 0 0 1px rgba(255,255,255,.09);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.fx-fab-link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(255,90,82,.5), 0 0 0 1px rgba(255,255,255,.16); }
.fx-fab-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.fx-fab-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); flex: none; display: grid; place-items: center; }
.fx-fab-ic span { width: 13px; height: 13px; border-radius: 4px; background: rgba(255,255,255,.92); transform: rotate(45deg); display: block; }

.fx-fab-tx { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.fx-fab-tx strong { font-family: var(--mono); font-size: .88rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.fx-fab-tx span { font-size: .73rem; color: var(--muted-dark); margin-top: 3px; white-space: nowrap; }

.fx-fab-arr { font-family: var(--mono); font-weight: 700; margin-left: 2px; transition: transform .25s; }
.fx-fab-link:hover .fx-fab-arr { transform: translateX(4px); }

.fx-fab-close {
  flex: none; margin-top: 2px; width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 50%; background: var(--paper); color: var(--muted);
  font-size: 15px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px rgba(20,20,26,.45), 0 0 0 1px var(--line);
  transition: color .2s, transform .2s;
}
.fx-fab-close:hover { color: var(--ink); transform: scale(1.08); }
.fx-fab-close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (max-width: 520px) {
  .fx-fab-link { padding: 9px 16px 9px 11px; gap: 10px; }
  .fx-fab-tx span { display: none; }
  .fx-fab-tx strong { font-size: .8rem; }
  .fx-fab-ic { width: 28px; height: 28px; border-radius: 9px; }
  .fx-fab-ic span { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-fab, .fx-fab-link, .fx-fab-arr, .fx-fab-close { transition: none; }
  .fx-fab-link:hover { transform: none; }
}

/* ---------- page hero (interior) ---------- */
.page-hero { padding-block: clamp(48px,7vw,90px) clamp(36px,5vw,64px); }
.page-hero .crumb { font-family: var(--mono); font-size: .8rem; color: var(--muted-2); margin-bottom: 22px; }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 56ch; margin-top: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,68px); align-items: center; }
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-bottom: 4px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .85fr; gap: clamp(28px,4vw,56px); align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,40px); }
.contact-aside { display: flex; flex-direction: column; gap: 28px; }
.info-block h6 { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; color: var(--muted-2); text-transform: lowercase; margin-bottom: 8px; }
.info-block .big-link { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; }
.info-block .big-link:hover { color: var(--accent); }
.next-steps { display: grid; gap: 12px; }
.next-steps li { font-size: .96rem; color: var(--ink-soft); display: flex; gap: 12px; align-items: baseline; }
.next-steps li span { font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--accent); }
.aside-mark { border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-top: 12px; }
  .spotlight { grid-template-columns: 1fr; }
  .spot-stats { flex-direction: row; flex-wrap: wrap; border-left: none; padding-left: 0; border-top: 1.5px solid var(--line-dark); padding-top: 30px; gap: 28px 40px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: grid; }
  .cols-4 { grid-template-columns: repeat(2,1fr); }
  .cols-3 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .card.feature { grid-column: span 1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cols-2, .cols-4 { grid-template-columns: 1fr; }
  .card.feature { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   EXPRESSIVE TWEAKS  (index.html) — energy + display voice
   Brand mood is applied via CSS custom properties from JS.
   ===================================================================== */

/* ---- ENERGY: restrained — near-grayscale, gradient only on logo + tiny ticks ---- */
body.fx-energy-restrained .grad-text { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
body.fx-energy-restrained .btn-grad { background: var(--ink); border-color: var(--ink); color: var(--paper); }
body.fx-energy-restrained .btn-grad:hover { box-shadow: 0 14px 30px -14px rgba(20,20,26,.5); }
body.fx-energy-restrained .card.feature::after { opacity: 0; }
body.fx-energy-restrained .cta-band { background: var(--ink); }
body.fx-energy-restrained .cta-band::after { background: rgba(255,255,255,.06); }
body.fx-energy-restrained .glyph { background: var(--paper-2); }
body.fx-energy-restrained .card.feature .glyph { background: rgba(255,255,255,.07); }
body.fx-energy-restrained .menu-ic { background: var(--paper-2); }

/* ---- ENERGY: vivid — gradient spreads, hero glow, living shimmer ---- */
body.fx-energy-vivid .fx-hero-glow { opacity: .26; }
body.fx-energy-vivid .eyebrow { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
body.fx-energy-vivid .eyebrow.center { -webkit-text-fill-color: rgba(255,255,255,.9); }
body.fx-energy-vivid .card.feature::after { opacity: .55; width: 260px; height: 260px; filter: blur(56px); }
body.fx-energy-vivid .card:hover { border-color: transparent; box-shadow: 0 0 0 1.5px transparent, 0 26px 50px -26px rgba(255,90,82,.4); background-image: linear-gradient(var(--paper),var(--paper)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }
body.fx-energy-vivid .grad-text, body.fx-energy-vivid .btn-grad, body.fx-energy-vivid .cta-band, body.fx-energy-vivid .wordmark .x {
  background-size: 220% 220%; animation: fxshift 7s ease infinite;
}
body.fx-energy-vivid .logo-ph:hover { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; opacity: 1; }
@keyframes fxshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { body.fx-energy-vivid .grad-text, body.fx-energy-vivid .btn-grad, body.fx-energy-vivid .cta-band, body.fx-energy-vivid .wordmark .x { animation: none; } }

/* ---- DISPLAY VOICE: per-family micro-tuning so each feels intentional ---- */
body.fx-voice-grotesk h1, body.fx-voice-grotesk h2, body.fx-voice-grotesk h3, body.fx-voice-grotesk h4 { letter-spacing: -0.03em; }
body.fx-voice-grotesk .wordmark { font-weight: 500; letter-spacing: -0.02em; }
body.fx-voice-plex h1, body.fx-voice-plex h2, body.fx-voice-plex h3, body.fx-voice-plex h4 { letter-spacing: -0.025em; }
