:root {
  --bg: #070707;
  --bg-soft: #0c0c0b;
  --text: #f2f0e9;
  --muted: rgba(242, 240, 233, 0.56);
  --muted-strong: rgba(242, 240, 233, 0.74);
  --line: rgba(242, 240, 233, 0.12);
  --line-soft: rgba(242, 240, 233, 0.07);
  --lime: #c9f158;
  --lime-soft: rgba(201, 241, 88, 0.12);
  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

::selection {
  background: var(--lime);
  color: #080808;
}

:focus-visible {
  outline: 1px solid var(--lime);
  outline-offset: 5px;
  border-radius: 2px;
}

.container {
  width: min(1320px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--gutter);
  z-index: 10000;
  padding: 0.9rem 1.3rem;
  background: var(--lime);
  color: #080808;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Preloader ---------- */

.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: #070707;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 0 0);
}

.js .preloader {
  display: flex;
}

.preloader.is-done {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: none;
}

.preloader-inner {
  width: min(420px, 72vw);
}

.preloader-mark {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 2.4rem;
}

.preloader-mark span {
  color: var(--lime);
}

.preloader-bar {
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--lime);
  transition: width 0.25s linear;
}

.preloader-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cursor ---------- */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 241, 88, 0.45);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), opacity 0.3s ease;
}

.cursor-ring.is-hover {
  width: 62px;
  height: 62px;
  background: rgba(201, 241, 88, 0.07);
  border-color: rgba(201, 241, 88, 0.9);
}

@media (pointer: fine) and (min-width: 1024px) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor [role="button"] {
    cursor: none;
  }

  body.has-cursor input,
  body.has-cursor textarea,
  body.has-cursor select {
    cursor: auto;
  }
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 120;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem var(--gutter);
  transition: padding 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding-block: 0.85rem;
  background: rgba(7, 7, 7, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  justify-self: start;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: border-color 0.4s ease, color 0.4s ease;
}

.brand-mark-text {
  white-space: nowrap;
}

.brand-mark-text span {
  color: var(--lime);
}

.brand:hover .brand-mark {
  border-color: rgba(201, 241, 88, 0.55);
}

.brand-name {
  font-size: 0.62rem;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.6rem);
  justify-self: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}

.nav-link span {
  font-size: 0.55rem;
  color: var(--lime);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover span,
.nav-link.active span {
  opacity: 1;
  transform: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.header-cta:hover {
  border-color: rgba(201, 241, 88, 0.5);
  background: rgba(201, 241, 88, 0.06);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(201, 241, 88, 0.55);
  animation: pulse 2.4s infinite;
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 241, 88, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(201, 241, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 241, 88, 0); }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  z-index: 110;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 1px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, -4px);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 4px);
}

.menu-toggle.is-open span:first-child {
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: radial-gradient(circle at 80% 0%, rgba(201, 241, 88, 0.09), transparent 45%), #070707;
  clip-path: circle(0% at calc(100% - 2.4rem) 2.4rem);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0.8s;
}

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 2.4rem) 2.4rem);
  visibility: visible;
}

.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--gutter) 3rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.7s var(--ease), color 0.3s ease;
}

.mobile-menu.is-open .mobile-link {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-link:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: 0.36s; }

.mobile-link span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.mobile-link:hover {
  color: var(--lime);
}

.mobile-menu-foot {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.4s, transform 0.7s var(--ease) 0.4s;
}

.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
  transform: none;
}

.mobile-menu-foot a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: #070707;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 72% 42%, rgba(201, 241, 88, 0.08), transparent 46%);
}

.scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.68) 38%, rgba(7, 7, 7, 0) 72%),
    linear-gradient(0deg, #070707 0%, rgba(7, 7, 7, 0) 26%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-top: clamp(7rem, 13vh, 10rem);
  padding-bottom: 2.2rem;
  min-height: 100svh;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-strong);
  background: rgba(7, 7, 7, 0.3);
  backdrop-filter: blur(8px);
}

.hero-coords {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin-top: clamp(2rem, 8vh, 6.5rem);
  font-size: clamp(4.4rem, 14vw, 12.5rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-right: 0.08em;
}

.hero-title .line-inner {
  display: inline-block;
  transform: translateY(0);
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-title .accent-dot {
  color: var(--lime);
}

.hero-lower {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.7rem;
  margin-top: clamp(1.6rem, 4.5vh, 3rem);
  max-width: 560px;
}

.hero-lede {
  max-width: 460px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero-lede strong {
  color: var(--text);
  font-weight: 500;
}

.hero-lede {
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  will-change: transform;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--lime);
  color: #0a0a06;
}

.btn-primary:hover {
  background: #dcff85;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(201, 241, 88, 0.55);
  color: var(--lime);
}

.hero-foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-disciplines {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-disciplines span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-disciplines span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.7;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-line {
  position: relative;
  width: 64px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  45%, 55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* hero intro (only when JS active) */

.js .hero-title .line-inner {
  transform: translateY(112%);
}

.js .hero-top,
.js .hero-lower,
.js .hero-foot {
  opacity: 0;
  transform: translateY(18px);
}

body.loaded .hero-title .line-inner {
  transform: translateY(0);
  transition: transform 1.15s var(--ease);
}

body.loaded .hero-title .line:nth-child(2) .line-inner {
  transition-delay: 0.1s;
}

body.loaded .hero-top {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease 0.25s, transform 0.9s var(--ease) 0.25s;
}

body.loaded .hero-lower {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 0.55s, transform 1s var(--ease) 0.55s;
}

body.loaded .hero-foot {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease 0.75s, transform 1s var(--ease) 0.75s;
}

/* ---------- Ticker ---------- */

.ticker {
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  padding-block: 1.05rem;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
}

.ticker-group span {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-group i {
  color: var(--lime);
  font-style: normal;
  font-size: 0.7rem;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Section basics ---------- */

.section {
  position: relative;
  padding-block: clamp(5.5rem, 11vw, 10rem);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-index {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.section-title {
  font-size: clamp(2.4rem, 5.4vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--lime);
  letter-spacing: -0.01em;
}

.section-side {
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* reveal utility */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.95s var(--ease);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- About ---------- */

.about {
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 241, 88, 0.03), transparent 38%),
    var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.62fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}

.about-main > .section-title {
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.about-copy {
  max-width: 620px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1.15rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-copy .lead {
  color: var(--text);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}

.pillar span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 0.85rem;
}

.pillar h3 {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.profile-card {
  position: sticky;
  top: 110px;
  min-height: 540px;
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 12%, rgba(201, 241, 88, 0.07), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(201, 241, 88, 0.1),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.profile-card:hover::after {
  opacity: 1;
}

.profile-orbit {
  position: absolute;
  top: 4.6rem;
  left: 50%;
  width: min(280px, 78%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px dashed rgba(201, 241, 88, 0.22);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.profile-orbit span {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(201, 241, 88, 0.7);
}

@keyframes spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.profile-monogram {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 8vw, 7.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 1.1rem;
  text-align: center;
}

.profile-monogram span {
  color: var(--lime);
}

.profile-rows {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 0.4rem;
}

.profile-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.profile-rows > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-rows span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-rows strong {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted-strong);
  text-align: right;
}

.profile-rows strong.available {
  color: var(--lime);
}

.profile-rows strong.available::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 0.45rem;
  vertical-align: middle;
}

/* ---------- Expertise ---------- */

.expertise::before {
  content: "";
  position: absolute;
  top: 15%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 241, 88, 0.05), transparent 65%);
  pointer-events: none;
}

.expertise-top,
.work-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: clamp(1.5rem, 2.6vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, background 0.4s ease;
  will-change: transform;
}

.service::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201, 241, 88, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service:hover {
  border-color: rgba(201, 241, 88, 0.32);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
}

.service:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-num {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--lime);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service:hover .service-icon {
  background: rgba(201, 241, 88, 0.08);
  border-color: rgba(201, 241, 88, 0.4);
}

.service h3 {
  margin-top: clamp(2rem, 3.5vw, 2.8rem);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.service p {
  margin-top: 0.75rem;
  max-width: 42ch;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.8rem;
}

.tags li {
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Work ---------- */

.work {
  background:
    radial-gradient(circle at 85% 40%, rgba(201, 241, 88, 0.035), transparent 40%),
    var(--bg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.2rem, 4vw, 3.4rem) clamp(1.2rem, 2.4vw, 2rem);
}

.project {
  cursor: pointer;
  outline-offset: 6px;
}

.project-wide {
  grid-column: 1 / -1;
}

.project-art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.7s var(--ease), border-color 0.4s ease;
}

.project-wide .project-art {
  aspect-ratio: 21 / 9;
}

.project:hover .project-art {
  transform: translateY(-5px);
  border-color: rgba(201, 241, 88, 0.22);
}

.art-kicker,
.art-tag {
  position: absolute;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.art-kicker {
  top: 1.4rem;
  left: 1.4rem;
}

.art-tag {
  bottom: 1.4rem;
  left: 1.4rem;
  opacity: 0.65;
}

/* Atlas */

.art-atlas {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 26%, #efe9db 0%, #ded7c7 42%, #c9c1ae 100%);
  color: #14140f;
}

.art-atlas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 40%);
  opacity: 0.5;
}

.art-atlas .art-letter {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(7rem, 15vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  transition: transform 0.9s var(--ease);
}

.art-atlas .art-ring {
  position: absolute;
  width: min(52%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 20, 15, 0.28);
  border-radius: 50%;
  transition: transform 1s var(--ease);
}

.project:hover .art-atlas .art-letter {
  transform: rotate(-4deg) scale(1.04);
}

.project:hover .art-atlas .art-ring {
  transform: scale(1.12);
}

/* Northline */

.art-northline {
  display: grid;
  place-items: center;
  background: #0d0f0c;
  color: var(--lime);
}

.art-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 241, 88, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 241, 88, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, #000 10%, transparent 78%);
}

.art-northline .art-letter {
  position: relative;
  z-index: 1;
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 0.8;
  font-weight: 300;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 241, 88, 0.65);
  transition: color 0.7s ease, transform 0.9s var(--ease);
}

.project:hover .art-northline .art-letter {
  color: rgba(201, 241, 88, 0.1);
  transform: scale(1.03);
}

.art-northline .art-kicker,
.art-northline .art-tag {
  color: rgba(242, 240, 233, 0.7);
}

/* Serein */

.art-serein {
  background:
    radial-gradient(circle at 28% 78%, rgba(201, 241, 88, 0.28), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(201, 241, 88, 0.1), transparent 34%),
    #0a0e09;
  color: rgba(242, 240, 233, 0.72);
}

.art-serein .art-glow {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  left: 8%;
  bottom: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 241, 88, 0.35), transparent 68%);
  filter: blur(18px);
}

.art-bars {
  position: absolute;
  right: 8%;
  bottom: 13%;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 46%;
}

.art-bars i {
  display: block;
  width: clamp(14px, 2.2vw, 26px);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, rgba(201, 241, 88, 0.55), rgba(201, 241, 88, 0.06));
  transform-origin: bottom;
  transition: transform 0.8s var(--ease);
}

.art-bars i:nth-child(1) { height: 38%; }
.art-bars i:nth-child(2) { height: 62%; }
.art-bars i:nth-child(3) { height: 50%; }
.art-bars i:nth-child(4) { height: 84%; }
.art-bars i:nth-child(5) { height: 100%; background: linear-gradient(to top, var(--lime), rgba(201, 241, 88, 0.15)); }

.project:hover .art-bars i:nth-child(1) { transform: scaleY(1.4); }
.project:hover .art-bars i:nth-child(2) { transform: scaleY(1.15); }
.project:hover .art-bars i:nth-child(3) { transform: scaleY(1.3); }
.project:hover .art-bars i:nth-child(4) { transform: scaleY(1.08); }

.project-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.1rem;
}

.project-meta h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.project-meta p {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.project-year {
  margin-left: auto;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.project-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.project-arrow svg {
  width: 16px;
  height: 16px;
}

.project:hover .project-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: #0a0a06;
}

.work-note {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.work-note a {
  color: var(--text);
  border-bottom: 1px solid rgba(201, 241, 88, 0.5);
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.work-note a:hover {
  color: var(--lime);
}

/* ---------- Contact ---------- */

.contact {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 15% 85%, rgba(201, 241, 88, 0.05), transparent 38%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact-title {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.contact-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--lime);
}

.contact-lede {
  max-width: 440px;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-bottom: 0.35rem;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.email-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease);
}

.email-link:hover {
  color: var(--lime);
  border-color: rgba(201, 241, 88, 0.5);
}

.email-link:hover svg {
  transform: translate(3px, -3px);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3rem;
  margin-top: 2.4rem;
}

.contact-details span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-details strong {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted-strong);
}

.socials {
  display: flex;
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.social-link {
  position: relative;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.social-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.social-link:hover {
  color: var(--text);
}

.social-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006));
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23888' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.form-field select option {
  background: #111;
  color: var(--text);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(242, 240, 233, 0.3);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(201, 241, 88, 0.6);
  background: rgba(201, 241, 88, 0.035);
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: rgba(255, 106, 88, 0.65);
}

.btn-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.form-note {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form-note.success {
  color: var(--lime);
}

.form-note.error {
  color: #ff8a7a;
}

.form-note a {
  color: inherit;
  text-decoration: underline;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.8rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-mark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.footer-mark span {
  color: var(--lime);
}

.footer-inner p {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

.back-top {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.3s ease;
}

.back-top span {
  color: var(--lime);
}

.back-top:hover {
  color: var(--text);
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  background: #0b0b0a;
  border: 1px solid var(--line);
  border-radius: 24px;
  transform: translateY(28px) scale(0.985);
  transition: transform 0.5s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 241, 88, 0.35) transparent;
}

.modal.is-open .modal-panel {
  transform: none;
}

.modal-panel::-webkit-scrollbar {
  width: 6px;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: rgba(201, 241, 88, 0.3);
  border-radius: 999px;
}

.modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem -58px 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(10, 10, 9, 0.72);
  backdrop-filter: blur(8px);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover {
  background: var(--lime);
  color: #0a0a06;
  border-color: var(--lime);
}

.modal-art {
  position: relative;
  height: clamp(200px, 30vw, 300px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.modal-art .art-letter {
  font-size: clamp(6rem, 13vw, 10rem);
}

.modal-art.art-jarvis .art-core {
  position: absolute;
  top: 50%;
  left: 13%;
  width: clamp(82px, 11vw, 108px);
  transform: translateY(-50%);
}

.modal-art.art-jarvis .art-wave {
  left: auto;
  right: 9%;
  bottom: 50%;
  width: 36%;
  transform: translateY(50%);
}

.modal-art .art-browser {
  height: 40%;
}

.modal-body {
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.modal-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.6rem;
}

.modal-body h3 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  padding-right: 2.5rem;
}

.modal-summary {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-block: 1.9rem;
  padding-block: 1.2rem;
  border-block: 1px solid var(--line-soft);
}

.modal-facts span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.modal-facts strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted-strong);
  line-height: 1.5;
}

.modal-body h4 {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.modal-points {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.modal-points li {
  margin-bottom: 0.45rem;
  padding-left: 0.3rem;
}

.modal-points li::marker {
  color: var(--lime);
}

.modal-cta {
  margin-top: 1.7rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 600;
  padding: 0.8rem 1.25rem;
  background: var(--lime);
  color: #0a0a06;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
    gap: 3rem;
  }

  .profile-card {
    min-height: 500px;
  }

  .contact-grid {
    gap: 4rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-shade {
    background:
      radial-gradient(ellipse 85% 55% at 22% 60%, rgba(7, 7, 7, 0.82) 0%, rgba(7, 7, 7, 0.4) 48%, transparent 74%),
      linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.2) 35%, rgba(7, 7, 7, 0.72) 72%, #070707 100%),
      linear-gradient(90deg, rgba(7, 7, 7, 0.55), transparent 70%);
  }

  .scene {
    opacity: 0.5;
  }

  .hero-inner {
    padding-top: 8rem;
  }

  .hero-title {
    font-size: clamp(4.2rem, 16vw, 9rem);
    margin-top: clamp(2rem, 7vh, 4rem);
  }

  .hero-lower {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    margin-top: 2rem;
  }

  .hero-lede {
    max-width: 520px;
  }

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

  .profile-card {
    position: relative;
    top: 0;
    min-height: 480px;
    max-width: 560px;
  }

  .section-title br {
    display: initial;
  }

  .expertise-top,
  .work-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .section-side {
    max-width: 480px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-lede {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .hero-title {
    font-size: clamp(3.8rem, 17.5vw, 7rem);
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-foot {
    margin-top: auto;
  }

  .hero-disciplines {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .scroll-cue {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

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

  .service {
    min-height: 0;
    padding: 1.5rem;
  }

  .service h3 {
    margin-top: 1.8rem;
  }

  .tags {
    padding-top: 1.5rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .project-wide {
    grid-column: auto;
  }

  .project-art,
  .project-wide .project-art {
    aspect-ratio: 4 / 3;
  }

  .art-atlas .art-letter {
    font-size: 7rem;
  }

  .art-northline .art-letter {
    font-size: 7.5rem;
  }

  .art-kicker {
    top: 1rem;
    left: 1rem;
  }

  .art-tag {
    bottom: 1rem;
    left: 1rem;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .project-meta > div {
    flex: 1;
  }

  .project-year {
    margin-left: 0;
    order: 3;
  }

  .project-arrow {
    order: 4;
  }

  .contact-details {
    gap: 1.4rem 2rem;
  }

  .modal {
    padding: 1rem;
  }

  .modal-panel {
    max-height: 92svh;
  }

  .modal-facts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.9rem;
    text-align: center;
  }

  .footer-inner p {
    order: 3;
  }
}

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .scene {
    opacity: 0.4;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    padding-block: 1.1rem;
  }

  .site-header.scrolled {
    padding-block: 0.8rem;
  }

  .hero-inner {
    padding-top: 7rem;
    padding-bottom: 1.5rem;
  }

  .hero-coords {
    display: none;
  }

  .hero-title {
    font-size: clamp(3.3rem, 19vw, 5.6rem);
    line-height: 0.82;
  }

  .hero-lower {
    margin-top: 1.8rem;
  }

  .hero-lede {
    font-size: 0.94rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    padding: 0.95rem 1rem;
    font-size: 0.66rem;
  }

  .hero-foot {
    margin-top: auto;
  }

  .hero-disciplines {
    font-size: 0.58rem;
    column-gap: 1.1rem;
  }

  .ticker {
    padding-block: 0.9rem;
  }

  .section {
    padding-block: 4.5rem;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .about-copy p {
    font-size: 0.92rem;
  }

  .profile-card {
    min-height: 430px;
    padding: 1.5rem;
  }

  .profile-orbit {
    top: 3.4rem;
  }

  .profile-monogram {
    margin-top: 0.5rem;
  }

  .profile-rows > div {
    padding: 0.62rem 0;
  }

  .profile-rows span {
    font-size: 0.58rem;
  }

  .profile-rows strong {
    font-size: 0.72rem;
  }

  .expertise-top,
  .work-top {
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 1.3rem;
  }

  .contact-title {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .email-link {
    font-size: 1rem;
    word-break: break-word;
  }

  .socials {
    gap: 1rem;
  }

  .modal {
    padding: 0.75rem;
  }

  .modal-body {
    padding: 1.4rem;
  }

  .modal-close {
    width: 38px;
    height: 38px;
    top: 0.75rem;
    right: 0.75rem;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal,
  .js .hero-title .line-inner,
  .js .hero-top,
  .js .hero-lower,
  .js .hero-foot {
    opacity: 1;
    transform: none;
  }

  .scroll-line::after {
    display: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
/* ============================================================
   AI systems refresh â€” profile, featured work, project index
   ============================================================ */

/* ---------- Profile card ---------- */

.profile-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 1.3rem;
  padding: 1.6rem;
}

.profile-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.profile-eyebrow .status-dot {
  width: 5px;
  height: 5px;
}

.profile-proof {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0 0.1rem;
  overflow: hidden;
}

.profile-proof-num {
  font-family: var(--font-serif);
  font-size: clamp(5.4rem, 8vw, 7rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--lime);
}

.profile-proof p {
  font-size: 0.66rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-proof-mark {
  position: absolute;
  right: -0.75rem;
  bottom: -1.9rem;
  font-family: var(--font-serif);
  font-size: 8.5rem;
  line-height: 1;
  color: rgba(242, 240, 233, 0.04);
  pointer-events: none;
}

.profile-proof-mark span {
  color: rgba(201, 241, 88, 0.13);
}

.profile-rows {
  margin-top: auto;
}

/* ---------- Featured systems ---------- */

.work-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

.project-feature .project-art {
  aspect-ratio: 4 / 3;
}

.project-feature .project-meta {
  align-items: flex-start;
}

.project-feature .project-meta h3 {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.3;
  max-width: 34ch;
}

.project-feature .project-meta p {
  margin-top: 0.35rem;
}

.project-feature .project-year {
  padding-top: 0.25rem;
}

.project-feature .project-arrow {
  margin-top: 0.1rem;
}

/* ---------- JARVIS artwork ---------- */

.art-jarvis {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(201, 241, 88, 0.18), transparent 32%),
    radial-gradient(circle at 84% 4%, rgba(201, 241, 88, 0.09), transparent 42%),
    #080a07;
  color: var(--text);
}

.art-jarvis::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 241, 88, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 241, 88, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 48%, #000 8%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 8%, transparent 78%);
}

.art-hud {
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(201, 241, 88, 0.13);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

.art-hud::before,
.art-hud::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(201, 241, 88, 0.75);
  border-style: solid;
}

.art-hud::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.art-hud::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.art-core {
  position: relative;
  z-index: 1;
  width: clamp(106px, 23%, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 34% 28%,
    #f6ffd8 0%,
    var(--lime) 17%,
    rgba(201, 241, 88, 0.34) 48%,
    rgba(201, 241, 88, 0) 72%
  );
  box-shadow:
    0 0 70px rgba(201, 241, 88, 0.34),
    inset 0 0 26px rgba(255, 255, 255, 0.35);
}

.art-core::before {
  content: "";
  position: absolute;
  inset: -34%;
  border: 1px dashed rgba(201, 241, 88, 0.28);
  border-radius: 50%;
  animation: spinCentered 34s linear infinite;
}

@keyframes spinCentered {
  to { transform: rotate(360deg); }
}

.art-core::after {
  content: "";
  position: absolute;
  inset: -72%;
  border: 1px solid rgba(242, 240, 233, 0.07);
  border-radius: 50%;
}

.art-core i {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 68%);
  opacity: 0.42;
}

.art-wave {
  position: absolute;
  z-index: 2;
  left: 12%;
  right: 12%;
  bottom: 3.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
}

.art-wave i {
  width: 3px;
  height: 40%;
  border-radius: 3px;
  background: linear-gradient(to top, rgba(201, 241, 88, 0.18), var(--lime));
  animation: waveBar 1.15s ease-in-out infinite alternate;
}

.art-wave i:nth-child(1) { height: 24%; animation-delay: -0.6s; }
.art-wave i:nth-child(2) { height: 48%; animation-delay: -0.45s; }
.art-wave i:nth-child(3) { height: 76%; animation-delay: -0.3s; }
.art-wave i:nth-child(4) { height: 54%; animation-delay: -0.15s; }
.art-wave i:nth-child(5) { height: 100%; animation-delay: 0s; }
.art-wave i:nth-child(6) { height: 62%; animation-delay: -0.2s; }
.art-wave i:nth-child(7) { height: 86%; animation-delay: -0.4s; }
.art-wave i:nth-child(8) { height: 44%; animation-delay: -0.55s; }
.art-wave i:nth-child(9) { height: 28%; animation-delay: -0.7s; }

.art-wave--soft {
  opacity: 0.75;
}

@keyframes waveBar {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}

/* ---------- Browser artwork ---------- */

.art-antidetect {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 241, 88, 0.1), transparent 42%),
    linear-gradient(140deg, #0d0f0b, #070806 70%);
  color: var(--text);
}

.art-antidetect::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 240, 233, 0.09) 0.7px, transparent 0.8px);
  background-size: 7px 7px;
  opacity: 0.35;
  mask-image: linear-gradient(120deg, #000, transparent 62%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 62%);
}

.art-browser {
  position: absolute;
  height: 46%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(242, 240, 233, 0.12);
  border-radius: 9px;
  background: rgba(13, 15, 12, 0.9);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

.art-browser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  border-bottom: 1px solid rgba(242, 240, 233, 0.09);
  border-radius: 9px 9px 0 0;
  background: rgba(255, 255, 255, 0.026);
}

.art-browser::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 5%;
  width: 24px;
  height: 5px;
  background-image:
    radial-gradient(circle, var(--lime) 1.4px, transparent 1.5px),
    radial-gradient(circle, rgba(242, 240, 233, 0.3) 1.4px, transparent 1.5px),
    radial-gradient(circle, rgba(242, 240, 233, 0.3) 1.4px, transparent 1.5px);
  background-size: 7px 7px;
  background-repeat: no-repeat;
  background-position: 0 0, 8px 0, 16px 0;
}

.art-browser i {
  position: absolute;
  left: 8%;
  right: 20%;
  top: 42%;
  height: 2px;
  border-radius: 2px;
  background: rgba(242, 240, 233, 0.2);
  box-shadow:
    0 10px 0 rgba(242, 240, 233, 0.08),
    0 20px 0 rgba(242, 240, 233, 0.06),
    0 34px 0 rgba(201, 241, 88, 0.13);
}

.art-browser-a {
  top: 15%;
  left: 11%;
  transform: rotate(-6deg);
  opacity: 0.42;
}

.art-browser-b {
  top: 26%;
  left: 25%;
  transform: rotate(-2deg);
  opacity: 0.66;
}

.art-browser-c {
  top: 37%;
  left: 39%;
  transform: rotate(1.5deg);
  border-color: rgba(201, 241, 88, 0.32);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 45px rgba(201, 241, 88, 0.07);
}

.art-dots {
  position: absolute;
  top: 4.4rem;
  right: 1.5rem;
  width: 100px;
  height: 76px;
  background-image: radial-gradient(circle, rgba(201, 241, 88, 0.5) 1px, transparent 1.2px);
  background-size: 9px 9px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 74%);
}

/* ---------- Systems artwork (modals) ---------- */

.art-system {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(201, 241, 88, 0.08), transparent 46%),
    #0a0c08;
  color: var(--text);
}

.art-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 241, 88, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 241, 88, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 32% 58%, #000, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 32% 58%, #000, transparent 82%);
  opacity: 0.7;
}

.art-code {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 1.6rem;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(6.5rem, 12vw, 11rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 241, 88, 0.42);
}

.art-net {
  position: absolute;
  top: 18%;
  right: 7%;
  width: 42%;
  aspect-ratio: 1.15;
  background-image:
    radial-gradient(circle at 18% 26%, var(--lime) 1.7px, transparent 2px),
    radial-gradient(circle at 58% 12%, rgba(201, 241, 88, 0.6) 1.4px, transparent 1.8px),
    radial-gradient(circle at 82% 48%, rgba(201, 241, 88, 0.75) 1.6px, transparent 2px),
    radial-gradient(circle at 34% 64%, rgba(201, 241, 88, 0.5) 1.4px, transparent 1.8px),
    radial-gradient(circle at 70% 82%, rgba(201, 241, 88, 0.45) 1.4px, transparent 1.8px),
    linear-gradient(115deg, transparent 48.6%, rgba(201, 241, 88, 0.16) 49%, transparent 49.5%),
    linear-gradient(28deg, transparent 48.6%, rgba(201, 241, 88, 0.13) 49%, transparent 49.5%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 78%);
  opacity: 0.8;
}

.art-filmstrip {
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.45rem;
  width: 40%;
  height: 52%;
}

.art-filmstrip i {
  flex: 1;
  border: 1px solid rgba(201, 241, 88, 0.22);
  border-radius: 4px;
  background: linear-gradient(to top, rgba(201, 241, 88, 0.16), rgba(201, 241, 88, 0.02));
}

.art-filmstrip i:nth-child(2) { margin-top: 8%; }
.art-filmstrip i:nth-child(3) { margin-top: -5%; }
.art-filmstrip i:nth-child(4) { margin-top: 12%; }
.art-filmstrip i:nth-child(5) { margin-top: 3%; background: linear-gradient(to top, rgba(201, 241, 88, 0.4), rgba(201, 241, 88, 0.04)); }

.art-codewrap {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 38%;
}

.art-codewrap i {
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(201, 241, 88, 0.45), rgba(242, 240, 233, 0.09));
}

.art-codewrap i:nth-child(1) { width: 62%; }
.art-codewrap i:nth-child(2) { width: 84%; margin-left: 9%; }
.art-codewrap i:nth-child(3) { width: 48%; margin-left: 9%; background: linear-gradient(90deg, rgba(242, 240, 233, 0.24), rgba(242, 240, 233, 0.05)); }
.art-codewrap i:nth-child(4) { width: 70%; margin-left: 18%; }
.art-codewrap i:nth-child(5) { width: 38%; margin-left: 18%; background: linear-gradient(90deg, rgba(201, 241, 88, 0.3), transparent); }
.art-codewrap i:nth-child(6) { width: 56%; }

.art-orbit {
  position: absolute;
  top: 50%;
  right: 9%;
  transform: translateY(-50%);
  width: 30%;
  aspect-ratio: 1;
  border: 1px dashed rgba(201, 241, 88, 0.35);
  border-radius: 50%;
}

.art-orbit::before {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(242, 240, 233, 0.1);
  border-radius: 50%;
  animation: spinCentered 26s linear infinite;
}

.art-orbit i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(201, 241, 88, 0.7);
}

.art-scan {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 36%;
  height: 52%;
  border: 1px solid rgba(201, 241, 88, 0.28);
  border-radius: 3px;
  background: rgba(201, 241, 88, 0.025);
  overflow: hidden;
}

.art-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(201, 241, 88, 0.22), transparent);
  animation: scanBeam 3s ease-in-out infinite alternate;
}

.art-scan::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(242, 240, 233, 0.16);
}

@keyframes scanBeam {
  from { transform: translateY(-100%); }
  to { transform: translateY(260%); }
}

.art-system--wave .art-wave,
.art-system--pulse .art-wave {
  left: auto;
  right: 8%;
  bottom: 34%;
  width: 38%;
  height: 34px;
  justify-content: flex-end;
  gap: 4px;
}

.art-system--wave .art-code { -webkit-text-stroke-color: rgba(201, 241, 88, 0.32); }
.art-system--pulse .art-code { -webkit-text-stroke-color: rgba(201, 241, 88, 0.5); }

.art-devices {
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34%;
  height: 56%;
}

.art-devices i {
  position: absolute;
  width: 32%;
  height: 88%;
  border: 1px solid rgba(242, 240, 233, 0.16);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(201, 241, 88, 0.09), rgba(0, 0, 0, 0.24));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.art-devices i::before {
  content: "";
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 3px;
  border-radius: 2px;
  background: rgba(242, 240, 233, 0.2);
}

.art-devices i:nth-child(1) {
  transform: translateX(-60%) rotate(-11deg);
  opacity: 0.55;
}

.art-devices i:nth-child(3) {
  transform: translateX(60%) rotate(11deg);
  opacity: 0.55;
}

.art-devices i:nth-child(2) {
  border-color: rgba(201, 241, 88, 0.42);
  z-index: 1;
}

/* ---------- Project index ---------- */

.project-index {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.project-index-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1.6fr) minmax(0, 0.9fr) auto 38px;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 0.35rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.35s ease;
}

.project-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(201, 241, 88, 0.075), transparent 78%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-row:hover::before,
.project-row:focus-visible::before {
  opacity: 1;
}

.row-num {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.3s ease;
}

.project-row:hover .row-num {
  color: var(--lime);
}

.row-main h3 {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.row-main h3 span {
  font-size: 0.76em;
  font-weight: 300;
  color: var(--muted);
}

.row-main p {
  margin-top: 0.28rem;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--muted);
}

.row-stack {
  font-size: 0.6rem;
  line-height: 1.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted);
}

.row-year {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.project-row .project-arrow {
  width: 34px;
  height: 34px;
}

.project-row:hover .project-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: #0a0a06;
}

/* ---------- Responsive additions ---------- */

@media (max-width: 1100px) {
  .project-row {
    grid-template-columns: 2rem minmax(0, 1.5fr) minmax(0, 0.7fr) auto 36px;
    gap: 1rem;
  }

  .row-stack {
    font-size: 0.56rem;
  }
}

@media (max-width: 960px) {
  .profile-card {
    max-width: 560px;
  }

  .profile-avatar {
    width: 100px;
  }
}

@media (max-width: 760px) {
  .work-featured {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .project-feature .project-art {
    aspect-ratio: 4 / 3;
  }

  .project-row {
    grid-template-columns: 1.7rem minmax(0, 1fr) auto 34px;
    gap: 0.8rem;
    padding: 1.15rem 0;
  }

  .row-stack {
    display: none;
  }

  .row-year {
    font-size: 0.58rem;
  }

  .project-row .project-arrow {
    width: 32px;
    height: 32px;
  }

  .art-code {
    left: 1.2rem;
    font-size: clamp(5.5rem, 17vw, 8rem);
  }
}

@media (max-width: 560px) {
  .profile-card {
    padding: 1.35rem;
  }

  .profile-eyebrow {
    font-size: 0.52rem;
  }

  .profile-proof-num {
    font-size: 5rem;
  }

  .profile-proof p {
    font-size: 0.6rem;
  }

  .profile-proof-mark {
    font-size: 7rem;
  }

  .row-year {
    display: none;
  }

  .project-row {
    grid-template-columns: 1.4rem minmax(0, 1fr) 32px;
  }

  .row-main h3 span {
    display: block;
    margin-top: 0.2rem;
  }

  .row-main h3 {
    font-size: 0.98rem;
  }

  .row-main p {
    font-size: 0.75rem;
  }

  .project-feature .project-meta h3 {
    max-width: none;
  }

  .art-dots {
    display: none;
  }

  .art-browser {
    height: 48%;
  }
}

/* ============================================================
   2026 REDESIGN — Python-first identity, 3D layers, skills lab
   ============================================================ */

:root {
  --ice: #7fe6ff;
  --violet: #b0a6ff;
  --grad-accent: linear-gradient(100deg, var(--lime) 0%, var(--ice) 54%, var(--violet) 100%);
  --grad-line: linear-gradient(90deg, rgba(201, 241, 88, 0.5), rgba(127, 230, 255, 0.26), rgba(176, 166, 255, 0.16), transparent);
}

/* ---------- Global accent refresh ---------- */

.scroll-progress {
  background: var(--grad-accent);
}

.site-header.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(201, 241, 88, 0.16), 0 24px 50px -36px rgba(0, 0, 0, 0.9);
}

.brand-mark {
  border-color: rgba(201, 241, 88, 0.32);
  box-shadow: 0 0 26px -10px rgba(201, 241, 88, 0.6);
}

.btn-primary {
  background: linear-gradient(105deg, var(--lime), #dcff85 65%, var(--ice));
  box-shadow: 0 18px 38px -22px rgba(201, 241, 88, 0.65);
}

.btn-primary:hover {
  background: linear-gradient(105deg, #dcff85, var(--ice));
  box-shadow: 0 22px 46px -20px rgba(127, 230, 255, 0.55);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title em,
  .section-title em,
  .contact-title em {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ---------- Hero: aurora glow + floating 3D badges ---------- */

.hero .scene {
  background:
    radial-gradient(circle at 74% 42%, rgba(201, 241, 88, 0.1), transparent 44%),
    radial-gradient(circle at 90% 68%, rgba(127, 230, 255, 0.07), transparent 40%),
    radial-gradient(circle at 58% 8%, rgba(176, 166, 255, 0.06), transparent 38%);
}

.hero-3d {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  perspective: 900px;
  transform: translate3d(calc(var(--hx, 0) * -18px), calc(var(--hy, 0) * -14px), 0);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(201, 241, 88, 0.26);
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(23, 28, 16, 0.82), rgba(8, 9, 7, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 46px -28px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
  transform-style: preserve-3d;
  animation: badgeFloat 8s ease-in-out infinite;
}

.hero-badge--1 {
  top: 21%;
  right: 30%;
}

.hero-badge--2 {
  top: 33%;
  right: 5.5%;
  animation-delay: -1.4s;
  border-color: rgba(127, 230, 255, 0.32);
}

.hero-badge--3 {
  top: 55%;
  right: 22%;
  animation-delay: -2.6s;
}

.hero-badge--4 {
  top: 68%;
  right: 4.5%;
  animation-delay: -3.8s;
  border-color: rgba(176, 166, 255, 0.34);
}

.hb-glyph {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--lime), var(--ice));
  color: #0a0a06;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(201, 241, 88, 0.9);
}

.hb-ring {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  box-shadow: 0 0 9px rgba(201, 241, 88, 0.55);
}

.hb-cube {
  width: 10px;
  height: 10px;
  border: 1px solid var(--violet);
  transform: rotate(45deg);
  box-shadow: 0 0 9px rgba(176, 166, 255, 0.6);
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 16px) rotateX(5deg) rotateY(-5deg);
  }
}

@media (min-width: 1180px) {
  .hero-3d {
    display: block;
  }
}

/* Phones & portrait tablets: bring the floating 3D badges back, framing the knot in the lower right */
@media (max-width: 960px) and (orientation: portrait) {
  .hero-3d {
    display: block;
  }

  .hero-badge {
    padding: 0.46rem 0.72rem;
    gap: 0.4rem;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    background: linear-gradient(150deg, rgba(23, 28, 16, 0.78), rgba(8, 9, 7, 0.58));
  }

  .hero-badge--1 {
    top: 69%;
    right: 46%;
  }

  .hero-badge--2 {
    top: 74.5%;
    right: 2.5%;
  }

  .hero-badge--3 {
    top: 81%;
    right: 40%;
  }

  .hero-badge--4 {
    top: 86%;
    right: 7%;
  }

  .hb-glyph {
    width: 17px;
    height: 17px;
    font-size: 0.46rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.94) 0%, rgba(7, 7, 7, 0.66) 38%, rgba(7, 7, 7, 0) 72%),
      linear-gradient(0deg, #070707 0%, rgba(7, 7, 7, 0) 13%);
  }
}

/* ---------- Cards: depth + gradient hairlines ---------- */

.service {
  box-shadow: 0 36px 74px -52px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-line);
  opacity: 0.55;
  pointer-events: none;
}

.service:hover {
  box-shadow: 0 42px 82px -48px rgba(0, 0, 0, 0.95), 0 0 60px -32px rgba(201, 241, 88, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service--python {
  border-color: rgba(127, 230, 255, 0.22);
}

.service--python::before {
  background: radial-gradient(circle, rgba(127, 230, 255, 0.16), transparent 65%);
}

.service--three {
  border-color: rgba(176, 166, 255, 0.22);
}

.service--three::before {
  background: radial-gradient(circle, rgba(176, 166, 255, 0.16), transparent 65%);
}

.profile-card {
  border-color: rgba(201, 241, 88, 0.18);
  box-shadow: 0 44px 90px -58px rgba(0, 0, 0, 0.95);
}

.project .project-art {
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s ease;
  box-shadow: 0 34px 70px -44px rgba(0, 0, 0, 0.9);
}

.project:hover .project-art,
.project:focus-visible .project-art {
  transform: perspective(1100px) rotateX(1.6deg) rotateY(-1.6deg) translateY(-5px);
  box-shadow: 0 44px 84px -38px rgba(0, 0, 0, 0.95), 0 0 54px -28px rgba(201, 241, 88, 0.3);
}

/* ---------- Skills lab ---------- */

.skills {
  background:
    radial-gradient(circle at 82% 26%, rgba(127, 230, 255, 0.05), transparent 42%),
    radial-gradient(circle at 8% 74%, rgba(201, 241, 88, 0.04), transparent 40%),
    var(--bg);
}

.skills-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.skills-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.skills-panel {
  padding: clamp(1.4rem, 2.6vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.006));
  box-shadow: 0 44px 90px -60px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skills-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.skill {
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line-soft);
}

.skill-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.skill-name {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.skill-level {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.skill-bar {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgba(242, 240, 233, 0.07);
  overflow: hidden;
}

.skill-bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-accent);
  transform: scaleX(var(--w, 0));
  transform-origin: left center;
  box-shadow: 0 0 16px rgba(201, 241, 88, 0.35);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .skill .skill-bar i {
  transform: scaleX(0);
}

.js .skill.in-view .skill-bar i {
  transform: scaleX(var(--w, 0));
}

.skills-toolbox {
  margin-top: 1.5rem;
}

.toolbox-label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.toolbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.toolbox li {
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--muted-strong);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.toolbox li:hover {
  border-color: rgba(127, 230, 255, 0.42);
  color: var(--ice);
  transform: translateY(-2px);
}

/* ---------- CSS 3D cube ---------- */

.skills-stage {
  --cube-size: clamp(160px, 19vw, 216px);
  position: relative;
  display: grid;
  place-items: center;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  perspective: 1200px;
}

.skills-stage::before,
.skills-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.skills-stage::before {
  width: calc(var(--cube-size) * 2.3);
  aspect-ratio: 1;
  transform: translate(-50%, -54%);
  border: 1px dashed rgba(201, 241, 88, 0.16);
  animation: spinCentered 46s linear infinite;
}

.skills-stage::after {
  width: calc(var(--cube-size) * 1.7);
  aspect-ratio: 1;
  transform: translate(-50%, -56%);
  background: radial-gradient(circle, rgba(201, 241, 88, 0.09), transparent 62%);
}

.cube-scene {
  position: relative;
  z-index: 1;
  width: var(--cube-size);
  height: var(--cube-size);
  perspective: 1200px;
  perspective-origin: 50% 42%;
}

.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeSpin 18s linear infinite;
}

.cube-scene:hover .cube {
  animation-play-state: paused;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(201, 241, 88, 0.32);
  background:
    radial-gradient(circle at 32% 24%, rgba(201, 241, 88, 0.16), transparent 58%),
    linear-gradient(150deg, #161d10, #090b07 52%, #0e1a1e);
  box-shadow: inset 0 0 52px rgba(201, 241, 88, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  letter-spacing: -0.02em;
  color: var(--text);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cube-face i {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.cube-gem {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(201, 241, 88, 0.55);
  box-shadow: 0 0 20px rgba(201, 241, 88, 0.25), inset 0 0 12px rgba(201, 241, 88, 0.12);
  transform: rotate(45deg);
}

.cube-front {
  transform: rotateY(0deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-back {
  transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-right {
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-top {
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -2.4rem;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 241, 88, 0.22), transparent 70%);
  filter: blur(9px);
  pointer-events: none;
}

.stage-caption {
  position: relative;
  z-index: 1;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@keyframes cubeSpin {
  from {
    transform: rotateX(-18deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-18deg) rotateY(360deg);
  }
}

/* ---------- Stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.6rem, 5vw, 4.2rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.7rem 1.3rem;
  border-left: 1px solid var(--line-soft);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0.35rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-num {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.stat-label {
  max-width: 16ch;
  font-size: 0.6rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Responsive: skills + stats ---------- */

@media (max-width: 980px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skills-stage {
    order: -1;
    padding: 2.6rem 0 2.2rem;
  }

  .cube-scene {
    --cube-size: clamp(140px, 30vw, 190px);
  }
}

@media (max-width: 760px) {
  .skills-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .skills-top .section-side {
    max-width: none;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0.35rem;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }
}

@media (max-width: 560px) {
  .skills-panel {
    padding: 1.25rem;
  }

  .skill-name {
    font-size: 0.85rem;
  }

  .stat {
    padding: 1.3rem 1rem;
  }

  .stat:nth-child(1) {
    padding-left: 0.35rem;
  }
}

/* ---------- Photography & brand imagery ---------- */

.preloader-mark img {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(201, 241, 88, 0.3),
    0 22px 48px -20px rgba(0, 0, 0, 0.95),
    0 0 42px -14px rgba(127, 230, 255, 0.45);
  animation: markPulse 2.6s ease-in-out infinite;
}

@keyframes markPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.03);
  }
}

.brand-mark--photo {
  padding: 0;
  overflow: hidden;
  background: #0a0b08;
  border-color: rgba(127, 230, 255, 0.32);
}

.brand-mark--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-card .profile-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0b08;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.6) contrast(1.05) brightness(0.92) saturate(0.85);
  transform: scale(1.02);
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s ease;
}

.profile-card:hover .profile-photo img,
.profile-card:focus-within .profile-photo img {
  transform: scale(1.07);
  filter: grayscale(0) contrast(1.05) brightness(1) saturate(1.05);
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 6, 4, 0.95) 0%, rgba(5, 6, 4, 0.58) 27%, rgba(5, 6, 4, 0) 62%),
    radial-gradient(120% 70% at 85% 0%, rgba(127, 230, 255, 0.16), transparent 55%);
  pointer-events: none;
}

.profile-caption {
  position: absolute;
  z-index: 2;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.1rem;
  display: grid;
  gap: 0.32rem;
}

.profile-caption .profile-eyebrow {
  font-size: 0.58rem;
}

.profile-caption strong {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #f4f4ec;
}

.profile-caption-meta {
  font-size: 0.7rem;
  line-height: 1.55;
  color: rgba(236, 236, 226, 0.68);
}

.contact-sign {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.7rem;
  padding: 0.5rem 1.15rem 0.5rem 0.5rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.contact-sign img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(201, 241, 88, 0.28),
    0 0 26px -8px rgba(127, 230, 255, 0.5);
}

.contact-sign div {
  display: grid;
  gap: 0.15rem;
}

.contact-sign strong {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-sign span {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 560px) {
  .contact-sign {
    width: 100%;
  }

  .contact-sign span {
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-mark img {
    animation: none;
  }
}

