@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
}
:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #fff;
  --text: #192031;
  --muted: #606979;
  --line: #dfe3ed;
  --blue: #3856ef;
  --blue-soft: #ebefff;
  --chip: #f1f3f8;
  --lime: #ddff80;
  --shadow: 0 20px 65px #2633530a;
  --sans: 'DM Sans', sans-serif;
  --display: 'Manrope', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body[data-theme='dark'] {
  color-scheme: dark;
  --bg: #111521;
  --surface: #1b2131;
  --text: #f3f5ff;
  --muted: #adb6cc;
  --line: #333c51;
  --blue: #9aaaff;
  --blue-soft: #252f51;
  --chip: #252d40;
  --shadow: 0 20px 65px #0002;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
[tabindex='0']:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: var(--lime);
  color: #192031;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
a {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.2s;
}
button:disabled {
  cursor: wait;
}
svg {
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
.wrap {
  width: min(1216px, calc(100% - 96px));
  margin-inline: auto;
  min-width: 0;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 3px;
  background: var(--blue);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 92px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.brand-symbol {
  font-family: var(--display);
  background: var(--blue);
  color: var(--surface);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  line-height: 1;
}
.brand-symbol span {
  color: var(--lime);
}
body[data-theme='dark'] .brand-symbol {
  color: #111521;
}
.main-nav {
  display: flex;
  gap: 5px;
  align-items: center;
}
.main-nav a {
  padding: 8px 13px;
  font-size: 0.875rem;
  color: var(--muted);
  border-radius: 9px;
}
.main-nav a:hover,
.main-nav a.current {
  background: var(--blue-soft);
  color: var(--blue);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.icon-button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: var(--blue-soft);
}
.sun-icon {
  display: none;
}
body[data-theme='dark'] .sun-icon {
  display: block;
}
body[data-theme='dark'] .moon-icon {
  display: none;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 23px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 0.875rem;
  border: 1px solid transparent;
  line-height: 1.5;
}
.small-button {
  min-height: 42px;
  padding: 9px 19px;
  background: var(--text);
  color: var(--surface);
  border-radius: 10px;
}
.small-button:hover {
  background: var(--blue);
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 15px #3856ef20;
}
.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 23px #3856ef30;
  background: #2946df;
}
body[data-theme='dark'] .primary {
  background: #3856ef;
  color: white;
}
.quiet {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface);
}
.quiet:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  align-items: center;
}
.intro-label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hello-mark {
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  animation: hello-turn 9s linear infinite;
}
h1 {
  font-family: var(--display);
  font-size: clamp(3.25rem, 5.4vw, 4.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.065em;
  margin-bottom: 26px;
}
.accent {
  color: var(--blue);
}
.hero-role {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-description {
  font-size: 1rem;
  color: var(--muted);
  max-width: 470px;
  line-height: 1.85;
}
.rotating-word {
  color: var(--blue);
  font-weight: 650;
  display: inline-block;
  min-width: 90px;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.rotating-word.swapping {
  opacity: 0;
  transform: translateY(-6px);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-proof {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 36px;
}
.proof-number {
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.proof-number > span {
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0;
  font-weight: 500;
  margin-left: 6px;
  color: var(--muted);
}
.hero-proof p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}
.hero-proof strong {
  font-weight: 550;
  color: var(--text);
}
.proof-divider {
  height: 31px;
  width: 1px;
  background: var(--line);
  margin-inline: 7px;
}
.proof-stack {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
}
.workflow-card {
  background: #3856ef;
  color: #fff;
  padding: 29px 30px 23px;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 18px 50px #3856ef20;
  min-width: 0;
  isolation: isolate;
}
.workflow-card:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse at 100% 0%, #7b91ff 0%, transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}
.workflow-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.mono-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.demo-tag {
  font-size: 0.75rem;
  padding: 4px 9px;
  border: 1px solid #ffffff45;
  border-radius: 7px;
  white-space: nowrap;
  background: #ffffff0d;
}
.workflow-card h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.045em;
  margin-bottom: 23px;
}
.workflow-card h2 > span {
  color: var(--lime);
}
.workflow-switch {
  display: flex;
  gap: 5px;
  background: #1b34b637;
  padding: 5px;
  border-radius: 11px;
  margin-bottom: 22px;
}
.workflow-switch button {
  flex: 1;
  background: transparent;
  color: #e8ecff;
  border: 0;
  border-radius: 7px;
  font-size: 0.875rem;
  min-height: 38px;
  padding: 5px 10px;
  line-height: 1.5;
}
.workflow-switch button:hover {
  background: #ffffff15;
}
.workflow-switch button.active {
  background: #fff;
  color: #2945d9;
  box-shadow: 0 2px 6px #10237820;
}
.workflow-card :focus-visible {
  outline-color: var(--lime);
}
.flow-stage {
  background: #ffffff12;
  border: 1px solid #ffffff33;
  padding: 12px 14px;
  border-radius: 13px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.stage-icon {
  width: 34px;
  height: 34px;
  background: #fff2;
  display: grid;
  place-items: center;
  border-radius: 9px;
  flex-shrink: 0;
}
.stage-icon svg {
  width: 20px;
  height: 20px;
}
.flow-stage > div {
  min-width: 0;
  flex: 1;
}
.stage-caption {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: #e0e6ff;
  margin-bottom: 2px;
}
.stage-title {
  display: block;
  font-weight: 550;
  line-height: 1.5;
  font-size: 0.875rem;
}
.stage-state {
  width: 19px;
  height: 19px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.flow-stage.active {
  background: #ffffff24;
  border-color: var(--lime);
  transform: translateX(3px);
}
.flow-stage.active .stage-state {
  border: 2px solid #ffffff5f;
  border-top-color: var(--lime);
  animation: spin 1s linear infinite;
}
.flow-stage.done .stage-state {
  background: var(--lime);
  border-color: var(--lime);
}
.flow-stage.done .stage-state:before {
  content: '';
  display: block;
  position: absolute;
  width: 7px;
  height: 4px;
  border-left: 2px solid #253559;
  border-bottom: 2px solid #253559;
  transform: rotate(-45deg);
  left: 4px;
  top: 5px;
}
.flow-connector {
  height: 15px;
  margin-left: 30px;
  width: 1px;
  background: #ffffff4f;
  position: relative;
}
.flow-connector span {
  width: 4px;
  height: 5px;
  background: var(--lime);
  position: absolute;
  left: -1.5px;
  top: 0;
  opacity: 0;
}
.is-running .flow-connector span {
  opacity: 1;
  animation: flow-packet 0.6s linear infinite;
}
.demo-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
}
.run-button {
  background: var(--lime);
  color: #17203a;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  min-height: 43px;
  padding: 9px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.run-button:hover {
  background: #ecffb7;
  transform: translateY(-2px);
}
.run-button:disabled {
  opacity: 0.8;
  transform: none;
}
.demo-status {
  font-size: 0.75rem;
  color: #e1e7ff;
  line-height: 1.5;
  min-height: 1.5em;
}
.demo-footnote {
  font-size: 0.75rem;
  color: #d1dbff;
  margin-top: 14px;
  line-height: 1.6;
}
.platform-bar {
  border-block: 1px solid var(--line);
  padding-block: 25px;
  display: flex;
  align-items: center;
  gap: 45px;
}
.platform-bar > p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  flex-shrink: 0;
}
.platform-bar strong {
  color: var(--text);
  font-weight: 500;
}
.platforms {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-around;
  gap: 26px;
  flex-wrap: wrap;
}
.platforms > span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.platform-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.75rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
}
.section {
  padding-block: 88px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 17px;
}
h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.muted-title {
  color: var(--muted);
}
.section-heading > p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-bottom: 4px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr 0.95fr;
  gap: 18px;
}
.panel {
  border-radius: 22px;
  padding: 30px;
  min-width: 0;
  position: relative;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}
.panel:hover {
  box-shadow: 0 15px 35px #24315312;
}
.panel-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 23px;
}
.about-story {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-story h3,
.ai-panel h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.05em;
  font-weight: 750;
  margin-bottom: 18px;
}
.about-story p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}
.about-story p + p {
  margin-top: 13px;
}
.story-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  margin-top: 23px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}
.mini-monogram {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.06em;
}
.experience-panel {
  background: var(--lime);
  color: #18222b;
  display: flex;
  flex-direction: column;
}
.experience-panel .panel-label {
  color: #42532a;
}
.big-number {
  font-family: var(--display);
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 1.15;
  letter-spacing: -0.09em;
  font-weight: 750;
  margin-top: 28px;
}
.big-number > span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-left: 9px;
}
.experience-panel > p {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.02em;
  margin-top: 15px;
}
.experience-rings {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}
.experience-rings span {
  border: 1px solid #233f3350;
  border-radius: 30px;
  padding: 7px 13px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
}
.experience-rings span:nth-child(2) {
  margin-left: 24px;
}
.experience-rings span:nth-child(3) {
  margin-left: 49px;
}
.ai-panel {
  background: #242e46;
  color: white;
  display: flex;
  flex-direction: column;
}
.ai-panel .panel-label {
  color: #c0cbe1;
}
.ai-symbol {
  color: #a9b9ff;
  font-size: 4rem;
  line-height: 1;
  margin: 25px 0 20px;
  align-self: start;
  animation: hello-turn 20s linear infinite;
}
.ai-panel p {
  color: #c2cce1;
  font-size: 0.9375rem;
  line-height: 1.75;
}
.mini-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 27px;
}
.mini-tags span {
  border: 1px solid #ffffff35;
  border-radius: 7px;
  padding: 3px 8px;
  color: #d3dcf2;
  font-size: 0.75rem;
}
.skills-explorer {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.skill-tabs {
  display: grid;
  padding: 10px;
  background: var(--chip);
  gap: 7px;
  border-bottom: 1px solid var(--line);
}
.skill-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 13px;
  line-height: 1.5;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
}
.skill-tabs button:hover {
  color: var(--blue);
  background: var(--surface);
}
.skill-tabs button[aria-selected='true'] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 2px 7px #2633530a;
}
.tab-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}
.skill-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding: 43px 44px;
  align-items: center;
  min-height: 375px;
  animation: panel-enter 0.35s ease;
}
.skill-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--blue);
  letter-spacing: -0.065em;
  margin-bottom: 18px;
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: 12px;
  font-weight: 650;
}
.skill-description h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.045em;
  margin-bottom: 15px;
}
.skill-description p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 450px;
}
.skill-caption {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 24px;
  color: var(--muted);
}
.skill-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-content: center;
}
.skill-list > span {
  padding: 12px 19px;
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition:
    transform 0.2s,
    background 0.2s;
}
.skill-list > span:hover {
  transform: translateY(-4px);
  background: var(--blue-soft);
}
.skill-list > .featured-skill {
  font-size: 1.125rem;
  color: var(--blue);
  background: var(--blue-soft);
  border-color: transparent;
  font-weight: 550;
  padding: 16px 21px;
}
.contact-section {
  padding-block: 90px 0;
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  background: #242e46;
  color: #fff;
  padding: 55px;
  border-radius: 27px;
  align-items: center;
}
.contact-card .eyebrow {
  color: #adbdff;
}
.contact-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: #fff;
}
.contact-heading h2 span {
  color: var(--lime);
}
.contact-heading > p:last-child {
  font-size: 0.9375rem;
  color: #c2cce1;
  margin-top: 23px;
}
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #c2cce1;
}
.email-link {
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  letter-spacing: -0.035em;
  display: block;
  margin-top: 14px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.email-link:hover {
  color: var(--lime);
}
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}
.lime-button {
  background: var(--lime);
  color: #1b2636;
  padding-inline: 18px;
}
.lime-button:hover {
  background: #eaffad;
  transform: translateY(-3px);
}
.copy-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #d1daf0;
  font-size: 0.875rem;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
}
.copy-button:hover {
  color: var(--lime);
}
.copy-status {
  font-size: 0.75rem;
  color: var(--lime);
  min-height: 24px;
  margin-top: 4px;
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: #c2cce1;
  margin-top: 14px;
  min-height: 35px;
}
.linkedin-link:hover {
  color: #fff;
}
.linkedin-icon {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  background: #ffffff1c;
  border: 1px solid #ffffff45;
  line-height: 1;
  padding: 3px;
  border-radius: 3px;
}
.contact-card :focus-visible {
  outline-color: var(--lime);
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 135px;
}
.footer .brand-symbol {
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
  border-radius: 10px;
}
.footer p {
  color: var(--muted);
  font-size: 0.75rem;
}
.footer-controls {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.75rem;
}
.motion-button {
  font-size: inherit;
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 10px 0;
  min-height: 44px;
}
.motion-button:hover,
.footer-controls a:hover {
  color: var(--blue);
}
.footer-controls a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -80px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
.reveal.ready:not(.visible) {
  opacity: 0;
  translate: 0 22px;
}
.reveal.ready {
  transition:
    opacity 0.65s ease,
    translate 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  translate: 0 0;
}
.about-grid .panel:nth-child(2) {
  transition-delay: 0.06s;
}
.about-grid .panel:nth-child(3) {
  transition-delay: 0.12s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hello-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes flow-packet {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}
@keyframes panel-enter {
  from {
    opacity: 0.35;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.motion-paused *,
body.motion-paused *:before,
body.motion-paused *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.motion-paused .reveal.ready {
  opacity: 1;
  translate: 0 0;
}
html.motion-paused {
  scroll-behavior: auto;
}
@media (min-width: 1600px) {
  h1 {
    font-size: 5.2rem;
  }
  .workflow-card {
    padding: 34px;
  }
  .workflow-card h2 {
    font-size: 2.2rem;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 15px;
  }
  .main-nav a {
    padding-inline: 10px;
  }
  .header-actions {
    gap: 9px;
  }
  .hero-role {
    font-size: 1rem;
  }
  .workflow-card {
    padding: 25px;
  }
  .about-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
  }
  .panel {
    padding: 25px;
  }
  .about-story h3,
  .ai-panel h3 {
    font-size: 1.5rem;
  }
  .section {
    padding-top: 72px;
  }
  .skill-panel {
    gap: 35px;
    padding: 34px;
  }
  .skill-list {
    gap: 9px;
  }
  .skill-list > span {
    padding: 10px 14px;
  }
  .skill-list > .featured-skill {
    padding: 13px 17px;
  }
  .contact-card {
    padding: 40px;
    gap: 30px;
  }
  .contact-actions {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .brand {
    gap: 9px;
    font-size: 0.875rem;
  }
  .main-nav {
    gap: 0;
  }
  .main-nav a {
    font-size: 0.875rem;
    padding-inline: 9px;
  }
  .header-contact {
    display: none;
  }
  .hero-proof {
    gap: 11px;
  }
  .proof-divider,
  .proof-stack {
    display: none;
  }
  .workflow-card {
    padding: 23px;
  }
  .workflow-top {
    gap: 8px;
  }
  .mono-label {
    font-size: 0.75rem;
  }
  .demo-tag {
    font-size: 0.75rem;
    padding-inline: 7px;
  }
  .demo-controls {
    gap: 10px;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-story {
    grid-column: 1/-1;
  }
  .about-story h3 br {
    display: none;
  }
  .about-story p {
    max-width: 700px;
  }
  .experience-panel,
  .ai-panel {
    min-height: 355px;
  }
  .big-number {
    font-size: 5rem;
    margin-top: 8px;
  }
  .experience-rings {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 30px;
  }
  .experience-rings span:nth-child(n) {
    margin-left: 0;
  }
  .ai-symbol {
    margin-block: 5px 20px;
    font-size: 3rem;
  }
  .ai-panel h3 br {
    display: none;
  }
  .skill-tabs {
    gap: 4px;
    padding: 8px;
  }
  .skill-tabs button {
    gap: 6px;
    padding-inline: 7px;
    font-size: 0.875rem;
  }
  .skill-panel {
    gap: 26px;
  }
  .skill-description h3 {
    font-size: 1.5rem;
  }
  .contact-card {
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    padding: 34px;
  }
  .contact-actions {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .copy-button {
    padding-top: 12px;
  }
  .footer-controls {
    gap: 17px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 96px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 78px;
  }
  .brand {
    font-size: 0.875rem;
  }
  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }
  .header-actions {
    gap: 10px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: relative;
    width: 42px;
    height: 42px;
  }
  .menu-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 15px 50px #24315320;
    border-radius: 15px;
    padding: 10px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .main-nav.open {
    display: grid;
    animation: panel-enter 0.2s ease;
  }
  .main-nav a {
    font-size: 0.9375rem;
    padding: 13px 15px;
  }
  .hero-copy {
    max-width: 560px;
  }
  h1 {
    font-size: clamp(3.25rem, 9.5vw, 4.75rem);
  }
  .intro-label {
    margin-bottom: 23px;
  }
  .hero-role {
    font-size: 1.125rem;
  }
  .hero-description {
    max-width: 520px;
  }
  .hero-proof {
    gap: 15px;
    margin-top: 30px;
  }
  .proof-divider,
  .proof-stack {
    display: block;
  }
  .workflow-card {
    padding: 28px;
    max-width: 600px;
    width: 100%;
    justify-self: center;
  }
  .workflow-top {
    margin-bottom: 23px;
  }
  .workflow-card h2 {
    font-size: 1.8rem;
  }
  .mono-label {
    font-size: 0.75rem;
  }
  .demo-tag {
    font-size: 0.75rem;
  }
  .flow-stage {
    padding: 13px 16px;
  }
  .stage-title {
    font-size: 1rem;
  }
  .workflow-switch button {
    font-size: 0.875rem;
    min-height: 42px;
  }
  .demo-controls {
    gap: 16px;
  }
  .demo-status {
    font-size: 0.875rem;
  }
  .platform-bar {
    display: block;
    padding-block: 23px;
  }
  .platform-bar > p br {
    display: none;
  }
  .platform-bar > p strong {
    margin-left: 4px;
  }
  .platforms {
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
  }
  .platforms > span {
    font-size: 0.9rem;
    gap: 8px;
  }
  .platform-icon {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .section {
    padding-top: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading > p {
    margin-top: 18px;
  }
  .desktop-break {
    display: none;
  }
  .about-grid {
    gap: 14px;
  }
  .panel {
    padding: 25px;
  }
  .experience-panel,
  .ai-panel {
    min-height: 345px;
  }
  .skill-tabs {
    gap: 5px;
  }
  .skill-tabs button {
    font-size: 0.875rem;
    min-height: 48px;
    justify-content: start;
    padding-left: 15px;
  }
  .skill-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    min-height: 0;
  }
  .skill-description h3 {
    font-size: 1.75rem;
  }
  .skill-description h3 br {
    display: none;
  }
  .skill-caption {
    margin-top: 17px;
  }
  .skill-list {
    gap: 9px;
  }
  .skill-list > span {
    padding: 10px 14px;
  }
  .skill-list > .featured-skill {
    font-size: 1rem;
    padding: 12px 17px;
  }
  .contact-section {
    padding-top: 60px;
  }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 33px;
    padding: 34px;
  }
  .contact-heading h2 {
    font-size: 2.75rem;
  }
  .contact-heading > p:last-child {
    margin-top: 18px;
  }
  .email-link {
    font-size: 1.35rem;
  }
  .contact-actions {
    flex-direction: row;
    gap: 18px;
    align-items: center;
    margin-top: 23px;
  }
  .copy-button {
    padding-top: 10px;
  }
  .footer {
    gap: 18px;
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 31px;
  }
  .footer p {
    display: none;
  }
  .footer-controls {
    gap: 18px;
    font-size: 0.75rem;
  }
}
@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 8px;
  }
  .brand {
    font-size: 0.875rem;
    gap: 9px;
  }
  .header-actions {
    gap: 7px;
  }
  .main-nav {
    left: 16px;
    right: 16px;
  }
  .hero {
    padding-top: 34px;
  }
  h1 {
    font-size: clamp(2.75rem, 12vw, 3.4rem);
    letter-spacing: -0.06em;
  }
  .intro-label {
    font-size: 0.875rem;
  }
  .hero-role {
    font-size: 1rem;
  }
  .hero-proof {
    gap: 12px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding-inline: 16px;
  }
  .proof-divider {
    margin-inline: 0;
  }
  .workflow-card {
    padding: 22px 20px;
    border-radius: 21px;
  }
  .workflow-card h2 {
    font-size: 1.55rem;
  }
  .workflow-top {
    gap: 5px;
  }
  .mono-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  .demo-tag {
    font-size: 0.75rem;
    padding: 4px 7px;
  }
  .flow-stage {
    padding: 12px;
    gap: 11px;
  }
  .stage-title {
    font-size: 0.875rem;
  }
  .demo-controls {
    gap: 11px;
  }
  .run-button {
    padding-inline: 12px;
  }
  .demo-status {
    font-size: 0.75rem;
  }
  .platforms {
    justify-content: start;
    gap: 14px 22px;
  }
  .platforms > span {
    font-size: 0.875rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-story {
    grid-column: auto;
  }
  .experience-panel,
  .ai-panel {
    min-height: 0;
  }
  .experience-panel {
    padding-bottom: 28px;
  }
  .big-number {
    font-size: 5.5rem;
    margin-top: 0;
  }
  .experience-rings {
    padding-top: 24px;
  }
  .ai-panel {
    padding-top: 26px;
  }
  .ai-symbol {
    margin: 0 0 18px;
  }
  .ai-panel .mini-tags {
    padding-top: 23px;
  }
  .panel-label {
    margin-bottom: 20px;
  }
  .skill-panel {
    padding: 25px 22px;
  }
  .skill-tabs button {
    font-size: 0.875rem;
    padding-left: 10px;
    gap: 7px;
  }
  .skill-caption {
    font-size: 0.75rem;
  }
  .contact-card {
    padding: 29px 23px;
    border-radius: 22px;
  }
  .contact-heading h2 {
    font-size: 2.2rem;
  }
  .email-link {
    font-size: 1.17rem;
  }
  .contact-actions {
    gap: 12px;
  }
  .lime-button {
    padding-inline: 14px;
    font-size: 0.875rem;
  }
  .copy-button {
    font-size: 0.75rem;
  }
  .footer {
    row-gap: 14px;
  }
  .footer .brand {
    font-size: 0.875rem;
  }
  .footer-controls {
    gap: 17px;
    flex: 1;
    justify-content: end;
  }
  .motion-button {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.ready {
    opacity: 1 !important;
    translate: 0 0 !important;
  }
}

.mini-tags span {
  font-size: 0.875rem;
}
/* Keep content usable when the browser's text size is enlarged. */
body {
  overflow-wrap: anywhere;
}
.hero-copy,
.contact-heading,
.contact-details {
  min-width: 0;
}
.brand {
  min-width: 0;
}
.brand-symbol {
  flex-shrink: 0;
}
.header-inner > .brand {
  flex-shrink: 1;
}
.header-inner > .brand > span:last-child {
  white-space: normal;
  line-height: 1.35;
}
.header-actions {
  flex-shrink: 0;
}
.hero-proof,
.workflow-top,
.demo-controls,
.footer-controls {
  flex-wrap: wrap;
}
.demo-status {
  min-width: 0;
  flex: 1 1 110px;
}
.workflow-switch button,
.skill-tabs button {
  min-width: 0;
}
.button {
  max-width: 100%;
  text-align: center;
}
.workflow-switch button {
  overflow-wrap: anywhere;
}
.flow-stage {
  min-width: 0;
}
.skill-list > span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.skill-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.footer-controls {
  min-width: 0;
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .skill-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
.panel {
  transform: none;
}
.panel:hover {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}
body.motion-paused .panel {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .panel:hover {
    transform: none;
  }
}

/* Portrait composition: typography, cutout and caption occupy separate depth planes. */
.hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: 48px 54px;
}
.portrait-scene {
  position: relative;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  height: 580px;
  margin: 0;
  --portrait-x: 0px;
  --portrait-y: 0px;
  overflow: clip;
  border-radius: 24px;
}
.portrait-aura {
  position: absolute;
  z-index: 0;
  width: 88%;
  aspect-ratio: 1;
  left: 6%;
  top: 16%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e4e9ff, #cfd8ff 70%, #c4cefb);
  box-shadow: 0 0 70px 25px #3856ef08;
  transform: translate(calc(var(--portrait-x) * -0.3), calc(var(--portrait-y) * -0.3));
  transition: transform 0.35s ease-out;
}
.portrait-back-type {
  position: absolute;
  z-index: 1;
  top: 46px;
  left: 50%;
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.9vw, 6.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.075em;
  color: var(--blue);
  white-space: nowrap;
  transform: translate(calc(-50% - var(--portrait-x) * 0.45), calc(var(--portrait-y) * -0.45));
  transition: transform 0.35s ease-out;
}
.portrait-image {
  position: absolute;
  z-index: 3;
  width: 108%;
  max-width: none;
  height: auto;
  bottom: 0;
  left: -4%;
  filter: drop-shadow(0 16px 20px #18234525);
  mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
  transform: translate(var(--portrait-x), var(--portrait-y));
  transition: transform 0.35s ease-out;
}
.portrait-orbit {
  position: absolute;
  z-index: 2;
  width: 92%;
  height: 64%;
  left: 4%;
  top: 21%;
  border: 1px solid #3856ef30;
  border-radius: 50%;
  transform: rotate(-24deg);
  pointer-events: none;
}
.portrait-orbit > span {
  position: absolute;
  right: 2%;
  top: 17%;
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 6px solid var(--bg);
  border-radius: 50%;
  font-size: 1.75rem;
  color: #24324c;
  line-height: 1;
  animation: hello-turn 20s linear infinite;
}
.portrait-side-note {
  position: absolute;
  z-index: 4;
  right: 7px;
  top: 38%;
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.portrait-caption {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: 58px;
  padding: 19px 24px 17px;
  border: 1px solid #ffffff38;
  border-radius: 4px 20px 20px 20px;
  background: #192846e6;
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 35px #11152120;
  color: #fff;
  transform: translate(calc(var(--portrait-x) * 1.5), calc(var(--portrait-y) * 1.5));
  transition: transform 0.35s ease-out;
}
.portrait-kicker {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: #d2dcf5;
  line-height: 1.5;
}
.portrait-name {
  display: block;
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.06em;
  margin-block: 5px 3px;
}
.portrait-name > span {
  color: var(--lime);
}
.portrait-specialties {
  display: block;
  font-size: 0.75rem;
  color: #d2dcf5;
}
.portrait-demo-link {
  position: absolute;
  right: 15px;
  bottom: 10px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}
.portrait-demo-link svg {
  transition: transform 0.2s;
}
.portrait-demo-link:hover svg {
  transform: translate(2px, -2px);
}
body[data-theme='dark'] .portrait-aura {
  background: radial-gradient(circle at 35% 30%, #354879, #253356 70%, #202b49);
  box-shadow: 0 0 70px 25px #3856ef10;
}
body[data-theme='dark'] .portrait-orbit {
  border-color: #9aaaff35;
}
.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
  padding-top: 64px;
}
.demo-intro {
  min-width: 0;
}
.demo-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}
.demo-intro > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.demo-expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  margin-top: 19px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
}
.demo-expertise-link:hover {
  gap: 21px;
}
.demo-section .workflow-card {
  width: 100%;
  max-width: none;
}
body.motion-paused .portrait-image,
body.motion-paused .portrait-aura,
body.motion-paused .portrait-caption {
  transform: none;
}
body.motion-paused .portrait-back-type {
  transform: translateX(-50%);
}
@media (min-width: 1600px) {
  .hero {
    padding-block: 65px 60px;
  }
  .portrait-scene {
    height: 610px;
  }
  .portrait-back-type {
    font-size: 6.6rem;
    top: 42px;
  }
}
@media (max-width: 1100px) {
  .hero {
    gap: 24px;
  }
  .portrait-scene {
    height: 510px;
  }
  .portrait-caption {
    left: 6px;
    bottom: 46px;
    padding: 16px 18px;
  }
  .portrait-name {
    font-size: 2.5rem;
  }
  .portrait-back-type {
    top: 65px;
  }
  .portrait-side-note {
    right: 2px;
  }
  .demo-section {
    gap: 45px;
  }
}
@media (max-width: 900px) {
  .portrait-scene {
    height: 460px;
  }
  .portrait-back-type {
    top: 76px;
    font-size: clamp(3rem, 6.5vw, 4rem);
  }
  .portrait-caption {
    padding: 14px 16px;
    bottom: 42px;
  }
  .portrait-name {
    font-size: 2.1rem;
  }
  .portrait-kicker {
    font-size: 0.55rem;
  }
  .portrait-specialties {
    font-size: 0.675rem;
  }
  .portrait-orbit > span {
    width: 43px;
    height: 43px;
    border-width: 5px;
    font-size: 1.4rem;
  }
  .portrait-side-note {
    display: none;
  }
  .demo-section {
    gap: 30px;
  }
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 40px 34px;
  }
  .portrait-scene {
    width: min(100%, 500px);
    justify-self: center;
    height: auto;
    aspect-ratio: 1/1.08;
  }
  .portrait-back-type {
    font-size: clamp(3rem, 12vw, 5.5rem);
    top: 9%;
  }
  .portrait-aura {
    top: 13%;
  }
  .portrait-image {
    width: 104%;
    left: -2%;
  }
  .portrait-orbit {
    top: 20%;
    height: 63%;
  }
  .portrait-caption {
    left: 3%;
    bottom: 12%;
    padding: 16px 21px;
  }
  .portrait-name {
    font-size: 2.6rem;
  }
  .portrait-kicker {
    font-size: 0.6rem;
  }
  .portrait-specialties {
    font-size: 0.75rem;
  }
  .portrait-demo-link {
    right: 5%;
    bottom: 2%;
  }
  .demo-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 48px;
  }
  .demo-intro h2 {
    font-size: 2rem;
  }
  .demo-intro h2 br {
    display: none;
  }
  .demo-intro > p:not(.eyebrow) {
    margin-top: 16px;
  }
  .demo-expertise-link {
    margin-top: 12px;
  }
}
@media (max-width: 420px) {
  .hero {
    padding-top: 34px;
    gap: 18px;
  }
  .portrait-caption {
    padding: 12px 16px;
    bottom: 12%;
  }
  .portrait-name {
    font-size: 2.2rem;
  }
  .portrait-kicker {
    font-size: 0.5rem;
  }
  .portrait-specialties {
    font-size: 0.65rem;
  }
  .portrait-back-type {
    font-size: 12vw;
  }
  .portrait-orbit > span {
    width: 39px;
    height: 39px;
    font-size: 1.2rem;
    border-width: 4px;
  }
  .portrait-demo-link {
    font-size: 0.7rem;
    gap: 8px;
  }
  .demo-section {
    padding-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-image,
  .portrait-aura,
  .portrait-caption {
    transform: none !important;
  }
  .portrait-back-type {
    transform: translateX(-50%) !important;
  }
}
/* Progressive enhancement: content stays available if JavaScript is disabled or fails to load. */
html:not(.js) [role='tabpanel'][hidden] {
  display: grid !important;
}
html:not(.js) .skill-tabs,
html:not(.js) .workflow-switch,
html:not(.js) .run-button,
html:not(.js) .demo-status,
html:not(.js) .demo-footnote,
html:not(.js) .theme-button,
html:not(.js) .motion-button,
html:not(.js) .copy-button,
html:not(.js) .menu-toggle {
  display: none !important;
}
html:not(.js) .skills-explorer .skill-panel + .skill-panel {
  border-top: 1px solid var(--line);
}
html:not(.js) .reveal.ready {
  opacity: 1 !important;
  translate: 0 0 !important;
}
html:not(.js) .noscript-note {
  font-size: 0.875rem;
  padding-block: 12px;
  color: var(--muted);
}
html:not(.js) .main-nav {
  display: flex !important;
  position: static;
  box-shadow: none;
  border: 0;
  flex-wrap: wrap;
  padding: 0;
}
html:not(.js) .header-inner {
  flex-wrap: wrap;
  padding-block: 12px;
}
html:not(.js) .main-nav a {
  padding: 8px;
}
html:not(.js) .rotating-word {
  min-width: 0;
}
.portrait-caption {
  max-width: calc(100% - 32px);
}

/* Printed copies include content that has not been scrolled into view. */
@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .site-header {
    position: static;
  }
  .reading-progress,
  .skip-link,
  .header-actions,
  .main-nav,
  .skill-tabs,
  .workflow-switch,
  .demo-controls,
  .demo-footnote,
  .footer-controls,
  .portrait-demo-link,
  .copy-button,
  .copy-status,
  .noscript-note {
    display: none !important;
  }
  .reveal.ready,
  .rotating-word {
    opacity: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
  }
  [role='tabpanel'][hidden] {
    display: grid !important;
  }
  .skill-panel + .skill-panel {
    border-top: 1px solid var(--line);
  }
  .portrait-scene,
  .panel,
  .skill-panel,
  .contact-card,
  .workflow-card {
    break-inside: avoid;
  }
  .panel {
    transform: none !important;
  }
}
