@charset "UTF-8";
/* Paratara Softlabs — Editorial dark theme (inspired by premium consulting sites) */

:root {
  --bg: #101014;
  --bg-elevated: #18181e;
  --bg-card: #1d1d25;
  --bg-card-hover: #24242e;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f0f0f2;
  --text-muted: #8b8b96;
  --text-dim: #7e7e8a;
  --accent: #c2933d;
  --accent-light: #dab062;
  --accent-dim: rgba(194, 147, 61, 0.12);
  --accent-2: #4fa8a0;
  --accent-2-light: #7cd0c6;
  --accent-2-dim: rgba(79, 168, 160, 0.12);
  --danger: #c1584a;
  --danger-light: #e08a7d;
  --danger-dim: rgba(193, 88, 74, 0.12);
  --whatsapp: #25d366;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --header-h: 64px;
  --return-bar-h: 0px;
  --max-w: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Secondary pages: toolbar height must resolve on html for scroll-padding */
html:has(body.has-return-bar),
body.has-return-bar {
  --return-bar-h: 3rem;
}

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

html {
  /* Instant fragment / history landing — same-document smooth is handled in JS */
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + var(--return-bar-h) + 0.75rem);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
img, video { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: 0.75rem 1.25rem; background: var(--accent); color: var(--bg);
  border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(16, 16, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* Fixed return control — secondary pages only (body.has-return-bar) */
.return-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 990;
  box-sizing: border-box;
  min-height: var(--return-bar-h);
  display: flex;
  align-items: center;
  background: rgba(16, 16, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.return-bar-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.35rem 1.5rem;
  display: flex;
  align-items: center;
  min-width: 0;
}

.return-bar-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-wrap: balance;
}

.return-bar-link:hover {
  color: #f0d98a;
}

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

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 600; font-size: 0.95rem;
}

.logo-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--accent-light), var(--accent));
  color: var(--bg);
  border-radius: 8px;
}

.logo-mark svg { width: 17px; height: 17px; }

.logo-text em { font-style: normal; color: var(--text-muted); font-weight: 400; }

.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
}

.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 0.45rem 0.85rem !important;
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-light) !important; }

.nav-cta:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  border-radius: 6px; border: none; cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  width: 100%; background: var(--whatsapp); color: #fff;
  font-size: 0.95rem; padding: 1rem 1.5rem;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-1px); }

.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: btnShimmer 4s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 3.5rem) 0 0;
  border-bottom: none;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 55% 40%, black 15%, transparent 72%);
  opacity: 1;
}

/* Soften the handoff into Paths — fade hero atmosphere downward */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(3rem, 10vh, 5.5rem);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(16, 16, 20, 0.25) 55%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  top: 8%;
  right: -4%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.16), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 4.5vw, 3.75rem);
  row-gap: 2.5rem;
  align-items: center;
  max-width: min(1240px, 100%);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem 3.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 40rem;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.35rem;
  opacity: 0.92;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
  max-width: 100%;
}

.hero-title-line {
  display: block;
  max-width: 100%;
  text-wrap: balance;
}

.hero-title-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  max-width: 100%;
  text-wrap: balance;
  padding-bottom: 0.06em;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero-title {
    font-size: clamp(2.35rem, 3.5vw, 3.35rem);
  }
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.15vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34em;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 1.15rem;
}

.hero-btn {
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
}

.hero-btn:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.hero-micro {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  opacity: 0.85;
}

.hero-visual {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  align-self: center;
  position: relative;
  z-index: 1;
  justify-self: stretch;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero-arch {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  padding: 0.25rem 0 0;
}

.arch-diagram {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 400;
  overflow: hidden;
  max-width: 100%;
  transition: opacity 0.28s ease;
}

.arch-diagram.is-loop-reset {
  opacity: 0.3;
}

.arch-layer-frame {
  fill: rgba(194, 147, 61, 0.035);
  stroke: rgba(194, 147, 61, 0.4);
  stroke-width: 1.2;
  opacity: 0;
  transition: opacity 0.75s var(--ease), fill 0.75s var(--ease), stroke 0.75s var(--ease);
}

.arch-layer-label {
  fill: rgba(218, 176, 98, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-anchor: start;
  opacity: 0;
  transition: opacity 0.65s var(--ease);
}

.arch-layer-ai .arch-layer-frame {
  fill: rgba(79, 168, 160, 0.04);
  stroke: rgba(79, 168, 160, 0.42);
}

.arch-layer-ai .arch-layer-label {
  fill: rgba(124, 208, 198, 0.78);
}

.arch-layer.is-visible .arch-layer-frame,
.arch-diagram.is-clear .arch-layer-frame {
  opacity: 1;
}

.arch-layer.is-visible .arch-layer-label,
.arch-diagram.is-clear .arch-layer-label {
  opacity: 1;
}

.arch-edges path {
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.arch-edges-tangle path {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.15;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.arch-diagram.is-tangled .arch-edges-tangle path,
.arch-diagram.is-settling .arch-edges-tangle path {
  opacity: 1;
}

.arch-diagram.is-settling .arch-edges-tangle path {
  opacity: 0.2;
}

.arch-diagram.is-clear .arch-edges-tangle {
  opacity: 0;
  pointer-events: none;
}

.arch-clear-link {
  stroke: rgba(194, 147, 61, 0.55);
  stroke-width: 1.6;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.arch-clear-link-direct {
  stroke: rgba(194, 147, 61, 0.38);
  stroke-dasharray: 3.5 3.5;
}

.arch-clear-link.is-drawn,
.arch-diagram.is-clear .arch-clear-link {
  opacity: 1;
}

.arch-node {
  transition: transform 1.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.arch-node-ring {
  fill: url(#archNodeFill);
  stroke: rgba(255, 248, 220, 0.2);
  stroke-width: 1;
}

.arch-node-core {
  fill: rgba(16, 16, 20, 0.5);
}

.arch-node-caption {
  fill: rgba(218, 176, 98, 0.88);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.65s var(--ease);
  pointer-events: none;
}

.arch-diagram.is-settling .arch-node-caption,
.arch-diagram.is-clear .arch-node-caption {
  opacity: 1;
}

.arch-diagram.is-prep .arch-node,
.arch-diagram.is-prep .arch-layer-frame,
.arch-diagram.is-prep .arch-layer-label,
.arch-diagram.is-prep .arch-node-caption,
.arch-diagram.is-prep .arch-edges path {
  transition: none !important;
}

.arch-diagram.is-loop-reset.is-prep .arch-node,
.arch-diagram.is-loop-reset.is-prep .arch-layer-frame,
.arch-diagram.is-loop-reset.is-prep .arch-layer-label,
.arch-diagram.is-loop-reset.is-prep .arch-node-caption,
.arch-diagram.is-loop-reset.is-prep .arch-edges path {
  transition: none !important;
}

/* Debt — scrambled */
.arch-diagram.is-tangled .arch-node[data-node="n1"] { transform: translate(198px, 148px); }
.arch-diagram.is-tangled .arch-node[data-node="n2"] { transform: translate(286px, 210px); }
.arch-diagram.is-tangled .arch-node[data-node="n3"] { transform: translate(152px, 228px); }
.arch-diagram.is-tangled .arch-node[data-node="n4"] { transform: translate(328px, 128px); }
.arch-diagram.is-tangled .arch-node[data-node="n5"] { transform: translate(248px, 268px); }
.arch-diagram.is-tangled .arch-node[data-node="n6"] { transform: translate(128px, 108px); }
.arch-diagram.is-tangled .arch-node[data-node="n7"] { transform: translate(348px, 288px); }
.arch-diagram.is-tangled .arch-node[data-node="n8"] { transform: translate(208px, 88px); }
.arch-diagram.is-tangled .arch-node[data-node="n9"] { transform: translate(178px, 308px); }
.arch-diagram.is-tangled .arch-node[data-node="n10"] { transform: translate(360px, 190px); }
.arch-diagram.is-tangled .arch-node[data-node="n11"] { transform: translate(110px, 250px); }

.arch-diagram.is-tangled .arch-layer-frame,
.arch-diagram.is-tangled .arch-layer-label,
.arch-diagram.is-tangled .arch-node-caption {
  opacity: 0;
}

.arch-diagram.is-tangled .arch-clear-link {
  opacity: 0;
}

/* Clear structure — Interfaces / AI / Services / Foundation */
.arch-diagram.is-settling .arch-node[data-node="n1"],
.arch-diagram.is-clear .arch-node[data-node="n1"] { transform: translate(140px, 78px); }
.arch-diagram.is-settling .arch-node[data-node="n2"],
.arch-diagram.is-clear .arch-node[data-node="n2"] { transform: translate(240px, 78px); }
.arch-diagram.is-settling .arch-node[data-node="n3"],
.arch-diagram.is-clear .arch-node[data-node="n3"] { transform: translate(340px, 78px); }
.arch-diagram.is-settling .arch-node[data-node="n4"],
.arch-diagram.is-clear .arch-node[data-node="n4"] { transform: translate(140px, 166px); }
.arch-diagram.is-settling .arch-node[data-node="n5"],
.arch-diagram.is-clear .arch-node[data-node="n5"] { transform: translate(340px, 166px); }
.arch-diagram.is-settling .arch-node[data-node="n6"],
.arch-diagram.is-clear .arch-node[data-node="n6"] { transform: translate(140px, 254px); }
.arch-diagram.is-settling .arch-node[data-node="n7"],
.arch-diagram.is-clear .arch-node[data-node="n7"] { transform: translate(240px, 254px); }
.arch-diagram.is-settling .arch-node[data-node="n8"],
.arch-diagram.is-clear .arch-node[data-node="n8"] { transform: translate(340px, 254px); }
.arch-diagram.is-settling .arch-node[data-node="n9"],
.arch-diagram.is-clear .arch-node[data-node="n9"] { transform: translate(140px, 342px); }
.arch-diagram.is-settling .arch-node[data-node="n10"],
.arch-diagram.is-clear .arch-node[data-node="n10"] { transform: translate(240px, 342px); }
.arch-diagram.is-settling .arch-node[data-node="n11"],
.arch-diagram.is-clear .arch-node[data-node="n11"] { transform: translate(340px, 342px); }

.arch-diagram.is-settling .arch-layer.is-visible .arch-layer-frame {
  opacity: 1;
  fill: rgba(194, 147, 61, 0.03);
  stroke: rgba(194, 147, 61, 0.32);
}

.arch-diagram.is-settling .arch-layer-ai.is-visible .arch-layer-frame {
  fill: rgba(79, 168, 160, 0.035);
  stroke: rgba(79, 168, 160, 0.34);
}

.arch-diagram.is-settling .arch-layer.is-visible .arch-layer-label {
  opacity: 0.85;
}

.hero-arch-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  min-height: 2.5rem;
}

.hero-arch-caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  line-height: 1.45;
  opacity: 0.8;
  max-width: 16rem;
}

.hero-arch-caption-kicker {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  opacity: 0.75;
}

.hero-arch-toggle {
  flex-shrink: 0;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  min-height: 34px;
  min-width: 9.75rem;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.hero-arch-toggle:hover {
  color: var(--accent-light);
  border-color: rgba(194, 147, 61, 0.35);
}

.hero-arch-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-arch-toggle[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 2.75rem) 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: var(--max-w);
    padding: 0 1.5rem 2.75rem;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .hero-visual {
    max-width: 26rem;
    justify-self: start;
  }

  .hero-arch {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: calc(var(--header-h) + 2.1rem) 0 0;
  }

  .hero-inner {
    padding: 0 1.15rem 2.25rem;
  }

  /* Compensate SVG scale so layer/caption text stays readable on narrow phones */
  .arch-layer-label {
    font-size: 14px;
  }

  .arch-node-caption {
    font-size: 12px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9vw, 2.65rem);
    line-height: 1.12;
    margin-bottom: 1.2rem;
  }

  .hero-label {
    margin-bottom: 1.15rem;
    font-size: 0.68rem;
  }

  .hero-lead {
    font-size: 1.0625rem;
    margin-bottom: 1.55rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-arch-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.marquee-wrap {
  overflow: hidden;
  max-width: 100%;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  background: var(--bg-elevated);
}

.marquee {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  max-width: none;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-reverse {
  animation-direction: reverse;
  animation-duration: 50s;
}

.marquee-dot {
  color: var(--accent);
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech-intro {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.tech-marquees {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.tech-marquees-toolbar {
  display: flex;
  justify-content: flex-end;
  min-height: 2rem;
}

.marquee-toggle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  min-height: 32px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.marquee-toggle:hover {
  color: var(--accent-light);
  border-color: rgba(194, 147, 61, 0.4);
}

.marquee-toggle:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.tech-marquee-block {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.tech-marquee-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tech-marquee-list {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  list-style: none;
}

.tech-marquee-list li {
  display: inline;
}

.tech .marquee-wrap.tech-marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 16, 0.35);
  padding: 0.8rem 0;
}

.tech-marquees.is-paused .marquee,
.tech .marquee-wrap.tech-marquee:hover .marquee,
.tech .marquee-wrap.tech-marquee:focus-within .marquee {
  animation-play-state: paused;
}

/* ── Sections ── */
.section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }

/* Ambient section glow — carries the hero's atmosphere into later sections */
.section-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.section-glow::before,
.section-glow::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}

.section-glow::before {
  top: -18%;
  right: -12%;
  background: radial-gradient(circle, rgba(194, 147, 61, 0.16), transparent 70%);
}

.section-glow::after {
  bottom: -20%;
  left: -14%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(79, 168, 160, 0.1), transparent 70%);
}

.section-glow-cool::before {
  background: radial-gradient(circle, rgba(79, 168, 160, 0.14), transparent 70%);
}

.section-glow-cool::after {
  background: radial-gradient(circle, rgba(194, 147, 61, 0.1), transparent 70%);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}

.section-label-2 { color: var(--accent-2-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400; line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-title em { font-style: italic; color: var(--accent-light); }

.section-lead {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 620px; line-height: 1.75;
  margin-bottom: 2.5rem;
}

.section-lead strong { color: var(--text); font-weight: 600; }

.renovation-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 430px;
}

.renovation-feature-copy {
  min-width: 0;
}

.renovation-feature-copy .section-lead {
  margin-bottom: 0;
}

.concept-visual {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.65rem;
  overflow: hidden;
  background: rgba(16, 16, 20, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.concept-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.concept-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg);
}

.concept-visual figcaption {
  padding: 0.7rem 0.4rem 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--text-dim);
}

.concept-visual-problem { border-color: rgba(193, 88, 74, 0.3); }
.concept-visual-problem::before { background: linear-gradient(90deg, transparent, var(--danger), transparent); }
.concept-visual-ddd { border-color: rgba(79, 168, 160, 0.34); }
.concept-visual-ddd::before { background: linear-gradient(90deg, transparent, var(--accent-2), transparent); }

/* ── Four Paths ── */
.paths {
  background: var(--bg);
  position: relative;
  /* Pull up into the hero fade so the join reads as one surface */
  padding-top: 1.15rem;
  margin-top: -0.5rem;
}

.paths::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 18rem;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 40%, transparent 100%);
  opacity: 1;
}

.paths-heading {
  white-space: nowrap;
  margin-bottom: 0.75rem;
}

.paths-intro {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.paths-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
  align-items: stretch;
}

.path-card {
  --path-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  isolation: isolate;
  overflow: hidden;
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.45rem 1.5rem 1.35rem;
  cursor: default;
  z-index: 1;
  transition:
    border-color 0.35s var(--path-ease),
    box-shadow 0.35s var(--path-ease);
}

.path-card:hover {
  border-color: rgba(194, 147, 61, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.path-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.path-card-bg,
.path-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.path-card-bg {
  opacity: 0.7;
  background-size: 220% 220%;
  animation: pathGradientShift 9s ease-in-out infinite;
}

.path-card-shine {
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.1) 48%,
    transparent 65%
  );
  transform: translateX(-40%);
  transition: opacity 0.4s;
}

.path-card-catalyst .path-card-bg {
  background-image:
    radial-gradient(ellipse 90% 80% at 8% 0%, rgba(212, 168, 67, 0.38), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(180, 100, 50, 0.22), transparent 50%),
    linear-gradient(145deg, #18141c 0%, #0c0c12 55%, #1a140e 100%);
}

.path-card-scale .path-card-bg {
  background-image:
    radial-gradient(ellipse 80% 70% at 92% 8%, rgba(232, 192, 96, 0.3), transparent 50%),
    radial-gradient(ellipse 55% 65% at 0% 95%, rgba(90, 120, 160, 0.28), transparent 55%),
    linear-gradient(160deg, #10141c 0%, #12141c 50%, #0a0c12 100%);
}

.path-card-costs .path-card-bg {
  background-image:
    radial-gradient(ellipse 85% 70% at 0% 25%, rgba(90, 170, 130, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 55% at 100% 85%, rgba(212, 168, 67, 0.26), transparent 50%),
    linear-gradient(135deg, #0c1410 0%, #101210 45%, #0e0e14 100%);
}

.path-card-ai .path-card-bg {
  background-image:
    radial-gradient(ellipse 80% 70% at 85% 0%, rgba(212, 168, 67, 0.34), transparent 50%),
    radial-gradient(ellipse 60% 60% at 5% 100%, rgba(140, 100, 70, 0.24), transparent 55%),
    linear-gradient(155deg, #16120c 0%, #0e0c12 50%, #16141a 100%);
}

@keyframes pathGradientShift {
  0%, 100% { background-position: 0% 35%; }
  33% { background-position: 80% 70%; }
  66% { background-position: 40% 10%; }
}

.path-card > *:not(.path-card-bg):not(.path-card-shine) {
  position: relative;
  z-index: 1;
}

.path-head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 2.25rem;
  grid-template-areas: "icon copy index";
  align-items: start;
  column-gap: 1rem;
  row-gap: 0;
  padding-bottom: 1.15rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.path-icon {
  grid-area: icon;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  margin-top: 0;
  color: var(--accent-light);
}

.path-head-copy {
  grid-area: copy;
  min-width: 0;
  padding-top: 0.15rem;
  padding-right: 0.25rem;
}

.path-index {
  grid-area: index;
  justify-self: end;
  align-self: start;
  box-sizing: border-box;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(218, 176, 98, 0.72);
  background: rgba(16, 16, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
  pointer-events: none;
  user-select: none;
}

/* icon plate — flat gold, artwork optically centered */
.path-icon-plate {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 248, 228, 0.22) 0%, transparent 38%),
    linear-gradient(210deg, rgba(212, 168, 67, 0.12), transparent 40%),
    linear-gradient(160deg, #322818 0%, #161218 46%, #22180e 100%);
  border: 1px solid rgba(232, 192, 96, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(0, 0, 0, 0.25),
    0 12px 22px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(212, 168, 67, 0.12);
  animation: pathIconFloat 4.5s ease-in-out infinite;
  transition:
    transform 0.55s var(--path-ease),
    box-shadow 0.55s var(--path-ease),
    border-color 0.45s ease;
}

@keyframes pathIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.path-icon svg {
  width: 62%;
  height: 62%;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

.path-card:hover .path-icon-plate,
.path-card:focus-within .path-icon-plate {
  animation: none;
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(240, 215, 138, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -12px 20px rgba(0, 0, 0, 0.45),
    0 18px 30px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(212, 168, 67, 0.28);
}

.path-card.is-focused .path-icon-plate {
  animation: none;
  transform: scale(1.02);
  border-color: rgba(240, 215, 138, 0.65);
}

.path-card:hover .path-icon,
.path-card:focus-within .path-icon {
  color: var(--accent-light);
  transform: none;
}

.path-card h3 {
  font-family: var(--font-sans);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  margin-bottom: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.path-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
  padding-top: 1.15rem;
}

.path-col-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.path-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.path-start {
  margin: 0.15rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.path-start .path-col-label {
  display: block;
  margin-bottom: 0.35rem;
}

.legacy-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  pointer-events: none;
}

.path-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 0.15rem;
  min-height: 2.75rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.path-link::after {
  content: '→';
  text-decoration: none;
  transition: transform 0.2s ease;
}

.path-link:hover {
  color: #f0d98a;
}

.path-link:hover::after {
  transform: translateX(3px);
}

.path-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Legacy morph scaffolding kept inert after always-visible card rewrite */
.path-detail,
.path-hook,
.path-for,
.path-card-placeholder {
  display: none;
}

.paths-grid.is-focusing,
.paths-grid.is-returning {
  overflow: hidden;
}

/* Sibling cards ease out/in with the focused morph — never hard-cut */
.paths-grid.is-focusing .path-card:not(.is-focused):not(.is-morphing) {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97) translateY(8px);
  filter: blur(1.5px);
}

/* During collapse, siblings fade back in while the active card shrinks */
.paths-grid.is-returning .path-card:not(.is-morphing) {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  filter: none;
  transition-delay: 0.06s;
}

/* Shared morph chrome: geometry + type animate together */
.path-card.is-morphing,
.path-card.is-focused {
  --path-ease-morph: cubic-bezier(0.22, 1, 0.36, 1);
  --path-title: 1.2rem;
  --path-hook: 0.88rem;
  --path-li: 0.82rem;
  --path-for: 0.82rem;
  --path-icon: 60px;
  --path-pad-y: 1.45rem;
  --path-pad-x: 1.5rem;
  position: absolute;
  z-index: 6;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "head"
    "detail"
    "foot";
  column-gap: 0;
  row-gap: 0;
  align-items: stretch;
  padding: var(--path-pad-y) var(--path-pad-x);
  border-color: rgba(212, 168, 67, 0.65);
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.2),
    0 22px 55px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 168, 67, 0.12);
  will-change: left, top, width, height;
  transition:
    left 0.48s var(--path-ease-morph),
    top 0.48s var(--path-ease-morph),
    width 0.48s var(--path-ease-morph),
    height 0.48s var(--path-ease-morph),
    padding 0.48s var(--path-ease-morph),
    column-gap 0.48s var(--path-ease-morph),
    row-gap 0.48s var(--path-ease-morph),
    grid-template-columns 0.48s var(--path-ease-morph),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.path-card.is-focused {
  --path-title: 1.45rem;
  --path-hook: 1rem;
  --path-li: 0.95rem;
  --path-for: 0.92rem;
  --path-icon: 68px;
  --path-pad-y: clamp(1.4rem, 2vw, 1.9rem);
  --path-pad-x: clamp(1.5rem, 2.5vw, 2.4rem);
  grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.2fr);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas:
    ". detail"
    "head detail"
    "foot detail"
    ". detail";
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  row-gap: 0.85rem;
  border-color: rgba(212, 168, 67, 0.75);
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.25),
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(212, 168, 67, 0.18);
}

.path-card.is-morphing h3,
.path-card.is-focused h3,
.path-card.is-morphing .path-hook,
.path-card.is-focused .path-hook,
.path-card.is-morphing .path-problems li,
.path-card.is-focused .path-problems li,
.path-card.is-morphing .path-outcomes li,
.path-card.is-focused .path-outcomes li,
.path-card.is-morphing .path-for,
.path-card.is-focused .path-for,
.path-card.is-morphing .path-icon,
.path-card.is-focused .path-icon,
.path-card.is-morphing .path-detail,
.path-card.is-focused .path-detail,
.path-card.is-morphing .path-body,
.path-card.is-focused .path-body,
.path-card.is-morphing .path-col + .path-col,
.path-card.is-focused .path-col + .path-col {
  transition:
    font-size 0.48s var(--path-ease-morph),
    line-height 0.48s var(--path-ease-morph),
    width 0.48s var(--path-ease-morph),
    height 0.48s var(--path-ease-morph),
    max-width 0.48s var(--path-ease-morph),
    margin 0.48s var(--path-ease-morph),
    padding 0.48s var(--path-ease-morph),
    gap 0.48s var(--path-ease-morph),
    border-color 0.35s ease,
    opacity 0.35s ease;
}

.path-card.is-morphing .path-head,
.path-card.is-focused .path-head {
  grid-area: head;
  transition: max-width 0.48s var(--path-ease-morph), gap 0.48s var(--path-ease-morph);
}

.path-card.is-morphing .path-detail,
.path-card.is-focused .path-detail {
  grid-area: detail;
}

.path-card.is-morphing .path-for,
.path-card.is-focused .path-for {
  grid-area: foot;
}

.path-card.is-morphing h3,
.path-card.is-focused h3 {
  font-size: var(--path-title);
}

.path-card.is-morphing .path-hook,
.path-card.is-focused .path-hook {
  font-size: var(--path-hook);
}

.path-card.is-morphing .path-problems li,
.path-card.is-focused .path-problems li,
.path-card.is-morphing .path-outcomes li,
.path-card.is-focused .path-outcomes li {
  font-size: var(--path-li);
}

.path-card.is-morphing .path-for,
.path-card.is-focused .path-for {
  font-size: var(--path-for);
}

.path-card.is-morphing .path-icon,
.path-card.is-focused .path-icon {
  width: var(--path-icon);
  height: var(--path-icon);
}

.path-card.is-focused .path-card-bg {
  opacity: 1;
  animation-duration: 5s;
}

.path-card.is-focused .path-card-shine {
  opacity: 1;
  animation: pathShineSweep 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1;
}

.path-card.is-focused .path-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 2.25rem;
  grid-template-areas: "icon copy index";
  align-items: start;
  align-self: start;
  gap: 0;
  column-gap: 1rem;
  padding: 0;
  border-bottom: none;
  max-width: 26rem;
}

.path-card.is-focused h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.45rem;
}

.path-card.is-focused .path-hook {
  color: var(--accent-light);
  line-height: 1.5;
  max-width: 24rem;
}

.path-card.is-focused .path-detail {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.path-card.is-focused .path-detail-inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.path-card.is-focused .path-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  max-width: none;
  min-height: 0;
  height: 100%;
  padding: 0.15rem 0;
}

.path-card.is-focused .path-col {
  display: block;
  padding-block: 0;
  height: auto;
}

.path-card.is-focused .path-col + .path-col {
  border-left: none;
  padding-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
}

.path-card.is-focused .path-col-label {
  margin-bottom: 0.75rem;
  font-size: 0.65rem;
}

.path-card.is-focused .path-problems,
.path-card.is-focused .path-outcomes {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.6rem;
  flex: none;
}

.path-card.is-focused .path-problems li,
.path-card.is-focused .path-outcomes li {
  line-height: 1.5;
}

.path-card.is-focused .path-for {
  flex-shrink: 0;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 26rem;
  align-self: start;
}

/* Soften structural reflow while geometry + type are mid-morph */
.path-card.is-morphing.is-focused > .path-head,
.path-card.is-morphing.is-focused > .path-detail,
.path-card.is-morphing.is-focused > .path-for {
  animation: pathFocusContent 0.48s var(--path-ease-morph) both;
}

@keyframes pathFocusContent {
  0% { opacity: 0.45; }
  100% { opacity: 1; }
}

@media (max-width: 700px) {
  .path-card.is-focused {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-areas: none;
  }

  .path-card.is-focused .path-head {
    align-self: stretch;
    max-width: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 2.25rem;
    grid-template-areas: "icon copy index";
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .path-card.is-focused .path-detail {
    border-left: none;
    padding-left: 0;
    padding-top: 1rem;
    flex: 1;
  }

  .path-card.is-focused .path-body {
    justify-content: flex-start;
    height: auto;
  }

  .path-card.is-focused .path-for {
    margin-top: auto;
    max-width: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .path-card.is-focused .path-col + .path-col {
    border-left: none;
    padding-left: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@keyframes pathShineSweep {
  from { transform: translateX(-50%); }
  to { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
  .path-card.is-focused,
  .path-card.is-morphing {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .paths-grid { grid-template-columns: 1fr; }
  .paths-heading { white-space: normal; }
  .paths-intro { margin-bottom: 1.5rem; }
  .path-card:hover {
    transform: none;
  }
  .starting-point {
    padding: 1.35rem 1.25rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-card-bg { animation: none !important; }
  .path-card-shine { animation: none !important; }
  .path-detail {
    transition: none;
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 1rem !important;
    overflow: visible;
  }
  .path-expand-hint { display: none; }
}

/* ── Icon badges (shared across renovation/services/tiers) ── */
.icon-badge {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(194, 147, 61, 0.2), rgba(194, 147, 61, 0.04));
  border: 1px solid rgba(194, 147, 61, 0.3);
  color: var(--accent-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.icon-badge svg { width: 22px; height: 22px; stroke-width: 1.6; }

.icon-badge-cool {
  background: linear-gradient(155deg, rgba(79, 168, 160, 0.2), rgba(79, 168, 160, 0.04));
  border-color: rgba(79, 168, 160, 0.32);
  color: var(--accent-2-light);
}

.icon-badge-danger {
  background: linear-gradient(155deg, rgba(193, 88, 74, 0.2), rgba(193, 88, 74, 0.04));
  border-color: rgba(193, 88, 74, 0.32);
  color: var(--danger-light);
}

.icon-badge-sm { width: 34px; height: 34px; border-radius: 9px; }
.icon-badge-sm svg { width: 17px; height: 17px; }

/* ── Renovation (Software Rot) ── */
.renovation-block { margin-bottom: 0; }
.renovation-block-divider {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--border);
}

.rot-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding: 2rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(193, 88, 74, 0.05) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: 8px;
}

.rot-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--accent-light);
  line-height: 1;
  grid-row: span 2;
}

.rot-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.rot-stat-desc {
  grid-column: 2;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
}

.rot-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.rot-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  border-top: 2px solid var(--rot-color, var(--border-strong));
}

.rot-card-ok { --rot-color: #4ade80; }
.rot-card-drift { --rot-color: var(--accent); }
.rot-card-warn { --rot-color: var(--danger); background: linear-gradient(160deg, var(--bg-card-hover) 0%, rgba(193, 88, 74, 0.06) 100%); }

.rot-card-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--rot-color, var(--text-muted));
}
.rot-card-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }

.rot-card-ok .rot-card-icon { background: rgba(74, 222, 128, 0.14); border-color: rgba(74, 222, 128, 0.35); }
.rot-card-drift .rot-card-icon { background: rgba(194, 147, 61, 0.14); border-color: rgba(194, 147, 61, 0.35); }
.rot-card-warn .rot-card-icon { background: rgba(193, 88, 74, 0.16); border-color: rgba(193, 88, 74, 0.4); }

.rot-year {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rot-color, var(--accent));
  display: block;
  margin-bottom: 0.75rem;
}

.rot-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.rot-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.renovation-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.pillar-card:hover { border-color: rgba(194, 147, 61, 0.35); transform: translateY(-2px); }

.pillar-card .icon-badge { margin-bottom: 1rem; }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.5rem;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.renovation-callout {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.renovation-callout strong { color: var(--text); }

.reset-cycle {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reset-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.reset-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 2.65rem;
  top: 100%;
  width: 1px;
  height: 1rem;
  background: linear-gradient(to bottom, rgba(194, 147, 61, 0.4), transparent);
}

.reset-step-final {
  background: linear-gradient(135deg, var(--bg-card-hover) 0%, rgba(194, 147, 61, 0.07) 100%);
  border-color: rgba(194, 147, 61, 0.3);
}

.reset-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--accent-dim);
  color: var(--accent-light);
  border-radius: 8px;
}

.reset-step-final .reset-step-num {
  background: var(--accent);
  color: var(--bg);
  font-size: 1.1rem;
}

.reset-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.reset-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.reset-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.reset-proof-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}

.reset-proof-item:first-child {
  border-left: 3px solid var(--accent-2);
}

.reset-proof-item:last-child {
  border-left: 3px solid var(--danger);
  opacity: 0.85;
}

.reset-proof-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

.reset-proof-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── US & EU Shift ── */
.shift-markets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.shift-market {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--bg-card);
}

.shift-flag { font-size: 1.75rem; line-height: 1; flex-shrink: 0; }

.shift-market strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.shift-market p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.shift-ai { margin-bottom: 2.5rem; }

.shift-ai-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.shift-ai-lead em { font-style: italic; color: var(--accent-light); }

.shift-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.shift-ai-card {
  background: var(--bg-card);
  padding: 1.5rem;
}

.shift-ai-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
}

.shift-ai-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.shift-savings {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 2.5rem 0;
}

.savings-card {
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.savings-card-old {
  background: var(--bg-card);
  border-color: rgba(193, 88, 74, 0.28);
  opacity: 0.9;
}

.savings-card-new {
  background: linear-gradient(160deg, var(--bg-card-hover) 0%, rgba(194, 147, 61, 0.08) 100%);
  border-color: rgba(194, 147, 61, 0.4);
}

.savings-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.5rem;
}

.savings-card-new .savings-label { color: var(--accent); }

.savings-amount {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.savings-card-new .savings-amount { color: var(--accent-light); }

.savings-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.savings-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  text-align: center;
}

.shift-cta { margin-top: 2rem; }

/* ── Compare (Them vs Us) ── */
.compare { margin-top: 2rem; }

.compare-title {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1.25rem;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.compare-list li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem; align-items: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  transition: border-color 0.25s, background 0.25s;
}

.compare-list li:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }

.compare-bad,
.compare-good {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.compare-bad::before,
.compare-good::before {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.compare-bad { color: var(--text-muted); }
.compare-bad::before { content: '✕'; background: var(--danger-dim); color: var(--danger-light); }
.compare-arrow { color: var(--text-dim); font-size: 0.8rem; text-align: center; }
.compare-good { color: var(--text); font-weight: 500; }
.compare-good::before { content: '✓'; background: var(--accent-dim); color: var(--accent-light); }

/* ── Services ── */
.services { background: var(--bg-elevated); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.service-card:hover {
  border-color: rgba(194, 147, 61, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent); opacity: 0.6;
}

.service-card h3 {
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 0.6rem; color: var(--text);
}

.service-card p {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 1.1rem;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.service-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--accent-dim);
  color: var(--accent-light);
  border-radius: 4px;
}

.starting-points {
  display: none;
}

/* ── Shared savings callout (commercial terms) ── */
.shared-savings {
  scroll-margin-top: calc(var(--header-h) + var(--return-bar-h) + 1rem);
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.shared-savings h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.shared-savings-star {
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0;
  vertical-align: super;
  position: relative;
  top: -0.05em;
  margin-left: 0.08em;
  color: var(--accent-light);
  white-space: nowrap;
}

.shared-savings p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.shared-savings-note {
  margin-top: 0.75rem !important;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.shared-savings-note a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.shared-savings-note a:hover {
  color: #f0d98a;
}

.shared-savings-note a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.shared-savings strong {
  color: var(--text);
  font-weight: 600;
}

.shared-savings em {
  font-style: italic;
  color: var(--accent-light);
}

/* ── How we work (homepage) ── */
.how-we-work {
  background: var(--bg);
  position: relative;
}

.how-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.how-step {
  position: relative;
  padding-top: 0.25rem;
  min-width: 0;
}

.how-step + .how-step {
  border-left: 1px solid var(--border-strong);
  padding-left: 1.5rem;
}

.how-step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.how-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.how-collab {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.1rem;
  max-width: 40rem;
}

.how-link-wrap {
  margin: 0;
}

.how-link {
  margin-top: 0;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .how-step + .how-step {
    border-left: none;
    padding-left: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }
}

/* ── Approach page ── */
.approach-page {
  padding-top: calc(var(--header-h) + var(--return-bar-h) + 2.25rem);
  padding-bottom: 4.5rem;
  background: var(--bg);
}

.approach-inner {
  max-width: 720px;
}

.approach-title {
  margin-bottom: 1rem;
}

.approach-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.approach-section {
  scroll-margin-top: calc(var(--header-h) + var(--return-bar-h) + 1rem);
  margin-bottom: 2.75rem;
}

.approach-section h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.9rem;
}

.approach-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.55rem;
}

.approach-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.approach-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin-top: 0.35rem;
}

.approach-inline-links a,
.approach-section a {
  color: var(--accent-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.approach-inline-links a:hover,
.approach-section a:hover {
  color: #f0d98a;
}

.approach-media {
  margin: 1.5rem 0 1.75rem;
}

.approach-media-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #121218;
}

.approach-media-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.approach-media-frame .approach-media-poster,
.approach-media-frame .approach-media-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.approach-media-frame .approach-media-poster[hidden],
.approach-media-frame .approach-media-anim[hidden] {
  display: none;
}

.approach-media figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 0.65rem;
}

.approach-media-caption {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
  flex: 1;
  min-width: 12rem;
}

.approach-media-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.5rem;
  min-width: 9.75rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(194, 147, 61, 0.45);
  border-radius: 6px;
  background: transparent;
  color: var(--accent-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

.approach-media-toggle:not([hidden]) {
  display: inline-flex;
}

.approach-media-toggle:hover {
  border-color: var(--accent-light);
  color: #f0d98a;
}

.approach-media-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.approach-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.approach-table-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.approach-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.approach-table th,
.approach-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.5;
}

.approach-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.approach-table tr:last-child td {
  border-bottom: none;
}

.approach-table td:nth-child(2) {
  color: var(--text);
  font-weight: 500;
}

.approach-cta {
  margin: 2.75rem 0 0;
}

@media (max-width: 768px) {
  .approach-table {
    min-width: 28rem;
  }
}

/* ── Service detail pages ── */
.service-page {
  padding-top: calc(var(--header-h) + var(--return-bar-h) + 2.25rem);
  padding-bottom: 4.5rem;
  background: var(--bg);
}

.service-page-inner {
  max-width: 720px;
}

.service-page-title {
  margin-bottom: 1rem;
}

.service-page-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.service-page-body h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.25rem 0 0.85rem;
}

.service-page-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.service-page-body ul {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.service-page-body li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-page-body li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-page-body a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.service-page-body a:hover {
  color: #f0d98a;
}

.service-page-cta {
  margin: 2.5rem 0 0;
}

.service-related {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-strong);
}

.service-related h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.service-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.service-related a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.service-related a:hover {
  color: #f0d98a;
}

.service-related a:focus-visible,
.service-page-cta a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Engagements ── */
.engagements-domains {
  margin: -0.35rem 0 2rem;
  max-width: 48rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--text-dim);
}

.engagements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.engagement-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.65rem 1.65rem 1.5rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  min-width: 0;
}

.engagement-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.engagement-card-cool { border-left-color: var(--accent-2); }
.engagement-card-cool .engagement-tag { color: var(--accent-2-light); }
.engagement-card-cool .engagement-points li::before { color: var(--accent-2-light); }

.engagement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.engagement-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.engagement-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.engagement-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.engagement-card > p {
  flex: 1 1 auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 0.95rem;
}

.engagement-points {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
}

.engagement-points li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.engagement-points li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.engagements-closing {
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.engagements-closing p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.engagements-closing .btn {
  flex-shrink: 0;
  align-self: center;
}

/* ── Manifesto ── */
.manifesto { background: var(--bg-elevated); }
.manifesto-block {
  position: relative;
  max-width: 720px;
  margin-bottom: 2rem;
  padding: 0 0 2rem 2.25rem;
  border-bottom: 1px solid var(--border);
  border-left: 2px solid var(--border-strong);
}

.manifesto-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.manifesto-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent-light);
  display: block; margin-bottom: 0.5rem;
}

.manifesto-block p {
  font-size: 1.1rem; line-height: 1.8; color: var(--text-muted);
}

.manifesto-block strong { color: var(--text); font-weight: 600; }
.manifesto-block em { font-style: italic; color: var(--accent-light); }

/* ── Tiers ── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.tier-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
}

.tier-card .icon-badge { margin-bottom: 1rem; }

.tier-featured {
  background: linear-gradient(160deg, var(--bg-card-hover) 0%, rgba(194, 147, 61, 0.06) 100%);
  border-color: rgba(194, 147, 61, 0.35);
}

.tier-ribbon {
  position: absolute;
  top: -0.7rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.tier-label {
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 0.75rem;
}

.tier-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 400;
  margin-bottom: 0.5rem;
}

.tier-scope {
  font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.tier-card ul { display: flex; flex-direction: column; gap: 0.6rem; }

.tier-card li {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.55;
}

/* ── Tech ── */
.tech { background: var(--bg-elevated); }

/* ── Contact ── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-form-title {
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-sub {
  font-size: 0.9rem; color: var(--text-muted);
  margin-bottom: 1.35rem; line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 147, 61, 0.18);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-status[data-state="success"] { color: #7dcea0; }
.form-status[data-state="error"] { color: #e8a0a0; }
.form-status[data-state="warn"] { color: var(--accent-light); }

.contact-submit {
  width: 100%;
}

.contact-submit[data-busy="true"] {
  opacity: 0.7;
  cursor: wait;
}

.contact-wa-fallback {
  width: 100%;
  text-align: center;
}

.contact-alt {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.contact-phone {
  text-align: center; margin-top: 1rem;
  font-size: 1rem; font-weight: 600;
}

.contact-phone a { color: var(--text-muted); transition: color 0.25s; }
.contact-phone a:hover { color: var(--accent); }

.contact-address {
  text-align: center; margin-top: 1rem;
  font-size: 0.85rem; color: var(--text-dim); line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  padding: 4.5rem 1.5rem 2.25rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer-inner { max-width: 1360px; margin: 0 auto; }

.footer-top-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(0, 1.55fr);
  gap: 2.75rem 3rem;
  margin-bottom: 3rem;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.footer-brand-head strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.footer-brand-lead {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.footer-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.footer-pillars li {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(194, 147, 61, 0.22);
  background: rgba(194, 147, 61, 0.06);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.footer-wa {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1px solid rgba(194, 147, 61, 0.35);
  padding-bottom: 0.15rem;
  transition: color 0.25s, border-color 0.25s;
}

.footer-wa:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}

.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.22rem 0;
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--accent); }

.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.footer-note-spaced { margin-top: 0.85rem; }

.footer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.25rem;
}

.footer-strip > div {
  background: rgba(29, 29, 37, 0.85);
  padding: 1.15rem 1.25rem;
}

.footer-strip-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

a.footer-strip-label-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 2.5rem;
  margin: -0.55rem 0 -0.35rem;
  padding: 0.55rem 0.35rem 0.55rem 0;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: color 0.2s ease;
}

a.footer-strip-label-link:hover {
  color: var(--accent-light);
}

a.footer-strip-label-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-strip-star {
  display: inline;
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0;
  vertical-align: super;
  position: relative;
  top: -0.05em;
  margin-left: 0.08em;
  color: var(--accent-light);
}

.footer-strip p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-tag {
  margin-top: 0.35rem;
  color: var(--text-dim);
  opacity: 0.85;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-bottom-links a:hover { color: var(--accent); }

.footer-top { color: var(--accent); font-weight: 600; }
.footer-top:hover { color: var(--accent-light); }

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ── Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

@supports (animation: heroEnter 1s both) {
  .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(20px);
  }
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Legal pages (Privacy / Terms) ── */
.legal {
  padding-top: calc(var(--header-h) + 4rem);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 1.1em;
  position: relative;
}

.legal-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.legal-content strong { color: var(--text); font-weight: 600; }

.legal-content a { color: var(--accent); border-bottom: 1px solid rgba(194, 147, 61, 0.35); }
.legal-content a:hover { color: var(--accent-light); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .renovation-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }
  .renovation-feature .concept-visual {
    max-width: 680px;
  }
  .rot-grid { grid-template-columns: 1fr; }
  .renovation-pillars { grid-template-columns: 1fr; }
  .reset-proof { grid-template-columns: 1fr; }
  .shift-markets { grid-template-columns: 1fr; }
  .shift-ai-grid { grid-template-columns: 1fr; }
  .shift-savings { grid-template-columns: 1fr; }
  .savings-arrow { transform: rotate(90deg); }
  .rot-stat { grid-template-columns: 1fr; }
  .rot-stat-number { grid-row: auto; }
  .rot-stat-desc { grid-column: 1; }
  .engagements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .engagements-closing { flex-direction: column; align-items: stretch; }
  .engagements-closing .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .compare-list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .compare-arrow { display: none; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-strip { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .section-lead { font-size: 1rem; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    padding: 0.95rem 1rem !important;
    border-bottom: none;
    font-size: 0.95rem !important;
  }

  .return-bar-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-title { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .hero-lead { font-size: 0.95rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btn { width: 100%; }

  .section { padding: 3.5rem 1rem; }
  .section-inner { max-width: 100%; }
  .engagements-domains {
    font-size: 0.68rem;
    line-height: 1.85;
  }
  .engagement-card {
    padding: 1.35rem 1.2rem 1.25rem;
  }
  .engagement-card h3 { font-size: 1rem; }
  .engagement-card > p { font-size: 0.88rem; }
  .contact-form-wrap { padding: 1.35rem 1.15rem; }
  .contact-form input,
  .contact-form textarea {
    font-size: 1rem; /* avoid iOS zoom on focus */
  }

  .service-page,
  .approach-page {
    padding-top: calc(var(--header-h) + var(--return-bar-h) + 1.75rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .paths {
    padding-top: 1.25rem;
    margin-top: -0.75rem;
  }
  .renovation-block-divider { margin-top: 3.5rem; padding-top: 3.5rem; }
  .renovation-feature { gap: 1.25rem; }
  .concept-visual { padding: 0.45rem; border-radius: 10px; }
  .concept-visual img { border-radius: 6px; }
  .concept-visual figcaption { font-size: 0.58rem; }

  .services-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-strip { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; }

  .whatsapp-float {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: calc(2.25rem + 4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .legal {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 640px) {
  .engagements-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 0.9rem; }
  .engagement-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .btn {
    padding: 0.85rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, .marquee { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }

  .arch-diagram .arch-node,
  .arch-diagram .arch-layer-frame,
  .arch-diagram .arch-layer-label,
  .arch-diagram .arch-node-caption,
  .arch-diagram .arch-edges path {
    transition: none !important;
    animation: none !important;
  }

  .hero-arch-toggle {
    display: none !important;
  }

  .approach-media-toggle {
    display: none !important;
  }

  .tech .marquee-wrap.tech-marquee {
    display: none !important;
  }

  .marquee-toggle {
    display: none !important;
  }

  .tech-marquee-list {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .tech-marquee-list li {
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    line-height: 1.35;
  }
}
