:root {
  --ink: #eef5ff;
  --ink-soft: #a6b5c9;
  --ink-faint: #748399;
  --page: #08111f;
  --page-deep: #050b14;
  --surface: #0d192a;
  --surface-raised: #122137;
  --surface-soft: #0a1525;
  --line: #21334b;
  --line-bright: #2d4664;
  --blue: #68a9ff;
  --blue-strong: #3388f2;
  --teal: #52d6c5;
  --green: #62d98b;
  --yellow: #f0c66f;
  --red: #ff7b72;
  --shadow: 0 24px 70px rgb(0 0 0 / 28%);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shell: 1140px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgb(51 136 242 / 11%), transparent 34rem),
    radial-gradient(circle at 90% 35%, rgb(82 214 197 / 7%), transparent 30rem),
    var(--page);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input {
  color: inherit;
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(104 169 255 / 42%);
  outline-offset: 3px;
}

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

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

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  font-weight: 740;
}

h2 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.3rem;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--page);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgb(8 17 31 / 70%);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgb(33 51 75 / 78%);
  background: rgb(8 17 31 / 91%);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(104 169 255 / 34%);
  border-radius: 10px;
  background: linear-gradient(145deg, rgb(104 169 255 / 18%), rgb(82 214 197 / 8%));
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: -0.04em;
}

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

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 620;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-contact {
  padding: 8px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--ink);
}

.site-nav .nav-contact:hover {
  border-color: var(--blue);
  color: var(--blue);
}

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

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.hero {
  position: relative;
  display: grid;
  min-height: 810px;
  overflow: hidden;
  align-items: center;
  padding: 150px 0 88px;
}

.hero::after {
  position: absolute;
  top: 24%;
  left: 57%;
  width: 460px;
  height: 460px;
  border: 1px solid rgb(104 169 255 / 10%);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgb(104 169 255 / 2.5%),
    0 0 0 140px rgb(82 214 197 / 1.8%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgb(104 169 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(104 169 255 / 4%) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgb(98 217 139 / 10%);
  animation: status-pulse 2.6s ease-in-out infinite;
}

@keyframes status-pulse {
  50% { box-shadow: 0 0 0 10px rgb(98 217 139 / 0%); }
}

.hero-text {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

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

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #06101d;
}

.button-primary:hover {
  border-color: #8cc0ff;
  background: #8cc0ff;
}

.button-secondary {
  border-color: var(--line-bright);
  background: rgb(13 25 42 / 62%);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button-small {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 0.8rem;
  cursor: pointer;
}

.button-quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-soft);
}

.role-note {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.snapshot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgb(18 33 55 / 94%), rgb(8 17 31 / 96%));
  box-shadow: var(--shadow);
}

.snapshot::after {
  position: absolute;
  inset: auto -60px -100px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgb(82 214 197 / 7%);
  content: "";
  filter: blur(1px);
}

.window-bar,
.analyzer-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: rgb(5 11 20 / 45%);
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
}

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

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-bright);
}

.window-dots span:first-child { background: var(--red); }
.window-dots span:nth-child(2) { background: var(--yellow); }
.window-dots span:nth-child(3) { background: var(--green); }

.snapshot-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px;
}

.snapshot-list > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgb(33 51 75 / 70%);
}

.snapshot-list > div:last-child {
  border-bottom: 0;
}

.snapshot-list dt,
.snapshot-list dd {
  margin: 0;
}

.snapshot-list dt {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
}

.snapshot-list dd {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
}

.snapshot-list dd.available {
  color: var(--green);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgb(5 11 20 / 45%);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid > div {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-label,
.panel-label {
  margin-bottom: 5px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.proof-grid span:last-child {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.section {
  padding: 130px 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background: rgb(5 11 20 / 42%);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading > p:not(.section-kicker) {
  max-width: 730px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

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

.project-card {
  position: relative;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgb(18 33 55 / 78%), rgb(10 21 37 / 90%));
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:first-child {
  grid-row: span 2;
  justify-content: center;
}

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

.project-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgb(104 169 255 / 9%);
  border-radius: 50%;
  content: "";
}

.project-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.project-number {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.77rem;
  font-weight: 700;
}

.project-state {
  padding: 5px 9px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--ink-faint);
  font-size: 0.69rem;
  font-weight: 700;
}

.project-state.active {
  border-color: rgb(98 217 139 / 28%);
  color: var(--green);
}

.project-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.project-card > p {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
}

.detail-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 20px 0 26px;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.detail-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.tag-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.tag-row span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgb(5 11 20 / 35%);
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
}

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

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 174px;
  width: 1px;
  background: var(--line-bright);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 52px;
  margin-bottom: 28px;
}

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

.timeline-marker {
  position: absolute;
  top: 31px;
  left: 168px;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 3px solid var(--page-deep);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.timeline-date {
  padding-top: 28px;
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.71rem;
  text-align: right;
}

.timeline-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.timeline-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.timeline-heading h3 {
  margin-bottom: 5px;
}

.timeline-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.timeline-heading > span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.64rem;
}

.timeline-card .detail-list {
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
  gap: clamp(54px, 8vw, 108px);
  align-items: start;
}

.about-layout .section-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.about-panels {
  display: grid;
  gap: 20px;
}

.info-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.info-panel h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.info-panel p {
  color: var(--ink-soft);
}

.skill-groups {
  display: grid;
  gap: 22px;
}

.skill-groups > div {
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.skill-groups > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.skill-groups p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.focus-panel {
  background: linear-gradient(145deg, rgb(18 33 55 / 90%), rgb(10 21 37 / 92%));
}

.focus-panel > p:not(.panel-label) {
  font-size: 0.9rem;
}

.focus-panel small {
  display: block;
  color: var(--ink-faint);
  font-size: 0.73rem;
}

.progress-line {
  height: 5px;
  margin: 22px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-line span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.section-lab {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(rgb(5 11 20 / 82%), rgb(5 11 20 / 82%)),
    linear-gradient(90deg, rgb(104 169 255 / 6%) 1px, transparent 1px),
    linear-gradient(rgb(104 169 255 / 6%) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.lab-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(50px, 8vw, 105px);
  align-items: center;
}

.lab-copy > p:not(.section-kicker) {
  color: var(--ink-soft);
}

.privacy-note {
  display: flex;
  gap: 12px;
  margin-top: 27px;
  padding: 15px 17px;
  border: 1px solid rgb(82 214 197 / 20%);
  border-radius: var(--radius-sm);
  background: rgb(82 214 197 / 6%);
}

.privacy-note > span {
  color: var(--teal);
  font-weight: 800;
}

.privacy-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.privacy-note strong {
  color: var(--ink);
}

.analyzer {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
}

.local-badge > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.analyzer-body {
  padding: 30px;
}

.analyzer label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.password-row input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  outline: none;
  background: var(--page-deep);
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.87rem;
}

.password-row input::placeholder {
  color: #596980;
}

.password-row input:focus {
  border-color: var(--blue);
}

.text-button {
  min-width: 62px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: var(--surface-raised);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.analyzer-actions {
  margin-top: 12px;
}

.strength-track {
  height: 7px;
  margin: 29px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.strength-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 220ms ease, background 220ms ease;
}

.strength-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}

.strength-heading strong {
  font-size: 0.9rem;
}

.strength-heading span {
  color: var(--ink-faint);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.69rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 0;
}

.metric-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.metric-grid dt {
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 0.66rem;
}

.metric-grid dd {
  margin: 0;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback {
  display: grid;
  gap: 6px;
  padding: 17px 0 0;
  margin: 17px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feedback li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.feedback li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: ">";
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.contact-section {
  padding: 120px 0;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 28px;
  background: linear-gradient(135deg, rgb(18 33 55 / 95%), rgb(8 17 31 / 98%));
  box-shadow: var(--shadow);
}

.contact-card::after {
  position: absolute;
  right: -70px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1px solid rgb(82 214 197 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgb(82 214 197 / 3%);
  content: "";
}

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

.contact-card h2 {
  max-width: 720px;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.contact-card p:not(.section-kicker) {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact-actions {
  max-width: 350px;
  justify-content: flex-end;
}

.site-footer {
  padding: 27px 0;
  border-top: 1px solid var(--line);
  background: var(--page-deep);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.footer-wrap span {
  margin: 0 5px;
  color: var(--line-bright);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.2, .7, .2, 1);
}

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

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

  .hero {
    min-height: auto;
  }

  .snapshot {
    max-width: 520px;
  }

  .hero::after {
    left: 56%;
  }

  .about-layout .section-heading {
    position: static;
  }

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

  .contact-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-actions {
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-bright);
    border-radius: 14px;
    background: rgb(8 17 31 / 98%);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: var(--surface);
  }

  .site-nav .nav-contact {
    border: 0;
  }

  .hero {
    padding: 130px 0 72px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

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

  .proof-grid > div,
  .proof-grid > div:first-child,
  .proof-grid > div:last-child {
    min-height: 100px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 94px 0;
  }

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

  .project-grid,
  .about-panels {
    grid-template-columns: 1fr;
  }

  .project-card:first-child {
    grid-row: auto;
  }

  .project-card {
    min-height: auto;
    padding: 24px;
  }

  .project-topline {
    margin-bottom: 44px;
  }

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

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

  .timeline-marker {
    top: 7px;
    left: 0;
  }

  .timeline-date {
    padding-top: 0;
    text-align: left;
  }

  .timeline-card {
    padding: 23px;
  }

  .timeline-heading {
    flex-direction: column;
    gap: 14px;
  }

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

  .metric-grid dd {
    white-space: normal;
  }

  .contact-section {
    padding: 92px 0;
  }

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

@media (max-width: 480px) {
  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .snapshot-list {
    padding: 19px;
  }

  .snapshot-list > div {
    grid-template-columns: 76px 1fr;
  }

  .password-row {
    grid-template-columns: 1fr;
  }

  .text-button {
    min-height: 42px;
  }

  .analyzer-body {
    padding: 21px;
  }

  .analyzer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .strength-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

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

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

@media print {
  .site-header,
  .hero-grid,
  .hero::after,
  .section-lab,
  .contact-actions,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .section,
  .contact-section,
  .hero {
    min-height: auto;
    padding: 30px 0;
  }

  .project-card,
  .timeline-card,
  .info-panel,
  .contact-card,
  .snapshot {
    break-inside: avoid;
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
    color: #111;
  }
}
