
:root {
  --bg: #06100c;
  --bg-2: #08160f;
  --surface: rgba(11, 29, 20, 0.78);
  --surface-strong: #0c2117;
  --surface-soft: #0a1912;
  --text: #f1f7f3;
  --muted: #9caf9f;
  --line: rgba(126, 255, 183, 0.14);
  --line-strong: rgba(126, 255, 183, 0.26);
  --green: #6fffb0;
  --green-2: #2ee886;
  --cyan: #5ad8ff;
  --violet: #9b7cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --max: 1200px;
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(46, 232, 134, 0.08), transparent 27%),
    radial-gradient(circle at 92% 4%, rgba(90, 216, 255, 0.05), transparent 25%),
    linear-gradient(180deg, #050e0a 0%, #07140e 48%, #06100c 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection {
  color: #041009;
  background: var(--green);
}

.skip-link {
  position: fixed;
  left: -999px;
  top: 14px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  color: #041009;
  background: var(--green);
  font-weight: 800;
}
.skip-link:focus { left: 14px; }

.container {
  width: min(calc(100% - 42px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(5, 14, 10, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--green);
  background:
    linear-gradient(145deg, rgba(111, 255, 176, 0.18), rgba(111, 255, 176, 0.03));
  box-shadow:
    inset 0 0 24px rgba(111, 255, 176, 0.05),
    0 0 28px rgba(46, 232, 134, 0.06);
  font-weight: 900;
  font-size: 0.9rem;
}

.brand-name {
  color: #dfe9e3;
  font-size: 1.24rem;
  font-weight: 760;
  letter-spacing: -0.045em;
}
.brand-name b { color: var(--green); }

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.91rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-contact,
.lang {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-contact:hover,
.lang:hover {
  border-color: var(--line-strong);
  background: rgba(111, 255, 176, 0.05);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
}

.hero::before {
  width: 680px;
  height: 680px;
  left: -360px;
  top: -140px;
  border: 1px solid rgba(111, 255, 176, 0.08);
  box-shadow:
    0 0 0 70px rgba(111, 255, 176, 0.018),
    0 0 0 140px rgba(111, 255, 176, 0.012);
}

.hero::after {
  width: 340px;
  height: 340px;
  right: 4%;
  top: 12%;
  background: rgba(46, 232, 134, 0.04);
  filter: blur(80px);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(111, 255, 176, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 255, 176, .12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  gap: 58px;
  align-items: center;
}

.status-pill {
  width: fit-content;
  margin-bottom: 26px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c8d7cf;
  background: rgba(255, 255, 255, 0.025);
  font-size: .83rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(111, 255, 176, .08), 0 0 18px rgba(111, 255, 176, .7);
}

.kicker,
.section-index,
.project-type,
.mini-label {
  color: var(--green);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1, h2, h3 {
  color: var(--text);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11.2ch;
  margin-bottom: 25px;
  font-size: clamp(3.35rem, 6.7vw, 6.5rem);
}

h2 {
  max-width: 12.5ch;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.34rem;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #bdccc3;
  font-size: clamp(1.08rem, 2vw, 1.31rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.button {
  min-height: 50px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  font-weight: 780;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.button-primary {
  border-color: transparent;
  color: #04120a;
  background: linear-gradient(135deg, var(--green), #42ed94);
  box-shadow: 0 16px 40px rgba(46, 232, 134, .17);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(46, 232, 134, .22);
}

.signal-row {
  margin-top: 31px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  font-size: .82rem;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(111, 255, 176, .075), transparent 42%),
    radial-gradient(circle at 50% 35%, rgba(90, 216, 255, .055), transparent 30%),
    rgba(7, 20, 14, .86);
  box-shadow: var(--shadow);
}

.visual-noise {
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.25) .5px, transparent .5px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.visual-topline {
  position: relative;
  z-index: 3;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.online {
  color: var(--green);
}

.online::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.orbital-system {
  position: absolute;
  top: 82px;
  left: 50%;
  width: 350px;
  height: 350px;
  transform: translateX(-50%);
}

.core {
  position: absolute;
  inset: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(111, 255, 176, .34);
  border-radius: 25px;
  color: var(--green);
  background:
    linear-gradient(145deg, rgba(111,255,176,.18), rgba(111,255,176,.025)),
    #08170f;
  box-shadow:
    inset 0 0 30px rgba(111,255,176,.07),
    0 0 55px rgba(46,232,134,.16);
  font-weight: 900;
  font-size: 1.3rem;
  z-index: 4;
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(111, 255, 176, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 150px;
  height: 150px;
  animation: rotate 12s linear infinite;
}
.orbit-two {
  width: 235px;
  height: 235px;
  border-style: dashed;
  animation: rotate-reverse 18s linear infinite;
}
.orbit-three {
  width: 320px;
  height: 320px;
  animation: rotate 26s linear infinite;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #07140e;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(111,255,176,.8);
}
.node-one { top: 8px; left: 62%; }
.node-two { right: 18px; top: 28%; background: var(--cyan); box-shadow: 0 0 18px rgba(90,216,255,.7); }
.node-three { left: 22px; bottom: 25%; background: var(--violet); box-shadow: 0 0 18px rgba(155,124,255,.7); }
.node-four { bottom: 14px; left: 45%; }

.radar-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(111,255,176,.8), transparent);
  animation: radar 5s linear infinite;
}

.visual-cards {
  position: absolute;
  z-index: 5;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
}

.visual-cards article {
  padding: 16px 17px;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 18px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: rgba(5, 15, 10, .74);
  backdrop-filter: blur(13px);
}

.visual-cards strong {
  grid-row: 2;
  font-size: 1rem;
}

.visual-cards small {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  text-align: right;
}

.proof-strip {
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.012);
}

.proof-grid {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.proof-grid div {
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.055);
}

.proof-grid div:last-child {
  border-right: 1px solid rgba(255,255,255,.055);
}

.proof-grid strong {
  color: var(--green);
  font-size: 1.05rem;
}

.proof-grid span {
  color: var(--muted);
  font-size: .86rem;
}

.section {
  padding: 102px 0;
  border-top: 1px solid rgba(255,255,255,.045);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,.012), transparent),
    rgba(4, 13, 9, .42);
}

.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: end;
}

.section-index {
  margin-bottom: 18px;
}

.section-intro {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(111,255,176,.045), rgba(255,255,255,.015)),
    var(--surface-soft);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(155deg, rgba(111,255,176,.075), rgba(255,255,255,.018)),
    var(--surface-soft);
}

.feature-card-main {
  grid-row: span 2;
  min-height: 578px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 78% 20%, rgba(90,216,255,.10), transparent 23%),
    radial-gradient(circle at 20% 8%, rgba(111,255,176,.12), transparent 28%),
    linear-gradient(160deg, rgba(111,255,176,.07), rgba(255,255,255,.012)),
    var(--surface-soft);
}

.feature-card-main::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -95px;
  top: -85px;
  border: 1px solid rgba(111,255,176,.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(111,255,176,.02),
    0 0 0 84px rgba(111,255,176,.015);
}

.feature-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--green);
  background: rgba(111,255,176,.06);
  font-size: 1.2rem;
}

.card-index {
  margin-bottom: 35px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 800;
}

.feature-card p:not(.card-index) {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-card li {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.055);
  color: #cedbd3;
  font-size: .91rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 310px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(255,255,255,.018), rgba(111,255,176,.025)),
    var(--surface-soft);
  transition: transform .24s ease, border-color .24s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.project-card-featured {
  grid-row: span 2;
  min-height: 638px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 72% 28%, rgba(90,216,255,.12), transparent 24%),
    radial-gradient(circle at 20% 16%, rgba(111,255,176,.13), transparent 31%),
    linear-gradient(150deg, rgba(111,255,176,.075), rgba(255,255,255,.015)),
    var(--surface-soft);
}

.project-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  top: 40px;
  right: -150px;
  border: 1px solid rgba(111,255,176,.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(111,255,176,.018),
    0 0 0 110px rgba(111,255,176,.012);
}

.project-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags span {
  padding: 7px 10px;
  border: 1px solid rgba(111,255,176,.13);
  border-radius: 999px;
  color: var(--green);
  background: rgba(111,255,176,.07);
  font-size: .76rem;
  font-weight: 700;
}

.project-number {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .08em;
}

.project-body {
  position: relative;
  z-index: 2;
}

.project-card h3 {
  max-width: 16ch;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.project-card:not(.project-card-featured) h3 {
  font-size: 1.55rem;
}

.project-card p:not(.project-type) {
  max-width: 650px;
  color: var(--muted);
}

.project-stack,
.stack-line {
  color: #c7d4cd;
  font-size: .88rem;
}

.project-stack {
  margin-top: 38px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-stack span {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}

.stack-line {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.055);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-grid article {
  min-height: 270px;
  padding: 27px;
  background:
    linear-gradient(165deg, rgba(111,255,176,.035), transparent 48%),
    var(--surface-soft);
}

.process-grid span {
  display: block;
  margin-bottom: 62px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 800;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.experience-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
}

.experience-intro-card,
.timeline {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.experience-intro-card {
  min-height: 440px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 75% 18%, rgba(111,255,176,.09), transparent 27%),
    linear-gradient(145deg, rgba(111,255,176,.04), rgba(255,255,255,.012)),
    var(--surface-soft);
}

.experience-quote {
  color: #e5eee8;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.experience-signature {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--green);
  background: rgba(111,255,176,.07);
  font-weight: 850;
}

.experience-signature strong,
.experience-signature small {
  display: block;
}

.experience-signature small {
  margin-top: 3px;
  color: var(--muted);
}

.timeline {
  overflow: hidden;
}

.timeline article {
  min-height: 146px;
  padding: 28px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.timeline article:last-child {
  border-bottom: 0;
}

.timeline-date {
  color: var(--green);
  font-size: .84rem;
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.contact-panel {
  position: relative;
  min-height: 430px;
  padding: 48px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(90,216,255,.12), transparent 24%),
    radial-gradient(circle at 14% 86%, rgba(111,255,176,.12), transparent 28%),
    linear-gradient(145deg, rgba(111,255,176,.08), rgba(255,255,255,.015)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.contact-grid {
  position: absolute;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(111,255,176,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,255,176,.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.contact-copy,
.contact-actions {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  max-width: 18ch;
}

.contact-copy > p:last-child {
  max-width: 700px;
  margin: 25px 0 0;
  color: #b8c9bf;
  font-size: 1.04rem;
}

.contact-actions {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-actions span {
  color: var(--muted);
  font-size: .8rem;
}

.site-footer {
  padding: 44px 0 54px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-inner p,
.footer-meta {
  color: var(--muted);
  font-size: .87rem;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: right;
}

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

@keyframes rotate-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

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

@media (max-width: 1040px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 820px;
  }

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

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

  .feature-card-main {
    grid-column: span 2;
    grid-row: auto;
    min-height: 470px;
  }

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

  .project-card-featured {
    grid-row: auto;
    min-height: 560px;
  }

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

  .experience-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .nav a:not(.lang):not(.nav-contact) {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

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

  .proof-grid div:nth-child(3) {
    border-top: 1px solid rgba(255,255,255,.055);
  }

  .proof-grid div:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.055);
    border-right: 1px solid rgba(255,255,255,.055);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    align-items: end;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 26px), var(--max));
  }

  .header-inner {
    min-height: 66px;
  }

  .nav-contact {
    display: none;
  }

  .hero {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .status-pill {
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 520px;
    border-radius: 26px;
  }

  .orbital-system {
    width: 285px;
    height: 285px;
  }

  .orbit-three {
    width: 260px;
    height: 260px;
  }

  .visual-cards article {
    grid-template-columns: 1fr;
  }

  .visual-cards small {
    grid-column: 1;
    grid-row: auto;
    margin-top: 4px;
    text-align: left;
  }

  .proof-grid,
  .expertise-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    min-height: 86px;
    border-right: 1px solid rgba(255,255,255,.055);
    border-top: 1px solid rgba(255,255,255,.055);
  }

  .feature-card-main {
    grid-column: auto;
    min-height: 490px;
  }

  .section {
    padding: 76px 0;
  }

  .project-card-featured {
    min-height: 520px;
  }

  .process-grid article {
    min-height: 230px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-panel {
    min-height: 500px;
    padding: 30px;
    border-radius: 27px;
  }
}

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

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

/* v2.1 mobile refinement */
@media (max-width: 620px) {
  .header-inner {
    padding-inline: 2px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .lang {
    padding: 8px 12px;
  }

  .hero {
    padding: 46px 0 58px;
  }

  .hero-layout {
    gap: 38px;
  }

  .status-pill {
    max-width: 100%;
    margin-bottom: 21px;
    font-size: .78rem;
    line-height: 1.42;
  }

  .kicker {
    font-size: .69rem;
    line-height: 1.55;
  }

  h1 {
    max-width: 11.5ch;
    margin-bottom: 21px;
    font-size: clamp(2.55rem, 11.6vw, 3.85rem);
    line-height: 1.01;
    letter-spacing: -.055em;
  }

  h2 {
    max-width: 13ch;
    font-size: clamp(1.95rem, 8.5vw, 2.75rem);
    line-height: 1.05;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero-lead,
  .section-intro,
  .contact-copy > p:last-child {
    font-size: .98rem;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 27px;
    gap: 10px;
  }

  .button {
    min-height: 48px;
    padding-inline: 17px;
  }

  .signal-row {
    margin-top: 24px;
    gap: 8px;
  }

  .signal-row span {
    padding: 7px 10px;
    font-size: .76rem;
  }

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

  .orbital-system {
    top: 68px;
    width: 250px;
    height: 250px;
  }

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

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

  .orbit-three {
    width: 240px;
    height: 240px;
  }

  .radar-line {
    width: 120px;
  }

  .visual-topline {
    padding: 18px;
    font-size: .69rem;
  }

  .visual-cards {
    left: 15px;
    right: 15px;
    bottom: 15px;
    gap: 8px;
  }

  .visual-cards article {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .visual-cards strong {
    font-size: .94rem;
  }

  .visual-cards small {
    font-size: .76rem;
  }

  .proof-grid div {
    min-height: 78px;
    padding-inline: 18px;
  }

  .proof-grid strong {
    font-size: .98rem;
  }

  .proof-grid span {
    font-size: .79rem;
  }

  .section {
    padding: 66px 0;
  }

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

  .section-index {
    margin-bottom: 13px;
    font-size: .68rem;
  }

  .feature-card,
  .project-card,
  .experience-intro-card {
    padding: 23px;
    border-radius: 23px;
  }

  .feature-card-main {
    min-height: 430px;
  }

  .feature-card p:not(.card-index),
  .project-card p:not(.project-type),
  .timeline p,
  .process-grid p {
    font-size: .94rem;
    line-height: 1.62;
  }

  .project-card-featured {
    min-height: 475px;
  }

  .project-card h3,
  .project-card:not(.project-card-featured) h3 {
    font-size: 1.42rem;
  }

  .process-grid article {
    min-height: 205px;
    padding: 23px;
  }

  .process-grid span {
    margin-bottom: 42px;
  }

  .timeline article {
    min-height: 0;
    padding: 23px;
  }

  .experience-intro-card {
    min-height: 385px;
  }

  .experience-quote {
    font-size: 1.34rem;
  }

  .contact-panel {
    min-height: 445px;
    padding: 26px;
  }

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