/* ==========================================================================
   Retria — retriatech.com
   Implemented from the Claude Design handoff (Retria Homepage.dc.html,
   1440px artboard, pipelineTreatment: "flow").
   Tokens per retria-website-design/project/uploads/DESIGN_SYSTEM.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Colour */
  --navy: #003052;
  --navy-elev: #001f37;
  --navy-deep: #001a30;
  --flame: #f34616;
  --white: #ffffff;
  --paper: #fafaf7;

  --ink-70: rgba(0, 48, 82, 0.7);
  --ink-72: rgba(0, 48, 82, 0.72);
  --ink-65: rgba(0, 48, 82, 0.65);
  --ink-62: rgba(0, 48, 82, 0.62);
  --ink-60: rgba(0, 48, 82, 0.6);
  --ink-55: rgba(0, 48, 82, 0.55);
  --ink-50: rgba(0, 48, 82, 0.5);
  --ink-30: rgba(0, 48, 82, 0.3);
  --hairline: rgba(0, 48, 82, 0.12);
  --hairline-strong: rgba(0, 48, 82, 0.22);

  --paper-92: rgba(255, 255, 255, 0.92);
  --paper-90: rgba(255, 255, 255, 0.9);
  --paper-85: rgba(255, 255, 255, 0.85);
  --paper-80: rgba(255, 255, 255, 0.8);
  --paper-78: rgba(255, 255, 255, 0.78);
  --paper-75: rgba(255, 255, 255, 0.75);
  --paper-60: rgba(255, 255, 255, 0.6);
  --paper-55: rgba(255, 255, 255, 0.55);
  --paper-50: rgba(255, 255, 255, 0.5);
  --paper-40: rgba(255, 255, 255, 0.4);
  --hairline-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid display scale — hits the artboard values exactly at 1440px */
  --fs-hero: clamp(2.75rem, 8.055vw, 7.25rem);   /*  44 → 116 */
  --fs-h2: clamp(2.25rem, 5vw, 4.5rem);          /*  36 →  72 */
  --fs-cta: clamp(2.75rem, 8.194vw, 7.375rem);   /*  44 → 118 */
  --fs-lead: clamp(1.1875rem, 1.528vw, 1.375rem);/*  19 →  22 */
  --fs-profile: clamp(1.75rem, 2.639vw, 2.375rem); /* 28 → 38 */
  --fs-work: clamp(1.625rem, 2.361vw, 2.125rem); /*  26 →  34 */
  --fs-phase: clamp(1.5rem, 2.083vw, 1.875rem);  /*  24 →  30 */
  --fs-stage: clamp(1.5rem, 1.944vw, 1.75rem);   /*  24 →  28 */

  /* Layout */
  --page-x: 72px;
  --section-y: 130px;
  --shell: 1440px;

  --shadow-card: 0 30px 80px rgba(0, 30, 55, 0.18), 0 1px 0 rgba(0, 30, 55, 0.06);
}

@media (max-width: 1100px) {
  :root {
    --page-x: 48px;
    --section-y: 96px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-x: 24px;
    --section-y: 72px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Sticky nav height + breathing room, so anchors don't land under the bar */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: var(--flame);
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

/* Line breaks that only make sense at artboard width */
@media (max-width: 720px) {
  .br-wide {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   3. Shared type primitives
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.2;
  color: var(--flame);
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  line-height: 1.2;
  color: var(--ink-50);
}

.label--dark {
  color: var(--paper-55);
}

.label--flame {
  color: var(--flame);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.0278em;
  line-height: 1;
  color: var(--navy);
}

.section-title--light {
  color: var(--white);
}

.flame {
  color: var(--flame);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--ink-72);
}

.lead--strong {
  color: var(--ink-75, rgba(0, 48, 82, 0.75));
}

.lead--light {
  color: var(--paper-78);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.btn .arrow {
  font-size: 0.92em;
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  padding: 14px 22px;
}

.btn--navy:hover {
  background: var(--flame);
  color: var(--white);
}

.btn--flame {
  background: var(--flame);
  color: var(--white);
  font-size: 16px;
  padding: 18px 28px;
}

.btn--flame:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--ghost {
  color: var(--navy);
  font-size: 16px;
  padding: 18px 28px;
  border: 1px solid var(--hairline-strong);
}

.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--cta {
  background: var(--flame);
  color: var(--white);
  font-size: 17px;
  padding: 20px 30px;
  gap: 12px;
}

.btn--cta:hover {
  background: var(--white);
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 22px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.nav__logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav__tagline {
  padding-left: 20px;
  border-left: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  line-height: 1.5;
  color: var(--navy);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: none;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--flame);
}

/* The in-menu CTA only exists once the header CTA is condensed away */
.nav__links-cta {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* Condense before the links start colliding with the CTA */
@media (max-width: 1240px) {
  .nav__tagline {
    display: none;
  }

  .nav__links {
    gap: 24px;
  }

  .nav__links a {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .nav__inner {
    gap: 16px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-x) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px rgba(0, 30, 55, 0.08);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    font-size: 17px;
    padding-block: 14px;
    border-bottom: 1px solid var(--hairline);
  }

  .nav__cta {
    display: none;
  }

  .nav__links a.nav__links-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 20px;
    padding: 14px 22px;
    font-size: 15px;
    color: var(--white);
    border-bottom: 0;
  }

  .nav__links a.nav__links-cta:hover {
    color: var(--white);
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--white);
  padding-block: 120px 100px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__ping {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--navy);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
  display: inline-block;
  flex: none;
  animation: rtpulse 2s ease-in-out infinite;
}

@keyframes rtpulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.75);
  }
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink-50);
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.0431em;
  line-height: 0.9;
  color: var(--navy);
}

.hero__cols {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 72px;
  align-items: start;
}

.hero__cols .lead {
  color: rgba(0, 48, 82, 0.75);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-55);
}

/* Metric strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 18px;
  background: var(--navy-elev);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.strip__cell {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--hairline-dark);
}

.strip__cell:last-child {
  border-right: 0;
}

.strip__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.0333em;
  color: var(--white);
}

.strip__sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper-60);
}

/* --------------------------------------------------------------------------
   7. Section shells
   -------------------------------------------------------------------------- */

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

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

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

.section--deep {
  background: var(--navy-deep);
}

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

.stack-56 {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.stack-64 {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.head--capped {
  max-width: 900px;
}

.head--capped-wide {
  max-width: 920px;
}

.split-6-6 {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 72px;
  align-items: start;
}

.split-4-6 {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 64px;
  align-items: end;
}

.split-5-7 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: end;
}

/* --------------------------------------------------------------------------
   8. The problem
   -------------------------------------------------------------------------- */

.problem__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.problem__copy .lead {
  color: rgba(0, 48, 82, 0.75);
}

/* Hairline grid: 1px gaps over a tinted background */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}

.tile {
  background: var(--white);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.tile__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
}

/* --------------------------------------------------------------------------
   9. Who it's for
   -------------------------------------------------------------------------- */

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

.profile {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--paper);
}

.profile__title {
  font-size: var(--fs-profile);
  font-weight: 700;
  letter-spacing: -0.0316em;
  line-height: 1.02;
  color: var(--navy);
}

.profile p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-70);
}

.profile__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--hairline);
  margin: 0;
  list-style: none;
}

.profile__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
}

.profile__list li:first-child {
  padding-top: 12px;
}

.profile__list li::before {
  content: "—";
  color: var(--flame);
  flex: none;
}

.notafit {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
  padding: 36px 40px;
  border-radius: 18px;
  background: var(--navy-elev);
}

.notafit__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  line-height: 1.6;
  color: var(--white);
}

.notafit__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notafit__items li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--paper-85);
}

/* --------------------------------------------------------------------------
   10. Pipeline — flow treatment
   -------------------------------------------------------------------------- */

.flow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px
    minmax(0, 1fr);
  align-items: stretch;
}

.stage {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
}

.stage__title {
  font-size: var(--fs-stage);
  font-weight: 700;
  letter-spacing: -0.0321em;
  line-height: 1.05;
  color: var(--navy);
}

.stage__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-62);
}

.stage__leak {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy);
}

.stage__leak b {
  color: var(--flame);
  font-weight: 600;
}

.stage--flame {
  border-color: var(--flame);
  background: var(--flame);
}

.stage--flame .label {
  color: var(--paper-80);
}

.stage--flame .stage__title {
  color: var(--white);
}

.stage--flame .stage__text {
  color: var(--paper-92);
}

.stage--flame .stage__leak {
  border-top-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.stage--flame .stage__leak b {
  color: var(--white);
}

.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-30);
  font-size: 20px;
}

.flow__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: var(--ink-55);
  text-align: center;
}

/* --------------------------------------------------------------------------
   11. The work
   -------------------------------------------------------------------------- */

.work__list {
  display: flex;
  flex-direction: column;
}

.work__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 4fr) minmax(0, 6fr);
  gap: 40px;
  padding-block: 38px;
  border-top: 1px solid var(--hairline);
  align-items: start;
}

.work__row:last-child {
  border-bottom: 1px solid var(--hairline);
}

.work__index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--flame);
  padding-top: 8px;
}

.work__title {
  font-size: var(--fs-work);
  font-weight: 700;
  letter-spacing: -0.0324em;
  line-height: 1.05;
  color: var(--navy);
}

.work__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work__body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-72);
}

.work__output {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: var(--ink-50);
}

/* --------------------------------------------------------------------------
   12. Engagement
   -------------------------------------------------------------------------- */

.engagement__head .lead {
  max-width: 760px;
}

.phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.phase {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phase__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.phase__duration {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--flame);
  white-space: nowrap;
}

.phase__title {
  font-size: var(--fs-phase);
  font-weight: 700;
  letter-spacing: -0.0333em;
  line-height: 1.05;
  color: var(--navy);
}

.phase p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-70);
}

.phase__out {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy);
}

.phase--navy {
  border-color: var(--navy);
  background: var(--navy);
}

.phase--navy .label {
  color: var(--paper-60);
}

.phase--navy .phase__title {
  color: var(--white);
}

.phase--navy p {
  color: var(--paper-75);
}

.phase--navy .phase__out {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   13. Handover
   -------------------------------------------------------------------------- */

.handover__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 6px;
}

.handover__head {
  gap: 22px;
}

.keep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline-dark);
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  overflow: hidden;
}

.keep {
  background: var(--navy-elev);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.keep__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: var(--flame);
}

.keep__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.keep__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper-60);
}

.handover__note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-55);
}

/* --------------------------------------------------------------------------
   14. Big CTA
   -------------------------------------------------------------------------- */

.bigcta {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding-block: 140px;
}

.bigcta__mark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 420px;
  opacity: 0.07;
  pointer-events: none;
}

.bigcta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
}

.bigcta__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--paper-60);
}

.bigcta__title {
  font-size: var(--fs-cta);
  font-weight: 700;
  letter-spacing: -0.0339em;
  line-height: 0.9;
  color: var(--white);
}

.bigcta__inner .lead {
  max-width: 720px;
}

.bigcta__row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bigcta__sla {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--paper-60);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--navy-deep);
  padding-block: 72px 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer__cols {
  display: grid;
  grid-template-columns:
    minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr)
    minmax(0, 3fr);
  gap: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  height: 32px;
  width: 111px;
  display: block;
  align-self: flex-start;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  line-height: 1.6;
  color: var(--white);
}

.footer__blurb {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-60);
  max-width: 340px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: var(--paper-50);
}

.footer__col a {
  font-size: 15px;
  color: var(--paper-85);
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--flame);
}

.footer__email {
  font-weight: 600;
  color: var(--white) !important;
}

.footer__email:hover {
  color: var(--flame) !important;
}

.footer__address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-60);
  font-style: normal;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline-dark);
}

.footer__copy {
  font-size: 13px;
  color: var(--paper-50);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 13px;
  color: var(--paper-50);
  transition: color 0.15s ease;
}

.footer__legal a:hover {
  color: var(--white);
}

.footer__domain {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--paper-40);
}

/* --------------------------------------------------------------------------
   16. Responsive — tablet
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero {
    padding-block: 88px 80px;
  }

  .hero__inner {
    gap: 48px;
  }

  .hero__body {
    gap: 40px;
  }

  .hero__cols,
  .split-6-6,
  .split-4-6,
  .split-5-7 {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

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

  /* 2×2: clear the stale right border and add the row divider */
  .strip__cell:nth-child(even) {
    border-right: 0;
  }

  .strip__cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--hairline-dark);
  }

  .profiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* Flow becomes a 2×2 grid; the inline arrows stop making sense */
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .flow__arrow {
    display: none;
  }

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

  .notafit {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .notafit__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .work__row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 24px;
    row-gap: 16px;
  }

  .work__body {
    grid-column: 2;
  }

  .bigcta {
    padding-block: 104px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   17. Responsive — mobile
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .hero {
    padding-block: 64px 64px;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__buttons .btn {
    justify-content: center;
  }

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

  .strip__cell {
    border-right: 0;
    border-bottom: 1px solid var(--hairline-dark);
    padding: 26px 24px;
  }

  .strip__cell:last-child {
    border-bottom: 0;
  }

  .stack-56 {
    gap: 40px;
  }

  .stack-64 {
    gap: 40px;
  }

  .tile-grid,
  .keep-grid,
  .flow,
  .phases,
  .notafit__items,
  .footer__cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile {
    padding: 32px 26px;
  }

  .notafit {
    padding: 28px 26px;
  }

  .work__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 28px;
  }

  .work__index {
    padding-top: 0;
  }

  .work__body {
    grid-column: auto;
  }

  .bigcta {
    padding-block: 80px;
  }

  .bigcta__mark {
    width: 280px;
    right: -60px;
    bottom: -40px;
  }

  .bigcta__inner {
    gap: 28px;
  }

  .footer {
    padding-block: 56px 32px;
  }

  .footer__inner {
    gap: 40px;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__legal {
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   18. Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dot {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
