/* ==========================================================================
   TAZ Technologies Group — Corporate site ("Ink" dark theme)
   Visual system derived from TAZTechnologies_Brand_Identity_TMark.pdf
   --------------------------------------------------------------------------
   1. Tokens          6. Hero              11. Vision
   2. Base            7. About             12. Contact
   3. Layout          8. What We Build     13. Footer
   4. Components      9. Ecosystem         14. Motion
   5. Header / Nav   10. Process           15. Responsive
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  /* Core brand colors (brand kit, "Core Brand Colors") */
  --brand-teal: #00B894;          /* Primary Teal */
  --brand-blue: #2563EB;          /* Primary Blue */
  --brand-navy: #0F2D4A;          /* Dark Navy */
  --brand-teal-light: #14D8BB;    /* Teal Light */
  --brand-blue-light: #60A5FA;    /* Blue Light */
  --brand-gray: #E5E7EB;          /* Light Gray */
  --brand-very-light: #F8FAFC;    /* Very Light */

  /* Supporting values sampled from the kit's own artwork */
  --brand-navy-mid: #0B4A7C;      /* mid stop of the kit's dark header gradient */
  --brand-teal-deep: #0A8F80;     /* end stop of the kit's dark header gradient */
  --brand-subtle-on-dark: #D6E6F5;/* tagline colour on dark backgrounds */

  /* "Ink" dark theme — deep navy-black built from Dark Navy */
  --ink-900: #060D17;             /* page background */
  --ink-800: #0A1626;             /* alternate section background */
  --ink-700: #0C1828;             /* card surface */
  --ink-600: #112338;             /* raised surface */

  /* Semantic roles */
  --brand-primary: var(--brand-blue);
  --brand-secondary: var(--brand-teal);
  --brand-accent: var(--brand-teal-light);
  --brand-background: var(--ink-900);
  --brand-surface: var(--ink-700);
  --brand-surface-raised: var(--ink-600);
  --brand-text: #EEF4FB;
  --brand-muted: #9CB0C5;         /* ≥ 7:1 on --ink-900 */
  --brand-border: rgba(148, 190, 230, 0.12);
  --brand-border-strong: rgba(148, 190, 230, 0.22);

  /* Gradients (from the kit's "Gradient Palette", wordmark and header art) */
  --gradient-brand: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-teal) 100%);
  --gradient-wordmark-dark: linear-gradient(90deg, #4CB8FF 0%, #14E0C0 100%);
  --gradient-dark: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-mid) 60%, var(--brand-teal-deep) 100%);
  --gradient-hero: radial-gradient(120% 90% at 85% 10%, #0B3A63 0%, #081627 55%, var(--ink-900) 100%);
  --gradient-vision: radial-gradient(90% 80% at 50% 110%, var(--brand-teal-deep) 0%, #0B3A63 42%, var(--ink-900) 88%);

  /* Typography — Inter (brand kit). Hierarchy 48/56 · 36/44 · 28/36 · 20/28 · 18/26 · 16/24 · 14/20 · 12/16 */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.6rem + 1vw, 2.25rem);       /* 36/44 */
  --fs-h3: 1.25rem;                                      /* 20/28 */
  --fs-body-lg: 1.125rem;                                /* 18/26 */
  --fs-body: 1rem;                                       /* 16/24 */
  --fs-small: 0.875rem;                                  /* 14/20 */
  --fs-caption: 0.75rem;                                 /* 12/16 */

  /* Space, shape, depth */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius-sm: 6px;
  --radius: 8px;                  /* kit swatches / buttons */
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --glow-teal: 0 0 0 1px rgba(20, 216, 187, 0.25), 0 20px 50px -20px rgba(20, 216, 187, 0.45);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 4px);
  color-scheme: dark;
  background: var(--brand-background);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--brand-text);
  background: var(--brand-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(20, 216, 187, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-teal-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  background: var(--brand-teal-light);
  color: var(--brand-navy);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.text-gradient {
  background: var(--gradient-wordmark-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 3. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--ink-800); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.section-lead {
  margin-top: 1rem;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--brand-muted);
  text-wrap: pretty;
}

.body-lg { font-size: var(--fs-body-lg); line-height: 1.6; }

/* Eyebrow = the kit's section label: small caps, tracked, with a short underline bar */
.eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  font-size: var(--fs-caption);
  line-height: 1.33;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal-light);
  background: linear-gradient(var(--brand-teal-light), var(--brand-teal-light)) left bottom / 30px 2px no-repeat;
}

/* 4. Components
   ========================================================================== */
.btn {
  --btn-bg: var(--brand-blue);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease),
              transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary:hover { --btn-bg: #3B74F0; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.8); }

/* Teal CTA with navy text (white on teal fails WCAG contrast) */
.btn--accent { --btn-bg: var(--brand-teal-light); --btn-fg: var(--brand-navy); }
.btn--accent:hover { --btn-bg: #3BE3CA; box-shadow: 0 10px 28px -10px rgba(20, 216, 187, 0.8); }

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-border: rgba(255, 255, 255, 0.6); }

.btn--lg { min-height: 52px; padding: 0.875rem 1.625rem; font-size: 1rem; }

.btn__icon {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__icon { transform: translateY(2px); }

/* Line icons — kit iconography: blue outline with teal accents (light tints for dark UI) */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand-blue-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .icon__accent { stroke: var(--brand-teal-light); }

/* 5. Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 13, 23, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--brand-border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo clear space = height of the T's top bar (≈21% of logo height), kept via padding */
.nav__brand {
  display: block;
  flex-shrink: 0;
  padding-block: 8px;
  border-radius: var(--radius-sm);
}
.nav__logo { width: auto; height: 40px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__links a {
  position: relative;
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brand-muted);
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-teal-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: #fff; }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav__toggle-bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav__toggle-bar:nth-child(1) { top: 15px; }
.nav__toggle-bar:nth-child(2) { top: 21px; }
.nav__toggle-bar:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* 6. Hero — logo assembly + living network
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100vh, 920px);
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--gradient-hero);
  color: #fff;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* The kit's signature sweeping curves */
.hero__waves,
.vision__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave--teal { fill: var(--brand-teal-light); opacity: 0.12; }
.wave--blue { fill: var(--brand-blue-light); opacity: 0.09; }
.wave--white { fill: #fff; opacity: 0.04; }

.hero__glow {
  position: absolute;
  top: 5%;
  right: -12%;
  width: 60vw;
  max-width: 820px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(37, 99, 235, 0) 65%);
  animation: glow-drift 18s ease-in-out infinite alternate;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__tagline {
  margin-bottom: 1.5rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-subtle-on-dark);
}
.hero__tagline span { margin-inline: 0.5em; color: var(--brand-teal-light); }

.hero__title {
  font-size: var(--fs-display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* One-time light sweep across "Online Business." after the logo assembles */
.js .hero__shine {
  background-image: linear-gradient(90deg, #4CB8FF 0%, #14E0C0 40%, #fff 50%, #14E0C0 60%, #4CB8FF 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
}
.hero.is-live .hero__shine { animation: shine 1.6s var(--ease) 1.8s forwards; }

.hero__lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.hero__visual { position: relative; }

.network {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.network__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.network__orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.network__orbit--inner { stroke-dasharray: 2 6; stroke: rgba(96, 165, 250, 0.25); }

.network__link {
  stroke: rgba(96, 165, 250, 0.3);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.7s var(--ease), stroke 0.3s var(--ease);
}
.network__link.is-drawn { stroke-dashoffset: 0; }
.network__link.is-hot { stroke: var(--brand-teal-light); stroke-width: 2; }

.network__pulse { fill: var(--brand-teal-light); }
.network__pulse-glow { fill: var(--brand-teal-light); opacity: 0.25; }

.network__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.625rem;
  width: clamp(112px, 29%, 152px);
  aspect-ratio: 1 / 1.08;
  padding: 0.75rem;
  transform: translate(-50%, -50%);
}
.network__hub-card {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05), 0 0 0 22px rgba(255, 255, 255, 0.025),
              0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.network__hub::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -2;
  border-radius: 28px;
  border: 1px solid rgba(20, 216, 187, 0.5);
  opacity: 0;
}
.network.is-live .network__hub::after { animation: hub-pulse 3.4s var(--ease) 1.6s infinite; }

.network__mark { width: 44%; height: auto; overflow: visible; }

.network__hub-label {
  font-size: 0.625rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  color: var(--brand-navy);
}

/* Assembly: card pops, the three pieces of the T-leaf fly in and lock together */
.js .network__hub-card,
.js .network__hub-label,
.js .mark-piece { opacity: 0; }
.network.is-live .network__hub-card { animation: hub-in 0.8s var(--ease) both; }
.network.is-live .mark-piece--bar { animation: piece-bar 0.9s var(--ease) 0.25s both; }
.network.is-live .mark-piece--stem { animation: piece-stem 0.9s var(--ease) 0.45s both; }
.network.is-live .mark-piece--leaf { animation: piece-leaf 0.9s var(--ease) 0.65s both; }
.network.is-live .network__hub-label { animation: fade-in 0.6s var(--ease) 1s both; }

.network__node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem 0.5rem 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 30, 52, 0.95);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--brand-subtle-on-dark);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.network__node.is-shown { opacity: 1; transform: translate(-50%, -50%); }
.network__node:hover,
.network__node.is-ping {
  border-color: var(--brand-teal-light);
  box-shadow: 0 0 0 4px rgba(20, 216, 187, 0.15), 0 10px 30px -10px rgba(20, 216, 187, 0.6);
}

.network__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-teal-light);
  box-shadow: 0 0 0 3px rgba(20, 216, 187, 0.2);
  flex-shrink: 0;
}
.network__node--new { border-style: dashed; border-color: rgba(20, 216, 187, 0.6); color: #fff; }
.network__node--new .network__dot { background: transparent; border: 2px solid var(--brand-teal-light); box-shadow: none; }

/* 7. About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
}

.about__content .section-title { margin-bottom: 1.5rem; }
.about__content p:not(.eyebrow) { color: var(--brand-muted); line-height: 1.7; text-wrap: pretty; }
.about__content .body-lg { color: var(--brand-text); margin-bottom: 1.25rem; }

.stack {
  position: relative;
  isolation: isolate;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--ink-700);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* Kit pattern: tiled T-leaf marks */
.stack::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/patterns/t-pattern-dark.svg") 0 0 / 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

.stack__brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.625rem, 2vw, 1rem);
}

.stack__brand {
  display: grid;
  gap: 0.5rem;
  padding: clamp(0.75rem, 2vw, 1.125rem);
  border: 1px solid var(--brand-border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--ink-600);
  box-shadow: var(--shadow);
  animation: brand-bob 7s ease-in-out infinite;
}
.stack__brand:nth-child(2) { animation-delay: -2.3s; }
.stack__brand:nth-child(3) { animation-delay: -4.6s; }

.stack__brand-mark {
  width: 28px;
  height: 28px;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  opacity: 0.9;
}
.stack__brand-line { height: 6px; border-radius: 3px; background: rgba(148, 190, 230, 0.16); }
.stack__brand-line--short { width: 60%; }

.stack__links {
  width: 100%;
  height: clamp(36px, 7vw, 56px);
  overflow: visible;
}
.stack__links path {
  fill: none;
  stroke: var(--brand-blue-light);
  stroke-width: 1.5;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
  animation: dash-drift 1.6s linear infinite;
}

.stack__base {
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius);
  background: var(--gradient-dark);
  color: #fff;
}
.stack__base-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.stack__base-head img { width: 20px; }

.stack__pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.stack__pillars li {
  padding: 0.5rem 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--brand-subtle-on-dark);
}

/* 8. What We Build — spotlight cards
   ========================================================================== */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.focus {
  --mx: -999px;
  --my: -999px;
  position: relative;
  isolation: isolate;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--ink-700);
}
/* Border lit by a cursor-following spotlight (masked 1px ring) */
.focus::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(20, 216, 187, 0.9), rgba(37, 99, 235, 0.45) 35%, transparent 60%),
    var(--brand-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Soft interior glow */
.focus::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(37, 99, 235, 0.14), transparent 55%);
  pointer-events: none;
}

.focus__num {
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.25rem);
  right: clamp(1.75rem, 3vw, 2.25rem);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-muted);
  font-variant-numeric: tabular-nums;
}

.focus__icon {
  box-sizing: content-box;
  padding: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.08);
  transition: transform 0.35s var(--ease);
}
.focus:hover .focus__icon { transform: translateY(-2px); }

.focus__title {
  font-size: var(--fs-h3);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.focus__text {
  margin-top: 0.625rem;
  color: var(--brand-muted);
  line-height: 1.6;
}

/* 9. Ecosystem
   ========================================================================== */
.ecosystem__hub {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 2.5rem;
}
.ecosystem__hub::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(var(--brand-blue-light), var(--brand-teal));
}
.ecosystem__hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem 0.625rem 0.875rem;
  border: 1px solid var(--brand-border-strong);
  border-radius: 999px;
  background: var(--ink-600);
  box-shadow: var(--shadow);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.ecosystem__hub-badge img { width: 18px; }

.brand-grid {
  --cols: 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 2rem;
}
/* Connector rail from the group hub to each brand (single-row layouts only) */
.brand-grid.has-rail::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% / var(--cols));
  right: calc(50% / var(--cols));
  height: 1px;
  background: linear-gradient(90deg, var(--brand-blue-light), var(--brand-teal), var(--brand-blue-light));
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  background: var(--ink-700);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.has-rail .brand-card::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 2rem;
  background: var(--brand-teal);
}
.has-rail .brand-card::after {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(50% - 4.5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 2px solid var(--brand-teal-light);
}
.brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 216, 187, 0.45);
  box-shadow: var(--glow-teal);
}

.brand-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.brand-card__monogram {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient-dark);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
.brand-card__monogram img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.brand-card:nth-child(4n+2) .brand-card__monogram { background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy-mid)); }
.brand-card:nth-child(4n+3) .brand-card__monogram { background: linear-gradient(135deg, var(--brand-teal-deep), var(--brand-navy)); }
.brand-card:nth-child(4n+4) .brand-card__monogram { background: linear-gradient(135deg, var(--brand-navy-mid), var(--brand-teal)); }

.brand-card__status {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--brand-border);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--brand-muted);
}

.brand-card__label {
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
}
.brand-card__name {
  margin-top: 0.375rem;
  font-size: var(--fs-h3);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand-card__desc {
  margin-top: 0.625rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--brand-muted);
}
.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brand-teal-light);
}
.brand-card__link::after { content: "\2197"; transition: transform 0.25s var(--ease); }
.brand-card__link:hover::after { transform: translate(2px, -2px); }

/* Next-venture band beneath the portfolio */
.venture-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(20, 216, 187, 0.2);
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  color: #fff;
}
.venture-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/patterns/t-pattern-dark.svg") 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.venture-band__label {
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal-light);
}
.venture-band__title {
  margin-top: 0.375rem;
  font-size: var(--fs-h3);
  line-height: 1.4;
  font-weight: 600;
}

.ecosystem__noscript { text-align: center; color: var(--brand-muted); }
.ecosystem__noscript a { color: var(--brand-teal-light); font-weight: 600; }

/* 10. Process — scroll-driven progress
   ========================================================================== */
.steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
/* Track + scroll-linked progress line through the markers */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 32px;
  right: 0;
  height: 2px;
  border-radius: 2px;
}
.steps::before { background: var(--brand-border-strong); }
.steps::after {
  background: var(--gradient-brand);
  transform: scaleX(var(--p));
  transform-origin: left;
}

.step { position: relative; }

.step__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--brand-border-strong);
  border-radius: 50%;
  background: var(--brand-background);
  box-shadow: 0 0 0 8px var(--brand-background);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step__marker .icon { width: 26px; height: 26px; stroke: var(--brand-muted); transition: stroke 0.4s var(--ease); }
.step__marker .icon .icon__accent { stroke: var(--brand-muted); transition: stroke 0.4s var(--ease); }

.step__num {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-muted);
  font-variant-numeric: tabular-nums;
}
.step__title {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  line-height: 1.33;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}
.step__text {
  margin-top: 0.625rem;
  color: var(--brand-muted);
  line-height: 1.6;
}

/* Inactive steps are dimmed only when JS drives the progress */
.js .step__title,
.js .step__text { opacity: 0.4; transition: opacity 0.4s var(--ease); }
.js .step.is-on .step__title,
.js .step.is-on .step__text { opacity: 1; }

.step.is-on .step__marker {
  border: 2px solid transparent;
  background: linear-gradient(var(--brand-background), var(--brand-background)) padding-box, var(--gradient-brand) border-box;
  box-shadow: 0 0 0 8px var(--brand-background), 0 0 32px -4px rgba(20, 216, 187, 0.55);
}
.step.is-on .step__marker .icon { stroke: var(--brand-blue-light); }
.step.is-on .step__marker .icon .icon__accent { stroke: var(--brand-teal-light); }
.step.is-on .step__num {
  background: var(--gradient-wordmark-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Icon micro-actions once a step is reached */
.ico-bar, .ico-knob, .ico-search, .ico-block { transform-box: fill-box; }
.ico-knob { fill: var(--brand-background); }
.ico-bar { transform-origin: bottom; }
.step.is-on .ico-search { animation: ico-search 2.4s ease-in-out infinite; }
.step.is-on .ico-block { animation: ico-block 0.7s var(--ease) both; }
.step.is-on .ico-knob--a { animation: ico-knob-a 2.6s ease-in-out infinite; }
.step.is-on .ico-knob--b { animation: ico-knob-b 2.6s ease-in-out infinite; }
.step.is-on .ico-bar { animation: ico-bar 0.9s var(--ease) both; }
.step.is-on .ico-bar:nth-child(2) { animation-delay: 0.1s; }
.step.is-on .ico-bar:nth-child(3) { animation-delay: 0.2s; }
.step.is-on .ico-bar:nth-child(4) { animation-delay: 0.3s; }

/* 11. Vision — pinned word-by-word reveal with breathing waves
   ========================================================================== */
.vision {
  position: relative;
  background: var(--gradient-vision);
  color: #fff;
  text-align: center;
}
.js .vision { height: 220vh; }

.vision__sticky {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 2rem) 4rem;
}
.js .vision__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }

.vision__backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vision__pattern {
  position: absolute;
  inset: 0;
  background: url("../assets/patterns/t-pattern-dark.svg") 0 0 / 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 42%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 42%, #000 0%, transparent 75%);
  animation: pattern-pan 60s linear infinite;
}

.vision__inner { max-width: 1000px; }

.vision__title {
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.75rem);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.vision__lead {
  max-width: 46rem;
  margin: 1.75rem auto 0;
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.5rem);
  line-height: 1.55;
  color: #fff;
  text-wrap: pretty;
}
.vision__statement {
  max-width: 40rem;
  margin: 2.25rem auto 0;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: var(--brand-subtle-on-dark);
  text-wrap: pretty;
}
.vision__statement strong { font-weight: 600; color: var(--brand-teal-light); }

/* Word spans are created by js/main.js */
.word { transition: opacity 0.35s ease; }
.vision.is-scrubbing .word { opacity: 0.14; }
.vision.is-scrubbing .word.is-lit { opacity: 1; }

/* 12. Contact
   ========================================================================== */
.contact__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid var(--brand-border);
  border-radius: 24px;
  background: var(--ink-700);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.contact__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gradient-brand);
}
.contact__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(37, 99, 235, 0.16), transparent 70%),
    url("../assets/patterns/t-pattern-dark.svg") 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 75%);
}
.contact__mark { width: 48px; margin: 0 auto 1.75rem; }
.contact__card .section-lead { max-width: 34rem; margin-inline: auto; }

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 100%;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--brand-border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-size: clamp(1rem, 0.7rem + 1.8vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.contact__email span {
  min-width: 0;
  background: linear-gradient(var(--brand-teal-light), var(--brand-teal-light)) left 100% / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease);
}
.contact__email:hover {
  border-color: rgba(20, 216, 187, 0.5);
  background: rgba(20, 216, 187, 0.06);
  box-shadow: var(--glow-teal);
  transform: translateY(-2px);
}
.contact__email:hover span { background-size: 100% 2px; }
.contact__email-icon { flex-shrink: 0; width: 28px; height: 28px; }

/* 13. Footer
   ========================================================================== */
.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--brand-border);
  background: var(--ink-900);
  color: var(--brand-muted);
  font-size: var(--fs-small);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto;
  align-items: start;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__logo { width: auto; height: 44px; }
.footer__name {
  margin-top: 1.5rem;
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}
.footer__desc { max-width: 22rem; margin-top: 0.5rem; line-height: 1.6; }

.footer__nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__nav a,
.footer__contact a {
  display: inline-block;
  padding-block: 0.25rem;
  color: var(--brand-subtle-on-dark);
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--brand-teal-light); }
.footer__contact a { font-weight: 600; color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--brand-border);
  font-size: var(--fs-caption);
}
.footer__tagline { letter-spacing: 0.24em; text-transform: uppercase; }

/* 14. Motion
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes shine { to { background-position: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hub-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes piece-bar { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: none; } }
@keyframes piece-stem { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
@keyframes piece-leaf { from { opacity: 0; transform: translate(70px, -70px); } to { opacity: 1; transform: none; } }
@keyframes hub-pulse {
  0% { opacity: 0.9; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(1.25); }
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6%, 8%) scale(1.1); }
}
@keyframes brand-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes dash-drift { to { stroke-dashoffset: -16; } }
@keyframes pattern-pan { to { background-position: 80px 80px; } }
@keyframes ico-search {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(0, -2px); }
  75% { transform: translate(-2px, -1px); }
}
@keyframes ico-block { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ico-knob-a { 50% { transform: translateX(-6px); } }
@keyframes ico-knob-b { 50% { transform: translateX(6px); } }
@keyframes ico-bar { from { transform: scaleY(0.1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .network__hub-card,
  .js .network__hub-label,
  .js .mark-piece { opacity: 1; }
  .js .vision { height: auto; }
  .js .vision__sticky { position: relative; height: auto; }
}

/* 15. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__menu { gap: 1.25rem; }
  .nav__links a { padding-inline: 0.625rem; }
  .nav__links a::after { left: 0.625rem; right: 0.625rem; }
}

@media (max-width: 1024px) {
  .brand-grid { --cols: 2; }
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--ink-800);
    border-bottom: 1px solid var(--brand-border);
    box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }

  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li + li { border-top: 1px solid var(--brand-border); }
  .nav__links a {
    padding: 1rem 0.25rem;
    font-size: 1.0625rem;
    color: var(--brand-text);
  }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { color: var(--brand-teal-light); }
  .nav__cta { width: 100%; min-height: 52px; }

  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__content { max-width: 40rem; }
  .network { max-width: 460px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before,
  .steps::after { display: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .network__node { font-size: 0.6875rem; padding: 0.375rem 0.625rem 0.375rem 0.5rem; gap: 0.375rem; }
  .network__long { display: none; }
  .network__dot { width: 8px; height: 8px; }
  .network__hub { width: 92px; padding: 0.5rem; }
  .network__hub-card { border-radius: 16px; }
  .network__hub-label { display: none; }
  .network__mark { width: 52%; }

  .focus-grid { grid-template-columns: 1fr; }
  .brand-grid { --cols: 1; }

  /* Vertical timeline with scroll-linked progress */
  .steps { grid-template-columns: 1fr; row-gap: 2.25rem; }
  .steps::before,
  .steps::after {
    display: block;
    top: 32px;
    bottom: 32px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .steps::after { transform: scaleY(var(--p)); transform-origin: top; }
  .step { padding-left: 88px; min-height: 64px; }
  .step__marker { position: absolute; top: 0; left: 0; margin: 0; box-shadow: 0 0 0 6px var(--brand-background); }
  .step.is-on .step__marker { box-shadow: 0 0 0 6px var(--brand-background), 0 0 28px -4px rgba(20, 216, 187, 0.55); }

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

  .vision__statement { margin-top: 1.75rem; padding-top: 1.75rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__nav ul { gap: 0.25rem 1.5rem; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .contact__email { padding: 0.875rem 1rem; font-size: 1rem; }
  .contact__email-icon { display: none; }
}

@media (max-width: 380px) {
  .network__node { font-size: 0.625rem; }
}

/* Short screens: don't pin the Vision section */
@media (max-height: 560px) {
  .js .vision { height: auto; }
  .js .vision__sticky { position: relative; height: auto; }
}
