@font-face {
  font-family: Tiny5;
  src: url("assets/fonts/tiny5.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-regular.ttf") format("truetype");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f6f5ed;
  --surface: #fdfcf7;
  --ink: #203f32;
  --muted: #626f62;
  --line: #d9ded0;
  --green: #284f3d;
  --green-light: #e5ebda;
  --orange: #c3562b;
  --orange-light: #f6e0c9;
  --project-bg: #eeefe5;
  --shadow: #c9d2bc;
  --pixel: "Tiny5", monospace;
  --body: "Manrope", sans-serif;
  --header-bg: rgba(246, 245, 237, 0.96);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
button[hidden],
[hidden] {
  display: none !important;
}
::selection {
  background: #e8b06b;
  color: #17362a;
}
.container {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
  flex: none;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.pixel {
  font-family: var(--pixel);
  font-weight: 400;
}
.tiny-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 12px 20px;
  background: var(--green);
  color: white;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  font-family: var(--pixel);
  font-size: 33px;
  line-height: 1;
  background: var(--green);
  color: var(--bg);
  padding: 11px 9px 12px;
  box-shadow: 3px 3px 0 var(--shadow);
}
.brand-mark span,
.footer-brand span {
  color: #e4ab6b;
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.brand-name > span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 400;
  margin-top: 3px;
  color: var(--muted);
}
.desktop-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 25px;
  font-size: 13px;
  font-weight: 700;
}
.desktop-nav a {
  position: relative;
  padding-block: 9px;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s;
}
.desktop-nav a:hover:after,
.desktop-nav a.active:after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-button {
  background: transparent;
  border: 1px solid var(--line);
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.icon-button:hover {
  background: var(--green-light);
}
.header-resume {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.header-resume .icon {
  width: 17px;
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  padding: 12px 28px 22px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 76px;
  padding-block: 80px 70px;
  align-items: center;
}
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  margin-bottom: 23px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #598856;
  display: inline-block;
  flex: none;
  box-shadow: 0 0 0 3px rgba(89, 136, 86, 0.1);
}
.hero h1 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 104px;
  line-height: 0.86;
  letter-spacing: -1px;
  margin-bottom: 29px;
}
.hero h1 > span {
  color: var(--green);
}
.title-dot {
  color: var(--orange);
}
.hero-lead {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.hero-description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
}
.hero-buttons {
  display: flex;
  gap: 13px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 12px 21px;
  border: 1px solid var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 3px 3px 0 var(--shadow);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px 0 var(--shadow);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--shadow);
}
.button .icon {
  width: 18px;
  height: 18px;
}
.button-primary {
  background: var(--green);
  color: #f6f5ed;
}
.button-secondary {
  background: var(--surface);
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 30px;
}
.hero-location .icon {
  width: 14px;
  height: 14px;
}
.location-separator {
  margin-inline: 5px;
  color: #a3ae9a;
}
.hero-visual {
  position: relative;
  padding: 12px 0 25px;
}
.scene-window {
  border: 2px solid var(--green);
  background: #e9eddc;
  box-shadow: 8px 8px 0 var(--shadow);
}
.window-bar {
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 11px;
  border-bottom: 2px solid var(--green);
  background: var(--surface);
  font-family: monospace;
  font-size: 9px;
  color: var(--muted);
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  background: #57765b;
}
.window-dots i:nth-child(2) {
  background: #d98c58;
}
.window-dots i:nth-child(3) {
  background: #b8c29c;
}
.window-plus {
  font-size: 17px;
  font-family: var(--pixel);
}
.world-art {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  aspect-ratio: 1.12;
}
.scene-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  padding: 11px 13px;
  letter-spacing: 1px;
  background: var(--surface);
  border-top: 2px solid var(--green);
}
.scene-caption > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.scene-caption .status-dot {
  width: 5px;
  height: 5px;
}
.scene-caption .pixel {
  font-size: 14px;
  letter-spacing: 0;
}
.floating-badge {
  position: absolute;
  bottom: 1px;
  left: -25px;
  display: flex;
  gap: 13px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--green);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 13px 19px;
  font-size: 10px;
  line-height: 1.8;
}
.floating-badge > .icon {
  width: 28px;
  height: 28px;
  color: var(--orange);
}
.floating-badge strong {
  font-weight: 700;
}
.art-spark {
  position: absolute;
  color: var(--orange);
  font-size: 33px;
  font-family: var(--pixel);
}
.spark-one {
  top: -17px;
  right: -23px;
}
.spark-two {
  bottom: 28px;
  right: -27px;
  color: var(--green);
  font-size: 26px;
}
.stats-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1.1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 25px;
  gap: 30px;
}
.stats-strip > div {
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.stats-strip > div:last-child {
  border: 0;
  padding: 0;
}
.stat-number {
  font-size: 38px;
  line-height: 1;
  white-space: nowrap;
}
.stats-strip > div > span:last-child {
  font-size: 11px;
  line-height: 1.6;
  max-width: 125px;
  color: var(--muted);
}
.small-star {
  color: var(--orange);
  font-size: 32px;
  line-height: 1;
}
.section {
  padding-block: 86px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: var(--muted);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--pixel);
  font-size: 49px;
  font-weight: 400;
  letter-spacing: -0.4px;
}
.section-side-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 4px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.large-copy {
  font-size: 26px !important;
  font-weight: 700;
  line-height: 1.45 !important;
  letter-spacing: -0.9px;
  color: var(--ink) !important;
  margin-bottom: 24px !important;
}
.large-copy span {
  color: var(--orange);
}
.about-copy > p:not(.large-copy) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.about-copy .text-link {
  margin-top: 8px;
}
.text-link:hover {
  color: var(--orange);
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.skills-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  align-self: start;
  box-shadow: 5px 5px 0 var(--green-light);
}
.panel-heading {
  padding: 16px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--green-light);
}
.panel-heading > .pixel {
  font-size: 23px;
}
.panel-heading .tiny-label {
  font-size: 8px;
  color: var(--muted);
}
.skill-group {
  padding: 20px 23px 0;
}
.skill-label {
  font-size: 10px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 11px;
  line-height: 1.4;
}
.tag.accent {
  background: var(--green-light);
  border-color: #c1cfb1;
  color: var(--green);
  font-weight: 700;
}
.skill-footer {
  border-top: 1px dashed var(--line);
  margin-top: 23px;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 14px 23px;
  font-size: 10px;
  color: var(--muted);
}
.skill-footer > .icon {
  width: 14px;
  height: 14px;
  color: var(--orange);
}
.projects-section {
  background: var(--project-bg);
  border-block: 1px solid var(--line);
}
.project-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 14px;
  font-size: 11px;
  min-height: 39px;
  transition: background 0.15s;
}
.filter > span {
  font-family: var(--pixel);
  margin-left: 10px;
  font-size: 14px;
  opacity: 0.65;
}
.filter:hover {
  background: var(--green-light);
}
.filter.active {
  background: var(--green);
  color: #f6f5ed;
  border-color: var(--green);
}
.result-count {
  color: var(--muted);
  font-size: 9px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  overflow: hidden;
}
.project-card:hover {
  box-shadow: 5px 5px 0 var(--shadow);
  transform: translateY(-3px);
}
.project-cover {
  height: 244px;
  display: block;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}
.project-card:hover .project-cover img {
  transform: scale(1.03);
}
.cover-label {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 20px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.cover-corner {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 17px;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  background: rgba(253, 252, 247, 0.5);
  display: grid;
  place-items: center;
  font-size: 21px;
}
.cover-warehouse {
  background: #dde6cb;
}
.cover-unn {
  background: #e8dfc9;
}
.cover-tourism {
  background: #dde9e5;
}
.cover-nda {
  background: #e4e5df;
}
.cover-metric {
  position: absolute;
  top: 102px;
  right: 38px;
  font-size: 31px;
  color: #6a583a;
  line-height: 1;
}
.cover-metric small {
  display: block;
  font-family: var(--body);
  font-size: 9px;
  margin-top: 7px;
}
.nda-badge {
  position: absolute;
  bottom: 25px;
  left: 20px;
  font-size: 8px;
  letter-spacing: 1px;
  border: 1px solid #adb5a5;
  padding: 5px 8px;
  background: rgba(253, 252, 247, 0.55);
}
.project-card-body {
  padding: 24px 24px 0;
}
.project-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.project-title-row h3 {
  font-family: var(--pixel);
  font-size: 31px;
  font-weight: 400;
}
.project-type {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: right;
}
.project-card-body > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  min-height: 45px;
}
.project-role {
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  min-height: 33px;
  display: flex;
  align-items: center;
  line-height: 1.6;
  max-width: 350px;
}
.project-tags {
  gap: 6px;
  margin-top: 13px;
}
.project-tags > span {
  font-size: 9px;
  line-height: 1.5;
  border: 1px solid var(--line);
  padding: 3px 7px;
  color: var(--muted);
  background: var(--bg);
}
.project-card-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 9px;
}
.project-card-bottom > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.project-card-bottom .status-dot {
  width: 5px;
  height: 5px;
}
.project-card-bottom > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
}
.project-card-bottom > a:hover {
  color: var(--orange);
}
.project-card-bottom .icon {
  width: 15px;
  height: 15px;
}
.projects-footnote {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-size: 10px;
  color: var(--muted);
}
.projects-footnote .pixel {
  font-size: 21px;
  color: var(--orange);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 110px;
}
.timeline {
  padding-left: 23px;
  border-left: 1px solid var(--line);
  margin-left: 5px;
}
.timeline-item {
  position: relative;
  padding: 0 0 33px 5px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: absolute;
  left: -29px;
  top: 3px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 2px solid #96a589;
  box-shadow: 0 0 0 5px var(--bg);
}
.timeline-marker.current {
  background: var(--orange);
  border-color: var(--orange);
}
.experience-date {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 700;
}
.timeline h3 {
  font-size: 24px;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.current-label {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--orange);
  padding: 4px 8px;
  background: var(--orange-light);
  border: 1px solid #e9c7a9;
}
.experience-role {
  font-size: 11px;
  font-weight: 700;
  margin-top: 7px;
  margin-bottom: 13px;
}
.timeline-item > p:last-of-type {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.education-panel {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--green-light);
  align-self: start;
  position: relative;
}
.education-icon {
  font-size: 33px;
  line-height: 1;
  color: var(--orange);
  display: block;
  margin-bottom: 19px;
}
.education-panel > .section-kicker {
  font-size: 8px;
}
.education-panel > h3 {
  font-family: var(--pixel);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 24px;
}
.education-item {
  margin-bottom: 24px;
}
.education-item > .tiny-label {
  font-size: 8px;
  color: var(--muted);
}
.education-item h4 {
  font-size: 12px;
  margin-top: 7px;
  margin-bottom: 5px;
}
.education-item p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.education-footer {
  border-top: 1px solid #cbd4be;
  padding-top: 19px;
  font-size: 11px;
  font-weight: 700;
}
.education-footer span {
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
}
.education-courses {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 26px;
}
.courses-title {
  font-size: 14px;
  margin-bottom: 18px;
}
.contact-section {
  background: #223e31;
  color: #f6f5ed;
  padding-block: 68px;
  border-top: 5px solid #8da775;
  position: relative;
  overflow: hidden;
}
.contact-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  align-items: center;
}
.contact-section .section-kicker {
  color: #b2bea7;
  font-size: 9px;
}
.contact-copy h2 {
  font-size: 48px;
  line-height: 1.03;
}
.contact-copy h2 span {
  color: #edac6d;
}
.contact-copy h2 + .button {
  margin-top: 36px;
}
.contact-copy > p:not(.section-kicker) {
  font-size: 12px;
  color: #bfccba;
  margin-top: 20px;
  margin-bottom: 26px;
  line-height: 1.85;
}
.button-orange {
  background: #e6a469;
  border-color: #e6a469;
  color: #203b2e;
  box-shadow: 3px 3px 0 #132c20;
}
.button-orange:hover {
  box-shadow: 4px 5px 0 #132c20;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-block: 20px;
  border-bottom: 1px solid #45604b;
  transition: color 0.2s;
}
.contact-row:hover {
  color: #edac6d;
}
.contact-icon {
  border: 1px solid #577059;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  flex: none;
}
.contact-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.contact-row small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #b2bea7;
  margin-bottom: 6px;
}
.contact-row strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.contact-row > .icon {
  width: 17px;
}
.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #bfccba;
  padding: 17px 0 0;
  font-size: 10px;
}
.copy-email:hover {
  color: #edac6d;
}
.copy-email .icon {
  width: 13px;
  height: 13px;
}
.site-footer {
  position: relative;
}
.footer-inner {
  height: 90px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-brand {
  font-size: 27px;
}
.footer-inner p {
  font-size: 9px;
  color: var(--muted);
}
.footer-dot {
  margin-inline: 9px;
}
.back-to-top {
  margin-left: auto;
  font-size: 10px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.back-to-top > span {
  font-family: var(--pixel);
  font-size: 20px;
}
.footer-pixels {
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #294e3c 0 14px,
    #779567 14px 28px,
    #aabd8b 28px 42px,
    #d89a64 42px 56px,
    #e4c699 56px 70px
  );
}
.case-fallbacks {
  padding-block: 45px;
}
.project-case {
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 115px;
}
.case-fallbacks .project-case {
  max-width: 850px;
  margin: auto;
}
.enhanced .case-fallbacks {
  display: none;
}
.project-dialog {
  width: min(860px, calc(100% - 36px));
  max-height: calc(100dvh - 64px);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--green);
  box-shadow: 8px 8px 0 rgba(19, 44, 32, 0.3);
  overscroll-behavior: contain;
}
.project-dialog::backdrop,
.image-dialog::backdrop {
  background: rgba(17, 33, 25, 0.78);
  backdrop-filter: blur(4px);
}
body.modal-open {
  overflow: hidden;
}
.dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 25px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dialog-toolbar .tiny-label {
  font-size: 8px;
  color: var(--muted);
}
.dialog-toolbar .icon-button {
  width: 34px;
  height: 34px;
}
.project-dialog .project-case {
  padding: 30px 34px 36px;
  border-bottom: 0;
}
.project-case h2 {
  font-size: 46px;
  margin-bottom: 16px;
}
.case-lead {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.case-role {
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  background: var(--green-light);
  margin-bottom: 27px;
}
.case-role .tiny-label {
  color: var(--muted);
  font-size: 8px;
}
.case-role p {
  font-weight: 700;
  font-size: 12px;
  margin-top: 5px;
}
.project-case h3 {
  font-size: 17px;
  margin-top: 30px;
  margin-bottom: 13px;
}
.project-case h3 + p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.case-list {
  font-size: 12px;
  color: var(--muted);
  padding-left: 20px;
  line-height: 1.85;
  margin-block: 14px 26px;
}
.case-list li + li {
  margin-top: 7px;
}
.case-list li::marker {
  color: var(--orange);
}
.team-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.team-list > li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 11px;
}
.team-list strong {
  font-weight: 700;
}
.team-list span {
  color: var(--muted);
}
.case-external-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 25px;
}
.case-external-links .button {
  font-size: 11px;
  min-height: 44px;
}
.nda-panel {
  background: var(--project-bg);
  padding: 25px;
  border: 1px dashed var(--line);
  text-align: center;
}
.nda-panel img {
  margin: auto;
  object-fit: contain;
}
.nda-panel h3 {
  margin-top: 8px;
}
.nda-panel p {
  max-width: 450px;
  margin: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.gallery-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 16px;
}
.gallery-empty {
  padding: 30px 20px;
  border: 1px dashed var(--line);
  background: var(--bg);
  text-align: center;
}
.gallery-empty .pixel {
  display: block;
  font-size: 24px;
  color: var(--muted);
  margin-bottom: 8px;
}
.gallery-empty p {
  font-size: 11px;
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 17px;
}
.gallery-thumb {
  position: relative;
  padding: 12px;
  background: var(--project-bg);
  border: 1px solid var(--line);
  aspect-ratio: 1.45;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumb:hover {
  border-color: var(--orange);
}
.gallery-thumb:after {
  content: "↗";
  position: absolute;
  right: 5px;
  bottom: 3px;
  font-size: 17px;
  background: var(--surface);
  padding-inline: 4px;
}
.gallery-thumb.mobile {
  aspect-ratio: 0.65;
}
.image-dialog {
  width: min(1150px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  background: #182c23;
  color: #f6f5ed;
  border: 1px solid #667865;
  padding: 14px 20px 10px;
  overflow: auto;
}
.image-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 8px;
}
.image-dialog .icon-button {
  border-color: #667865;
  color: #f6f5ed;
  background: #233e30;
}
.image-dialog .icon-button:hover {
  background: #43604a;
}
.lightbox-stage {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 15px;
  align-items: center;
}
.lightbox-viewport {
  min-width: 0;
  height: 70dvh;
}
.lightbox-stage img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.lightbox-help {
  font-size: 9px;
  text-align: center;
  color: #aebda8;
  margin-top: 14px;
}
.lightbox-help span {
  margin-inline: 14px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 var(--shadow);
  padding: 12px 23px;
  font-size: 12px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
  max-width: calc(100% - 30px);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
html[data-theme="dark"] {
  --bg: #17271f;
  --surface: #21352a;
  --ink: #e5ead7;
  --muted: #a8b89f;
  --line: #3b5141;
  --green: #b6cba0;
  --green-light: #2b4434;
  --orange: #efab76;
  --orange-light: #4a3728;
  --project-bg: #1c2e24;
  --shadow: #0d1b14;
  --header-bg: rgba(23, 39, 31, 0.96);
}
html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .filter.active,
html[data-theme="dark"] .brand-mark {
  color: #17271f;
}
html[data-theme="dark"] .world-art {
  filter: brightness(0.8);
}
html[data-theme="dark"] .project-cover {
  color: #244230;
}
html[data-theme="dark"] .tag.accent {
  border-color: #536e4e;
  color: #c1d3ac;
}
html[data-theme="dark"] .current-label {
  border-color: #74513a;
}
html[data-theme="dark"] .education-footer {
  border-color: var(--line);
}
html[data-theme="dark"] .cover-corner,
html[data-theme="dark"] .nda-badge {
  background: rgba(253, 252, 247, 0.6);
}
@media (min-width: 1440px) {
  .hero {
    gap: 95px;
    padding-block: 95px 82px;
  }
  .hero h1 {
    font-size: 120px;
  }
  .hero-description {
    font-size: 15px;
  }
  .section {
    padding-block: 96px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 21px;
    margin-right: 8px;
  }
  .hero {
    gap: 48px;
    padding-block: 66px 57px;
  }
  .hero h1 {
    font-size: 91px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-location {
    font-size: 9px;
  }
  .about-grid {
    gap: 50px;
  }
  .experience-grid {
    gap: 60px;
  }
  .contact-inner {
    gap: 50px;
  }
  .stats-strip {
    gap: 15px;
  }
  .stats-strip > div {
    gap: 10px;
    padding-right: 13px;
  }
  .stat-number {
    font-size: 32px;
  }
  .stats-strip > div > span:last-child {
    font-size: 9px;
  }
  .contact-copy h2 {
    font-size: 42px;
  }
  .cover-metric {
    right: 25px;
    font-size: 27px;
  }
  .project-cover {
    height: 218px;
  }
  .project-type {
    font-size: 6px;
  }
  .project-card-body {
    padding-inline: 19px;
  }
  .cover-label {
    left: 19px;
  }
  .project-title-row h3 {
    font-size: 28px;
  }
}
@media (max-width: 850px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    height: 75px;
  }
  .desktop-nav {
    gap: 16px;
    font-size: 11px;
    margin-right: 0;
  }
  .brand-name {
    display: none;
  }
  .header-actions {
    gap: 11px;
  }
  .header-resume {
    font-size: 10px;
    padding-left: 11px;
  }
  .hero {
    gap: 32px;
    padding-block: 58px 53px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 11px;
  }
  .hero-buttons {
    gap: 10px;
  }
  .hero-buttons .button {
    font-size: 10px;
    padding: 10px 14px;
    gap: 11px;
    min-height: 44px;
  }
  .hero-location {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .floating-badge {
    padding: 10px 12px;
    left: -13px;
    font-size: 8px;
  }
  .floating-badge > .icon {
    width: 21px;
    height: 21px;
  }
  .window-bar {
    font-size: 7px;
    height: 29px;
  }
  .scene-caption {
    font-size: 6px;
    padding: 9px;
  }
  .scene-caption .pixel {
    font-size: 11px;
  }
  .spark-one {
    right: -17px;
  }
  .spark-two {
    right: -14px;
  }
  .section {
    padding-block: 65px;
  }
  h2 {
    font-size: 42px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-side-note {
    font-size: 9px;
  }
  .about-grid {
    gap: 35px;
  }
  .large-copy {
    font-size: 23px !important;
  }
  .about-copy > p:not(.large-copy) {
    font-size: 11px;
  }
  .panel-heading {
    padding: 14px 18px;
  }
  .panel-heading > .pixel {
    font-size: 20px;
  }
  .panel-heading .tiny-label {
    font-size: 6px;
  }
  .skill-group {
    padding: 16px 18px 0;
  }
  .tag {
    font-size: 10px;
    padding: 4px 8px;
  }
  .skill-footer {
    font-size: 8px;
    padding-inline: 18px;
  }
  .project-grid {
    gap: 21px;
  }
  .project-cover {
    height: 200px;
  }
  .project-title-row {
    align-items: start;
  }
  .project-type {
    max-width: 70px;
    font-size: 6px;
    line-height: 1.5;
    margin-top: 5px;
  }
  .project-card-body > p {
    font-size: 11px;
    min-height: 60px;
  }
  .project-role {
    font-size: 9px;
    min-height: 35px;
  }
  .project-card-bottom {
    font-size: 7px;
  }
  .project-card-bottom > a {
    font-size: 9px;
  }
  .experience-grid {
    gap: 40px;
    grid-template-columns: 1.3fr 1fr;
  }
  .timeline-item > p:last-of-type {
    font-size: 11px;
  }
  .education-panel {
    padding: 23px;
  }
  .education-panel > h3 {
    font-size: 25px;
  }
  .education-item > .tiny-label {
    font-size: 7px;
  }
  .contact-inner {
    gap: 30px;
  }
  .contact-copy h2 {
    font-size: 36px;
  }
  .contact-row {
    gap: 10px;
  }
  .contact-row strong {
    font-size: 12px;
  }
  .contact-row small {
    font-size: 6px;
  }
  .contact-icon {
    width: 35px;
    height: 35px;
  }
  .contact-copy > p:not(.section-kicker) {
    font-size: 11px;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 95px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 70px;
    gap: 12px;
  }
  .brand-name {
    display: block;
    font-size: 12px;
  }
  .brand-name > span {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .brand-mark {
    font-size: 28px;
    padding: 10px 8px;
  }
  .desktop-nav {
    display: none;
  }
  .header-resume {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .menu-toggle span {
    width: 16px;
    height: 2px;
    background: currentColor;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .icon-button {
    width: 34px;
    height: 34px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 45px;
    padding-bottom: 43px;
  }
  .hero-copy {
    max-width: 450px;
  }
  .hero h1 {
    font-size: 93px;
    line-height: 0.9;
    margin-bottom: 24px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 21px;
  }
  .hero-lead {
    font-size: 19px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 360px;
  }
  .hero-buttons {
    margin-top: 25px;
    gap: 12px;
  }
  .hero-buttons .button {
    font-size: 11px;
    min-height: 48px;
    padding: 11px 19px;
    gap: 18px;
  }
  .hero-location {
    font-size: 9px;
    margin-top: 25px;
  }
  .hero-visual {
    width: calc(100% - 16px);
    max-width: 460px;
    margin: 0 auto;
    padding-bottom: 20px;
  }
  .world-art {
    aspect-ratio: 1.35;
    object-fit: cover;
    object-position: 50% 65%;
  }
  .floating-badge {
    bottom: -4px;
    left: -9px;
    font-size: 9px;
    padding: 12px 16px;
  }
  .window-bar {
    font-size: 8px;
    height: 31px;
  }
  .scene-caption {
    font-size: 7px;
  }
  .scene-caption .pixel {
    font-size: 13px;
  }
  .spark-one {
    top: -6px;
    font-size: 27px;
    right: -14px;
  }
  .spark-two {
    right: -15px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    padding-block: 24px;
    row-gap: 22px;
  }
  .stats-strip > div:nth-child(2) {
    border: 0;
  }
  .stats-strip > div {
    gap: 12px;
  }
  .stat-number {
    font-size: 34px;
  }
  .stats-strip > div > span:last-child {
    font-size: 9px;
    max-width: 100px;
  }
  .stats-strip .stats-note {
    gap: 13px;
  }
  .small-star {
    font-size: 27px;
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
  .section-kicker {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 37px;
  }
  .section-side-note {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .large-copy {
    font-size: 25px !important;
  }
  .about-copy > p:not(.large-copy) {
    font-size: 12px;
  }
  .about-copy .text-link {
    font-size: 11px;
  }
  .skills-panel {
    max-width: none;
  }
  .panel-heading {
    padding: 15px 20px;
  }
  .panel-heading > .pixel {
    font-size: 23px;
  }
  .panel-heading .tiny-label {
    font-size: 8px;
  }
  .skill-group {
    padding: 20px 20px 0;
  }
  .tag {
    font-size: 11px;
    padding: 5px 10px;
  }
  .skill-footer {
    font-size: 9px;
    padding: 14px 20px;
  }
  .project-toolbar {
    margin-bottom: 21px;
    align-items: flex-start;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    padding: 8px 11px;
    font-size: 10px;
    min-height: 37px;
  }
  .filter > span {
    margin-left: 5px;
    font-size: 12px;
  }
  .result-count {
    display: none;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .project-cover {
    height: 230px;
  }
  .cover-label {
    font-size: 8px;
    left: 21px;
  }
  .project-card-body {
    padding: 22px 21px 0;
  }
  .project-title-row {
    align-items: center;
  }
  .project-title-row h3 {
    font-size: 31px;
  }
  .project-type {
    max-width: none;
    font-size: 7px;
    margin-top: 0;
  }
  .project-card-body > p {
    font-size: 12px;
    min-height: auto;
  }
  .project-role {
    font-size: 10px;
    min-height: auto;
    margin-top: 14px;
  }
  .project-tags {
    margin-top: 17px;
  }
  .project-card-bottom {
    font-size: 8px;
    margin-top: 21px;
    padding-block: 17px;
  }
  .project-card-bottom > a {
    font-size: 10px;
  }
  .cover-metric {
    top: 105px;
    right: 35px;
    font-size: 32px;
  }
  .projects-footnote {
    font-size: 9px;
    align-items: flex-start;
    gap: 8px;
  }
  .projects-footnote .pixel {
    line-height: 1.4;
  }
  .experience-section .section-heading > .text-link {
    font-size: 9px;
    margin-top: 21px;
    white-space: nowrap;
    gap: 5px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .timeline-item > p:last-of-type {
    font-size: 12px;
  }
  .timeline h3 {
    font-size: 23px;
  }
  .experience-date {
    font-size: 7px;
  }
  .education-panel {
    padding: 25px;
  }
  .education-panel > h3 {
    font-size: 29px;
  }
  .education-item h4 {
    font-size: 12px;
  }
  .education-item p {
    font-size: 11px;
  }
  .education-item > .tiny-label {
    font-size: 8px;
  }
  .contact-section {
    padding-block: 46px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .contact-copy h2 {
    font-size: 39px;
  }
  .contact-copy > p:not(.section-kicker) {
    font-size: 12px;
  }
  .contact-copy .button {
    font-size: 11px;
  }
  .contact-row {
    padding-block: 18px;
    gap: 14px;
  }
  .contact-row small {
    font-size: 7px;
  }
  .contact-row strong {
    font-size: 14px;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
  }
  .footer-inner {
    height: 90px;
    gap: 14px;
  }
  .footer-inner p {
    font-size: 8px;
    max-width: 185px;
    line-height: 1.8;
  }
  .footer-dot {
    margin-inline: 3px;
  }
  .back-to-top {
    font-size: 9px;
    gap: 5px;
    white-space: nowrap;
  }
  .footer-brand {
    font-size: 24px;
  }
  .project-dialog {
    max-height: calc(100dvh - 24px);
    width: calc(100% - 20px);
  }
  .dialog-toolbar {
    padding: 10px 18px;
  }
  .dialog-toolbar .tiny-label {
    font-size: 7px;
  }
  .project-dialog .project-case {
    padding: 24px 20px;
  }
  .project-case h2 {
    font-size: 38px;
  }
  .case-lead {
    font-size: 14px;
  }
  .case-role p {
    font-size: 11px;
  }
  .project-case h3 {
    font-size: 15px;
  }
  .project-case h3 + p {
    font-size: 12px;
  }
  .case-list {
    font-size: 11px;
  }
  .team-list > li {
    font-size: 10px;
    grid-template-columns: 1fr 1.25fr;
    gap: 15px;
  }
  .case-external-links {
    gap: 12px;
  }
  .case-external-links .button {
    font-size: 10px;
    gap: 9px;
    padding-inline: 14px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .gallery-tabs .filter {
    font-size: 9px;
    padding-inline: 10px;
  }
  .image-dialog {
    padding: 10px;
    width: calc(100% - 16px);
  }
  .lightbox-stage {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 6px;
  }
  .lightbox-stage > .icon-button {
    width: 28px;
    height: 34px;
  }
  .lightbox-viewport {
    height: 67dvh;
  }
  .lightbox-help {
    font-size: 8px;
  }
  .lightbox-help span {
    margin-inline: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .project-card:hover,
  .button:hover {
    transform: none;
  }
}
@media print {
  .site-header,
  .hero-visual,
  .hero-buttons,
  .project-toolbar,
  .project-cover,
  .project-card-bottom,
  .contact-section,
  .site-footer,
  .case-fallbacks,
  .project-dialog,
  .image-dialog,
  .copy-email {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 11px;
  }
  .container {
    width: 100%;
  }
  .hero,
  .section {
    padding-block: 20px;
  }
  .hero {
    display: block;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 > span {
    margin-left: 12px;
  }
  .hero-location {
    font-size: 10px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  h2 {
    font-size: 30px;
  }
  .about-grid,
  .experience-grid {
    gap: 30px;
  }
  .projects-section {
    background: white;
  }
  .project-grid {
    gap: 15px;
  }
  .project-card {
    break-inside: avoid;
  }
  .project-card-body {
    padding: 15px;
  }
  .project-role {
    margin-bottom: 15px;
  }
  .skills-panel,
  .education-panel {
    box-shadow: none;
  }
  .stats-strip {
    padding-block: 15px;
  }
  .timeline-item {
    break-inside: avoid;
  }
}

.tourism-viewer {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 4px 4px 0 var(--green-light);
}
.tourism-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.tourism-viewer-bar .tiny-label {
  font-size: 8px;
}
.tourism-viewer-bar > span:last-child {
  font-size: 9px;
}
.tourism-slide {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 192 / 109;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--surface);
  cursor: zoom-in;
  touch-action: pan-y pinch-zoom;
}
.tourism-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tourism-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.tourism-controls .icon-button {
  font-size: 20px;
  width: 34px;
  height: 34px;
}
.tourism-dots {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 1px;
}
.tourism-dots button {
  width: 26px;
  height: 30px;
  background: transparent;
  border: 0;
  padding: 9px;
}
.tourism-dots button::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--muted);
}
.tourism-dots button.active::after {
  background: var(--orange);
  border-color: var(--orange);
}
.tourism-counter {
  font-size: 19px;
  white-space: nowrap;
}
@media (max-width: 680px) {
  .tourism-viewer-bar {
    padding: 10px 12px;
  }
  .tourism-viewer-bar > span:last-child {
    display: none;
  }
  .tourism-controls {
    padding: 10px;
    gap: 8px;
  }
  .tourism-dots button {
    width: 23px;
    padding-inline: 8px;
  }
  .tourism-counter {
    font-size: 16px;
  }
}
