:root {
  --bg: #050608;
  --panel: #10141a;
  --text: #f4efe7;
  --muted: #aaa49a;
  --soft: #6f7782;
  --line: rgba(244, 239, 231, 0.14);
  --blue: #4ea3ff;
  --accent: #77b7ff;
  --yellow: #d17835;
  --container: min(1220px, calc(100% - 40px));
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  background: var(--bg);
  scrollbar-color: rgba(244, 239, 231, 0.32) var(--bg);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 18%, rgba(78, 163, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 12% 5%, rgba(244, 239, 231, 0.07), transparent 24rem),
    linear-gradient(135deg, #050608 0%, #080b10 48%, #030405 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(244, 239, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 231, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(244, 239, 231, 0.08);
  background: rgba(5, 6, 8, 0.58);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 74px;
  margin: 0 auto;
}

.brand,
.nav-links a,
.nav-connect,
.intro,
.location,
.proof,
.tech-strip,
.section-kicker,
.project-meta,
.stack,
.next-project p {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 38px;
  padding: 0;
  border: 1px solid rgba(244, 239, 231, 0.14);
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.64);
  color: var(--text);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--yellow);
  border-color: rgba(209, 120, 53, 0.54);
  background: rgba(7, 10, 16, 0.82);
}

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

.brand span {
  display: none;
}

.mobile-nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand .mobile-nav-icon {
  width: 21px;
  height: 21px;
  stroke-width: 2.35;
}

.nav-menu-toggle {
  display: none;
  border: 1px solid rgba(244, 239, 231, 0.14);
  background: rgba(5, 6, 8, 0.78);
  color: var(--text);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  color: var(--muted);
}

.nav-links a,
.nav-connect {
  position: relative;
  padding: 0.7rem 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.nav-links a::after,
.nav-connect::after {
  position: absolute;
  right: 0;
  bottom: 0.38rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-connect:hover,
.nav-connect:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-connect:hover::after,
.nav-connect:focus-visible::after,
.nav-connect[aria-expanded="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-connect[aria-expanded="true"] {
  color: var(--text);
}

.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  width: var(--container);
  margin: 0 auto;
}

.shell {
  position: relative;
  min-height: 100%;
  outline: none;
}

.content-panel {
  min-height: 100%;
  padding: clamp(3rem, 5.5vw, 4.6rem) 0 clamp(3rem, 5vw, 4rem);
  outline: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.content-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.content-panel.is-exiting {
  opacity: 0;
  transform: translateY(-6px);
}

.home-panel {
  position: relative;
  display: grid;
  align-items: center;
}

.home-intro {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.home-kicker-row {
  display: flex;
  gap: clamp(1.1rem, 2vw, 1.55rem);
  align-items: center;
  width: 100%;
  margin-bottom: clamp(1.3rem, 2.4vw, 2rem);
}

.mask-line {
  display: block;
  margin: 0;
  overflow: visible;
}

.mask-line > span {
  display: block;
  opacity: 0;
  transform: translateY(105%);
  animation: masked-rise 680ms cubic-bezier(0.2, 0.72, 0.16, 1) forwards;
}

.home-role > span {
  animation-delay: 980ms;
}

.home-intro.is-replaying .mask-line > span {
  animation-name: none;
}

.home-intro.is-replaying.is-ready .mask-line > span {
  animation-name: masked-rise;
}

.home-intro.is-replaying .home-rule {
  animation-name: none;
  transform: scaleX(0);
}

.home-intro.is-replaying.is-ready .home-rule {
  animation-name: rule-draw;
}

.eyebrow {
  color: #a9a49b;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
}

.home-rule {
  display: block;
  flex: 1;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  animation: rule-draw 520ms ease-out 180ms forwards;
}

.home-name-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.15rem, 2vw, 1.6rem);
  align-items: start;
  width: max-content;
  max-width: 100%;
}

.home-title {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 0.09em;
  max-width: none;
  margin: 0;
  padding-left: 0.055em;
  color: #f4efe7;
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: clamp(72px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.type-word {
  display: inline-flex;
  white-space: nowrap;
}

.type-word + .type-word {
  margin-left: 0.22em;
}

.type-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.1em);
  animation: type-letter 48ms linear forwards;
  animation-delay: calc(380ms + (var(--i) * 68ms));
}

.home-role {
  margin: 0;
  color: var(--yellow);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.home-role.mask-line {
  overflow: visible;
}

.home-signoff {
  position: absolute;
  right: 0;
  bottom: clamp(3rem, 5vw, 4rem);
  left: 0;
  margin: 0;
  color: var(--muted);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: home-signoff-dust 640ms ease-out 1.22s forwards;
}

.home-signoff.is-replaying {
  animation-name: none;
}

.home-signoff.is-replaying.is-ready {
  animation-name: home-signoff-dust;
}

@keyframes masked-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes type-letter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-signoff-dust {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(10px);
  }

  58% {
    opacity: 0.72;
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes rule-draw {
  to {
    transform: scaleX(1);
  }
}

.editorial-panel {
  display: grid;
  align-content: center;
  max-width: 940px;
}

.editorial-panel h2,
.about-panel h2 {
  max-width: 900px;
  color: var(--text);
  font-size: clamp(3rem, 7vw, 7.2rem);
  font-weight: 650;
  line-height: 0.92;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(360px, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.experience-grid > p {
  margin: 0;
  padding-top: 1.4rem;
  color: #d7d0c6;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.metric-list,
.principles {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-list li,
.principles li {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.metric-list strong {
  color: var(--accent);
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.metric-list span,
.principles li,
.about-copy p,
.setup-intro p,
.setup-item p,
.setup-list li {
  color: #d17835;
}

.setup-panel {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto;
}

.setup-intro {
  display: block;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.setup-intro .section-kicker {
  color: var(--soft);
}

.setup-intro h2 {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--text);
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 700;
  line-height: 0.96;
}

.setup-intro p:last-child {
  max-width: 720px;
  margin: clamp(2.2rem, 4vw, 3.2rem) 0 0;
  color: #d3ccc2;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.setup-grid {
  display: block;
  border-top: 0;
}

.setup-category {
  padding: clamp(1.55rem, 3vw, 2.25rem) 0 0;
  border-bottom: 0;
}

.setup-category > p {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.setup-item {
  position: relative;
  display: block;
  padding: 0.28rem 0 0.28rem 1.4rem;
}

.setup-item h3 {
  display: inline;
  color: #eee8de;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
}

.setup-item::before,
.setup-list li::before {
  position: absolute;
  left: 0;
  color: #aaa49a;
  content: "•";
}

.setup-item p {
  display: inline;
  margin: 0;
  line-height: 1.55;
}

.setup-item p::before {
  color: #777f8c;
  content: " — ";
}

.setup-list {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-list li {
  position: relative;
  padding: 0.05rem 0 0.05rem 1.4rem;
  border-bottom: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
}

.setup-panel {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 72px;
  padding-bottom: 112px;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

.setup-intro {
  max-width: 760px;
  padding-bottom: 48px;
}

.setup-intro h2 {
  margin: 0;
  color: #d17835;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.setup-intro p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d7d0c6;
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 400;
  line-height: 1.6;
}

.setup-panel .setup-intro p:last-child {
  margin-top: 20px;
}

.setup-intro p + p {
  margin: 18px 0;
}

.setup-workflow {
  transition: opacity 220ms ease, transform 220ms ease;
}

.setup-workflow.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.setup-workflow-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.setup-workflow-head h3 {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.setup-workflow-head p {
  margin: 14px 0 0;
  color: #bcb5ac;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.setup-category {
  display: grid;
  grid-template-columns: minmax(160px, 0.26fr) minmax(0, 0.74fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.setup-category > p {
  margin: 0;
  padding-top: 22px;
  color: var(--accent);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.setup-items {
  display: grid;
  gap: 24px;
  padding-top: 22px;
}

.setup-item {
  display: block;
  padding: 0;
}

.setup-item::before,
.setup-list li::before,
.setup-item p::before {
  content: none;
}

.setup-item h4 {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: uppercase;
}

.setup-item p {
  display: block;
  max-width: 620px;
  margin: 4px 0 0;
  color: #c7c0b7;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.setup-note {
  grid-column: 2;
  max-width: 620px;
  margin: 18px 0 0;
  color: #9fa6b2;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.setup-switcher {
  position: fixed;
  right: 50%;
  bottom: 24px;
  z-index: 11;
  display: none;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(244, 239, 231, 0.24);
  border-radius: 7px;
  background: rgba(19, 19, 21, 0.94);
  backdrop-filter: blur(10px);
  transform: translateX(50%);
}

body[data-active-panel="setup"] .setup-switcher {
  display: flex;
}

.setup-switcher button {
  min-height: 28px;
  min-width: 82px;
  padding: 0 16px;
  color: #f4efe7;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.setup-switcher button.is-active {
  color: #f4efe7;
  background: var(--yellow);
  box-shadow: none;
}

.setup-switcher button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.experience-panel {
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  padding-top: 72px;
}

.experience-intro h2 {
  color: #d17835;
}

.experience-intro {
  padding-bottom: 42px;
}

.experience-intro p {
  margin-top: 18px;
}

.experience-intro p:last-child {
  margin-top: 18px;
}

.experience-tabs {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 52px;
  width: 100%;
  margin: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.experience-tabs button {
  position: relative;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8f887f;
  cursor: pointer;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.experience-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.experience-tabs button.is-active {
  color: var(--text);
}

.experience-tabs button.is-active::after {
  background: #d17835;
}

.experience-tabs button:focus-visible,
.map-marker:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.mobile-tab-label {
  display: none;
}

.experience-workflow {
  transition: opacity 220ms ease, transform 220ms ease;
}

.experience-workflow.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.experience-workflow-summary {
  max-width: 760px;
  margin: 0 0 28px;
  color: #c7c0b7;
  font-size: 17px;
  line-height: 1.55;
}

.experience-workflow-title {
  display: none;
}

.experience-panel .setup-workflow-head h3 {
  font-size: clamp(28px, 4vw, 44px);
}

.experience-panel .setup-category > p {
  font-size: 12px;
}

.experience-panel .setup-item h4 {
  font-size: 18px;
}

.experience-panel .setup-item p {
  max-width: 680px;
  font-size: 17px;
}

.previous-timeline {
  --timeline-rail-x: 30px;
  --timeline-card-offset: 58px;
  --timeline-node-size: 14px;
  --timeline-label-x: 50px;
  position: relative;
  display: grid;
  gap: 46px;
  padding: 32px 0 0 var(--timeline-card-offset);
}

.previous-timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: var(--timeline-rail-x);
  width: 1px;
  z-index: 0;
  content: "";
  background: linear-gradient(#d17835, rgba(209, 120, 53, 0.72), rgba(244, 239, 231, 0.14));
}

.previous-card {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.previous-marker {
  position: absolute;
  top: -23px;
  left: calc(var(--timeline-rail-x) - var(--timeline-card-offset) - (var(--timeline-node-size) / 2));
  width: var(--timeline-node-size);
  height: var(--timeline-node-size);
  z-index: 3;
  border: 2px solid #d17835;
  border-radius: 999px;
  background: #070a10;
  box-shadow: 0 0 0 5px rgba(209, 120, 53, 0.08);
  transform: translateY(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.previous-card.is-visible .previous-marker {
  background: #d17835;
  border-color: #d17835;
  box-shadow: 0 0 0 5px rgba(209, 120, 53, 0.13), 0 0 22px rgba(209, 120, 53, 0.36);
  transform: translateY(-50%) scale(1.08);
}

.previous-card-main {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: start;
  height: 250px;
  padding: 26px 30px;
  border: 1px solid rgba(244, 239, 231, 0.13);
  background: rgba(7, 10, 16, 0.74);
  transition: border-color 180ms ease, background 180ms ease;
}

.previous-card-main:hover {
  border-color: rgba(209, 120, 53, 0.38);
  background: rgba(10, 13, 20, 0.82);
}

.previous-card-left,
.previous-card-right {
  min-width: 0;
}

.previous-card-left {
  padding-right: 28px;
}

.previous-badge {
  position: absolute;
  top: -31px;
  left: calc(var(--timeline-label-x) - var(--timeline-card-offset));
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #9fb0ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.previous-card h4 {
  max-width: 360px;
  margin: 6px 0 10px;
  color: #d17835;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
}

.previous-card p,
.previous-card time {
  display: block;
  margin: 0;
  color: #c7c0b7;
  font-size: 14px;
  line-height: 1.45;
}

.previous-card p {
  color: #f4efe7;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.previous-card time {
  margin-top: 5px;
}

.previous-card h5 {
  margin: 0 0 10px;
  color: #f4efe7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.previous-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #c7c0b7;
  font-size: 14px;
  line-height: 1.42;
}

.previous-card li::marker {
  color: #d17835;
}

.experience-compact-list .setup-item + .setup-item {
  padding-top: 20px;
  border-top: 1px solid rgba(244, 239, 231, 0.1);
}

.experience-note {
  grid-column: auto;
  font-size: 17px;
}

.delivery-map-card {
  --client-orange: #D17835;
  --client-orange-hover: #E5904A;
  --client-orange-selected: #F0A05A;
  --client-orange-glow: rgba(209, 120, 53, 0.30);
  --route-violet: #8fa6ff;
  display: grid;
  gap: 28px;
  --map-card-pad: clamp(1rem, 2vw, 1.4rem);
  margin: 18px 0 18px calc(-1 * var(--map-card-pad));
  padding: var(--map-card-pad);
  border: 1px solid rgba(244, 239, 231, 0.12);
  background:
    radial-gradient(circle at 84% 40%, rgba(143, 166, 255, 0.09), transparent 24%),
    radial-gradient(circle at 52% 50%, rgba(22, 31, 45, 0.42), transparent 55%),
    #070a10;
}

.delivery-map-copy h4 {
  margin: 0;
  color: var(--client-orange);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: uppercase;
}

.delivery-map-copy .map-eyebrow {
  margin: 0 0 8px;
  color: #d7d0c6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivery-map-copy p {
  max-width: 620px;
  margin: 6px 0 0;
  color: #c7c0b7;
  font-size: 17px;
  line-height: 1.55;
}

.delivery-map-copy {
  padding-bottom: 4px;
}

.delivery-map-frame {
  position: relative;
  display: grid;
}

.delivery-map-stage {
  position: relative;
  aspect-ratio: 960 / 470;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.1);
  background: #070a10;
}

.bare-world-map {
  display: grid;
  place-items: center;
}

.bare-world-map::before {
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(143, 166, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 120px transparent,
    0 0 0 121px rgba(143, 166, 255, 0.04),
    inset 0 0 0 1px rgba(143, 166, 255, 0.035);
  content: "";
  pointer-events: none;
}

.bare-world-map::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 41%, rgba(169, 185, 255, 0.08), transparent 13%),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(143, 166, 255, 0.025) 59px, transparent 60px);
  content: "";
  pointer-events: none;
}

.bare-world-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.delivery-routes,
.delivery-node-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.delivery-routes {
  pointer-events: none;
  z-index: 2;
}

.route,
.state-branch {
  fill: none;
  stroke: rgba(120, 135, 154, 0.34);
  stroke-linecap: round;
  stroke-width: 1;
}

.route {
  opacity: 1;
  stroke: rgba(143, 166, 255, 0.34);
}

.route.is-dimmed {
  opacity: 0.38;
}

.route.is-highlight,
.state-branch.is-active {
  filter: drop-shadow(0 0 5px rgba(143, 166, 255, 0.42));
  stroke: var(--route-violet);
  stroke-width: 1.5;
}

.route-pulse {
  fill: #a9b9ff;
  filter: drop-shadow(0 0 6px rgba(169, 185, 255, 0.72));
  pointer-events: none;
}

.route-pulse.is-dimmed {
  opacity: 0.38;
}

.delivery-map-frame.is-paused .route-pulse,
.delivery-map-frame.is-paused .legend-route::after {
  animation-play-state: paused;
}

.delivery-node-layer {
  z-index: 3;
}

.delivery-node {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9298a3;
  cursor: pointer;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.delivery-node::before {
  position: absolute;
  inset: 7px;
  border: 1px solid transparent;
  content: "";
}

.delivery-node:hover::before,
.delivery-node:focus-visible::before,
.delivery-node.is-selected::before {
  border-color: rgba(240, 160, 90, 0.68);
}

.delivery-node:focus-visible {
  outline: 2px solid rgba(240, 160, 90, 0.8);
  outline-offset: 2px;
}

.node-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: inherit;
  pointer-events: none;
}

.node-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px rgba(143, 166, 255, 0.35);
}

.node-label {
  position: absolute;
  top: 50%;
  left: calc(50% + 16px);
  color: #c7c0b7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(-50%);
  white-space: nowrap;
}

.delivery-node.is-right-edge .node-label {
  right: calc(50% + 16px);
  left: auto;
}

.delivery-node[data-kind="source"] {
  color: #bda8ff;
  z-index: 4;
}

.delivery-node[data-kind="source"] .node-label {
  color: #e7e1ff;
}

.delivery-node[data-kind="source"] .node-label::after {
  display: block;
  margin-top: 4px;
  color: #a9b9ff;
  font-size: 8px;
  letter-spacing: 0.12em;
  content: "REMOTE DELIVERY BASE";
}

.delivery-node[data-kind="source"] .node-dot {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 7px;
  height: 7px;
  animation: hub-pulse 3s ease-in-out infinite;
  transform: translateX(-50%);
}

.delivery-node[data-kind="hub"] {
  color: var(--client-orange);
  z-index: 5;
}

.delivery-node[data-kind="hub"] .node-icon::after {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 7px var(--client-orange-glow);
  content: "";
}

.delivery-node[data-kind="hub"]:hover,
.delivery-node[data-kind="hub"]:focus-visible,
.delivery-node[data-kind="hub"].is-preview {
  color: var(--client-orange-hover);
  filter: drop-shadow(0 0 9px var(--client-orange-glow));
}

.delivery-node[data-kind="hub"].is-selected {
  color: var(--client-orange-selected);
  filter: drop-shadow(0 0 11px var(--client-orange-glow));
}

.delivery-node[data-kind="hub"].is-selected .node-label,
.delivery-node[data-kind="hub"].is-preview .node-label,
.delivery-node[data-kind="hub"]:hover .node-label,
.delivery-node[data-kind="hub"]:focus-visible .node-label {
  color: #f4efe7;
}

.delivery-node.is-selected,
.delivery-node.is-preview {
  color: var(--route-violet);
}

.delivery-node.is-selected .node-dot,
.delivery-node.is-preview .node-dot {
  box-shadow: 0 0 9px rgba(143, 166, 255, 0.72);
}

.delivery-node[data-kind="hub"].is-selected,
.delivery-node[data-kind="hub"].is-preview {
  color: var(--client-orange-selected);
}

.delivery-node.is-dimmed {
  opacity: 0.58;
}

.delivery-popover {
  position: absolute;
  z-index: 4;
  width: min(220px, calc(100% - 28px));
  padding: 12px 13px;
  border: 1px solid rgba(143, 166, 255, 0.38);
  background: rgba(7, 10, 16, 0.96);
  color: #d7d0c6;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.delivery-popover::before {
  position: absolute;
  width: 8px;
  height: 8px;
  background: inherit;
  border-top: 1px solid rgba(143, 166, 255, 0.38);
  border-left: 1px solid rgba(143, 166, 255, 0.38);
  content: "";
  transform: rotate(-45deg);
}

.delivery-popover[data-side="right"]::before {
  left: -5px;
  top: 18px;
}

.delivery-popover[data-side="left"]::before {
  right: -5px;
  top: 18px;
  transform: rotate(135deg);
}

.delivery-popover[data-side="below"]::before {
  top: -5px;
  left: 18px;
  transform: rotate(45deg);
}

.delivery-popover[data-side="above"]::before {
  bottom: -5px;
  left: 18px;
  transform: rotate(225deg);
}

.delivery-popover strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-popover span {
  display: block;
  color: var(--client-orange-selected);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-popover p {
  margin: 6px 0 0;
}

.delivery-map-legend {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: grid;
  gap: 7px;
  min-width: 210px;
  padding: 11px 12px;
  border: 1px solid rgba(244, 239, 231, 0.14);
  background: rgba(7, 10, 16, 0.82);
  color: #c7c0b7;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.2;
}

.delivery-map-legend strong {
  color: #f4efe7;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivery-map-legend span {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 7px;
}

.legend-icon {
  display: inline-block;
  width: 15px;
  height: 12px;
  border: 1.5px solid currentColor;
}

.legend-laptop {
  color: #bda8ff;
  border-radius: 2px;
  box-shadow: 0 6px 0 -5px currentColor;
}

.legend-building {
  position: relative;
  height: 16px;
  color: var(--client-orange);
}

.legend-building::before,
.legend-building::after {
  position: absolute;
  top: 4px;
  width: 2px;
  height: 2px;
  background: currentColor;
  box-shadow: 5px 0 0 currentColor, 0 5px 0 currentColor, 5px 5px 0 currentColor;
  content: "";
}

.legend-building::before {
  left: 3px;
}

.legend-building::after {
  display: none;
}

.legend-route {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(143, 166, 255, 0.52);
  overflow: hidden;
}

.legend-route::after {
  position: absolute;
  top: -1px;
  left: -5px;
  width: 5px;
  height: 3px;
  border-radius: 999px;
  background: #a9b9ff;
  box-shadow: 0 0 7px rgba(169, 185, 255, 0.72);
  animation: legend-route-pulse 2.4s linear infinite;
  content: "";
}

.delivery-region-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 239, 231, 0.1);
}

.delivery-region-summary button {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  text-align: left;
  opacity: 0.62;
}

.delivery-region-summary button.is-active,
.delivery-region-summary button:hover,
.delivery-region-summary button:focus-visible {
  opacity: 1;
}

.delivery-region-summary button:focus-visible {
  outline: 2px solid #8fa6ff;
  outline-offset: 5px;
}

.delivery-region-summary strong {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.delivery-region-summary span {
  color: #c7c0b7;
  font-size: 12px;
  line-height: 1.4;
}

@keyframes legend-route-pulse {
  to {
    transform: translateX(36px);
  }
}

@keyframes hub-pulse {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(189, 168, 255, 0.45);
  }

  50% {
    box-shadow: 0 0 14px rgba(189, 168, 255, 0.74);
  }
}

.map-graticule path {
  fill: none;
  stroke: rgba(244, 239, 231, 0.045);
  stroke-width: 1;
}

.delivery-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-land {
  fill: rgba(199, 192, 183, 0.15);
  stroke: rgba(199, 192, 183, 0.32);
  stroke-width: 1.2;
}

.map-line {
  fill: none;
  stroke: rgba(199, 192, 183, 0.23);
  stroke-linecap: round;
  stroke-width: 2;
}

.map-line-emea {
  stroke: rgba(199, 192, 183, 0.14);
}

.delivery-map-card[data-selected-region="apj"] .map-line-apj,
.delivery-map-card[data-selected-region="amer"] .map-line-amer,
.delivery-map-card[data-selected-region="emea"] .map-line-emea {
  stroke: rgba(119, 183, 255, 0.95);
  stroke-width: 2.5;
}

.map-signal {
  fill: rgba(119, 183, 255, 0.95);
  opacity: 0.9;
}

.map-origin,
.map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #c7c0b7;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  text-align: left;
  transform: translate(-50%, -50%);
}

.map-marker {
  cursor: pointer;
}

.map-origin {
  color: #d7d0c6;
}

.map-origin::after {
  position: absolute;
  top: 50%;
  left: -6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(119, 183, 255, 0.95);
  content: "";
  transform: translateY(-50%);
}

.map-marker:hover,
.map-marker.is-selected {
  border-color: rgba(119, 183, 255, 0.5);
  background: rgba(9, 11, 15, 0.45);
  color: var(--text);
}

.map-origin strong,
.map-marker strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.map-origin span,
.map-marker span {
  font-size: 12px;
  line-height: 1.25;
}

.map-origin span {
  display: block;
}

.map-marker span {
  display: none;
}

.map-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 12px;
  border: 1px solid currentColor;
}

.map-icon.laptop::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 13px 0 0 -4px;
  background: currentColor;
  content: "";
}

.map-icon.building {
  height: 18px;
  background:
    linear-gradient(currentColor 0 0) 4px 4px / 2px 2px no-repeat,
    linear-gradient(currentColor 0 0) 10px 4px / 2px 2px no-repeat,
    linear-gradient(currentColor 0 0) 4px 10px / 2px 2px no-repeat,
    linear-gradient(currentColor 0 0) 10px 10px / 2px 2px no-repeat;
}

.map-status {
  display: grid;
  gap: 3px;
  position: static;
  max-width: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(244, 239, 231, 0.1);
  color: #d7d0c6;
  font-size: 14px;
  line-height: 1.4;
}

.map-status strong {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-status span {
  color: #c7c0b7;
}

.about-panel {
  display: block;
}

.about-copy {
  max-width: 760px;
}

.about-panel .about-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #d17835;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.about-copy .section-kicker {
  margin: 0 0 16px;
  color: var(--soft);
}

.about-copy p:not(.section-kicker) {
  max-width: 680px;
  margin: 20px 0 0;
  color: #d7d0c6;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.6;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
  width: min(1040px, 100%);
  margin-top: clamp(48px, 5vw, 64px);
  margin-right: auto;
  margin-left: auto;
}

.hobby-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.14);
  border-radius: 8px;
  background: #0d1015;
  transition: border-color 180ms ease;
}

.hobby-card::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  height: 58%;
  content: "";
  background: linear-gradient(transparent, rgba(5, 6, 8, 0.72) 42%, rgba(5, 6, 8, 0.96));
  pointer-events: none;
}

.hobby-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.hobby-shot-stack {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: inherit;
}

.hobby-shot-stack .shot {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hobby-shot-stack .shot.is-front {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.hobby-shot-stack .shot.is-second {
  left: 50%;
  top: 50%;
  opacity: 0.78;
  transform: translate(-50%, -50%) rotate(-2.4deg) scale(0.96);
}

.hobby-shot-stack .shot.is-third {
  left: 50%;
  top: 50%;
  opacity: 0.52;
  transform: translate(-50%, -50%) rotate(2.6deg) scale(0.92);
}

.hobby-shot-stack .shot.is-fourth {
  left: 50%;
  top: 50%;
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(-3.4deg) scale(0.88);
}

.hobby-card:nth-child(1) .shot {
  object-position: 50% 50%;
}

.hobby-card:nth-child(2) .shot {
  object-position: 50% 50%;
}

.hobby-card:nth-child(3) .shot {
  object-position: 50% 45%;
}

.hobby-card:nth-child(4) .shot {
  object-position: 48% 42%;
}

.hobby-card-copy {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 7;
  pointer-events: none;
}

.hobby-card h3 {
  margin: 0;
  color: #f4efe7;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hobby-card p {
  max-width: 16rem;
  margin: 0.5rem 0 0;
  color: #c7c0b7;
  font-size: 14px;
  line-height: 1.35;
  opacity: 1;
}

.hobby-card:hover,
.hobby-card:focus-within {
  border-color: rgba(209, 120, 53, 0.48);
}

.hobby-card:hover .shot.is-front,
.hobby-card:focus-within .shot.is-front {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.035);
}

.connect-toolbar {
  position: fixed;
  top: 50%;
  right: max(28px, calc(env(safe-area-inset-right) + 18px));
  z-index: 20;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 0;
  padding: 14px 8px;
  border: 1px solid rgba(244, 239, 231, 0.14);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: #f4efe7;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(12px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
  backdrop-filter: blur(18px);
}

body.is-connect-toolbar-open .connect-toolbar {
  border-color: rgba(209, 120, 53, 0.34);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.connect-toolbar-label {
  display: none;
}

.connect-toolbar-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(244, 239, 231, 0.18);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.88);
  color: #f4efe7;
  cursor: pointer;
  overflow: visible;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.connect-toolbar-link svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.connect-toolbar-link span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 8px 10px;
  border: 1px solid rgba(209, 120, 53, 0.42);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.92);
  color: #f4efe7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(6px);
  text-transform: uppercase;
  transition: opacity 160ms ease, transform 160ms ease;
}

.connect-toolbar-link:hover,
.connect-toolbar-link:focus-visible {
  color: #d17835;
  border-color: rgba(209, 120, 53, 0.74);
  box-shadow: 0 0 22px rgba(209, 120, 53, 0.14);
  transform: translateX(-2px);
}

.connect-toolbar-link.is-clicked {
  background: rgba(209, 120, 53, 0.16);
  color: #d17835;
}

.connect-toolbar-link:hover span,
.connect-toolbar-link:focus-visible span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.connect-toolbar-link:focus-visible {
  outline: 2px solid #d17835;
  outline-offset: 4px;
}

.scroll-top-button {
  position: fixed;
  right: max(28px, calc(env(safe-area-inset-right) + 18px));
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 19;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(244, 239, 231, 0.16);
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.78);
  color: #f4efe7;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(18px);
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  border-color: rgba(209, 120, 53, 0.74);
  color: #d17835;
  box-shadow: 0 0 22px rgba(209, 120, 53, 0.14);
}

.scroll-top-button:focus-visible {
  outline: 2px solid #d17835;
  outline-offset: 4px;
}

.scroll-top-button svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.site-footer {
  display: none;
  border-top: 1px solid var(--line);
}

body[data-active-panel="home"] .site-footer {
  display: block;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 3.2vw, 3rem) 0;
}

.footer-mark {
  display: grid;
  gap: 0.35rem;
}

.footer-mark strong,
.footer-mark span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-mark span {
  color: var(--soft);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a,
.footer-connect-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #d8d1c7;
  background: transparent;
  border: 1px solid rgba(244, 239, 231, 0.16);
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-connect-button:hover,
.footer-connect-button:focus-visible {
  color: var(--yellow);
  border-color: rgba(230, 186, 36, 0.65);
  transform: translateY(-2px);
}

.footer-links a:focus-visible,
.footer-connect-button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.footer-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-connect-button svg {
  display: none;
}

.footer-connect-button::before {
  content: "C";
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 5.7rem);
  min-height: 0;
  padding: clamp(4rem, 7vw, 6.5rem) 0 5.5rem;
}

.hero-copy {
  max-width: 760px;
}

.intro,
.location {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Inter Tight", Inter, sans-serif;
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-top: 1.2rem;
  font-size: clamp(3.8rem, 7.4vw, 7.1rem);
  font-weight: 700;
}

h1 span {
  display: block;
}

.statement {
  max-width: 620px;
  margin: 1.5rem 0 1.35rem;
  color: #d7d0c6;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(78, 163, 255, 0.65);
  box-shadow: 0 18px 42px rgba(78, 163, 255, 0.15);
}

.button.primary {
  border-color: rgba(78, 163, 255, 0.56);
  background: linear-gradient(135deg, rgba(78, 163, 255, 0.92), rgba(118, 183, 255, 0.74));
  color: #04101f;
}

.button.secondary {
  color: var(--text);
  background: rgba(244, 239, 231, 0.03);
}

.hero-portrait {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.15);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-portrait:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 163, 255, 0.42);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}

.proof,
.tech-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof span,
.tech-strip span {
  min-height: 78px;
  padding: 1.25rem 1.4rem;
  color: #dcd5cc;
  border-right: 1px solid var(--line);
}

.proof span:last-child,
.tech-strip span:last-child {
  border-right: 0;
}

.tech-strip {
  grid-template-columns: repeat(8, 1fr);
  border-top: 0;
}

.tech-strip span {
  min-height: 56px;
  color: var(--soft);
  font-size: 0.68rem;
}

.selected {
  display: block;
  max-width: 760px;
  padding: 0 0 44px;
}

.section-kicker,
.project-meta,
.stack,
.next-project p {
  color: var(--soft);
}

.section-head h2 {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #d17835;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-head p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d7d0c6;
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 400;
  line-height: 1.58;
}

.project-category-tabs {
  display: flex;
  gap: 22px;
  margin: 0 0 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(244, 239, 231, 0.14);
  overflow-x: auto;
  scrollbar-width: none;
}

.project-category-tabs::-webkit-scrollbar {
  display: none;
}

.project-category-tabs button {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: #8f887f;
  cursor: pointer;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-category-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.project-category-tabs button.is-active {
  color: var(--text);
}

.project-category-tabs button.is-active::after {
  background: #d17835;
}

.project-category-tabs button:focus-visible {
  outline: 2px solid #d17835;
  outline-offset: 5px;
}

.project-category-panel {
  transition: opacity 180ms ease;
}

.project-category-panel.is-switching {
  opacity: 0;
}

.pipeline-list {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 231, 0.14);
}

.pipeline-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
}

.pipeline-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.08;
}

.pipeline-card p {
  margin: 8px 0 0;
  color: #c7c0b7;
  font-size: 15px;
  line-height: 1.55;
}

.pipeline-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pipeline-link:focus-visible {
  outline: 2px solid #d17835;
  outline-offset: 4px;
}

.pipeline-meta,
.pipeline-status {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pipeline-status {
  justify-self: end;
  color: #d17835;
  white-space: nowrap;
}

.pipeline-empty {
  padding: 22px 0;
  border-top: 1px solid rgba(244, 239, 231, 0.14);
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
  color: #c7c0b7;
  font-size: 15px;
}

.work-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding-top: 28px;
  border-top: 1px solid rgba(244, 239, 231, 0.14);
  background:
    radial-gradient(circle at 52% 44%, rgba(78, 163, 255, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(244, 239, 231, 0.015), transparent 42%);
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(420px, 0.58fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 0.75rem clamp(2rem, 5vw, 5rem);
  min-height: clamp(370px, 34vw, 470px);
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid rgba(244, 239, 231, 0.2);
  border-radius: 8px;
  background: rgba(7, 10, 14, 0.86);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(78, 163, 255, 0.55);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.68), 0 0 42px rgba(78, 163, 255, 0.12);
}

.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.shot-stack {
  grid-column: 2;
  grid-row: 1 / -1;
  position: relative;
  display: block;
  width: min(100%, 620px);
  aspect-ratio: 16 / 9;
  height: auto;
  justify-self: end;
  margin: 0;
  overflow: visible;
  border-radius: 7px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.shot-stack:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

.shot-stack.is-resetting .shot {
  transition: none !important;
}

.shot {
  position: absolute;
  display: block;
  width: min(88%, 560px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(244, 239, 231, 0.16);
  background: #0d1015;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  transition: transform 180ms ease, border-color 180ms ease, opacity 260ms ease, filter 260ms ease;
}

.shot.is-front {
  left: 50%;
  top: 50%;
  z-index: 5;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0.5deg);
}

.shot.is-second {
  left: 45%;
  top: 50%;
  z-index: 4;
  opacity: 0.78;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.shot.is-third {
  left: 55%;
  top: 50%;
  z-index: 3;
  opacity: 0.5;
  transform: translate(-50%, -50%) rotate(5deg);
}

.shot.is-fourth {
  left: 48%;
  top: 50%;
  z-index: 2;
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.shot.is-fifth {
  left: 58%;
  top: 50%;
  z-index: 1;
  opacity: 0.22;
  transform: translate(-50%, -50%) rotate(8deg);
}

.work-card:hover .shot.is-front,
.work-card:focus-within .shot.is-front {
  border-color: rgba(78, 163, 255, 0.42);
  transform: translate(calc(-50% - 6px), calc(-50% - 4px)) rotate(0.5deg);
}

.work-card:hover .shot.is-second,
.work-card:focus-within .shot.is-second {
  transform: translate(calc(-50% - 14px), calc(-50% + 2px)) rotate(-4deg);
}

.work-card:hover .shot.is-third,
.work-card:focus-within .shot.is-third {
  transform: translate(calc(-50% + 8px), calc(-50% + 6px)) rotate(5deg);
}

.shot.is-dissolving {
  pointer-events: none;
  opacity: 0;
  filter: blur(18px) saturate(1.7) contrast(1.12);
  transform: translate(calc(-50% + 150px), calc(-50% - 92px)) rotate(14deg) scale(0.78);
}

.shot.is-gone {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.shot-stack.is-flashing::before,
.shot-stack.is-flashing::after {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  content: "";
}

.shot-stack.is-flashing::before {
  inset: -18% -14%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 26% 42%, rgba(234, 248, 255, 0.72) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 22%, rgba(99, 207, 255, 0.55) 0 1px, transparent 3px),
    radial-gradient(circle at 50% 64%, rgba(174, 226, 255, 0.5) 0 2px, transparent 4px),
    radial-gradient(circle at 67% 36%, rgba(78, 163, 255, 0.46) 0 2px, transparent 4px),
    radial-gradient(circle at 74% 58%, rgba(244, 239, 231, 0.45) 0 1px, transparent 3px),
    radial-gradient(circle at 84% 28%, rgba(105, 221, 255, 0.42) 0 2px, transparent 5px),
    radial-gradient(circle at 18% 72%, rgba(118, 176, 255, 0.38) 0 1px, transparent 4px);
  filter: blur(0.2px);
  animation: dust-scatter 560ms ease-out both;
}

.shot-stack.is-flashing::after {
  inset: 5% -4%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 46% 48%, rgba(119, 183, 255, 0.26), transparent 42%),
    radial-gradient(ellipse at 60% 36%, rgba(202, 240, 255, 0.18), transparent 36%);
  filter: blur(22px);
  animation: dust-flash 520ms ease-out both;
}

@keyframes dust-scatter {
  from {
    opacity: 0.95;
    transform: translate(0, 0) scale(0.72);
  }
  to {
    opacity: 0;
    transform: translate(42px, -28px) scale(1.42);
  }
}

@keyframes dust-flash {
  from {
    opacity: 0.78;
    transform: scale(0.74);
  }
  to {
    opacity: 0;
    transform: scale(1.62);
  }
}

.card-meta,
.card-link {
  grid-column: 1;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card strong {
  grid-column: 1;
  color: var(--text);
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.card-line {
  grid-column: 1;
  color: #d7d0c6;
  font-size: 0.95rem;
  line-height: 1.35;
}

.card-link {
  color: #dcd5cc;
}

.project-detail {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.detail-hero h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

.detail-visual {
  margin: 0;
}

.detail-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid rgba(244, 239, 231, 0.2);
  border-radius: 8px;
  background: #070a0e;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
}

.detail-role {
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-top: 1.6rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.detail-grid h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.detail-grid p,
.detail-grid li {
  color: #d2ccc4;
}

.detail-grid ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
}

.andy-work {
  display: grid;
  gap: 0;
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.andy-card {
  position: relative;
  min-height: 90svh;
  padding: clamp(4.5rem, 8vw, 6rem) 0 clamp(6rem, 9vw, 8rem);
  overflow: visible;
  border-top: 1px solid rgba(244, 239, 231, 0.14);
}

.andy-copy {
  position: relative;
  z-index: 2;
  width: min(700px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
}

.andy-copy .project-meta {
  color: var(--accent);
}

.andy-copy h3 {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
  color: #f5efe6;
  font-size: clamp(5.5rem, 7vw, 6.5rem);
  font-weight: 650;
  line-height: 0.9;
}

.andy-copy .project-line {
  max-width: 700px;
  margin: clamp(1.25rem, 2vw, 1.75rem) 0 0;
  color: var(--text) !important;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.andy-copy p:last-child {
  max-width: 680px;
  margin: clamp(1.75rem, 2.6vw, 2.25rem) 0 0;
  color: #d2ccc4;
}

.andy-rule {
  width: 58px;
  height: 2px;
  margin: 1rem 0 0;
  background: linear-gradient(90deg, var(--accent), rgba(245, 239, 230, 0.18));
}

.andy-visual {
  position: relative;
  z-index: 1;
  width: min(960px, 86vw);
  margin: clamp(3.5rem, 5vw, 4.5rem) auto 0;
}

.andy-visual::before,
.andy-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 4px solid rgba(244, 239, 231, 0.82);
  border-radius: 6px;
  background: rgba(78, 163, 255, 0.13);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
}

.andy-visual::before {
  transform: translate(-18px, 18px) rotate(-1.4deg);
}

.andy-visual::after {
  transform: translate(18px, 20px) rotate(1.2deg);
}

.andy-image {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 4px solid rgba(244, 239, 231, 0.94);
  border-radius: 6px;
  background: #0d1015;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.72);
  cursor: grab;
  touch-action: none;
  transform: translate(var(--drag-x, 0), var(--drag-y, 0)) rotate(var(--drag-r, -1.5deg));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.andy-image:hover,
.andy-image:focus-visible {
  box-shadow: 0 36px 130px rgba(0, 0, 0, 0.84);
}

.andy-image:active {
  cursor: grabbing;
}

.andy-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.andy-image.is-dragging {
  transition: none;
}

.andy-image:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.andy-reset {
  position: absolute;
  right: 0;
  bottom: -2.4rem;
  z-index: 5;
  padding: 0;
  color: var(--soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.andy-reset:hover,
.andy-reset:focus-visible {
  color: var(--text);
}

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

.andy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(960px, 86vw);
  margin: clamp(4rem, 5.4vw, 5.5rem) auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(244, 239, 231, 0.12);
}

.andy-points li {
  min-height: 76px;
  padding: 1.05rem 1.15rem;
  color: #a9a49b;
  border-right: 1px solid rgba(244, 239, 231, 0.1);
  font-size: 0.82rem;
  line-height: 1.35;
}

.andy-points li:last-child {
  border-right: 0;
}

.project-showcase {
  display: grid;
  grid-template-columns: 0.42fr minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.project-controls {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.project-tab {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.2rem 1rem;
  width: 100%;
  padding: 1.25rem 0;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 180ms ease, padding-left 180ms ease;
}

.project-tab span,
.project-tab small {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-tab strong {
  color: inherit;
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.project-tab small {
  grid-column: 2;
}

.project-tab:hover,
.project-tab:focus-visible,
.project-tab.is-active {
  color: var(--text);
  padding-left: 0.5rem;
}

.project-stage-wrap {
  min-width: 0;
}

.project-stage {
  position: relative;
  min-height: clamp(430px, 41vw, 540px);
  overflow: hidden;
  border-radius: 10px;
  outline: 1px solid rgba(244, 239, 231, 0.08);
}

.visual-card {
  position: absolute;
  inset: 7% 0 auto auto;
  display: block;
  width: min(92%, 820px);
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #0d1015;
  border: 1px solid rgba(244, 239, 231, 0.16);
  border-radius: 10px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  cursor: grab;
  touch-action: none;
  transform: translate(var(--drag-x, 0), var(--drag-y, 0)) translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  transition: transform 260ms ease, opacity 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.visual-card:active {
  cursor: grabbing;
}

.visual-card:focus-visible,
.reset-layout:focus-visible,
.project-tab:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card[data-index="0"] {
  --x: -9%;
  --y: 0%;
  --r: -1.5deg;
  --s: 0.94;
}

.visual-card[data-index="1"] {
  --x: -3%;
  --y: 6%;
  --r: 1.2deg;
  --s: 0.94;
}

.visual-card[data-index="2"] {
  --x: -14%;
  --y: 13%;
  --r: -2.2deg;
  --s: 0.9;
}

.visual-card[data-index="3"] {
  --x: 2%;
  --y: 17%;
  --r: 2deg;
  --s: 0.88;
}

.visual-card.is-active {
  --x: -5%;
  --y: 2%;
  --r: -0.6deg;
  --s: 1;
  border-color: rgba(78, 163, 255, 0.46);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.62);
}

.visual-card.is-dragging {
  transition: none;
}

.reset-layout {
  display: block;
  margin: 0.8rem 0 0 auto;
  padding: 0.2rem 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.reset-layout:hover,
.reset-layout:focus-visible {
  color: var(--text);
}

.project-details {
  grid-column: 2;
}

.project-panel {
  display: none;
  max-width: 720px;
}

.project-panel.is-active {
  display: block;
}

.project-panel h3 {
  margin-top: 1rem;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.project-panel p,
.project-panel li {
  color: var(--muted);
}

.project-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0;
  padding: 0 0 0 1rem;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(280px, 0.76fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: end;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.project-image {
  display: grid;
  min-height: 460px;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 231, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(78, 163, 255, 0.16), transparent 34%),
    repeating-linear-gradient(90deg, rgba(244, 239, 231, 0.05), rgba(244, 239, 231, 0.05) 1px, transparent 1px, transparent 34px),
    #0d1015;
  color: var(--soft);
  transition: transform 220ms ease, border-color 220ms ease;
}

.project-image:hover {
  transform: scale(1.01);
  border-color: rgba(78, 163, 255, 0.34);
}

.project-image span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin-top: 1.2rem;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.project-copy p,
.project-copy li {
  color: var(--muted);
}

.project-line {
  color: #e9e1d6 !important;
  font-size: 1.25rem;
}

.project-copy ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0;
  padding: 0 0 0 1rem;
}

.stack {
  margin-top: 1.8rem;
}

.next-project {
  display: grid;
  grid-template-columns: 0.22fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.2rem 0 4rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  transition: color 180ms ease, transform 180ms ease;
}

.next-project:hover {
  color: var(--blue);
  transform: translateX(6px);
}

.next-project span {
  color: var(--soft);
}

.next-project h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.next-project p {
  margin: 0.5rem 0 0;
}

.reveal {
  animation: reveal 700ms ease both;
}

.hero-portrait.reveal {
  animation-delay: 120ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav {
    position: relative;
    justify-content: flex-start;
    gap: 0.8rem;
    min-height: 68px;
    padding: 1rem 0;
  }

  .nav-menu-toggle {
    order: -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    min-height: 38px;
    padding: 0;
    border-radius: 999px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 38px;
    border: 1px solid rgba(244, 239, 231, 0.14);
    border-radius: 999px;
    background: rgba(5, 6, 8, 0.78);
  }

  .brand span {
    display: none;
  }

  .mobile-nav-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 0.25rem);
    left: 0;
    display: grid;
    width: min(230px, calc(100vw - 28px));
    padding: 0.65rem;
    border: 1px solid rgba(244, 239, 231, 0.14);
    border-radius: 14px;
    background: rgba(5, 6, 8, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.is-mobile-nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-connect {
    width: 100%;
    padding: 0.75rem 0.8rem;
    font-size: 0.68rem;
    text-align: left;
  }

  .shell {
    min-height: 100%;
  }

  .content-panel {
    min-height: 100%;
    padding: clamp(2.4rem, 9vw, 4rem) 0 clamp(2.6rem, 8vw, 4rem);
  }

  .home-kicker-row {
    gap: 1rem;
    margin-bottom: 1.35rem;
  }

  .home-intro {
    width: max-content;
  }

  .home-name-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: max-content;
  }

  .home-title {
    max-width: 100%;
    font-size: clamp(30px, 9.6vw, 42px);
    flex-wrap: nowrap;
    gap: 0 0.04em;
    white-space: nowrap;
  }

  .home-role {
    margin: 0;
    font-size: clamp(10px, 3vw, 12px);
    letter-spacing: 0.07em;
  }

  .home-signoff {
    bottom: 3.25rem;
    width: calc(100vw - 28px);
    max-width: 100%;
    font-size: clamp(16px, 4.2vw, 17px);
  }

  .footer-inner {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding: 1.6rem 0;
  }

  .footer-mark {
    gap: 0;
  }

  .footer-mark strong {
    display: none;
  }

  .footer-mark span {
    font-size: 0;
    letter-spacing: 0;
    text-transform: none;
  }

  .footer-mark span::before {
    content: "\00a9  2026 J. Barbas \2014  All rights reserved.";
    color: var(--soft);
    font-size: 0.76rem;
  }

  .footer-links {
    padding-right: 15px;
  }

  .editorial-panel h2,
  .about-panel h2 {
    font-size: clamp(3rem, 12vw, 5.2rem);
  }

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

  .experience-grid,
  .setup-intro,
  .setup-grid,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .setup-intro {
    align-items: start;
  }

  .setup-intro p:last-child {
    grid-column: auto;
  }

  .setup-panel {
    padding-top: 52px;
    padding-bottom: 104px;
  }

  .setup-intro {
    max-width: 100%;
    padding-bottom: 36px;
  }

  .setup-intro h2 {
    font-weight: 600;
    line-height: 1.08;
  }

  .setup-intro p {
    margin-top: 20px;
    line-height: 1.6;
  }

  .setup-intro p + p {
    margin-top: 16px;
  }

  .setup-workflow-head {
    margin-bottom: 44px;
  }

  .setup-workflow-head h3 {
    font-size: 27px;
    line-height: 1.15;
  }

  .setup-category {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
  }

  .setup-category > p {
    padding-top: 18px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .setup-items {
    gap: 22px;
    padding-top: 18px;
  }

  .setup-item h4 {
    font-size: 17px;
    line-height: 1.35;
  }

  .setup-item p {
    font-size: 14px;
    line-height: 1.55;
  }

  .setup-note {
    grid-column: auto;
  }

  .experience-tabs {
    position: fixed;
    right: 50%;
    bottom: 24px;
    z-index: 11;
    display: inline-flex;
    width: auto;
    gap: 3px;
    margin: 0;
    padding: 4px;
    border: 1px solid rgba(244, 239, 231, 0.24);
    border-radius: 7px;
    background: rgba(19, 19, 21, 0.94);
    backdrop-filter: blur(10px);
    transform: translateX(50%);
  }

  .experience-tabs button {
    min-width: 92px;
    min-height: 28px;
    padding: 0 16px;
    border-radius: 6px;
    color: #f4efe7;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
  }

  .experience-tabs button::after {
    display: none;
  }

  .experience-tabs button.is-active {
    background: var(--yellow);
  }

  .desktop-tab-label {
    display: none;
  }

  .mobile-tab-label {
    display: inline;
  }

  .experience-workflow-title {
    display: block;
    margin: 0 0 12px;
    color: var(--text);
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .experience-panel {
    padding-top: 52px;
    padding-bottom: 92px;
  }

  .experience-panel.is-active {
    transform: none;
  }

  .experience-intro {
    position: static;
    padding-bottom: 34px;
    background: transparent;
    backdrop-filter: none;
  }

  .experience-workflow-summary {
    position: static;
    margin-bottom: 24px;
    background: transparent;
    backdrop-filter: none;
  }

  .experience-panel .setup-workflow-head h3 {
    font-size: 27px;
  }

  .experience-panel .setup-item h4 {
    font-size: 17px;
  }

  .experience-panel .setup-item p,
  .delivery-map-copy p,
  .experience-note {
    font-size: 15px;
  }

  .previous-timeline {
    --timeline-rail-x: 10px;
    --timeline-card-offset: 34px;
    --timeline-label-x: 0px;
    gap: 18px;
    padding-top: 4px;
  }

  .previous-marker {
    top: 50%;
  }

  .previous-badge {
    position: static;
    width: auto;
    margin-bottom: 16px;
  }

  .previous-card-main {
    grid-template-columns: 1fr;
    gap: 22px;
    height: auto;
    min-height: auto;
    padding: 22px 18px;
  }

  .previous-card-left {
    padding-right: 0;
  }

  .previous-card h4 {
    font-size: clamp(14px, 4.4vw, 16px);
  }

  .previous-card p {
    font-size: clamp(17px, 5.2vw, 20px);
  }

  .previous-card ul {
    font-size: 13px;
  }

  .delivery-map-card {
    padding: 0.85rem;
  }

  .delivery-map-frame {
    gap: 10px;
  }

  .delivery-map-stage {
    width: 100%;
    min-height: 0;
  }

  .delivery-map-legend {
    position: static;
    min-width: 0;
    padding: 10px;
    font-size: 10px;
  }

  .node-label {
    left: calc(50% + 12px);
    font-size: 8px;
  }

  .delivery-popover {
    position: static;
    width: auto;
    padding: 10px 11px;
    font-size: 11px;
  }

  .delivery-popover::before {
    display: none;
  }

  .delivery-region-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .connect-toolbar {
    top: auto;
    right: max(20px, calc(env(safe-area-inset-right) + 20px));
    bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px));
    transform: translateY(12px);
  }

  body.is-connect-toolbar-open .connect-toolbar {
    transform: translateY(0);
  }

  .connect-toolbar-label {
    display: none;
  }

  .connect-toolbar-link,
  .connect-toolbar-link:hover,
  .connect-toolbar-link:focus-visible {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .connect-toolbar-link span {
    right: calc(100% + 8px);
    opacity: 0;
  }

  .connect-toolbar-link:hover span,
  .connect-toolbar-link:focus-visible span {
    opacity: 1;
  }

  .map-origin,
  .map-marker {
    min-width: 44px;
    min-height: 44px;
    padding: 0 5px;
  }

  .map-marker[data-region="apj"] {
    left: 37% !important;
    top: 28% !important;
  }

  .map-marker[data-region="amer"] {
    left: 73% !important;
    top: 29% !important;
  }

  .map-marker[data-region="emea"] {
    left: 87% !important;
    top: 22% !important;
  }

  .map-origin strong,
  .map-marker strong {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .map-origin span {
    display: none;
  }

  .map-status {
    position: static;
    max-width: none;
    padding: 12px 0 0;
    font-size: 12px;
  }

  .setup-switcher button {
    font-size: 12px;
  }

  .about-panel {
    align-items: start;
  }

  .about-copy {
    order: 1;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 2.6rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 13.2vw, 4.65rem);
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 390px);
    aspect-ratio: 4 / 5;
  }

  .hero-portrait img {
    object-position: 50% 24%;
  }

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

  .proof span:nth-child(2) {
    border-right: 0;
  }

  .proof span {
    min-height: 88px;
  }

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

  .tech-strip span:nth-child(even) {
    border-right: 0;
  }

  .selected,
  .case-study,
  .project-showcase,
  .detail-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .selected {
    padding: 0 0 36px;
  }

  .section-head h2 {
    font-weight: 600;
    line-height: 1.08;
  }

  .section-head p {
    margin-top: 20px;
    line-height: 1.6;
  }

  .work-stage {
    display: grid;
    gap: 1.25rem;
    min-height: auto;
    margin-top: 56px;
    margin-right: 0;
    padding: 0 0 1.2rem;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    scrollbar-width: none;
    background: transparent;
    touch-action: pan-y;
  }

  .work-stage::-webkit-scrollbar {
    display: none;
  }

  .work-card,
  .work-card-one,
  .work-card-two,
  .work-card-three,
  .work-card-four {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    min-height: 0;
    gap: 0.7rem;
    padding: 22px;
    cursor: pointer;
    touch-action: pan-y;
    transform: none;
  }

  .shot-stack {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .shot {
    width: 96%;
  }

  .card-meta,
  .card-link {
    font-size: 0.6rem;
    line-height: 1.35;
  }

  .work-card strong {
    font-size: clamp(21px, 6vw, 26px);
    line-height: 0.98;
  }

  .card-line {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .andy-card {
    min-height: auto;
    padding: 72px 0 104px;
  }

  .andy-copy {
    width: 100%;
  }

  .andy-visual {
    width: min(760px, calc(100vw - 44px));
    margin-top: 3.25rem;
  }

  .andy-image {
    touch-action: pan-y;
  }

  .andy-points {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 4rem;
  }

  .andy-points li {
    min-height: 0;
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 239, 231, 0.1);
  }

  .andy-points li:last-child {
    border-bottom: 0;
  }

  .project-controls {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .project-tab {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    min-height: 126px;
    padding: 1rem;
    border-right: 1px solid var(--line);
  }

  .project-tab:nth-child(even) {
    border-right: 0;
  }

  .project-tab small {
    grid-column: auto;
  }

  .project-stage {
    display: flex;
    gap: 1rem;
    min-height: auto;
    margin-right: calc((100vw - 100%) / -2);
    padding: 0 1rem 0 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    outline: 0;
    touch-action: pan-y;
  }

  .project-stage::-webkit-scrollbar {
    display: none;
  }

  .visual-card,
  .visual-card.is-active {
    position: relative;
    inset: auto;
    flex: 0 0 min(86vw, 560px);
    width: auto;
    cursor: pointer;
    scroll-snap-align: start;
    touch-action: pan-y;
    transform: none;
  }

  .reset-layout {
    display: none;
  }

  .project-details {
    grid-column: auto;
  }

  .project-image {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  main,
  .nav,
  .footer-inner {
    width: min(100% - 28px, 1220px);
  }

  .nav-links a,
  .nav-connect {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  h1 {
    font-size: clamp(2.85rem, 12.2vw, 3.35rem);
  }

  .statement {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-portrait {
    width: 100%;
  }

  .proof span,
  .tech-strip span {
    padding: 1rem;
  }

  .andy-card {
    padding-top: 72px;
  }

  .andy-copy h3 {
    font-size: clamp(3rem, 13.5vw, 3.5rem);
    line-height: 0.94;
  }

  .andy-copy .project-line {
    font-size: 1.35rem;
  }

  .andy-visual {
    width: calc(100vw - 44px);
  }

  .andy-visual::before,
  .andy-visual::after,
  .andy-image {
    border-width: 3px;
  }
}

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

  .mask-line > span,
  .type-letter,
  .home-signoff {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .home-rule {
    transform: scaleX(1) !important;
  }

  .setup-workflow,
  .experience-workflow,
  .connect-toolbar-link,
  .connect-toolbar-link span {
    transform: none !important;
  }

  .map-signal,
  .signal-dot,
  .route-pulse {
    display: none;
  }

  .delivery-node[data-kind="source"] .node-dot {
    animation: none !important;
  }
}

.about-panel .hobby-shot-stack {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  border-radius: inherit !important;
}

.about-panel .hobby-shot-stack .shot {
  position: absolute !important;
  inset: 0 !important;
  left: 50% !important;
  top: 50% !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.about-panel .hobby-shot-stack .shot.is-front {
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.about-panel .hobby-shot-stack .shot.is-second {
  opacity: 0.78;
  transform: translate(-50%, -50%) rotate(-2.4deg) scale(0.96);
}

.about-panel .hobby-shot-stack .shot.is-third {
  opacity: 0.52;
  transform: translate(-50%, -50%) rotate(2.6deg) scale(0.92);
}

.about-panel .hobby-shot-stack .shot.is-fourth {
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(-3.4deg) scale(0.88);
}

.about-panel .hobby-card:hover .shot.is-front,
.about-panel .hobby-card:focus-within .shot.is-front {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.035);
}
