/* style.css — reset, base, layout, components.
   Tokens live in tokens.css; fonts in fonts.css.
   Mobile-first. Breakpoints: 640px / 900px / 1200px. */

/* ============================================================
   RESET
   ============================================================ */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  /* The closed off-canvas nav sits just off the right edge (translateX(100%)).
     Without this it extends the scrollable area and the page can be swiped
     sideways on touch devices. `clip` rather than `hidden`: `hidden` would
     make this a scroll container and break the sticky header. */
  overflow-x: clip;
}

body {
  min-height: 100vh;
}

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

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* ============================================================
   BASE
   ============================================================ */

p a,
li a:not([class]) {
  color: var(--color-accent-strong);
  text-decoration: underline;
}

::selection {
  background: var(--emerald-100);
}

[data-theme="dark"] ::selection {
  background: var(--slate-700);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.section--banded {
  /* separator hairlines removed by request; sections sit on one continuous surface */
  border-top: none;
}

.section__header {
  margin-bottom: var(--space-7);
}

.section__subtitle {
  font-size: var(--font-body-lg);
  color: var(--color-text-secondary);
  max-width: 62ch;
}

/* ============================================================
   SKIP LINK
   ============================================================ */

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

.skip-link:focus-visible {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  width: auto;
  height: auto;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  overflow: visible;
  clip: auto;
  z-index: var(--z-toast);
  background: var(--color-surface);
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--focus-ring);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-base) var(--ease-out),
              border-bottom-color var(--dur-base) var(--ease-out);
}

/* Shrink-on-scroll: the bar condenses once the page has scrolled (see main.js). */
.header.is-scrolled {
  height: var(--header-h-compact);
}

.header__logo-mark,
.header__logo-text {
  transition: transform var(--dur-base) var(--ease-out);
  transform-origin: left center;
}

.header.is-scrolled .header__logo-mark {
  transform: scale(0.82);
}

.header.is-scrolled .header__logo-text {
  transform: scale(0.9);
}

@media (prefers-reduced-motion: reduce) {
  .header,
  .header__logo-mark,
  .header__logo-text {
    transition: none;
  }
}

/* Blur lives on a pseudo-element: backdrop-filter on .header itself would make
   it the containing block for the fixed off-canvas nav and break the panel. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header.is-scrolled {
  border-bottom-color: var(--color-line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 100%;
}

.header__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  line-height: 1.15;
}

.header__logo-mark {
  display: block;
  width: 35px;
  height: 34px;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__wordmark {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.header__wordmark-sub {
  white-space: nowrap;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

/* ============================================================
   NAV — off-canvas panel at base, inline from 900px
   ============================================================ */

/* Off-canvas only when JS is available; without JS the nav stays inline. */
html.js .nav {
  position: fixed;
  inset-block: 0;
  right: 0;
  width: min(320px, 85vw);
  background: var(--color-surface);
  border-left: 1px solid var(--color-line);
  padding: var(--space-7) var(--space-6);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-base) var(--ease-out), visibility 0s var(--dur-base);
  z-index: var(--z-overlay);
}

html.js .nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform var(--dur-base) var(--ease-out), visibility 0s 0s;
  box-shadow: var(--shadow-lg);
}

/* No-JS fallback below 1080px: plain inline links instead of a dead toggle. */
@media (max-width: 1079px) {
  html:not(.js) .nav {
    margin-left: auto;
  }
  html:not(.js) .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  html:not(.js) .nav__toggle {
    display: none;
  }
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav__link {
  white-space: nowrap;
  font-size: var(--font-ui);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  display: block;
  padding: var(--space-3) 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
  /* Below the header (and the panel inside it), above everything else. */
  z-index: calc(var(--z-header) - 1);
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

/* Below the full-nav breakpoint the theme toggle (first control after the
   off-canvas nav) takes the auto margin so both toggles sit together on the right. */
.theme-toggle {
  margin-left: auto;
}

@media (min-width: 1080px) {
  .theme-toggle {
    margin-left: var(--space-3);
  }
}

/* Theme toggle icons: light shows moon, dark shows sun */
.theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

/* Header CTA only when the full nav has room; "Contact" stays in the nav. */
@media (max-width: 1199px) {
  .header .btn--sm {
    display: none;
  }
}

.header .btn--sm {
  white-space: nowrap;
}

@media (min-width: 1080px) {
  .nav,
  html.js .nav {
    position: static;
    inset-block: auto;
    width: auto;
    margin-left: auto;
    background: transparent;
    border-left: 0;
    padding: 0;
    transform: none;
    visibility: visible;
    transition: none;
    z-index: auto;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
  }

  .nav__link {
    padding: 0;
  }

  .nav__toggle {
    display: none;
  }

  .nav-backdrop {
    display: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--ff-body);
  font-size: var(--font-ui);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-md);
  height: 44px;
  padding-inline: var(--space-5);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-accent-strong);
  color: var(--color-on-accent);
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-accent-strong);
  border-color: var(--color-accent);
}

.btn--sm {
  height: 36px;
  padding-inline: var(--space-4);
}

.btn--lg {
  height: 52px;
  padding-inline: var(--space-6);
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-block: var(--section-y-lg);
  background: var(--gradient-wash);
}

.hero .eyebrow {
  display: block;
  margin-bottom: var(--space-4);
}

.hero__title {
  max-width: 22ch;
  margin-bottom: var(--space-5);
}

.hero__lead {
  font-size: var(--font-body-lg);
  max-width: 62ch;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 639px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.card__icon {
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.card__icon svg {
  display: block;
}

.card__title {
  font-size: var(--font-h4);
  font-family: var(--ff-heading);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.card__body {
  font-size: var(--font-body);
  color: var(--color-text-secondary);
}

.card__meta {
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
  margin: 0;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* ============================================================
   STEPS (approach)
   ============================================================ */

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

.step {
  position: relative;
  padding: var(--space-5) 0 0 0;
  border-top: 2px solid var(--color-line);
}

.step__num {
  display: block;
  font-family: var(--ff-data);
  font-weight: 700;
  color: var(--color-accent-strong);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-3);
}

.step__title {
  font-size: var(--font-h4);
  font-family: var(--ff-body);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step__body {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

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

@media (min-width: 1200px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ============================================================
   CTA BAND — inset surface card, not a dark band
   ============================================================ */

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding-block: var(--space-8) var(--space-6);
  background: var(--color-bg);
}

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

.footer__heading {
  font-family: var(--ff-body);
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.footer__links a {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--color-accent-strong);
}

.footer__wordmark {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.footer__wordmark-sub {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.footer__email {
  font-size: var(--font-body-sm);
  color: var(--color-accent-strong);
  text-decoration: none;
}

.footer__email:hover {
  text-decoration: underline;
}

.footer__bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
}

.footer__bottom p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

/* ============================================================
   THEME OVERRIDES
   ============================================================ */

/* Dark theme: slate-500 tertiary is 4.2:1 (large-text only per spec);
   small tertiary copy (card meta, footer bottom) needs slate-400 for AA. */
[data-theme="dark"] {
  --color-text-tertiary: var(--slate-400);
}

/* ============================================================
   FOUNDER
   ============================================================ */

.founder {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.founder__photo {
  width: min(220px, 60vw);
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
}

.founder__name {
  margin-bottom: var(--space-3);
}

.founder__text .btn {
  margin-top: var(--space-2);
}

@media (min-width: 640px) {
  .founder {
    grid-template-columns: auto 1fr;
    gap: var(--space-7);
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.footer__form {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-line);
}

.footer__form-title {
  font-size: var(--font-h3);
  margin-bottom: var(--space-3);
}

.footer__form-lead {
  color: var(--color-text-secondary);
  max-width: 40ch;
  margin-bottom: var(--space-4);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .footer__form {
    grid-template-columns: 2fr 3fr;
    gap: var(--space-8);
  }
}

.form {
  display: grid;
  gap: var(--space-4);
}

.form__row {
  display: grid;
  gap: var(--space-4);
}

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

.form__field {
  display: grid;
  gap: var(--space-2);
}

.form__field label {
  font-size: var(--font-body-sm);
  font-weight: 500;
}

.form__field input,
.form__field textarea {
  min-height: 44px;
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--font-body);
  color: var(--color-text-primary);
  width: 100%;
}

.form__field textarea {
  resize: vertical;
}

.form__field input:focus-visible,
.form__field textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-color: var(--color-accent);
}

.form__field input[aria-invalid="true"],
.form__field textarea[aria-invalid="true"] {
  border-color: var(--status-bad);
}

/* Honeypot: visually removed, still in the DOM for bots */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form > .btn {
  justify-self: start;
}

.form__status {
  margin: 0;
  font-size: var(--font-body-sm);
  min-height: 1.2em;
}

.form__status.is-error {
  color: var(--status-bad);
}

.form__status.is-success {
  color: var(--status-ok);
}

/* ============================================================
   EXPERIENCE LOGO STRIP (founder page)
   ============================================================ */

.logo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 640px) {
  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .logo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Chips stay white in both themes so the logos keep their own colours */
.logo-chip {
  background: var(--white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}

.logo-chip img {
  width: auto;
  height: auto;
  max-width: min(100%, 220px);
  max-height: 88px;
}

/* The SSE Business Lab asset is white artwork on black; inverting it
   gives dark-on-white to match the chip. */
.logo-chip__invert {
  filter: invert(1);
}

/* ============================================================
   SDG MAPPING (sustainability page)
   ============================================================ */

.sdg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.sdg-row {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .sdg-row {
    grid-template-columns: minmax(260px, 1fr) 2fr;
    align-items: start;
  }
}

.sdg-row__title {
  font-family: var(--ff-heading);
  font-size: var(--font-h4);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.sdg-row__note {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.sdg-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.sdg-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-body-sm);
  color: var(--color-text-primary);
}

/* Official UN SDG colours; the squares are labelled by the adjacent text */
.sdg-chip__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding-inline: 6px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  font-family: var(--ff-data);
  font-weight: 700;
  font-size: 0.8125rem;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.sdg-4  { background: #C5192D; }
.sdg-6  { background: #26BDE2; color: #1A1A17; }
.sdg-7  { background: #FCC30B; color: #1A1A17; }
.sdg-9  { background: #FD6925; color: #1A1A17; }
.sdg-12 { background: #BF8B2E; }
.sdg-13 { background: #3F7E44; }
.sdg-17 { background: #19486A; }

.sdg-method {
  margin-top: var(--space-6);
  margin-bottom: 0;
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */

.container--prose {
  max-width: var(--container-prose);
}

.article-back {
  margin-bottom: var(--space-6);
}

.article-back a {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
}

.article-back a:hover {
  color: var(--color-accent-strong);
  text-decoration: underline;
}

article .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}

.article-meta {
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-7);
}

/* Article headings run one step smaller than section headings: h2 at
   36px in a 760px column crowds the text that follows it. */
.prose h2 {
  font-size: var(--font-h3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.prose h3 {
  font-size: var(--font-h4);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

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

.prose ul {
  padding-left: 1.25em;
  margin-bottom: 1.25rem;
}

.prose li {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.article-disclaimer {
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--space-6);
}

.article-cta {
  margin-top: var(--space-7);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.article-cta p {
  margin: 0;
  width: 100%;
}

.card--article .card__title--link a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.card--article .card__title--link a:hover {
  color: var(--color-accent-strong);
}

/* Whole article card is clickable: the title link is stretched over the card.
   Hovering anywhere on the card is hovering the link, so the title turns green. */
.card--article {
  position: relative;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.card--article .card__title--link a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--article:hover,
.card--article:focus-within {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--article .card__title--link a:focus-visible {
  outline: none;
}

.card--article:focus-within {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .card--article {
    transition: none;
  }
}

.card--article .card__meta {
  border-top: none;
  padding-top: 0;
  margin-top: var(--space-3);
}

.section__more {
  margin-top: var(--space-6);
}

/* ============================================================
   SERVICE CARDS — brochure layout: number, title, tag, summary,
   labelled "what you get" lists
   ============================================================ */

.card__num {
  font-family: var(--ff-data);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent-strong);
  margin-bottom: var(--space-2);
}

.card__tag,
.card__label {
  font-family: var(--ff-body);
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.card__tag {
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-3);
}

.card__label {
  color: var(--color-accent-strong);
  margin: var(--space-4) 0 var(--space-2);
}

.card__list {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: var(--space-2);
}

.card__list li {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
}

.card__list li::marker {
  color: var(--color-accent);
}

.card__list strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.card__list--steps {
  padding-left: 1.4em;
}

.card__list--steps li::marker {
  font-family: var(--ff-data);
  font-weight: 700;
}

.card__meta a {
  color: var(--color-accent-strong);
}

/* ============================================================
   NOTE BAND — "How work is scoped and priced"
   ============================================================ */

.note-band {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.note-band__title {
  margin-bottom: var(--space-4);
}

.note-band__list {
  max-width: 72ch;
}

.note-band__list li {
  font-size: var(--font-body);
}

/* ============================================================
   CTA BAND — one-line meta under the buttons
   ============================================================ */

/* ============================================================
   FOUNDER — CV rows, actions, text logo chip
   ============================================================ */

.founder__lead {
  font-size: var(--font-body-lg);
  color: var(--color-text-primary);
  font-weight: 500;
}

.founder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.founder__text .founder__actions .btn {
  margin-top: 0;
}

.cv {
  display: grid;
  gap: 0;
  margin: var(--space-7) 0 0;
}

.cv__row {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line);
}

.cv__label {
  font-family: var(--ff-body);
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--color-accent-strong);
  margin: 0;
}

.cv__body {
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.cv__body p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-body);
}

.cv__body strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.cv__source {
  font-family: var(--ff-data);
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
}

a.cv__source {
  color: var(--color-accent-strong);
}

@media (min-width: 640px) {
  .cv__row {
    grid-template-columns: 11rem 1fr;
    gap: var(--space-6);
  }
}

.logo-strip__note {
  margin: var(--space-4) 0 0;
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
}

/* ============================================================
   FOOTER — contact links and address
   ============================================================ */

.section__header .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}

/* ============================================================
   ICON LINKS (LinkedIn)
   ============================================================ */

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.icon-link .icon,
.btn .icon {
  flex: none;
  width: 1.05em;
  height: 1.05em;
}

.btn .icon {
  margin-right: var(--space-2);
  vertical-align: -0.15em;
}

.footer__contact {
  margin-top: var(--space-3);
}

.footer__contact li {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
}

.footer__contact a {
  overflow-wrap: anywhere;
}

.footer__address {
  font-size: var(--font-body-sm);
  color: var(--color-text-tertiary);
  margin: 0 0 var(--space-2);
}

.footer__legal {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-2);
}

.section__header--tight {
  margin-bottom: var(--space-6);
}

.svc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}

.svc-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  height: 100%;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.svc-tile:hover,
.svc-tile:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.svc-tile__num {
  font-family: var(--ff-data);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent-strong);
}

.svc-tile__group {
  font-family: var(--ff-body);
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--color-text-tertiary);
}

.svc-tile__title {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--font-h4);
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-top: var(--space-1);
}

.svc-tile__sum {
  font-size: var(--font-body-sm);
  color: var(--color-text-secondary);
}

.svc-tile::after {
  content: "See details";
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--font-body-sm);
  font-weight: 500;
  color: var(--color-accent-strong);
}

@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 900px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .svc-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Overview tiles: no motion when reduced */
@media (prefers-reduced-motion: reduce) {
  .svc-tile {
    transition: none;
  }
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */

.svc-page .container {
  max-width: 62rem;
}

.svc-page__head {
  margin-bottom: var(--space-7);
}

.svc-page__head .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}

.svc-page__head .card__tag {
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

.svc-page__head .hero__lead {
  margin-bottom: 0;
}

.svc-page__body {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line);
}

.svc-page__body .card__label:first-child,
.svc__cols > div > .card__label:first-child {
  margin-top: 0;
}

.svc-page__body .card__label {
  font-size: var(--font-body-sm);
}

.svc-page__body .card__list li,
.svc-page__body .card__body {
  font-size: var(--font-body);
}

.svc-page__body .card__list {
  gap: var(--space-3);
}

.svc-page__body .card__list a {
  color: var(--color-accent-strong);
}

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

@media (min-width: 900px) {
  .svc__cols {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-8);
  }
}

.svc-page__related {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line);
}

.svc-page__related-title {
  font-size: var(--font-h3);
  margin-bottom: var(--space-4);
}

.svc-grid--related {
  gap: var(--space-3);
}

.svc-page__related-all {
  margin: var(--space-4) 0 0;
  font-size: var(--font-body-sm);
}

.svc-page__related-all a {
  color: var(--color-accent-strong);
}

@media (min-width: 640px) {
  .svc-grid--related {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .svc-grid--related {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* "Contact" in the nav duplicates the header CTA once the CTA is visible (≥1200px). */
@media (min-width: 1200px) {
  .nav__item--contact {
    display: none;
  }
}
