:root {
  color-scheme: dark;
  --bg: #050706;
  --panel: #09100d;
  --panel-2: #0c1512;
  --text: #f5f8f5;
  --soft: #dce8df;
  --muted: #92a69b;
  --dim: #64776d;
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(194, 210, 201, .24);
  --green: #4ade80;
  --amber: #f59e0b;
  --teal: #10b981;
  --cyan: #22d3ee;
  --rose: #e11d48;
  --violet: #6366f1;
  --shadow: 0 30px 80px rgba(0, 0, 0, .44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 42% at 22% 12%, rgba(16, 185, 129, .12), transparent 68%),
    radial-gradient(ellipse 58% 46% at 96% 4%, rgba(34, 211, 238, .09), transparent 62%),
    linear-gradient(100deg, #07100d 0%, #060907 44%, #10131b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

body::after {
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0) 0%, rgba(5, 7, 6, .72) 88%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .34) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

h1,
h2,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, .11);
  background: rgba(7, 13, 10, .76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner,
.hero-inner,
.section,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.primary-nav,
.card-title,
.card-tech,
.secondary-projects,
.logo-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  flex: none;
  gap: 10px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
}

.brand-logo {
  flex: none;
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(74, 222, 128, .24));
}

.brand-bracket {
  color: rgba(209, 250, 229, .72);
}

.primary-nav {
  gap: 18px;
  color: #8da195;
  font-size: 12px;
  font-weight: 600;
}

.primary-nav a {
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.primary-nav a:hover {
  color: #e5fff0;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dcfce7;
  border: 1px solid rgba(74, 222, 128, .38);
  border-radius: 999px;
  background: rgba(74, 222, 128, .08);
  padding: 6px 16px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  padding: 0;
}

.nav-icon svg {
  display: block;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, .22));
}

.logo-link,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  color: #d1e6d7;
  background: rgba(12, 18, 15, .68);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.logo-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, .22));
}

.icon-link svg {
  width: 18px;
  height: 18px;
}

.logo-link:hover,
.icon-link:hover {
  border-color: rgba(74, 222, 128, .42);
  background: rgba(74, 222, 128, .08);
  transform: translateY(-2px);
}

.nav-pill:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 62% at 72% 48%, rgba(74, 222, 128, .12), transparent 67%),
    radial-gradient(ellipse 34% 46% at 98% 18%, rgba(99, 102, 241, .13), transparent 70%),
    linear-gradient(90deg, rgba(5, 12, 9, .25), rgba(5, 7, 6, .05) 50%, rgba(12, 16, 26, .52));
}

.hero-inner {
  min-height: min(610px, calc(100svh - 72px));
  display: grid;
  grid-template-columns: minmax(520px, .98fr) minmax(430px, 1.02fr);
  align-items: center;
  gap: 28px;
  padding: 54px 0 38px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(54px, 4.7vw, 60px);
  font-weight: 560;
  line-height: 1.09;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span:last-child {
  padding-bottom: .07em;
  background: linear-gradient(92deg, #4ade80 4%, #2dd4bf 52%, #22d3ee 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #071108;
  background: linear-gradient(135deg, #f59e0b 0%, #fb923c 45%, #4ade80 100%);
  box-shadow: 0 16px 38px rgba(245, 158, 11, .24), inset 0 1px 0 rgba(255, 255, 255, .48);
}

.button-secondary {
  color: #d1e6d7;
  border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(12, 18, 15, .68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-secondary:hover {
  border-color: rgba(74, 222, 128, .42);
  background: rgba(74, 222, 128, .08);
}

.button-icon {
  width: 46px;
  min-width: 46px;
  padding: 0;
}

.button-icon svg {
  width: 19px;
  height: 19px;
}

.monolith-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
}

.monolith-aura {
  position: absolute;
  inset: 7% 4%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, rgba(74, 222, 128, .2), rgba(34, 211, 238, .07) 38%, transparent 68%),
    radial-gradient(ellipse at 54% 76%, rgba(245, 158, 11, .12), transparent 48%);
  filter: blur(4px);
}

.monolith-fallback-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .96;
  pointer-events: none;
  filter: drop-shadow(0 34px 55px rgba(0, 0, 0, .42));
  transition: opacity .28s ease, visibility .28s ease;
}

.monolith-fallback-image ~ .monolith-shell,
.monolith-fallback-image ~ .callout {
  opacity: 0;
  visibility: hidden;
}

.monolith-stage.is-webgl .monolith-fallback-image {
  opacity: 0;
  visibility: hidden;
}

.monolith-stage.is-webgl .callout {
  opacity: 1;
  visibility: visible;
}

.monolith-stage.is-webgl .callout span {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.monolith-stage.is-webgl .callout::before,
.monolith-stage.is-webgl .callout::after {
  display: none;
}

.monolith-shell,
.monolith-shell * {
  transform-style: preserve-3d;
}

.monolith-shell {
  position: relative;
  --mono-scale: 1;
  width: 380px;
  height: 420px;
  perspective: 1100px;
  transform: rotateX(58deg) rotateZ(-32deg) scale(var(--mono-scale));
  animation: breathe 5.8s ease-in-out infinite;
}

.floor-shadow {
  position: absolute;
  left: 50%;
  top: 75%;
  width: 300px;
  height: 120px;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(0deg) translateZ(-110px);
  background: radial-gradient(ellipse, rgba(74, 222, 128, .22), rgba(34, 211, 238, .08) 45%, transparent 70%);
  filter: blur(14px);
}

.mono-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 270px;
  height: 176px;
  margin: -88px 0 0 -135px;
  transform: translateZ(var(--z)) translateY(var(--y));
  transition: transform .7s cubic-bezier(.16, .84, .24, 1), filter .3s ease;
  filter: drop-shadow(0 18px 30px rgba(var(--ac), .08));
}

.monolith-stage:hover .mono-layer,
.monolith-stage:focus-within .mono-layer {
  transform: translateZ(calc(var(--z) + var(--lift))) translateY(var(--y));
}

.mono-layer-top {
  --z: 94px;
  --y: -36px;
  --lift: 28px;
}

.mono-layer-mid {
  --z: 28px;
  --y: 0px;
  --lift: 12px;
}

.mono-layer-low {
  --z: -38px;
  --y: 36px;
  --lift: -12px;
}

.layer-plate {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--ac), .48);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .15), transparent 28%),
    linear-gradient(155deg, rgba(var(--ac), .32), rgba(var(--ac), .08) 42%, rgba(8, 13, 12, .74) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -24px 38px rgba(0, 0, 0, .28),
    0 0 34px rgba(var(--ac), .18);
}

.layer-plate::before,
.layer-plate::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
}

.layer-plate::after {
  inset: auto 18px 20px 18px;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--ac), .9), transparent);
  box-shadow: 0 0 14px rgba(var(--ac), .7);
}

.module {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(var(--ac), .55);
  border-radius: 7px;
  background:
    linear-gradient(160deg, rgba(var(--ac), .2), rgba(7, 12, 11, .9)),
    rgba(7, 12, 11, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 22px rgba(var(--ac), .18);
  color: #f8fff9;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.module-a { left: 34px; top: 34px; }
.module-b { right: 34px; top: 88px; }
.module-c { left: 28px; top: 86px; }
.module-d { right: 28px; top: 36px; min-width: 82px; }
.module-e { left: 42px; top: 42px; }
.module-f { right: 32px; top: 96px; min-width: 82px; }

.trace {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--ac), .92), transparent);
  box-shadow: 0 0 12px rgba(var(--ac), .72);
  animation: circuit 2.8s linear infinite;
}

.trace-a { left: 78px; top: 86px; width: 112px; }
.trace-b { left: 134px; top: 42px; width: 74px; transform: rotate(90deg); animation-delay: .6s; }
.trace-c { left: 66px; top: 54px; width: 128px; animation-delay: .3s; }
.trace-d { left: 120px; top: 112px; width: 88px; transform: rotate(90deg); animation-delay: 1.1s; }
.trace-e { left: 92px; top: 82px; width: 100px; animation-delay: .8s; }
.trace-f { left: 126px; top: 44px; width: 76px; transform: rotate(90deg); animation-delay: 1.5s; }

.rail {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 246px;
  margin: -122px 0 0 -4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(74, 222, 128, .2), rgba(34, 211, 238, .24));
  box-shadow: 0 0 20px rgba(74, 222, 128, .16);
  opacity: .62;
}

.rail-left { transform: translate3d(-158px, 22px, 16px); }
.rail-right { transform: translate3d(158px, -22px, 16px); }
.rail-back { transform: translate3d(0, -128px, -44px); opacity: .38; }

.callout {
  position: absolute;
  z-index: 3;
  color: #d9fff0;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0;
  animation: calloutPulse 3.4s ease-in-out infinite;
}

.callout span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 999px;
  background: rgba(7, 12, 11, .72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.callout::before {
  content: "";
  position: absolute;
  top: 15px;
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 222, 128, .05), rgba(74, 222, 128, .75), rgba(34, 211, 238, .12));
  box-shadow: 0 0 10px rgba(74, 222, 128, .52);
}

.callout::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
}

.callout-events {
  right: 4%;
  bottom: 15%;
  color: #ffe7b5;
  animation-delay: 2.1s;
}

.callout-events::before {
  right: 100%;
  width: 106px;
  background: linear-gradient(90deg, rgba(245, 158, 11, .08), rgba(245, 158, 11, .78), rgba(245, 158, 11, .06));
  box-shadow: 0 0 10px rgba(245, 158, 11, .52);
}

.callout-events::after {
  right: calc(100% + 102px);
  background: var(--amber);
  box-shadow: 0 0 13px var(--amber);
}

.callout-skills {
  left: 6%;
  top: 18%;
  color: #d4fbff;
  animation-delay: .3s;
}

.callout-skills::before {
  left: 100%;
  width: 124px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .06), rgba(34, 211, 238, .78), rgba(34, 211, 238, .08));
  box-shadow: 0 0 10px rgba(34, 211, 238, .5);
}

.callout-skills::after {
  left: calc(100% + 120px);
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.callout-modules {
  left: 2%;
  top: 46%;
  animation-delay: .8s;
}

.callout-modules::before {
  left: 100%;
  width: 96px;
}

.callout-modules::after {
  left: calc(100% + 92px);
}

.callout-composers {
  right: 5%;
  top: 52%;
  animation-delay: 1.2s;
}

.callout-composers::before {
  right: 100%;
  width: 104px;
}

.callout-composers::after {
  right: calc(100% + 100px);
}

.callout-api {
  left: 8%;
  bottom: 22%;
  color: #ffe7b5;
  animation-delay: 1.7s;
}

.callout-api::before {
  left: 100%;
  width: 116px;
  background: linear-gradient(90deg, rgba(245, 158, 11, .06), rgba(245, 158, 11, .78), rgba(245, 158, 11, .08));
  box-shadow: 0 0 10px rgba(245, 158, 11, .52);
}

.callout-api::after {
  left: calc(100% + 112px);
  background: var(--amber);
  box-shadow: 0 0 13px var(--amber);
}

.callout-memory {
  right: 7%;
  top: 25%;
  color: #d4fbff;
  animation-delay: .5s;
}

.callout-memory::before {
  right: 100%;
  width: 106px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .08), rgba(34, 211, 238, .78), rgba(34, 211, 238, .06));
  box-shadow: 0 0 10px rgba(34, 211, 238, .5);
}

.callout-memory::after {
  right: calc(100% + 102px);
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 12px #4ade80;
  opacity: .58;
  animation: floaty 3.4s ease-in-out infinite alternate;
}

.spark-one { left: 16%; top: 20%; }
.spark-two { left: 12%; bottom: 24%; animation-delay: .8s; }
.spark-three { right: 15%; top: 18%; animation-delay: 1.35s; }
.spark-four { right: 20%; bottom: 26%; background: #67e8f9; box-shadow: 0 0 12px #22d3ee; animation-delay: .45s; }

.section {
  padding: 48px 0;
  border-top: 1px solid rgba(148, 163, 184, .08);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

h2 {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 38px;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0 auto;
  max-width: 650px;
  color: #87998f;
  font-size: 15px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 19, 17, .94), rgba(7, 11, 10, .96)) padding-box,
    linear-gradient(180deg, rgba(var(--ac), .58), rgba(var(--ac), .05) 76%) border-box;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.project-card:hover,
.project-card:focus-within,
.project-card[data-monolith-active="true"] {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(0, 0, 0, .45), 0 0 32px rgba(var(--ac), .16);
}

.project-card > a {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 0;
}

.card-title {
  min-width: 0;
  gap: 10px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 650;
}

.card-title span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.glyph-chip {
  flex: none;
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--ac), .72);
  border-radius: 8px;
  background: conic-gradient(from 210deg, rgba(var(--ac), .72), rgba(var(--ac), .24), rgba(var(--ac), .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 14px rgba(var(--ac), .35);
  color: #fff;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-shadow: 0 0 8px rgba(var(--ac), .9);
}

.logo-chip {
  padding: 4px;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .2), transparent 44%),
    rgba(5, 10, 9, .78);
}

.logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(var(--ac), .55));
}

.card-copy {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.card-tech {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: auto 18px 16px;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.card-tech span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(var(--ac), .24);
  border-radius: 999px;
  background: rgba(var(--ac), .08);
  color: rgba(222, 246, 232, .76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.all-projects:hover,
.site-footer a:hover {
  color: var(--green);
}

.secondary-projects {
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 14px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 999px;
  background: rgba(10, 15, 13, .72);
  color: #b9d8c2;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.project-chip span {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
}

.project-chip.chip-blue span {
  background: #60a5fa;
}

.project-chip.chip-pink span {
  background: #f472b6;
}

.all-projects {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.production-section {
  padding-top: 40px;
  padding-bottom: 42px;
  text-align: center;
}

.production-section > p {
  margin-bottom: 22px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-strip {
  justify-content: center;
  gap: 28px 44px;
  flex-wrap: wrap;
}

.client-logo {
  min-width: 98px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9eb3a6;
  opacity: .82;
  filter: grayscale(.35);
  transition: opacity .22s ease, filter .22s ease, transform .22s ease;
}

.client-logo:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
}

.client-logo img {
  width: auto;
  max-width: 168px;
  max-height: 38px;
  object-fit: contain;
}

.client-az {
  gap: 9px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.client-az img {
  width: 36px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4);
}

.wordmark-odido {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
}

.client-tirrenia img {
  max-height: 39px;
}

.site-footer {
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(148, 163, 184, .1);
  color: #7d9486;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  max-width: 620px;
}

.site-footer span,
.site-footer a {
  color: #c8e6d0;
}

@keyframes breathe {
  0%, 100% { transform: rotateX(58deg) rotateZ(-32deg) translateY(0) scale(var(--mono-scale)); }
  50% { transform: rotateX(58deg) rotateZ(-32deg) translateY(-8px) scale(calc(var(--mono-scale) * 1.015)); }
}

@keyframes circuit {
  0% { opacity: .28; clip-path: inset(0 100% 0 0); }
  38% { opacity: .94; clip-path: inset(0 0 0 0); }
  70%, 100% { opacity: .34; clip-path: inset(0 0 0 100%); }
}

@keyframes calloutPulse {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}

@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 48px;
    text-align: center;
  }

  .hero-copy {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-sub {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .monolith-stage {
    min-height: 450px;
  }

  h1 {
    font-size: 58px;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .hero-inner,
  .section,
  .site-footer {
    width: min(1180px, calc(100% - 32px));
  }

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

  .primary-nav {
    gap: 11px;
  }

  .primary-nav span {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: auto;
    padding: 46px 0 44px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .monolith-stage {
    min-height: 420px;
  }

  .monolith-shell {
    width: 320px;
    height: 360px;
    --mono-scale: .86;
  }

  .mono-layer {
    width: 238px;
    height: 154px;
    margin: -77px 0 0 -119px;
  }

  .callout {
    font-size: 10px;
  }

  .callout-skills { left: 0; top: 15%; }
  .callout-memory { right: 0; top: 22%; }
  .callout-modules { left: 0; top: 47%; }
  .callout-composers { right: 0; top: 54%; }
  .callout-api { left: 0; bottom: 21%; }
  .callout-events { right: 0; bottom: 14%; }

  .callout::before {
    width: 66px;
  }

  .callout-skills::after,
  .callout-modules::after,
  .callout-api::after {
    left: calc(100% + 62px);
  }

  .callout-memory::after,
  .callout-composers::after,
  .callout-events::after {
    right: calc(100% + 62px);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card:nth-child(4) {
    grid-column: auto;
  }

  .project-card:last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .section,
  .site-footer {
    width: min(1180px, calc(100% - 28px));
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 13px 0 11px;
    gap: 10px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .primary-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 11px;
  }

  .nav-pill {
    padding: 5px 12px;
  }

  .hero-inner {
    padding: 42px 0 38px;
  }

  h1 {
    font-size: 39px;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-sub br {
    display: none;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    width: min(100%, 240px);
  }

  .monolith-stage {
    min-height: 360px;
    width: 100%;
  }

  .monolith-shell {
    width: 270px;
    height: 330px;
    --mono-scale: .72;
  }

  .mono-layer {
    width: 220px;
    height: 142px;
    margin: -71px 0 0 -110px;
  }

  .module {
    min-width: 58px;
    height: 30px;
    font-size: 9px;
  }

  .module-d,
  .module-f {
    min-width: 68px;
  }

  .callout {
    font-size: 9px;
    letter-spacing: 0;
  }

  .callout span {
    min-height: 26px;
    padding: 0 9px;
  }

  .callout::before,
  .callout::after {
    display: none;
  }

  .callout-skills { left: 5%; top: 15%; }
  .callout-memory { right: 5%; top: 18%; }
  .callout-modules { left: 5%; top: 44%; }
  .callout-composers { right: 5%; top: 50%; }
  .callout-api { left: 6%; bottom: 18%; }
  .callout-events { right: 6%; bottom: 12%; }

  .section {
    padding: 54px 0;
  }

  h2 {
    font-size: 30px;
  }

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

  .project-card,
  .project-card:last-child {
    grid-column: auto;
  }

  .project-card {
    min-height: 0;
  }

  .project-card > a {
    padding: 18px 18px 0;
  }

  .card-tech {
    margin: 16px 18px 17px;
  }

  .logo-strip {
    gap: 16px 22px;
  }

  .client-logo {
    min-width: 124px;
  }

  .site-footer {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.project-detail {
  padding: 86px 0 72px;
}

.project-detail .section-heading {
  align-items: flex-start;
  max-width: 760px;
  margin: 0 0 36px;
  text-align: left;
}

.project-detail h1 {
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.project-meta span {
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 700;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.project-detail-panel {
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 8px;
  background: rgba(9, 16, 13, .72);
  box-shadow: var(--shadow);
  padding: 24px;
}

.project-detail-panel h2,
.project-detail-panel h3 {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 18px;
  letter-spacing: 0;
}

.project-detail-panel p {
  color: var(--muted);
}

.project-detail-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.project-detail-panel li + li {
  margin-top: 8px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: rgba(12, 18, 15, .62);
}

.back-link:hover {
  border-color: rgba(74, 222, 128, .42);
  background: rgba(74, 222, 128, .08);
  color: var(--soft);
}

.back-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, .22));
}

@media (max-width: 820px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
  }
}
