/* ============================================================
   Feranmi Adedeji - Portfolio  |  dark systems theme
   ============================================================ */

:root {
  --bg: #080a0f;
  --bg-2: #0d1118;
  --panel: #111722;
  --panel-2: #141b27;
  --ink: #f3f7fb;
  --ink-2: #c5d0dd;
  --muted: #78889a;
  --line: rgba(159, 180, 205, 0.17);
  --line-strong: rgba(159, 180, 205, 0.32);
  --accent: #58f0c6;
  --accent-2: #ffcc66;
  --accent-3: #7aa7ff;
  --danger: #ff6b7a;
  --shadow: 0 28px 90px -42px rgba(0, 0, 0, 0.78);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(88, 240, 198, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 167, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 6%, rgba(88, 240, 198, 0.12), transparent 34rem),
    radial-gradient(circle at 20% 40%, rgba(122, 167, 255, 0.08), transparent 30rem),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 10, 15, 0.96), transparent 18%, transparent 82%, rgba(8, 10, 15, 0.94));
  z-index: -1;
}

::selection { background: var(--accent); color: #06100d; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mobile-only { display: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1001;
  padding: 10px 14px;
  color: #03130f;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.18s var(--ease), width 0.18s var(--ease), height 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
  will-change: transform;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(88, 240, 198, 0.62);
  border-radius: 999px;
  background: rgba(88, 240, 198, 0.06);
  backdrop-filter: blur(2px);
}

body.is-cursor-ready .cursor-dot,
body.is-cursor-ready .cursor-ring {
  opacity: 1;
}

body.is-cursor-active .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(255, 204, 102, 0.7);
  background: rgba(255, 204, 102, 0.08);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.1s linear;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
}

.nav.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(8, 10, 15, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.25);
}

.nav__brand,
.nav__links,
.side-rail,
.kicker,
.eyebrow,
.hero__status,
.btn,
.chip,
.card__sector,
.card__url,
.pricing-card__top,
.pricing-card__label,
.panel span,
.skill h3,
.footer {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav__avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(88, 240, 198, 0.54);
  background: var(--panel);
  box-shadow: 0 0 0 3px rgba(88, 240, 198, 0.08);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav__links a {
  transition: color 0.2s var(--ease);
}

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

.nav__cta {
  color: var(--accent) !important;
  border: 1px solid rgba(88, 240, 198, 0.48);
  border-radius: 8px;
  padding: 9px 13px;
}

.side-rail {
  position: fixed;
  left: clamp(16px, 2.8vw, 42px);
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--muted);
}

.side-rail::before,
.side-rail::after {
  content: "";
  width: 1px;
  height: 56px;
  margin-left: 8px;
  background: var(--line-strong);
}

.side-rail a {
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.side-rail a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.section,
.hero,
.footer {
  width: min(var(--maxw), calc(100% - clamp(36px, 9vw, 120px)));
  margin: 0 auto;
}

.section {
  padding: clamp(76px, 12vh, 140px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px;
}

.kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
  min-height: 100svh;
  padding: 124px 0 56px;
}

.hero__copy { min-width: 0; }

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 8px 12px;
  color: var(--ink-2);
  background: rgba(17, 23, 34, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: normal;
}

.dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(88, 240, 198, 0.48);
  animation: ping 2.15s infinite;
}

.status-text {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(88, 240, 198, 0.48); }
  72% { box-shadow: 0 0 0 8px rgba(88, 240, 198, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 240, 198, 0); }
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-2);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.hero__title {
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero__lede {
  max-width: 54ch;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.7;
}

.hero__lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 20px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--accent); color: #03130f; }
.btn--solid:hover { background: #7dffdc; }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }

.delivery-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(88, 240, 198, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(20, 27, 39, 0.96), rgba(11, 15, 22, 0.96));
  box-shadow: var(--shadow);
}

.delivery-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(88, 240, 198, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(88, 240, 198, 0.025), 0 0 0 68px rgba(88, 240, 198, 0.018);
  pointer-events: none;
}

.delivery-card__head,
.delivery-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.delivery-card__availability { color: var(--accent); }

.delivery-card__quote {
  max-width: 18ch;
  margin: 44px 0 34px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.delivery-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.delivery-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.delivery-list dt {
  color: var(--accent-2);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.delivery-list dd {
  color: var(--ink-2);
  font-size: 0.86rem;
}

.delivery-card__foot {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: var(--ink-2);
}

.hero__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero__meta li {
  min-height: 118px;
  padding: 20px;
  background: rgba(13, 17, 24, 0.88);
}

.hero__meta strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1;
}

.hero__meta span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.store-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(30px, 6vw, 80px);
  width: min(var(--maxw), calc(100% - clamp(36px, 9vw, 120px)));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 90px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 68px;
}

.store-proof__intro .kicker { margin-bottom: 12px; }

.store-proof__intro h2 {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.store-proof__intro p {
  max-width: 48ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.store-proof__apps {
  display: grid;
  gap: 10px;
}

.store-app {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 23, 34, 0.7);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.store-app:hover {
  border-color: rgba(88, 240, 198, 0.48);
  background: rgba(20, 27, 39, 0.94);
  transform: translateX(4px);
}

.store-app__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 11px;
  color: #03130f;
  background: linear-gradient(145deg, var(--accent), #9affdf);
  font-weight: 800;
}

.store-app__icon--blue {
  color: #07101f;
  background: linear-gradient(145deg, var(--accent-3), #b7ccff);
}

.store-app strong,
.store-app small { display: block; }
.store-app strong { color: var(--ink); font-size: 0.94rem; }
.store-app small { margin-top: 2px; color: var(--muted); font-size: 0.78rem; }
.store-app__arrow { color: var(--accent); }

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 23, 34, 0.62);
}

.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  animation: scroll 36s linear infinite;
}

.marquee__track span {
  color: var(--ink-2);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.marquee__track i {
  color: var(--accent);
  font-style: normal;
}

@keyframes scroll { to { transform: translateX(-50%); } }

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section__title {
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.section__lead {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}

.chip {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.68);
  color: var(--muted);
  padding: 9px 12px;
  font-size: 0.76rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.chip:hover,
.chip.is-active {
  color: #03130f;
  border-color: var(--accent);
  background: var(--accent);
}

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

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

.card {
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.card.is-in { opacity: 1; transform: none; }
.card:hover {
  border-color: rgba(88, 240, 198, 0.5);
  background: rgba(20, 27, 39, 0.94);
  transform: translateY(-4px);
}
.card.is-hidden { display: none; }

.card__frame {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.card__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.card__bar .d {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.card__bar .d:nth-child(1) { background: var(--danger); }
.card__bar .d:nth-child(2) { background: var(--accent-2); }
.card__bar .d:nth-child(3) { background: var(--accent); }

.card__url {
  max-width: 72%;
  margin-left: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__shot,
.card__fallback {
  aspect-ratio: 16 / 10;
}

.card__shot {
  overflow: hidden;
  background: #0f151f;
}

.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.9s var(--ease), filter 0.3s var(--ease);
  content-visibility: auto;
}

.card:hover .card__shot img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.04);
}

.card__fallback {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  color: #fff;
}

.card__fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.22;
}

.card__fallback .ini {
  z-index: 1;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.card__fallback .lab {
  z-index: 1;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.card__body {
  padding: 22px;
}

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

.card__name {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.1;
}

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

.card__sector {
  color: var(--accent-2);
  font-size: 0.68rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.card__desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.card__links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  padding: 7px 10px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card__links a:hover,
.card__links a.primary {
  color: #03130f;
  border-color: var(--accent);
  background: var(--accent);
}

.case-grid {
  display: grid;
  gap: 16px;
}

.case-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.76);
}

.case-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.case-card__top a {
  color: var(--accent);
  text-transform: none;
}

.case-card h3 {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.case-card > p {
  max-width: 76ch;
  margin-top: 12px;
  color: var(--ink-2);
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-meta div {
  min-height: 140px;
  padding: 18px;
  background: rgba(8, 10, 15, 0.72);
}

.case-meta dt {
  color: var(--accent-2);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.case-meta dd {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panel {
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
}

.panel span {
  color: var(--accent);
  font-size: 0.78rem;
}

.panel h3 {
  margin-top: 54px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.16;
}

.panel p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof {
  min-height: 132px;
  padding: 20px;
  background: rgba(13, 17, 24, 0.88);
}

.proof strong {
  display: block;
  color: var(--accent);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1.1;
}

.proof span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  grid-column: span 2;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

.pricing-card:nth-child(4),
.pricing-card:nth-child(5) {
  grid-column: span 3;
}

.engagement-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 23, 34, 0.48);
}

.engagement-cta > div > span {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
}

.engagement-cta p {
  max-width: 62ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.engagement-cta .btn { flex: 0 0 auto; }

.pricing-card--featured {
  border-color: rgba(88, 240, 198, 0.58);
  background:
    linear-gradient(180deg, rgba(88, 240, 198, 0.1), rgba(17, 23, 34, 0.8) 42%),
    rgba(17, 23, 34, 0.86);
}

.pricing-card--support {
  background:
    linear-gradient(135deg, rgba(255, 204, 102, 0.08), transparent 44%),
    rgba(17, 23, 34, 0.76);
}

.pricing-card__label {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 9px;
  border: 1px solid rgba(88, 240, 198, 0.5);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pricing-card__top span {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card__top strong {
  color: var(--accent);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.pricing-card h3 {
  margin-top: auto;
  padding-top: 54px;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.16;
}

.pricing-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.resume-page {
  padding: 112px 0 56px;
}

.resume-shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
}

.resume-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.resume-head h1 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.resume-head p {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--ink-2);
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.resume-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.resume-section h2 {
  color: var(--accent);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.resume-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.resume-item h3 {
  color: var(--ink);
  font-size: 1.05rem;
}

.resume-item p,
.resume-item li {
  color: var(--muted);
  font-size: 0.95rem;
}

.resume-item ul {
  margin-top: 10px;
  padding-left: 18px;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.resume-tags li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.about__statement {
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(1.22rem, 2.1vw, 2.05rem);
  font-weight: 700;
  line-height: 1.22;
}

.about__cols {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(30px, 6vw, 78px);
  margin-top: 54px;
}

.about__p {
  max-width: 68ch;
  margin-bottom: 20px;
  color: var(--ink-2);
  font-size: 1rem;
}

.about__p strong {
  color: var(--ink);
  font-weight: 600;
}

.about__edu {
  margin-top: 30px;
  padding: 18px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-left-color: var(--accent);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.58);
  font-size: 0.92rem;
}

.skills {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.skill {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.skill h3 {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.skill p {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.contact__title {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.12;
}

.contact__mail {
  display: inline-flex;
  width: fit-content;
  margin-top: 34px;
  color: var(--accent);
  font-size: clamp(0.96rem, 1.55vw, 1.25rem);
  font-weight: 600;
  border-bottom: 1px solid rgba(88, 240, 198, 0.44);
}

.contact__lede {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.contact__row a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.contact__row a:hover { color: var(--ink); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Keep the first viewport immediately paintable; reveals are reserved for later sections. */
.hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__title { max-width: 11ch; }

  .terminal { max-width: 680px; }

  .hero__meta,
  .expertise__grid,
  .case-meta,
  .pricing__grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card,
  .pricing-card:nth-child(4),
  .pricing-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 860px) {
  .side-rail { display: none; }
  .section,
  .hero,
  .footer {
    width: calc(100% - 36px);
    max-width: var(--maxw);
  }

  .nav__links a:not(.nav__cta) { display: none; }
  .section__head { display: block; }
  .section__lead { margin-top: 16px; }
  .grid,
  .about__cols,
  .store-proof {
    grid-template-columns: 1fr;
  }

  .store-proof { width: calc(100% - 36px); }

  .resume-head {
    display: block;
  }

  .resume-actions {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .engagement-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav {
    gap: 10px;
    padding: 18px;
  }

  .nav__brand {
    max-width: 170px;
    overflow: hidden;
    white-space: nowrap;
  }

  .nav__cta {
    display: inline-flex;
    padding: 8px 11px;
    font-size: 0;
  }

  .nav__cta::after {
    content: "Let's talk";
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 36px;
  }

  .hero__title {
    max-width: 9.5ch;
    font-size: clamp(2rem, 9.4vw, 2.55rem);
    line-height: 1.08;
  }

  .hero__status {
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 7px 10px;
    font-size: 0.68rem;
  }

  .hero__lede {
    max-width: 32ch;
    margin-top: 18px;
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .hero__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    max-width: 340px;
    margin-top: 28px;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .delivery-card__quote { margin: 34px 0 28px; }

  .delivery-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero__meta,
  .expertise__grid,
  .case-meta,
  .pricing__grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 260px;
  }

  .pricing-card__top {
    display: block;
  }

  .pricing-card__top strong {
    display: block;
    margin-top: 10px;
    text-align: left;
    white-space: normal;
  }

  .case-card__top {
    display: block;
  }

  .case-card__top a {
    display: inline-block;
    margin-top: 8px;
  }

  .card__top {
    display: block;
  }

  .card__sector {
    display: block;
    margin-top: 8px;
    white-space: normal;
  }

  .contact__mail {
    overflow-wrap: anywhere;
  }

  .footer {
    display: block;
  }

  .footer span {
    display: block;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee__track,
  .dot,
  .cursor-dot,
  .cursor-ring {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .progress,
  .nav,
  .side-rail,
  .resume-actions {
    display: none !important;
  }

  .resume-page {
    padding: 0;
  }

  .resume-shell {
    width: 100%;
  }

  .resume-head,
  .resume-section {
    border-color: #ddd;
  }

  .resume-head h1,
  .resume-item h3 {
    color: #111;
  }

  .resume-head p,
  .resume-item p,
  .resume-item li,
  .resume-tags li {
    color: #333;
  }
}
