/* ==========================================================================
   BXGI design system
   Tokens -> primitives -> layout -> components -> utilities
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0e1116;
  --ink-soft: #2a313b;
  --muted: #5c6672;
  --paper: #ffffff;
  --sand: #f7f5f1;
  --sand-deep: #efebe4;
  --line: #e3ded6;
  --brand: #0b5b63;
  --brand-700: #084a51;
  --brand-900: #06343a;
  --brand-tint: #e8f1f1;
  --accent: #d8892c;
  --accent-tint: #fdf3e6;
  --danger: #a32626;
  --success: #1c6b45;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", var(--font-sans);
  --step--1: clamp(0.83rem, 0.81rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.19rem, 1.13rem + 0.3vw, 1.35rem);
  --step-2: clamp(1.42rem, 1.31rem + 0.55vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.5rem + 1vw, 2.3rem);
  --step-4: clamp(2rem, 1.68rem + 1.6vw, 3rem);
  --step-5: clamp(2.35rem, 1.85rem + 2.5vw, 3.9rem);

  /* Space + shape */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.06), 0 1px 8px rgba(14, 17, 22, 0.04);
  --shadow-md: 0 12px 32px -18px rgba(14, 17, 22, 0.28);
  --ring: 0 0 0 3px rgba(11, 91, 99, 0.28);
  --maxw: 74rem;
  --maxw-prose: 42rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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


body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.021em;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  letter-spacing: -0.014em;
}
h4 {
  font-size: var(--step-0);
  letter-spacing: 0;
}

p,
ul,
ol,
dl,
figure,
table {
  margin: 0 0 1.15em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-900);
}

strong {
  font-weight: 650;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--brand-tint);
}

/* --------------------------------------------------------------- skip link */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.5rem;
  color: #fff;
}

/* ------------------------------------------------------------------ layout */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 56rem;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(2.4rem, 4.5vw, 3.75rem);
}

.section--sand {
  background: var(--sand);
}

.section--ink {
  background: var(--ink);
  color: #e9ecef;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section--ink a {
  color: #cfe3e4;
}

.section--line {
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(16.5rem, 100%), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--aside {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
  .split--sticky > :last-child {
    position: sticky;
    top: 6.5rem;
  }
}

.stack > * + * {
  margin-top: var(--stack-space, 1rem);
}

.flow-tight > * + * {
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  margin-right: auto;
}

.brand img {
  height: 1.35rem;
  width: auto;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 0.5rem 0.15rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 550;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav__link:hover {
  color: var(--brand-700);
}

.nav__link[aria-current="page"] {
  color: var(--brand-700);
  border-bottom-color: var(--brand);
}

.nav__cta {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 62rem) {
  .nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.btn:hover {
  background: var(--brand-700);
  color: #fff;
}

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

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

.btn--ghost:hover {
  background: var(--sand);
  border-color: var(--brand);
  color: var(--brand-900);
}

.btn--light {
  background: #fff;
  color: var(--brand-900);
}

.btn--light:hover {
  background: var(--brand-tint);
  color: var(--brand-900);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--lg {
  padding: 0.95rem 1.7rem;
  font-size: var(--step-0);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 6.5vw, 5.5rem);
  overflow: hidden;
}

.hero--ink {
  background: var(--brand-900);
  color: #e8eeee;
  border-bottom: 0;
}

.hero--ink h1,
.hero--ink h2 {
  color: #fff;
}

.hero__lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 38ch;
}

.hero--ink .hero__lede {
  color: #c3d3d4;
}

.hero__figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ------------------------------------------------------------------ eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.9rem;
}

.section--ink .eyebrow,
.hero--ink .eyebrow {
  color: var(--accent);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-head p {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.55;
  margin-bottom: 0;
}

.section--ink .section-head p {
  color: #b9c4c5;
}

/* ------------------------------------------------------------------- cards */
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  height: 100%;
}

.card--link {
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.card--link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: var(--step--1);
  color: var(--muted);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--brand-tint);
  color: var(--brand-700);
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.card--flat {
  border: 0;
  border-top: 3px solid var(--brand);
  border-radius: 0;
  padding: 1.25rem 0 0;
  background: transparent;
}

/* ------------------------------------------------------------------ numbers */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps > li {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.steps h3 {
  font-size: var(--step-0);
  margin-bottom: 0.35rem;
}

.steps p {
  color: var(--muted);
  font-size: var(--step--1);
  margin: 0;
}

.stat-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
}

.stat__label {
  color: var(--muted);
  font-size: var(--step--1);
}

.section--ink .stat__label {
  color: #a9b6b7;
}

/* -------------------------------------------------------------------- list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  background: var(--brand-tint);
  color: var(--brand-900);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--muted {
  background: var(--sand-deep);
  color: var(--muted);
}

.tag--accent {
  background: var(--accent-tint);
  color: #7a4a09;
}

/* ------------------------------------------------------------- client logos */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-strip img {
  width: 100%;
  max-width: 8.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  margin-inline: auto;
}

/* ------------------------------------------------------------- testimonials */
.quote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 0.9rem;
  font-size: var(--step-1);
  line-height: 1.5;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.012em;
}

.quote figcaption {
  font-size: var(--step--1);
  color: var(--muted);
}

.quote figcaption strong {
  color: var(--ink);
  display: block;
  font-weight: 650;
}

.section--ink .quote figcaption strong {
  color: #fff;
}

/* -------------------------------------------------------------- breadcrumbs */
.breadcrumbs {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
}

/* -------------------------------------------------------------------- prose */
.prose {
  max-width: var(--maxw-prose);
}

.prose > h2 {
  font-size: var(--step-2);
  margin-top: 2.25em;
}

.prose > h3 {
  font-size: var(--step-1);
  margin-top: 1.9em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose img {
  border-radius: var(--radius-lg);
  margin-block: 2rem;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.prose--wide {
  max-width: 48rem;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------- article bits */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.aside-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.aside-card h2,
.aside-card h3 {
  font-size: var(--step-0);
  margin-bottom: 0.5rem;
}

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

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--step--1);
}

.toc li {
  border-top: 1px solid var(--line);
  padding: 0.5rem 0;
}

.toc a {
  text-decoration: none;
  color: var(--ink-soft);
}

.toc a:hover {
  color: var(--brand-700);
  text-decoration: underline;
}

/* ------------------------------------------------------------------- forms */
.form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.field .hint:empty {
  font-size: 0;
  line-height: 0;
}

.req {
  color: var(--danger);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--step--1);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
  outline: none;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field__error {
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1rem;
}

.field__error:empty {
  min-height: 0;
}

.field-row {
  display: grid;
  gap: 1.1rem;
  align-items: start;
}

@media (min-width: 40rem) {
  .field-row--2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }

  /* Keep labels, controls and error text on shared baselines across the row. */
  .field-row--2 > .field {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--muted);
}

.consent input {
  margin-top: 0.3rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
  flex: none;
}

.form__status {
  border-radius: var(--radius);
  font-size: var(--step--1);
  padding: 0;
}

.form__status:not(:empty) {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--sand);
}

.form__status[data-state="ok"]:not(:empty) {
  border-color: #b6d6c5;
  background: #eef7f2;
  color: var(--success);
}

.form__status[data-state="error"]:not(:empty) {
  border-color: #e2b6b6;
  background: #fbf0f0;
  color: var(--danger);
}

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

/* ---------------------------------------------------------------- accordion */
.accordion {
  border-top: 1px solid var(--line);
}

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

.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--step-0);
  list-style: none;
}

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

.accordion summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.4rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.accordion details[open] summary::after {
  transform: rotate(-135deg);
}

.accordion__body {
  padding-bottom: 1.1rem;
  color: var(--ink-soft);
  max-width: var(--maxw-prose);
}

.accordion__body > :last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- job table */
.job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.job-list > li {
  border-bottom: 1px solid var(--line);
}

.job-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding: 1.15rem 0;
  text-decoration: none;
  color: inherit;
}

.job-row:hover .job-row__title {
  color: var(--brand-700);
  text-decoration: underline;
}

.job-row__title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--step-1);
  flex: 1 1 18rem;
}

.job-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: var(--step--1);
  color: var(--muted);
}

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: var(--step--1);
  color: #6b4207;
}

.notice > :last-child {
  margin-bottom: 0;
}

.notice--info {
  border-left-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand-900);
}

/* -------------------------------------------------------------------- table */
.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--sand);
  font-family: var(--font-display);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- cta band */
.cta-band {
  background: var(--brand-900);
  color: #dfe9e9;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #b6c6c7;
  max-width: 46ch;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--ink);
  color: #b7c0c9;
  font-size: var(--step--1);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
}

.site-footer a {
  color: #d5dde4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8e9aa5;
  margin-bottom: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}

.footer-grid > :first-child {
  grid-column: 1 / -1;
}

@media (min-width: 60rem) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
  .footer-grid > :first-child {
    grid-column: auto;
  }
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-brand img {
  height: 1.3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: #8e9aa5;
}

.footer-bottom__copy {
  justify-self: start;
}

.footer-bottom__legal {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom .footer-social {
  justify-self: center;
  margin: 0;
}

/* ------------------------------------------------------------------ utils */
.text-muted {
  color: var(--muted);
}
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.measure {
  max-width: var(--maxw-prose);
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   2026 refresh — modern, spacious, startup-grade theme layer
   Overrides the tokens and key components defined above.
   ========================================================================== */

:root {
  /* Palette — cool neutrals, electric indigo, mint signal */
  --ink: #0a0b12;
  --ink-soft: #363c4b;
  --muted: #6a7285;
  --paper: #ffffff;
  --sand: #f5f6fb;
  --sand-deep: #eaecf6;
  --line: #e7e9f3;
  --brand: #4f46e5;
  --brand-700: #4338ca;
  --brand-900: #0c1030;
  --brand-tint: #eef0ff;
  --accent: #10b981;
  --accent-tint: #e7fbf3;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);

  --step-3: clamp(1.85rem, 1.5rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.2vw, 3.4rem);
  --step-5: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);

  --section: clamp(4.25rem, 8vw, 8rem);
  --radius: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 16, 48, 0.05), 0 8px 24px -16px rgba(12, 16, 48, 0.18);
  --shadow-md: 0 24px 60px -32px rgba(12, 16, 48, 0.4);
  --shadow-lg: 0 40px 90px -40px rgba(12, 16, 48, 0.45);
  --ring: 0 0 0 4px rgba(79, 70, 229, 0.18);
  --maxw: 78rem;
}

h1,
h2 {
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
}

/* --------------------------------------------------------------- header */
.site-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231, 233, 243, 0.9);
}

.site-header__inner {
  min-height: 5rem;
}

.nav__link {
  border-bottom: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 500;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav__link:hover {
  background: var(--sand);
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  background: var(--brand-tint);
  color: var(--brand-700);
}

/* -------------------------------------------------------------- buttons */
.btn {
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(10, 11, 18, 0.7);
}

.btn:hover {
  background: var(--brand);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand-700);
  transform: translateY(-1px);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.6);
}

.btn--light:hover {
  background: var(--brand-tint);
  color: var(--brand-700);
}

.btn--lg {
  padding: 1.05rem 2rem;
}

/* ------------------------------------------------------------ hero (new) */
.hero {
  background: radial-gradient(120% 90% at 12% -10%, #eef0ff 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(90% 80% at 92% 0%, #e6fbf3 0%, rgba(255, 255, 255, 0) 60%), var(--paper);
  border-bottom: 0;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(2.5rem, 5vw, 4.5rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -14rem;
  height: 22rem;
  background: radial-gradient(50% 100% at 50% 100%, rgba(79, 70, 229, 0.16), transparent 70%);
  pointer-events: none;
}

.hero--center {
  text-align: center;
}

/* Keep the rotating first line + gradient line comfortable on small screens,
   while matching the normal display size on desktop. */
.hero h1 {
  font-size: clamp(1.6rem, 5.5vw, var(--step-5));
}

.hero--center .hero__lede {
  max-width: 52ch;
  margin-inline: auto;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-soft);
}

.hero--center .btn-row {
  justify-content: center;
}

.hero__figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero--ink {
  background: linear-gradient(150deg, #0c1030 0%, #171a4a 48%, #0c1030 100%);
}

.grad-text {
  background: linear-gradient(100deg, #4f46e5 0%, #7c6cf5 40%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------- badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.badge-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

/* -------------------------------------------------------------- sections */
.section--sand {
  background: linear-gradient(180deg, #ffffff 0%, var(--sand) 22%, var(--sand) 78%, #ffffff 100%);
}

.section--ink {
  background: linear-gradient(150deg, #0c1030 0%, #191d54 55%, #0c1030 100%);
  color: #d8dcf5;
}

.section--ink .section-head p,
.cta-band p {
  color: #a8afd8;
}

.eyebrow {
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--brand-700);
}

.section-head {
  max-width: 52rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* ----------------------------------------------------------------- cards */
.card {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  border-color: rgba(231, 233, 243, 0.9);
}

.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.4);
}

.card__icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-tint), var(--accent-tint));
  color: var(--brand-700);
}

.tag {
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  letter-spacing: 0.06em;
  background: var(--brand-tint);
  color: var(--brand-700);
}

.tag--accent {
  background: var(--accent-tint);
  color: #0f7a5a;
}

/* ------------------------------------------------------------- metrics */
.metric-row {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  text-align: center;
}

.metric__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 2rem + 3vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.metric__label {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: var(--step--1);
}

.stat__value {
  font-size: var(--step-4);
}

/* --------------------------------------------------------------- steps */
.steps > li {
  border-top: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 13rem;
  display: flex;
  flex-direction: column;
}

.steps > li::before {
  color: var(--brand);
  font-size: var(--step-3);
}

.steps h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.steps p {
  font-size: var(--step-0);
}

/* -------------------------------------------------------------- marquee */
.marquee {
  --marquee-gap: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--marquee-gap);
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee ul {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee img {
  height: 3.9rem;
  width: auto;
  max-width: 15rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.marquee img:hover {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - var(--marquee-gap) / 2));
  }
}



/* -------------------------------------------------------- quotes / bands */
.quote {
  border-left: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-band {
  background: linear-gradient(120deg, #0c1030 0%, #3b2fd6 55%, #0f9b74 130%);
  color: #e5e8ff;
}

/* --------------------------------------------------------------- inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--sand);
  border-color: transparent;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
}

.aside-card,
.notice {
  border-radius: var(--radius-lg);
}

.accordion summary::after {
  border-color: var(--brand);
}

.site-footer {
  background: #07080f;
}

/* Grid rhythm: keep card copy comfortably wide instead of collapsing to 4-up */
@media (min-width: 62rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------- footer contact */
.footer-contact {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  opacity: 0.7;
}

/* ------------------------------------------------------ footer social icons */
.footer-social {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.6rem;
}

.footer-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social li a:hover,
.footer-social li a:focus-visible {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

/* ------------------------------------------- ghost button contrast fix */
.btn--ghost {
  background: #fff;
  border: 1.5px solid var(--brand);
  color: var(--brand-700);
  box-shadow: 0 8px 20px -18px rgba(15, 23, 42, 0.7);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #fff;
  transform: translateY(-1px);
}

/* Larger client logos in the scrolling band */
.marquee img {
  height: clamp(4.5rem, 7vw, 6.25rem);
  max-width: 21rem;
  opacity: 0.8;
}


/* ------------------------------------------------------------- wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  display: inline-flex;
  align-items: flex-end;
}

.wordmark__dot {
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 0 0.1em 0.14em;
}


.brand:hover .wordmark {
  color: var(--brand-700);
}

.brand:hover .wordmark__dot {
  background: var(--brand);
}

.wordmark--light {
  color: #fff;
  font-size: 1.5rem;
}

.footer-brand .wordmark {
  margin-bottom: 0.5rem;
}

/* ------------------------------------------------------- word rotator */
/* The whole first line ("Add the … skills") rotates as one unit. The slot
   is the width of the widest line so there is no horizontal motion — only a
   smooth vertical slide — which keeps the transition clean and gap-free. */
.rotator {
  display: inline-block;
  height: 1.15em;
  line-height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  text-align: center;
}

/* Once JS drives the slide, drop the CSS keyframes to stay in sync. */
.rotator--js .rotator__track {
  animation: none;
}

.rotator__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rotator__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rotator-flip 15s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.rotator__track > span {
  display: block;
  height: 1.15em;
  line-height: 1.15em;
  color: inherit;            /* "Add the" + "skills" stay ink/black */
  white-space: nowrap;
}

.rotator__hl {
  color: var(--brand);       /* only the changing word is mint */
  font-style: normal;
}

@keyframes rotator-flip {
  0%,
  16% {
    transform: translateY(0);
  }
  20%,
  36% {
    transform: translateY(-1.15em);
  }
  40%,
  56% {
    transform: translateY(-2.3em);
  }
  60%,
  76% {
    transform: translateY(-3.45em);
  }
  80%,
  96% {
    transform: translateY(-4.6em);
  }
  100% {
    transform: translateY(-5.75em);
  }
}


/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
