/* Root Variables */
:root {
  --canvas-bg: #000000;
  --accent-gold: #f4b643;
  --font-body: "inter-variable", "Inter var", Inter, Helvetica, Arial, sans-serif;
  --content-max: 1440px;
  --frame-pad: 40px;
  --trust-pad: 40px;
  --gutter: 16px;
  --v-unit: 16px;
  --section-pad: 80px;
  --hero-height: 773px;
  --hero-offset: 64px;
  --hero-intro-offset: 40px;
  --hero-intro-duration: 1480ms;
  --hero-intro-ease: cubic-bezier(0.26, 0.08, 0.22, 1);
  --hero-text-intro-offset: 18px;
  --hero-title-intro-ease: cubic-bezier(0.22, 0.12, 0.18, 1);
  --hero-subhead-intro-ease: cubic-bezier(0.24, 0.12, 0.18, 1);
  --hero-cta-intro-ease: cubic-bezier(0.26, 0.1, 0.2, 1);
  --hero-move-desktop: 0.22;
  --hero-move-tablet: 0.16;
  --hero-move-mobile: 0.12;
  --hero-move-sun-mult: 3;
  --hero-move-clouds-mult: 1;
  --trust-float-overlap: 166px;
  --about-card-pad: 82px;
  --about-col-gap: 82px;
  --about-row-gap: 40px;
  --project-card-radius: 12px;
  --about-avatar-size: 240px;
  --projects-page-bg-width: 2500px;
  --surface-reflection-duration: 0ms;
  --surface-reflection-ease: linear;
  --projects-reveal-offset: 75px;
  --projects-reveal-progress: 0;
  --projects-reveal-duration: 900ms;
  --projects-reveal-ease: cubic-bezier(0.3, 0, 0.2, 1);
  --type-hero-title: clamp(2.6rem, 5.5vw, 3.75rem);
  --type-hero-subhead: clamp(1.2rem, 2.2vw, 1.6rem);
  --hero-copy-max-width: 1120px;
  --type-section-title: clamp(2rem, 3.8vw, 2.75rem);
  --type-h3: clamp(1.5rem, calc(1.026vw + 0.98rem), 1.75rem);
  --type-body: clamp(1rem, calc(0.513vw + 0.741rem), 1.125rem);
  --type-nav: clamp(0.9375rem, calc(0.256vw + 0.808rem), 1rem);
  --type-button: clamp(0.9375rem, calc(0.256vw + 0.808rem), 1rem);
  --type-overline: clamp(0.8125rem, calc(0.256vw + 0.683rem), 0.875rem);
  --type-caption: clamp(0.875rem, calc(0.256vw + 0.746rem), 0.9375rem);
  --type-meta-label: clamp(0.75rem, calc(0.256vw + 0.621rem), 0.8125rem);
}

/* Base Reset */
* {
  box-sizing: border-box;
}

/* Body */
body {
  margin: 0;
  background: var(--canvas-bg);
  color: #ffffff;
  font-family: var(--font-body);
}

/* Layout */
main {
  display: block;
}

.sections {
  position: relative;
  z-index: 5;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Sections + Containers */
.section {
  width: 100%;
  margin: 0;
  padding: var(--section-pad) 0;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}

.about .container,
.contact .container,
.projects .container {
  padding: 0 var(--frame-pad);
}

/* Spacing Utilities */
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-80 { margin-top: 80px; }
.mt-96 { margin-top: 96px; }
.mt-112 { margin-top: 112px; }
.mt-128 { margin-top: 128px; }
.mt-144 { margin-top: 144px; }
.mt-160 { margin-top: 160px; }

.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mb-80 { margin-bottom: 80px; }

.pt-16 { padding-top: 16px; }
.pt-32 { padding-top: 32px; }
.pt-48 { padding-top: 48px; }
.pt-64 { padding-top: 64px; }
.pt-80 { padding-top: 80px; }

.pb-16 { padding-bottom: 16px; }
.pb-32 { padding-bottom: 32px; }
.pb-48 { padding-bottom: 48px; }
.pb-64 { padding-bottom: 64px; }
.pb-80 { padding-bottom: 80px; }

/* Utility Blocks */
.block {
  border: 1px solid #222222;
  padding: calc(var(--v-unit) * 1);
  min-height: calc(var(--v-unit) * 3);
}

/* Grid Spans */
.span-12 { grid-column: span 12; }
.span-9 { grid-column: span 9; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }

/* Navigation */
.nav {
  position: sticky;
  top: 16px;
  height: 48px;
  padding: 0;
  z-index: 1000;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.14) 42%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.14) 58%,
      rgba(255, 255, 255, 0) 100%
    ) top / 100% 1px no-repeat,
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.03) 45%,
      rgba(255, 255, 255, 0.012) 74%,
      rgba(255, 255, 255, 0) 100%
    ) top / 100% 12px no-repeat,
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.14) 100%
    ) bottom / 100% 1px no-repeat,
    radial-gradient(
      130% 120% at 50% -85%,
      rgba(255, 255, 255, 0.028) 0%,
      rgba(255, 255, 255, 0.01) 35%,
      rgba(255, 255, 255, 0) 68%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 18, 22, 0) 58%,
      rgba(12, 15, 19, 0.055) 100%
    ),
    rgba(10, 12, 14, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: none;
  border-bottom: none;
}

.nav-grid {
  align-items: center;
  height: 100%;
}

.nav .container {
  padding: 0 var(--frame-pad);
  height: 100%;
}

.nav .block {
  border: none;
  padding: 0;
  min-height: auto;
}

.nav-identity-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(var(--v-unit) * 1);
  padding-left: 88px;
}

.nav-avatar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-image: url("assets/images/avatar-nav.png");
  background-size: cover;
  background-position: center;
  background-origin: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 0;
}

.nav-name {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--type-nav);
  line-height: 1.23;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-links-block {
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: calc(var(--v-unit) * 2);
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: calc(var(--v-unit) * 2);
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--type-nav);
  line-height: 1.23;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-menu a[aria-current] {
  color: var(--accent-gold);
}

.nav-toggle {
  display: none;
  border: 1px solid #222222;
  background: rgba(10, 12, 14, 0.55);
  color: #ffffff;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  width: 16px;
  height: 2px;
  background: #ffffff;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #ffffff;
}

.nav-toggle__icon::before { top: -5px; }
.nav-toggle__icon::after { top: 5px; }

.nav-menu.is-open .nav-toggle__icon {
  background: transparent;
}

.nav-menu.is-open .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-menu.is-open .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.hero {
  position: relative;
  height: calc(794px + var(--hero-offset));
  padding-top: 89px;
  padding-bottom: 80px;
  overflow: visible;
}

.hero-layers {
  position: absolute;
  top: calc(24px + var(--hero-offset));
  left: 50%;
  width: 1440px;
  height: 773px;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1440px 773px;
}

.layer-sun {
  background-image: url("assets/images/L1_sun.jpg");
  z-index: 1;
  transform: translate3d(
    0,
    calc(var(--sun-base-offset, 0px) + var(--sun-translate, 0px)),
    0
  );
  will-change: transform;
  --sun-base-offset: 0px;
}

.layer-eclipse {
  background-image: url("assets/images/L2_eclipse.png");
  z-index: 2;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.layer-clouds {
  background-image: url("assets/images/L3_clouds_occluder.png");
  z-index: 4;
  transform: translate3d(
    0,
    calc(var(--clouds-base-offset, 0px) + var(--clouds-translate, 0px)),
    0
  );
  will-change: transform;
}

.hero-grid {
  position: relative;
  height: 100%;
  align-content: space-between;
  z-index: 10;
}

.hero-content {
  text-align: center;
  display: grid;
  place-items: center;
  position: absolute;
  top: calc(-21px + var(--hero-offset));
  left: 0;
  right: 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, var(--hero-copy-max-width));
  margin-left: auto;
  margin-right: auto;
  gap: calc(var(--v-unit) * 1.5);
}

.hero-copy-mask {
  --hero-mask-safe-space: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-bottom: var(--hero-mask-safe-space);
  margin-bottom: calc(var(--hero-mask-safe-space) * -1);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 88%,
    rgba(0, 0, 0, 0.94) 94%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 88%,
    rgba(0, 0, 0, 0.94) 94%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-copy-mask--title {
  --hero-mask-safe-space: 0.34em;
}

.hero-copy-mask--cta {
  --hero-mask-safe-space: 16px;
  margin-top: 32px;
}

.hero-copy-item {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  will-change: transform, opacity;
}

.hero-copy-item--title {
  padding-bottom: 0.08em;
  transition:
    transform 860ms var(--hero-title-intro-ease) 660ms,
    opacity 940ms cubic-bezier(0.2, 0.14, 0.18, 1) 660ms;
}

.hero-copy-item--subhead {
  transition:
    transform 920ms var(--hero-subhead-intro-ease) 1080ms,
    opacity 980ms cubic-bezier(0.22, 0.12, 0.18, 1) 1080ms;
}

.hero-copy-item--cta {
  transition:
    transform 980ms var(--hero-cta-intro-ease) 1320ms,
    opacity 1040ms cubic-bezier(0.28, 0.12, 0.2, 1) 1320ms;
}

html.is-hero-intro-pending .layer-eclipse,
html.is-hero-intro-pending .layer-ring {
  transform: translate3d(0, var(--hero-intro-offset), 0);
}

html.is-hero-intro-active .layer-eclipse,
html.is-hero-intro-active .layer-ring {
  transform: translate3d(0, 0, 0);
  transition: transform var(--hero-intro-duration) var(--hero-intro-ease);
}

html.is-hero-intro-pending .hero-copy-item {
  transform: translate3d(0, var(--hero-text-intro-offset), 0);
  opacity: 0;
}

html.is-hero-intro-active .hero-copy-item {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hero-text h1 {
  margin: -3px 0 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-weight: 700;
  font-size: var(--type-hero-title);
  line-height: 1.0667;
  letter-spacing: 0.5px;
}

.hero-subhead {
  margin: -12px 0 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-weight: 400;
  font-size: var(--type-hero-subhead);
  line-height: 2.1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  padding: 18px 26px;
  border: 1px solid rgba(157, 126, 81, 0.24);
  border-radius: 12px;
  color: rgba(244, 182, 67, 0.92);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--type-button);
  line-height: 1.23;
  letter-spacing: 0.028em;
  text-transform: none;
  background:
    linear-gradient(
      to bottom,
      rgba(250, 233, 202, 0.1) 0%,
      rgba(250, 233, 202, 0.032) 13%,
      rgba(250, 233, 202, 0) 30%
    ),
    radial-gradient(
      115% 108% at 0% 0%,
      rgba(244, 182, 67, 0.082) 0%,
      rgba(244, 182, 67, 0.022) 34%,
      rgba(244, 182, 67, 0) 66%
    ),
    radial-gradient(
      115% 108% at 100% 0%,
      rgba(244, 182, 67, 0.076) 0%,
      rgba(244, 182, 67, 0.02) 35%,
      rgba(244, 182, 67, 0) 67%
    ),
    radial-gradient(
      135% 120% at 50% 110%,
      rgba(184, 132, 56, 0.05) 0%,
      rgba(184, 132, 56, 0.015) 34%,
      rgba(184, 132, 56, 0) 66%
    ),
    linear-gradient(
      180deg,
      rgba(28, 24, 18, 0.22) 0%,
      rgba(15, 19, 24, 0.38) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 231, 0.12),
    inset 0 -1px 0 rgba(124, 96, 56, 0.16),
    inset 0 0 0 1px rgba(244, 182, 67, 0.03),
    0 2px 10px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 980ms var(--hero-cta-intro-ease) 1320ms,
    opacity 1040ms cubic-bezier(0.28, 0.12, 0.2, 1) 1320ms,
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-cta span {
  display: block;
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  border-color: rgba(183, 149, 97, 0.32);
  color: rgba(250, 202, 106, 0.96);
  background:
    linear-gradient(
      to bottom,
      rgba(252, 239, 212, 0.13) 0%,
      rgba(252, 239, 212, 0.045) 13%,
      rgba(255, 255, 255, 0) 30%
    ),
    radial-gradient(
      118% 108% at 0% 0%,
      rgba(244, 182, 67, 0.11) 0%,
      rgba(244, 182, 67, 0.03) 35%,
      rgba(244, 182, 67, 0) 67%
    ),
    radial-gradient(
      118% 108% at 100% 0%,
      rgba(244, 182, 67, 0.104) 0%,
      rgba(244, 182, 67, 0.028) 35%,
      rgba(244, 182, 67, 0) 67%
    ),
    radial-gradient(
      125% 100% at 50% 100%,
      rgba(188, 137, 59, 0.06) 0%,
      rgba(188, 137, 59, 0.018) 34%,
      rgba(188, 137, 59, 0) 66%
    ),
    linear-gradient(
      180deg,
      rgba(31, 27, 20, 0.24) 0%,
      rgba(15, 19, 24, 0.42) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 226, 0.15),
    inset 0 -1px 0 rgba(132, 103, 61, 0.18),
    inset 0 0 0 1px rgba(244, 182, 67, 0.04),
    0 3px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover svg,
.hero-cta:focus-visible svg {
  transform: translateX(2px);
}

/* Resume Page */
.resume-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200vh;
  background-image: url("assets/images/resume-hero.jpg");
  background-repeat: no-repeat;
  background-position: 50% -280px;
  background-size: 1500px auto;
  pointer-events: none;
  z-index: -1;
}

.resume-page-intro {
  padding: 80px var(--frame-pad) 24px;
  text-align: center;
}

.resume-page-intro-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-weight: 700;
  font-size: var(--type-hero-title);
  line-height: 1.0667;
  letter-spacing: 0.5px;
}

.resume-page-intro-sub {
  margin: 20px 0 0;
  line-height: 1.5;
}

.resume-page-shell .container {
  padding: 0 var(--frame-pad);
}

.resume-page-shell {
  position: relative;
  padding-top: 70px;
  padding-bottom: 144px;
}

.resume-page-grid {
  row-gap: calc(var(--v-unit) * 2);
}

.resume-card {
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: clamp(56px, 6vw, 88px);
  min-height: clamp(480px, 62vw, 880px);
  background: none;
  box-shadow: none;
}

.resume-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  background-image: url("assets/images/TESTBG.png");
  background-repeat: no-repeat;
  background-position: 50% 30px;
  background-size: 1500px auto;
  pointer-events: none;
  z-index: 0;
}

.resume-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  pointer-events: none;
  z-index: 1;
  background: rgba(8, 10, 12, 0.11);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.resume-card > * {
  position: relative;
  z-index: 2;
}

.resume-card > .surface-reflection {
  position: absolute;
  z-index: 1;
}

.surface-reflection--resume {
  --surface-reflection-height: 96px;
  --surface-reflection-mask-edge-clear: 18%;
  --surface-reflection-mask-edge-soft: 31%;
  --surface-reflection-rim-edge-opacity: 0.014;
  --surface-reflection-rim-shoulder-opacity: 0.066;
  --surface-reflection-rim-opacity: 0.42;
  --surface-reflection-glow-width: 72%;
  --surface-reflection-glow-height: 30%;
  --surface-reflection-glow-outer-opacity: 0.082;
  --surface-reflection-glow-mid-opacity: 0.042;
  --surface-reflection-glow-inner-opacity: 0.015;
  --surface-reflection-glow-falloff: 72%;
  --surface-reflection-core-width: 22%;
  --surface-reflection-core-height: 15%;
  --surface-reflection-core-inner-opacity: 0.18;
  --surface-reflection-core-mid-opacity: 0.08;
  --surface-reflection-core-falloff: 66%;
  --surface-reflection-hotspot-width: 17%;
  --surface-reflection-hotspot-height: 9%;
  --surface-reflection-hotspot-inner-opacity: 0.34;
  --surface-reflection-hotspot-mid-opacity: 0.14;
  --surface-reflection-hotspot-falloff: 56%;
  --surface-reflection-glow-blur: 12px;
  --surface-reflection-hotspot-blur: 11px;
  width: 2064px;
  opacity: 1;
}

.resume-reference-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 44px;
  width: 100%;
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.resume-reference-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.resume-project-glass-stage {
  position: relative;
  width: min(100%, 880px);
}

.resume-reference-label {
  margin: 0;
  color: rgba(229, 232, 235, 0.72);
  font-family: var(--font-body);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.resume-project-glass-ref {
  width: 100%;
  min-height: clamp(220px, 28vw, 340px);
  z-index: 1;
}

.resume-meta-glass {
  position: absolute;
  top: clamp(20px, 3vw, 28px);
  right: clamp(20px, 3vw, 28px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  color: rgba(229, 232, 235, 0.88);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .resume-page-shell {
    padding-top: 80px;
    padding-bottom: 112px;
  }

  .resume-card {
    padding: clamp(40px, 5.8vw, 64px);
    min-height: clamp(400px, 68vw, 720px);
  }

  .resume-reference-stack {
    gap: 36px;
  }
}

/* Resume Page - Editorial Layout */
.resume-page-main .resume-page-grid {
  row-gap: 96px;
}

.resume-page-main .resume-card {
  padding: 80px;
  min-height: auto;
}

.resume-card--no-bg::before {
  content: none;
}

.resume-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Resume Header */
.resume-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resume-header-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-overline {
  margin: 0;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: var(--type-overline);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-name {
  margin: 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.resume-subtitle {
  margin: 0;
  color: rgba(229, 232, 235, 0.6);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.resume-header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  font-style: normal;
}

.resume-header-contact p {
  margin: 0;
  color: rgba(229, 232, 235, 0.75);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.resume-header-contact a {
  color: rgba(229, 232, 235, 0.75);
  text-decoration: none;
  transition: color 180ms ease;
}

.resume-header-contact a:hover {
  color: var(--accent-gold);
}

/* Resume Section (left-label / right-body) */
.resume-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 60px;
  align-items: start;
}

.resume-section + .resume-section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.resume-section--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.resume-section-label h2 {
  margin: 0;
  padding-top: 4px;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: var(--type-overline);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-section-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.resume-section-body--entries {
  gap: 40px;
}

/* Resume Body Text */
.resume-body-text {
  margin: 0;
  max-width: 740px;
  color: rgba(229, 232, 235, 0.9);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.7;
  font-weight: 400;
}

/* Resume Bullet List */
.resume-bullets {
  margin: 0;
  padding: 0 0 0 20px;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(229, 232, 235, 0.86);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.65;
}

.resume-bullets li::marker {
  color: rgba(229, 232, 235, 0.3);
}

/* Resume Glass Card (Project Card Glass) */
.resume-glass-card {
  padding: 32px 36px;
  background: rgba(10, 12, 16, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.015);
}

/* Skills Grid */
.resume-skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
}

.resume-skills-grid span {
  color: rgba(229, 232, 235, 0.9);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.5;
  font-weight: 400;
}

/* Resume Glass Chip */
.resume-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  color: rgba(229, 232, 235, 0.88);
  font-family: var(--font-body);
  font-size: var(--type-meta-label);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Resume Experience Entry (Project Card Glass) */
.resume-entry {
  padding: 36px 40px;
  background: rgba(10, 12, 16, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.resume-entry-header-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resume-entry-company {
  margin: 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-size: var(--type-h3);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.resume-entry-location {
  margin: 0;
  color: rgba(229, 232, 235, 0.45);
  font-family: var(--font-body);
  font-size: var(--type-meta-label);
  line-height: 1.4;
  font-weight: 400;
}

.resume-entry-role {
  margin: 4px 0 0 0;
  color: rgba(229, 232, 235, 0.65);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resume-entry-desc {
  margin: 0;
  max-width: 740px;
  color: rgba(229, 232, 235, 0.82);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.65;
}

.resume-entry-bullets {
  margin: 0;
  padding: 0 0 0 20px;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(229, 232, 235, 0.78);
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, calc(0.256vw + 0.808rem), 1rem);
  line-height: 1.6;
}

.resume-entry-bullets li::marker {
  color: rgba(229, 232, 235, 0.3);
}

/* Earlier Work Entry (compact, no glass) */
.resume-earlier-entry {
  padding-bottom: 28px;
}

.resume-earlier-entry + .resume-earlier-entry {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.resume-earlier-entry:last-child {
  padding-bottom: 0;
}

.resume-earlier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 6px;
}

.resume-earlier-company {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.4;
  font-weight: 600;
}

.resume-earlier-role {
  margin: 2px 0 0 0;
  color: rgba(229, 232, 235, 0.55);
  font-family: var(--font-body);
  font-size: var(--type-meta-label);
  line-height: 1.4;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resume-earlier-desc {
  margin: 0;
  max-width: 700px;
  color: rgba(229, 232, 235, 0.68);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.6;
}

.resume-earlier-date {
  color: rgba(229, 232, 235, 0.45);
  font-family: var(--font-body);
  font-size: var(--type-meta-label);
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tools section */
.resume-tools-category {
  margin-bottom: 24px;
}

.resume-tools-category:last-child {
  margin-bottom: 0;
}

.resume-tools-title {
  margin: 0 0 6px 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.4;
  font-weight: 600;
}

.resume-tools-list {
  margin: 0;
  max-width: 700px;
  color: rgba(229, 232, 235, 0.68);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.7;
}

/* Education */
.resume-edu-entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.resume-edu-degree {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.4;
  font-weight: 600;
}

.resume-edu-school {
  margin: 4px 0 0 0;
  color: rgba(229, 232, 235, 0.6);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.4;
}

/* Resume Responsive - Tablet */
@media (max-width: 1024px) {
  .resume-page-main .resume-page-grid {
    row-gap: 72px;
  }

  .resume-page-main .resume-card {
    padding: 56px 48px;
  }

  .resume-section {
    grid-template-columns: 160px 1fr;
    gap: 0 40px;
  }

  .resume-header {
    flex-direction: column;
    gap: 24px;
  }

  .resume-header-contact {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .resume-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resume-entry {
    padding: 28px 32px;
  }
}

/* Resume Responsive - Mobile */
@media (max-width: 809px) {
  .resume-page-main .resume-page-grid {
    row-gap: 48px;
  }

  .resume-page-main .resume-card {
    padding: 40px 24px;
  }

  .resume-section {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .resume-section + .resume-section {
    margin-top: 40px;
    padding-top: 40px;
  }

  .resume-header {
    margin-bottom: 48px;
    padding-bottom: 36px;
  }

  .resume-header-contact {
    flex-direction: column;
    gap: 4px;
  }

  .resume-entry {
    padding: 24px;
  }

  .resume-entry-header {
    flex-direction: column;
    gap: 12px;
  }

  .resume-earlier-header {
    flex-direction: column;
    gap: 4px;
  }

  .resume-edu-entry {
    flex-direction: column;
    gap: 4px;
  }

  .resume-glass-card {
    padding: 24px;
  }

  .resume-section-body--entries {
    gap: 28px;
  }
}

.layer-ring {
  position: absolute;
  left: 551px;
  right: 565px;
  top: 415px;
  width: 325px;
  height: 325px;
  border: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 3;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ring-mask {
  position: absolute;
  top: 0;
  left: 0;
  height: 88px;
  width: 100%;
  overflow: hidden;
  border: none;
}

.ring-inner {
  width: 325px;
  height: 325px;
  background-image: url("assets/images/T_ring.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 325px 325px;
  animation: ring-spin 22s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Trust */
.trust {
  position: relative;
  margin-top: calc(-1 * var(--trust-float-overlap));
  padding-top: 0;
  z-index: 20;
}

/* Trust Tint Bar (includes left/right fades) */
.trust-tint-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--trust-pad);
  right: var(--trust-pad);
  height: 100%;
  pointer-events: none;
  display: block;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 1) 200px,
    rgba(0, 0, 0, 1) calc(100% - 200px),
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0.2;
  filter: none;
  backdrop-filter: blur(11px);
  border: none;
  box-shadow: none;
  z-index: 0;
}

/* About */
.about {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0;
  padding: 0;
}

.contact {
  padding-bottom: 0;
}

.about .container {
  max-width: none;
  padding: 0;
}

.contact .container {
  max-width: none;
  padding: 0;
}

.projects .container {
  position: relative;
  isolation: isolate;
  z-index: 1;
  max-width: none;
  padding: 0;
}

.projects {
  position: relative;
  transform: translate3d(0, calc(var(--projects-reveal-offset) * (1 - var(--projects-reveal-progress))), 0);
  will-change: transform;
  padding-bottom: 0;
}

.projects.is-revealed {
  --projects-reveal-progress: 1;
}

.about-card,
.contact-card,
.projects-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.015);
  padding: var(--about-card-pad);
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.surface-reflection {
  --surface-reflection-height: 84px;
  --surface-reflection-mask-edge-clear: 12%;
  --surface-reflection-mask-edge-soft: 24%;
  --surface-reflection-rim-edge-opacity: 0.02;
  --surface-reflection-rim-shoulder-opacity: 0.09;
  --surface-reflection-rim-opacity: 0.5;
  --surface-reflection-glow-width: 72%;
  --surface-reflection-glow-height: 28%;
  --surface-reflection-glow-outer-opacity: 0.08;
  --surface-reflection-glow-mid-opacity: 0.04;
  --surface-reflection-glow-inner-opacity: 0.015;
  --surface-reflection-glow-falloff: 76%;
  --surface-reflection-core-width: 28%;
  --surface-reflection-core-height: 18%;
  --surface-reflection-core-inner-opacity: 0.16;
  --surface-reflection-core-mid-opacity: 0.08;
  --surface-reflection-core-falloff: 78%;
  --surface-reflection-hotspot-width: 24%;
  --surface-reflection-hotspot-height: 12%;
  --surface-reflection-hotspot-inner-opacity: 0.4;
  --surface-reflection-hotspot-mid-opacity: 0.16;
  --surface-reflection-hotspot-falloff: 68%;
  --surface-reflection-glow-blur: 7px;
  --surface-reflection-hotspot-blur: 8px;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1720px, calc(100% - (var(--about-card-pad) * 2)));
  height: var(--surface-reflection-height);
  transform: translateX(-50%);
  opacity: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent var(--surface-reflection-mask-edge-clear),
    #000 var(--surface-reflection-mask-edge-soft),
    #000 calc(100% - var(--surface-reflection-mask-edge-soft)),
    transparent calc(100% - var(--surface-reflection-mask-edge-clear)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent var(--surface-reflection-mask-edge-clear),
    #000 var(--surface-reflection-mask-edge-soft),
    #000 calc(100% - var(--surface-reflection-mask-edge-soft)),
    transparent calc(100% - var(--surface-reflection-mask-edge-clear)),
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  transition:
    opacity var(--surface-reflection-duration) var(--surface-reflection-ease);
}

.surface-reflection::before,
.surface-reflection::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.surface-reflection::before {
  background:
    linear-gradient(
      90deg,
      rgba(244, 182, 67, 0) 0%,
      rgba(255, 236, 205, var(--surface-reflection-rim-edge-opacity)) 20%,
      rgba(255, 236, 205, var(--surface-reflection-rim-shoulder-opacity)) 38%,
      rgba(255, 247, 230, var(--surface-reflection-rim-opacity)) 50%,
      rgba(255, 236, 205, var(--surface-reflection-rim-shoulder-opacity)) 62%,
      rgba(255, 236, 205, var(--surface-reflection-rim-edge-opacity)) 80%,
      rgba(244, 182, 67, 0) 100%
    ) center top / 100% 2px no-repeat,
    radial-gradient(
      ellipse var(--surface-reflection-glow-width) var(--surface-reflection-glow-height) at 50% 0%,
      rgba(255, 231, 186, var(--surface-reflection-glow-outer-opacity)) 0%,
      rgba(244, 182, 67, var(--surface-reflection-glow-mid-opacity)) 34%,
      rgba(244, 182, 67, var(--surface-reflection-glow-inner-opacity)) 56%,
      rgba(244, 182, 67, 0) var(--surface-reflection-glow-falloff)
    ),
    radial-gradient(
      ellipse var(--surface-reflection-core-width) var(--surface-reflection-core-height) at 50% 0%,
      rgba(255, 231, 186, var(--surface-reflection-core-inner-opacity)) 0%,
      rgba(244, 182, 67, var(--surface-reflection-core-mid-opacity)) 42%,
      rgba(244, 182, 67, 0) var(--surface-reflection-core-falloff)
    );
  filter: blur(var(--surface-reflection-glow-blur));
}

.surface-reflection::after {
  background:
    radial-gradient(
      ellipse var(--surface-reflection-hotspot-width) var(--surface-reflection-hotspot-height) at 50% 1px,
      rgba(255, 250, 238, var(--surface-reflection-hotspot-inner-opacity)) 0%,
      rgba(255, 236, 198, var(--surface-reflection-hotspot-mid-opacity)) 36%,
      rgba(255, 236, 198, 0) var(--surface-reflection-hotspot-falloff)
    );
  filter: blur(var(--surface-reflection-hotspot-blur));
}

.surface-reflection--about {
  --surface-reflection-height: 118px;
  --surface-reflection-mask-edge-clear: 18%;
  --surface-reflection-mask-edge-soft: 33%;
  --surface-reflection-rim-edge-opacity: 0.014;
  --surface-reflection-rim-shoulder-opacity: 0.072;
  --surface-reflection-rim-opacity: 0.74;
  --surface-reflection-glow-width: 82%;
  --surface-reflection-glow-height: 44%;
  --surface-reflection-glow-outer-opacity: 0.18;
  --surface-reflection-glow-mid-opacity: 0.098;
  --surface-reflection-glow-inner-opacity: 0.042;
  --surface-reflection-glow-falloff: 76%;
  --surface-reflection-core-width: 30%;
  --surface-reflection-core-height: 26%;
  --surface-reflection-core-inner-opacity: 0.38;
  --surface-reflection-core-mid-opacity: 0.19;
  --surface-reflection-core-falloff: 76%;
  --surface-reflection-hotspot-width: 24%;
  --surface-reflection-hotspot-height: 14%;
  --surface-reflection-hotspot-inner-opacity: 0.8;
  --surface-reflection-hotspot-mid-opacity: 0.34;
  --surface-reflection-hotspot-falloff: 62%;
  --surface-reflection-glow-blur: 16px;
  --surface-reflection-hotspot-blur: 12px;
  width: 2064px;
}

html.is-hero-story-active .surface-reflection--about {
  opacity: 1;
}

.surface-reflection--about-bottom {
  --surface-reflection-height: 78px;
  --surface-reflection-mask-edge-clear: 22%;
  --surface-reflection-mask-edge-soft: 36%;
  --surface-reflection-rim-edge-opacity: 0.01;
  --surface-reflection-rim-shoulder-opacity: 0.045;
  --surface-reflection-rim-opacity: 0.26;
  --surface-reflection-glow-width: 56%;
  --surface-reflection-glow-height: 24%;
  --surface-reflection-glow-outer-opacity: 0.072;
  --surface-reflection-glow-mid-opacity: 0.036;
  --surface-reflection-glow-inner-opacity: 0.014;
  --surface-reflection-glow-falloff: 62%;
  --surface-reflection-core-width: 16%;
  --surface-reflection-core-height: 11%;
  --surface-reflection-core-inner-opacity: 0.14;
  --surface-reflection-core-mid-opacity: 0.064;
  --surface-reflection-core-falloff: 50%;
  --surface-reflection-hotspot-width: 11%;
  --surface-reflection-hotspot-height: 5%;
  --surface-reflection-hotspot-inner-opacity: 0.22;
  --surface-reflection-hotspot-mid-opacity: 0.09;
  --surface-reflection-hotspot-falloff: 38%;
  --surface-reflection-glow-blur: 11px;
  --surface-reflection-hotspot-blur: 10px;
  top: auto;
  bottom: 0;
  width: 2064px;
}

.surface-reflection--about-bottom::before {
  background:
    linear-gradient(
      90deg,
      rgba(244, 182, 67, 0) 0%,
      rgba(255, 236, 205, var(--surface-reflection-rim-edge-opacity)) 20%,
      rgba(255, 236, 205, var(--surface-reflection-rim-shoulder-opacity)) 38%,
      rgba(255, 247, 230, var(--surface-reflection-rim-opacity)) 50%,
      rgba(255, 236, 205, var(--surface-reflection-rim-shoulder-opacity)) 62%,
      rgba(255, 236, 205, var(--surface-reflection-rim-edge-opacity)) 80%,
      rgba(244, 182, 67, 0) 100%
    ) center bottom / 100% 2px no-repeat,
    radial-gradient(
      ellipse var(--surface-reflection-glow-width) var(--surface-reflection-glow-height) at 50% 100%,
      rgba(255, 231, 186, var(--surface-reflection-glow-outer-opacity)) 0%,
      rgba(244, 182, 67, var(--surface-reflection-glow-mid-opacity)) 34%,
      rgba(244, 182, 67, var(--surface-reflection-glow-inner-opacity)) 56%,
      rgba(244, 182, 67, 0) var(--surface-reflection-glow-falloff)
    ),
    radial-gradient(
      ellipse var(--surface-reflection-core-width) var(--surface-reflection-core-height) at 50% 100%,
      rgba(255, 231, 186, var(--surface-reflection-core-inner-opacity)) 0%,
      rgba(244, 182, 67, var(--surface-reflection-core-mid-opacity)) 42%,
      rgba(244, 182, 67, 0) var(--surface-reflection-core-falloff)
    );
}

.surface-reflection--about-bottom::after {
  background:
    radial-gradient(
      ellipse var(--surface-reflection-hotspot-width) var(--surface-reflection-hotspot-height) at 50% calc(100% - 1px),
      rgba(255, 250, 238, var(--surface-reflection-hotspot-inner-opacity)) 0%,
      rgba(255, 236, 198, var(--surface-reflection-hotspot-mid-opacity)) 36%,
      rgba(255, 236, 198, 0) var(--surface-reflection-hotspot-falloff)
    );
}

html.is-hero-story-active .surface-reflection--about-bottom {
  opacity: 1;
}

.surface-reflection--projects {
  --surface-reflection-height: 102px;
  --surface-reflection-mask-edge-clear: 20%;
  --surface-reflection-mask-edge-soft: 34%;
  --surface-reflection-rim-edge-opacity: 0.012;
  --surface-reflection-rim-shoulder-opacity: 0.062;
  --surface-reflection-rim-opacity: 0.48;
  --surface-reflection-glow-width: 74%;
  --surface-reflection-glow-height: 32%;
  --surface-reflection-glow-outer-opacity: 0.1;
  --surface-reflection-glow-mid-opacity: 0.048;
  --surface-reflection-glow-inner-opacity: 0.018;
  --surface-reflection-glow-falloff: 74%;
  --surface-reflection-core-width: 24%;
  --surface-reflection-core-height: 18%;
  --surface-reflection-core-inner-opacity: 0.2;
  --surface-reflection-core-mid-opacity: 0.09;
  --surface-reflection-core-falloff: 68%;
  --surface-reflection-hotspot-width: 18%;
  --surface-reflection-hotspot-height: 10%;
  --surface-reflection-hotspot-inner-opacity: 0.42;
  --surface-reflection-hotspot-mid-opacity: 0.16;
  --surface-reflection-hotspot-falloff: 54%;
  --surface-reflection-glow-blur: 12px;
  --surface-reflection-hotspot-blur: 11px;
  width: 2064px;
}

html.is-hero-story-active .surface-reflection--projects {
  opacity: 1;
}


.about-card-grid,
.contact-card-grid {
  display: flex;
  width: 100%;
  max-width: calc(var(--content-max) - (var(--about-card-pad) * 2));
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
  gap: 40px;
}

.contact-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, clamp(420px, 38vw, 540px)) minmax(0, 1fr);
  column-gap: 44px;
  flex: 1 1 auto;
  min-height: 100%;
  align-items: stretch;
}

.about-copy,
.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.contact-copy {
  grid-column: 1;
  grid-row: 1;
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  padding-right: 0;
  position: relative;
  z-index: 1;
  gap: var(--v-unit);
}

.about-main,
.contact-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-label,
.contact-label {
  margin: 0;
  color: #f4b643;
  font-family: var(--font-body);
  font-size: var(--type-overline);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-title,
.contact-title {
  margin: 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-size: var(--type-section-title);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.about-body {
  margin: 0;
  max-width: none;
  color: rgba(229, 232, 235, 0.9);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.7;
  font-weight: 400;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: start;
  column-gap: clamp(32px, 5vw, 88px);
  align-items: start;
  text-align: left;
  min-height: 0;
}

.about-media {
  display: flex;
  justify-content: flex-end;
  align-self: center;
  flex: 0 0 var(--about-avatar-size);
  width: var(--about-avatar-size);
}

.contact-media {
  grid-column: 1 / -1;
  grid-row: 1;
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.about-avatar {
  width: var(--about-avatar-size);
  max-width: none;
  height: var(--about-avatar-size);
  min-width: var(--about-avatar-size);
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: none;
  outline: none;
  box-shadow: none;
  object-fit: cover;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: calc(var(--v-unit) * 0.5);
}

.about-stat:nth-child(2) {
  margin-left: -30px;
}

.about-stat-value {
  margin: 0;
  color: #f4b643;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-size: var(--type-section-title);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.about-stat-label {
  margin: 0;
  color: rgba(229, 232, 235, 0.86);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.4;
  font-weight: 400;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: calc(var(--v-unit) * 2);
  margin-top: var(--v-unit);
  width: min(100%, 460px);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-field-label {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--type-nav);
  line-height: 1.23;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.contact-input {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(58, 58, 58, 0.32);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.34);
  font-size: var(--type-body);
  font-weight: 400;
}

.contact-input:focus {
  outline: 1px solid rgba(244, 182, 67, 0.45);
  border-color: rgba(244, 182, 67, 0.45);
}

.contact-textarea {
  min-height: 136px;
  resize: vertical;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #363636;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--type-button);
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
}

.contact-footer {
  display: flex;
  flex-direction: column;
  gap: calc(var(--v-unit) * 3);
  margin-top: 0;
  padding-top: var(--v-unit);
  width: min(100%, 460px);
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px 56px;
}

.contact-social-link {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

.contact-social-link:hover {
  color: #ffffff;
}

.contact-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.4;
  font-weight: 400;
}

.contact-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: right bottom;
}

/* Section Header */
.cp-sectionheader {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 var(--trust-pad);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.cp-sectionheader__line {
  flex: 0 1 33%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(244, 182, 67, 0) 0%,
    rgba(244, 182, 67, 0.2) 18%,
    rgba(244, 182, 67, 0.75) 50%,
    rgba(244, 182, 67, 0.2) 82%,
    rgba(244, 182, 67, 0) 100%
  );
}

.cp-sectionheader__line--right {
  background: linear-gradient(
    to right,
    rgba(244, 182, 67, 0) 0%,
    rgba(244, 182, 67, 0.2) 18%,
    rgba(244, 182, 67, 0.75) 50%,
    rgba(244, 182, 67, 0.2) 82%,
    rgba(244, 182, 67, 0) 100%
  );
}

.cp-sectionheader__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* Trust Strip */
.cp-truststrip {
  --bar-h: 68px;
  --max-w: 1440px;
  --gap: 49px;
  --speed: 42s;
  --fade: 200px;
  --overlay: rgba(3, 5, 7, 0.18);
  --logo-scale: 0.64;
  width: 100%;
  max-width: var(--content-max);
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--trust-pad);
  box-sizing: border-box;
  height: var(--bar-h);
  position: relative;
  display: flex;
  align-items: center;
}

/* Trust Strip Overlay */
.cp-truststrip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

/* Trust Strip Window */
.cp-truststrip__window {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 1) 200px,
    rgba(0, 0, 0, 1) calc(100% - 200px),
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 1) 200px,
    rgba(0, 0, 0, 1) calc(100% - 200px),
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Trust Strip Bar Fade */
.cp-truststrip__barfade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

/* Trust Bar Fade */
.trust-bar-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  z-index: 5;
  pointer-events: none;
  display: block;
}

.trust-bar-fade--left {
  left: 0;
  background: none;
}

.trust-bar-fade--right {
  right: 0;
  background: none;
}

/* Trust Strip Track */
.cp-truststrip__track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: cpTrustScroll var(--speed) linear infinite;
  mix-blend-mode: normal;
}

/* Trust Strip Group */
.cp-truststrip__group {
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  padding-right: var(--gap);
}

@keyframes cpTrustScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Trust Strip Logo */
.cp-truststrip__logo {
  height: calc(var(--h, 34px) * var(--logo-scale));
  width: auto;
  display: block;
  opacity: var(--logo-opacity, 0.88);
  max-height: 40px;
  max-width: 220px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Content Grids */
.about-grid,
.contact-grid,
.projects-grid {
  row-gap: calc(var(--v-unit) * 2);
}

/* Projects */
.projects-grid {
  position: relative;
  z-index: 1;
  row-gap: calc(var(--v-unit) * 2);
}

.projects-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1536px;
  aspect-ratio: 1536 / 2752;
  background-image: url("assets/images/SectionBG5.jpg");
  background-repeat: no-repeat;
  background-position: 50% 30px;
  background-size: 100% auto;
  opacity: 0.8;
  display: block;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}

.about-card::after,
.contact-card::after,
.projects-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: rgba(8, 10, 12, 0.11);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-left: none;
  border-right: none;
}

.about-card > *,
.contact-card > *,
.projects-card > * {
  position: relative;
  z-index: 2;
}

.about-card > .surface-reflection,
.projects-card > .surface-reflection {
  position: absolute;
  z-index: 1;
}

.projects-card-grid {
  display: grid;
  width: 100%;
  max-width: calc(var(--content-max) - (var(--about-card-pad) * 2));
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--about-row-gap) var(--about-col-gap);
}

.projects-main {
  display: flex;
  flex-direction: column;
  gap: calc(var(--v-unit) * 1.25);
  max-width: none;
}

.projects-label {
  margin: 0;
  color: #f4b643;
  font-family: var(--font-body);
  font-size: var(--type-overline);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projects-title {
  margin: 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-size: var(--type-section-title);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.projects-intro {
  margin: 0;
  color: rgba(229, 232, 235, 0.9);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.7;
  font-weight: 400;
}

.projects-list {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 82px;
  width: 100%;
  max-width: calc(var(--content-max) - (var(--about-card-pad) * 2));
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.projects-list > * {
  position: relative;
  z-index: 1;
}

.project-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
  border: none;
  border-radius: var(--project-card-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32);
  padding: var(--about-card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--about-row-gap);
}

.project-card > * {
  position: relative;
  z-index: 2;
}

.project-card-header {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: var(--about-row-gap) var(--about-col-gap);
  align-items: center;
}

.project-logo-wrap {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.project-logo-image {
  width: min(220px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
}

.project-card--portfolio {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
  background: rgba(10, 12, 16, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.015);
}

.project-card--portfolio .project-card-body {
  padding-top: 0;
}

.project-card--portfolio .project-card-body::before {
  content: none;
}

.project-card--portfolio .project-logo-image {
  width: min(300px, 100%);
}

@media (min-width: 1025px) {
  .project-card--hp .project-card-header {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    column-gap: var(--about-col-gap);
  }
}

.project-header-copy {
  display: flex;
  flex-direction: column;
  gap: calc(var(--v-unit) * 0.75);
  max-width: 720px;
  min-width: 0;
}

@media (min-width: 1201px) {
  .project-card--portfolio .project-header-copy {
    max-width: none;
  }
}

.project-meta {
  margin: 0;
  color: #ffffff;
  font-family: "acumin-pro-semi-condensed", "Acumin Pro SemiCondensed", sans-serif;
  font-size: var(--type-h3);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.project-summary {
  margin: 0;
  color: rgba(229, 232, 235, 0.9);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.7;
  font-weight: 400;
}

.project-meta-label {
  color: #f4b643;
  font-family: var(--font-body);
  font-size: var(--type-meta-label);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card-body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--project-media-columns, 2), minmax(0, 1fr));
  gap: var(--project-media-gap, 20px);
  align-items: stretch;
  padding-top: var(--project-body-pad-top, var(--about-row-gap));
  grid-auto-flow: row dense;
}

.project-card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(244, 182, 67, 0.25) 15%,
    rgba(244, 182, 67, 0.4) 50%,
    rgba(244, 182, 67, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.project-card-body--1up {
  --project-media-columns: 1;
}

.project-card-body--2up {
  --project-media-columns: 2;
}

.project-card-body--3up {
  --project-media-columns: 3;
}

.project-card-body--4up {
  --project-media-columns: 4;
}

.project-card-body--2x2 {
  --project-media-columns: 2;
}

.project-card-body--3x3 {
  --project-media-columns: 3;
}

.project-card-body--4x4 {
  --project-media-columns: 4;
}

.project-media {
  display: flex;
  min-width: 0;
  min-height: 0;
}

.project-media--span-col-2 {
  grid-column: span 2;
}

.project-media--span-col-3 {
  grid-column: span 3;
}

.project-media--span-col-4 {
  grid-column: span 4;
}

.project-media--span-row-2 {
  grid-row: span 2;
}

.project-media--span-row-3 {
  grid-row: span 3;
}

.project-media--span-row-4 {
  grid-row: span 4;
}

.project-media-image {
  width: 100%;
  min-height: 0;
  height: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid #222222;
  object-fit: cover;
}

.project-media--1x1 .project-media-image {
  aspect-ratio: 1 / 1;
}

.project-media--16x9 .project-media-image {
  aspect-ratio: 16 / 9;
}

.project-media--auto .project-media-image {
  min-height: 280px;
}

[data-project="hp"] .project-media-row--hp-top .project-media:first-child .project-media-image {
  object-position: center top;
}

[data-project="hp"] .project-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--about-row-gap);
}

[data-project="hp"] .project-media-row {
  display: grid;
  align-items: start;
  gap: 40px;
}

[data-project="hp"] .project-media-row--hp-top {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
}

[data-project="hp"] .project-media-row--hp-bottom {
  grid-template-columns: minmax(0, 1.326fr) minmax(0, 1.045fr) minmax(0, 0.909fr);
}

[data-project="hp"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="axistrace"] .project-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--about-row-gap);
}

[data-project="axistrace"] .project-media-row {
  display: grid;
  align-items: start;
  gap: 40px;
}

[data-project="axistrace"] .project-media-row--axistrace-top {
  grid-template-columns: minmax(0, 1.946fr) minmax(0, 1fr);
}

[data-project="axistrace"] .project-media-row--axistrace-bottom {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.946fr);
}

[data-project="axistrace"] .project-media {
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent;
  border-radius: 0;
  border: none;
}

[data-project="axistrace"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="sentient"] .project-card-body {
  grid-template-columns: minmax(0, 0.953fr) minmax(0, 0.576fr);
  gap: 40px;
  align-items: start;
}

[data-project="sentient"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="vectra"] .project-card-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.415fr);
  gap: 40px;
  align-items: start;
}

[data-project="vectra"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="chase"] .project-card-body {
  grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

[data-project="chase"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="turner-sports"] .project-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--about-row-gap);
}

[data-project="turner-sports"] .project-media-row {
  display: grid;
  align-items: start;
  gap: 40px;
}

[data-project="turner-sports"] .project-media-row--turner-top {
  grid-template-columns: minmax(0, 1.055fr) minmax(0, 1.146fr);
}

[data-project="turner-sports"] .project-media-row--turner-bottom {
  grid-template-columns: minmax(0, 1.246fr) minmax(0, 1.394fr) minmax(0, 1.427fr);
}

[data-project="turner-sports"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="kabam"] .project-card-body {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

[data-project="kabam"] .project-media-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

[data-project="kabam"] .project-media-group-children {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

[data-project="kabam"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="adp"] .project-card-body {
  grid-template-columns: minmax(0, 2.45fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

[data-project="adp"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="soteria"] .project-card-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

[data-project="soteria"] .project-media-row {
  display: grid;
  align-items: start;
  gap: 40px;
}

[data-project="soteria"] .project-media-row--soteria-top {
  grid-template-columns:
    minmax(0, calc(67.0286855% - 1.8174px))
    minmax(0, calc(32.9713145% - 38.1826px));
}

[data-project="soteria"] .project-media-row--soteria-middle {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

[data-project="soteria"] .project-media-row--soteria-bottom {
  grid-template-columns:
    minmax(0, calc(32.6717663% - 34.1092px))
    minmax(0, calc(67.3282337% - 5.8908px));
}

[data-project="soteria"] .project-media-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 0;
}

[data-project="soteria"] .project-media,
[data-project="soteria"] .project-media-stack {
  align-items: flex-start;
  justify-content: flex-start;
}

[data-project="soteria"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="coca-cola"] .project-card-body {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

[data-project="coca-cola"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="ixd-solutions"] .project-card-body {
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}

[data-project="ixd-solutions"] .project-media-stack--ixd {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 0;
}

[data-project="ixd-solutions"] .project-media-stack--ixd .project-media {
  min-height: 0;
}

[data-project="ixd-solutions"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

[data-project="colonial-life"] .project-card-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

[data-project="colonial-life"] .project-media-row {
  display: grid;
  align-items: stretch;
  gap: 40px;
}

[data-project="colonial-life"] .project-media-row--colonial-top {
  grid-template-columns: minmax(0, 2.9fr) minmax(0, 1fr);
}

[data-project="colonial-life"] .project-media-row--colonial-bottom {
  grid-template-columns: minmax(0, 0.957fr) minmax(0, 1.109fr) minmax(0, 1.144fr);
}

[data-project="colonial-life"] .project-media-stack--colonial-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

[data-project="colonial-life"] .project-media-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 809px) {
  [data-project="hp"] .project-card-body {
    gap: var(--gutter);
  }

  [data-project="hp"] .project-media-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="axistrace"] .project-card-body {
    gap: var(--gutter);
  }

  [data-project="axistrace"] .project-media-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="sentient"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="vectra"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="chase"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="chase"] .project-media--span-row-2 {
    grid-row: auto;
  }

  [data-project="turner-sports"] .project-card-body {
    gap: var(--gutter);
  }

  [data-project="turner-sports"] .project-media-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="kabam"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="kabam"] .project-media-group {
    gap: var(--gutter);
  }

  [data-project="kabam"] .project-media-group-children {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="adp"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="adp"] .project-media--span-row-2 {
    grid-row: auto;
  }

  [data-project="soteria"] .project-card-body,
  [data-project="soteria"] .project-media-row,
  [data-project="soteria"] .project-media-stack {
    gap: var(--gutter);
  }

  [data-project="soteria"] .project-media-row--soteria-top,
  [data-project="soteria"] .project-media-row--soteria-middle,
  [data-project="soteria"] .project-media-row--soteria-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-project="coca-cola"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="coca-cola"] .project-media--span-row-2 {
    grid-row: auto;
  }

  [data-project="ixd-solutions"] .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="ixd-solutions"] .project-media-stack--ixd {
    gap: var(--gutter);
  }

  [data-project="colonial-life"] .project-card-body {
    gap: var(--gutter);
  }

  [data-project="colonial-life"] .project-media-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gutter);
  }

  [data-project="colonial-life"] .project-media-stack--colonial-top {
    gap: var(--gutter);
  }

}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: var(--type-button);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.project-cta:hover .project-cta-arrow {
  transform: translateX(6px);
}

.project-cta:hover {
  color: #f9ca6e;
}

.project-support {
  margin: 0;
  padding: calc(var(--v-unit) * 2);
  border-radius: 12px;
  border: 1px solid #222222;
  background: rgba(4, 6, 8, 0.45);
  display: flex;
  align-items: flex-start;
}

.project-support-text {
  margin: 0;
  color: rgba(229, 232, 235, 0.78);
  font-family: var(--font-body);
  font-size: var(--type-caption);
  line-height: 1.5;
  font-weight: 400;
}

/* Breakpoint Map
   Desktop: >=1200
   Laptop: 1025-1199
   Tablet: 810-1024
   Mobile: <=809
*/

/* Laptop */
@media (max-width: 1199px) and (min-width: 1025px) {
  :root {
    --section-pad: clamp(64px, calc(4.1vw + 31px), 80px);
    --hero-height: clamp(640px, calc(33.333vw + 370px), 770px);
    --type-hero-title: 3.75rem;
    --type-hero-subhead: 1.6rem;
    --hero-copy-max-width: 1120px;
    --about-avatar-size: 200px;
  }

  .span-7 { grid-column: span 7; }
  .span-5 { grid-column: span 5; }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 810px) {
  :root {
    --section-pad: clamp(64px, calc(4.1vw + 31px), 80px);
    --hero-height: clamp(640px, calc(33.333vw + 370px), 770px);
    --type-hero-title: 3.375rem;
    --type-hero-subhead: 1.375rem;
    --hero-copy-max-width: min(92vw, 980px);
    --about-avatar-size: 200px;
  }

  .span-7 { grid-column: span 7; }
  .span-5 { grid-column: span 5; }
}

/* About Component Breakpoint */
@media (max-width: 1024px) and (min-width: 810px) {
  .about-card-grid,
  .contact-card-grid {
    gap: var(--about-row-gap) 40px;
    align-items: stretch;
  }

  .contact-card-grid {
    grid-template-columns: minmax(0, min(44vw, 430px)) minmax(0, 1fr);
    column-gap: 28px;
  }

  .about-copy,
  .contact-copy {
    gap: 20px;
  }

  .contact-copy {
    width: 100%;
  }

  .about-stats {
    min-height: 0;
  }

  .about-media,
  .contact-media {
    justify-content: flex-end;
    align-self: stretch;
  }

  .contact-media {
    inset: 0;
    min-width: 0;
  }

  .contact-image {
    width: 100%;
    height: 100%;
  }

}


@media (max-width: 1024px) {
  .project-card--portfolio {
    width: 100%;
  }

  .project-card-header {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .project-logo-wrap {
    min-height: auto;
  }
}

/* Tablet <=1024 + Mobile Nav */
@media (max-width: 1024px) {
  .nav-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .nav .span-3,
  .nav .span-9 {
    grid-column: auto;
  }

  .nav-identity-content {
    min-width: 0;
  }

  .nav-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-menu {
    position: relative;
    gap: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    min-width: 200px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #222222;
    background: rgba(10, 12, 14, 0.86);
    backdrop-filter: blur(16px);
    z-index: 1100;
  }

  .nav-menu.is-open .nav-menu-links {
    display: flex;
  }
}


/* Mobile */
@media (max-width: 809px) {
  :root {
    --section-pad: clamp(48px, calc(9.47vw - 12.6px), 64px);
    --hero-height: clamp(560px, calc(47.34vw + 257px), 640px);
    --type-hero-title: clamp(2.296875rem, calc(1.878rem + 2.096vw), 2.9375rem);
    --type-hero-subhead: clamp(1.0625rem, calc(0.96rem + 0.511vw), 1.21875rem);
    --hero-copy-max-width: clamp(288px, calc(100vw - 40px), 761px);
    --about-card-pad: 40px;
    --about-col-gap: 40px;
    --about-row-gap: 24px;
    --about-avatar-size: 200px;
  }

  .span-12,
  .span-9,
  .span-8,
  .span-7,
  .span-6,
  .span-5,
  .span-4,
  .span-3,
  .span-2 {
    grid-column: 1 / -1;
  }

  .project-card-body {
    row-gap: var(--gutter);
  }

  .nav-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav .span-3,
  .nav .span-9 {
    grid-column: auto;
  }

  .cp-sectionheader { margin-bottom: 10px; }

  .cp-sectionheader__label {
    font-size: 1rem;
  }

  .about-card,
  .contact-card,
  .resume-card {
    grid-column: 1 / -1;
    padding: var(--about-card-pad);
  }

  .projects-card {
    grid-column: 1 / -1;
    padding: var(--about-card-pad);
  }

  .about-card-grid,
  .contact-card-grid {
    display: flex;
    flex-direction: column;
    gap: var(--about-row-gap);
    align-items: start;
  }

  .about-copy,
  .contact-copy {
    gap: var(--about-row-gap);
  }

  .contact-copy {
    flex-basis: auto;
    max-width: none;
    padding-right: 0;
  }

  .about-stats {
    margin-top: 0;
    min-height: 0;
  }

  .about-media,
  .contact-media {
    justify-content: flex-start;
    align-self: start;
  }

  .about-media {
    position: static;
    width: 100%;
    pointer-events: auto;
  }

  .contact-media {
    grid-column: auto;
    grid-row: auto;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    align-self: auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .about-avatar {
    width: var(--about-avatar-size);
    min-width: var(--about-avatar-size);
    max-width: none;
    height: auto;
    aspect-ratio: auto;
  }

  .contact-form {
    gap: 20px;
    width: 100%;
  }

  .contact-input,
  .contact-submit {
    min-height: 54px;
  }

  .contact-textarea {
    min-height: 160px;
  }

  .contact-footer {
    width: 100%;
    gap: 32px;
    padding-top: 20px;
  }

  .contact-social {
    justify-content: flex-start;
    gap: 18px 24px;
  }

  .contact-image {
    width: 100%;
    height: 100%;
  }

  .about-stat {
    align-items: flex-start;
    text-align: left;
  }

  .project-card-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-support {
    padding: calc(var(--v-unit) * 1.5);
  }
  .cp-truststrip {
    --gap: 36px;
    --logo-scale: 0.6;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .cp-truststrip__window { overflow: visible; }
  .cp-truststrip__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ring-inner { animation: none; }
  .hero-text { animation: none; }
  .layer-eclipse,
  .layer-ring,
  .hero-copy-item {
    transform: none;
    transition: none;
    opacity: 1;
    will-change: auto;
  }
  .projects {
    transform: none;
    transition: none;
    will-change: auto;
  }
}





















