:root {
  --bg: #05070b;
  --black: #000000;
  --bg-2: #0d111a;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --cyan: #00f5a0;
  --cyan-2: #00d2ff;
  --mint: #0dbf96;
  --indigo: #3339dd;
  --purple: #4f46e5;
  --blue: #3b82f6;
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-2: #727979;
  --mint-soft: #ecfdf7;
  --about-bg: #f6f7fb;
  --font: "IBM Plex Sans", Inter, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --font-plex-mono: "IBM Plex Mono", "DM Mono", ui-monospace, monospace;
  --radius: 28px;
  --nav-h: 72px;
  --content: 1280px;
  --page-pad: 30px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* ---------- NAV ---------- */
.site-header {
  position: relative;
  z-index: 50;
  padding: 10px var(--page-pad) 0;
}

.nav-pill {
  width: min(var(--content), 100%);
  height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px 6px 14px;
  background: #535a5a;
  border: 1px solid #fff;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-mark-wrap {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-mark {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}

.nav-logo-wrap {
  display: grid;
  place-items: center;
  flex: 1;
  height: 100%;
}

.nav-logo {
  width: auto;
  height: 48px;
  max-width: 90px;
  object-fit: contain;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
}

.nav-cta,
.btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--mint);
  color: #042016;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  padding: 9px 10px 9px 25px;
  border: 0;
  border-radius: 100px;
  box-shadow: 0 0 0 1px rgba(0, 245, 160, 0.25), 0 8px 28px rgba(13, 191, 150, 0.35);
  transition: all 0.3s ease;
}

.btn-icon {
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #000;
}

.btn-icon svg {
  transform: rotate(45deg);
}

.nav-cta:hover,
.btn-cyan:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(0, 245, 160, 0.5),
    0 12px 36px rgba(13, 191, 150, 0.5),
    0 0 22px rgba(0, 245, 160, 0.32);
}

.nav-cta:active,
.btn-cyan:active {
  transform: translateY(0) scale(0.99);
}

.nav-cta {
  flex-shrink: 0;
  padding: 9px 25px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  padding: 50px 0 0;
  overflow: hidden;
  font-size: 16px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 0;
  will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 40%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
}

.hero-grid > div:first-child {
  container-type: inline-size;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  padding: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11.1em;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #fff;
}

.hero-sub {
  min-height: 1.35em;
  margin: 0;
  padding-left: 10px;
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mint);
  max-width: 100%;
  overflow: hidden;
}

.word-slider-wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 1.35em;
}

.sentence {
  grid-area: 1 / 1 / 2 / 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.32em;
  white-space: nowrap;
  max-width: 100%;
}

.sentence span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-50px);
  animation: wordSlideIn 10.5s infinite ease-out;
}

.sentence-1 .w1 { animation-delay: 0s; }
.sentence-1 .w2 { animation-delay: 0.15s; }
.sentence-2 .w1 { animation-delay: 3.5s; }
.sentence-2 .w2 { animation-delay: 3.65s; }
.sentence-2 .w3 { animation-delay: 3.8s; }
.sentence-2 .w4 { animation-delay: 3.95s; }
.sentence-3 .w1 { animation-delay: 7s; }
.sentence-3 .w2 { animation-delay: 7.15s; }
.sentence-3 .w3 { animation-delay: 7.3s; }

@keyframes wordSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  6% {
    opacity: 1;
    transform: translateX(0);
  }
  26% {
    opacity: 1;
    transform: translateX(0);
  }
  32% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 0;
    transform: translateX(50px);
  }
}

.hero-copy {
  max-width: 544px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 10px 0 0;
}

.btn-cyan {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.3;
  padding: 10px 10px 10px 22px;
}

.hero-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.7) 0%, rgba(59, 130, 246, 0.35) 42%, transparent 70%);
  filter: blur(8px);
  will-change: transform;
  animation: pulseGlow 6.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(0, -14px, 0) scale(1.05);
    opacity: 1;
  }
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

/* ---------- BRAND BAR ---------- */
.brand-bar {
  margin: 8px auto 56px;
  background: #12151c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  animation: brand-scroll 28s linear infinite;
  will-change: transform;
}

.brand-set {
  display: flex;
  align-items: center;
  gap: clamp(36px, 8vw, 88px);
  padding: 0 44px;
  flex-shrink: 0;
}

.brand-bar img {
  height: 42px;
  width: auto;
  max-width: 180px;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.brand-bar:hover .brand-track,
.brand-bar:focus-within .brand-track {
  animation-play-state: paused;
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 50px 0 0;
}

.section-title {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tab {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab.active,
.tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

/* ---------- PROJECT SLIDER ---------- */
.slider-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
  margin-bottom: 24px;
}

.slider {
  display: flex;
  gap: 16px;
  width: 100%;
  will-change: transform;
}

.project-card {
  flex: 0 0 calc(50% - 8px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  position: relative;
  min-height: 280px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  display: block;
  transform: translateZ(0);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.project-card:hover {
  z-index: 2;
  transform: scale(1.03);
  border-color: rgba(99, 102, 241, 0.38);
  box-shadow:
    0 16px 40px rgba(5, 7, 11, 0.45),
    0 0 28px rgba(79, 70, 229, 0.32),
    0 0 18px rgba(59, 130, 246, 0.18);
}

.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.project-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px 22px;
  background: linear-gradient(transparent, rgba(5, 7, 11, 0.92));
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.project-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--mint-soft);
}

.slider-empty {
  color: var(--muted);
  padding: 48px 8px;
}

.slider-nav {
  position: absolute;
  right: 10px;
  bottom: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.slider-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(0.98);
}

.slider-btn:active {
  transform: scale(0.95);
}

/* ---------- FLOWER / ABOUT ---------- */
.about-wrap {
  background: #ffffff;
  color: #0b1220;
  padding: 0;
  position: relative;
  overflow: visible;
}

.flower-stage {
  display: grid;
  place-items: center;
  min-height: 288px;
  padding: 48px 0 12px;
}

.flower {
  position: relative;
  width: min(407px, 78vw);
  height: min(407px, 78vw);
  display: grid;
  place-items: center;
}

.flower-spin,
.flower-pulse {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.flower-spin {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: clockwiseRotateGroup 30s linear infinite;
  transform-origin: center center;
}

.flower-pulse {
  inset: 17.5%;
  width: 65%;
  height: 65%;
  z-index: 1;
  animation: slowPulseFrame 6s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes clockwiseRotateGroup {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slowPulseFrame {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.eyebrow {
  color: #3339dd;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  margin: 0 0 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 8px 24px;
  align-items: stretch;
}

.about-grid h2 {
  margin: 0 0 32px;
  font-family: var(--font-plex-mono);
  font-size: 49px;
  font-weight: 600;
  letter-spacing: -0.9px;
  color: #141616;
}

.about-copy {
  padding-bottom: 36px;
  min-width: 0;
}

.about-copy > p {
  max-width: 544px;
  color: #535a5a;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  margin: 0 0 40px;
}

.jobs {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.job {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-width: 0;
}

.job img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: 2px;
}

.job-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  color: #141616;
  flex-shrink: 0;
}

.job h3 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #141616;
  overflow-wrap: anywhere;
}

.job .meta-line {
  margin: 0;
  color: #727979;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.edu-block {
  margin-top: 28px;
  min-width: 0;
}

.edu-block .eyebrow {
  margin-bottom: 14px;
}

.dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin: 0 6px 0 8px;
  vertical-align: middle;
}

.about-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  min-height: 100%;
}

.about-glow {
  display: none;
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  margin: 0;
}

/* ---------- STATS ---------- */
.stats {
  padding: 56px 0 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  min-height: 208px;
  background-color: var(--card);
  background-image: url("../assets/images/stat-card.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 160, 0.25);
}

.stat-card strong {
  display: block;
  font-size: 61px;
  font-weight: 600;
  color: #fff;
}

.stat-card span {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
}

/* ---------- TOOLS / AI STACK ---------- */
.center-copy {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.center-copy .kicker {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 12px;
}

.glow-title {
  margin: 0 0 24px;
  font-size: 49px;
  font-weight: 500;
  text-shadow: 0 0 28px rgba(147, 197, 253, 0.35);
}

.center-copy p {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: #a2a9a9;
  margin: 0 0 8px;
}

.title-rule {
  display: block;
  width: min(280px, 72%);
  height: auto;
  margin: 4px auto 56px;
}

.icon-rail {
  overflow: hidden;
  padding: 18px 0;
  background: rgba(26, 28, 28, 0.55);
  border: 1px solid #404545;
  border-radius: 24px;
  box-shadow: 0 0 33px rgba(51, 57, 221, 0.21);
}

.icon-track {
  display: flex;
  width: max-content;
  animation: icon-scroll 28s linear infinite;
  will-change: transform;
}

.icon-rail.reverse .icon-track {
  animation-direction: reverse;
}

.icon-set {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  flex-shrink: 0;
}

.icon-rail:hover .icon-track,
.icon-rail:focus-within .icon-track {
  animation-play-state: paused;
}

@keyframes icon-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.icon-tile {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #1a1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  padding: 12px;
  flex: 0 0 auto;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.icon-tile img {
  max-width: 44px;
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.icon-tile:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(79, 70, 229, 0.42), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.ai-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 36px;
  min-height: 317px;
  padding: 20px 50px;
  background: #1a1c1c;
  border: 1px solid #404545;
  border-radius: 24px;
  box-shadow: 0 0 33px rgba(51, 57, 221, 0.21);
}

.ai-card {
  flex: 1 1 160px;
  max-width: 280px;
  min-height: 205px;
  background: #272a2a;
  border: 1px solid #404545;
  border-radius: 27px;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.ai-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.4), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ai-card img {
  max-height: 92px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}

.laser-left-to-right {
  position: relative;
  overflow: hidden;
  flex: 0 0 72px;
  width: 72px;
  height: 2px;
}

.laser-left-to-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #3339dd, #9fa4ff, #3339dd, transparent);
}

.laser-left-to-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, #3339dd, #9fa4ff, #3339dd, transparent);
  filter: drop-shadow(0 0 8px #3339dd);
  animation: laserPointerL2R 1.8s linear infinite;
}

.laser-left-to-right.delay-pulse::after {
  animation-delay: 1s;
}

@keyframes laserPointerL2R {
  to {
    left: 100%;
  }
}

.laser-stem {
  width: 2px;
  height: 56px;
  margin: 0 auto;
  background: linear-gradient(transparent, #3339dd, #9fa4ff, #3339dd, transparent);
  box-shadow: 0 0 8px rgba(51, 57, 221, 0.55);
}

#tools.section,
#ai-stack.section {
  padding-top: 72px;
}

.cta-band {
  margin: 40px 0 0;
  background: linear-gradient(90deg, #3b82f6 0%, #4f46e5 100%);
  border-radius: 0;
  padding: 50px 20px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto 24px;
  font-size: 61px;
  font-weight: 600;
  max-width: var(--content);
}

/* ---------- CONTACT ---------- */
.contact-band {
  background:
    radial-gradient(ellipse 70% 80% at 12% 20%, rgba(13, 191, 150, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 60% at 92% 80%, rgba(61, 79, 216, 0.16), transparent 50%),
    var(--bg);
  padding: 72px 0 80px;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 56px;
  align-items: start;
}

.contact-copy .kicker {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.contact-copy h2 {
  margin: 0 0 16px;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.contact-copy p {
  margin: 0 0 24px;
  max-width: 480px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.7;
}

.contact-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-points a {
  color: #dbe4ea;
  font-size: 15px;
  transition: color 0.2s ease;
}

.contact-points a:hover {
  color: var(--cyan);
}

.contact-card {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.contact-card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #c5cbd3;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  background: #0b0e14;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-card textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(13, 191, 150, 0.55);
}

.contact-card .btn-cyan {
  justify-self: start;
  margin-top: 4px;
}

.contact-status {
  margin: 0;
  font-size: 14px;
}

.contact-status.ok {
  color: var(--mint);
}

.contact-status.err {
  color: #fca5a5;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #f4f5f8;
  color: #111827;
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #4b5563;
  font-size: 14px;
}

.footer-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #111827;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.socials a:hover {
  background: var(--blue);
  transform: scale(1.12);
  filter: brightness(1.15);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

.giant-name {
  margin-top: 36px;
  width: 100%;
  display: block;
  pointer-events: none;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 80;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(10px);
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(720px, 100%);
  background: #0d111a;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.modal-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-body {
  padding: 22px;
}

.modal-body h3 {
  margin: 0 0 10px;
}

.modal-body p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-close {
  margin-top: 16px;
  background: var(--mint);
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  :root {
    --page-pad: 24px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .ai-box {
    padding: 18px 20px;
    gap: 12px 18px;
    min-height: 220px;
  }

  .ai-card {
    min-height: 148px;
    padding: 16px 10px;
  }

  .laser-left-to-right {
    flex-basis: 40px;
    width: 40px;
  }

  .icon-tile {
    width: 64px;
    height: 64px;
  }

  .title-rule {
    margin-bottom: 36px;
  }

  #tools.section,
  #ai-stack.section {
    padding-top: 52px;
  }

  .hero {
    min-height: auto;
    text-align: center;
    padding-bottom: 0;
  }

  .hero-photo {
    min-height: 0;
  }

  .hero h1 {
    font-size: 98px;
  }

  .hero-sub {
    padding-left: 0;
    font-size: clamp(1rem, 4.4vw, 1.45rem);
  }

  .about-grid h2 {
    font-size: 33px;
  }

  .about-copy {
    padding-bottom: 8px;
  }

  .about-photo {
    width: min(560px, 100%);
    margin: 16px auto 0;
  }

  .about-photo img {
    width: 100%;
  }

  .stat-card strong {
    font-size: 35px;
  }

  .cta-band h2 {
    font-size: 39px;
  }

  .contact-copy h2 {
    font-size: 32px;
  }

  .flower {
    width: min(361px, 70vw);
    height: min(361px, 70vw);
  }

  .flower-stage {
    min-height: 240px;
    padding: 36px 0 8px;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-sub,
  .word-slider {
    justify-content: center;
  }

  .sentence {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-card {
    min-height: 160px;
    padding: 20px 12px;
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-pad: 24px;
  }

  .hero h1 {
    font-size: 83px;
  }

  .hero-sub {
    font-size: clamp(0.84rem, 4.5vw, 1.05rem);
  }

  .hero-copy {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: -0.6px;
    max-width: 100%;
    text-align: center;
  }

  .about-copy > p {
    font-size: 14px;
    padding-bottom: 0;
    margin-bottom: 20px;
  }

  .hero-photo {
    min-height: 0;
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .hero-photo img {
    width: 100%;
    display: block;
  }

  .hero-glow {
    width: 280px;
    height: 280px;
  }

  .brand-bar {
    margin-top: -22px;
    position: relative;
    z-index: 5;
  }

  .about-photo {
    width: min(420px, 92%);
    margin: 0 auto 16px;
    z-index: 1;
  }

  .stats {
    padding: 28px 0 12px;
  }

  .job h3 {
    font-size: 15px;
    line-height: 22px;
  }

  .job .meta-line {
    font-size: 12px;
    line-height: 15px;
  }

  .stat-card strong {
    font-size: 30px;
  }

  .stat-card span {
    font-size: 14px;
  }

  .cta-band h2 {
    font-size: 23px;
    line-height: 1.4;
  }

  .contact-band {
    padding: 48px 0 56px;
  }

  .contact-copy h2 {
    font-size: 26px;
  }

  .contact-card {
    padding: 20px;
  }

  .flower {
    width: min(220px, 68vw);
    height: min(220px, 68vw);
  }

  .flower-stage {
    min-height: 191px;
    padding: 28px 0 0;
  }

  .glow-title {
    font-size: 36px;
  }

  .ai-box {
    flex-direction: column;
    padding: 20px 16px;
    min-height: 0;
    gap: 14px;
  }

  .ai-card {
    width: min(100%, 280px);
    min-height: 120px;
  }

  .laser-left-to-right {
    flex: 0 0 32px;
    width: 2px;
    height: 32px;
  }

  .laser-left-to-right::before,
  .laser-left-to-right::after {
    background: linear-gradient(180deg, transparent, #3339dd, #9fa4ff, #3339dd, transparent);
  }

  .laser-left-to-right::after {
    left: 0;
    top: -40px;
    width: 100%;
    height: 40px;
  }

  .icon-rail {
    padding: 14px 0;
  }

  .icon-set {
    gap: 16px;
    padding: 0 16px;
  }

  .icon-tile {
    width: 58px;
    height: 58px;
  }

  .title-rule {
    margin-bottom: 28px;
  }

  #tools.section,
  #ai-stack.section {
    padding-top: 40px;
  }

  .overlay p {
    font-size: 11px;
    line-height: 1.4;
  }

  .project-card {
    flex-basis: 100%;
  }

  .project-card img {
    height: 230px;
  }

  .brand-bar {
    margin-bottom: 40px;
    padding: 14px 0;
  }

  .brand-set {
    gap: 40px;
    padding: 0 28px;
  }

  .brand-bar img {
    height: 28px;
    max-width: 130px;
  }

  .brand-track {
    animation-duration: 18s;
  }

  .nav-mark-wrap {
    display: none;
  }

  .nav-logo-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    place-items: center start;
  }

  .nav-pill {
    height: 52px;
    justify-content: space-between;
  }

  .nav-logo {
    height: 36px;
    max-width: 88px;
    margin: 0;
    object-position: left center;
  }

  .nav-cta {
    font-size: 8px;
    line-height: 2.6em;
    padding: 5px 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-top {
    gap: 24px;
  }

  .cta-band {
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }
}

@media (max-width: 480px) {
  :root {
    --page-pad: 22px;
  }

  .flower {
    width: min(186px, 72vw);
    height: min(186px, 72vw);
  }

  .flower-stage {
    min-height: 170px;
    padding: 24px 0 0;
  }

  .icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    padding: 10px;
  }

  .icon-tile img {
    max-width: 34px;
    max-height: 32px;
  }

  .ai-box {
    padding: 16px 12px;
  }

  .center-copy p {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-sub {
    font-size: clamp(0.75rem, 3.8vw, 0.88rem);
  }

  .sentence {
    gap: 0.22em;
  }

  .nav-pill {
    gap: 8px;
    padding: 5px 8px 5px 10px;
  }

  .brand-bar img {
    height: 24px;
    max-width: 110px;
  }
}

/* ---------- MOTION ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.project-card.reveal.is-in:hover {
  transform: scale(1.03);
}

.stat-card.reveal.is-in:hover {
  transform: translateY(-4px);
}

.ai-card.reveal.is-in:hover {
  transform: scale(1.05);
}

.btn-cyan.reveal.is-in:hover,
.nav-cta.reveal.is-in:hover {
  transform: translateY(-2px) scale(1.03);
}

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

  .brand-track,
  .icon-track,
  .marquee-track,
  .gallery-marquee-track,
  .hero-glow,
  .flower-spin,
  .flower-pulse {
    animation: none;
  }

  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-cta:hover,
  .btn-cyan:hover,
  .project-card:hover,
  .project-card:hover img,
  .icon-tile:hover,
  .ai-card:hover,
  .socials a:hover,
  .stat-card:hover {
    transform: none;
  }

  .brand-bar,
  .icon-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .brand-bar::-webkit-scrollbar,
  .icon-rail::-webkit-scrollbar {
    display: none;
  }

  .brand-set[aria-hidden="true"],
  .icon-set[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- PROJECT DETAIL ---------- */
.project-page {
  background: #05070b;
  padding: 28px 0 80px;
}

.project-shell {
  display: block;
}

.project-status {
  color: var(--muted);
  margin: 48px 0;
}

.case {
  display: grid;
  gap: 28px;
}

.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.case-back {
  color: #c9d4d0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.case-back:hover {
  color: var(--mint);
}

.case-cat {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #d7e0dc;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0b0f16;
  border-radius: 24px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
}

.case-cover img {
  width: 100%;
  max-height: min(58vh, 620px);
  object-fit: cover;
  object-position: top center;
  background: #0b0f16;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 32px 40px;
  align-items: start;
}

.case-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.case-desc p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: #d8ddd9;
}

.case-desc p:last-child {
  margin-bottom: 0;
}

.case-developed {
  margin: 22px 0 0;
  color: var(--mint);
  font-size: 14px;
}

.case-developed strong {
  font-weight: 700;
}

.case-panel {
  position: sticky;
  top: 24px;
  background: #10151d;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.case-panel h2,
.case-gallery-head h2,
.case-video h2,
.case-more h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa7a2;
}

.case-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-pill {
  display: inline-block;
  background: rgba(61, 79, 216, 0.28);
  border: 1px solid rgba(127, 140, 255, 0.28);
  color: #eef1ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}

.case-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--mint);
  color: #042016;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-live:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 191, 150, 0.28);
}

.case-gallery,
.case-video,
.case-more {
  background: #10151d;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
}

.case-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.case-gallery-head h2,
.case-video h2,
.case-more h2 {
  margin-bottom: 0;
}

.case-gallery-head p {
  margin: 0;
  color: #8b9692;
  font-size: 13px;
}

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

.case-shot {
  margin: 0;
  padding: 0;
  border: 0;
  background: #07090d;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.case-shot img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: top center;
  background: #07090d;
  display: block;
}

.case-video h2,
.case-more h2 {
  margin-bottom: 16px;
}

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

.case-more-card {
  display: grid;
  gap: 10px;
  color: inherit;
}

.case-more-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  background: #0b0f16;
  border: 1px solid var(--border);
}

.case-more-card span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #e8eeea;
}

.case-more-card:hover span {
  color: var(--mint);
}

.video-lazy {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.video-lazy img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-lazy span {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: var(--mint);
  color: #042016;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 12px 22px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 56px 16px 28px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(1100px, 100%);
  max-height: min(82vh, 900px);
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  cursor: pointer;
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  margin: 0;
  color: #d7d7d7;
  font-size: 13px;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-yt {
  display: inline-block;
  margin: 12px 4px 4px;
  color: var(--mint);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .case-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-panel {
    position: static;
  }

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

@media (max-width: 767px) {
  .project-page {
    padding: 18px 0 56px;
  }

  .case {
    gap: 18px;
  }

  .case-cover {
    border-radius: 18px;
  }

  .case-cover img {
    max-height: 42vh;
  }

  .case-copy h1 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .case-desc p {
    font-size: 15px;
    line-height: 1.7;
  }

  .case-panel,
  .case-gallery,
  .case-video,
  .case-more {
    padding: 16px;
    border-radius: 18px;
  }

  .case-gallery-grid,
  .case-more-grid {
    grid-template-columns: 1fr;
  }

  .case-shot img {
    max-height: none;
  }

  .lightbox {
    padding: 64px 10px 36px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .case-copy h1 {
    font-size: 22px;
  }

  .case-live {
    width: 100%;
  }
}
