/* Portfolio v5.6 — layout, components and responsive states. */
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF;
}
:root {
  color-scheme: dark;
  --ink: #eee9df;
  --ink-soft: rgba(238, 233, 223, .72);
  --ink-muted: rgba(201, 193, 177, .58);
  --paper: #eee9df;
  --oatmeal: #c9c1b1;
  --blue: #2c3b4d;
  --blue-deep: #1b2632;
  --blue-black: #0d151f;
  --orange: #ffb162;
  --rust: #a35139;
  --surface: rgba(44, 59, 77, .34);
  --surface-quiet: rgba(238, 233, 223, .052);
  --line: rgba(238, 233, 223, .08);
  --shadow: 0 24px 72px rgba(3, 8, 14, .3);
  --shadow-tight: 0 14px 36px rgba(3, 8, 14, .24);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --sidebar: 264px;
  --topbar: 56px;
  --radius: 11px;
  --radius-small: 7px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  height: 100%;
  overflow: hidden;
  background: var(--blue-black);
}
body {
  min-width: 320px;
  width: 100%;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font: 400 16px/1.5 "Roboto", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  color: inherit;
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  margin: 0;
  border: 0;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .38;
}
a {
  color: inherit;
}
svg,
img {
  display: block;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 650;
  letter-spacing: .006em;
  line-height: 1.13;
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
::selection {
  color: var(--blue-black);
  background: var(--orange);
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 9px;
  background: rgba(201, 193, 177, .28);
  background-clip: padding-box;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  z-index: 15000;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  border-radius: var(--radius-small);
  color: var(--blue-black);
  background: var(--orange);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus {
  transform: translateY(0);
}
.cursor-dot {
  --cursor-x: -40px;
  --cursor-y: -40px;
  position: fixed;
  z-index: 20000;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  background: var(--paper);
  box-shadow: 0 0 0 0 rgba(255, 177, 98, 0);
  pointer-events: none;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) scale(1);
  transition: width 150ms var(--ease-out),
    height 150ms var(--ease-out),
    top 150ms var(--ease-out),
    left 150ms var(--ease-out),
    opacity 100ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
  will-change: transform, width, height;
}
.cursor-dot.is-visible {
  opacity: .92;
}
.cursor-dot.is-interactive {
  top: -13px;
  left: -13px;
  width: 26px;
  height: 26px;
  background: rgba(238, 233, 223, .16);
  box-shadow: inset 0 0 0 1px var(--orange), 0 0 24px rgba(255, 177, 98, .22);
}
.cursor-dot.is-pressed {
  top: -10px;
  left: -10px;
  width: 20px;
  height: 20px;
}
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}
.start-screen {
  position: fixed;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  height: 100dvh;
  padding: clamp(58px, 8vh, 86px) clamp(24px, 7vw, 112px) clamp(24px, 5vh, 52px);
  overflow: hidden;
  isolation: isolate;
  opacity: 1;
  transform: scale(1);
  transition: opacity 250ms var(--ease-out), transform 320ms var(--ease-out);
}
.start-screen.is-leaving {
  opacity: 0;
  transform: scale(.99);
  pointer-events: none;
}
.start-topline {
  position: absolute;
  z-index: 4;
  top: clamp(20px, 3vh, 34px);
  right: clamp(24px, 5vw, 72px);
  left: clamp(24px, 5vw, 72px);
  color: var(--ink-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.start-copy {
  position: relative;
  z-index: 2;
  margin: 0 auto;
}
.start-role {
  display: grid;
  width: max-content;
  margin: 0 0 12px;
  font: 650 clamp(2.7rem, 5.4vw, 6rem)/.98 "Roboto Slab", Georgia, serif;
}
.start-role span:last-child {
  color: var(--orange);
}
.start-question {
  color: var(--ink);
  font: 560 clamp(1rem, 1.35vw, 1.25rem)/1.3 "Roboto Slab", Georgia, serif;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  perspective: 1000px;
}
.mode-card {
  --bend-x: 0deg;
  --bend-y: 0deg;
  --light-x: 50%;
  --light-y: 50%;
  --origin-x: 50%;
  --origin-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 12px 26px;
  min-height: clamp(145px, 20vh, 184px);
  padding: clamp(22px, 2.5vw, 34px);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  text-align: left;
  background: linear-gradient(145deg, rgba(238, 233, 223, .082), transparent 54%),
    rgba(20, 31, 43, .7);
  box-shadow: var(--shadow), inset 0 1px rgba(238, 233, 223, .07);
  backdrop-filter: blur(20px) saturate(116%);
  transform: perspective(900px) rotateY(var(--bend-x)) rotateX(var(--bend-y)) translateZ(0);
  transform-origin: var(--origin-x) var(--origin-y);
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease-out), background-color 220ms ease, box-shadow 240ms ease;
  will-change: transform;
}
.mode-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--light-x) var(--light-y), rgba(255, 177, 98, .25), transparent 38%);
  transition: opacity 220ms ease;
}
.mode-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -88%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .18;
  background: var(--rust);
  filter: blur(36px);
  transition: transform 480ms var(--ease-out), opacity 220ms ease;
}
.mode-card:hover,
.mode-card:focus-visible {
  box-shadow: 0 30px 74px rgba(3, 8, 14, .44), inset 0 1px rgba(255, 177, 98, .22);
}
.mode-card:hover::before,
.mode-card:focus-visible::before {
  opacity: 1;
}
.mode-card:hover::after,
.mode-card:focus-visible::after {
  opacity: .38;
  transform: translate3d(-22px, -32px, 0) scale(1.12);
}
.mode-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(20px);
}
.mode-title {
  align-self: end;
  font: 650 clamp(1.25rem, 1.85vw, 1.8rem)/1.15 "Roboto Slab", Georgia, serif;
}
.mode-copy {
  max-width: 35rem;
  color: var(--ink-soft);
  font-size: clamp(.84rem, 1vw, .98rem);
  line-height: 1.48;
}
.mode-arrow {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--blue-black);
  background: var(--orange);
  transition: transform 260ms var(--ease-out), background-color 180ms ease;
}
.mode-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.mode-card:hover .mode-arrow,
.mode-card:focus-visible .mode-arrow {
  background: var(--paper);
  transform: translate3d(5px, 0, 28px);
}
.bendy-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portfolio-shell {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  height: 100dvh;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 280ms var(--ease-out), transform 300ms var(--ease-out);
}
.portfolio-shell.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.sidebar {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
  padding: 18px 15px 14px;
  overflow: hidden;
  background: rgba(13, 21, 31, .8);
  box-shadow: inset -1px 0 var(--line), 18px 0 50px rgba(2, 6, 10, .12);
  backdrop-filter: blur(26px) saturate(112%);
}
.identity {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 1px 3px 18px;
}
.identity strong,
.identity span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity strong {
  font: 650 .91rem/1.25 "Roboto Slab", Georgia, serif;
}
.identity span {
  margin-top: 3px;
  color: var(--ink-muted);
}
.ribbon-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 9px;
  background: transparent;
  transition: transform 280ms var(--ease-out);
}
.ribbon-mark:hover {
  transform: rotate(-4deg) scale(1.04);
}
.ribbon-mark img {
  width: 42px;
  height: 42px;
}
.side-nav {
  display: grid;
  gap: 6px;
  min-height: 0;
}
.nav-group {
  display: grid;
  gap: 4px;
  min-height: 0;
}
.nav-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 2px;
}
.nav-item {
  position: relative;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  transition: color 160ms ease, background-color 180ms ease, transform 220ms var(--ease-out);
}
.nav-disclosure {
  position: relative;
  min-height: 42px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  transition: color 160ms ease, background-color 180ms ease, transform 220ms var(--ease-out);
}
.nav-item {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
}
.nav-item > svg,
.text-action > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  transition: color 160ms ease, transform 220ms var(--ease-out);
}
.nav-item::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 43px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent 92%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}
.nav-item:hover,
.nav-item.is-active {
  color: var(--ink);
  background: rgba(238, 233, 223, .055);
}
.nav-item:hover::after,
.nav-item.is-active::after {
  transform: scaleX(1);
}
.nav-item:hover > svg,
.nav-item.is-active > svg {
  color: var(--orange);
  transform: translate3d(0, -1px, 0);
}
.nav-disclosure {
  display: grid;
  place-items: center;
  width: 38px;
  padding: 0;
}
.nav-disclosure:hover {
  color: var(--orange);
  background: rgba(238, 233, 223, .055);
}
.nav-disclosure svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 280ms var(--ease-out);
}
.nav-disclosure[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.case-submenu {
  display: grid;
  padding: 2px 3px 5px 43px;
  overflow-y: auto;
  animation: submenu-in 220ms var(--ease-out) both;
}
@keyframes submenu-in {
  from {
    opacity: 0;
    transform: translate3d(0, -4px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.case-submenu button {
  position: relative;
  padding: 2px;
  overflow: hidden;
  color: var(--ink-muted);
  background: transparent;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms ease, transform 200ms var(--ease-out);
}
.case-submenu button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 6px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease-out);
}
.case-submenu button:hover,
.case-submenu button.is-active {
  color: var(--ink);
  transform: translate3d(3px, 0, 0);
}
.case-submenu button:hover::before,
.case-submenu button.is-active::before {
  transform: scaleX(1);
}
.sidebar-secondary {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 13px;
  box-shadow: inset 0 1px var(--line);
}
.text-action {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 37px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  transition: color 170ms ease, background-color 170ms ease, transform 220ms var(--ease-out);
}
.voice-button {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 0 8px;
  border-radius: 7px;
  text-align: left;
  transition: color 170ms ease, background-color 170ms ease, transform 220ms var(--ease-out);
}
.text-action:hover {
  color: var(--ink);
  background: rgba(238, 233, 223, .05);
}
.voice-button {
  min-height: 43px;
  margin-top: 4px;
  color: var(--blue-black);
  background: linear-gradient(115deg, var(--oatmeal), var(--orange));
  font-weight: 700;
}
.voice-button:hover {
  color: var(--blue-black);
  background: linear-gradient(115deg, var(--paper), var(--orange));
  transform: translate3d(0, -2px, 0);
}
.voice-icon-stack,
.menu-icon-stack {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
}
.voice-icon,
.menu-icon {
  position: absolute;
  inset: 0;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: opacity 180ms ease, transform 280ms var(--ease-out);
}
.voice-icon--check,
.menu-icon--close {
  opacity: 0;
  transform: scale(.58) rotate(-28deg);
}
.voice-button:hover .voice-icon--mic {
  opacity: 0;
  transform: scale(.58) rotate(28deg);
}
.voice-button:hover .voice-icon--check {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.social-row {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}
.social-button {
  position: relative;
  place-items: center;
  min-width: 0;
  height: 36px;
  border-radius: 7px;
  color: var(--ink-muted);
  background: rgba(238, 233, 223, .04);
  transition: color 180ms ease, transform 240ms var(--ease-out), background-color 180ms ease;
}
.social-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(120deg, var(--rust), var(--orange));
  transition: opacity 180ms ease;
}
.social-button svg {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 240ms var(--ease-out);
}
.social-button:hover {
  color: var(--blue-black);
}
.social-button:hover::before,
.social-button:focus-visible::before {
  opacity: 1;
}
.social-button:hover svg {
  transform: translate3d(0, -1px, 0) scale(1.08);
}
.vibe-signature {
  margin: 10px 3px 0;
  color: rgba(201, 193, 177, .48);
  font-size: .62rem;
  line-height: 1.4;
}
.workspace {
  min-width: 0;
  height: 100dvh;
  overflow: hidden;
}
.topbar {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  min-width: 0;
  height: var(--topbar);
  padding: 0 clamp(18px, 2vw, 30px);
  background: rgba(13, 21, 31, .56);
  box-shadow: inset 0 -1px var(--line);
  backdrop-filter: blur(20px);
}
.breadcrumb {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mode-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 3px;
  border-radius: 7px;
  background: rgba(238, 233, 223, .04);
}
.mode-switch > span {
  padding: 0 7px;
  color: var(--ink-muted);
  font-size: .65rem;
}
.mode-switch button {
  min-height: 29px;
  padding: 0 10px;
  border-radius: 5px;
  color: var(--ink-muted);
  background: transparent;
  font-size: .67rem;
  transition: color 160ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.mode-switch button:hover {
  color: var(--ink);
}
.mode-switch button.is-active {
  color: var(--ink);
  background: rgba(238, 233, 223, .09);
  box-shadow: 0 4px 14px rgba(4, 9, 14, .18);
}
.mobile-menu {
  display: none;
}
.main-content {
  width: 100%;
  height: calc(100dvh - var(--topbar));
  padding: clamp(17px, 2.2vw, 32px);
  overflow: hidden;
  outline: none;
  contain: layout paint;
}
.view {
  width: 100%;
  max-width: 1580px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
}
.profile-view {
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  align-content: stretch;
}
.profile-tabs {
  display: flex;
  gap: clamp(12px, 2vw, 30px);
  min-width: 0;
}
.profile-tab-slot {
  display: grid;
  place-items: start;
}
.profile-tabs button {
  position: relative;
  color: var(--ink-muted);
  background: transparent;
  font: 550 1rem/1.1 "Roboto Slab", Georgia, serif;
  transition: color 180ms ease;
}
.profile-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--rust));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.profile-tabs button:hover {
  color: var(--ink-soft);
}
.profile-tabs button.is-active {
  z-index: 1;
  color: var(--ink);
}
.profile-tabs button.is-active::after {
  transform: scaleX(1);
}
.profile-tab-panel {
  min-height: 0;
  overflow: hidden;
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 39px;
  padding: 0 13px;
  overflow: hidden;
  border-radius: 7px;
  color: var(--ink-soft);
  background: rgba(238, 233, 223, .055);
  box-shadow: inset 0 0 0 1px rgba(238, 233, 223, .055);
  font-size: .75rem;
  transition: color 180ms ease, background-color 180ms ease, transform 220ms var(--ease-out), box-shadow 180ms ease;
}
.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 220ms var(--ease-out);
}
.profile-lead h1 {
  margin: 0;
  letter-spacing: 0;
}
.profile-role {
  margin: 8px 0 18px;
  color: var(--orange);
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  font-weight: 620;
}
.profile-summary {
  margin: 0;
  color: var(--ink-soft);
}
.profile-facts article {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(238, 233, 223, .058), transparent 60%), rgba(44, 59, 77, .24);
  box-shadow: inset 0 1px rgba(238, 233, 223, .055);
}
.profile-facts article > span {
  color: var(--orange);
  font-size: .62rem;
  letter-spacing: .12em;
}
.profile-facts h2 {
  margin: 12px 0 5px;
}
.profile-facts p {
  margin: 0;
  color: var(--ink-soft);
}
.skills-view {
  display: grid;
  height: 100%;
  min-height: 0;
}
.section-switch {
  position: relative;
  display: flex;
}
.section-switch button {
  position: relative;
  z-index: 1;
  color: var(--ink-muted);
  background: transparent;
  font: 570 clamp(.82rem, 1vw, .96rem)/1.2 "Roboto Slab", Georgia, serif;
  transition: color 180ms ease;
}
.section-switch button:hover,
.section-switch button.is-active {
  color: var(--ink);
}
.section-switch-indicator {
  --indicator-x: 0px;
  --indicator-width: 0px;
  position: absolute;
  width: var(--indicator-width);
  transform: translate3d(var(--indicator-x), 0, 0);
  transition: width 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.skills-panel {
  min-height: 0;
  overflow: hidden;
}
.roadmap-quote blockquote {
  position: relative;
  margin: 0;
  color: var(--ink-soft);
  font: 500 clamp(.94rem, 1.15vw, 1.14rem)/1.46 "Roboto Slab", Georgia, serif;
}
.roadmap-quote blockquote::before {
  content: "“";
  position: absolute;
  color: var(--orange);
  font: 700 2.7rem/1 "Roboto Slab", Georgia, serif;
}
.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  grid-template-rows: repeat(6, minmax(0, 1fr));
  min-height: 0;
  margin: 0 auto;
}
.roadmap-line {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--orange), var(--rust), rgba(163, 81, 57, .1));
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  animation: roadmap-line 3.25s var(--ease-out) 120ms forwards;
}
@keyframes roadmap-line {
  to {
    transform: translateX(-50%) scaleY(1);
  }
}
.roadmap-card {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  align-items: center;
  min-height: 0;
  border-radius: 8px;
  opacity: 1;
  background: linear-gradient(145deg, rgba(238, 233, 223, .064), transparent 62%), rgba(44, 59, 77, .27);
  box-shadow: var(--shadow-tight), inset 0 1px rgba(238, 233, 223, .05);
  transform: translate3d(0, 0, 0) scale(1);
  animation: roadmap-card-in 460ms var(--ease-out) calc(280ms + var(--step) * 470ms) backwards;
  transition: transform 220ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease;
}
.roadmap-card--left {
  grid-column: 1;
  margin-right: 14px;
}
.roadmap-card--right {
  grid-column: 3;
  margin-left: 14px;
}
@keyframes roadmap-card-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
.roadmap-card:hover {
  z-index: 4;
  background: linear-gradient(145deg, rgba(255, 177, 98, .1), transparent 62%), rgba(44, 59, 77, .38);
  box-shadow: 0 20px 44px rgba(3, 8, 14, .3), inset 0 1px rgba(255, 177, 98, .08);
  transform: scale(1.035);
}
.roadmap-card small {
  grid-row: 1 / 3;
  color: var(--orange);
  font: 700 .64rem/1.2 "Roboto", Arial, sans-serif;
  letter-spacing: .1em;
}
.roadmap-card h2 {
  margin: 0;
}
.roadmap-card p {
  align-self: center;
  margin: 0;
  color: var(--ink-soft);
}
.roadmap-dot {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue-black);
  border-radius: 50%;
  opacity: 1;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 177, 98, .12);
  transform: translateY(-50%) scale(1);
  animation: roadmap-dot-in 260ms var(--ease-out) calc(210ms + var(--step) * 470ms) backwards;
}
.roadmap-card--left .roadmap-dot {
  right: -34px;
}
.roadmap-card--right .roadmap-dot {
  left: -34px;
}
@keyframes roadmap-dot-in {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(.3);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}
.tools-section {
  height: 100%;
  min-height: 0;
}
.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%;
  min-height: 0;
}
.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: clamp(13px, 1.35vw, 19px);
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(238, 233, 223, .062), transparent 52%), rgba(44, 59, 77, .34);
  box-shadow: var(--shadow), inset 0 1px rgba(238, 233, 223, .055);
  transition: transform 280ms var(--ease-out), box-shadow 220ms ease, background-color 180ms ease;
}
.project-card::after {
  position: absolute;
  content: attr(data-project-mark);
  right: -8px;
  bottom: -18px;
  color: rgba(238, 233, 223, .03);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(2.5rem, 5.4vw, 6.2rem);
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}
.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-card-top span {
  color: var(--orange);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.project-card-top i {
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--rust));
}
.project-card h3 {
  margin: 7px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.42rem);
  letter-spacing: .01em;
  line-height: 1.05;
}
.project-card p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: clamp(.64rem, .7vw, .72rem);
  line-height: 1.38;
}
.project-card p strong {
  color: var(--oatmeal);
  font-weight: 650;
}
.project-card.is-accent {
  background: linear-gradient(145deg, rgba(255, 177, 98, .1), transparent 54%), rgba(44, 59, 77, .38);
}
.project-card:hover {
  background: linear-gradient(145deg, rgba(255, 177, 98, .11), transparent 52%), rgba(44, 59, 77, .48);
  box-shadow: 0 28px 70px rgba(3, 8, 14, .34), inset 0 1px rgba(238, 233, 223, .09);
  transform: translate3d(0, -4px, 0);
}
.experience-section {
  position: relative;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}
.experience-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: start;
}
.carousel-controls {
  display: inline-flex;
  gap: 5px;
}
.carousel-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: rgba(238, 233, 223, .055);
  transition: color 170ms ease, background-color 170ms ease, transform 200ms var(--ease-out);
}
.carousel-controls button:hover {
  color: var(--blue-black);
  background: var(--orange);
  transform: translate3d(0, -2px, 0);
}
.carousel-controls svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.experience-strip {
  display: flex;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 1px 15% 8px 0;
  overscroll-behavior: contain;
  scroll-snap-type: x proximity;
}
.draggable-strip {
  touch-action: pan-y;
}
.draggable-strip.is-dragging {
  scroll-snap-type: none;
  user-select: none;
}
.experience-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  flex: 0 0 min(47.5%, 690px);
  min-width: 430px;
  min-height: 0;
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(238, 233, 223, .065), transparent 58%), rgba(44, 59, 77, .3);
  box-shadow: var(--shadow), inset 0 1px rgba(238, 233, 223, .055);
  scroll-snap-align: start;
}
.experience-card header {
  padding-bottom: 14px;
  box-shadow: inset 0 -1px var(--line);
}
.experience-card header > span {
  color: var(--orange);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.experience-card h2 {
  margin: 12px 0 6px;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}
.experience-role {
  margin: 0;
  color: var(--oatmeal);
  font-size: .84rem;
  font-weight: 620;
}
.experience-years {
  margin: 3px 0 0;
  color: var(--ink-muted);
  font-size: .7rem;
}
.experience-card-body {
  min-height: 0;
  margin: 12px -4px 8px 0;
  padding-right: 8px;
}
.experience-card ul {
  margin: 0;
  padding: 0 0 0 17px;
  color: var(--ink-soft);
}
.experience-card li {
  margin: 0 0 8px;
  padding-left: 3px;
  font-size: clamp(.73rem, .82vw, .84rem);
  line-height: 1.45;
}
.experience-card footer {
  padding-top: 10px;
  box-shadow: inset 0 1px var(--line);
}
.experience-card footer > span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-muted);
  font-size: .61rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.experience-card footer > div {
  display: flex;
  gap: 5px;
  overflow-x: auto;
}
.experience-card footer button {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--ink-soft);
  background: rgba(238, 233, 223, .055);
  font-size: .65rem;
  transition: color 160ms ease, background-color 160ms ease;
}
.experience-card footer button:hover {
  color: var(--blue-black);
  background: var(--orange);
}
.cases-view {
  display: grid;
  grid-template-rows: minmax(0, .86fr) minmax(0, 1.65fr);
  gap: clamp(12px, 1.8vh, 18px);
}
.case-group {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}
.case-group > h1,
.case-group > h2 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.35vw, 1.32rem);
}
.case-group--other > h2 {
  color: var(--oatmeal);
}
.case-grid {
  display: grid;
  gap: 9px;
  min-height: 0;
}
.case-grid--digital {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case-grid--other {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.case-card > button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  min-height: 29px;
  margin-top: 8px;
  padding: 0;
  color: var(--oatmeal);
  background: transparent;
  font-size: .68rem;
}
.case-card > button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.case-card > button:hover::after,
.case-card > button:focus-visible::after {
  transform: scaleX(1);
}
.case-card > button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 220ms var(--ease-out);
}
.case-card > button:hover svg {
  transform: translate3d(4px, 0, 0);
}
.case-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: .71rem;
  transition: color 170ms ease, transform 220ms var(--ease-out);
}
.back-link:hover {
  color: var(--orange);
  transform: translate3d(-3px, 0, 0);
}
.back-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.case-meta {
  margin: 0;
  overflow: hidden;
  color: var(--orange);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.case-header > div:not(.carousel-controls) {
  min-width: 0;
}
.case-header h1 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-header > div > p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: .69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-story {
  overscroll-behavior: contain;
}
.case-overview {
  min-height: 0;
}
.case-media-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink-muted);
  box-shadow: inset 0 1px rgba(238, 233, 223, .055);
  text-align: center;
}
.compare-frame {
  position: relative;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink-muted);
  box-shadow: inset 0 1px rgba(238, 233, 223, .055);
  text-align: center;
}
.showcase-main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink-muted);
  background: linear-gradient(145deg, rgba(238, 233, 223, .055), transparent 56%),
    rgba(44, 59, 77, .26);
  box-shadow: inset 0 1px rgba(238, 233, 223, .055);
  text-align: center;
}
.case-media-button {
  align-content: stretch;
  padding: 0;
  border: 0;
  transition: background-color 180ms ease, transform 240ms var(--ease-out);
}
.case-media-button:hover {
  background-color: rgba(44, 59, 77, .4);
}
.media-image-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: rgba(13, 21, 31, .28);
}
.portfolio-media {
  display: block;
  width: fit-content;
  height: 100%;
  min-width: fit-content;
  min-height: 0;
  object-fit: cover;
}
.media-fallback {
  display: none;
  align-content: center;
  justify-items: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  padding: 18px;
  color: var(--ink-muted);
  text-align: center;
}
.media-image-shell.is-missing .media-fallback {
  display: grid;
}
.media-fallback svg {
  width: 35px;
  height: 35px;
  margin-bottom: 5px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
}
.media-fallback strong {
  color: var(--ink);
  font: 620 .92rem/1.25 "Roboto Slab", Georgia, serif;
}
.media-fallback small {
  color: var(--ink-muted);
  font-size: .62rem;
}
.report-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case-stats article {
  min-height: 0;
}
.case-stats h3 {
  margin: 0 0 5px;
  color: var(--orange);
  font: 700 .58rem/1.2 "Roboto", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-stats p {
  margin: 0;
  color: var(--ink-soft);
}
.gallery-number {
  position: absolute;
  z-index: 2;
  color: var(--orange);
  letter-spacing: .1em;
}
.insight-rail {
  position: relative;
  display: grid;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  background: rgba(13, 21, 31, .4);
  box-shadow: inset 0 1px var(--line);
}
.insight-label {
  color: var(--ink-muted);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.insight-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-width: 0;
}
.insight-line::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--rust), var(--orange), var(--rust));
  opacity: .65;
}
.insight-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0 5px;
  color: var(--ink-soft);
  background: transparent;
  text-align: center;
}
.insight-node > i {
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue-black);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 177, 98, .1);
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}
.insight-node:hover > i,
.insight-node:focus-visible > i {
  box-shadow: 0 0 0 7px rgba(255, 177, 98, .14);
  transform: scale(1.2);
}
.insight-node > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.insight-node small {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 11px);
  left: 50%;
  border-radius: 7px;
  opacity: 0;
  color: var(--ink-soft);
  background: rgba(13, 21, 31, .96);
  box-shadow: var(--shadow);
  pointer-events: none;
  transform: translate3d(-50%, 5px, 0) scale(.97);
  transform-origin: bottom center;
  transition: opacity 150ms ease, transform 180ms var(--ease-out);
}
.insight-node:hover small,
.insight-node:focus-visible small {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}
.case-simple-action {
  display: flex;
  justify-content: flex-end;
}
.compare-frame {
  --compare-position: 52%;
  display: block;
  padding: 0;
}
.compare-before,
.compare-after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.compare-before {
  color: var(--ink-muted);
}
.compare-after {
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
  color: var(--blue-black);
}
.compare-before > .media-image-shell,
.compare-after > .media-image-shell {
  position: absolute;
  inset: 0;
  background: transparent;
}
.compare-before > span:last-child,
.compare-after > span:last-child {
  position: absolute;
  z-index: 2;
  top: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--ink);
  background: rgba(13, 21, 31, .8);
  font: 700 .62rem/1 "Roboto", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare-before > span:last-child {
  left: 11px;
}
.compare-after > span:last-child {
  right: 11px;
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
}
.compare-frame label {
  position: absolute;
  z-index: 4;
  bottom: 12px;
  left: 12px;
  color: var(--ink);
}
.compare-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}
.storm-view {
  grid-template-rows: auto minmax(0, 1fr);
}
.storm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 340px);
  gap: 12px;
  min-height: 0;
  overflow: hidden;
}
.storm-board-wrap {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(100%, calc((100dvh - 150px) * 1.4133));
  max-height: 100%;
  aspect-ratio: 1190 / 842;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.storm-board-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.storm-hotspot {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  color: var(--orange);
  background: var(--blue-deep);
  box-shadow: 0 7px 18px rgba(13, 21, 31, .38);
  transform: translate(-50%, -50%);
  transition: transform 200ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease;
}
.storm-hotspot::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(27, 38, 50, .38);
  border-radius: 50%;
  animation: hotspot-pulse 2.2s ease-out infinite;
}
@keyframes hotspot-pulse {
  0% {
    opacity: 0;
    transform: scale(.72);
  }
  30% {
    opacity: .55;
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}
.storm-hotspot > span {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}
.storm-hotspot > small {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: max-content;
  max-width: 120px;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0;
  color: var(--paper);
  background: var(--blue-deep);
  font-size: .54rem;
  pointer-events: none;
  transform: translate3d(-50%, -3px, 0);
  transition: opacity 150ms ease, transform 180ms var(--ease-out);
}
.storm-hotspot:hover,
.storm-hotspot:focus-visible,
.storm-hotspot[aria-expanded="true"] {
  color: var(--blue-deep);
  background: var(--orange);
  box-shadow: 0 9px 24px rgba(13, 21, 31, .46);
  transform: translate(-50%, -50%) scale(1.12);
}
.storm-hotspot:hover > small,
.storm-hotspot:focus-visible > small {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}
.hotspot-money {
  left: 4.2%;
  top: 42%;
}
.hotspot-passport {
  left: 41.7%;
  top: 45%;
}
.hotspot-strategies {
  left: 41.7%;
  top: 65.6%;
}
.hotspot-contractors {
  left: 76%;
  top: 63.5%;
}
.storm-overlay {
  position: absolute;
  z-index: 10;
  padding: 10px;
  overflow: hidden;
  border-radius: 9px;
  animation: storm-overlay-in 200ms var(--ease-out) both;
}
@keyframes storm-overlay-in {
  from {
    opacity: 0;
    transform: translate3d(0, 5px, 0) scale(.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
.storm-overlay header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.storm-overlay header strong {
  font: 650 .78rem/1.2 "Roboto Slab", Georgia, serif;
}
.storm-materials {
  display: grid;
  gap: 7px;
  min-height: 0;
}
.storm-overlay figure {
  margin: 0;
  min-width: 0;
}
.storm-overlay img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: contain;
}
.storm-overlay figcaption {
  margin-top: 3px;
  font-size: .52rem;
}
.storm-overlay--passport {
  top: 34.5%;
  left: 31.4%;
  width: 20.8%;
  height: 22%;
}
.storm-overlay--passport .storm-materials {
  grid-template-columns: 1fr;
}
.storm-overlay--passport .storm-materials {
  height: calc(100% - 24px);
}
.storm-overlay--passport figure {
  height: 100%;
  min-height: 0;
}
.storm-overlay--passport img {
  height: 100%;
  object-fit: contain;
}
.storm-overlay--passport figcaption {
  display: none;
}
.storm-overlay--strategies {
  top: 57.7%;
  left: 31.4%;
  width: 20.8%;
  height: 25%;
}
.storm-overlay--strategies .storm-materials {
  height: calc(100% - 24px);
}
.storm-overlay--strategies figure {
  display: grid;
  place-items: center;
  min-height: 0;
}
.storm-overlay--strategies img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.storm-overlay--strategies figcaption {
  display: none;
}
.storm-overlay--contractors {
  top: 27.5%;
  right: 1%;
  width: 46%;
  height: 71.5%;
}
.storm-overlay--contractors header {
  margin-bottom: 5px;
}
.storm-overlay--contractors .storm-materials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: calc(100% - 24px);
}
.storm-overlay--contractors figure {
  display: grid;
  place-items: center;
  min-height: 0;
}
.storm-overlay--contractors img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.storm-overlay--contractors figcaption {
  display: none;
}
.storm-overlay--money .storm-materials {
  grid-template-columns: 1fr;
  height: calc(100% - 26px);
  padding-right: 5px;
  overflow-y: auto;
}
.storm-overlay--money img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 550;
  object-fit: contain;
}
.storm-info {
  display: grid;
  gap: 9px;
  min-height: 0;
}
.storm-info .case-stats {
  grid-template-columns: 1fr;
  min-height: 0;
}
.storm-info .case-stats article {
  display: grid;
  align-content: start;
}
.storm-about {
  padding: 11px 16px 0;
  box-shadow: inset 0 1px var(--line);
}
.storm-about h2 {
  margin: 0 0 6px;
  color: var(--orange);
}
.storm-about p {
  margin: 0;
  color: var(--ink-soft);
}
.showcase-view {
  grid-template-rows: auto minmax(0, 1fr);
}
.showcase-layout {
  display: grid;
  min-height: 0;
}
.showcase-main {
  align-content: stretch;
  padding: 0;
}
.showcase-main > span:first-child {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 13px;
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--orange);
  background: rgba(13, 21, 31, .78);
  font-size: .58rem;
}
.showcase-main-media {
  position: absolute;
  inset: 0;
  background: transparent;
}
.showcase-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 15px 13px;
  background: linear-gradient(transparent, rgba(13, 21, 31, .92));
  text-align: left;
}
.showcase-caption h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.showcase-caption p {
  margin: 0;
  color: var(--ink-muted);
  font-size: .66rem;
}
.showcase-thumbs {
  display: grid;
  min-height: 0;
  padding-right: 3px;
}
.showcase-thumbs button {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--ink-muted);
  background: rgba(238, 233, 223, .05);
  transition: color 160ms ease, background-color 160ms ease, transform 200ms var(--ease-out);
}
.showcase-thumbs button:hover,
.showcase-thumbs button.is-active {
  color: var(--ink);
  background: rgba(255, 177, 98, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 177, 98, .56);
  transform: translate3d(0, -2px, 0);
}
.showcase-thumbs button > span:first-child {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 5px;
  padding: 3px 4px;
  border-radius: 4px;
  color: var(--orange);
  background: rgba(13, 21, 31, .78);
  font-size: .5rem;
}
.showcase-thumb-media {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
}
.showcase-thumb-media .portfolio-media {
  transition: transform 240ms var(--ease-out);
}
.showcase-thumbs button:hover .portfolio-media {
  transform: scale(1.025);
}
.showcase-thumbs .media-fallback svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.ai-workflow-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}
.ai-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}
.ai-header h1 {
  margin: 0 0 7px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}
.ai-header p {
  max-width: 820px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.48;
}
.ai-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(238, 233, 223, .045);
  white-space: nowrap;
}
.ai-mode-switch button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--ink-muted);
  background: transparent;
  font-size: .69rem;
  transition: color 170ms ease, background-color 170ms ease, transform 200ms var(--ease-out);
}
.ai-mode-switch button:hover {
  color: var(--ink);
}
.ai-mode-switch button.is-active {
  color: var(--blue-black);
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(3, 8, 14, .2);
}
.workflow-workspace {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(238, 233, 223, .045), transparent 58%), rgba(27, 38, 50, .42);
  box-shadow: var(--shadow), inset 0 1px rgba(238, 233, 223, .055);
}
.workflow-lines {
  position: absolute;
  z-index: 0;
  inset: 7% 4% 12%;
  width: 92%;
  height: 81%;
  overflow: visible;
}
.workflow-lines path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  filter: drop-shadow(0 5px 14px rgba(255, 177, 98, .22));
  animation: workflow-line-in 2.8s var(--ease-out) 180ms forwards;
}
@keyframes workflow-line-in {
  to {
    stroke-dashoffset: 0;
  }
}
.workflow-nodes {
  position: absolute;
  inset: 0;
}
.workflow-node {
  --node-x: 16%;
  --node-y: 24%;
  position: absolute;
  z-index: 2;
  top: var(--node-y);
  left: var(--node-x);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5px 8px;
  border-radius: 9px;
  opacity: 1;
  color: var(--ink);
  background: rgba(13, 21, 31, .86);
  box-shadow: var(--shadow-tight), inset 0 1px rgba(238, 233, 223, .08);
  text-align: left;
  transform: translate3d(-50%, -50%, 0) scale(1);
  animation: workflow-node-in 380ms var(--ease-out) calc(360ms + var(--step) * 360ms) backwards;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
@keyframes workflow-node-in {
  from {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(.95);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}
.workflow-node--1 {
  --node-x: 16%;
  --node-y: 24%;
}
.workflow-node--2 {
  --node-x: 50%;
  --node-y: 24%;
}
.workflow-node--3 {
  --node-x: 84%;
  --node-y: 24%;
}
.workflow-node--4 {
  --node-x: 84%;
  --node-y: 74%;
}
.workflow-node--5 {
  --node-x: 50%;
  --node-y: 74%;
}
.workflow-node--6 {
  --node-x: 16%;
  --node-y: 74%;
}
.workflow-node small {
  grid-row: 1 / 3;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .1em;
}
.workflow-node strong {
  font: 650 clamp(.86rem, 1vw, 1rem)/1.2 "Roboto Slab", Georgia, serif;
}
.workflow-node-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 177, 98, .1);
}
.workflow-node:hover,
.workflow-node:focus-visible {
  z-index: 12;
  background: rgba(27, 38, 50, .98);
  box-shadow: 0 24px 58px rgba(3, 8, 14, .42), inset 0 1px rgba(255, 177, 98, .16);
}
.workflow-popover {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 10px);
  left: 50%;
  display: grid;
  gap: 7px;
  border-radius: 8px;
  opacity: 0;
  color: var(--ink-soft);
  background: rgba(13, 21, 31, .98);
  box-shadow: 0 26px 72px rgba(3, 8, 14, .54);
  pointer-events: none;
  transform: translate3d(-50%, 5px, 0) scale(.97);
  transform-origin: bottom center;
  transition: opacity 150ms ease, transform 190ms var(--ease-out);
}
.workflow-node--1 .workflow-popover {
  top: calc(100% + 10px);
  bottom: auto;
}
.workflow-node--2 .workflow-popover {
  top: calc(100% + 10px);
  bottom: auto;
  transform-origin: top center;
}
.workflow-node--3 .workflow-popover {
  top: calc(100% + 10px);
  bottom: auto;
}
.workflow-node--1 .workflow-popover,
.workflow-node--6 .workflow-popover {
  left: 0;
  transform: translate3d(0, 5px, 0) scale(.97);
  transform-origin: left center;
}
.workflow-node--3 .workflow-popover,
.workflow-node--4 .workflow-popover {
  right: 0;
  left: auto;
  transform: translate3d(0, 5px, 0) scale(.97);
  transform-origin: right center;
}
.workflow-node:hover .workflow-popover,
.workflow-node:focus-visible .workflow-popover {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}
.workflow-node--1:hover .workflow-popover,
.workflow-node--1:focus-visible .workflow-popover,
.workflow-node--3:hover .workflow-popover,
.workflow-node--3:focus-visible .workflow-popover,
.workflow-node--4:hover .workflow-popover,
.workflow-node--4:focus-visible .workflow-popover,
.workflow-node--6:hover .workflow-popover,
.workflow-node--6:focus-visible .workflow-popover {
  transform: translate3d(0, 0, 0) scale(1);
}
.workflow-popover b {
  color: var(--ink);
  font: 650 .84rem/1.2 "Roboto Slab", Georgia, serif;
}
.workflow-popover > span {
  display: grid;
  gap: 7px;
}
.workflow-popover em {
  color: var(--orange);
  font-style: normal;
  font-weight: 700;
}
.workflow-caption {
  position: absolute;
  right: 18px;
  bottom: 12px;
  margin: 0;
  color: var(--ink-muted);
  font-size: .61rem;
}
.ai-distribution {
  display: grid;
  gap: 9px;
  min-height: 0;
}
.ai-distribution > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ai-distribution > header p {
  margin: 0;
  color: var(--ink-muted);
}
.ai-distribution > header button {
  padding: 5px 0;
  color: var(--ink-soft);
  background: transparent;
  box-shadow: inset 0 -1px rgba(201, 193, 177, .3);
  font-size: .68rem;
}
.ai-game-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-height: 0;
}
.ai-game-lane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(238, 233, 223, .05), transparent 58%), rgba(44, 59, 77, .25);
  box-shadow: inset 0 1px rgba(238, 233, 223, .05);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 180ms var(--ease-out);
}
.ai-game-lane:nth-child(2) {
  background-color: rgba(44, 59, 77, .28);
}
.ai-game-lane:nth-child(3) {
  background-color: rgba(163, 81, 57, .12);
}
.ai-game-lane.is-unassigned {
  background: rgba(238, 233, 223, .022);
}
.ai-game-lane.is-drag-over,
.ai-game-lane.is-keyboard-target {
  background-color: rgba(255, 177, 98, .11);
  box-shadow: inset 0 0 0 2px rgba(255, 177, 98, .48);
  transform: translate3d(0, -2px, 0);
}
.ai-game-lane h2 {
  margin: 0 0 10px;
}
.ai-game-lane > div {
  display: grid;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
}
.ai-task-card {
  display: grid;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: rgba(13, 21, 31, .64);
  box-shadow: inset 0 1px rgba(238, 233, 223, .065);
  user-select: none;
  transition: color 160ms ease, transform 180ms var(--ease-out), box-shadow 160ms ease, opacity 160ms ease;
}
.ai-task-card:hover {
  color: var(--ink);
  transform: translate3d(0, -2px, 0);
}
.ai-task-card.is-dragging {
  opacity: .42;
}
.ai-task-card.is-keyboard-selected {
  box-shadow: inset 3px 0 var(--orange), 0 10px 24px rgba(3, 8, 14, .24);
}
.ai-task-card > span {
  color: var(--orange);
  font-weight: 700;
}
.ai-task-card p {
  margin: 0;
}
.ai-task-card i {
  color: var(--ink-muted);
  font-style: normal;
  letter-spacing: 0;
}
.is-dragging-card .cursor-dot {
  width: 20px;
  height: 20px;
  background: rgba(255, 177, 98, .16);
  box-shadow: inset 0 0 0 1px var(--orange);
}
.glass-dialog {
  width: min(92vw, 1080px);
  max-width: none;
  height: auto;
  max-height: 88vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 13px;
  color: var(--ink);
  background: transparent;
}
.glass-dialog::backdrop {
  background: rgba(5, 9, 14, .66);
  backdrop-filter: blur(14px) saturate(80%);
  animation: backdrop-in 170ms ease both;
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}
.dialog-shell {
  max-height: 88vh;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(238, 233, 223, .085), rgba(44, 59, 77, .1)), rgba(13, 21, 31, .93);
  box-shadow: inset 0 1px rgba(238, 233, 223, .12), 0 48px 120px rgba(2, 5, 8, .62);
  backdrop-filter: blur(30px) saturate(116%);
  animation: dialog-in 250ms var(--ease-out) both;
}
.glass-dialog.is-closing .dialog-shell {
  animation: dialog-out 160ms ease both;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(.96);
  }
}
@keyframes dialog-out {
  to {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(.98);
  }
}
.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 16px 20px 13px;
  box-shadow: inset 0 -1px var(--line);
}
.dialog-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--orange);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dialog-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: rgba(238, 233, 223, .065);
  transition: color 160ms ease, background-color 160ms ease, transform 220ms var(--ease-out);
}
.icon-button:hover {
  color: var(--blue-black);
  background: var(--orange);
  transform: rotate(4deg);
}
.icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.dialog-content {
  max-height: calc(88vh - 78px);
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog--resume {
  width: min(95vw, 1450px);
  height: 90vh;
}
.dialog--resume .dialog-shell {
  height: 90vh;
  max-height: 90vh;
}
.dialog--resume .dialog-content {
  height: calc(90vh - 78px);
  max-height: none;
}
.resume-dialog {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  min-height: 100%;
}
.resume-dialog > nav {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 4px;
}
.resume-dialog > nav button {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--ink-muted);
  background: transparent;
  text-align: left;
  transition: color 160ms ease, background-color 160ms ease;
}
.resume-dialog > nav button:hover,
.resume-dialog > nav button.is-active {
  color: var(--ink);
  background: rgba(238, 233, 223, .065);
}
.resume-dialog > nav button.is-active {
  box-shadow: inset 3px 0 var(--orange);
}
.resume-section {
  max-width: 940px;
  padding: 4px 7px 40px;
}
.resume-section > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.resume-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
}
.resume-section > header button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: rgba(238, 233, 223, .065);
  font-size: .7rem;
}
.resume-section > header svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.resume-section section {
  padding: 18px 0;
  box-shadow: inset 0 -1px var(--line);
}
.resume-section h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
}
.resume-section p,
.resume-section li {
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.62;
}
.resume-section dd {
  font-size: .94rem;
  line-height: 1.62;
}
.resume-section dt {
  line-height: 1.62;
}
.resume-section dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 20px;
}
.resume-section dl > div {
  padding: 12px;
  border-radius: 7px;
  background: rgba(238, 233, 223, .045);
}
.resume-section dt {
  color: var(--ink-muted);
  font-size: .67rem;
  text-transform: uppercase;
}
.resume-section dd {
  margin: 3px 0 0;
  color: var(--ink);
}
.dialog--media {
  width: min(78vw, 1120px);
}
.media-viewer-image {
  min-height: min(58vh, 610px);
  max-height: 68vh;
  border-radius: 8px;
  background: rgba(13, 21, 31, .36);
}
.media-viewer-image .media-fallback svg {
  width: 43px;
  height: 43px;
}
.media-viewer-image .media-fallback strong {
  margin-top: 5px;
  font-size: 1.1rem;
}
.media-viewer p {
  margin: 14px 0 3px;
  color: var(--ink-soft);
}
#telegram-qr {
  display: grid;
  place-items: center;
  width: 184px;
  height: 184px;
  margin-bottom: 12px;
  padding: 5px;
  background: var(--paper);
}
#telegram-qr img {
  max-width: 100%;
  height: auto;
}
.voice-dialog > p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: .92rem;
}
.voice-dialog form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-muted);
  font-size: .68rem;
}
.voice-dialog form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}
.voice-dialog input {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  outline: none;
  color: var(--ink);
  background: rgba(238, 233, 223, .065);
  box-shadow: inset 0 0 0 1px rgba(238, 233, 223, .07);
}
.voice-dialog input:focus {
  box-shadow: inset 0 0 0 2px var(--orange);
}
.command-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}
.command-list button {
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--ink-soft);
  background: rgba(238, 233, 223, .055);
  font-size: .69rem;
  transition: color 160ms ease, background-color 160ms ease;
}
.command-list button:hover {
  color: var(--blue-black);
  background: var(--orange);
}
.voice-listen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 41px;
  margin-top: 15px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--blue-black);
  background: var(--orange);
  font-weight: 700;
}
.voice-listen svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.voice-listen.is-listening svg {
  animation: mic-pulse 850ms ease-in-out infinite alternate;
}
@keyframes mic-pulse {
  to {
    transform: scale(1.2);
  }
}
.guide-layer {
  position: fixed;
  z-index: 9000;
  inset: 0;
  pointer-events: none;
}
.guide-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.guide-curve path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  filter: drop-shadow(0 7px 14px rgba(4, 9, 14, .45));
}
.guide-focus {
  position: absolute;
  border-radius: 9px;
  box-shadow: 0 0 0 2px rgba(255, 177, 98, .7), 0 0 0 8px rgba(255, 177, 98, .09), 0 20px 54px rgba(4, 9, 14, .32);
  transition: top 300ms var(--ease-out), left 300ms var(--ease-out), width 300ms var(--ease-out), height 300ms var(--ease-out);
}
.guided-avatar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 118px;
  height: 118px;
  opacity: .92;
  transform: translate3d(-200px, -200px, 0);
  transform-origin: center;
  transition: transform 560ms var(--ease-drawer), opacity 180ms ease;
  will-change: transform;
}
.guided-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.guide-hint {
  position: absolute;
  z-index: 3;
  padding: 15px;
  border-radius: 9px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(238, 233, 223, .09), rgba(44, 59, 77, .12)), rgba(13, 21, 31, .95);
  box-shadow: inset 0 1px rgba(238, 233, 223, .12), 0 24px 64px rgba(2, 6, 10, .54);
  backdrop-filter: blur(24px);
  pointer-events: auto;
  transition: top 300ms var(--ease-out), left 300ms var(--ease-out);
}
.guide-hint > span {
  color: var(--orange);
  font-size: .61rem;
  letter-spacing: .08em;
}
.guide-hint > strong {
  display: block;
  margin-top: 7px;
  font: 650 1.03rem/1.25 "Roboto Slab", Georgia, serif;
}
.guide-hint > p {
  margin: 7px 0 14px;
  color: var(--ink-soft);
  font-size: .76rem;
  line-height: 1.44;
}
.guide-hint > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.guide-hint button {
  min-height: 33px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--ink-muted);
  background: transparent;
  font-size: .67rem;
}
.guide-hint [data-guide-action] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-black);
  background: var(--orange);
  font-weight: 700;
}
.guide-hint svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.is-guide-target {
  position: relative;
  z-index: 9001 !important;
}
.toast {
  position: fixed;
  z-index: 11000;
  right: 20px;
  bottom: 20px;
  max-width: min(350px, calc(100vw - 40px));
  padding: 10px 13px;
  border-radius: 7px;
  opacity: 0;
  color: var(--blue-black);
  background: var(--paper);
  box-shadow: 0 20px 48px rgba(2, 6, 10, .4);
  font-size: .76rem;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  transition: opacity 160ms ease, transform 240ms var(--ease-out);
}
.toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (max-width: 1240px) {
  :root {
    --sidebar: 238px;
  }
  .main-content {
    padding: 19px;
  }
  .project-card {
    padding: 12px;
  }
  .case-overview {
    flex-basis: 75%;
  }
  .storm-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}
@media (max-height: 760px) and (min-width: 981px) {
  :root {
    --topbar: 52px;
  }
  .sidebar {
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .identity {
    padding-bottom: 11px;
  }
  .nav-item,
.nav-disclosure {
    min-height: 38px;
  }
  .sidebar-secondary {
    padding-top: 9px;
  }
  .text-action {
    min-height: 33px;
  }
  .voice-button {
    min-height: 38px;
  }
  .social-button {
    height: 32px;
  }
  .vibe-signature {
    margin-top: 7px;
    font-size: .57rem;
  }
  .profile-view {
    grid-template-rows: 52px minmax(0, 1fr);
  }
}
@media (max-width: 980px) {
  :root {
    --sidebar: 282px;
  }
  .portfolio-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--sidebar);
    box-shadow: 24px 0 70px rgba(2, 6, 10, .62);
    transform: translate3d(-105%, 0, 0);
    transition: transform 340ms var(--ease-drawer);
  }
  .sidebar.is-open {
    transform: translate3d(0, 0, 0);
  }
  .mobile-menu {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-right: 11px;
    padding: 0;
    border-radius: 7px;
    color: var(--ink-soft);
    background: rgba(238, 233, 223, .065);
  }
  .mobile-menu .menu-icon--open {
    opacity: 1;
  }
  .mobile-menu[aria-expanded="true"] .menu-icon--open {
    opacity: 0;
    transform: scale(.58) rotate(28deg);
  }
  .mobile-menu[aria-expanded="true"] .menu-icon--close {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  .learning-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }
  .experience-card {
    flex-basis: 70%;
  }
  .storm-layout {
    grid-template-columns: 1fr;
  }
  .storm-info {
    grid-template-columns: 1fr auto;
  }
  .storm-info .case-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .storm-about {
    max-width: 300px;
  }
  .showcase-info {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  html {
    height: auto;
    min-height: 100%;
    overflow: auto;
  }
  body {
    height: auto;
    overflow: auto;
  }
  body {
    min-height: 100dvh;
  }
  .has-custom-cursor,
.has-custom-cursor * {
    cursor: auto !important;
  }
  .cursor-dot {
    display: none;
  }
  .start-screen {
    position: relative;
    display: block;
    min-height: 100dvh;
    height: auto;
    padding: 70px 17px 26px;
    overflow: visible;
  }
  .start-copy {
    max-width: 680px;
  }
  .start-question {
    margin-top: 30px;
  }
  .mode-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .mode-card {
    min-height: 145px;
    padding: 20px;
  }
  .portfolio-shell {
    position: relative;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
  }
  .workspace {
    min-height: 100dvh;
    height: auto;
    overflow: visible;
  }
  .topbar {
    position: sticky;
    top: 0;
  }
  .mode-switch > span {
    display: none;
  }
  .mode-switch button {
    padding: 0 7px;
    font-size: .62rem;
  }
  .main-content {
    height: auto;
    min-height: calc(100dvh - var(--topbar));
    padding: 17px 14px 24px;
    overflow: visible;
    contain: none;
  }
  .view {
    height: auto;
    min-height: calc(100dvh - var(--topbar) - 41px);
    overflow: visible;
  }
  .profile-view {
    grid-template-rows: auto auto;
  }
  .profile-tabs {
    overflow-x: auto;
  }
  .skills-view {
    height: auto;
  }
  .section-switch {
    min-width: max-content;
    margin-bottom: 14px;
  }
  .roadmap-track {
    grid-template-rows: repeat(6, auto);
  }
  .roadmap-line {
    left: 15px;
  }
  .roadmap-card,
.roadmap-card--left,
.roadmap-card--right {
    grid-column: 2;
    margin: 0;
    min-height: 100px;
  }
  .roadmap-card--left .roadmap-dot,
.roadmap-card--right .roadmap-dot {
    right: auto;
    left: -24px;
  }
  .learning-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }
  .tool-card {
    min-height: 170px;
  }
  .experience-section {
    height: min(720px, 82vh);
  }
  .experience-card {
    flex-basis: calc(100vw - 44px);
    min-width: calc(100vw - 44px);
  }
  .cases-view {
    grid-template-rows: auto auto;
    gap: 20px;
  }
  .case-grid--digital,
.case-grid--other {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .case-card {
    min-height: 210px;
  }
  .case-view {
    min-height: 100dvh;
    grid-template-rows: auto minmax(620px, 1fr) auto;
  }
  .case-header .case-meta {
    grid-column: 1;
  }
  .case-header > div:not(.carousel-controls) {
    grid-column: 1 / -1;
  }
  .case-overview {
    flex-basis: calc(100vw - 42px);
  }
  .case-stats {
    grid-template-columns: 1fr;
  }
  .insight-line {
    min-height: 46px;
  }
  .storm-layout {
    min-height: 720px;
  }
  .storm-board-wrap {
    width: 100%;
  }
  .storm-info {
    display: block;
  }
  .storm-about {
    max-width: none;
    margin-top: 10px;
  }
  .storm-hotspot {
    width: 31px;
    height: 31px;
  }
  .showcase-layout {
    min-height: 720px;
  }
  .ai-workflow-view {
    min-height: 780px;
  }
  .ai-header {
    grid-template-columns: 1fr;
  }
  .ai-mode-switch {
    justify-self: start;
  }
  .workflow-workspace {
    min-height: 640px;
  }
  .workflow-lines {
    display: none;
  }
  .workflow-node {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
  .workflow-nodes {
    position: static;
    display: grid;
    gap: 10px;
    padding: 14px;
  }
  .workflow-node--1,
.workflow-node--2,
.workflow-node--3,
.workflow-node--4,
.workflow-node--5,
.workflow-node--6 {
    --node-x: auto;
    --node-y: auto;
  }
  .workflow-popover {
    position: static;
    display: none;
    margin-top: 8px;
    transform: none;
  }
  .workflow-node:hover .workflow-popover,
.workflow-node:focus-visible .workflow-popover {
    display: grid;
    transform: none;
  }
  .workflow-caption {
    display: none;
  }
  .ai-game-board {
    grid-template-columns: 1fr;
  }
  .ai-game-lane {
    min-height: 180px;
  }
  .glass-dialog,
.dialog--media {
    width: calc(100vw - 18px);
    height: auto;
    max-height: calc(100dvh - 18px);
  }
  .dialog--presentation {
    max-height: calc(100dvh - 18px);
  }
  .dialog--resume {
    width: calc(100vw - 18px);
    height: auto;
    max-height: calc(100dvh - 18px);
  }
  .dialog-shell,
.dialog--resume .dialog-shell {
    height: auto;
    max-height: calc(100dvh - 18px);
  }
  .dialog-content,
.dialog--resume .dialog-content {
    height: auto;
    max-height: calc(100dvh - 90px);
    padding: 15px;
  }
  .resume-dialog {
    grid-template-columns: 1fr;
  }
  .resume-dialog > nav {
    position: static;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
  }
  .resume-section > header {
    display: block;
  }
  .resume-section > header button {
    margin-top: 11px;
  }
  .resume-section dl {
    grid-template-columns: 1fr;
  }
  .guide-curve,
.guide-focus,
.guided-avatar {
    display: none;
  }
  .guide-hint {
    position: fixed;
    right: 11px;
    bottom: 11px;
    left: 11px !important;
    top: auto !important;
    width: auto !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .cursor-dot {
    display: none;
  }
  .has-custom-cursor,
.has-custom-cursor * {
    cursor: auto !important;
  }
  .roadmap-card,
.roadmap-dot,
.workflow-node {
    opacity: 1;
    transform: none;
  }
  .roadmap-line {
    transform: translateX(-50%) scaleY(1);
  }
  .workflow-lines path {
    stroke-dashoffset: 0;
  }
  .storm-hotspot::before {
    display: none;
  }
}
body {
  background: var(--blue-black);
}
.start-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.start-copy {
  width: min(100%, 1180px);
}
.start-role {
  margin-bottom: clamp(28px, 4vh, 48px);
  color: var(--ink-soft);
  font-size: clamp(1.55rem, 2.45vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.start-name-stage {
  position: relative;
  width: max-content;
  max-width: 100%;
}
.start-copy h1 {
  display: flex;
  align-items: stretch;
  margin: 0;
  color: var(--ink);
  font: 690 clamp(3.45rem, 6.4vw, 6.9rem)/.94 "Roboto Slab", Georgia, serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.flap-space {
  width: .27em;
}
.flap-character {
  position: relative;
  perspective: 520px;
}
.flap-character::before {
  content: attr(data-before);
  color: var(--orange);
  opacity: 0;
  transform-origin: center bottom;
}
.flap-character > span {
  backface-visibility: hidden;
  transform-origin: center top;
}
.start-question {
  margin: clamp(42px, 6vh, 68px) 0 17px;
  font-size: clamp(1.03rem, 1.35vw, 1.28rem);
}
.start-avatar {
  position: absolute;
  z-index: 5;
  top: auto;
  right: clamp(-94px, -5.5vw, -58px);
  bottom: 62%;
  left: auto;
  width: clamp(130px, 10.5vw, 178px);
  aspect-ratio: 1;
  transform-origin: 48% 78%;
}
.start-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (prefers-reduced-motion: no-preference) {
  .flap-character::before {
    animation: split-flap-out 520ms var(--ease-in-out) calc(150ms + var(--flap-index) * 42ms) both;
  }
  .flap-character > span {
    animation: split-flap-in 520ms var(--ease-in-out) calc(150ms + var(--flap-index) * 42ms) both;
  }
}
@keyframes split-flap-out {
  0%, 34% {
    opacity: .92;
    transform: rotateX(0deg);
  }
  68%, 100% {
    opacity: 0;
    transform: rotateX(-92deg);
  }
}
@keyframes split-flap-in {
  0%, 36% {
    opacity: 0;
    transform: rotateX(92deg);
  }
  72%, 100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}
.cursor-dot--dialog {
  z-index: 2147483647;
}
.identity strong {
  font-size: 1.035rem;
}
.identity span {
  font-size: .825rem;
}
.nav-item {
  font-size: 1.125rem;
}
.case-submenu {
  gap: 3px;
  max-height: min(276px, 36vh);
  padding-top: 5px;
  padding-bottom: 8px;
}
.case-submenu button {
  min-height: 25px;
  font-size: .825rem;
  line-height: 1.3;
}
.text-action,
.voice-button {
  font-size: .865rem;
}
.profile-tabs {
  align-items: center;
  min-height: 52px;
}
.profile-tab-slot {
  align-items: center;
  width: clamp(104px, 9vw, 132px);
  height: 44px;
}
.profile-tabs button,
.profile-tabs button.is-active {
  width: 100%;
  min-height: 40px;
  padding: 0 0 8px;
  font-size: 1.08rem;
  transform: none;
}
.profile-tabs button {
  font-weight: 650;
}
.profile-tabs button.is-active {
  font-weight: 650;
}
.profile-lead h1 {
  font-size: clamp(2.4rem, 3.6vw, 4.1rem);
}
.profile-role {
  margin-top: 10px;
  margin-bottom: 22px;
}
.profile-summary {
  font-size: clamp(.88rem, .96vw, 1rem);
  line-height: 1.58;
}
.profile-summary--secondary {
  margin-top: 17px;
}
.profile-facts article {
  min-height: 116px;
}
.profile-facts h2 {
  margin-top: 14px;
  font-size: 1rem;
}
.profile-facts p {
  font-size: .78rem;
  line-height: 1.46;
}
.skills-view {
  grid-template-rows: 60px minmax(0, 1fr);
}
.section-switch {
  align-self: start;
  justify-self: center;
  align-items: center;
  width: max-content;
  min-height: 48px;
  padding: 4px;
  gap: 0;
  border-radius: 12px;
  background: rgba(13, 21, 31, .38);
  box-shadow: inset 0 0 0 1px rgba(238, 233, 223, .075),
    inset 0 8px 18px rgba(2, 7, 12, .2),
    0 12px 30px rgba(2, 7, 12, .12);
  backdrop-filter: blur(18px);
}
.section-switch button {
  min-height: 40px;
  padding: 0 19px;
  border-radius: 8px;
  font-size: .94rem;
}
.section-switch-indicator {
  top: 4px;
  bottom: 4px;
  left: 0;
  height: auto;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(238, 233, 223, .105), rgba(44, 59, 77, .22));
  box-shadow: inset 0 1px rgba(238, 233, 223, .12), 0 7px 18px rgba(2, 7, 12, .2);
}
.roadmap-quote blockquote {
  padding: 15px 26px 15px 36px;
  border-radius: 10px;
  background: rgba(13, 21, 31, .34);
  box-shadow: inset 0 1px rgba(238, 233, 223, .05);
  font-size: clamp(.98rem, 1.12vw, 1.14rem);
}
.roadmap-quote blockquote::before {
  top: 4px;
  left: 14px;
}
.roadmap-track {
  width: min(100%, 1120px);
  gap: 9px 0;
  padding: 4px 0;
}
.roadmap-card {
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0px 12px;
  padding: 12px 16px;
  animation-duration: 420ms;
  animation-delay: calc(260ms + var(--step) * 430ms);
}
.roadmap-card--left {
  margin-inline-end: 18px;
}
.roadmap-card--right {
  margin-inline-start: 18px;
}
.roadmap-card h2 {
  font-size: clamp(.92rem, 1vw, 1.02rem);
}
.roadmap-card p {
  font-size: clamp(.75rem, .8vw, .82rem);
  line-height: 1.42;
}
.roadmap-line {
  animation-duration: 3.15s;
}
.learning-grid {
  gap: 12px;
}
.tool-card {
  justify-content: flex-start;
  gap: 10px;
  padding: clamp(15px, 1.35vw, 21px);
}
.tool-card-copy {
  position: relative;
  z-index: 1;
}
.tool-card h3 {
  margin: 4px 0 0;
  font-size: clamp(1.08rem, 1.25vw, 1.35rem);
}
.tool-card .tool-card-meta {
  margin-top: 16px;
  color: var(--oatmeal);
  font-size: clamp(.78rem, .83vw, .75rem);
  font-weight: 200;
  letter-spacing: .02em;
  line-height: 1.35;
}
.tool-card .tool-card-description {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: clamp(.78rem, .83vw, .86rem);
  letter-spacing: .035em;
  line-height: 1.35;
}
.experience-strip {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
}
.experience-card-body {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
}
.experience-related-cases {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
  overflow: visible !important;
}
.experience-related-cases button {
  flex: 0 1 auto !important;
}
.specular-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 10px;
  color: var(--blue-black);
  background: linear-gradient(135deg, #ffd099, var(--orange) 52%, #e9904f);
  box-shadow: inset 0 1px rgba(255, 255, 255, .48),
    inset 0 -1px rgba(98, 43, 24, .25),
    0 10px 24px rgba(3, 8, 14, .22);
  font-size: .78rem;
  font-weight: 720;
  white-space: nowrap;
  transition: box-shadow 180ms ease, filter 180ms ease, transform 150ms var(--ease-out);
}
.specular-button-shine {
  position: absolute;
  inset: -65% auto -65% -44%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  opacity: .55;
  pointer-events: none;
  transform: translate3d(-180%, 0, 0) rotate(18deg);
  transition: transform 520ms var(--ease-out);
}
.specular-button-label,
.specular-button > svg {
  position: relative;
  z-index: 1;
}
.specular-button > svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.specular-button:hover,
.specular-button:focus-visible {
  filter: saturate(1.08) brightness(1.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, .6),
    inset 0 -1px rgba(98, 43, 24, .22),
    0 13px 30px rgba(255, 177, 98, .16);
}
.specular-button:hover .specular-button-shine,
.specular-button:focus-visible .specular-button-shine {
  transform: translate3d(510%, 0, 0) rotate(18deg);
}
.specular-button:active {
  transform: scale(.96);
}
.case-card {
  padding: clamp(15px, 1.35vw, 21px);
}
.case-card h3 {
  font-size: clamp(1.08rem, 1.3vw, 1.4rem);
}
.case-card p {
  margin-top: 8px;
  font-size: clamp(.77rem, .82vw, .85rem);
  letter-spacing: .01em;
  line-height: 1.46;
}
:is(.case-card > .specular-button, .language-button) {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 16px;
  font-size: .78rem;
}
:is(.case-card > .specular-button, .language-button)::after {
  display: none;
}
:is(.case-card > .specular-button, .language-button) svg {
  width: 16px;
  height: 16px;
}
.case-view {
  gap: 14px;
}
.case-header {
  display: grid;
  align-items: center;
  gap: 18px 26px;
  min-height: 62px;
}
.case-heading {
  min-width: 0;
}
.case-title-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.case-header h1 {
  flex: 0 1 auto;
  font-size: clamp(1.45rem, 1.75vw, 1.82rem);
}
.case-header .case-meta {
  margin-top: 6px;
  font-size: .7rem;
}
.case-title-line .specular-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding-inline: 14px;
}
.case-story {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.case-overview {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 300px;
  gap: 11px;
}
.case-hero-frame {
  display: flex;
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(13, 21, 31, .24);
}
.case-hero-frame .case-media-button,
.case-hero-frame .compare-frame,
.case-hero-frame .report-stack {
  width: 100%;
  height: 100%;
}
.case-hero-frame .report-stack {
  grid-template-rows: minmax(0, 1fr);
}
.case-hero-frame .media-image-shell,
.case-hero-frame .portfolio-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
}
.case-hero-frame .portfolio-media {
  object-fit: contain;
}
.case-media-button {
  background: rgba(13, 21, 31, .2);
}
.case-media-button:hover {
  transform: none;
}
.case-stats {
  gap: 10px;
}
.case-stats article {
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(238, 233, 223, .065), transparent 64%), rgba(44, 59, 77, .24);
  box-shadow: inset 0 1px rgba(238, 233, 223, .055);
}
.case-stats h3 {
  margin-bottom: 8px;
  font-size: .7rem;
}
.case-stats p {
  font-size: clamp(.82rem, .87vw, .91rem);
  letter-spacing: .008em;
  line-height: 1.48;
}
.gallery-number {
  top: 11px;
  left: 11px;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(13, 21, 31, .82);
  font-size: .66rem;
}
.insight-rail {
  min-height: 70px;
  padding: 10px 15px;
}
.insight-label {
  font-size: .74rem;
}
.insight-node {
  gap: 7px;
  font-size: .72rem;
}
.insight-node small {
  width: min(300px, 30vw);
  padding: 13px 14px;
  font-size: .8rem;
  line-height: 1.48;
}
.case-simple-action {
  min-height: 46px;
}
.compare-frame {
  background: #f1efe9;
  touch-action: none;
}
.compare-before,
.compare-after {
  background: #f1efe9;
}
.compare-before .portfolio-media,
.compare-after .portfolio-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.compare-divider {
  z-index: 5;
  width: 3px;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(13, 21, 31, .62), 0 0 16px rgba(255, 177, 98, .45);
  transform: translateX(-50%);
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--blue-black);
  background: var(--orange);
  box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 8px 24px rgba(13, 21, 31, .34);
  font-size: 1.12rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
}
.compare-range {
  cursor: ew-resize;
  touch-action: none;
}
.compare-frame label {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(13, 21, 31, .82);
  font-size: .72rem;
}
.storm-info {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
}
.storm-info .case-stats {
  align-content: start;
}
.storm-info .case-stats article {
  padding: 14px 15px;
}
.storm-info .case-stats p {
  font-size: .84rem;
  line-height: 1.48;
}
.storm-about {
  padding-top: 15px;
}
.storm-about h2 {
  margin-bottom: 9px;
  font-size: .92rem;
}
.storm-about p {
  font-size: .82rem;
  line-height: 1.5;
}
.storm-overlay {
  color: var(--blue-black);
  background: rgba(248, 245, 238, .94);
  box-shadow: 0 24px 64px rgba(13, 21, 31, .34), inset 0 0 0 1px rgba(13, 21, 31, .08);
  backdrop-filter: blur(16px) saturate(90%);
}
.storm-overlay header strong {
  color: var(--blue-black);
  font-size: .84rem;
}
.storm-overlay header span {
  color: var(--rust);
  font-size: .64rem;
}
.storm-overlay figcaption {
  color: rgba(13, 21, 31, .68);
}
.storm-overlay--strategies .storm-materials {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
}
.storm-overlay--money {
  top: 6%;
  left: 3%;
  width: 36%;
  height: min(750px, 86%);
}
.storm-overlay--money .storm-materials {
  padding-inline-end: 7px;
}
.storm-overlay--money img {
  border: 1px solid rgba(13, 21, 31, .08);
}
.showcase-layout {
  grid-template-columns: minmax(0, 1fr) clamp(230px, 24vw, 370px);
  gap: 12px;
}
.showcase-primary {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}
.showcase-main {
  min-width: 0;
  min-height: 0;
}
.showcase-main-media .portfolio-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
}
.showcase-info .case-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: auto;
}
.showcase-thumbs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 7px;
  overflow-y: auto;
}
.showcase-thumbs button {
  aspect-ratio: 1.62;
}
.showcase-thumb-media .portfolio-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}
.ai-header p {
  font-size: clamp(.86rem, .95vw, .97rem);
}
.workflow-node {
  width: clamp(158px, 16vw, 220px);
  min-height: 74px;
  padding: 14px 16px;
}
.workflow-node small {
  font-size: .66rem;
}
.workflow-node strong {
  font-size: clamp(.95rem, 1.08vw, 1.1rem);
}
.workflow-popover {
  width: min(350px, 30vw);
  padding: 15px;
}
.workflow-popover b {
  font-size: .94rem;
}
.workflow-popover > span {
  grid-template-columns: 62px 1fr;
  font-size: .78rem;
  line-height: 1.45;
}
.ai-distribution > header p {
  font-size: .78rem;
}
.ai-check-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-check-actions > button:first-child {
  min-height: 38px;
  padding: 0 10px;
  box-shadow: none;
  font-size: .76rem;
}
.ai-check-actions .specular-button {
  min-height: 39px;
  padding: 0 15px;
  color: var(--blue-black);
  background: linear-gradient(135deg, #ffd099, var(--orange) 52%, #e9904f);
  box-shadow: inset 0 1px rgba(255, 255, 255, .48),
    inset 0 -1px rgba(98, 43, 24, .25),
    0 10px 24px rgba(3, 8, 14, .22);
  font-size: .76rem;
}
.ai-game-lane {
  padding: 15px;
}
.ai-game-lane h2 {
  margin-bottom: 13px;
  font-size: clamp(.94rem, 1.08vw, 1.1rem);
}
.ai-game-lane > div {
  gap: 8px;
}
.ai-task-card {
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  min-height: 52px;
  padding: 10px 11px;
}
.ai-task-card > span {
  font-size: .64rem;
}
.ai-task-card p {
  font-size: .78rem;
  line-height: 1.35;
}
.ai-card-result {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--blue-black);
  background: var(--oatmeal);
  font-size: .8rem;
}
.ai-task-card.is-correct {
  box-shadow: inset 3px 0 var(--orange), inset 0 1px rgba(238, 233, 223, .065);
}
.ai-task-card.is-correct .ai-card-result {
  background: var(--orange);
}
.ai-task-card.is-wrong {
  box-shadow: inset 3px 0 #c77d69, inset 0 1px rgba(238, 233, 223, .065);
}
.ai-task-card.is-wrong .ai-card-result {
  color: var(--ink);
  background: #9f5c4d;
}
.ai-check-feedback {
  position: relative;
  margin: 0;
  padding: 10px 14px;
  opacity: 0;
  color: var(--ink-soft);
  background: rgba(13, 21, 31, .94);
  font-size: .78rem;
  pointer-events: none;
  transform: translate3d(0, 6px, 0);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}
.ai-check-feedback.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.ai-distribution {
  position: relative;
  grid-template-rows: auto minmax(0, 1fr) 38px;
  padding-bottom: 0;
}
.dialog--presentation {
  width: 80vw;
  height: 80vh;
}
.dialog--presentation .dialog-shell {
  height: 80vh;
  max-height: 80vh;
  background: #0d151f;
}
.dialog--presentation .dialog-content {
  height: calc(80vh - 78px);
  max-height: none;
  padding: 0;
  overflow: hidden;
}
.report-presentation-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.media-viewer-image .portfolio-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 1240px) and (min-width: 761px) {
  :root {
    --sidebar: 252px;
  }
  .nav-item {
    font-size: 1.02rem;
  }
  .case-submenu button {
    font-size: .78rem;
  }
  .workflow-node {
    width: 158px;
  }
}
@media (max-height: 780px) and (min-width: 761px) {
  .start-screen {
    padding-top: 58px;
    padding-bottom: 22px;
  }
  .start-role {
    margin-bottom: 22px;
    font-size: clamp(1.4rem, 2vw, 2rem);
  }
  .start-copy h1 {
    font-size: clamp(3.15rem, 5.4vw, 5.25rem);
  }
  .start-question {
    margin-top: 26px;
  }
  .mode-card {
    min-height: 132px;
  }
  .profile-facts article {
    min-height: 98px;
  }
  .profile-facts h2 {
    margin-top: 8px;
  }
  .profile-summary {
    line-height: 1.46;
  }
  .roadmap-quote blockquote {
    padding-block: 10px;
  }
  .roadmap-track {
    gap: 5px 0;
  }
  .roadmap-card {
    gap: 3px 9px;
    padding: 8px 12px;
  }
  .tool-card {
    padding: 12px;
  }
  .tool-card .tool-card-meta {
    margin-top: 18px;
  }
  .tool-card .tool-card-description {
    margin-top: 28px;
    font-size: .76rem;
  }
  .case-stats article {
    padding: 10px 12px;
  }
  .case-stats p {
    font-size: .78rem;
  }
  .insight-rail {
    min-height: 60px;
  }
  .workflow-node {
    min-height: 64px;
    padding: 10px 12px;
  }
  .ai-task-card {
    min-height: 46px;
    padding: 8px 9px;
  }
}
@media (max-width: 980px) {
  .showcase-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}
@media (max-width: 760px) {
  .start-role {
    margin-bottom: 24px;
    font-size: clamp(1.45rem, 8vw, 2.45rem);
  }
  .start-copy h1 {
    font-size: clamp(2.65rem, 12vw, 4.65rem);
    white-space: normal;
    flex-wrap: wrap;
  }
  .start-name-stage {
    width: min(100%, 680px);
  }
  .start-avatar {
    right: 0;
    bottom: 74%;
    width: 105px;
  }
  .section-switch {
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }
  .roadmap-track {
    grid-template-columns: 30px 1fr;
  }
  .case-title-line {
    align-items: flex-start;
    flex-direction: column;
  }
  .showcase-layout {
    grid-template-columns: 1fr;
  }
  .showcase-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dialog--presentation {
    width: calc(100vw - 18px);
    height: calc(100dvh - 18px);
  }
  .dialog--presentation .dialog-shell {
    height: calc(100dvh - 18px);
    max-height: calc(100dvh - 18px);
  }
  .dialog--presentation .dialog-content {
    height: calc(100dvh - 96px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .flap-character::before {
    display: none;
  }
  .flap-character > span {
    opacity: 1;
    transform: none;
  }
}
.flap-character,
.flap-space {
  display: inline-block;
  flex: 0 0 auto;
}
.flap-character::before {
  position: absolute;
  inset: 0;
  width: 100%;
  text-align: center;
}
.flap-character > span {
  display: block;
}
.start-avatar {
  opacity: .92;
  pointer-events: none;
  transform: none;
  transition: none;
  animation: none !important;
}
.profile-summary--secondary {
  position: relative;
  margin: 17px 0 0;
  padding: 14px 18px 14px 36px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: rgba(13, 21, 31, .34);
  box-shadow: inset 3px 0 var(--rust), inset 0 1px rgba(238, 233, 223, .05);
}
.profile-summary--secondary::before {
  content: "“";
  position: absolute;
  top: 7px;
  left: 13px;
  color: var(--orange);
  font: 700 1.65rem/1 "Roboto Slab", Georgia, serif;
}
:is(.case-card > .specular-button, .language-button) {
  isolation: isolate;
  color: var(--ink-soft);
  background: linear-gradient(145deg, rgba(238, 233, 223, .055), rgba(13, 21, 31, .22));
  box-shadow: inset 0 0 0 1px rgba(238, 233, 223, .13), 0 8px 22px rgba(3, 8, 14, .13);
  filter: none;
  transform: none;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
:is(.case-card > .specular-button, .language-button) .specular-button-shine {
  z-index: 2;
  inset: 0;
  width: auto;
  padding: 1px;
  overflow: hidden;
  border-radius: inherit;
  opacity: .58;
  background: none;
  transform: none;
  transition: opacity 180ms ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
:is(.case-card > .specular-button, .language-button) .specular-button-shine::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 58%, rgba(255, 177, 98, .14) 65%, rgba(238, 233, 223, .9) 72%, rgba(163, 81, 57, .82) 79%, transparent 88% 100%);
  transform: translate3d(-50%, -50%, 0) rotate(-210deg);
  transition: transform 520ms var(--ease-out);
}
:is(.case-card > .specular-button, .language-button):hover,
:is(.case-card > .specular-button, .language-button):focus-visible {
  color: var(--ink);
  background: rgba(238, 233, 223, .055);
  box-shadow: inset 0 0 0 1px rgba(238, 233, 223, .15), 0 10px 28px rgba(3, 8, 14, .2);
  filter: none;
  transform: none;
}
:is(.case-card > .specular-button, .language-button):hover .specular-button-shine::before,
:is(.case-card > .specular-button, .language-button):focus-visible .specular-button-shine::before {
  transform: translate3d(-50%, -50%, 0) rotate(150deg);
}
:is(.case-card > .specular-button, .language-button):active {
  transform: none;
}
.case-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.case-header .carousel-controls {
  justify-self: end;
}
.case-story {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 24px 6px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 177, 98, .36) rgba(238, 233, 223, .045);
  touch-action: pan-x;
}
.case-story::before {
  content: "";
  flex: 0 0 var(--gallery-leading-space, 0px);
  margin-right: -8px;
  pointer-events: none;
}
.case-story::-webkit-scrollbar {
  height: 8px;
}
.case-story::-webkit-scrollbar-track {
  border-radius: 8px;
  background: rgba(238, 233, 223, .045);
}
.case-story::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(255, 177, 98, .36);
}
.case-overview,
.case-overview.is-natural-width {
  flex: 0 0 var(--case-overview-width, min(70%, 980px));
  width: var(--case-overview-width, min(70%, 980px));
}
.workflow-popover b {
  letter-spacing: .012em;
}
.workflow-popover > span {
  letter-spacing: .02em;
}
@media (max-height: 780px) and (min-width: 761px) {
  .profile-summary--secondary {
    margin-top: 10px;
  }
}
@media (max-width: 760px) {
  .case-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .case-header .back-link {
    grid-column: 1;
    grid-row: 1;
  }
  .case-header .case-heading {
    grid-column: 1 / -1;
  }
  .case-header .carousel-controls {
    grid-column: 2;
    grid-row: 1;
  }
  .case-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 0;
    overflow: visible;
    touch-action: auto;
  }
  .case-story::before {
    display: none;
  }
  .case-overview,
.case-overview.is-natural-width {
    width: 100%;
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.case-card > .specular-button, .language-button) .specular-button-shine::before {
    transition-duration: 1ms;
  }
}
/* Grainient: persistent WebGL canvas. Fallback is only used without WebGL2. */
#ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #152333;
}
#ambient canvas {
  display: none;
  width: 100%;
  height: 100%;
}
#ambient.has-webgl canvas {
  display: block;
}
#ambient:not(.has-webgl)::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse at 20% 30%, #304356, transparent 60%), radial-gradient(ellipse at 80% 70%, #403332, transparent 65%), #152333;
  animation: background-fallback 32s var(--ease-in-out) infinite alternate;
}
@keyframes background-fallback {
  from {
    transform: translate(-8%, -5%) rotate(-10deg);
  }
  to {
    transform: translate(8%, 5%) rotate(10deg);
  }
}
body {
  letter-spacing: 0;
}
.nav-item {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 650;
}
.social-row {
  grid-template-columns: minmax(0, 1fr);
}
.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  transform: none;
}
.social-button > span {
  font-size: .9rem;
}
.social-button:hover,
.roadmap-card:hover, .project-card:hover {
  transform: none;
}
/* One framed composition: the portrait rests on the same baseline as the bio. */
.profile-tab-panel[data-active-tab="profile"] {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-block: 16px;
}
.profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 25vw, 340px);
  align-items: stretch;
  gap: 32px;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-block: auto;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(238, 233, 223, .09);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(238, 233, 223, .045), transparent 62%), rgba(13, 21, 31, .22);
  box-shadow: 0 20px 60px rgba(3, 8, 14, .12);
}
.profile-content-column {
  display: grid;
  min-width: 0;
  align-items: center;
}
.profile-lead {
  min-width: 0;
}
.profile-avatar-column {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(238, 233, 223, .09);
  border-bottom-color: rgba(255, 177, 98, .32);
  border-radius: 14px;
  background: radial-gradient(ellipse at 60% 30%, rgba(153, 109, 78, .17), transparent 68%), linear-gradient(155deg, rgba(52, 71, 91, .32), rgba(21, 32, 44, .62));
}
.profile-avatar {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}
.profile-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  align-self: start;
}
.profile-facts article {
  padding: 20px;
}
/* The guide is 3 × the previous 96px, beside (not inside) the roadmap. */
.skills-panel {
  overflow-y: auto;
}
.roadmap-section {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  grid-template-rows: auto minmax(540px, 1fr);
  gap: 24px 28px;
  height: 100%;
  min-height: 660px;
  padding-block: 12px;
}
.roadmap-avatar {
  display: block;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 288px;
  height: 288px;
  margin-top: 32px;
  object-fit: contain;
  align-self: start;
  pointer-events: none;
}
.roadmap-quote {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  text-align: start;
}
.roadmap-track {
  grid-column: 2;
  grid-row: 2;
}
/* One expanded panel, 200px at rest. gallery-motion.js owns widths and scrolling. */
.case-gallery {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 8px;
  width: max-content;
  min-width: max-content;
  height: 100%;
  min-height: 0;
  padding: 0 0 4px;
  margin: 0;
  overflow: visible;
}
.case-gallery::after {
  content: "";
  flex: 0 0 var(--gallery-edge-space, 0px);
  pointer-events: none;
}
.case-gallery-slide {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 92px;
  flex: 0 0 auto;
  width: 200px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(27, 38, 50, .55);
  box-shadow: inset 0 0 0 1px rgba(238, 233, 223, .1);
  text-align: start;
  transform: none;
  transition: box-shadow 180ms ease;
}
.case-gallery-slide.is-active {
  width: var(--gallery-open-width, 720px);
  box-shadow: inset 0 0 0 1px rgba(255, 177, 98, .25);
}
.gallery-media {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(13, 21, 31, .12);
}
.case-gallery-slide .gallery-media .portfolio-media {
  width: var(--gallery-open-width, 720px);
  max-width: none;
  height: 100%;
  min-width: 0;
  max-height: 100%;
  justify-self: center;
  object-fit: contain;
  transform: none;
  filter: brightness(.8);
  transition: filter 300ms ease;
}
.case-gallery-slide.is-active .gallery-media .portfolio-media {
  filter: none;
}
.gallery-copy {
  display: block;
  position: relative;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  background: none;
  opacity: .8;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.gallery-copy h3 {
  margin: 0;
  font-size: .96rem;
  line-height: 1.35;
}
.gallery-copy p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: .875rem;
  line-height: 1.45;
}
.case-gallery-slide:not(.is-active) .gallery-copy p {
  visibility: hidden;
}
.case-gallery-slide.is-active .gallery-copy {
  opacity: 1;
}
.case-story,
.case-gallery {
  scroll-behavior: auto;
  scroll-snap-type: none;
  overflow-anchor: none;
}
.insight-rail {
  grid-template-columns: auto minmax(0, 1fr);
}
/* Countdown: all controls and every full image fit inside the native dialog. */
.dialog--countdown {
  width: min(1000px, 90vw);
  height: 86dvh;
  max-height: 86dvh;
}
.dialog--countdown .dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  max-height: 100%;
}
.dialog--countdown .dialog-content {
  min-height: 0;
  max-height: none;
  padding: 20px;
  overflow: hidden;
}
.countdown-view {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  height: 100%;
  min-height: 0;
}
.countdown-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(13, 21, 31, .2);
}
.countdown-frame .portfolio-media {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.countdown-view footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.countdown-view footer button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 7px;
  color: var(--ink);
  background: rgba(238, 233, 223, .065);
}
.countdown-view footer button:not(:disabled):hover {
  color: var(--blue-black);
  background: var(--orange);
}
.countdown-view footer button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.countdown-progress {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dialog--telegram {
  width: min(440px, calc(100vw - 24px));
}
.telegram-contact {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 12px;
  text-align: center;
}
.telegram-contact #telegram-qr {
  width: 232px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.telegram-contact #telegram-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.telegram-contact p {
  margin: 0;
  overflow-wrap: anywhere;
}
.telegram-link {
  gap: 16px;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
}
@media (max-width: 1180px) {
  .profile-overview {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 28px;
    padding: 28px;
  }
  .profile-facts {
    gap: 14px;
  }
  .profile-facts article {
    padding: 16px;
  }
  .roadmap-section {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 24px;
  }
  .roadmap-avatar {
    width: 216px;
    height: 216px;
  }
}
@media (max-width: 980px) and (min-width: 761px) {
  .profile-overview {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
    padding: 24px;
  }
  .profile-facts {
    grid-template-columns: 1fr;
  }
  .roadmap-section {
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .roadmap-avatar {
    width: 170px;
    height: 170px;
  }
  .roadmap-track {
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: repeat(6, auto);
  }
  .roadmap-card, .roadmap-card--left, .roadmap-card--right {
    grid-column: 2;
    margin: 0;
  }
  .roadmap-line {
    left: 15px;
  }
  .roadmap-card--left .roadmap-dot, .roadmap-card--right .roadmap-dot {
    right: auto;
    left: -24px;
  }
}
@media (max-width: 760px) {
  .profile-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 24px;
  }
  .profile-avatar-column {
    grid-row: 1;
    width: min(100%, 300px);
    min-height: 0;
    aspect-ratio: 1;
    justify-self: center;
  }
  .profile-avatar {
    max-height: 100%;
  }
  .profile-facts {
    grid-template-columns: 1fr;
  }
  .profile-tabs button.is-active {
    transform: none;
  }
  .skills-panel {
    overflow: visible;
  }
  .roadmap-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 0;
  }
  .roadmap-avatar {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: 216px;
    height: 216px;
    margin: 0;
  }
  .roadmap-quote {
    grid-column: 1;
    grid-row: 2;
  }
  .roadmap-track {
    grid-column: 1;
    grid-row: 3;
  }
  .case-gallery {
    width: 100%;
    min-width: 0;
    height: 430px;
    padding-bottom: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    overflow-anchor: none;
  }
  .case-gallery::before {
    content: "";
    flex: 0 0 var(--gallery-edge-space, 0px);
    pointer-events: none;
  }
  .case-gallery-slide {
    height: 426px;
  }
  .dialog--countdown {
    width: calc(100vw - 20px);
    height: 90dvh;
    max-height: 90dvh;
  }
  .dialog--countdown .dialog-content {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ambient:not(.has-webgl)::before {
    animation: none;
  }
  .case-gallery-slide {
    transition: none;
  }
  .case-gallery-slide .gallery-media .portfolio-media {
    transition-duration: 160ms;
  }
}

/* Language controls extend the approved case-button treatment. */
.language-switch { display: flex; align-items: center; gap: 10px; }
.start-language-switch { position: absolute; z-index: 5; top: clamp(20px, 3vh, 34px); left: 50%; transform: translateX(-50%); }
.language-switch .language-button { margin-top: 0; min-width: 100px; min-height: 42px; padding: 10px 20px; font-size: .9rem; letter-spacing: 0; }
.language-switch .language-button.is-selected { color: var(--orange); box-shadow: inset 0 0 0 1px rgba(255, 177, 98, .4); }
.sidebar-language-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 0 0 auto; gap: 8px; margin-top: 10px; }
.sidebar-language-switch .language-button { min-width: 0; padding: 10px 8px; }
@media (max-width: 600px) {
  .start-language-switch { top: 48px; }
  .start-screen { padding-top: 112px; }
}
