@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-semibold.ttf') format('truetype');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --ink: #292d27;
  --muted: #606459;
  --line: #d3d3c8;
  --surface: #eae8df;
  --accent: #b34229;
  --accent-soft: #eed9ce;
  --contrast: #232a24;
  --contrast-ink: #f4f1e9;
  --contrast-muted: #b8c0b3;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --paper: #20231f;
    --ink: #edece3;
    --muted: #afb3a6;
    --line: #44483e;
    --surface: #2a2e27;
    --accent: #e8957c;
    --accent-soft: #47352d;
    --contrast: #191e19;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #20231f;
  --ink: #edece3;
  --muted: #afb3a6;
  --line: #44483e;
  --surface: #2a2e27;
  --accent: #e8957c;
  --accent-soft: #47352d;
  --contrast: #191e19;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button,
input {
  border-radius: 0;
}
button:active,
.button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}
section[tabindex='-1']:focus {
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
em {
  font-family: var(--serif);
  font-weight: 400;
}
.shell {
  width: min(1200px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
  border-top: 1px solid var(--line);
}
.eyebrow {
  font: 400 10px/1.5 var(--mono);
  letter-spacing: 0.105em;
  text-transform: uppercase;
}
.accent {
  color: var(--accent);
}
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 104px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  min-height: 44px;
  padding-block: 6px;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1.8px;
}
.wordmark-caption {
  margin-inline-start: 24px;
  color: var(--muted);
  font: 400 10px/1.5 var(--mono);
  letter-spacing: 0;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-inline-start: auto;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 12px;
}
.desktop-nav a:hover {
  color: var(--accent);
}
.desktop-nav .icon {
  width: 15px;
  height: 15px;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.language-switch {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.language-switch button {
  min-width: 36px;
  min-height: 42px;
  padding: 6px;
  font:
    11px 'DM Sans',
    sans-serif;
}
.language-switch button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}
.language-switch button:hover {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--accent);
}
.theme-sun {
  display: none;
}
:root[data-theme='dark'] .theme-sun {
  display: block;
}
:root[data-theme='dark'] .theme-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-sun {
    display: block;
  }
  :root:not([data-theme='light']) .theme-moon {
    display: none;
  }
}
.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  align-items: center;
  column-gap: 56px;
  padding-top: 78px;
}
.hero-copy > .eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 25px;
  color: var(--muted);
}
h1 {
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.065em;
}
h1 em {
  color: var(--accent);
  font-size: 1.115em;
  letter-spacing: -0.035em;
}
.hero-description {
  max-width: 430px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.hero-description strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 49px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  font-size: 12px;
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--accent);
  text-decoration: underline;
}
.text-link span {
  transition: transform 0.25s var(--ease);
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
.process-figure {
  align-self: center;
  width: 100%;
  padding-top: 8px;
}
.figure-heading {
  display: flex;
  justify-content: space-between;
  padding-inline: 16px;
  color: var(--muted);
}
.figure-number {
  font: 10px/1.5 var(--mono);
}
.process-art {
  display: block;
  width: 100%;
  margin: 12px 0 5px;
  overflow: visible;
  color: var(--muted);
}
.process-art path,
.process-art ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}
.diagram-guides {
  opacity: 0.3;
}
.diagram-guides path {
  stroke-dasharray: 3 5;
}
.diagram-guides ellipse {
  stroke-dasharray: 2 5;
}
.diagram-layer {
  color: var(--muted);
  transition:
    color 0.35s,
    transform 0.35s var(--ease);
}
.process-art .layer-fill {
  fill: var(--paper);
  fill-opacity: 0.91;
}
.diagram-layer circle {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.5;
}
.diagram-layer text,
.diagram-markers text {
  fill: currentColor;
  font: 9px var(--mono);
}
.diagram-connectors {
  opacity: 0.45;
}
.diagram-connectors path {
  stroke-dasharray: 3 4;
}
.diagram-markers {
  opacity: 0.6;
}
[data-stage='logic'] .layer-logic,
[data-stage='data'] .layer-data,
[data-stage='experience'] .layer-experience {
  color: var(--accent);
  transform: translateY(-5px);
}
[data-stage='logic'] .layer-logic .layer-fill,
[data-stage='data'] .layer-data .layer-fill,
[data-stage='experience'] .layer-experience .layer-fill {
  fill: var(--accent-soft);
}
.process-controls {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.process-controls button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 11px;
  border-top: 1px solid transparent;
  margin-top: -1px;
  color: var(--muted);
}
.process-controls button > span:first-child {
  font: 9px var(--mono);
}
.process-controls button[aria-pressed='true'] {
  color: var(--accent);
  border-color: var(--accent);
}
.process-controls button:hover {
  color: var(--ink);
}
.process-figure figcaption {
  min-height: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}
.hero-footnote {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 65px;
  padding-bottom: 27px;
  color: var(--muted);
  font: 10px/1.6 var(--mono);
}
.hero-footnote a {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
}
.hero-footnote a:hover {
  color: var(--accent);
}
.mobile-break {
  display: none;
}

.section-index {
  color: var(--accent);
  margin-inline-end: 16px;
}
.section-heading > .eyebrow {
  margin-bottom: 20px;
  color: var(--muted);
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
h2 {
  font-size: clamp(35px, 3.6vw, 47px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h2 em {
  font-size: 1.13em;
  letter-spacing: -0.035em;
}
.section-aside {
  font-size: 11px;
  color: var(--muted);
}
.project-feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 40px;
}
.project-preview {
  padding: 24px 30px 18px;
  background: var(--contrast);
  color: var(--contrast-ink);
}
.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #53604e;
  padding-bottom: 20px;
}
.mini-wordmark {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1.5px;
}
.mini-wordmark span {
  color: #e8957c;
}
.preview-topline .eyebrow {
  color: var(--contrast-muted);
  font-size: 7px;
  letter-spacing: 0.06em;
}
.preview-topline > span:last-child {
  font-size: 21px;
}
.preview-content {
  padding: 36px 10px 18px;
}
.preview-kicker {
  font: 8px var(--mono);
  letter-spacing: 0.16em;
  color: var(--contrast-muted);
}
.preview-content > p {
  font-size: clamp(34px, 4vw, 55px);
  letter-spacing: -0.06em;
  line-height: 1.15;
  margin-top: 16px;
}
.preview-content em {
  font-size: 1.12em;
  color: #e8957c;
  letter-spacing: -0.02em;
}
.preview-baseline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
}
.preview-baseline span {
  max-width: 170px;
  color: var(--contrast-muted);
  font: 7px/1.7 var(--mono);
  letter-spacing: 0.1em;
}
.preview-baseline svg {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  fill: none;
  stroke: #adb49e;
  stroke-width: 1;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .project-feature:hover .preview-baseline svg {
    transform: rotate(45deg);
  }
}
.preview-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #53604e;
  padding-top: 13px;
  color: var(--contrast-muted);
  font: 8px/1.7 var(--mono);
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.project-meta .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.small-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 10px;
}
.small-status .status-dot {
  width: 4px;
  height: 4px;
}
.project-information h3 {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-top: 26px;
}
.project-information h3 em {
  font-size: 1.1em;
}
.project-information > p {
  max-width: 350px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 23px 0 19px;
  list-style: none;
}
.tags li {
  border: 1px solid var(--line);
  padding: 4px 9px;
  font: 9px/1.6 var(--mono);
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span:last-child {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s;
}
details[open] > summary > span:last-child {
  transform: rotate(45deg);
}
summary:hover {
  color: var(--accent);
}
.build-notes {
  border-top: 1px solid var(--line);
}
.build-notes p {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 14px;
}
.work-next {
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 24px;
}
.next-symbol {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--muted);
}
.work-next h3 {
  font-size: 13px;
}
.work-next p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.work-next > .eyebrow {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 9px;
}

.about-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(60px, 11vw, 160px);
}
.about-intro > .eyebrow {
  color: var(--muted);
  margin-bottom: 24px;
}
.about-intro h2 {
  font-size: clamp(39px, 4.2vw, 57px);
  line-height: 1.12;
  margin-bottom: 29px;
}
.about-intro h2 em {
  color: var(--accent);
}
.about-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 410px;
  margin-bottom: 16px;
}
.personal-column {
  max-width: 390px;
  width: 100%;
  justify-self: end;
}
.personal-art {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.art-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  color: var(--muted);
}
.art-label .eyebrow {
  font-size: 8px;
}
.personal-art img {
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.75);
}
.personal-art figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  font-family: var(--serif);
  font-size: 22px;
}
.personal-art figcaption .eyebrow {
  color: var(--muted);
  font-size: 8px;
}
.personal-details {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.personal-details > span {
  font-size: 11px;
}
.personal-details .eyebrow {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 8px;
}
.original-art {
  border-top: 1px solid var(--line);
}
.original-art > p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.original-art img {
  margin-top: 4px;
}
.original-art .text-link {
  font-size: 11px;
  padding: 0;
}

.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}
.skills-introduction {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 36px;
}
.skills-introduction .eyebrow {
  color: var(--muted);
  margin-bottom: 22px;
}
.skills-introduction h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}
.skills-introduction h2 em {
  color: var(--accent);
}
.skills-introduction > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  padding-bottom: 4px;
}
.skill-panels {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
}
.skill-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease);
}
.skill-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  inset-inline-start: 30px;
  width: 36px;
  height: 2px;
  background: var(--accent);
}
.skill-panel-foundations {
  background: var(--paper);
}
.skill-panel-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.skill-category-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font: 11px var(--mono);
}
.skill-panel-heading .eyebrow {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 4px;
}
.skill-panel h3 {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.skill-panel-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin-top: 21px;
  max-width: 430px;
}
.technology-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
  flex: 1;
}
.technology-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 69px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}
.technology-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 36px;
  color: var(--muted);
  transition:
    color 0.25s,
    transform 0.25s var(--ease);
}
.technology-icon svg,
.strength-icon {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.technology-lettering {
  font: 600 17px var(--sans);
  fill: currentColor;
  stroke: none;
  letter-spacing: -1px;
}
.technology-lettering-small {
  font-size: 13px;
}
.skill-panel-foundations .technology-list {
  grid-template-columns: 1fr;
}
.skill-panel-foundations .technology-item {
  min-height: 46px;
  padding-block: 9px;
  font-size: 13px;
}
.skill-panel-foundations .technology-icon {
  height: 27px;
}
.skill-panel-foundations .technology-icon svg {
  width: 25px;
  height: 25px;
}
.skill-panel-note {
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: var(--muted);
  font: 10px/1.7 var(--mono);
}
.skill-panel-note > span {
  color: var(--accent);
}
.strengths-panel {
  padding-top: 35px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
}
.strengths-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.strengths-heading .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 10px;
}
.strengths-heading h3 {
  font-size: 25px;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.strengths-heading > p {
  color: var(--muted);
  font-size: 11px;
}
.strengths-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 35px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.strengths-list li {
  display: flex;
  align-items: start;
  gap: 15px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.strength-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.strengths-list h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.strengths-list p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .skill-panel:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
  }
  .technology-item:hover .technology-icon {
    color: var(--accent);
    transform: translateY(-2px);
  }
  .strengths-list li:hover .strength-icon {
    transform: rotate(-7deg);
  }
}

@keyframes considered-reveal {
  from {
    opacity: 0.55;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .is-revealing {
    animation: considered-reveal 0.55s var(--ease);
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .skills-introduction {
    align-items: start;
    gap: 30px;
  }
  .skills-introduction > p {
    max-width: 230px;
    font-size: 13px;
  }
  .skills-introduction h2 {
    font-size: 34px;
  }
  .skill-panel {
    padding: 22px;
  }
  .skill-panel::before {
    inset-inline-start: 22px;
  }
  .skill-panel-heading {
    gap: 12px;
    align-items: start;
  }
  .skill-category-number {
    width: 32px;
    height: 32px;
  }
  .skill-panel h3 {
    font-size: 18px;
  }
  .technology-list {
    column-gap: 12px;
  }
  .technology-item {
    font-size: 12px;
    gap: 7px;
  }
  .technology-icon {
    width: 27px;
  }
  .strengths-list {
    column-gap: 24px;
  }
  .strengths-list li {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .skills-introduction {
    display: block;
    margin-bottom: 27px;
  }
  .skills-introduction .eyebrow {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .skills-introduction h2 {
    font-size: clamp(29px, 7.8vw, 42px);
  }
  .skills-introduction > p {
    max-width: 430px;
    font-size: 13px;
    margin-top: 21px;
    padding: 0;
  }
  .skill-panels {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .skill-panel {
    padding: 24px;
  }
  .skill-panel::before {
    inset-inline-start: 24px;
  }
  .skill-panel-heading {
    gap: 13px;
  }
  .skill-panel h3 {
    font-size: 20px;
  }
  .skill-category-number {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }
  .skill-panel-description {
    margin-top: 19px;
    font-size: 13px;
  }
  .technology-list {
    column-gap: 16px;
    margin-block: 18px;
  }
  .technology-item {
    min-height: 65px;
    gap: 9px;
    font-size: 13px;
  }
  .technology-icon {
    width: 28px;
  }
  .technology-icon svg {
    width: 26px;
    height: 26px;
  }
  .skill-panel-foundations .technology-item {
    min-height: 51px;
  }
  .skill-panel-note {
    font-size: 9px;
  }
  .strengths-panel {
    margin-top: 29px;
    padding-top: 29px;
  }
  .strengths-heading {
    display: block;
  }
  .strengths-heading h3 {
    font-size: 23px;
  }
  .strengths-heading > p {
    margin-top: 9px;
    font-size: 12px;
  }
  .strengths-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 23px;
  }
  .strengths-list li {
    flex-direction: column;
    gap: 12px;
    padding-block: 21px;
  }
  .strengths-list h4 {
    font-size: 13px;
  }
  .strengths-list p {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .skill-panel {
    padding: 20px 16px;
  }
  .skill-panel::before {
    inset-inline-start: 16px;
  }
  .skill-panel h3 {
    font-size: 18px;
  }
  .technology-item {
    font-size: 12px;
    gap: 7px;
  }
  .strengths-list {
    column-gap: 20px;
  }
  .about-actions {
    gap: 20px;
  }
}

.focus-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
}
.focus-heading > .eyebrow {
  color: var(--muted);
  margin-bottom: 24px;
}
.focus-heading h2 {
  font-size: clamp(33px, 3.4vw, 44px);
}
.focus-heading > p:last-child {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
  max-width: 265px;
}
.focus-item {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding-block: 23px;
  border-bottom: 1px solid var(--line);
}
.focus-item:first-child {
  padding-top: 0;
}
.focus-item > .eyebrow {
  color: var(--accent);
}
.focus-item h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.focus-item p {
  max-width: 340px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
}
.site-stack {
  margin-top: 25px;
}
.site-stack > .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.site-stack p {
  font-size: 11px;
  line-height: 2;
  margin-top: 8px;
}
.site-stack p span {
  color: var(--muted);
  padding-inline: 5px;
}

.contact-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
  padding-block: 83px;
}
.contact-copy > .eyebrow {
  color: var(--muted);
  margin-bottom: 25px;
}
.contact-copy h2 {
  position: relative;
  width: fit-content;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 1.08;
}
.contact-copy h2 > .accent {
  display: inline-block;
  margin-inline-start: 25px;
  font-family: var(--sans);
  font-size: 48px;
}
.contact-copy > p:last-child {
  color: var(--muted);
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.9;
}
.social-links > a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 21px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.social-links > a:first-child {
  border-top: 1px solid var(--line);
}
.social-number {
  font: 9px var(--mono);
  color: var(--muted);
}
.social-links > a > span:nth-child(2) {
  font-size: 23px;
  letter-spacing: -0.03em;
}
.social-links small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
  margin-top: 1px;
}
.social-links .icon {
  width: 23px;
  height: 23px;
  margin-inline-start: auto;
  transition: transform 0.25s var(--ease);
}
.social-links > a:hover {
  color: var(--accent);
}
.social-links > a:hover .icon {
  transform: translate(3px, -3px);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}
.site-footer .wordmark {
  font-size: 27px;
}
.site-footer > p {
  color: var(--muted);
  font-size: 9px;
  margin-inline-end: auto;
}
.easter-egg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  font: 9px var(--mono);
  color: var(--muted);
}
.easter-egg > span:first-child {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.easter-egg:hover {
  color: var(--accent);
}
.back-top {
  font-size: 10px;
  margin-inline-start: 20px;
}

dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 48px;
  max-width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
}
dialog::backdrop {
  background: rgb(15 20 15 / 0.7);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-close {
  position: absolute;
  top: 7px;
  inset-inline-end: 7px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 26px;
  color: var(--muted);
}
.prank-dialog .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.prank-dialog h2 {
  font-size: 57px;
  margin-top: 24px;
}
.prank-dialog h2 em {
  color: var(--accent);
}
.prank-dialog p {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 26px;
}
.intro-dialog {
  width: min(800px, calc(100% - 32px));
  max-width: none;
  padding: 54px 12px 12px;
}
.intro-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 130px);
  object-fit: contain;
}

@media (min-width: 701px) and (max-width: 1050px) {
  .shell {
    width: calc(100% - 72px);
  }
  .wordmark-caption {
    display: none;
  }
  .desktop-nav {
    gap: 25px;
  }
  .hero {
    column-gap: 20px;
    padding-top: 64px;
  }
  h1 {
    font-size: clamp(45px, 6vw, 65px);
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 8px;
  }
  .button {
    padding-inline: 15px;
    gap: 16px;
    font-size: 11px;
  }
  .hero-footnote {
    margin-top: 46px;
  }
  .section {
    padding-block: 72px;
  }
  .project-feature {
    gap: 30px;
    grid-template-columns: 1.1fr 1fr;
  }
  .project-preview {
    padding-inline: 22px;
  }
  .preview-topline .eyebrow {
    display: none;
  }
  .preview-content {
    padding-inline: 0;
  }
  .preview-content > p {
    font-size: 42px;
  }
  .preview-bottomline {
    flex-wrap: wrap;
  }
  .project-meta {
    flex-wrap: wrap;
  }
  .project-information h3 {
    margin-top: 17px;
  }
  .about-section {
    gap: 55px;
  }
  .about-intro h2 {
    font-size: 46px;
  }
  .focus-section {
    grid-template-columns: 1fr 1.2fr;
    gap: 45px;
  }
  .focus-heading h2 {
    font-size: 35px;
  }
  .contact-inner {
    gap: 50px;
  }
  .contact-copy h2 {
    font-size: 45px;
  }
  .site-footer {
    gap: 20px;
  }
  .back-top {
    margin-inline-start: 0;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 20px;
  }
  .shell {
    width: auto;
    margin-left: max(22px, env(safe-area-inset-left));
    margin-right: max(22px, env(safe-area-inset-right));
  }
  .site-header {
    height: 82px;
    gap: 14px;
  }
  .wordmark {
    font-size: 30px;
  }
  .wordmark-caption {
    display: none;
  }
  .header-controls {
    margin-inline-start: auto;
    gap: 12px;
  }
  .theme-toggle {
    width: 44px;
    height: 44px;
    border: 0;
  }
  .has-menu .desktop-nav {
    display: none;
  }
  .desktop-nav {
    gap: 9px;
    flex-wrap: wrap;
    justify-content: end;
  }
  .desktop-nav a {
    font-size: 10px;
  }
  .desktop-nav .icon {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0;
    font-size: 11px;
  }
  .menu-lines {
    position: relative;
    display: block;
    width: 20px;
    height: 12px;
  }
  .menu-lines::before,
  .menu-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition:
      transform 0.2s var(--ease),
      top 0.2s var(--ease);
  }
  .menu-lines::before {
    top: 2px;
  }
  .menu-lines::after {
    top: 10px;
  }
  [aria-expanded='true'] .menu-lines::before {
    top: 6px;
    transform: rotate(45deg);
  }
  [aria-expanded='true'] .menu-lines::after {
    top: 6px;
    transform: rotate(-45deg);
  }
  .mobile-nav {
    display: block;
    position: absolute;
    top: calc(100% - 1px);
    left: -22px;
    right: -22px;
    padding: 12px 22px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px rgb(0 0 0 / 0.08);
    animation: menu-enter 0.2s var(--ease);
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 63px;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    letter-spacing: -0.04em;
  }
  .mobile-nav a > span:first-child {
    font: 9px var(--mono);
    color: var(--accent);
  }
  .mobile-nav a > span:last-child {
    margin-inline-start: auto;
    font-size: 20px;
  }
  .mobile-nav > p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 46px;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
    letter-spacing: 0.065em;
    margin-bottom: 21px;
    gap: 8px;
  }
  h1 {
    font-size: clamp(43px, 11.3vw, 67px);
    letter-spacing: -0.06em;
    line-height: 1.06;
  }
  h1 em {
    font-size: 1.1em;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.85;
    max-width: 390px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 25px;
    gap: 22px;
  }
  .button {
    min-height: 48px;
    gap: 20px;
    padding-inline: 16px;
    font-size: 11px;
  }
  .hero-actions .text-link {
    font-size: 11px;
    gap: 10px;
  }
  .process-figure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    padding: 20px 0 15px;
    margin-top: 35px;
    border-top: 1px solid var(--line);
  }
  .figure-heading {
    display: block;
    padding: 0;
    position: absolute;
    top: 19px;
    inset-inline-start: 0;
  }
  .figure-heading .eyebrow {
    font-size: 8px;
  }
  .figure-number {
    display: none;
  }
  .process-art {
    width: 158px;
    max-width: 100%;
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    margin: 0;
  }
  .process-controls {
    display: flex;
    justify-content: start;
    gap: 13px;
    grid-column: 1;
    grid-row: 1;
    border: 0;
    padding-top: 20px;
  }
  .process-controls button {
    border: 0;
    padding: 8px 0;
    font-size: 10px;
  }
  .process-controls button[aria-pressed='true'] {
    text-decoration: underline;
    text-underline-offset: 6px;
  }
  .process-controls button > span:first-child {
    display: none;
  }
  .process-figure figcaption {
    grid-column: 1;
    grid-row: 2;
    text-align: start;
    align-self: start;
    font-size: 9px;
    line-height: 1.6;
    max-width: 145px;
    min-height: 30px;
  }
  .hero-footnote {
    margin-top: 0;
    padding: 15px 0 24px;
    border-top: 1px solid var(--line);
    font-size: 8px;
  }
  .hero-footnote a {
    gap: 10px;
  }
  .mobile-break {
    display: block;
  }
  .section {
    padding-block: 54px;
  }
  .section-heading > .eyebrow,
  .about-intro > .eyebrow,
  .focus-heading > .eyebrow {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .section-index {
    margin-inline-end: 11px;
  }
  h2 {
    font-size: clamp(31px, 8.2vw, 45px);
    line-height: 1.15;
  }
  .section-title-row {
    display: block;
  }
  .section-aside {
    display: block;
    font-size: 10px;
    margin-top: 11px;
  }
  .project-feature {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 27px;
  }
  .project-preview {
    padding: 20px 23px 16px;
  }
  .preview-topline {
    padding-bottom: 15px;
  }
  .preview-topline .eyebrow {
    font-size: 6px;
  }
  .mini-wordmark {
    font-size: 23px;
  }
  .preview-content {
    padding: 29px 3px 16px;
  }
  .preview-content > p {
    font-size: clamp(40px, 11.5vw, 65px);
    margin-top: 14px;
  }
  .preview-baseline {
    margin-top: 12px;
  }
  .preview-baseline svg {
    width: 57px;
    height: 57px;
  }
  .preview-bottomline {
    font-size: 7px;
  }
  .project-information h3 {
    font-size: 33px;
    margin-top: 19px;
  }
  .project-information h3 br {
    display: none;
  }
  .project-information > p {
    margin-top: 13px;
    max-width: none;
    font-size: 14px;
  }
  .project-meta .eyebrow {
    font-size: 8px;
  }
  .tags {
    margin-top: 18px;
    margin-bottom: 14px;
  }
  .work-next {
    gap: 15px;
    margin-top: 25px;
    padding-top: 19px;
  }
  .work-next h3 {
    font-size: 12px;
  }
  .work-next p {
    font-size: 10px;
  }
  .work-next > .eyebrow {
    display: none;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-intro h2 {
    font-size: clamp(42px, 11vw, 58px);
    margin-bottom: 22px;
  }
  .about-intro > p:not(.eyebrow) {
    font-size: 14px;
    max-width: none;
  }
  .personal-column {
    justify-self: center;
    width: 100%;
    max-width: 430px;
  }
  .personal-art {
    padding: 13px;
  }
  .personal-art img {
    aspect-ratio: 1.25;
  }
  .personal-art figcaption {
    font-size: 23px;
  }
  .personal-details {
    padding-block: 19px;
  }
  .focus-section {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .focus-heading h2 {
    font-size: clamp(35px, 9.2vw, 48px);
  }
  .focus-heading > p:last-child {
    font-size: 13px;
    margin-top: 17px;
    max-width: 300px;
  }
  .focus-item {
    padding-block: 20px;
    gap: 18px;
  }
  .focus-item h3 {
    font-size: 16px;
  }
  .focus-item p {
    font-size: 13px;
    max-width: 290px;
  }
  .site-stack {
    margin-top: 20px;
  }
  .site-stack p {
    font-size: 10px;
  }
  .site-stack p span {
    padding-inline: 3px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    padding-block: 48px;
    gap: 30px;
  }
  .contact-copy > .eyebrow {
    font-size: 8px;
    margin-bottom: 22px;
  }
  .contact-copy h2 {
    font-size: clamp(39px, 10vw, 55px);
  }
  .contact-copy h2 > .accent {
    font-size: 34px;
    margin-inline-start: 18px;
  }
  .contact-copy > p:last-child {
    font-size: 13px;
    margin-top: 20px;
  }
  .social-links > a {
    padding-block: 16px;
    gap: 18px;
  }
  .social-links > a > span:nth-child(2) {
    font-size: 22px;
  }
  .social-links small {
    font-size: 10px;
  }
  .social-links .icon {
    width: 21px;
    height: 21px;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 24px;
  }
  .site-footer .wordmark {
    font-size: 28px;
  }
  .site-footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 8px;
  }
  .site-footer .back-top {
    grid-column: 2;
    grid-row: 1;
    font-size: 9px;
    margin: 0;
  }
  .easter-egg {
    grid-column: 1 / -1;
    grid-row: 3;
    width: fit-content;
    font-size: 8px;
    min-height: 44px;
  }
  dialog {
    padding: 40px 26px 28px;
  }
  .prank-dialog h2 {
    font-size: 49px;
  }
  .prank-dialog p {
    font-size: 12px;
  }
  .intro-dialog {
    padding: 54px 12px 12px;
  }
}
@media (max-width: 360px) {
  .shell {
    margin-inline: 18px;
  }
  .mobile-nav {
    left: -18px;
    right: -18px;
    padding-inline: 18px;
  }
  .hero {
    padding-top: 35px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .button {
    padding-inline: 12px;
    gap: 14px;
    font-size: 10px;
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 7px;
  }
  .process-controls {
    gap: 10px;
  }
  .process-controls button {
    font-size: 9px;
  }
  .process-art {
    width: 135px;
  }
  .preview-topline .eyebrow {
    display: none;
  }
  .preview-bottomline {
    font-size: 6px;
  }
  .contact-copy h2 > .accent {
    margin-inline-start: 12px;
    font-size: 29px;
  }
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.wordmark,
.mini-wordmark,
.process-art,
.technology-icon,
.section-index,
.skill-category-number,
.social-number,
.tags li {
  direction: ltr;
  unicode-bidi: isolate;
}
.wordmark,
.mini-wordmark {
  font-family: 'DM Sans', sans-serif;
}
.wordmark-caption {
  direction: inherit;
}
.technology-item bdi {
  min-width: 0;
  overflow-wrap: anywhere;
}
:root:lang(ar) {
  --sans: 'Segoe UI', Tahoma, Arial, sans-serif;
  --serif: 'Segoe UI', Tahoma, Arial, sans-serif;
  --mono: 'Segoe UI', Tahoma, Arial, sans-serif;
}
:lang(ar) :is(h1, h2, h3, h4, em, .eyebrow, .mobile-nav a) {
  letter-spacing: 0;
}
:lang(ar) :is(h1, h2, h3, h4) {
  line-height: 1.4;
}
:lang(ar) em {
  font-style: normal;
  font-weight: 500;
}
:lang(ar) :is(.hero-description, .about-intro > p, .skill-panel-description, .focus-item p) {
  line-height: 1.95;
}
:lang(ar) .wordmark-caption {
  direction: rtl;
  margin-inline-start: 0;
  margin-left: 24px;
}
:lang(ar) .eyebrow {
  font-size: 11px;
}
:lang(ar) :is(.skill-panel-note, .process-figure figcaption, .site-footer > p, .hero-footnote) {
  font-size: 11px;
  line-height: 1.8;
}
:lang(ar) .process-controls button {
  font-size: 11px;
}
:lang(ar) .process-art [data-i18n='process.flow'] {
  direction: rtl;
  text-anchor: end;
}
:lang(ar) .process-art text {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}
:lang(ar) .skill-panel-note > span:first-child {
  transform: scaleX(-1);
}
:lang(ar) .social-links .icon,
:lang(ar) .desktop-nav a[href='#contact'] .icon {
  scale: -1 1;
}
:lang(ar) .contact-copy h2 > .accent,
:lang(ar) .text-link > span[aria-hidden],
:lang(ar) .art-label > span[aria-hidden],
:lang(ar) .preview-topline > span[aria-hidden],
:lang(ar) .button > span[aria-hidden],
:lang(ar) .easter-egg > span[aria-hidden]:last-child,
:lang(ar) .mobile-nav a > span[aria-hidden] {
  display: inline-block;
  scale: -1 1;
}
@media (min-width: 701px) and (max-width: 1100px) {
  .site-header {
    gap: 18px;
  }
  .wordmark-caption {
    display: none;
  }
  .desktop-nav {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .site-header,
  .header-controls {
    gap: 8px;
  }
  .language-switch button {
    min-width: 32px;
  }
  :lang(ar) .process-controls {
    gap: 10px;
    flex-wrap: wrap;
  }
  :lang(ar) .hero-footnote {
    height: auto;
    min-height: 21px;
  }
}
@media (max-width: 360px) {
  .menu-toggle {
    gap: 6px;
  }
  .header-controls {
    gap: 4px;
  }
  :lang(ar) .process-controls {
    gap: 8px;
  }
}

@media print {
  :root {
    --paper: #fff;
    --ink: #222;
    --muted: #555;
    --line: #bbb;
  }
  .shell {
    width: 100%;
    margin: 0;
  }
  .header-controls,
  .desktop-nav,
  .mobile-nav,
  .hero-actions,
  .hero-footnote,
  .easter-egg,
  .back-top,
  .process-controls,
  dialog {
    display: none !important;
  }
  .section {
    padding-block: 35px;
  }
  .site-header {
    height: 70px;
  }
  .hero {
    padding-top: 35px;
  }
  .contact-inner {
    padding-block: 30px;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  article,
  figure {
    break-inside: avoid;
  }
}
