/* Ravindra Kumar v2 — production-focused responsive portfolio */
:root {
  --bg: #07111e;
  --bg-2: #0a1726;
  --panel: #0d1d2e;
  --panel-2: #102338;
  --text: #f5f8fc;
  --muted: #9db0c4;
  --soft: #c7d4e1;
  --line: rgba(181, 211, 235, 0.14);
  --line-strong: rgba(181, 211, 235, 0.26);
  --cyan: #6ed6ff;
  --cyan-2: #a9ebff;
  --mint: #9df3d1;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 15px;
  --shell: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(
      850px 500px at 80% -5%,
      rgba(32, 157, 214, 0.11),
      transparent 62%
    ),
    radial-gradient(
      700px 500px at 5% 30%,
      rgba(75, 229, 183, 0.045),
      transparent 62%
    );
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
}
.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}
.section-pad {
  padding: 104px 0;
}
.no-top {
  padding-top: 24px;
}
.section-muted {
  background: rgba(255, 255, 255, 0.016);
  border-block: 1px solid rgba(255, 255, 255, 0.035);
}
.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 9999;
  background: white;
  color: #07111e;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus {
  top: 14px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
  background: rgba(7, 17, 30, 0.76);
  backdrop-filter: blur(18px);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 17, 30, 0.93);
}
.nav-shell {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(
    145deg,
    rgba(110, 214, 255, 0.08),
    rgba(157, 243, 209, 0.04)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}
.brand-text {
  display: grid;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.69rem;
  margin-top: 4px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  padding: 10px 12px;
  color: #aebed0;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 10px;
  transition: 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}
.nav-cta {
  margin-left: 6px;
}
.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  color: white;
}
.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: 0.2s;
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(7, 17, 30, 0.98);
  padding: 16px 24px 24px;
}
.mobile-nav nav {
  width: min(100%, 680px);
  margin: auto;
  display: grid;
  gap: 6px;
}
.mobile-nav a:not(.button) {
  padding: 13px 14px;
  border-radius: 11px;
  color: var(--soft);
  font-weight: 700;
}
.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button svg,
.text-link svg,
.icon-link svg,
.footer-social svg,
.note-card b svg,
.note-row > svg,
.case-index > svg,
.portfolio-cards svg,
.email-hero svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.16),
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.button:hover::before {
  transform: translateX(120%);
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: linear-gradient(135deg, var(--cyan-2), var(--cyan));
  color: #04101b;
  box-shadow: 0 10px 30px rgba(68, 191, 235, 0.18);
}
.button-primary:hover {
  box-shadow: 0 15px 38px rgba(68, 191, 235, 0.27);
}
.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #eef6ff;
}
.button-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(169, 235, 255, 0.35);
}
.button-small {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 0.8rem;
}
.button-full {
  width: 100%;
  margin-top: 22px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
}
.hero::after {
  content: "";
  position: absolute;
  left: calc(50% + 250px);
  top: 20px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(110, 214, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(110, 214, 255, 0.018),
    0 0 0 180px rgba(110, 214, 255, 0.012);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 88px;
  align-items: center;
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(157, 243, 209, 0.16);
  border-radius: 999px;
  background: rgba(157, 243, 209, 0.045);
  color: #c8f9e7;
  font-size: 0.73rem;
  font-weight: 700;
  margin-bottom: 26px;
}
.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  opacity: 0.35;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.4rem, 6.2vw, 6.2rem);
  line-height: 0.97;
  letter-spacing: -0.068em;
  font-weight: 850;
}
.hero h1 span {
  display: block;
  color: #b7c6d7;
}
.hero-description {
  max-width: 760px;
  margin: 28px 0 0;
  color: #aebed0;
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  line-height: 1.75;
}
.hero-description strong {
  color: #fff;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-facts svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
}
.hero-facts span {
  display: grid;
}
.hero-facts small {
  color: var(--muted);
  font-size: 0.68rem;
}
.hero-facts strong {
  font-size: 0.78rem;
}
.hero-visual {
  position: relative;
  z-index: 1;
}
.portrait-frame {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background: #101f30;
  box-shadow: var(--shadow);
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(7, 17, 30, 0.28));
  pointer-events: none;
}
.portrait-grid {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(110, 214, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 214, 255, 0.2) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.portrait-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.08;
  object-fit: cover;
  object-position: center 15%;
}
.portrait-number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.focus-card {
  position: absolute;
  left: -46px;
  bottom: -38px;
  width: min(310px, 85%);
  padding: 20px 22px;
  border: 1px solid rgba(169, 235, 255, 0.25);
  border-radius: 18px;
  background: rgba(8, 22, 36, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.focus-label {
  display: block;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.focus-card strong {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}
.focus-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}
.signal-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.signal-grid > div {
  min-height: 118px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signal-grid > div:first-child {
  border-left: 1px solid var(--line);
}
.metric {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.signal-grid span:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.64fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head.compact {
  align-items: center;
}
.section-head h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(15, 34, 53, 0.88),
    rgba(9, 25, 41, 0.8)
  );
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}
.status-chip {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(157, 243, 209, 0.07);
  border: 1px solid rgba(157, 243, 209, 0.18);
  color: #cef9e8;
  font-size: 0.68rem;
  font-weight: 800;
}
.feature-copy h3 {
  margin: 18px 0 12px;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}
.feature-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 580px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag-row span,
.stack-list span,
.resume-skills span {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.026);
  color: #c4d2df;
  font-size: 0.72rem;
  font-weight: 700;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--cyan-2);
  font-size: 0.82rem;
  font-weight: 850;
}
.text-link:hover {
  color: white;
}
.route-visual {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px 0 14px 30px;
}
.route-line {
  position: absolute;
  left: 45px;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(110, 214, 255, 0.08));
}
.route-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(7, 17, 30, 0.55);
  border-radius: 14px;
}
.route-step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0c2438;
  border: 1px solid rgba(110, 214, 255, 0.25);
  color: var(--cyan);
  font-size: 0.68rem;
}
.route-step span {
  font-size: 0.83rem;
  font-weight: 800;
}
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.system-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    155deg,
    rgba(16, 35, 56, 0.8),
    rgba(9, 24, 39, 0.62)
  );
  transition: 0.25s;
}
.system-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 214, 255, 0.25);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}
.system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.system-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(110, 214, 255, 0.07);
  border: 1px solid rgba(110, 214, 255, 0.16);
  color: var(--cyan);
}
.system-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.system-index {
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.kicker {
  margin: 30px 0 8px;
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.system-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.system-card h3 span {
  color: #9fb0c1;
  font-weight: 650;
}
.system-card > p {
  color: var(--muted);
  margin: 16px 0 20px;
}
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.clean-list li {
  position: relative;
  padding-left: 19px;
  color: #c0cfdd;
  font-size: 0.86rem;
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.clean-list.large li {
  font-size: 0.94rem;
}
.card-bottom {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.card-bottom > span {
  color: var(--muted);
  font-size: 0.72rem;
}
.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--cyan);
  transition: 0.2s;
}
.icon-link:hover {
  background: var(--cyan);
  color: #07111e;
  transform: translateX(2px);
}
.experience-list {
  border-top: 1px solid var(--line);
}
.experience-list article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 50px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.experience-list time {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}
.experience-list article > div > span {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
}
.experience-list h3 {
  margin: 4px 0 5px;
  font-size: 1.35rem;
}
.experience-list p {
  margin: 0;
  color: var(--muted);
  max-width: 780px;
  font-size: 0.9rem;
}
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.note-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0b1a2a;
  transition: 0.25s;
}
.note-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 214, 255, 0.24);
}
.note-card > span {
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.note-card h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}
.note-card p {
  color: var(--muted);
  font-size: 0.87rem;
}
.note-card b {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
  color: #d9f4ff;
  font-size: 0.77rem;
}
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(110, 214, 255, 0.18);
  background: linear-gradient(
    130deg,
    rgba(18, 48, 70, 0.82),
    rgba(11, 27, 44, 0.86)
  );
  overflow: hidden;
  position: relative;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(110, 214, 255, 0.1);
  box-shadow: 0 0 0 70px rgba(110, 214, 255, 0.025);
}
.cta-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.cta-panel p {
  max-width: 700px;
  color: var(--muted);
  margin: 14px 0 0;
}
.cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-hero {
  padding-top: 92px;
  padding-bottom: 66px;
}
.page-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: 0.97;
  letter-spacing: -0.067em;
}
.page-lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.case-index-grid {
  display: grid;
  gap: 12px;
}
.case-index {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
  transition: 0.22s;
}
.case-index:hover {
  transform: translateX(5px);
  border-color: rgba(110, 214, 255, 0.26);
  background: rgba(110, 214, 255, 0.035);
}
.case-index > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
}
.case-index p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.case-index h2 {
  margin: 4px 0;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}
.case-index small {
  color: #91a4b8;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.principle-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
}
.principle-grid article:last-child {
  border-right: 0;
}
.principle-grid span {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
}
.principle-grid h3 {
  margin: 44px 0 10px;
  font-size: 1.2rem;
}
.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.case-main,
.case-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.021);
}
.case-main {
  padding: 42px;
}
.case-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-labels span {
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #b7c8d8;
  font-size: 0.68rem;
  font-weight: 800;
}
.case-main h2 {
  margin: 26px 0 14px;
  max-width: 750px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.case-main > p {
  max-width: 780px;
  color: var(--muted);
}
.capability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.capability-grid > div {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7, 17, 30, 0.35);
}
.capability-grid b {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(110, 214, 255, 0.07);
  color: var(--cyan);
}
.capability-grid b svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.capability-grid span {
  display: grid;
}
.capability-grid strong {
  font-size: 0.82rem;
}
.capability-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}
.case-sidebar {
  position: sticky;
  top: 106px;
  padding: 28px;
}
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.privacy-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.privacy-note strong {
  font-size: 0.82rem;
}
.privacy-note p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.architecture {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #091827;
}
.arch-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.architecture.wide .arch-row:first-child {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: auto;
}
.architecture.wide .arch-row:last-child {
  grid-template-columns: repeat(5, 1fr);
}
.arch-node {
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  font-weight: 800;
  font-size: 0.8rem;
  color: #cfe0ed;
}
.arch-node.strong {
  max-width: 470px;
  margin: auto;
  background: linear-gradient(
    135deg,
    rgba(110, 214, 255, 0.12),
    rgba(157, 243, 209, 0.06)
  );
  border-color: rgba(110, 214, 255, 0.25);
  color: white;
}
.arch-node.soft {
  max-width: 470px;
  margin: auto;
}
.arch-arrow {
  text-align: center;
  color: var(--cyan);
  font-size: 1.3rem;
  line-height: 1;
  padding: 10px;
}
.gps-story {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 90px;
  align-items: start;
}
.gps-story h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.gps-story > div:first-child > p:last-child {
  color: var(--muted);
}
.vertical-flow {
  position: relative;
}
.vertical-flow::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(110, 214, 255, 0.05));
}
.vertical-flow > div {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 20px;
  padding: 0 0 34px;
}
.vertical-flow > div:last-child {
  padding-bottom: 0;
}
.vertical-flow span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(110, 214, 255, 0.3);
  background: #0b2134;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 900;
}
.vertical-flow h3 {
  margin: 2px 0 5px;
  font-size: 1.1rem;
}
.vertical-flow p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.portfolio-block {
  padding: 0 0 70px;
}
.portfolio-block + .portfolio-block {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.portfolio-heading {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.portfolio-heading > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
}
.portfolio-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}
.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.portfolio-cards.compact {
  grid-template-columns: repeat(5, 1fr);
}
.portfolio-cards > a,
.portfolio-cards > article {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: 0.22s;
}
.portfolio-cards > a:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 214, 255, 0.26);
}
.portfolio-cards small {
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.portfolio-cards h3 {
  margin: 40px 0 9px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.portfolio-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.portfolio-cards svg {
  margin-top: auto;
  padding-top: 20px;
  box-sizing: content-box;
  color: var(--cyan);
}
.note-list {
  display: grid;
}
.note-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  transition: 0.2s;
}
.note-row:last-child {
  border-bottom: 1px solid var(--line);
}
.note-row:hover {
  padding-left: 10px;
}
.note-row > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
}
.note-row small {
  color: var(--cyan);
  font-weight: 800;
}
.note-row h2 {
  margin: 5px 0 7px;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
}
.note-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: start;
}
.about-portrait {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #102236;
}
.about-portrait img {
  aspect-ratio: 1/1.08;
  object-fit: cover;
  object-position: center 15%;
}
.about-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  letter-spacing: -0.055em;
}
.about-copy .lead {
  font-size: 1.13rem;
  color: #d6e2ec;
}
.about-copy p {
  color: var(--muted);
  max-width: 760px;
}
.timeline {
  border-top: 1px solid var(--line);
}
.timeline article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 46px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.timeline time {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
}
.timeline h3 {
  margin: 0;
  font-size: 1.28rem;
}
.timeline span {
  display: block;
  color: #b9c8d7;
  font-size: 0.82rem;
  margin-top: 4px;
}
.timeline p {
  max-width: 790px;
  color: var(--muted);
  font-size: 0.86rem;
}
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.info-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}
.info-panel h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}
.info-panel p {
  color: var(--muted);
}
.resume-sheet {
  max-width: 980px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a1827;
}
.resume-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.resume-top h2 {
  margin: 0;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}
.resume-top p {
  margin: 5px 0 0;
  color: var(--muted);
}
.resume-links {
  display: grid;
  gap: 5px;
  text-align: right;
  font-size: 0.78rem;
  color: #c5d3e1;
}
.resume-sheet section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.resume-sheet section > h3 {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.resume-sheet section > p,
.resume-item li {
  color: #bdcbd8;
}
.resume-item + .resume-item {
  margin-top: 24px;
}
.resume-item > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.resume-item > div span {
  color: var(--muted);
  font-size: 0.75rem;
}
.resume-item > b {
  display: block;
  margin: 3px 0 8px;
  font-size: 0.85rem;
}
.resume-item ul {
  margin: 0;
  padding-left: 20px;
}
.resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.resume-actions {
  display: flex;
  gap: 10px;
  padding-top: 28px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.contact-main,
.contact-links {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.contact-main {
  padding: 42px;
}
.contact-main h2 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.email-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  font-size: clamp(0.95rem, 2.4vw, 1.4rem);
  font-weight: 850;
  color: var(--cyan-2);
}
.contact-main > p:last-child {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 26px;
}
.contact-links {
  padding: 16px;
}
.contact-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  padding: 20px;
  border-radius: 14px;
  border-bottom: 1px solid var(--line);
  transition: 0.2s;
}
.contact-links a:last-child {
  border-bottom: 0;
}
.contact-links a:hover {
  background: rgba(255, 255, 255, 0.035);
}
.contact-links span {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.7rem;
}
.contact-links strong {
  grid-column: 1;
  font-size: 0.9rem;
}
.contact-links svg {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 70px;
  align-items: start;
}
.prose {
  max-width: 780px;
}
.prose h2 {
  margin: 0 0 22px;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}
.prose h3 {
  margin: 38px 0 10px;
  font-size: 1.25rem;
}
.prose p {
  color: #b9c8d7;
}
.article-note {
  margin-top: 50px;
  padding: 22px;
  border: 1px solid rgba(157, 243, 209, 0.15);
  border-radius: 15px;
  background: rgba(157, 243, 209, 0.035);
}
.article-note strong {
  font-size: 0.82rem;
}
.article-note p {
  margin: 6px 0 0;
  font-size: 0.8rem;
}
.article-aside {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.02);
}
.article-aside strong {
  display: block;
}
.article-aside span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 4px;
}
.article-aside a {
  display: block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
}
.site-footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  background: #06101b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 70px;
}
.footer-brand {
  font-size: 1.12rem;
  font-weight: 900;
}
.footer-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-nav,
.footer-social {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-nav a,
.footer-social a {
  color: #aebed0;
  font-size: 0.8rem;
  font-weight: 700;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-social svg {
  width: 14px;
  height: 14px;
}
.footer-nav a:hover,
.footer-social a:hover {
  color: white;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #70869b;
  font-size: 0.7rem;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
:focus-visible {
  outline: 3px solid rgba(110, 214, 255, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}
@media (max-width: 1060px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }
  .menu-button {
    display: flex;
  }
  .hero-layout {
    grid-template-columns: 1fr 0.67fr;
    gap: 54px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 7vw, 5.2rem);
  }
  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .signal-grid > div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }
  .signal-grid > div {
    border-bottom: 1px solid var(--line);
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
  .note-grid {
    grid-template-columns: 1fr 1fr;
  }
  .note-grid .note-card:last-child {
    grid-column: 1/-1;
  }
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }
  .principle-grid article {
    border-bottom: 1px solid var(--line);
  }
  .principle-grid article:nth-child(2) {
    border-right: 0;
  }
  .case-layout {
    grid-template-columns: 1fr;
  }
  .case-sidebar {
    position: static;
  }
  .architecture.wide .arch-row:last-child {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio-cards.compact {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 320px 1fr;
    gap: 42px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }
  .section-pad {
    padding: 76px 0;
  }
  .no-top {
    padding-top: 8px;
  }
  .nav-shell {
    height: 70px;
  }
  .brand-text small {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .hero-copy {
    order: 1;
  }
  .hero-visual {
    order: 0;
    max-width: 450px;
    margin-inline: auto;
    width: 100%;
  }
  .portrait-frame {
    margin: auto;
  }
  .focus-card {
    left: 14px;
    bottom: -38px;
  }
  .hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-actions {
    display: grid;
  }
  .button {
    width: 100%;
  }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .signal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .signal-grid > div {
    min-height: 105px;
    padding: 20px 16px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
  .feature-split {
    padding: 24px;
  }
  .route-visual {
    padding-left: 0;
  }
  .route-line {
    left: 16px;
  }
  .route-step {
    grid-template-columns: 34px 1fr;
  }
  .system-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }
  .note-grid .note-card:last-child {
    grid-column: auto;
  }
  .system-card {
    min-height: 0;
    padding: 26px;
  }
  .experience-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .cta-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .cta-buttons {
    display: grid;
  }
  .page-hero {
    padding-top: 62px;
    padding-bottom: 48px;
  }
  .page-hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }
  .case-index {
    grid-template-columns: 42px 1fr auto;
    padding: 22px 18px;
  }
  .case-index h2 {
    font-size: 1.25rem;
  }
  .principle-grid {
    grid-template-columns: 1fr;
  }
  .principle-grid article {
    border-right: 0;
    min-height: 0;
  }
  .case-main {
    padding: 24px;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .architecture {
    padding: 20px;
  }
  .arch-row,
  .architecture.wide .arch-row:first-child,
  .architecture.wide .arch-row:last-child {
    grid-template-columns: 1fr;
  }
  .gps-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .portfolio-heading {
    grid-template-columns: 38px 1fr;
  }
  .portfolio-cards,
  .portfolio-cards.compact {
    grid-template-columns: 1fr;
  }
  .portfolio-cards > a,
  .portfolio-cards > article {
    min-height: 220px;
  }
  .note-row {
    grid-template-columns: 40px 1fr;
    padding: 24px 0;
  }
  .note-row > svg {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-portrait {
    max-width: 420px;
    margin: auto;
  }
  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .dual-grid {
    grid-template-columns: 1fr;
  }
  .resume-sheet {
    padding: 26px 20px;
  }
  .resume-top {
    display: grid;
  }
  .resume-links {
    text-align: left;
  }
  .resume-item > div {
    display: grid;
  }
  .resume-actions {
    display: grid;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-main {
    padding: 26px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-aside {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    display: grid;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 470px) {
  .hero-facts {
    grid-template-columns: 1fr;
  }
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .signal-grid > div {
    border-left: 1px solid var(--line) !important;
  }
  .feature-copy h3 {
    font-size: 1.7rem;
  }
  .case-index {
    grid-template-columns: 34px 1fr;
  }
  .case-index > svg {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pulse::after {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button,
  .system-card,
  .note-card,
  .case-index {
    transition: none;
  }
}
@media print {
  body {
    background: white;
    color: #111;
  }
  .site-header,
  .site-footer,
  .page-hero,
  .no-print {
    display: none !important;
  }
  .print-resume {
    padding: 0;
  }
  .resume-sheet {
    max-width: none;
    border: 0;
    background: white;
    color: #111;
    padding: 0;
  }
  .resume-sheet * {
    color: #111 !important;
  }
  .resume-sheet section,
  .resume-top {
    border-color: #bbb;
  }
  .resume-skills span {
    border-color: #bbb;
    background: white;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Ravindra Kumar v3 — premium interaction & visual polish
   Keeps the existing semantic markup, improves the design
   system, micro-interactions and responsive presentation.
   ========================================================= */
:root {
  --bg: #050914;
  --bg-2: #08101e;
  --panel: #0b1526;
  --panel-2: #101d31;
  --text: #f7fbff;
  --muted: #91a4bb;
  --soft: #cbd8e6;
  --line: rgba(173, 211, 241, 0.13);
  --line-strong: rgba(173, 225, 255, 0.25);
  --cyan: #68ddff;
  --cyan-2: #b4f1ff;
  --blue: #6a8cff;
  --violet: #a48cff;
  --mint: #88f2c7;
  --rose: #ff9fc9;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.24);
  --glow:
    0 0 0 1px rgba(116, 220, 255, 0.08), 0 28px 80px rgba(56, 147, 255, 0.12);
  --radius: 28px;
  --radius-sm: 17px;
}

html {
  scroll-padding-top: 104px;
}
body {
  background:
    radial-gradient(
      900px 650px at 92% -8%,
      rgba(89, 126, 255, 0.15),
      transparent 62%
    ),
    radial-gradient(
      900px 620px at -8% 18%,
      rgba(66, 208, 255, 0.1),
      transparent 64%
    ),
    linear-gradient(180deg, #050914 0%, #07101c 46%, #050914 100%);
  background-attachment: fixed;
}
body::before {
  background:
    radial-gradient(
      700px 480px at 78% 0%,
      rgba(111, 218, 255, 0.1),
      transparent 65%
    ),
    radial-gradient(
      680px 520px at 8% 34%,
      rgba(155, 128, 255, 0.07),
      transparent 68%
    );
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(
    rgba(176, 216, 245, 0.24) 0.65px,
    transparent 0.65px
  );
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    transparent 82%
  );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}
::selection {
  background: rgba(104, 221, 255, 0.25);
  color: #fff;
}

.scroll-progress {
  position: fixed;
  z-index: 1400;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 18px rgba(104, 221, 255, 0.55);
}

/* Floating premium navigation */
.site-header {
  top: 0;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.site-header.scrolled {
  background: transparent;
  border: 0;
}
.nav-shell {
  height: 68px;
  padding: 0 9px 0 12px;
  border: 1px solid rgba(183, 220, 248, 0.13);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(11, 22, 38, 0.88),
    rgba(7, 15, 28, 0.78)
  );
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  box-shadow:
    0 12px 45px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.site-header.scrolled .nav-shell {
  border-color: rgba(173, 225, 255, 0.21);
  background: linear-gradient(
    135deg,
    rgba(10, 21, 37, 0.96),
    rgba(6, 14, 27, 0.94)
  );
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(104, 221, 255, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.brand {
  padding: 4px 8px 4px 3px;
  border-radius: 15px;
  transition: background 0.2s ease;
}
.brand:hover {
  background: rgba(255, 255, 255, 0.035);
}
.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(157, 231, 255, 0.26);
  color: #d8f8ff;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.19),
      transparent 32%
    ),
    linear-gradient(145deg, rgba(69, 192, 255, 0.24), rgba(119, 106, 255, 0.15));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 8px 24px rgba(58, 156, 255, 0.14);
}
.brand-text strong {
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: -0.018em;
}
.brand-text small {
  color: #8097ad;
}
.desktop-nav {
  gap: 2px;
}
.desktop-nav a {
  padding: 10px 13px;
  border-radius: 12px;
  color: #9fb2c8;
  font-size: 0.82rem;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.desktop-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-1px);
}
.desktop-nav a.active {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(104, 221, 255, 0.09),
    rgba(120, 125, 255, 0.08)
  );
  box-shadow: inset 0 0 0 1px rgba(157, 228, 255, 0.07);
}
.desktop-nav a.active::after {
  left: 50%;
  right: auto;
  bottom: 4px;
  width: 18px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 9px rgba(104, 221, 255, 0.45);
}
.menu-button {
  border-color: rgba(177, 220, 249, 0.18);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}
.mobile-nav {
  margin: 8px auto 0;
  width: min(calc(100% - 28px), 680px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(6, 14, 26, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.mobile-nav a:not(.button) {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.mobile-nav a:not(.button):hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  transform: translateX(3px);
}

/* Buttons — premium gradient borders, icon bubbles and tactile states */
.button {
  isolation: isolate;
  min-height: 54px;
  padding: 0 19px 0 22px;
  border-radius: 16px;
  font-size: 0.87rem;
  font-weight: 850;
  letter-spacing: -0.012em;
  transform: translateZ(0);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    filter 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.button::before {
  inset: -35% -15%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 47%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 70%
  );
  transform: translateX(-115%) rotate(6deg);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
.button::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -2;
  border-radius: 15px;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.2),
    transparent 42%
  );
  transition: opacity 0.2s ease;
}
.button:hover::before {
  transform: translateX(115%) rotate(6deg);
}
.button:hover::after {
  opacity: 1;
}
.button:hover {
  transform: translateY(-3px);
}
.button:active {
  transform: translateY(-1px) scale(0.985);
}
.button svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.button:hover svg {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.21);
}
.button-primary {
  border-color: rgba(184, 239, 255, 0.28);
  background: linear-gradient(
    120deg,
    #baf3ff 0%,
    #6bdcff 34%,
    #73a0ff 70%,
    #a792ff 100%
  );
  background-size: 170% 100%;
  color: #04101d;
  box-shadow:
    0 13px 34px rgba(53, 164, 255, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.38);
}
.button-primary:hover {
  background-position: 100% 0;
  box-shadow:
    0 18px 45px rgba(65, 169, 255, 0.31),
    0 0 0 1px rgba(151, 226, 255, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.45);
  filter: saturate(1.06);
}
.button-primary svg {
  background: rgba(5, 19, 31, 0.12);
  border-color: rgba(5, 19, 31, 0.08);
}
.button-secondary {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(12, 24, 42, 0.96), rgba(9, 18, 33, 0.94))
      padding-box,
    linear-gradient(
        135deg,
        rgba(142, 229, 255, 0.32),
        rgba(124, 135, 255, 0.22),
        rgba(255, 255, 255, 0.08)
      )
      border-box;
  color: #f2f8ff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.045);
}
.button-secondary:hover {
  background:
    linear-gradient(135deg, rgba(15, 31, 53, 0.98), rgba(11, 22, 39, 0.98))
      padding-box,
    linear-gradient(
        135deg,
        rgba(137, 232, 255, 0.55),
        rgba(129, 139, 255, 0.42),
        rgba(255, 159, 201, 0.2)
      )
      border-box;
  box-shadow:
    0 17px 36px rgba(0, 0, 0, 0.25),
    0 0 32px rgba(85, 173, 255, 0.08);
}
.button-small {
  min-height: 44px;
  border-radius: 13px;
  padding: 0 13px 0 16px;
  font-size: 0.78rem;
}
.button-small svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 8px;
}
.button .ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%) scale(0);
  animation: buttonRipple 0.65s ease-out forwards;
}
@keyframes buttonRipple {
  to {
    transform: translate(-50%, -50%) scale(24);
    opacity: 0;
  }
}

/* Typography & hero */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #82e7ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 8px rgba(104, 221, 255, 0.35);
}
.hero {
  padding-top: 104px;
  padding-bottom: 112px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 58%;
  top: 12%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(104, 221, 255, 0.11) 0,
    rgba(107, 134, 255, 0.07) 34%,
    transparent 68%
  );
  filter: blur(4px);
}
.hero::after {
  left: auto;
  right: -190px;
  top: -70px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(118, 211, 255, 0.08);
  box-shadow:
    0 0 0 100px rgba(104, 221, 255, 0.018),
    0 0 0 200px rgba(119, 119, 255, 0.012),
    0 0 0 300px rgba(255, 255, 255, 0.006);
}
.hero-layout {
  gap: 86px;
}
.availability {
  padding: 9px 13px;
  border-color: rgba(136, 242, 199, 0.22);
  background: linear-gradient(
    135deg,
    rgba(136, 242, 199, 0.075),
    rgba(104, 221, 255, 0.035)
  );
  color: #d6fff0;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 9px 25px rgba(0, 0, 0, 0.12);
}
.hero h1 {
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(
    95deg,
    #d8e7f4 0%,
    #94b8d2 35%,
    #7de3ff 68%,
    #a89dff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-description {
  color: #a4b7ca;
}
.hero-description strong {
  color: #eff9ff;
  text-shadow: 0 0 22px rgba(104, 221, 255, 0.08);
}
.hero-actions {
  gap: 13px;
  margin-top: 36px;
}
.hero-facts {
  border-top-color: rgba(169, 215, 247, 0.12);
}
.hero-facts > div {
  padding: 8px 0;
}
.hero-facts svg {
  stroke: #7be4ff;
  filter: drop-shadow(0 0 7px rgba(104, 221, 255, 0.25));
}
.hero-facts strong {
  color: #e9f5ff;
}
.portrait-frame {
  border-color: rgba(168, 225, 255, 0.22);
  border-radius: 34px;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(104, 221, 255, 0.035),
    0 0 70px rgba(61, 141, 255, 0.08);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 70px rgba(73, 176, 255, 0.035);
}
.portrait-frame::after {
  z-index: 2;
  height: 46%;
  background: linear-gradient(transparent, rgba(4, 10, 20, 0.48));
}
.portrait-grid {
  opacity: 0.16;
  background-size: 38px 38px;
}
.portrait-number {
  z-index: 4;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(4, 10, 19, 0.24);
  backdrop-filter: blur(8px);
}
.focus-card {
  left: -54px;
  bottom: -36px;
  padding: 22px 23px;
  border-color: rgba(142, 227, 255, 0.28);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(11, 25, 43, 0.94),
    rgba(7, 17, 31, 0.92)
  );
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.39),
    0 0 45px rgba(55, 154, 255, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.045);
}
.focus-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(104, 221, 255, 0.35);
}
.focus-label {
  color: #7de8ff;
}

/* Metric strip as a bento row */
.signal-strip {
  padding: 22px 0;
  border: 0;
  background: transparent;
}
.signal-grid {
  gap: 12px;
}
.signal-grid > div {
  min-height: 122px !important;
  padding: 25px 25px !important;
  border: 1px solid rgba(173, 218, 249, 0.12) !important;
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(104, 221, 255, 0.07),
      transparent 38%
    ),
    linear-gradient(145deg, rgba(13, 27, 46, 0.78), rgba(8, 18, 33, 0.72));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 12px 35px rgba(0, 0, 0, 0.11);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.metric {
  font-size: 1.28rem;
  background: linear-gradient(90deg, #fff, #bfeeff 60%, #a9a4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.signal-grid span:last-child {
  color: #8298ae;
}

/* Global interactive surfaces */
.feature-split,
.system-card,
.note-card,
.case-index,
.portfolio-cards > a,
.portfolio-cards > article,
.info-panel,
.contact-main,
.contact-links,
.resume-sheet,
.article-aside,
.principle-grid article,
.case-main,
.architecture {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.feature-split::before,
.system-card::before,
.note-card::before,
.case-index::before,
.portfolio-cards > a::before,
.portfolio-cards > article::before,
.info-panel::before,
.contact-main::before,
.contact-links::before,
.resume-sheet::before,
.article-aside::before,
.principle-grid article::before,
.case-main::before,
.architecture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    440px circle at var(--mx, 50%) var(--my, 50%),
    rgba(104, 221, 255, 0.1),
    rgba(112, 126, 255, 0.035) 32%,
    transparent 68%
  );
  transition: opacity 0.25s ease;
}
.feature-split:hover::before,
.system-card:hover::before,
.note-card:hover::before,
.case-index:hover::before,
.portfolio-cards > a:hover::before,
.portfolio-cards > article:hover::before,
.info-panel:hover::before,
.contact-main:hover::before,
.contact-links:hover::before,
.resume-sheet:hover::before,
.article-aside:hover::before,
.principle-grid article:hover::before,
.case-main:hover::before,
.architecture:hover::before {
  opacity: 1;
}

.section-pad {
  padding: 112px 0;
}
.section-muted {
  border-block-color: rgba(174, 214, 245, 0.07);
  background:
    radial-gradient(
      800px 420px at 90% 10%,
      rgba(95, 118, 255, 0.055),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.012),
      rgba(255, 255, 255, 0.022),
      rgba(255, 255, 255, 0.012)
    );
}
.section-head h2 {
  font-weight: 880;
  text-wrap: balance;
}
.section-head > p {
  color: #8fa3b9;
}

.feature-split {
  gap: 42px;
  padding: 46px;
  border-color: rgba(174, 220, 250, 0.15);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(111, 120, 255, 0.1),
      transparent 35%
    ),
    linear-gradient(145deg, rgba(14, 31, 51, 0.91), rgba(7, 18, 33, 0.89));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.045);
}
.status-chip {
  padding: 8px 12px;
  border-color: rgba(136, 242, 199, 0.23);
  background: linear-gradient(
    135deg,
    rgba(136, 242, 199, 0.09),
    rgba(104, 221, 255, 0.035)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}
.feature-copy h3 {
  font-weight: 880;
}
.tag-row span,
.stack-list span,
.resume-skills span {
  border-color: rgba(174, 218, 248, 0.12);
  border-radius: 11px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.038),
    rgba(255, 255, 255, 0.018)
  );
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.tag-row span:hover,
.stack-list span:hover,
.resume-skills span:hover {
  border-color: rgba(104, 221, 255, 0.28);
  background: rgba(104, 221, 255, 0.055);
  color: #e9faff;
  transform: translateY(-1px);
}
.text-link {
  color: #9be9ff;
  font-weight: 850;
  padding: 8px 0;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}
.text-link svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 9px;
  background: rgba(104, 221, 255, 0.07);
  border: 1px solid rgba(104, 221, 255, 0.12);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}
.text-link:hover {
  color: #d6f8ff;
  gap: 12px;
}
.text-link:hover svg {
  transform: translateX(3px);
  background: rgba(104, 221, 255, 0.13);
}

/* Route / process visual */
.route-visual {
  border-left-color: rgba(104, 221, 255, 0.13);
}
.route-line {
  background: linear-gradient(
    var(--cyan),
    var(--blue),
    rgba(164, 140, 255, 0.18)
  );
  box-shadow: 0 0 12px rgba(104, 221, 255, 0.18);
}
.route-step b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(126, 226, 255, 0.22);
  background: linear-gradient(
    145deg,
    rgba(104, 221, 255, 0.13),
    rgba(117, 118, 255, 0.08)
  );
  color: #d7f8ff;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.05);
}
.route-step span {
  color: #cedae6;
  font-weight: 750;
}

/* Cards */
.system-grid,
.note-grid {
  gap: 18px;
}
.system-card,
.note-card {
  border-color: rgba(175, 220, 249, 0.13);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(96, 112, 255, 0.07),
      transparent 34%
    ),
    linear-gradient(150deg, rgba(13, 28, 48, 0.86), rgba(8, 18, 33, 0.83));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 16px 48px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.system-icon {
  border-color: rgba(110, 225, 255, 0.18) !important;
  background: linear-gradient(
    145deg,
    rgba(104, 221, 255, 0.1),
    rgba(128, 112, 255, 0.07)
  ) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 9px 25px rgba(0, 0, 0, 0.11);
}
.system-index {
  color: #61778c !important;
}
.system-card h3,
.note-card h3 {
  font-weight: 860;
}
.card-bottom {
  border-top-color: rgba(177, 216, 245, 0.1) !important;
}
.icon-link {
  display: grid !important;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(123, 225, 255, 0.17);
  background: linear-gradient(
    145deg,
    rgba(104, 221, 255, 0.1),
    rgba(113, 118, 255, 0.055)
  );
  color: #b8efff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}
.icon-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.22s ease;
}
.system-card:hover .icon-link {
  background: linear-gradient(
    145deg,
    rgba(104, 221, 255, 0.16),
    rgba(113, 118, 255, 0.1)
  );
  border-color: rgba(123, 225, 255, 0.31);
  transform: rotate(-4deg);
}
.system-card:hover .icon-link svg {
  transform: translateX(2px);
}
.note-card b {
  color: #9eeaff !important;
}
.note-card b svg {
  padding: 4px;
  border-radius: 8px;
  background: rgba(104, 221, 255, 0.07);
}

/* Experience / timeline */
.experience-list {
  border-top-color: rgba(176, 217, 246, 0.1) !important;
}
.experience-list article,
.timeline article {
  border-bottom-color: rgba(176, 217, 246, 0.1) !important;
  transition:
    background 0.2s ease,
    padding 0.2s ease;
}
.experience-list article:hover,
.timeline article:hover {
  background: linear-gradient(
    90deg,
    rgba(104, 221, 255, 0.025),
    transparent 70%
  );
}
.experience-list time,
.timeline time {
  color: #80e5ff !important;
}
.experience-list h3,
.timeline h3 {
  font-weight: 850;
}

/* CTA */
.cta-panel {
  border-color: rgba(172, 222, 252, 0.17) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(147, 125, 255, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 15% 100%,
      rgba(104, 221, 255, 0.08),
      transparent 32%
    ),
    linear-gradient(145deg, rgba(14, 31, 52, 0.94), rgba(8, 18, 34, 0.93)) !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.05) !important;
}
.cta-panel h2 {
  font-weight: 880;
}

/* Inner-page hero & case study index */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 104px !important;
  background: radial-gradient(
    740px 340px at 86% 10%,
    rgba(92, 117, 255, 0.09),
    transparent 62%
  );
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 10px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(104, 221, 255, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(104, 221, 255, 0.014),
    0 0 0 140px rgba(126, 115, 255, 0.009);
  pointer-events: none;
}
.page-hero h1 {
  font-weight: 900;
  text-wrap: balance;
}
.page-lead {
  color: #9cb0c5 !important;
}
.case-index {
  border-color: rgba(174, 219, 248, 0.13) !important;
  border-radius: 19px !important;
  background: linear-gradient(
    145deg,
    rgba(12, 27, 46, 0.76),
    rgba(7, 18, 32, 0.72)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease !important;
}
.case-index > span:first-child {
  color: #71defa !important;
}
.case-index > svg {
  padding: 5px;
  border-radius: 9px;
  background: rgba(104, 221, 255, 0.07);
}
.case-main,
.case-sidebar,
.architecture,
.principle-grid,
.info-panel {
  border-color: rgba(173, 217, 247, 0.12) !important;
}
.case-main,
.architecture,
.info-panel {
  background: linear-gradient(
    145deg,
    rgba(12, 27, 46, 0.76),
    rgba(8, 18, 33, 0.73)
  ) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}
.case-sidebar {
  background: rgba(9, 20, 36, 0.74) !important;
  backdrop-filter: blur(15px);
}
.arch-node {
  border-color: rgba(132, 222, 255, 0.16) !important;
  background: linear-gradient(
    145deg,
    rgba(104, 221, 255, 0.07),
    rgba(116, 117, 255, 0.035)
  ) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}
.arch-arrow {
  color: #6bdfff !important;
}

/* Portfolio */
.portfolio-block {
  border-top-color: rgba(174, 215, 244, 0.1) !important;
}
.portfolio-heading > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(104, 221, 255, 0.12),
    rgba(119, 115, 255, 0.07)
  );
  border: 1px solid rgba(119, 224, 255, 0.15);
  color: #a9efff !important;
}
.portfolio-cards {
  gap: 16px !important;
}
.portfolio-cards > a,
.portfolio-cards > article {
  border-color: rgba(175, 218, 247, 0.12) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(105, 120, 255, 0.065),
      transparent 36%
    ),
    linear-gradient(145deg, rgba(12, 27, 46, 0.79), rgba(7, 18, 33, 0.76)) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.03),
    0 15px 40px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease !important;
}
.portfolio-cards svg {
  padding: 5px;
  border-radius: 8px;
  background: rgba(104, 221, 255, 0.07);
}

/* Notes */
.note-row {
  border-bottom-color: rgba(174, 216, 246, 0.1) !important;
  border-radius: 14px;
  transition:
    background 0.22s,
    padding 0.22s,
    transform 0.22s !important;
}
.note-row:hover {
  background: linear-gradient(
    90deg,
    rgba(104, 221, 255, 0.035),
    transparent 80%
  );
  padding-left: 14px !important;
  transform: translateX(2px);
}
.note-row > span {
  color: #79e4ff !important;
}
.note-row > svg {
  padding: 5px;
  border-radius: 8px;
  background: rgba(104, 221, 255, 0.06);
}

/* About / resume / contact */
.about-portrait {
  border-color: rgba(169, 224, 255, 0.16);
  border-radius: 27px;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.24),
    0 0 50px rgba(64, 155, 255, 0.05);
}
.about-copy h2 {
  font-weight: 890;
}
.info-panel {
  border-radius: 22px !important;
}
.resume-sheet {
  border-color: rgba(174, 219, 249, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(104, 122, 255, 0.065),
      transparent 28%
    ),
    linear-gradient(145deg, #0a1829, #081522);
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.23),
    inset 0 1px rgba(255, 255, 255, 0.035);
}
.resume-sheet section,
.resume-top {
  border-color: rgba(173, 214, 244, 0.1) !important;
}
.resume-sheet section > h3 {
  color: #75e2ff !important;
}
.contact-layout {
  gap: 18px;
}
.contact-main,
.contact-links {
  border-color: rgba(173, 219, 249, 0.13);
  border-radius: 26px;
  background: linear-gradient(
    145deg,
    rgba(12, 27, 47, 0.82),
    rgba(8, 18, 33, 0.78)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.03),
    0 18px 55px rgba(0, 0, 0, 0.13);
}
.email-hero {
  border-color: rgba(174, 216, 246, 0.11) !important;
  color: #a8eeff !important;
}
.contact-links a {
  border-bottom-color: rgba(173, 216, 246, 0.09) !important;
  transition:
    background 0.22s,
    transform 0.22s !important;
}
.contact-links a:hover {
  background: linear-gradient(
    90deg,
    rgba(104, 221, 255, 0.045),
    rgba(126, 117, 255, 0.025)
  );
  transform: translateX(3px);
}
.contact-links svg {
  stroke: #7de5ff !important;
  padding: 4px;
  border-radius: 8px;
  background: rgba(104, 221, 255, 0.06);
}

/* Articles */
.prose h2,
.prose h3 {
  font-weight: 860;
}
.prose p {
  color: #adbed0;
}
.article-note {
  border-color: rgba(136, 242, 199, 0.18) !important;
  border-radius: 18px !important;
  background: linear-gradient(
    145deg,
    rgba(136, 242, 199, 0.05),
    rgba(104, 221, 255, 0.025)
  ) !important;
}
.article-aside {
  border-radius: 20px !important;
  background: rgba(9, 21, 37, 0.8) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}
.article-aside a {
  border-top-color: rgba(175, 216, 246, 0.1) !important;
  color: #83e4ff !important;
}

/* Footer */
.site-footer {
  border-top-color: rgba(174, 217, 247, 0.09);
  background:
    radial-gradient(
      600px 300px at 20% 100%,
      rgba(104, 221, 255, 0.04),
      transparent 70%
    ),
    #040a12;
}
.footer-brand {
  font-weight: 900;
  background: linear-gradient(90deg, #fff, #aeeeff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-nav a,
.footer-social a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-nav a:hover,
.footer-social a:hover {
  color: #dff8ff;
  transform: translateX(2px);
}
.footer-bottom {
  border-top-color: rgba(173, 214, 244, 0.08);
}

/* Hover-only motion: avoid sticky states on touch devices */
@media (hover: hover) and (pointer: fine) {
  .signal-grid > div:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 224, 255, 0.23) !important;
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.16),
      0 0 32px rgba(79, 165, 255, 0.055);
  }
  .system-card:hover,
  .note-card:hover,
  .portfolio-cards > a:hover,
  .portfolio-cards > article:hover,
  .info-panel:hover,
  .case-index:hover {
    transform: translateY(-6px);
    border-color: rgba(125, 224, 255, 0.24) !important;
    box-shadow:
      0 26px 65px rgba(0, 0, 0, 0.22),
      0 0 36px rgba(69, 155, 255, 0.065),
      inset 0 1px rgba(255, 255, 255, 0.05);
  }
  .case-index:hover {
    transform: translateX(4px);
  }
}

/* More expressive reveal while remaining subtle */
.reveal {
  transform: translateY(22px) scale(0.992);
  filter: blur(3px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  transform: none;
  filter: none;
}

/* Responsive refinement */
@media (max-width: 1060px) {
  .site-header {
    padding-top: 8px;
  }
  .nav-shell {
    height: 66px;
  }
  .hero {
    padding-top: 82px;
    padding-bottom: 94px;
  }
  .hero-layout {
    gap: 52px;
  }
  .signal-grid {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }
  body {
    background-attachment: scroll;
  }
  body::after {
    opacity: 0.14;
    background-size: 26px 26px;
  }
  .site-header {
    padding-top: 7px;
  }
  .nav-shell {
    height: 62px;
    border-radius: 18px;
    padding-inline: 8px 8px;
  }
  .brand-symbol {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .mobile-nav {
    margin-top: 7px;
    padding: 13px 14px 16px;
  }
  .hero {
    padding-top: 54px;
    padding-bottom: 82px;
  }
  .hero::before {
    left: 5%;
    top: 5%;
    width: 90vw;
    height: 90vw;
    opacity: 0.75;
  }
  .hero::after {
    right: -250px;
    top: -150px;
    opacity: 0.7;
  }
  .hero-layout {
    gap: 70px;
  }
  .portrait-frame {
    border-radius: 27px;
  }
  .focus-card {
    left: 12px;
    right: 12px;
    bottom: -45px;
    width: auto;
    padding: 18px 19px;
  }
  .hero-actions {
    gap: 10px;
  }
  .button {
    min-height: 53px;
    border-radius: 15px;
  }
  .button svg {
    width: 29px;
    height: 29px;
  }
  .signal-strip {
    padding: 18px 0;
  }
  .signal-grid {
    gap: 9px;
  }
  .signal-grid > div {
    min-height: 108px !important;
    padding: 19px 17px !important;
    border-radius: 16px;
  }
  .metric {
    font-size: 1.14rem;
  }
  .section-pad {
    padding: 82px 0;
  }
  .feature-split {
    padding: 25px;
    border-radius: 24px;
    gap: 30px;
  }
  .system-card,
  .note-card {
    border-radius: 21px;
  }
  .cta-panel {
    border-radius: 24px !important;
  }
  .page-hero {
    padding-top: 72px !important;
  }
  .case-main,
  .resume-sheet,
  .contact-main {
    border-radius: 23px !important;
  }
  .reveal {
    filter: none;
    transform: none;
    opacity: 1;
    transition: none;
  }
}
@media (max-width: 470px) {
  .nav-shell {
    border-radius: 16px;
  }
  .brand {
    gap: 8px;
  }
  .brand-text strong {
    font-size: 0.88rem;
  }
  .hero h1 {
    letter-spacing: -0.06em;
  }
  .availability {
    font-size: 0.68rem;
  }
  .signal-grid {
    gap: 8px;
  }
  .signal-grid > div {
    border-radius: 15px;
  }
  .feature-split {
    padding: 21px;
  }
  .system-card,
  .note-card {
    padding: 23px !important;
  }
  .portfolio-heading > span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .resume-sheet {
    padding: 24px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button .ripple {
    display: none;
  }
  .reveal {
    filter: none;
  }
  .button::before {
    display: none;
  }
}
@media print {
  body::after,
  .scroll-progress {
    display: none !important;
  }
  .resume-sheet {
    box-shadow: none;
    background: white !important;
  }
}

/* Ensure decorative button layers stay visible without blocking interaction. */
.button::before,
.button::after {
  z-index: 0;
  pointer-events: none;
}
.button svg {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Ravindra Kumar v4 — Champagne Gold interaction system
   Designation: C++ Software Developer
   ========================================================= */
:root {
  --gold: #d6b35f;
  --gold-2: #f5dfa0;
  --gold-3: #a97c2e;
  --gold-soft: rgba(214, 179, 95, 0.14);
  --gold-line: rgba(238, 204, 119, 0.54);
  --gold-glow: rgba(214, 179, 95, 0.18);
}

/* Golden details on brand/navigation — restrained, professional. */
.brand-symbol {
  border-color: rgba(238, 204, 119, 0.55) !important;
  color: #f6dfa2 !important;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.14),
      transparent 33%
    ),
    linear-gradient(145deg, rgba(214, 179, 95, 0.18), rgba(87, 66, 25, 0.11)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 28px rgba(180, 135, 40, 0.12) !important;
}
.desktop-nav a.active::after {
  background: linear-gradient(
    90deg,
    var(--gold-3),
    var(--gold-2),
    var(--gold-3)
  ) !important;
  box-shadow: 0 0 12px rgba(233, 194, 92, 0.44) !important;
}
.desktop-nav a.active {
  background: linear-gradient(
    135deg,
    rgba(214, 179, 95, 0.075),
    rgba(255, 255, 255, 0.028)
  ) !important;
  box-shadow: inset 0 0 0 1px rgba(235, 202, 118, 0.08) !important;
}
.site-header.scrolled .nav-shell {
  border-color: rgba(229, 195, 107, 0.18) !important;
}
.eyebrow {
  color: #edcf7e !important;
}
.eyebrow::before {
  background: linear-gradient(90deg, var(--gold-2), transparent) !important;
  box-shadow: 0 0 9px rgba(224, 186, 84, 0.32) !important;
}

/* Buttons: every actionable button receives a real gold border. */
.button {
  border: 1px solid var(--gold-line) !important;
  border-radius: 16px !important;
  box-shadow:
    0 13px 32px rgba(0, 0, 0, 0.19),
    0 0 0 1px rgba(255, 231, 165, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.075) !important;
}
.button::before {
  background: linear-gradient(
    112deg,
    transparent 28%,
    rgba(255, 239, 195, 0.42) 46%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 72%
  ) !important;
}
.button svg {
  border-color: rgba(241, 207, 120, 0.44) !important;
  background: linear-gradient(
    145deg,
    rgba(245, 223, 160, 0.11),
    rgba(169, 124, 46, 0.1)
  ) !important;
}
.button-primary {
  color: #171106 !important;
  border-color: #f6dfa0 !important;
  background: linear-gradient(
    125deg,
    #f6e3a9 0%,
    #dfbd68 36%,
    #c99c43 70%,
    #f0d78f 100%
  ) !important;
  background-size: 180% 100% !important;
  box-shadow:
    0 14px 38px rgba(182, 132, 39, 0.2),
    0 4px 14px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46) !important;
}
.button-primary:hover {
  background-position: 100% 0 !important;
  border-color: #ffeab0 !important;
  box-shadow:
    0 18px 48px rgba(201, 156, 67, 0.29),
    0 0 0 1px rgba(246, 223, 160, 0.12),
    0 0 32px rgba(214, 179, 95, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
}
.button-primary svg {
  color: #1a1308 !important;
  border-color: rgba(62, 43, 8, 0.15) !important;
  background: rgba(62, 43, 8, 0.08) !important;
}
.button-secondary {
  color: #f7f1e3 !important;
  border-color: rgba(231, 197, 109, 0.58) !important;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(214, 179, 95, 0.08),
      transparent 40%
    ),
    linear-gradient(135deg, rgba(15, 27, 45, 0.98), rgba(8, 17, 31, 0.98)) !important;
}
.button-secondary:hover {
  border-color: #e8c86f !important;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(214, 179, 95, 0.13),
      transparent 42%
    ),
    linear-gradient(135deg, rgba(19, 34, 56, 0.99), rgba(10, 21, 38, 0.99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(214, 179, 95, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.05) !important;
}
.button:focus-visible {
  outline: 3px solid rgba(245, 223, 160, 0.22) !important;
  outline-offset: 4px;
}

/* Hero — designation first, tech stack second. */
.hero h1 span {
  background: linear-gradient(
    95deg,
    #fff7df 0%,
    #efd28a 37%,
    #d6b35f 67%,
    #b9d8ee 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.hero-description strong {
  color: #f9e5ad !important;
  text-shadow: 0 0 24px rgba(214, 179, 95, 0.11) !important;
}
.availability {
  border-color: rgba(214, 179, 95, 0.21) !important;
  background: linear-gradient(
    135deg,
    rgba(214, 179, 95, 0.07),
    rgba(104, 221, 255, 0.025)
  ) !important;
}
.pulse {
  background: #e4c46f !important;
}
.pulse::after {
  border-color: #e4c46f !important;
}
.portrait-frame {
  border-color: rgba(235, 202, 118, 0.34) !important;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(224, 190, 98, 0.045),
    0 0 72px rgba(214, 179, 95, 0.08) !important;
}
.focus-card {
  border-color: rgba(235, 202, 118, 0.36) !important;
  background: linear-gradient(
    145deg,
    rgba(14, 25, 41, 0.94),
    rgba(8, 18, 32, 0.94)
  ) !important;
}
.focus-label {
  color: #f0d27e !important;
}

/* Richer cards, chips and links with gold micro-details. */
.metric {
  color: #f5dfa0 !important;
}
.status-chip {
  border-color: rgba(235, 201, 112, 0.22) !important;
  background: rgba(214, 179, 95, 0.065) !important;
  color: #f5dfa0 !important;
}
.text-link {
  color: #f0d27e !important;
}
.text-link:hover {
  color: #ffe7a7 !important;
}
.tag-row span,
.stack-list span,
.resume-skills span {
  border-color: rgba(229, 196, 108, 0.16) !important;
  background: linear-gradient(
    145deg,
    rgba(214, 179, 95, 0.035),
    rgba(255, 255, 255, 0.018)
  ) !important;
}
.system-icon,
.portfolio-heading > span {
  border-color: rgba(232, 199, 111, 0.2) !important;
  color: #f1d583 !important;
  background: linear-gradient(
    145deg,
    rgba(214, 179, 95, 0.11),
    rgba(89, 70, 30, 0.045)
  ) !important;
}
.icon-link {
  border-color: rgba(233, 198, 108, 0.3) !important;
  color: #efd17c !important;
}
.icon-link:hover {
  border-color: rgba(246, 222, 158, 0.62) !important;
  background: rgba(214, 179, 95, 0.1) !important;
}
.note-card b,
.case-index > span:first-child,
.resume-sheet section > h3 {
  color: #efd17c !important;
}
.email-hero {
  color: #efd17c !important;
  border-color: rgba(233, 199, 111, 0.18) !important;
}
.footer-brand {
  background: linear-gradient(90deg, #fff, #f1d686, #d9b65e) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.scroll-progress {
  background: linear-gradient(90deg, #9e772b, #f3d98d, #d3ad55) !important;
  box-shadow: 0 0 18px rgba(214, 179, 95, 0.52) !important;
}

/* A tasteful gold edge appears on interactive cards, not every surface. */
@media (hover: hover) and (pointer: fine) {
  .signal-grid > div:hover,
  .system-card:hover,
  .note-card:hover,
  .portfolio-cards > a:hover,
  .portfolio-cards > article:hover,
  .info-panel:hover,
  .case-index:hover {
    border-color: rgba(232, 198, 108, 0.33) !important;
    box-shadow:
      0 26px 65px rgba(0, 0, 0, 0.22),
      0 0 36px rgba(214, 179, 95, 0.07),
      inset 0 1px rgba(255, 255, 255, 0.045) !important;
  }
}

@media (max-width: 760px) {
  .button {
    border-radius: 15px !important;
  }
  .mobile-nav {
    border-color: rgba(229, 195, 107, 0.2) !important;
  }
}

/* =========================================================
   Resume v5 — professional screen + print presentation
   ========================================================= */
.resume-top-pro {
  align-items: flex-start;
}
.resume-identity {
  max-width: 570px;
}
.resume-kicker {
  margin: 0 0 9px !important;
  color: var(--gold-2) !important;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.resume-title {
  margin-top: 8px !important;
  color: #dbe7f3 !important;
  font-size: 0.98rem;
  font-weight: 700;
}
.resume-profile-line {
  max-width: 570px;
  margin: 10px 0 0 !important;
  color: #93a8bd !important;
  font-size: 0.78rem;
  line-height: 1.55;
}
.resume-contact-grid {
  min-width: 270px;
  gap: 8px;
}
.resume-contact-grid a {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 9px;
  align-items: baseline;
  padding: 6px 9px;
  border: 1px solid rgba(231, 198, 111, 0.11);
  border-radius: 9px;
  background: rgba(214, 179, 95, 0.035);
  text-align: left;
}
.resume-contact-grid a span {
  color: #efd17c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.resume-section-title {
  position: relative;
  padding-left: 13px;
}
.resume-section-title::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(#f5dfa0, #a97c2e);
  content: "";
}
.resume-summary {
  margin: 0;
  color: #c4d1df !important;
  line-height: 1.72;
}
.resume-experience-item {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid rgba(232, 199, 111, 0.2);
}
.resume-experience-item::before {
  position: absolute;
  top: 4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6b35f;
  box-shadow: 0 0 0 4px rgba(214, 179, 95, 0.08);
  content: "";
}
.resume-item-header {
  align-items: flex-start;
}
.resume-item-header > div {
  display: grid;
  gap: 3px;
}
.resume-item-header strong {
  font-size: 0.98rem;
}
.resume-role {
  margin: 0 !important;
  color: #aabbd0 !important;
  font-size: 0.78rem !important;
  font-weight: 650;
}
.resume-date {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(231, 198, 111, 0.15);
  border-radius: 999px;
  background: rgba(214, 179, 95, 0.05);
  color: #efd17c !important;
  font-weight: 700;
  white-space: nowrap;
}
.resume-experience-item ul {
  margin-top: 10px;
}
.resume-experience-item li + li {
  margin-top: 5px;
}
.resume-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.resume-project-card {
  padding: 16px;
  border: 1px solid rgba(174, 219, 249, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}
.resume-project-head {
  display: grid;
  gap: 4px;
}
.resume-project-head > span {
  color: #efd17c !important;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.resume-project-head > strong {
  font-size: 0.9rem;
}
.resume-project-card p {
  margin: 8px 0 10px;
  color: #afbed0 !important;
  font-size: 0.75rem;
  line-height: 1.52;
}
.resume-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.resume-project-tags span {
  padding: 3px 6px;
  border: 1px solid rgba(231, 198, 111, 0.12);
  border-radius: 999px;
  color: #d5e0eb;
  font-size: 0.58rem;
  font-weight: 650;
}
.resume-additional-projects {
  margin: 13px 0 0 !important;
  padding: 10px 12px;
  border-left: 3px solid rgba(214, 179, 95, 0.58);
  background: rgba(214, 179, 95, 0.035);
  color: #aebed0 !important;
  font-size: 0.75rem;
  line-height: 1.5;
}
.resume-skills-pro span {
  font-size: 0.7rem;
  font-weight: 680;
}
.resume-bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}
.resume-bottom-block .resume-section-title {
  margin-bottom: 14px !important;
}
.resume-education-item {
  display: grid;
  gap: 4px;
}
.resume-education-item + .resume-education-item {
  margin-top: 14px;
}
.resume-education-item strong {
  font-size: 0.83rem;
}
.resume-education-item span,
.resume-achievements {
  color: #acbdce;
  font-size: 0.74rem;
}
.resume-achievements {
  margin: 0;
  padding-left: 18px;
}
.resume-achievements li + li {
  margin-top: 6px;
}
.resume-print-footer {
  display: none;
}

@media (max-width: 760px) {
  .resume-project-grid,
  .resume-bottom-grid {
    grid-template-columns: 1fr;
  }
  .resume-contact-grid {
    min-width: 0;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm 11mm 11mm;
  }

  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    background: #ffffff !important;
    color: #172033 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    margin: 0 !important;
    font-size: 9.1pt !important;
    line-height: 1.36 !important;
  }

  .print-resume {
    padding: 0 !important;
  }

  .print-resume > .resume-sheet {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #172033 !important;
  }

  .resume-sheet * {
    box-sizing: border-box !important;
  }

  .resume-top-pro {
    display: grid !important;
    grid-template-columns: 1.28fr 0.72fr !important;
    gap: 7mm !important;
    margin: 0 0 4mm !important;
    padding: 5mm 5mm 4.6mm !important;
    border: 0 !important;
    border-top: 4px solid #1c3553 !important;
    border-bottom: 1px solid #d9e0e7 !important;
    background: linear-gradient(
      110deg,
      #f5f7fa 0%,
      #ffffff 58%,
      #f7f2e7 100%
    ) !important;
  }

  .resume-kicker {
    margin: 0 0 1.4mm !important;
    color: #9a7428 !important;
    font-size: 6.6pt !important;
    letter-spacing: 0.13em !important;
  }

  .resume-top h2 {
    margin: 0 !important;
    color: #132a44 !important;
    font-size: 22pt !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
  }

  .resume-title {
    margin: 1.6mm 0 0 !important;
    color: #324b65 !important;
    font-size: 9.3pt !important;
    font-weight: 700 !important;
  }

  .resume-profile-line {
    margin: 1.8mm 0 0 !important;
    color: #66778a !important;
    font-size: 7.4pt !important;
    line-height: 1.35 !important;
  }

  .resume-contact-grid {
    align-content: start !important;
    min-width: 0 !important;
    gap: 1.2mm !important;
    font-size: 7.2pt !important;
  }

  .resume-contact-grid a {
    display: grid !important;
    grid-template-columns: 15mm 1fr !important;
    gap: 1.6mm !important;
    padding: 1.2mm 1.8mm !important;
    border: 1px solid #e0e5ea !important;
    border-radius: 1.5mm !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: #24384f !important;
    text-align: left !important;
    text-decoration: none !important;
  }

  .resume-contact-grid a span {
    color: #9a7428 !important;
    font-size: 5.5pt !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
  }

  .resume-sheet section.resume-section {
    margin: 0 !important;
    padding: 3mm 0 2.7mm !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e6eb !important;
  }

  .resume-sheet section.resume-section:last-of-type {
    border-bottom: 0 !important;
  }

  .resume-section-title,
  .resume-sheet section > h3.resume-section-title {
    margin: 0 0 2.1mm !important;
    padding: 0 0 0 3mm !important;
    color: #16324f !important;
    font-size: 8.2pt !important;
    font-weight: 900 !important;
    letter-spacing: 0.11em !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
  }

  .resume-section-title::before {
    top: -0.2mm !important;
    bottom: -0.2mm !important;
    width: 1mm !important;
    background: #c69a3a !important;
  }

  .resume-summary {
    margin: 0 !important;
    color: #33475b !important;
    font-size: 8.2pt !important;
    line-height: 1.42 !important;
  }

  .resume-item + .resume-item {
    margin-top: 2.4mm !important;
  }

  .resume-experience-item {
    padding-left: 3.6mm !important;
    border-left: 1px solid #d8c69e !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .resume-experience-item::before {
    top: 1.1mm !important;
    left: -1.15mm !important;
    width: 2mm !important;
    height: 2mm !important;
    background: #c69a3a !important;
    box-shadow: 0 0 0 0.8mm #f4ecd9 !important;
  }

  .resume-item-header {
    display: flex !important;
    justify-content: space-between !important;
    gap: 5mm !important;
    align-items: flex-start !important;
  }

  .resume-item-header > div {
    display: grid !important;
    gap: 0.5mm !important;
  }

  .resume-item-header strong {
    color: #172d45 !important;
    font-size: 8.7pt !important;
  }

  .resume-role,
  .resume-item > b.resume-role {
    display: block !important;
    margin: 0 !important;
    color: #53677a !important;
    font-size: 7.5pt !important;
    font-weight: 700 !important;
  }

  .resume-date,
  .resume-item > div span.resume-date {
    flex: 0 0 auto !important;
    padding: 0.7mm 1.5mm !important;
    border: 1px solid #ddcfad !important;
    border-radius: 99px !important;
    background: #faf6ed !important;
    color: #795a1f !important;
    font-size: 6.6pt !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  .resume-experience-item ul {
    margin: 1.4mm 0 0 !important;
    padding-left: 4.2mm !important;
  }

  .resume-experience-item li,
  .resume-item li {
    margin: 0 !important;
    color: #34485c !important;
    font-size: 7.7pt !important;
    line-height: 1.34 !important;
  }

  .resume-experience-item li + li {
    margin-top: 0.8mm !important;
  }

  .resume-project-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2.2mm !important;
  }

  .resume-project-card {
    padding: 2.4mm 2.7mm !important;
    border: 1px solid #dce3e9 !important;
    border-radius: 2mm !important;
    background: #fafbfd !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .resume-project-head {
    display: grid !important;
    gap: 0.6mm !important;
  }

  .resume-project-head > span {
    color: #9a7428 !important;
    font-size: 5.6pt !important;
    font-weight: 900 !important;
    letter-spacing: 0.075em !important;
  }

  .resume-project-head > strong {
    color: #19334f !important;
    font-size: 8pt !important;
    line-height: 1.18 !important;
  }

  .resume-project-card p {
    margin: 1.1mm 0 1.5mm !important;
    color: #465a6e !important;
    font-size: 6.7pt !important;
    line-height: 1.33 !important;
  }

  .resume-project-tags {
    gap: 0.8mm !important;
  }

  .resume-project-tags span {
    padding: 0.5mm 1mm !important;
    border: 1px solid #d8dee5 !important;
    border-radius: 99px !important;
    background: #ffffff !important;
    color: #526578 !important;
    font-size: 5.4pt !important;
    font-weight: 700 !important;
  }

  .resume-additional-projects {
    margin: 2mm 0 0 !important;
    padding: 1.6mm 2.1mm !important;
    border-left: 0.8mm solid #c69a3a !important;
    background: #fbf8f1 !important;
    color: #475a6e !important;
    font-size: 6.7pt !important;
    line-height: 1.3 !important;
  }

  .resume-skills-pro {
    gap: 1mm !important;
  }

  .resume-skills-pro span,
  .resume-skills span {
    padding: 0.9mm 1.6mm !important;
    border: 1px solid #d9dfe5 !important;
    border-radius: 99px !important;
    background: #f6f8fa !important;
    color: #334b62 !important;
    font-size: 6.2pt !important;
    font-weight: 750 !important;
  }

  .resume-bottom-grid {
    display: grid !important;
    grid-template-columns: 1.17fr 0.83fr !important;
    gap: 5mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .resume-bottom-block .resume-section-title {
    margin-bottom: 1.8mm !important;
  }

  .resume-education-item {
    gap: 0.6mm !important;
  }

  .resume-education-item + .resume-education-item {
    margin-top: 1.8mm !important;
  }

  .resume-education-item strong {
    color: #20374f !important;
    font-size: 7.2pt !important;
  }

  .resume-education-item span,
  .resume-achievements,
  .resume-achievements li {
    color: #53677a !important;
    font-size: 6.5pt !important;
    line-height: 1.3 !important;
  }

  .resume-achievements {
    margin: 0 !important;
    padding-left: 3.8mm !important;
  }

  .resume-achievements li + li {
    margin-top: 0.8mm !important;
  }

  .resume-print-footer {
    display: flex !important;
    justify-content: space-between !important;
    gap: 6mm !important;
    margin-top: 3mm !important;
    padding-top: 2mm !important;
    border-top: 1px solid #dfe4e9 !important;
    color: #738293 !important;
    font-size: 5.8pt !important;
    letter-spacing: 0.02em !important;
  }

  .resume-sheet a[href]::after {
    content: none !important;
  }

  .resume-sheet article,
  .resume-education-item,
  .resume-section-title {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}

/* Resume v5.1 — engineering highlight block and balanced two-page print flow. */
.resume-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.resume-highlight-grid > div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-left: 2px solid rgba(214, 179, 95, 0.45);
  background: rgba(255, 255, 255, 0.015);
}
.resume-highlight-grid strong {
  font-size: 0.77rem;
}
.resume-highlight-grid span {
  color: #aebed0;
  font-size: 0.7rem;
  line-height: 1.45;
}

@media print {
  .resume-projects-section {
    break-before: page !important;
    page-break-before: always !important;
  }

  .resume-highlight-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.7mm 3mm !important;
  }

  .resume-highlight-grid > div {
    gap: 0.6mm !important;
    padding: 1.6mm 2mm !important;
    border-left: 0.7mm solid #c69a3a !important;
    background: #fafbfd !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .resume-highlight-grid strong {
    color: #20384f !important;
    font-size: 6.8pt !important;
  }

  .resume-highlight-grid span {
    color: #526679 !important;
    font-size: 6.2pt !important;
    line-height: 1.28 !important;
  }
}

/* Resume v5.2 — final print readability tuning. */
@media print {
  .resume-summary {
    font-size: 8.5pt !important;
    line-height: 1.45 !important;
  }
  .resume-experience-item li,
  .resume-item li {
    font-size: 8pt !important;
    line-height: 1.37 !important;
  }
  .resume-role,
  .resume-item > b.resume-role {
    font-size: 7.8pt !important;
  }
  .resume-project-card p {
    font-size: 6.9pt !important;
    line-height: 1.35 !important;
  }
  .resume-highlight-grid span {
    font-size: 6.4pt !important;
    line-height: 1.3 !important;
  }
}
