/* ==========================================================================
   Nigerianprince - corporate profile
   Palette: white ground, blue-biased neutrals, one decisive blue accent.
   ========================================================================== */

:root {
  /* White-and-blue is the default on every OS. Dark is opt-in only, via the
     nav toggle, which stamps [data-appearance="dark"] below. The viewer's
     system theme deliberately does not drive this page. */
  color-scheme: light;

  --ground:        #FFFFFF;
  --ground-alt:    #F3F6FA;
  --ground-deep:   #0A1A2F;
  --surface:       #FFFFFF;
  --surface-sunk:  #EDF2F8;

  --ink:           #0A1A2F;
  --ink-soft:      #5B6C82;
  --ink-faint:     #8C9BAE;

  --accent:        #0A5BD3;
  --accent-bright: #2E8CFF;
  --accent-wash:   #E8F0FE;

  --rule:          #DDE4ED;
  --rule-soft:     #EAEFF5;
  --shadow-card:   0 1px 2px rgba(10, 26, 47, .04), 0 12px 32px rgba(10, 26, 47, .06);
  --shadow-lift:   0 2px 4px rgba(10, 26, 47, .05), 0 24px 60px rgba(10, 26, 47, .10);
  --nav-bg:        rgba(255, 255, 255, .72);
  --blob-a:        rgba(46, 140, 255, .20);
  --blob-b:        rgba(10, 91, 211, .12);

  /* Type */
  --font-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Scale */
  --step-hero: clamp(2.25rem, 10.5vw, 7.5rem);
  --step-xxl:  clamp(2rem, 5.4vw, 4.25rem);
  --step-xl:   clamp(1.6rem, 3.4vw, 2.85rem);
  --step-lg:   clamp(1.35rem, 2vw, 1.7rem);
  --step-md:   1.0625rem;
  --step-sm:   0.9375rem;
  --step-xs:   0.8125rem;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --measure: 68ch;
  --shell: 1180px;
  --section-y: clamp(6rem, 13vh, 11rem);
  --radius: 18px;
  --radius-lg: 26px;
}

/* Opt-in dark appearance. Reached only through the nav toggle, never through
   prefers-color-scheme, so a first visit is always the white-and-blue page. */
:root[data-appearance="dark"] {
  color-scheme: dark;

  --ground:        #070D18;
  --ground-alt:    #0C1523;
  --ground-deep:   #04080F;
  --surface:       #101B2C;
  --surface-sunk:  #0A1220;

  --ink:           #EAF1FA;
  --ink-soft:      #9BADC4;
  --ink-faint:     #6B7D95;

  --accent:        #4D9BFF;
  --accent-bright: #7FB8FF;
  --accent-wash:   #12233C;

  --rule:          #1D2C42;
  --rule-soft:     #162335;
  --shadow-card:   0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .45);
  --shadow-lift:   0 2px 4px rgba(0, 0, 0, .5), 0 24px 60px rgba(0, 0, 0, .55);
  --nav-bg:        rgba(7, 13, 24, .72);
  --blob-a:        rgba(77, 155, 255, .22);
  --blob-b:        rgba(46, 140, 255, .14);
}

/* --------------------------------------------------------------- base --- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
img { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--accent-bright); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; color: #fff; }

/* Monospace eyebrow - the game's debug readout, reframed as corporate metadata */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.lede {
  font-size: var(--step-lg);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 46ch;
  letter-spacing: -0.011em;
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--ground-alt); }

/* Keep anchor targets clear of the fixed nav */
:target,
#experience, #work, #capabilities, #recognition, #references, #contact {
  scroll-margin-top: 56px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: var(--measure);
  margin-bottom: clamp(3rem, 6vw, 4.75rem);
}
.section-head h2 { font-size: var(--step-xxl); }

/* ---------------------------------------------------------------- nav --- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav[data-stuck="true"] { border-bottom-color: var(--rule); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 56px;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__mark {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav__mark:hover { color: var(--ink); }

/* His head, straight off the skin. Rendered pixelated so the 8x8 face grid
   stays crisp instead of smearing at this size. */
.nav__glyph {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex: none;
  image-rendering: pixelated;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent);
}

.nav__links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: .8125rem;
  font-weight: 450;
  color: var(--ink-soft);
}
.nav__links a:hover { color: var(--ink); }

.nav__right {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.nav__toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  flex: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav__toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-wash);
}
.nav__toggle svg { width: 15px; height: 15px; }
.nav__toggle .icon-sun { display: none; }
:root[data-appearance="dark"] .nav__toggle .icon-sun  { display: block; }
:root[data-appearance="dark"] .nav__toggle .icon-moon { display: none; }

.nav__cta {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 500;
  padding: .4375rem 1rem;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.nav__cta:hover { background: var(--accent-bright); color: #fff; }
.nav__cta:active { transform: scale(.97); }

@media (max-width: 860px) { .nav__links { display: none; } }

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-block: 6rem clamp(7rem, 15vh, 10rem);
  overflow: hidden;
}

/* Ambient blue field - a corporate wash, not a gradient hero */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(58% 62% at 50% 0%, var(--accent-wash) 0%, transparent 72%),
    radial-gradient(40% 45% at 82% 18%, var(--accent-wash) 0%, transparent 70%);
  opacity: .9;
  pointer-events: none;
}

/* Two slow blue masses drifting behind the type. Blurred hard enough that
   they read as light in the room, never as a gradient graphic. */
.hero__field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* Light pooling near the fold, where he dissolves into the page. */
  background: radial-gradient(48% 24% at 50% 86%, var(--accent-wash) 0%, transparent 72%);
}
.hero__field span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.hero__field span:first-child {
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  top: -12%;
  left: 6%;
  background: var(--blob-a);
  animation: driftA 26s ease-in-out infinite alternate;
}
.hero__field span:last-child {
  width: 38vw;
  height: 38vw;
  min-width: 320px;
  min-height: 320px;
  top: 8%;
  right: 4%;
  background: var(--blob-b);
  animation: driftB 31s ease-in-out infinite alternate;
}
@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6%, 8%, 0) scale(1.14); }
}
@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-8%, 6%, 0) scale(.94); }
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  min-width: 0;
}
.hero__inner > * { max-width: 100%; position: relative; }

/* Ground rising up the lower half: the type reads against it, and he looks
   like he is standing in the page rather than pasted on top of it. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 40%,
    color-mix(in srgb, var(--ground) 42%, transparent) 60%,
    color-mix(in srgb, var(--ground) 84%, transparent) 76%,
    var(--ground) 90%);
}

/* Top-anchored: his head clears the nav by a hair at any viewport height, and
   his legs run past the fold, where the scrim has already dissolved him. */
.hero__figure {
  position: absolute;
  left: 50%;
  top: clamp(7rem, 15vh, 10.5rem);
  margin: 0;
  z-index: 1;
  transform: translateX(-50%);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Square source scaled down smoothly - nearest-neighbour would alias the voxels. */
.hero__avatar {
  height: min(106vh, 1150px);
  width: auto;
  /* No width cap: on narrow screens he bleeds past both edges and the hero
     crops him, rather than shrinking into the middle of an empty frame. */
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 26px 44px rgba(10, 26, 47, .22));
  animation: bob 9s ease-in-out infinite alternate;
}

@keyframes bob {
  from { transform: translateY(-3px); }
  to   { transform: translateY(3px); }
}

.hero h1 {
  font-size: var(--step-hero);
  font-weight: 700;
  letter-spacing: -0.042em;
}

.hero__role {
  font-family: var(--font-display);
  font-size: var(--step-xl);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--ink-soft);
  max-width: 20ch;
}
.hero__role b {
  font-weight: 500;
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: .5rem;
}

.btn {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  padding: .8125rem 1.6rem;
  border-radius: 980px;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.btn:active { transform: scale(.975); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-bright); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--accent-bright) 50%, white);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
:root[data-appearance="dark"] .btn--ghost { border-color: var(--rule); }

/* Page-load sequence: the hero assembles once, top to bottom. */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero__inner > * {
  animation: rise .9s cubic-bezier(.22, .61, .36, 1) both;
}
.hero__inner > :nth-child(1) { animation-delay: .10s; }
.hero__inner > :nth-child(2) { animation-delay: .22s; }
.hero__inner > :nth-child(3) { animation-delay: .34s; }

/* The hero recedes as the page moves under it; --hp is set on scroll. */
.hero__inner,
.hero__scroll {
  --hp: 0;
}
.hero__inner {
  opacity: calc(1 - var(--hp));
  transform: translateY(calc(var(--hp) * -32px));
}
.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  z-index: 3;
}
.hero__scroll { opacity: calc(1 - var(--hp) * 2.4); }
.hero__scroll i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--ink-faint), transparent);
  transform-origin: top;
  animation: drift 2.4s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { opacity: .3; transform: scaleY(.65); }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* ------------------------------------------------------------ metrics --- */

.metrics {
  border-block: 1px solid var(--rule);
  background: var(--ground-alt);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric {
  background: var(--ground-alt);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.metric__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.metric__label {
  font-size: var(--step-sm);
  color: var(--ink-soft);
  line-height: 1.45;
}
@media (max-width: 900px) { .metrics__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .metrics__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- statement --- */

.statement { padding-block: clamp(7rem, 15vh, 12rem); }
.statement p {
  font-family: var(--font-display);
  font-size: var(--step-xxl);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.12;
  max-width: 22ch;
  text-wrap: balance;
}
.statement em {
  font-style: normal;
  color: var(--ink-faint);
}

/* --------------------------------------------------------- experience --- */

.timeline {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.timeline__sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.timeline__tick {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: .04em;
  color: var(--ink-faint);
  padding: .125rem 0 .125rem 1rem;
  border-left: 2px solid var(--rule);
  transition: color .3s ease, border-color .3s ease;
}
.timeline__tick[data-active="true"] {
  color: var(--accent);
  border-left-color: var(--accent);
}

.roles { display: flex; flex-direction: column; gap: 1.25rem; }

.role {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}
.role:hover {
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--rule));
  transform: translateY(-2px);
}
.role__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 1.5rem;
}
.role h3 { font-size: var(--step-xl); }
.role__dates {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: .03em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.role__title {
  font-size: var(--step-md);
  font-weight: 500;
  color: var(--accent);
  margin-top: -.875rem;
}
.role__body { color: var(--ink-soft); font-size: var(--step-sm); max-width: 58ch; }
.role__result {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem .875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  font-size: var(--step-sm);
}
.role__result strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 780px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__rail { display: none; }
}

/* ----------------------------------------------------------- showcase --- */

.showcase { position: relative; background: var(--ground-deep); }

.showcase__intro {
  position: relative;
  z-index: 3;
  padding-block: clamp(5rem, 11vh, 8.5rem) clamp(2rem, 4vh, 3rem);
  background: var(--ground-deep);
}
.showcase__intro h2 { font-size: var(--step-xxl); color: #fff; }
.showcase__intro .eyebrow { color: var(--accent-bright); }
.showcase__intro .lede { color: rgba(255, 255, 255, .66); margin-top: 1rem; }

.showcase__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.showcase__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .9s ease, transform 1.6s ease;
}
.showcase__stage img[data-active="true"] { opacity: 1; transform: scale(1); }
.showcase__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 8, 15, .72) 0%, rgba(4, 8, 15, .38) 38%, transparent 62%),
    linear-gradient(180deg, rgba(4, 8, 15, .7) 0%, rgba(4, 8, 15, .18) 38%, rgba(4, 8, 15, .88) 100%);
  pointer-events: none;
}

.showcase__track {
  position: relative;
  margin-top: -100svh;
  z-index: 2;
}
.showcase__panel {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 5rem;
}
.showcase__card {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.showcase__panel[data-visible="true"] .showcase__card { opacity: 1; transform: none; }
.showcase__card .eyebrow { color: var(--accent-bright); }
.showcase__card h3 { font-size: var(--step-xxl); color: #fff; }
.showcase__card p {
  color: rgba(255, 255, 255, .76);
  font-size: var(--step-md);
  max-width: 42ch;
}
.showcase__meta {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .48);
  padding-top: .875rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------- capabilities --- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}
.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--rule));
}
.card h3 { font-size: var(--step-lg); }
.card p { color: var(--ink-soft); font-size: var(--step-sm); }

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-wash);
  color: var(--accent);
}
.card__icon svg { width: 21px; height: 21px; }

.card__list {
  list-style: none;
  margin: auto 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  color: var(--ink-faint);
}
.card__list li { display: flex; gap: .625rem; align-items: baseline; }
.card__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  flex: none;
}

/* -------------------------------------------------------- recognition --- */

.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.award {
  background: var(--surface);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: background .3s ease;
}
.award:hover { background: var(--accent-wash); }
.award__year {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: .12em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.award h3 { font-size: var(--step-lg); }
.award p { color: var(--ink-soft); font-size: var(--step-sm); }
.award__issuer {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--step-xs);
  color: var(--ink-faint);
  border-top: 1px solid var(--rule-soft);
}

/* ------------------------------------------------------- testimonials --- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-lg);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.42;
  color: var(--ink);
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: .125rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
}
.quote__name { font-weight: 600; font-size: var(--step-sm); }
.quote__title { font-size: var(--step-xs); color: var(--ink-faint); }

.refs {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem 2.5rem;
}
.refs__label {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.refs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  font-size: var(--step-sm);
  color: var(--ink-soft);
}
.refs b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ contact --- */

.contact {
  background: var(--ground-deep);
  padding-block: clamp(7rem, 15vh, 11rem);
}
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.contact .eyebrow { color: var(--accent-bright); }
.contact h2 {
  font-size: var(--step-xxl);
  color: #fff;
  max-width: 18ch;
}
.contact p {
  color: rgba(255, 255, 255, .68);
  max-width: 44ch;
  font-size: var(--step-lg);
  line-height: 1.45;
}
.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}
.contact .btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.contact .btn--ghost:hover { border-color: #fff; color: #fff; }

.contact__handle {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  cursor: pointer;
  font-size: 1rem;
  padding-inline: 1.75rem;
}
.contact__handle svg { width: 20px; height: 20px; flex: none; }
.contact__handle span { font-variant-ligatures: none; }

.contact .contact__note {
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: .25rem;
  min-height: 1.2em;
}

/* ------------------------------------------------------------- footer --- */

.footer {
  background: var(--ground-deep);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 2.5rem;
  color: rgba(255, 255, 255, .4);
  font-family: var(--font-mono);
  font-size: var(--step-xs);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer a { color: rgba(255, 255, 255, .6); }
.footer a:hover { color: #fff; }

/* ------------------------------------------------------------ reveals --- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s cubic-bezier(.22, .61, .36, 1), transform .75s cubic-bezier(.22, .61, .36, 1);
}
.reveal[data-visible="true"] { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .showcase__card { opacity: 1; transform: none; }
  .showcase__stage img { transform: none; }
  .hero__inner > * { opacity: 1; transform: none; animation: none; }
  .hero__avatar, .hero__field span { animation: none; }
  .hero__inner { opacity: 1; transform: none; }
  .hero__scroll { opacity: 1; }
}
