:root {
  --navy: #071a33;
  --navy-2: #0c2848;
  --blue: #0f62ad;
  --blue-deep: #0b4c88;
  --orange: #ff9418;
  --orange-soft: #ffd8aa;
  --cream: #f3efe5;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #091827;
  --muted: #536170;
  --line: #d9d8d1;
  --line-dark: rgba(255, 255, 255, 0.18);
  --shadow: 0 30px 80px rgba(7, 26, 51, 0.14);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shell: min(1240px, calc(100vw - 3rem));
  --header-height: 78px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  background: var(--orange);
  color: var(--ink);
  font-weight: 850;
  left: 1rem;
  padding: 0.8rem 1rem;
  position: fixed;
  top: -100px;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(165px, 0.7fr) auto minmax(370px, 1fr);
  height: var(--header-height);
  padding: 0 max(1.5rem, calc((100vw - 1360px) / 2));
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  width: clamp(165px, 17vw, 220px);
}

.brand img {
  width: 100%;
}

.portfolio-switcher {
  background: #e9e6de;
  border-radius: 999px;
  display: flex;
  padding: 4px;
}

.portfolio-switcher a {
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  min-height: 36px;
  padding: 0 1rem;
}

.portfolio-switcher a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
}

.primary-navigation {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2.3vw, 2.2rem);
  justify-content: flex-end;
}

.primary-navigation a {
  align-items: center;
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  min-height: 44px;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--blue);
}

.primary-navigation .nav-cta {
  background: var(--navy);
  border-radius: 999px;
  color: var(--white);
  padding: 0 1.25rem;
}

.primary-navigation .nav-cta:hover,
.primary-navigation .nav-cta:focus-visible {
  background: var(--blue);
  color: var(--white);
}

.menu-toggle {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: none;
  gap: 0.55rem;
  justify-self: end;
  min-height: 44px;
  padding: 0 1rem;
}

.menu-toggle__label {
  font-size: 0.75rem;
  font-weight: 800;
}

.menu-toggle__icon {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.site-header.is-menu-open .menu-toggle__icon {
  transform: rotate(45deg);
}

.eyebrow {
  align-items: center;
  color: var(--blue-deep);
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.65rem;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.eyebrow--light {
  color: #bcdcff;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.7rem;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 54px;
  padding: 0 1.55rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--orange {
  background: var(--orange);
  color: var(--ink);
}

.button--orange:hover,
.button--orange:focus-visible {
  background: var(--white);
}

.button--navy {
  background: var(--navy);
  color: var(--white);
}

.button--navy:hover,
.button--navy:focus-visible {
  background: var(--blue);
}

.text-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 850;
  gap: 0.6rem;
  min-height: 44px;
}

.text-link--light {
  color: var(--white);
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.55;
  max-width: 680px;
}

.section {
  padding: clamp(5.5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1240px) / 2));
}

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

.section--warm {
  background: var(--cream);
}

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

.section-heading {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.25fr) minmax(220px, 0.65fr);
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-heading h2,
.profile-intro h2 {
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 0;
}

.section-heading > p:last-child {
  align-self: end;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0;
}

.section-heading--light > p:last-child {
  color: #cbd6e1;
}

.reveal {
  filter: blur(8px);
  opacity: 0;
  transform: none;
  transition: opacity 650ms ease var(--reveal-delay, 0ms),
              filter 650ms ease var(--reveal-delay, 0ms);
}

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

.business-hero__copy.reveal,
.operations-board.reveal,
.personal-hero__copy.reveal,
.personal-hero__portrait.reveal {
  transform: none;
}

.back-to-top {
  align-items: center;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  bottom: 1.25rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  width: 48px;
  z-index: 60;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-footer {
  align-items: center;
  background: #041327;
  color: #dce6ef;
  display: grid;
  font-size: 0.78rem;
  font-weight: 750;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  min-height: 92px;
  padding: 1rem max(1.5rem, calc((100vw - 1240px) / 2));
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.site-footer a {
  border-bottom: 1px solid currentColor;
  min-height: 32px;
}

/* Portfolio gateway */

.gateway-page {
  background: var(--navy);
  color: var(--white);
}

.site-header--gateway {
  background: var(--navy);
  border-bottom-color: var(--line-dark);
  display: flex;
  justify-content: space-between;
  position: relative;
}

.brand--official {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.92))
          drop-shadow(0 0 12px rgba(63, 155, 244, 0.54))
          drop-shadow(0 0 26px rgba(255, 144, 0, 0.2));
  gap: 0.7rem;
  grid-template-columns: 46px minmax(150px, 215px);
  padding: 0.25rem 0;
  transition: filter 220ms ease, transform 220ms ease;
  width: auto;
}

.brand--official:hover,
.brand--official:focus-visible {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1))
          drop-shadow(0 0 18px rgba(63, 155, 244, 0.72))
          drop-shadow(0 0 32px rgba(255, 144, 0, 0.3));
  transform: translateY(-1px) scale(1.015);
}

.brand--official .brand__mark {
  height: 46px;
  object-fit: contain;
  width: 46px;
}

.brand--official .brand__wordmark {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.96));
  height: auto;
  width: 100%;
}

.header-contact {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  gap: 0.55rem;
  min-height: 44px;
}

.gateway-intro {
  padding: clamp(3rem, 4vw, 4.5rem) max(1.5rem, calc((100vw - 1240px) / 2)) clamp(2.5rem, 3.5vw, 3.5rem);
  text-align: center;
}

.gateway-intro .eyebrow {
  color: #bcdcff;
  justify-content: center;
}

.gateway-intro h1 {
  font-size: clamp(3.3rem, 6.2vw, 6.2rem);
  letter-spacing: -0.075em;
  line-height: 0.88;
  margin: 1.35rem auto;
  max-width: 1100px;
}

.gateway-lead {
  color: #cbd7e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 760px;
}

.portfolio-choices {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1480px;
}

.choice-card {
  display: grid;
  min-height: 610px;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  z-index: 2;
}

.choice-card__topline {
  display: flex;
  font-size: 0.75rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: 0.08em;
  position: relative;
  text-transform: uppercase;
  z-index: 3;
}

.choice-card__copy {
  align-self: end;
  max-width: 610px;
  position: relative;
  z-index: 3;
}

.choice-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.choice-card h2 {
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 0;
}

.choice-card__copy > p:not(.choice-kicker) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 540px;
}

.choice-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.choice-card li {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.5rem 0.75rem;
}

.choice-card strong {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.7rem;
  min-height: 40px;
}

.choice-card__art {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.choice-card--business {
  background: var(--blue-deep);
  color: var(--white);
}

.choice-card--business .choice-card__copy {
  isolation: isolate;
  max-width: none;
}

.choice-card--business .choice-card__copy::before {
  background: linear-gradient(
    to top,
    rgba(4, 19, 39, 0.99) 0%,
    rgba(4, 19, 39, 0.97) 68%,
    rgba(4, 19, 39, 0) 100%
  );
  content: "";
  inset: -5rem -3rem -3rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.choice-card--business .choice-card__copy > p:not(.choice-kicker) {
  color: #f1f6fb;
}

.choice-card--business h2 {
  color: var(--white);
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

.choice-card--business::after {
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  position: absolute;
}

.choice-card__art--business img {
  filter: drop-shadow(0 24px 45px rgba(0,0,0,0.28));
  left: 50%;
  max-height: 240px;
  object-fit: contain;
  position: absolute;
  top: 30%;
  transform: translate(-50%, -50%);
  width: 34%;
  z-index: 2;
}

.signal {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 30%;
  transform: translate(-50%, -50%);
}

.signal--one { height: 290px; width: 290px; }
.signal--two { height: 390px; width: 390px; }
.signal--three { height: 500px; width: 500px; }

.choice-card--personal {
  background: var(--cream);
  color: var(--ink);
}

.choice-card__art--personal img {
  height: 62%;
  object-fit: cover;
  object-position: center 22%;
  position: absolute;
  right: 6%;
  top: 5.5rem;
  width: 48%;
}

.portrait-number {
  color: rgba(15, 98, 173, 0.1);
  font-size: min(31vw, 430px);
  font-weight: 950;
  left: 0;
  letter-spacing: -0.11em;
  line-height: 0.8;
  position: absolute;
  top: 7rem;
}

.choice-card--personal .choice-card__copy {
  background: linear-gradient(to top, var(--cream) 75%, transparent);
  max-width: 100%;
  padding-top: 5rem;
}

.choice-card--personal .choice-kicker {
  color: var(--blue-deep);
}

.gateway-bridge {
  align-items: center;
  color: #dbe5ef;
  display: flex;
  flex-wrap: wrap;
  font-family: Georgia, "Times New Roman", serif;
  gap: 1.25rem;
  justify-content: center;
  min-height: 120px;
  padding: 1.5rem;
}

.gateway-bridge p {
  margin: 0;
}

.gateway-bridge span {
  color: var(--orange);
}

.gateway-footer {
  align-items: center;
  border-top: 1px solid var(--line-dark);
  color: #b9c8d6;
  display: flex;
  font-size: 0.75rem;
  justify-content: space-between;
  min-height: 78px;
  padding: 1rem max(1.5rem, calc((100vw - 1240px) / 2));
}

.demo-showcase {
  background: #0a2340;
  border-top: 1px solid var(--line-dark);
  padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1240px) / 2));
}

.demo-showcase__heading {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.demo-showcase__heading h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
  margin: 1.5rem 0 0;
}

.demo-showcase__heading > p {
  color: #c7d5e1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.65;
  margin: 0;
}

.demo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-card {
  background: var(--paper);
  border-radius: var(--radius-sm);
  color: var(--ink);
  overflow: hidden;
}

.demo-preview {
  aspect-ratio: 16 / 10;
  background: var(--blue-deep);
  display: block;
  overflow: hidden;
  position: relative;
}

.demo-preview--portal {
  padding: 1rem;
}

.demo-browser-bar {
  align-items: center;
  background: var(--navy);
  border-radius: 8px 8px 0 0;
  color: var(--white);
  display: flex;
  gap: 0.3rem;
  height: 30px;
  padding: 0 0.65rem;
}

.demo-browser-bar span {
  background: var(--orange);
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.demo-browser-bar b {
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  margin-left: auto;
}

.demo-portal-shell {
  background: #e9eef2;
  display: grid;
  grid-template-columns: 18% 1fr;
  height: calc(100% - 30px);
}

.demo-portal-nav {
  background: #d6e1ea;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0.55rem;
}

.demo-portal-nav span {
  background: var(--blue-deep);
  border-radius: 999px;
  height: 5px;
  opacity: 0.6;
}

.demo-portal-main {
  padding: 1rem;
}

.demo-portal-main p {
  font-size: 0.7rem;
  font-weight: 900;
  margin: 0 0 0.9rem;
}

.demo-portal-main > div {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, 1fr);
}

.demo-portal-main > div span {
  background: var(--white);
  border-radius: 5px;
  height: 52px;
}

.demo-portal-main i {
  background: #c5d2dc;
  border-radius: 999px;
  display: block;
  height: 5px;
  margin-top: 0.65rem;
  width: 100%;
}

.demo-portal-main i:last-child {
  width: 58%;
}

.demo-preview--automation {
  align-items: center;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(7, auto);
  justify-content: center;
  padding: 1rem;
}

.demo-preview--automation > div {
  background: var(--paper);
  border-radius: 7px;
  display: grid;
  gap: 0.25rem;
  min-width: 62px;
  padding: 0.75rem 0.55rem;
}

.demo-preview--automation small {
  color: var(--blue-deep);
  font-size: 0.5rem;
  font-weight: 900;
}

.demo-preview--automation strong {
  font-size: 0.67rem;
}

.demo-preview--automation span {
  color: var(--muted);
  font-size: 0.52rem;
}

.demo-preview--automation > b {
  color: var(--orange);
  font-size: 0.8rem;
}

.demo-preview--archive img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

.demo-preview--archive:hover img,
.demo-preview--archive:focus-visible img {
  transform: scale(1.025);
}

.demo-preview--archive > span {
  background: var(--orange);
  bottom: 0;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 900;
  padding: 0.65rem 0.8rem;
  position: absolute;
  right: 0;
}

.demo-card__copy {
  padding: clamp(1.5rem, 2.7vw, 2.2rem);
}

.demo-label {
  color: var(--blue-deep);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  margin: 0;
  text-transform: uppercase;
}

.demo-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 1rem 0;
}

.demo-card__copy > p:not(.demo-label) {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.demo-card__copy > a {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 0.6rem;
  margin-top: 1rem;
  min-height: 40px;
}

.demo-showcase__cta {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  justify-content: space-between;
  margin-top: 1rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.demo-showcase__cta > div {
  max-width: 740px;
}

.demo-showcase__cta h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0.9rem 0;
}

.demo-showcase__cta > div > p:last-child {
  color: #c7d5e1;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  margin: 0;
}

.demo-showcase__cta .button {
  flex: 0 0 auto;
}

/* Business portfolio */

.business-hero {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(470px, 0.95fr);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
}

.business-hero__copy {
  align-self: center;
  padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 7vw, 7rem) clamp(5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1360px) / 2));
}

.business-hero h1 {
  font-size: clamp(4.1rem, 8.8vw, 9.4rem);
  letter-spacing: -0.085em;
  line-height: 0.78;
  margin: 2rem 0 2.5rem;
}

.business-hero .hero-lead {
  color: #ced9e4;
}

.operations-board {
  background: var(--blue-deep);
  border-left: 1px solid var(--line-dark);
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.operations-board::before {
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  position: absolute;
}

.operations-board__brand {
  align-items: center;
  background: rgba(7, 26, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  height: 210px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  z-index: 2;
}

.operations-board__brand::before,
.operations-board__brand::after {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.operations-board__brand::before { height: 370px; width: 370px; }
.operations-board__brand::after { height: 560px; width: 560px; }

.operations-board__brand img {
  position: relative;
  width: 72%;
  z-index: 2;
}

.operations-node {
  background: var(--paper);
  border-radius: var(--radius-sm);
  color: var(--ink);
  display: grid;
  gap: 0.25rem;
  max-width: 220px;
  padding: 1rem 1.1rem;
  position: absolute;
  width: 38%;
  z-index: 3;
}

.operations-node small {
  color: var(--blue-deep);
  display: block;
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  min-width: 2ch;
}

.operations-node strong { font-size: 0.9rem; }
.operations-node span { color: var(--muted); font-size: 0.72rem; }
.operations-node--one { left: 7%; top: 15%; }
.operations-node--two { right: 7%; top: 15%; }
.operations-node--three { bottom: 15%; left: 7%; }
.operations-node--four { bottom: 15%; right: 7%; }

.proof-bar {
  background: var(--orange);
  color: var(--ink);
  display: grid;
  font-size: 0.7rem;
  font-weight: 900;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-bar p {
  border-right: 1px solid rgba(9, 24, 39, 0.25);
  margin: 0;
  padding: 1.4rem;
  text-align: center;
}

.service-grid {
  align-items: stretch;
  background: var(--line);
  border: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: clamp(2rem, 4vw, 4rem);
}

.service-card--accent {
  background: var(--blue-deep);
  color: var(--white);
}

.service-card__number {
  align-items: center;
  align-self: flex-start;
  color: var(--blue-deep);
  display: inline-flex;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  min-height: 1rem;
  min-width: 2.2rem;
}

.service-card--accent .service-card__number {
  color: var(--orange);
}

.service-card h3 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 3rem 0 1.4rem;
  min-height: 1.96em;
}

.service-card > p {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 550px;
}

.service-card--accent > p {
  color: #d5e2ee;
}

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

.tag-list li {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
}

.service-card .tag-list {
  margin-top: auto;
  padding-top: 2rem;
}

.case-list {
  border-top: 1px solid var(--line-dark);
}

.case-study {
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.case-study__index {
  align-self: start;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.case-study__index span {
  color: var(--orange);
  display: block;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  min-width: 2ch;
}

.case-study__index p {
  color: #cbd6e1;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0;
  max-width: 12rem;
  text-transform: uppercase;
}

.case-tag {
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.section--ink .case-tag,
.automation-card .case-tag {
  color: var(--orange);
}

.case-study__summary h3 {
  font-size: clamp(2.3rem, 4.6vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0.8rem 0 1.5rem;
}

.case-study__summary > p:not(.case-tag) {
  color: #cbd6e1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 800px;
}

details summary {
  cursor: pointer;
  list-style: none;
}

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

.case-study details {
  border-top: 1px solid var(--line-dark);
  margin-top: 2rem;
}

.case-study summary,
.automation-card summary {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  font-weight: 850;
  justify-content: space-between;
  min-height: 58px;
}

.case-study summary span,
.automation-card summary span {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

details[open] > summary span {
  transform: rotate(45deg);
}

.case-facts {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 1rem;
}

.case-facts div {
  background: rgba(255, 255, 255, 0.07);
  padding: 1.4rem;
}

.case-facts dt {
  color: var(--orange-soft);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-facts dd {
  color: #d8e1e9;
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0.8rem 0 0;
}

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

.process-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 2rem;
}

.process-grid li > span {
  align-items: center;
  align-self: flex-start;
  color: var(--blue-deep);
  display: inline-flex;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  min-height: 1rem;
  min-width: 2.2rem;
}

.process-grid h3 {
  font-size: 2.1rem;
  letter-spacing: -0.045em;
  margin: 5rem 0 1rem;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.founder-band {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(270px, 0.55fr) minmax(0, 1fr);
  padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1050px) / 2));
}

.founder-band__portrait {
  background: var(--cream);
  border-radius: 160px 160px 22px 22px;
  justify-self: center;
  max-width: 340px;
  overflow: hidden;
}

.founder-band__portrait img {
  width: 100%;
}

.founder-band__copy h2 {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.93;
  margin: 1.6rem 0;
}

.founder-band__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 700px;
}

.contact-section {
  align-items: end;
  background: var(--blue-deep);
  color: var(--white);
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1240px) / 2));
}

.contact-section h2,
.personal-contact h2 {
  font-size: clamp(3.5rem, 7.5vw, 8rem);
  letter-spacing: -0.075em;
  line-height: 0.82;
  margin: 1.8rem 0 2rem;
}

.contact-section > div > p:last-child,
.personal-contact__copy > p:not(.eyebrow) {
  color: #d6e3ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
}

.contact-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-actions > a:not(.button) {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  justify-content: space-between;
  min-height: 44px;
  width: 100%;
}

/* Personal portfolio */

.personal-page {
  background: var(--paper);
}

.personal-hero {
  background: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
}

.personal-hero__copy {
  align-self: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem) clamp(5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1360px) / 2));
}

.personal-hero h1 {
  font-size: clamp(4rem, 8.5vw, 9rem);
  letter-spacing: -0.085em;
  line-height: 0.8;
  margin: 2rem 0 2.5rem;
}

.personal-hero__portrait {
  background: var(--blue-deep);
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.personal-hero__portrait::before {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  height: min(52vw, 680px);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(52vw, 680px);
}

.personal-hero__portrait img {
  bottom: 0;
  height: 88%;
  left: 50%;
  object-fit: cover;
  object-position: center 24%;
  position: absolute;
  transform: translateX(-50%);
  width: min(82%, 560px);
}

.portrait-caption,
.portrait-role {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  font-size: 0.7rem;
  gap: 0.2rem;
  line-height: 1.4;
  padding: 1rem;
  position: absolute;
  z-index: 2;
}

.portrait-caption {
  left: 1.5rem;
  top: 1.5rem;
}

.portrait-caption span {
  color: var(--blue-deep);
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-role {
  bottom: 1.5rem;
  font-weight: 850;
  right: 1.5rem;
  text-transform: uppercase;
}

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

.profile-intro {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1.25fr);
}

.profile-story {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  margin: clamp(3rem, 6vw, 6rem) 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.profile-story__lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.1vw, 3.3rem);
  line-height: 1.25;
  margin: 0;
}

.profile-story > div p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 1.2rem;
}

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

.expertise-card {
  background: var(--cream);
  min-height: 330px;
  padding: 2rem;
}

.expertise-card > span {
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 900;
}

.expertise-card h3 {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  margin: 5rem 0 1rem;
}

.expertise-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.timeline {
  border-top: 1px solid var(--line-dark);
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: clamp(1.5rem, 5vw, 5rem);
  grid-template-columns: minmax(145px, 0.35fr) minmax(230px, 0.7fr) minmax(0, 1fr);
  padding: 2.5rem 0;
}

.timeline__period {
  color: var(--orange-soft);
  font-size: 0.75rem;
  font-weight: 850;
}

.timeline__role p {
  color: #b9c8d6;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.timeline__role h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

.timeline li > p {
  color: #cbd6e1;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

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

.workflow {
  background: var(--navy);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 4rem;
  padding: 1px;
}

.workflow > div {
  background: var(--blue-deep);
  color: var(--white);
  display: grid;
  gap: 0.45rem;
  min-height: 160px;
  padding: 1.25rem;
  position: relative;
}

.workflow > div:not(:last-child)::after {
  color: var(--orange);
  content: "→";
  font-size: 1.2rem;
  position: absolute;
  right: -0.7rem;
  top: 50%;
  z-index: 2;
}

.workflow span {
  color: var(--orange-soft);
  font-size: 0.68rem;
  font-weight: 900;
}

.workflow small {
  align-self: end;
  color: #bcd0e1;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow strong {
  font-size: 0.9rem;
}

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

.automation-card {
  background: var(--navy);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.automation-card h3 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 1rem 0 1.4rem;
}

.automation-card > p:not(.case-tag),
.automation-card details p {
  color: #cbd6e1;
  font-size: 0.9rem;
  line-height: 1.7;
}

.automation-card details {
  border-top: 1px solid var(--line-dark);
  margin-top: 2rem;
}

.automation-card details p {
  margin-bottom: 0;
}

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

.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.project-card > a {
  background: var(--navy);
  display: block;
  overflow: hidden;
  position: relative;
}

.project-card > a img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.project-card > a:hover img,
.project-card > a:focus-visible img {
  transform: scale(1.025);
}

.project-card > a span {
  background: var(--orange);
  bottom: 0;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.65rem 0.85rem;
  position: absolute;
  right: 0;
}

.project-card > div {
  padding: 2rem;
}

.project-card > div > p:first-child {
  color: var(--blue-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  margin: 0.7rem 0 1rem;
}

.project-card > div > p:last-child {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

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

.toolkit-grid article {
  border: 1px solid var(--line);
  min-height: 250px;
  padding: 2rem;
}

.toolkit-grid h3 {
  color: var(--blue-deep);
  font-size: 1.25rem;
  margin: 0 0 4rem;
}

.toolkit-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.personal-contact {
  align-items: start;
  background: var(--blue-deep);
  color: var(--white);
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1fr);
  padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 1100px) / 2));
}

.personal-contact__portrait {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  justify-self: center;
  max-width: 420px;
  overflow: hidden;
  padding: 0.65rem;
}

.personal-contact__portrait img {
  aspect-ratio: 1;
  border-radius: calc(var(--radius-md) - 8px);
  object-fit: cover;
  width: 100%;
}

.personal-contact__copy {
  max-width: 760px;
}

.personal-contact .contact-actions {
  margin-top: 2.5rem;
  max-width: 430px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(160px, 1fr) auto auto;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-navigation {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(7, 26, 51, 0.12);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 1rem 1.5rem 1.5rem;
    position: absolute;
    right: 0;
    top: var(--header-height);
  }

  .site-header.is-menu-open .primary-navigation {
    display: flex;
  }

  .primary-navigation a {
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
    min-height: 54px;
  }

  .primary-navigation .nav-cta {
    justify-content: center;
    margin-top: 1rem;
  }

  .business-hero,
  .personal-hero {
    grid-template-columns: 1fr;
  }

  .business-hero {
    min-height: auto;
  }

  .business-hero__copy,
  .personal-hero__copy {
    padding-left: max(1.5rem, calc((100vw - 900px) / 2));
    padding-right: max(1.5rem, calc((100vw - 900px) / 2));
  }

  .business-hero h1,
  .personal-hero h1 {
    max-width: 900px;
  }

  .operations-board,
  .personal-hero__portrait {
    min-height: 720px;
  }

  .section-heading {
    grid-template-columns: 0.4fr 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

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

  .timeline li {
    grid-template-columns: 160px minmax(230px, 0.75fr) 1fr;
  }

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

  .demo-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  :root {
    --shell: min(100% - 2rem, 680px);
    --header-height: 72px;
  }

  .site-header {
    gap: 0.75rem;
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }

  .site-header:not(.site-header--gateway) {
    grid-template-rows: 72px 46px;
    height: 118px;
  }

  .brand {
    width: 158px;
  }

  .brand--official {
    gap: 0.55rem;
    grid-template-columns: 40px minmax(125px, 165px);
    width: auto;
  }

  .brand--official .brand__mark {
    height: 40px;
    width: 40px;
  }

  .portfolio-switcher {
    align-self: center;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    position: static;
    transform: none;
    z-index: 2;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .primary-navigation {
    top: 118px;
  }

  .site-header--gateway {
    display: flex;
  }

  .gateway-intro {
    padding-top: 5rem;
  }

  .portfolio-choices {
    grid-template-columns: 1fr;
  }

  .demo-showcase__heading,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-card:last-child {
    grid-column: auto;
  }

  .choice-card {
    min-height: 680px;
  }

  .choice-card__art--personal img {
    height: 58%;
    width: 54%;
  }

  .business-hero,
  .personal-hero {
    padding-top: 0;
  }

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

  .section-heading,
  .profile-intro,
  .profile-story,
  .case-study,
  .founder-band,
  .contact-section,
  .personal-contact {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .service-grid,
  .automation-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 360px;
  }

  .case-study {
    gap: 1.2rem;
  }

  .case-study__index {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-items: initial;
  }

  .case-study__index span {
    font-size: 3.5rem;
  }

  .case-facts,
  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow > div {
    min-height: 120px;
  }

  .workflow > div:not(:last-child)::after {
    bottom: -0.8rem;
    left: 50%;
    right: auto;
    top: auto;
    transform: rotate(90deg);
  }

  .founder-band__portrait,
  .personal-contact__portrait {
    max-width: 300px;
  }

  .contact-section {
    align-items: start;
  }

  .timeline li {
    gap: 1.2rem;
    grid-template-columns: 1fr;
  }

  .timeline__period {
    color: var(--orange);
  }

  .personal-contact {
    padding-top: 5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
  }

  .site-footer p:last-child {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .header-contact {
    font-size: 0;
  }

  .header-contact span {
    font-size: 1rem;
  }

  .brand--official {
    gap: 0.45rem;
    grid-template-columns: 36px 126px;
  }

  .brand--official .brand__mark {
    height: 36px;
    width: 36px;
  }

  .gateway-intro h1 {
    font-size: clamp(3.2rem, 16vw, 5.3rem);
  }

  .choice-card {
    min-height: 650px;
    padding: 1.25rem;
  }

  .choice-card__art--business img {
    max-height: 210px;
    top: 29%;
    width: 46%;
  }

  .signal {
    top: 29%;
  }

  .signal--one { height: 220px; width: 220px; }
  .signal--two { height: 330px; width: 330px; }
  .signal--three { height: 440px; width: 440px; }

  .choice-card__art--personal img {
    height: 55%;
    right: 3%;
    top: 4.5rem;
    width: 62%;
  }

  .choice-card h2 {
    font-size: clamp(2.9rem, 14vw, 4.3rem);
  }

  .choice-card__copy > p:not(.choice-kicker) {
    font-size: 0.98rem;
  }

  .gateway-bridge {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .gateway-bridge span {
    display: none;
  }

  .gateway-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
  }

  .demo-showcase {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .demo-showcase__heading h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .demo-showcase__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-preview--automation {
    gap: 0.2rem;
    padding: 0.65rem;
  }

  .demo-preview--automation > div {
    min-width: 58px;
    padding: 0.65rem 0.45rem;
  }

  .business-hero h1,
  .personal-hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.8rem);
  }

  .operations-board,
  .personal-hero__portrait {
    min-height: 580px;
  }

  .operations-board__brand {
    height: 160px;
    width: 160px;
  }

  .operations-board__brand::before { height: 280px; width: 280px; }
  .operations-board__brand::after { height: 410px; width: 410px; }

  .operations-node {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    width: 42%;
  }

  .operations-node strong { font-size: 0.76rem; }
  .operations-node span { font-size: 0.64rem; }

  .proof-bar,
  .expertise-grid,
  .process-grid,
  .toolkit-grid {
    grid-template-columns: 1fr;
  }

  .proof-bar p {
    border-bottom: 1px solid rgba(9, 24, 39, 0.25);
    text-align: left;
  }

  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section-heading h2,
  .profile-intro h2 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .service-card,
  .expertise-card,
  .process-grid li {
    min-height: auto;
  }

  .service-card h3,
  .expertise-card h3,
  .process-grid h3 {
    margin-top: 3rem;
  }

  .service-card h3 {
    min-height: 0;
  }

  .service-card .tag-list {
    margin-top: 2rem;
    padding-top: 0;
  }

  .personal-hero__portrait img {
    height: 84%;
    width: 88%;
  }

  .portrait-caption {
    left: 0.8rem;
    top: 0.8rem;
  }

  .portrait-role {
    bottom: 0.8rem;
    right: 0.8rem;
  }

  .contact-section h2,
  .personal-contact h2 {
    font-size: clamp(3.3rem, 16vw, 5.4rem);
  }

  .back-to-top {
    bottom: 0.85rem;
    right: 0.85rem;
  }
}

/* Motion and depth */

@keyframes gateway-rise {
  from {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes mark-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(-3px) rotate(-1deg) scale(1); }
  50% { transform: translate(-50%, -50%) translateY(9px) rotate(1.2deg) scale(1.025); }
}

@keyframes portrait-drift {
  0%, 100% { transform: translate3d(0, 0, 28px) scale(1.005); }
  50% { transform: translate3d(0, -9px, 38px) scale(1.018); }
}

@keyframes signal-wave {
  0%, 100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.025);
  }
}

@keyframes interface-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(15, 98, 173, 0); transform: translateY(0); }
  50% { box-shadow: 0 8px 18px rgba(15, 98, 173, 0.13); transform: translateY(-3px); }
}

@keyframes workflow-breathe {
  0%, 100% { border-color: rgba(255, 255, 255, 0); transform: translateY(0); }
  50% { border-color: rgba(255, 144, 0, 0.55); transform: translateY(-4px); }
}

.gateway-intro .eyebrow,
.gateway-intro h1,
.gateway-intro .gateway-lead {
  animation: gateway-rise 720ms cubic-bezier(0.2, 0.72, 0.2, 1) backwards;
}

.gateway-intro h1 { animation-delay: 90ms; }
.gateway-intro .gateway-lead { animation-delay: 180ms; }

.brand--official {
  animation: gateway-rise 600ms ease-out backwards;
}

.choice-card__art--business img {
  animation: mark-float 6s ease-in-out infinite;
}

.choice-card__art--personal img {
  animation: portrait-drift 7s ease-in-out infinite;
}

.signal {
  animation: signal-wave 5.2s ease-in-out infinite;
}

.signal--two { animation-delay: -1.7s; }
.signal--three { animation-delay: -3.4s; }

.demo-portal-main > div span {
  animation: interface-pulse 3.8s ease-in-out infinite;
}

.demo-portal-main > div span:nth-child(2) { animation-delay: -1.25s; }
.demo-portal-main > div span:nth-child(3) { animation-delay: -2.5s; }

.demo-preview--automation > div,
.workflow > div {
  animation: workflow-breathe 4.4s ease-in-out infinite;
  border: 1px solid transparent;
}

.demo-preview--automation > div:nth-of-type(2),
.workflow > div:nth-child(2) { animation-delay: -0.8s; }

.demo-preview--automation > div:nth-of-type(3),
.workflow > div:nth-child(3) { animation-delay: -1.6s; }

.demo-preview--automation > div:nth-of-type(4),
.workflow > div:nth-child(4) { animation-delay: -2.4s; }

.workflow > div:nth-child(5) { animation-delay: -3.2s; }

[data-tilt] {
  --glow-x: 50%;
  --glow-y: 50%;
  --tilt-lift: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  transform-style: preserve-3d;
}

[data-tilt].is-tilt-ready:not(.reveal),
[data-tilt].is-tilt-ready.reveal.is-visible {
  transform: perspective(1100px) translate3d(0, var(--tilt-lift), 0)
             rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: box-shadow 420ms ease,
              transform 420ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

[data-tilt].is-tilt-ready.is-tilting {
  box-shadow: 0 24px 60px rgba(2, 14, 28, 0.24);
  transition-duration: 90ms;
  z-index: 4;
}

[data-tilt].is-tilt-ready:hover,
[data-tilt].is-tilt-ready:focus-within {
  --tilt-lift: -4px;
}

.choice-card[data-tilt].is-tilt-ready:hover,
.choice-card[data-tilt].is-tilt-ready:focus-visible {
  --tilt-lift: -8px;
}

.tilt-glow {
  background: radial-gradient(
    circle at var(--glow-x) var(--glow-y),
    rgba(255, 255, 255, 0.52),
    rgba(255, 255, 255, 0.08) 22%,
    transparent 52%
  );
  border-radius: inherit;
  inset: -1px;
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 240ms ease;
  z-index: 10;
}

.is-tilting > .tilt-glow,
[data-tilt]:focus-within > .tilt-glow {
  opacity: 0.58;
}

.choice-card.is-tilt-ready .choice-card__topline,
.choice-card.is-tilt-ready .choice-card__copy {
  transform: translateZ(38px);
}

.choice-card.is-tilt-ready .choice-card__art {
  transform: translateZ(18px) scale(0.985);
}

.demo-card.is-tilt-ready .demo-preview,
.project-card.is-tilt-ready > a {
  transform: translateZ(22px) scale(0.99);
}

.demo-card.is-tilt-ready .demo-card__copy,
.project-card.is-tilt-ready > div {
  transform: translateZ(14px);
}

.service-card.is-tilt-ready > :not(.tilt-glow),
.expertise-card.is-tilt-ready > :not(.tilt-glow),
.automation-card.is-tilt-ready > :not(.tilt-glow) {
  position: relative;
  transform: translateZ(16px);
  z-index: 1;
}

.personal-hero__portrait.is-tilt-ready img {
  transform: translateX(-50%) translateZ(30px) scale(1.012);
}

.founder-band__portrait.is-tilt-ready img,
.personal-contact__portrait.is-tilt-ready img {
  transform: translateZ(24px) scale(1.012);
}

[data-parallax-scene] {
  --scene-node-x: 0px;
  --scene-node-y: 0px;
  --scene-x: 0px;
  --scene-y: 0px;
}

.operations-board[data-parallax-scene] .operations-board__brand {
  transform: translate(-50%, -50%) translate3d(var(--scene-x), var(--scene-y), 0);
  transition: transform 180ms ease-out;
}

.operations-board[data-parallax-scene] .operations-node {
  transform: translate3d(var(--scene-node-x), var(--scene-node-y), 0);
  transition: box-shadow 240ms ease, transform 180ms ease-out;
}

.operations-board[data-parallax-scene]:hover .operations-node {
  box-shadow: 0 16px 34px rgba(2, 14, 28, 0.2);
}

.button {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.button::after {
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.46), transparent 75%);
  content: "";
  inset: -35% -65%;
  mix-blend-mode: soft-light;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  transform: translateX(-55%) skewX(-18deg);
  transition: transform 520ms ease;
  z-index: 0;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(55%) skewX(-18deg);
}

.magnetic-target {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
  transition: background-color 180ms ease, color 180ms ease,
              transform 160ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.button.magnetic-target:hover,
.button.magnetic-target:focus-visible {
  transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - 2px), 0);
}

.cursor-light {
  --cursor-x: 50vw;
  --cursor-y: 35vh;
  background: radial-gradient(circle, rgba(64, 160, 255, 0.34), rgba(15, 98, 173, 0.08) 38%, transparent 70%);
  border-radius: 50%;
  height: 460px;
  left: var(--cursor-x);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: var(--cursor-y);
  transform: translate(-50%, -50%);
  transition: opacity 280ms ease;
  width: 460px;
  z-index: 80;
}

.cursor-light.is-visible {
  opacity: 0.18;
}

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

  .reveal {
    filter: none;
    opacity: 1;
    transform: none;
  }

  [data-tilt],
  .magnetic-target {
    transform: none !important;
  }

  .cursor-light,
  .tilt-glow {
    display: none !important;
  }
}
