:root {
  --bg: #080b17;
  --bg-soft: #0d1326;
  --bg-card: rgba(15, 22, 43, 0.74);
  --bg-card-strong: rgba(22, 31, 59, 0.9);
  --text: #f6f8ff;
  --muted: #9da9c7;
  --muted-strong: #c3cbe0;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --primary: #6ee7ff;
  --primary-strong: #38bdf8;
  --secondary: #a78bfa;
  --accent: #22c55e;
  --warning: #f59e0b;
  --danger: #fb7185;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.13), transparent 34rem), var(--bg);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-shell {
  position: relative;
  min-height: 100vh;
  padding-top: 86px;
  overflow: hidden;
}

.ambient {
  position: fixed;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.56;
  z-index: 0;
}

.ambient-one {
  width: 28rem;
  height: 28rem;
  left: -10rem;
  top: 8rem;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 68%);
}

.ambient-two {
  width: 34rem;
  height: 34rem;
  right: -14rem;
  top: 20rem;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18), transparent 68%);
}

.ambient-three {
  width: 24rem;
  height: 24rem;
  left: 36%;
  bottom: 4rem;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.11), transparent 68%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -1;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 11, 23, 0.94), rgba(8, 11, 23, 0.76));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #06101d;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.22);
}

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

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 14, 29, 0.68);
  backdrop-filter: blur(18px);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 14, 29, 0.68);
  backdrop-filter: blur(18px);
}

.language-option {
  min-width: 38px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted-strong);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.language-option:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.language-option.active {
  color: #06101d;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.18);
}

.language-option:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 54px;
  padding-top: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 22px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  flex: 0 0 34px;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.eyebrow > span:last-child {
  width: auto;
  height: auto;
  min-width: 0;
  background: none;
}

.hero h1,
.section-heading h2,
.about-card h2,
.contact-card h2 {
  margin: 0;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6.4vw, 6.55rem);
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.78;
}

.hero-actions,
.contact-actions,
.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  color: #05111d;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.18);
}

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

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.11);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1rem;
}

.hero-stats span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.phone-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.orbit-one {
  width: 440px;
  height: 440px;
  transform: rotate(-12deg);
}

.orbit-two {
  width: 560px;
  height: 560px;
  transform: rotate(22deg);
  opacity: 0.65;
}

.phone-mockup {
  position: relative;
  width: 292px;
  min-height: 592px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.56), 0 0 80px rgba(56, 189, 248, 0.12);
  transform: rotate(4deg);
}

.main-phone::before,
.main-phone::after {
  content: "";
  position: absolute;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  z-index: -1;
}

.main-phone::before {
  width: 180px;
  height: 360px;
  left: -92px;
  top: 120px;
  transform: rotate(-12deg);
}

.main-phone::after {
  width: 170px;
  height: 330px;
  right: -86px;
  top: 170px;
  transform: rotate(16deg);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #060914;
  z-index: 2;
}

.phone-screen {
  min-height: 562px;
  padding: 48px 18px 18px;
  border-radius: 34px;
  background: radial-gradient(circle at 30% 10%, rgba(110, 231, 255, 0.2), transparent 38%),
    linear-gradient(180deg, #101a36, #091024 78%);
  overflow: hidden;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-topbar span:first-child {
  width: 82px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.app-topbar span:last-child {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.app-hero-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.app-hero-card small {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.app-hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.app-hero-card p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
  line-height: 1.5;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mini-grid div {
  height: 82px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.2), rgba(167, 139, 250, 0.11));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-list-card span {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.app-list-card strong,
.app-list-card small {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.app-list-card strong {
  width: 118px;
  height: 12px;
}

.app-list-card small {
  width: 74px;
  height: 9px;
  margin-top: 8px;
  opacity: 0.6;
}

.app-list-card.muted {
  opacity: 0.58;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo-strip span {
  padding: 12px 16px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 520px;
  margin-bottom: 0;
}

.section-heading h2,
.about-card h2,
.contact-card h2 {
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
}

.section-heading p,
.about-card p,
.contact-card p {
  color: var(--muted-strong);
  line-height: 1.75;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 18px;
}

.app-card,
.stack-card,
.about-card,
.contact-card,
.project-row,
.timeline {
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.app-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.app-card:hover,
.stack-card:hover,
.project-row:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 255, 0.34);
  background: rgba(20, 30, 58, 0.82);
}

.app-card.featured {
  position: relative;
  overflow: hidden;
}

.app-card.featured::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.18), transparent 70%);
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.app-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  color: #06101d;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.app-icon.travel {
  background: linear-gradient(135deg, #6ee7ff, #22c55e);
}

.app-icon.exam {
  background: linear-gradient(135deg, #a78bfa, #6ee7ff);
}

.app-icon.finance {
  background: linear-gradient(135deg, #f59e0b, #fb7185);
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status.live {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.13);
}

.status.review {
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.13);
}

.status.building {
  color: #fed7aa;
  background: rgba(245, 158, 11, 0.13);
}

.app-card h3,
.stack-card h3 {
  margin: 8px 0 0;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.app-card p {
  position: relative;
  z-index: 1;
  margin: 22px 0 0;
  color: var(--muted-strong);
  line-height: 1.72;
}

.app-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.app-meta span {
  padding: 8px 10px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.app-links {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(110, 231, 255, 0.28);
  background: rgba(110, 231, 255, 0.08);
  transition: transform 0.18s ease, background 0.18s ease;
}

.link-pill:hover {
  transform: translateY(-2px);
  background: rgba(110, 231, 255, 0.14);
}

.link-pill.disabled {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-row strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.project-row p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.project-row em {
  align-self: center;
  flex: 0 0 auto;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}


.profile-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: start;
}

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

.profile-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 31, 59, 0.82), rgba(15, 22, 43, 0.72));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.36);
  background: rgba(20, 30, 58, 0.84);
}

.profile-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(167, 139, 250, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-card h3 {
  margin: 18px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.profile-card p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.68;
}

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

.stack-card {
  min-height: 258px;
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.stack-number {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.stack-card p {
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.68;
}

.about-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: stretch;
}

.about-card,
.contact-card,
.timeline {
  border-radius: var(--radius-xl);
}

.about-card {
  padding: 34px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 0;
  padding: 18px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 18px 8px;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: -8px;
  width: 1px;
  background: var(--line);
}

.timeline-item > span {
  width: 14px;
  height: 14px;
  margin: 5px auto 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 8px rgba(110, 231, 255, 0.08);
}

.timeline-item strong {
  font-size: 1.02rem;
}

.timeline-item p {
  margin: 7px 0 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.contact-section {
  padding-top: 44px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  text-align: center;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(110, 231, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card .eyebrow {
  justify-content: center;
}

.contact-card p {
  max-width: 650px;
  margin: 18px auto 0;
}

.contact-actions {
  justify-content: center;
  margin-top: 28px;
}

.copy-status {
  min-height: 24px;
  color: var(--primary) !important;
  font-weight: 800;
}

.site-footer {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--primary);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 540px;
  }

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

  .app-card.featured {
    grid-column: 1 / -1;
  }

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

  .split-section,
  .profile-section,
  .about-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-shell {
    padding-top: 74px;
  }

  .section-padding,
  .site-header,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  .section-padding {
    padding: 62px 0;
  }

  .site-header {
    padding: 14px 0;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch {
    padding: 4px;
  }

  .language-option {
    min-width: 34px;
    height: 32px;
    font-size: 0.72rem;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 20;
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto 14px;
    z-index: 19;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: rgba(10, 15, 31, 0.94);
  }

  .nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    padding-top: 34px;
    gap: 34px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .eyebrow > span:first-child {
    flex-basis: 28px;
    width: 28px;
    margin-top: 0.45em;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
    line-height: 1;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
    transform: scale(0.92);
  }

  .orbit-one {
    width: 360px;
    height: 360px;
  }

  .orbit-two {
    width: 440px;
    height: 440px;
  }

  .main-phone::before,
  .main-phone::after {
    display: none;
  }

  .apps-grid,
  .profile-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: auto;
  }

  .project-row {
    display: grid;
  }

  .project-row em {
    justify-self: start;
  }

  .about-card,
  .contact-card {
    padding: 24px;
    border-radius: 26px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 6px;
  }

  .language-option {
    min-width: 32px;
  }

  .hero-visual {
    min-height: 450px;
    transform: scale(0.8);
    transform-origin: top center;
  }

  .hero-actions,
  .contact-actions,
  .app-links {
    display: grid;
  }

  .btn,
  .link-pill {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
