:root {
  color-scheme: dark;
  --bg: #0a0a12;
  --surface: rgba(20, 20, 35, 0.86);
  --surface-strong: #19192d;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(192, 132, 252, 0.2);
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #f0f0f5;
  --text-secondary: #a0a0b8;
  --purple: #a855f7;
  --purple-light: #c084fc;
  --indigo: #6366f1;
  --green: #34d399;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 76px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 3%, rgba(99, 102, 241, 0.13), transparent 27rem),
    radial-gradient(circle at 88% 18%, rgba(236, 72, 153, 0.09), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

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

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: rgba(168, 85, 247, 0.42);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: 10px;
  background: #fff;
  color: #11111c;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.ambient-one {
  top: 15%;
  left: -18rem;
  background: var(--indigo);
}

.ambient-two {
  top: 45%;
  right: -19rem;
  background: var(--pink);
  animation-delay: -7s;
}

.noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.23;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 15%, transparent 75%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(10, 10, 18, 0.82);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-glyph {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.25), rgba(99, 102, 241, 0.08)),
    var(--surface-strong);
  box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.16), 0 8px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: -0.08em;
}

.brand-text {
  font-size: 15px;
}

.brand-text span {
  color: var(--purple-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.main-nav > a {
  position: relative;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  content: "";
  transition: transform 160ms ease;
}

.main-nav > a:hover,
.main-nav > a[aria-current="true"] {
  color: var(--text);
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.09);
  color: var(--text) !important;
}

.nav-cta:hover {
  background: rgba(168, 85, 247, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 170ms ease, opacity 170ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  padding: 76px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.1);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: inherit;
  content: "";
  animation: pulse 2.2s ease-out infinite;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 25px;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  font-weight: 860;
  letter-spacing: -0.075em;
}

.gradient-text {
  background: linear-gradient(100deg, #fff 3%, var(--purple-light) 36%, #818cf8 70%, var(--pink) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-summary {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.72;
}

.hero-meta,
.button-row,
.tag-list,
.project-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  gap: 12px 22px;
  margin-bottom: 34px;
  color: var(--text-secondary);
  font-size: 14px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-item svg {
  width: 17px;
  color: var(--purple-light);
}

.button-row {
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  box-shadow: 0 14px 38px rgba(99, 102, 241, 0.27);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 18px 48px rgba(168, 85, 247, 0.35);
}

.button-secondary {
  border-color: var(--line-soft);
  background: var(--surface-soft);
}

.button-secondary:hover {
  border-color: rgba(192, 132, 252, 0.42);
  background: rgba(168, 85, 247, 0.09);
}

.button svg,
.text-link svg,
.project-links svg {
  width: 17px;
  height: 17px;
}

.console-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(25, 25, 45, 0.93), rgba(12, 12, 23, 0.96));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06);
}

.console-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(168, 85, 247, 0.08), transparent 72%);
  content: "";
  pointer-events: none;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.console-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.console-dot:nth-child(1) { background: var(--danger); }
.console-dot:nth-child(2) { background: #fbbf24; }
.console-dot:nth-child(3) { background: var(--green); }

.console-title {
  margin-left: auto;
  color: #77778f;
  font-family: var(--font-mono);
  font-size: 11px;
}

.console-body {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
}

.identity-mark {
  display: grid;
  width: clamp(100px, 13vw, 144px);
  aspect-ratio: 1;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 31px;
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.22), rgba(99, 102, 241, 0.07)),
    rgba(5, 5, 12, 0.68);
  box-shadow: inset 0 0 42px rgba(168, 85, 247, 0.14), 0 18px 48px rgba(0, 0, 0, 0.28);
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.12em;
}

.console-line {
  margin-bottom: 9px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.5vw, 14px);
}

.console-line .prompt { color: var(--green); }
.console-line .key { color: var(--purple-light); }
.console-line .value { color: var(--text); }

.console-line:last-child::after {
  display: inline-block;
  width: 8px;
  height: 1.15em;
  margin-left: 5px;
  vertical-align: -0.18em;
  background: var(--purple-light);
  content: "";
  animation: blink 1s step-end infinite;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.proof-item {
  padding: 27px clamp(18px, 3vw, 36px);
  text-align: center;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line-soft);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.proof-item span {
  color: var(--text-secondary);
  font-size: 13px;
}

.section {
  padding: clamp(90px, 12vw, 148px) 0;
}

.section-compact {
  padding-top: clamp(70px, 8vw, 100px);
  padding-bottom: clamp(70px, 8vw, 100px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2,
.intro-copy h2,
.contact-panel h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.section-head > p {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 16px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.intro-label {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.intro-copy h2 {
  margin-bottom: 30px;
}

.intro-copy p {
  color: var(--text-secondary);
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
}

.intro-copy strong {
  color: var(--text);
}

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

.project-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(25, 25, 45, 0.75), rgba(14, 14, 27, 0.85));
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.19);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 132, 252, 0.34);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.28);
}

.project-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
}

.project-content {
  display: flex;
  flex-direction: column;
  padding: clamp(29px, 4vw, 48px);
}

.project-index {
  margin-bottom: 35px;
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.project-content h3 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 830;
}

.project-content > p {
  color: var(--text-secondary);
}

.project-stat {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 8px 0 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.project-stat strong {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
}

.project-stat span {
  color: var(--text-secondary);
  font-size: 13px;
}

.tag-list {
  gap: 8px;
  margin: auto 0 0;
  padding: 25px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.026);
  color: #c5c5d6;
  font-family: var(--font-mono);
  font-size: 11px;
}

.project-links {
  gap: 18px;
  margin-top: 25px;
}

.text-link,
.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 780;
}

.text-link:hover,
.project-links a:hover {
  color: var(--purple-light);
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 330px;
  overflow: hidden;
  place-items: center;
  border-left: 1px solid var(--line-soft);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(99, 102, 241, 0.17), transparent 55%),
    #0c0c17;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.projects-grid > .project-card:not(.project-featured) .project-visual {
  min-height: 280px;
  border-top: 1px solid var(--line-soft);
  border-left: 0;
  order: -1;
}

.operations-ui {
  width: min(82%, 440px);
  transform: rotate(-2deg);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 18px;
  background: rgba(14, 14, 29, 0.94);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.operations-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.operations-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.operations-bar i:nth-child(2) { opacity: 0.62; }
.operations-bar i:nth-child(3) { opacity: 0.3; }

.operations-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.operations-column {
  min-height: 165px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.034);
}

.operations-column span {
  display: block;
  width: 62%;
  height: 5px;
  margin: 3px 0 14px;
  border-radius: 4px;
  background: rgba(192, 132, 252, 0.65);
}

.operations-ticket {
  height: 40px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
}

.operations-ticket.short { width: 78%; }

.logo-visual {
  position: relative;
}

.logo-visual::before {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.18);
  content: "";
  filter: blur(38px);
}

.logo-visual img {
  position: relative;
  width: min(58%, 210px);
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.38));
}

.case-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 25px;
  color: var(--text-secondary);
  font-size: 13px;
}

.case-note svg {
  flex: 0 0 auto;
  width: 18px;
  margin-top: 2px;
  color: var(--green);
}

.timeline {
  position: relative;
  max-width: 920px;
  margin-left: auto;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 109px;
  width: 1px;
  background: linear-gradient(var(--purple), rgba(168, 85, 247, 0.06));
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 52px;
  padding-bottom: 50px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-date {
  padding-top: 5px;
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.timeline-body {
  position: relative;
}

.timeline-body::before {
  position: absolute;
  top: 8px;
  left: -32px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
  content: "";
}

.timeline-body h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
}

.timeline-company {
  margin-bottom: 15px;
  color: #d3d3df;
  font-size: 14px;
  font-weight: 700;
}

.timeline-body > p:last-child {
  color: var(--text-secondary);
}

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

.capability-card {
  min-height: 255px;
  padding: clamp(27px, 4vw, 40px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(20, 20, 35, 0.63);
  transition: border-color 180ms ease, background 180ms ease;
}

.capability-card:hover {
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(25, 25, 45, 0.78);
}

.capability-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 13px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple-light);
}

.capability-icon svg {
  width: 23px;
}

.capability-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

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

.education-card {
  padding: 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.045), transparent);
}

.education-year {
  margin-bottom: 24px;
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
}

.education-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.education-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.certificate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.certificate-row span {
  padding: 9px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: #d4d4e1;
  font-size: 13px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.17), transparent 20rem),
    radial-gradient(circle at 12% 100%, rgba(99, 102, 241, 0.2), transparent 24rem),
    rgba(20, 20, 35, 0.84);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 720px;
  margin-bottom: 22px;
}

.contact-panel > p {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--text-secondary);
  font-size: 17px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 28px;
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-details a:hover {
  color: var(--text);
}

.site-footer {
  padding: 30px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 27px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-links {
  gap: 20px;
}

.footer-links a:hover {
  color: var(--purple-light);
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes drift {
  to { transform: translate3d(80px, 45px, 0) scale(1.15); }
}

@media (max-width: 960px) {
  .hero-grid,
  .section-head,
  .intro-grid,
  .project-featured {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .console-card {
    max-width: 620px;
  }

  .section-head {
    gap: 22px;
  }

  .intro-label {
    position: static;
  }

  .project-featured .project-visual {
    min-height: 310px;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
    order: -1;
  }

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

  .education-card {
    padding-inline: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(10, 10, 18, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, padding 220ms ease, opacity 160ms ease, visibility 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] + .main-nav {
    max-height: calc(100vh - var(--header-height));
    padding-top: 12px;
    padding-bottom: 22px;
    border-color: var(--line-soft);
    opacity: 1;
    visibility: visible;
  }

  .main-nav > a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .main-nav > a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 15px;
    padding-inline: 14px;
    border-bottom: 1px solid rgba(192, 132, 252, 0.4);
    text-align: center;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.5rem);
  }

  .proof-rail {
    grid-template-columns: 1fr;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .projects-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    margin-left: 0;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 32px;
  }

  .timeline-date {
    text-align: left;
  }

  .timeline-body::before {
    top: -27px;
    left: -31px;
  }

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

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

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .operations-board {
    gap: 6px;
    padding: 12px;
  }

  .operations-column {
    min-height: 135px;
    padding: 6px;
  }

  .contact-panel {
    padding: 32px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Components used by the portfolio markup */
svg path,
svg circle,
svg rect {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-link svg path {
  fill: currentColor;
  stroke: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.25), rgba(99, 102, 241, 0.08)), var(--surface-strong);
  box-shadow: inset 0 0 24px rgba(168, 85, 247, 0.16), 0 8px 24px rgba(0, 0, 0, 0.28);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.18em;
}

.brand-mark span:last-child {
  color: var(--purple-light);
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 14px;
}

.brand-copy small {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  transition: transform 170ms ease;
}

.menu-toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.hero.section {
  padding: 76px 0 62px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 13px;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.055);
  color: #b9f5df;
  font-size: 12px;
  font-weight: 750;
}

.kicker,
.section-label {
  margin-bottom: 16px;
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: clamp(1.03rem, 1.6vw, 1.19rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 27px;
}

.button.primary {
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  box-shadow: 0 14px 38px rgba(99, 102, 241, 0.27);
}

.button.secondary {
  border-color: var(--line-soft);
  background: var(--surface-soft);
}

.button.compact {
  min-height: 44px;
  padding: 10px 16px;
}

.hero-meta {
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-meta svg {
  width: 17px;
  color: var(--purple-light);
}

.hero-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(25, 25, 45, 0.94), rgba(12, 12, 23, 0.97));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06);
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 11px 17px;
  border-bottom: 1px solid var(--line-soft);
  color: #818199;
  font-family: var(--font-mono);
  font-size: 10px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.console-dots i:nth-child(2) { background: #fbbf24; }
.console-dots i:nth-child(3) { background: var(--green); }
.console-secure { margin-left: auto; }
.console-secure svg { width: 14px; }

.hero-console .console-body {
  padding: clamp(28px, 5vw, 47px);
  font-family: var(--font-mono);
}

.avatar-shell {
  position: relative;
  display: grid;
  width: clamp(92px, 12vw, 132px);
  aspect-ratio: 1;
  margin-bottom: 32px;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.19), rgba(99, 102, 241, 0.06));
  box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.13);
  font-family: var(--font-sans);
  font-size: 32px;
  letter-spacing: -0.09em;
}

.avatar-ring {
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(192, 132, 252, 0.19);
  border-radius: 22px;
}

.command,
.response {
  margin-bottom: 9px;
  font-size: 12px;
}

.command { color: #c8c8d5; }
.command span { color: var(--green); }
.response { padding-left: 17px; color: var(--purple-light); }
.response.muted { color: var(--text-secondary); }

.console-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 19px 17px;
}

.console-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(192, 132, 252, 0.18);
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.07);
  color: #cfc0e3;
  font-size: 9px;
}

.console-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--line-soft);
  color: #85859c;
  font-size: 10px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.cursor {
  width: 7px;
  height: 12px;
  background: var(--purple-light);
  animation: blink 1s step-end infinite;
}

.proof-rail > div {
  padding: 25px clamp(18px, 3vw, 36px);
  text-align: center;
}

.proof-rail > div + div { border-left: 1px solid var(--line-soft); }
.proof-rail span,
.proof-rail strong,
.proof-rail small { display: block; }
.proof-rail span { margin-bottom: 4px; color: var(--purple-light); font-family: var(--font-mono); font-size: 10px; }
.proof-rail strong { font-size: 15px; }
.proof-rail small { color: var(--text-secondary); font-size: 12px; }

.section-intro { padding-top: clamp(70px, 9vw, 110px); }

.section-intro .intro-grid {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.section-intro h2,
.section-heading h2,
.experience-heading h2,
.education-grid > div:first-child h2,
.contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 5vw, 4.45rem);
  font-weight: 850;
  letter-spacing: -0.06em;
}

.intro-prose p {
  color: var(--text-secondary);
  font-size: clamp(1.06rem, 1.8vw, 1.23rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--text-secondary);
}

.mock-window {
  width: min(84%, 460px);
  transform: rotate(-2deg);
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 17px;
  background: rgba(13, 13, 27, 0.95);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.mock-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.mock-bar span:nth-child(2) { opacity: 0.55; }
.mock-bar span:nth-child(3) { opacity: 0.28; }
.mock-bar b { margin-left: auto; color: #77778d; font-family: var(--font-mono); font-size: 8px; }

.mock-layout { display: grid; grid-template-columns: 44px 1fr; min-height: 235px; }
.mock-side { display: grid; align-content: start; gap: 13px; padding: 17px 13px; border-right: 1px solid var(--line-soft); }
.mock-side i { width: 17px; height: 5px; border-radius: 5px; background: rgba(192, 132, 252, 0.35); }
.mock-main { padding: 17px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stats span { padding: 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.045); }
.mock-stats b, .mock-stats small { display: block; }
.mock-stats b { color: var(--purple-light); font-size: 13px; }
.mock-stats small { color: #77778f; font-size: 6px; text-transform: uppercase; }
.mock-chart {
  margin-top: 11px;
  padding: 9px 10px 5px;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.09);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.07), rgba(255, 255, 255, 0.018));
}

.mock-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a7a7ba;
  font-family: var(--font-mono);
  font-size: 6px;
}

.mock-chart-head em {
  color: #74748b;
  font-size: 5px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-chart svg {
  width: 100%;
  height: 64px;
  margin-top: 4px;
  overflow: visible;
}

.mock-chart .mock-chart-area {
  fill: url(#ops-chart-fill);
  stroke: none;
}

.mock-chart .mock-chart-line {
  fill: none;
  stroke: var(--purple-light);
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  stroke-width: 2;
  animation: chart-draw 3.4s ease-in-out infinite alternate;
}

.mock-chart circle {
  fill: var(--green);
  stroke: rgba(10, 10, 18, 0.8);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: chart-point 2s ease-in-out infinite;
}

.mock-chart circle:nth-of-type(2) { animation-delay: -0.65s; }
.mock-chart circle:nth-of-type(3) { animation-delay: -1.3s; }

.mock-activity {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}

.mock-activity > div {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
  color: #9292a8;
  font-family: var(--font-mono);
  font-size: 5.5px;
}

.mock-activity i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(192, 132, 252, 0.55);
}

.mock-activity .mock-live {
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
  animation: activity-pulse 1.8s ease-in-out infinite;
}

.mock-activity time { color: #65657c; }

@keyframes chart-draw {
  0%, 12% { stroke-dashoffset: 360; opacity: 0.35; }
  82%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes chart-point {
  0%, 100% { transform: scale(0.8); opacity: 0.55; }
  50% { transform: scale(1.35); opacity: 1; }
}

@keyframes activity-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 12px rgba(52, 211, 153, 0.9); }
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 30px;
}

.project-number { color: var(--purple-light); font-family: var(--font-mono); font-size: 11px; font-weight: 800; }
.project-type { color: #85859b; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; }

.project-outcome {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 13px;
  margin-top: 9px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.project-outcome strong { color: var(--green); font-family: var(--font-mono); }
.project-outcome span { color: var(--text-secondary); }

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 25px 0 0;
  list-style: none;
}

.tech-list li {
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: #c5c5d6;
  font-family: var(--font-mono);
  font-size: 9px;
}

.icon-link {
  display: grid !important;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.radar-visual,
.ktr3-visual { isolation: isolate; }
.radar-visual img { z-index: 2; width: min(46%, 145px); object-fit: contain; filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.35)); }
.radar-orbit { position: absolute; border: 1px solid rgba(52, 211, 153, 0.17); border-radius: 50%; }
.orbit-one { width: 210px; height: 210px; }
.orbit-two { width: 285px; height: 285px; }
.radar-stat { position: absolute; z-index: 3; right: 22px; bottom: 20px; padding: 9px 12px; border: 1px solid rgba(52, 211, 153, 0.24); border-radius: 10px; background: rgba(10, 10, 18, 0.85); }
.radar-stat strong, .radar-stat span { display: block; }
.radar-stat strong { color: var(--green); font-family: var(--font-mono); font-size: 12px; }
.radar-stat span { color: var(--text-secondary); font-size: 9px; }
.ktr3-visual img { width: 100% !important; height: 100%; max-height: none; object-fit: cover; filter: none; opacity: 0.9; }
.project-signal, .contact-signal { position: absolute; display: flex; gap: 5px; align-items: flex-end; }
.project-signal { right: 22px; bottom: 19px; z-index: 2; }
.project-signal i, .contact-signal i { width: 3px; border-radius: 3px; background: linear-gradient(var(--pink), var(--purple)); }
.project-signal i:nth-child(1), .contact-signal i:nth-child(8) { height: 8px; }
.project-signal i:nth-child(2), .contact-signal i:nth-child(7) { height: 16px; }
.project-signal i:nth-child(3), .contact-signal i:nth-child(6) { height: 25px; }
.project-signal i:nth-child(4), .contact-signal i:nth-child(5) { height: 34px; }
.project-signal i:nth-child(5), .contact-signal i:nth-child(4) { height: 22px; }
.project-signal i:nth-child(6), .contact-signal i:nth-child(3) { height: 13px; }
.project-signal i:nth-child(7), .contact-signal i:nth-child(2) { height: 29px; }

.case-note {
  display: grid;
  grid-template-columns: 82px minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(24px, 5vw, 65px);
  margin-top: 28px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(20, 20, 35, 0.55);
}

.case-index span, .case-index strong { display: block; font-family: var(--font-mono); }
.case-index span { color: var(--text-secondary); font-size: 9px; }
.case-index strong { color: var(--purple-light); font-size: 24px; }
.case-copy h3 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
.case-copy > p:last-child { color: var(--text-secondary); }
.case-steps { margin: 0; }
.case-steps div { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.case-steps div:first-child { padding-top: 0; }
.case-steps div:last-child { border-bottom: 0; }
.case-steps dt { margin-bottom: 5px; color: var(--green); font-family: var(--font-mono); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.case-steps dd { margin: 0; color: var(--text-secondary); font-size: 13px; }

.other-work {
  margin-top: clamp(70px, 9vw, 110px);
}

.other-work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.other-work-heading h3 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  font-weight: 840;
  letter-spacing: -0.055em;
}

.other-work-heading > p {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 14px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.solution-card {
  position: relative;
  min-height: 270px;
  padding: clamp(25px, 3vw, 34px);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(20, 20, 35, 0.4);
  transition: background 180ms ease, border-color 180ms ease;
}

.solution-card:hover {
  background: rgba(25, 25, 45, 0.72);
}

.solution-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--purple), var(--indigo), transparent);
  content: "";
  transition: transform 180ms ease;
}

.solution-card:hover::after {
  transform: scaleX(1);
}

.solution-index {
  margin-bottom: 30px;
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.solution-card h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.solution-card > p:not(.solution-index) {
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-size: 13px;
}

.solution-card small {
  display: block;
  margin-top: auto;
  color: #8888a0;
  font-family: var(--font-mono);
  font-size: 9px;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.experience-heading { position: sticky; top: calc(var(--header-height) + 30px); }
.experience-heading > p:not(.section-label) { margin: 25px 0 28px; color: var(--text-secondary); }
.experience-grid .timeline { margin: 0; }
.experience-grid .timeline::before { left: 6px; }
.experience-grid .timeline-item { position: relative; display: block; padding: 0 0 47px 42px; }
.experience-grid .timeline-dot { position: absolute; z-index: 1; top: 7px; left: 1px; width: 11px; height: 11px; border: 3px solid var(--bg); border-radius: 50%; background: var(--purple-light); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2); }
.experience-grid .timeline-meta { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.timeline-meta time { color: var(--purple-light); font-family: var(--font-mono); font-size: 10px; font-weight: 800; }
.timeline-meta span { color: #77778f; font-size: 11px; }
.experience-grid .timeline-item h3 { margin-bottom: 7px; font-size: 1.35rem; }
.experience-grid .timeline-company { margin-bottom: 16px; }
.experience-grid .timeline-item ul { margin: 0; padding-left: 17px; color: var(--text-secondary); font-size: 14px; }
.experience-grid .timeline-item p:last-child { color: var(--text-secondary); }
.timeline-muted { opacity: 0.82; }

.capability-number { margin: 0 0 7px !important; color: var(--purple-light) !important; font-family: var(--font-mono); font-size: 9px !important; }
.capability-card ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 20px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-soft); list-style: none; }
.capability-card li { position: relative; padding-left: 11px; color: #c6c6d6; font-family: var(--font-mono); font-size: 10px; }
.capability-card li::before { position: absolute; top: 0.72em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--purple); content: ""; }

.education-grid {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.1fr) minmax(170px, 0.45fr);
  align-items: start;
}

.education-list article { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.education-list article:last-child { border-bottom: 1px solid var(--line-soft); }
.education-list time { color: var(--purple-light); font-family: var(--font-mono); font-size: 10px; }
.education-list h3 { margin-bottom: 7px; font-size: 1.06rem; }
.education-list p { color: var(--text-secondary); font-size: 13px; }
.education-notes { display: flex; flex-wrap: wrap; gap: 8px; }
.education-notes span { padding: 7px 10px; border: 1px solid var(--line-soft); border-radius: 9px; color: #d0d0dc; font-size: 11px; }

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(35px, 7vw, 90px);
  overflow: hidden;
  padding: clamp(42px, 7vw, 80px);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.17), transparent 20rem), radial-gradient(circle at 12% 100%, rgba(99, 102, 241, 0.2), transparent 24rem), rgba(20, 20, 35, 0.84);
  box-shadow: var(--shadow);
}

.contact-card h2 { margin-bottom: 24px; }
.contact-card > div > p:last-child { color: var(--text-secondary); }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.contact-links { display: flex; justify-content: space-between; gap: 15px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.contact-links a { color: var(--text-secondary); font-size: 12px; }
.contact-links a:hover { color: var(--purple-light); }
.contact-signal { top: 18px; right: 24px; opacity: 0.42; }

.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 12px; }
.site-footer .footer-inner > p { margin: 0; text-align: center; }

@media (max-width: 960px) {
  .section-intro .intro-grid,
  .section-heading,
  .other-work-heading,
  .case-note,
  .experience-grid,
  .education-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .experience-heading { position: static; }
  .education-grid { gap: 38px; }
  .contact-actions { max-width: 440px; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero.section { padding-top: 45px; }
  .proof-rail > div + div { border-top: 1px solid var(--line-soft); border-left: 0; }
  .case-note { grid-template-columns: 1fr; }
  .case-index { display: flex; align-items: baseline; gap: 7px; }
  .capability-card ul { grid-template-columns: 1fr; }
  .contact-card { padding: 38px 24px; }
  .site-footer .footer-inner > p { text-align: left; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
}

@media (max-width: 460px) {
  .brand-copy { display: none; }
  .hero-actions .button { width: 100%; }
  .project-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .education-list article { grid-template-columns: 1fr; gap: 7px; }
}
