:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-blue: #eef5ff;
  --text: #141922;
  --muted: #5f6b7a;
  --line: #d8e2ef;
  --blue: #2563eb;
  --blue-dark: #173a80;
  --blue-soft: #dbeafe;
  --teal: #0f766e;
  --amber: #b7791f;
  --shadow: 0 18px 45px rgba(20, 25, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-align: center;
}

::selection {
  background: var(--blue);
  color: #ffffff;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.flow > * + * {
  margin-top: 24px;
}

.center-flow {
  display: grid;
  justify-items: center;
  text-align: center;
}

.narrow-flow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 226, 239, 0.88);
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 14px 0;
}

.logo {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.hero {
  padding: clamp(64px, 11vw, 116px) 0 clamp(54px, 8vw, 88px);
}

.eyebrow {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 850;
  white-space: nowrap;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 820;
}

.role-line {
  width: 100%;
  max-width: none;
  color: var(--blue-dark);
  font-size: clamp(1.1rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  white-space: nowrap;
}

.hero-text,
.lead,
.section-intro,
.about-text,
.project-description,
.project-details p {
  color: var(--muted);
}

.hero-text,
.lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.secondary-lead {
  max-width: 700px;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
}

.pill-list,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.pill-list li,
.project-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-list li {
  padding: 5px 10px;
}

.project-tags span {
  padding: 4px 9px;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--blue-dark);
}

.button:hover,
.button:focus-visible {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
  color: #ffffff;
}

.section {
  border-top: 1px solid var(--line);
  padding: clamp(58px, 9vw, 96px) 0;
}

.profile-photo {
  display: grid;
  place-items: center;
  width: min(220px, 58vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), #ffffff);
  color: var(--blue-dark);
  box-shadow: var(--shadow);
}

.profile-photo span {
  max-width: 120px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fact-list {
  display: grid;
  gap: 0;
  width: min(680px, 100%);
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  color: var(--muted);
}

.projects-section {
  background: #ffffff;
}

.section-heading {
  max-width: 760px;
}

.section-intro {
  margin-bottom: 0;
  max-width: 680px;
}

.project-list {
  display: grid;
  gap: 28px;
  width: min(860px, 100%);
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-card summary {
  display: grid;
  cursor: pointer;
  list-style: none;
}

.project-card summary::-webkit-details-marker {
  display: none;
}

.project-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(190px, 34vw, 330px);
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 52%, #f8fafc 100%);
  color: var(--blue-dark);
  isolation: isolate;
}

.project-media::before,
.project-media::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  opacity: 0.28;
}

.project-media::before {
  width: 34%;
  height: 60%;
  left: 8%;
  top: 18%;
  background: var(--blue);
}

.project-media::after {
  width: 42%;
  height: 48%;
  right: 8%;
  bottom: 12%;
  background: var(--teal);
}

.project-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(23, 58, 128, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.project-vr {
  background: linear-gradient(135deg, #e0f2fe 0%, #eff6ff 46%, #f8fafc 100%);
}

.project-dug {
  background: linear-gradient(135deg, #e2e8f0 0%, #dbeafe 55%, #f8fafc 100%);
}

.project-tiger {
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 52%, #ffffff 100%);
}

.project-craft {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 58%, #fef3c7 100%);
}

.project-thief {
  background: linear-gradient(135deg, #cbd5e1 0%, #dbeafe 52%, #f8fafc 100%);
}

.project-content {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(22px, 4vw, 34px);
}

.project-kicker {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-title {
  color: var(--text);
  font-size: clamp(1.45rem, 4vw, 2.55rem);
  font-weight: 850;
  line-height: 1.12;
}

.project-description {
  max-width: 700px;
  font-size: 1.02rem;
}

.details-link {
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 0.94rem;
  font-weight: 850;
}

.details-link::after {
  content: " +";
  color: var(--blue);
}

.project-card[open] .details-link::after {
  content: " -";
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(37, 99, 235, 0.52);
}

.project-details {
  display: grid;
  justify-items: stretch;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 0 clamp(22px, 4vw, 34px) clamp(24px, 4vw, 34px);
}

.project-details p {
  margin: 0;
  max-width: none;
  text-align: left;
}

.media-note {
  border-left: 3px solid var(--teal);
  padding-left: 12px;
  font-size: 0.94rem;
}


.project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.project-links a + a {
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: none;
}

.project-links a:hover,
.project-links a:focus-visible {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #ffffff;
}

.role-block {
  display: grid;
  justify-items: start;
  gap: 10px;
  width: min(700px, 100%);
  text-align: left;
}

.role-block h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1rem;
  font-weight: 850;
}

.role-block ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  list-style-position: outside;
  text-align: left;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}


.project-video-link {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
}

.project-video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 180ms ease, opacity 180ms ease;
}

.project-video-link:hover img,
.project-video-link:focus-visible img {
  transform: scale(1.03);
  opacity: 0.58;
}

.video-play-button {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(58px, 10vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.video-play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--blue-dark);
}

.video-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 850;
}

.gallery-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-blue);
}

.gallery-link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
}

.lightbox:target {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 24, 0.84);
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(1180px, 100%);
}

.lightbox-frame img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 80px);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.lightbox-close::before,
.lightbox-arrow::before {
  display: block;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-0.04em);
}

.lightbox-close {
  right: 12px;
  top: 12px;
}

.lightbox-close::before {
  content: "×";
  font-size: 1.75rem;
}

.lightbox-prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev::before {
  content: "‹";
}

.lightbox-next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next::before {
  content: "›";
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: #ffffff;
  color: var(--blue);
}

.contact-section {
  background: var(--surface-blue);
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 980px);
  }

  .header-inner {
    min-height: 88px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .role-line {
    font-size: clamp(1.35rem, 9vw, 2.35rem);
    white-space: normal;
  }

  .project-media {
    aspect-ratio: 16 / 10;
    min-height: 180px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close,
  .lightbox-arrow {
    width: 38px;
    height: 38px;
  }

  .lightbox-close::before,
  .lightbox-arrow::before {
    font-size: 1.55rem;
  }

  .button {
    width: 100%;
  }
}


.opportunity-line {
  color: var(--blue-dark);
  font-size: clamp(1.08rem, 1.9vw, 1.24rem);
  line-height: 1.55;
}

.opportunity-line strong {
  color: var(--blue-dark);
  font-weight: 850;
}
