/* ==========================================================================
   Velora — design tokens
   Rename note: brand name is NOT in this file. See site.js BRAND_NAME.
   ========================================================================== */

:root {
  /* --- color tokens --- */
  --canvas: #ffffff;       /* page base — crisp white */
  --canvas-raised: #fbfbfd;/* card / raised surface, barely lifted off white */
  --ink: #0b0d12;          /* primary text — near-black */
  --slate: #565d68;        /* secondary text */
  --thread-blue: #0f64ec;  /* primary accent — taken from the logo mark */
  --thread-blue-deep: #0b4fbb;
  /* The vivid coral that used to sit here is gone: blue now carries every
     functional accent. Warm tones survive only in the pastel set below, where
     they belong to the illustration system rather than the brand accent. */
  --line: #e4e7ed;         /* hairlines, dividers */
  --line-strong: #c7cbd3;

  /* accent cycle — used only on icon chips, kept out of body text/CTAs */
  --amber: #ffb100;
  --teal: #00b88d;

  /* --- soft-3D illustration palette --------------------------------------
     Every illustration and icon draws from these five hues only. Each hue has
     a soft face tone, a deeper tone for the extruded underside, and an ink
     tone dark enough to carry a line icon on top of the face. -------------- */
  --lav-soft: #e4deff;  --lav: #bdaef9;  --lav-ink: #3f2ba0;
  --sky-soft: #dfeeff;  --sky: #93c6f9;  --sky-ink: #14497f;
  --mint-soft: #daf6ec; --mint: #84d9ba; --mint-ink: #0c5a46;
  --blush-soft: #ffe3ed;--blush: #f9afc8;--blush-ink: #8d2450;
  --sun-soft: #fff1d8;  --sun: #f7cd74;  --sun-ink: #6f480b;

  /* alternating section surfaces */
  --tint-blue: #f3f5ff;
  --tint-warm: #fff7f3;

  /* --- type --- */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  /* Mono is kept for small labels (eyebrows, tags, orb captions) — it carries
     the technical character that one-font-everywhere would flatten. */
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  /* --- scale --- */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.7vw, 1.9rem);
  --step-3: clamp(2rem, 1.7rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.8rem, 2.2rem + 2.8vw, 4.6rem);

  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.25rem;
  --space-2xl: 4.75rem;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* soft, diffuse elevation — the "floating object" look, never a hard edge */
  --shadow-card: 0 2px 4px rgba(58, 58, 106, 0.04), 0 14px 30px -18px rgba(58, 58, 106, 0.22);
  --shadow-lift: 0 6px 14px -6px rgba(58, 58, 106, 0.18), 0 22px 44px -26px rgba(58, 58, 106, 0.3);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 0;
}

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

a { color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; }

/* Visible keyboard focus everywhere. The offset lifts the ring off the control
   onto the page behind it, so it stays legible even around a blue button. */
:focus-visible {
  outline: 2px solid var(--thread-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section--tight { padding-block: var(--space-xl); }
.section--tint { background: var(--tint-blue); }
.section--tint-warm { background: var(--tint-warm); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--tint-blue);
  color: var(--thread-blue-deep);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  padding: 0.35em 0.9em 0.35em 0.7em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--thread-blue);
  display: inline-block;
  flex: none;
}

.section--tint .eyebrow,
.section--tint-warm .eyebrow { background: var(--canvas); }

.section-head h2 {
  font-size: var(--step-3);
  margin-bottom: var(--space-sm);
}

.section-head .lede {
  color: var(--slate);
  font-size: var(--step-1);
  max-width: 52ch;
}

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

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -60px;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.7em 1.2em;
  z-index: 200;
  transition: top 0.15s ease;
  font-family: var(--font-mono);
  font-size: var(--step--1);
}
.skip-link:focus { top: var(--space-sm); }

/* ==========================================================================
   Seam — the section divider
   A two-tone stitched rule separating every major section. Originally a "loom"
   motif from the old working name; kept because it still reads as a clean
   divider, but it no longer carries a naming rationale — open to replacing.
   ========================================================================== */

.seam {
  height: 28px;
  width: 100%;
  overflow: hidden;
}

.seam svg { width: 100%; height: 100%; display: block; }

.seam .thread-blue-line {
  fill: none;
  stroke: var(--sky);
  stroke-width: 3;
  stroke-linecap: round;
}

.seam .thread-rust-line {
  fill: none;
  stroke: var(--blush);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 9;
}

.seam path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-seam 1.4s ease forwards;
}

@keyframes draw-seam {
  to { stroke-dashoffset: 0; }
}

.seam.is-visible path { animation-play-state: running; }
.seam:not(.is-visible) path { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .seam path { stroke-dashoffset: 0; animation: none; }
}

/* ==========================================================================
   Reveal-on-scroll (restrained: fade + 10px rise, once)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Illustration system — soft 3D
   One light source (top-left), one geometry language (rounded squircles),
   five pastel hues. Chips and spot illustrations share the same palette so
   they read as one drawn set rather than assorted icons.
   ========================================================================== */

.ill-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --- pastel chips: a soft extruded tile carrying a line icon --- */

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: linear-gradient(158deg, var(--chip-face) 0%, var(--chip-deep) 100%);
  color: var(--chip-ink);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 3px rgba(58, 58, 106, 0.08),
    0 4px 10px -4px rgba(58, 58, 106, 0.35);
}

.icon-chip svg { width: 22px; height: 22px; }
.icon-chip.is-sm { width: 38px; height: 38px; border-radius: 13px; }
.icon-chip.is-sm svg { width: 19px; height: 19px; }

.chip-lav   { --chip-face: var(--lav-soft);   --chip-deep: var(--lav);   --chip-ink: var(--lav-ink); }
.chip-sky   { --chip-face: var(--sky-soft);   --chip-deep: var(--sky);   --chip-ink: var(--sky-ink); }
.chip-mint  { --chip-face: var(--mint-soft);  --chip-deep: var(--mint);  --chip-ink: var(--mint-ink); }
.chip-blush { --chip-face: var(--blush-soft); --chip-deep: var(--blush); --chip-ink: var(--blush-ink); }
.chip-sun   { --chip-face: var(--sun-soft);   --chip-deep: var(--sun);   --chip-ink: var(--sun-ink); }

/* --- spot illustrations --- */

.illus {
  width: 92px;
  height: 92px;
  margin-bottom: var(--space-sm);
}

.illus-step {
  width: 68px;
  height: 68px;
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 34px; height: 34px; flex: none; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--slate);
  position: relative;
  padding-block: 0.3em;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--thread-blue);
}

.nav-cta.btn {
  display: none;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: var(--space-sm) 0 var(--space-md);
}
.mobile-panel.is-open { display: block; }

.mobile-panel a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.mobile-panel .btn { margin-top: var(--space-sm); width: 100%; text-align: center; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta.btn { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  padding: 0.9em 1.6em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--thread-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--thread-blue-deep); }

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 0;
}
.btn-ghost svg { width: 1.1em; height: 1.1em; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: var(--space-xl) var(--space-lg);
  background-image: radial-gradient(var(--line) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  background-position: -8px -8px;
}

.hero-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

/* At display size Manrope 700 reads heavy; 600 with tighter tracking keeps the
   impact but lands more premium. Section headings stay at 700. */
.hero h1 {
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: -0.032em;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--thread-blue);
  position: relative;
}

.hero .sub {
  margin-top: var(--space-md);
  font-size: var(--step-1);
  color: var(--slate);
  max-width: 46ch;
}

.hero-proof-strip {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--slate);
}

.hero-proof-strip li { display: flex; align-items: center; gap: 0.5em; }
.hero-proof-strip svg { width: 16px; height: 16px; color: var(--thread-blue); flex: none; }

/* --- Hero orb: the signature kinetic element ---------------------------------
   Work arrives from four corners, the orb receives and routes it. Everything
   loops on its own offset timing so the scene never visibly "restarts".
   All motion is gated behind prefers-reduced-motion; with motion off the
   composition still reads as a complete illustration. -------------------- */

.hero-orb {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.hero-orb svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-orb .orb-label {
  font-family: var(--font-mono);
  font-size: 13.5px; /* the SVG scales down on mobile — keeps these ~11px there */
  letter-spacing: 0.07em;
  text-transform: uppercase;
  fill: var(--slate);
}

/* SVG transforms need an explicit box + origin to scale about their centre */
.hero-orb .orb,
.hero-orb .tok,
.hero-orb .pulse,
.hero-orb .orbit-ring {
  transform-box: fill-box;
  transform-origin: center;
}

/* Both are motion-only: without offset-path applied the packets would
   otherwise pile up at the SVG origin, so they stay hidden by default and
   the keyframes fade them in. */
.hero-orb .pulse,
.hero-orb .packet { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-orb .orb { animation: orb-breathe 6s ease-in-out infinite; }
  .hero-orb .orbit-ring { animation: orbit-spin 70s linear infinite; }

  .hero-orb .pulse { animation: pulse-out 4.4s ease-out infinite; }
  .hero-orb .pulse-2 { animation-delay: 1.1s; }
  .hero-orb .pulse-3 { animation-delay: 2.2s; }
  .hero-orb .pulse-4 { animation-delay: 3.3s; }

  .hero-orb .tok { animation: tok-float 5.2s ease-in-out infinite; }
  .hero-orb .tok-2 { animation-duration: 6.1s; animation-delay: -1.4s; }
  .hero-orb .tok-3 { animation-duration: 5.6s; animation-delay: -2.8s; }
  .hero-orb .tok-4 { animation-duration: 6.6s; animation-delay: -0.7s; }

  .hero-orb .packet {
    offset-rotate: 0deg;
    opacity: 0;
    animation: packet-run 4.4s cubic-bezier(.45, 0, .55, 1) infinite;
  }
  .hero-orb .packet-1 { offset-path: path("M88 132 Q130 168 152 182"); }
  .hero-orb .packet-2 { offset-path: path("M306 100 Q268 140 250 172"); animation-delay: 1.1s; }
  .hero-orb .packet-3 { offset-path: path("M318 262 Q272 244 250 226"); animation-delay: 2.2s; }
  .hero-orb .packet-4 { offset-path: path("M94 286 Q140 254 154 224"); animation-delay: 3.3s; }
}

@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-out {
  0% { transform: scale(1); opacity: 0.45; }
  70% { opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

@keyframes tok-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes packet-run {
  0% { offset-distance: 0%; opacity: 0; }
  14% { opacity: 1; }
  80% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ==========================================================================
   Problem section
   ========================================================================== */

.problem-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.problem-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.problem-item .tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--thread-blue-deep);
  padding-top: 0.2em;
}

.problem-item h3 {
  font-size: var(--step-1);
  margin-bottom: 0.3em;
}

.problem-item p { color: var(--slate); max-width: 60ch; }

/* ==========================================================================
   Cards — flat color chips, soft elevation, no wall-of-shadow sameness
   ========================================================================== */

.card {
  background: var(--canvas-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-md);
  position: relative;
}

.service-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card h3 {
  font-size: var(--step-1);
  margin: var(--space-sm) 0 0.5em;
}

.service-card p { color: var(--slate); }

.service-card .angle {
  display: block;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  font-style: normal;
  font-size: var(--step--1);
  color: var(--ink);
  font-family: var(--font-mono);
}

.service-card ul {
  margin-top: var(--space-sm);
  display: grid;
  gap: 0.5em;
}

.service-card ul li {
  font-size: var(--step--1);
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
}

.service-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--thread-blue);
  margin-top: 0.5em;
  flex: none;
}

.service-card ul li .li-body {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.service-card ul li strong { color: var(--ink); }
.service-card ul li .li-body span { color: var(--slate); }

.service-card.is-secondary {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

/* ==========================================================================
   Industry cards
   ========================================================================== */

.industry-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.industry-card {
  background: var(--canvas-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.industry-card .icon-chip { margin-bottom: var(--space-sm); }

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.industry-card p { color: var(--slate); font-size: var(--step--1); }

/* ==========================================================================
   How it works — genuine sequence, numbering earned
   ========================================================================== */

.steps {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 3px solid var(--thread-blue);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--thread-blue);
  display: block;
  margin-bottom: 0.6em;
}

.step h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.step p { color: var(--slate); }

/* ==========================================================================
   Founding-note callout (used under the services pricing disclaimer)
   ========================================================================== */

.founding-note {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--slate);
  font-size: var(--step--1);
  max-width: 70ch;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

.pillars {
  display: grid;
  gap: var(--space-md);
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: start;
}

.pillar h3 { font-size: 1.05rem; margin-bottom: 0.25em; }
.pillar p { color: var(--slate); font-size: var(--step--1); }

.team-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-card {
  background: var(--canvas-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-md);
}

.team-card .avatar {
  width: 54px; height: 54px;
  border-radius: 17px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step--1);
  background: linear-gradient(158deg, var(--chip-face) 0%, var(--chip-deep) 100%);
  color: var(--chip-ink);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 3px rgba(58, 58, 106, 0.08),
    0 4px 10px -4px rgba(58, 58, 106, 0.35);
}

.team-card h3 { font-size: 1.05rem; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--thread-blue-deep);
  margin: 0.2em 0 0.6em;
}
.team-card p { color: var(--slate); font-size: var(--step--1); }

.town-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.town-chip {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  background: var(--tint-blue);
  border-radius: var(--radius-pill);
  padding: 0.4em 0.9em;
  color: var(--thread-blue-deep);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section {
  background: var(--ink);
  color: var(--canvas);
}

.contact-section .eyebrow { background: #1c212b; color: #9fb0ff; }
.contact-section .section-head .lede { color: #b7bcc4; }

.contact-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  border: 1px solid #262b35;
  border-radius: var(--radius);
  padding: var(--space-md);
  background: #151920;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.9em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.contact-card a.big-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--canvas);
  text-decoration: none;
  /* the pastel sky blue, not the deep brand blue — on the dark contact panel
     the deep blue muddies out at 3.7:1 */
  border-bottom: 2px solid var(--sky);
}

.contact-card p { color: #b7bcc4; font-size: var(--step--1); }

.nap-block {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: #b7bcc4;
  line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #b7bcc4;
  padding-block: var(--space-lg);
  border-top: 1px solid #262b35;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-nav a {
  color: #b7bcc4;
  text-decoration: none;
  font-size: var(--step--1);
}
.footer-nav a:hover { color: var(--canvas); }

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid #262b35;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--step--1);
  font-family: var(--font-mono);
  color: #7d838d;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.06fr 0.94fr; }
}

@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-orb { max-width: 410px; }
}

@media (max-width: 480px) {
  .section { padding-block: var(--space-xl); }
  .cta-row .btn { width: 100%; justify-content: center; }
}
