/* ==========================================================================
   The Leaders Development
   Brand kit v1.0: Ink #171717, White, Amber #F59E0B. Outfit, Figtree.
   Dark is the default; light is a visitor choice.
   ========================================================================== */

:root {
  /* Dark (default) */
  --bg: #000000;
  --surface: #171717;     /* Ink: tiles and raised grounds */
  --surface-2: #212121;   /* Graphite: UI inside tiles */
  --surface-3: #2c2c2c;
  --text: #ffffff;
  --muted: #a3a3a3;       /* Mist */
  --faint: #737373;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --amber-text: #f59e0b;
  --nav-bg: rgba(0, 0, 0, 0.72);
  --shadow-lg: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
  --shadow-md: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --seg-active: #2c2c2c;

  /* Fixed brand values */
  --ink: #171717;
  --amber: #f59e0b;
  --amber-hover: #fbad2d;

  --display: "Outfit", system-ui, -apple-system, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --r-tile: 28px;
  --r-frame: 18px;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f5f4;     /* Stone */
  --surface-2: #ffffff;
  --surface-3: #ececea;
  --text: #171717;
  --muted: #525252;       /* Steel */
  --faint: #8a8a8a;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --amber-text: #b45309;  /* Amber Deep: amber text on white */
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow-lg: 0 50px 120px -50px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 24px 60px -30px rgba(0, 0, 0, 0.25);
  --seg-active: #ffffff;
}

/* ---------- Base ---------- */

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

:root[data-theme="light"] { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, p, figure, ol, ul { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

button { font: inherit; color: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.dot { color: var(--amber); }

/* ---------- Accessibility ---------- */

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 300ms var(--ease);
}

.skip:focus { top: 12px; }

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

/* ---------- Type scale ---------- */

.h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--muted);
}

.lead a {
  color: var(--text);
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.01em;
  color: var(--amber);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 17px/1 var(--body);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 500ms var(--ease),
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    color 300ms var(--ease);
}

.btn-lg { padding: 17px 30px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-hover); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.btn-ghost:hover { border-color: var(--text); background: var(--surface-3); }

.btn:active { transform: scale(0.97); }

.text-link {
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 300ms var(--ease);
}

.text-link:hover { text-decoration-color: var(--text); }

/* ---------- Navigation: a quiet glass bar ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  justify-self: start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}

.logo-name {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
  vertical-align: 3px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 300ms var(--ease);
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}

.icon-btn:hover { color: var(--text); background: var(--surface); }

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

.menu-btn { display: none; }

.menu-btn .bar { transition: transform 400ms var(--ease); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .bar-top { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar-bottom { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  display: grid;
  align-content: start;
  height: calc(100vh - 56px);
  height: calc(100svh - 56px);
  overflow-y: auto;
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a:not(.btn) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 160px;
  text-align: center;
}

/* The particle field: one fixed canvas behind every section */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}

.cosmos.is-ready { opacity: 1; }

main, .footer { position: relative; z-index: 1; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 40px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  width: 24px;
  height: 40px;
  padding-top: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}

.scroll-cue span {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--text);
  animation: cue 2000ms var(--ease) infinite;
}

@keyframes cue {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

.hero-title {
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11.5ch;
  margin-inline: auto;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 40ch;
  font-size: clamp(18px, 1.6vw, 20px);
  text-wrap: balance;
  line-height: 1.45;
  color: var(--muted);
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* One orchestrated entrance on load */
.load {
  animation: rise 1100ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Hero proof line */
.hero-proof {
  margin-top: 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }

.hero-proof svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--amber-text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Statement ---------- */

.statement {
  padding: clamp(120px, 14vw, 200px) 0;
}

.statement-text {
  max-width: 21ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.statement-text .word { display: inline-block; }

/* ---------- Services: one pinned chapter, the particles take each service's shape ---------- */

.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head .h2 { max-width: 15ch; margin-inline: auto; }
.section-head .lead { max-width: 44ch; margin: 24px auto 0; }

.services { padding: clamp(96px, 10vw, 128px) 0; }

.svc-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.svc-copy { max-width: 720px; }
.is-cinematic .svc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.svc-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }

.svc { border-bottom: 1px solid var(--line); }

.svc h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }

.svc-btn {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: color 500ms var(--ease);
}

.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber-text);
}

.svc-body p { color: var(--muted); max-width: 44ch; }
.svc-body .tags { margin: 16px 0 24px; }

.svc-stage {
  position: relative;
  min-height: 480px;
}

.svc-count {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}

.svc-count b { color: var(--text); font-weight: 500; }

/* Cinematic mode: only the active service is open */
.is-cinematic .svc-pin { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
.is-cinematic .services { padding: 0; }
.is-cinematic .svc-btn { color: var(--faint); }
.is-cinematic .svc.is-active .svc-btn { color: var(--text); }
.is-cinematic .svc-btn:hover { color: var(--text); }

.is-cinematic .svc-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 700ms var(--ease), opacity 500ms var(--ease);
}

.is-cinematic .svc-body > div { overflow: hidden; }
.is-cinematic .svc.is-active .svc-body { grid-template-rows: 1fr; opacity: 1; }

.svc-stage { display: none; }
.is-cinematic .svc-stage { display: block; }

.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.tags li {
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Statement kicker ---------- */

.statement-kicker {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-text);
}

/* ---------- Projects ---------- */

.projects { padding-bottom: clamp(120px, 14vw, 200px); }

.projects-title {
  margin-bottom: 24px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-text);
}

.project-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }

.project {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 500ms var(--ease);
}

.project:hover { padding-left: 8px; }

.project-logo { width: 40px; height: 32px; flex: none; }
.sp-back { fill: #4a4a4a; }
.sp-front { fill: #f59e0b; }
:root[data-theme="light"] .sp-back { fill: #8e8a82; }
:root[data-theme="light"] .sp-front { fill: #b26a00; }
/* Spiritual Food's eagle, in the app's own gold */
.sf-mark { fill: #D9B46A; }
:root[data-theme="light"] .sf-mark { fill: #7A5A14; }
/* On a narrow screen the address of a page on this site drops the domain */
@media (max-width: 520px) { .project-host { display: none; } }

.project-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.project-url {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
  transition: color 300ms var(--ease);
}

.project:hover .project-url { color: var(--text); }

.project-url svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Principles ---------- */

.principles { padding-bottom: clamp(120px, 14vw, 200px); }

.principle-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.principle-grid li {
  padding: 32px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  transition: transform 500ms var(--ease), border-color 500ms var(--ease);
}

.principle-grid li:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.p-ico {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--surface-3);
}

.principle-grid li:nth-child(4n + 2) .p-ico { background: var(--amber); }
.principle-grid li:nth-child(4n + 2) .p-ico svg { stroke: var(--ink); }

.p-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle-grid h3 { font-size: 18px; line-height: 28px; letter-spacing: -0.01em; }

.principle-grid p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- Process: a timeline ---------- */

.process {
  padding: clamp(120px, 14vw, 200px) 0;
  border-top: 1px solid var(--line);
}

.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 5px;
  height: 1px;
  background: var(--line-strong);
}

.timeline li { display: grid; align-content: start; text-align: center; }
.timeline li > p:last-child { max-width: 30ch; justify-self: center; }

.tl-dot {
  justify-self: center;
  width: 12px;
  height: 12px;
  margin-bottom: 40px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 6px var(--bg);
}

.timeline li:last-child .tl-dot { background: var(--amber); }

.timeline li > :not(.tl-dot) { padding-inline: 24px; }

.tl-when { font-size: 12px; font-weight: 600; color: var(--amber-text); }

.timeline h3 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.timeline li > p:last-child { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq {
  padding: clamp(120px, 14vw, 200px) 0;
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.faq-head .lead { margin-top: 20px; }

.faq-list { border-top: 1px solid var(--line-strong); }

.faq-list details { border-bottom: 1px solid var(--line-strong); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat;
  transition: transform 500ms var(--ease);
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  padding: 0 48px 28px 0;
  max-width: 60ch;
  color: var(--muted);
}

/* ---------- Closing ---------- */

.cta {
  padding: clamp(120px, 14vw, 200px) 0 clamp(140px, 16vw, 220px);
  text-align: center;
  overflow: hidden;
}

.orb {
  position: relative;
  width: clamp(200px, 24vw, 300px);
  aspect-ratio: 1;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.orb-fallback {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fde7b0 0%, #f59e0b 38%, #b45309 92%);
}


.is-cinematic .orb-fallback, .is-cinematic .orb-glow { display: none; }

.orb-glow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.45), rgba(245, 158, 11, 0) 70%);
  filter: blur(10px);
  z-index: -1;
}

.cta-title { max-width: 13ch; margin-inline: auto; }

.cta .lead { max-width: 40ch; margin: 24px auto 0; }

.cta-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

/* ---------- Footer ---------- */

.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand p { margin-top: 12px; max-width: 28ch; }

.footer h3 {
  margin-bottom: 16px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }

.footer ul a {
  text-decoration: none;
  transition: color 300ms var(--ease);
}

.footer ul a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- 404 ---------- */

.nf {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 96px 0;
}

.nf h1 {
  margin: 32px 0 20px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.nf .lead { max-width: 40ch; }
.nf .hero-ctas { margin-top: 36px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .logo-name { display: none; }

  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .is-cinematic .svc-grid { grid-template-columns: 1fr; gap: 0; }
  .is-cinematic .svc-pin { align-items: stretch; }
  .is-cinematic .svc-grid { padding: 72px 0 32px; }
  .is-cinematic .svc-stage { grid-row: 1; height: 44svh; min-height: 260px; }
  .is-cinematic .svc-copy { grid-row: 2; }
  .is-cinematic .svc-copy .statement-kicker { margin-bottom: 12px; }
  .is-cinematic .svc:not(.is-active) { display: none; }
  .is-cinematic .svc-list { border-top: 0; }
  .is-cinematic .svc { border-bottom: 0; }
  .is-cinematic .svc-btn { padding: 0 0 8px; }
  .svc-count { top: 0; bottom: auto; }

  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-inner { grid-template-columns: 1fr auto; }

  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 5px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .timeline li { grid-template-columns: 12px minmax(0, 1fr); column-gap: 24px; padding-bottom: 40px; text-align: left; }
  .timeline li > p:last-child { justify-self: start; }
  .tl-dot { grid-row: 1 / span 3; justify-self: start; margin: 4px 0 0; }
  .timeline li > :not(.tl-dot) { grid-column: 2; padding-inline: 0; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --r-tile: 24px; }

  .nav-cta { display: none; }

  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .hero-proof { flex-direction: column; align-items: center; }

    
  .principle-grid { grid-template-columns: 1fr; gap: 8px; }
  .principle-grid li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px; text-align: left; }
  .p-ico { grid-row: 1 / span 2; margin-bottom: 0; }
  .principle-grid p { margin-top: 4px; }

  .faq-list details p { padding-right: 0; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load, .scroll-cue span { animation: none; }
  .btn, .menu-btn .bar, .faq-list summary::after, .service, .principle-grid li, .project { transition: none; }
}
