:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #0b1015;
  --panel: #10171d;
  --panel-2: #121c23;
  --line: rgba(160, 220, 225, 0.16);
  --line-strong: rgba(120, 245, 199, 0.34);
  --text: #eef6f4;
  --muted: #9fb1b1;
  --subtle: #6e8385;
  --green: #55f0ad;
  --cyan: #50d8ff;
  --amber: #ffbf66;
  --danger: #ff6b7a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(80, 216, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 240, 173, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(80, 216, 255, 0.09), transparent 34%),
    linear-gradient(290deg, rgba(85, 240, 173, 0.08), transparent 42%);
  opacity: 0.52;
  z-index: -2;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  z-index: 50;
  box-shadow: 0 0 18px rgba(85, 240, 173, 0.52);
}

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

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

a:hover {
  color: var(--green);
}

p,
li {
  color: var(--muted);
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  background: var(--green);
  color: #06110d;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(85, 240, 173, 0.08);
  box-shadow: inset 0 0 24px rgba(85, 240, 173, 0.08);
  flex: 0 0 auto;
  overflow: hidden;
  padding: 3px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand em {
  display: block;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  place-items: center;
}

.section {
  position: relative;
  padding: 82px 0;
}

.section.tight {
  padding: 48px 0;
}

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

.section-kicker,
.eyebrow,
.terminal-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(85, 240, 173, 0.56);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.04;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 4.6rem;
  max-width: 880px;
}

h2 {
  font-size: 2.6rem;
  max-width: 780px;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.12rem;
  max-width: 720px;
  color: #c4d2d1;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 68px 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.62)), var(--bg);
}

.hero-backdrop,
.parallax-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.26), 0);
  will-change: transform;
}

.hero-backdrop {
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero::after,
.feature-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.46;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(85, 240, 173, 0.1);
  color: var(--text);
  box-shadow: inset 0 0 20px rgba(85, 240, 173, 0.05);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(85, 240, 173, 0.16);
  color: var(--text);
}

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

.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.terminal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 10, 12, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 0.46rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.terminal-dots {
  display: inline-flex;
  gap: 0.32rem;
}

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

.terminal-dots i:nth-child(2) {
  background: var(--amber);
}

.terminal-dots i:nth-child(3) {
  background: var(--green);
}

.terminal-body {
  padding: 1rem;
  min-height: 92px;
  font-family: var(--font-mono);
  color: #bdfadf;
  font-size: 0.9rem;
}

.terminal-line {
  display: block;
  white-space: normal;
}

.terminal-cursor::after {
  content: "_";
  color: var(--green);
  animation: blink 0.95s steps(2, start) infinite;
}

.hero-visual {
  position: relative;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 15, 0.72);
  color: var(--muted);
  padding: 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(85, 240, 173, 0.55);
}

.portrait-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(80, 216, 255, 0.05) 7px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.status-strip {
  position: absolute;
  left: -20px;
  bottom: 22px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.status-pill {
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 14, 18, 0.9);
  padding: 0.75rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.status-pill strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
}

.status-pill span {
  display: block;
  font-family: var(--font-mono);
  color: var(--subtle);
  font-size: 0.72rem;
}

.hero-dock {
  position: absolute;
  right: -26px;
  top: 28px;
  width: 210px;
  display: grid;
  gap: 0.55rem;
}

.dock-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 10, 12, 0.86);
  padding: 0.75rem;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.dock-card strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
}

.dock-card span {
  display: block;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.stats-grid,
.card-grid,
.post-grid,
.archive-grid,
.support-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric,
.topic-card,
.project-card,
.post-card,
.support-card,
.resume-panel,
.archive-sidebar,
.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 19, 24, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.metric {
  padding: 1rem;
}

.metric strong {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.45rem;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.metrics-belt {
  position: relative;
  margin-top: -42px;
  z-index: 3;
}

.metrics-belt .stats-grid {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 10, 12, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.topic-card,
.project-card,
.support-card,
.resume-panel {
  padding: 1.15rem;
}

.topic-card {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.topic-card:hover,
.project-card:hover,
.post-card:hover,
.support-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(15, 25, 29, 0.9);
}

.topic-card .icon-box,
.support-card .icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--cyan);
  background: rgba(80, 216, 255, 0.08);
}

.topic-card p,
.project-card p,
.support-card p {
  margin-bottom: 0;
}

.visual-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.58) 48%, rgba(5, 6, 8, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(80, 216, 255, 0.12), transparent 34%);
  z-index: 1;
}

.visual-section .wrap {
  position: relative;
  z-index: 2;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: 1.25rem;
  align-items: center;
}

.showcase-grid.reverse {
  grid-template-columns: minmax(380px, 1.12fr) minmax(0, 0.88fr);
}

.showcase-copy {
  display: grid;
  gap: 1rem;
}

.showcase-panel {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  opacity: 0.92;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.16), 0) scale(1.08);
  will-change: transform;
}

.showcase-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.68));
}

.floating-panel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  padding: 1rem;
}

.signal-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.signal-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 17, 21, 0.76);
  padding: 0.85rem;
}

.signal-item i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--green);
}

.signal-item strong {
  display: block;
  color: var(--text);
}

.signal-item span {
  color: var(--muted);
  font-size: 0.93rem;
}

.image-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(6, 10, 12, 0.72);
}

.image-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.image-marquee span {
  min-width: 340px;
  padding: 0.9rem 1.1rem;
  border-right: 1px solid var(--line);
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.feature-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-stack .topic-card {
  min-height: 190px;
}

.editorial-rail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: 1.25rem;
  align-items: start;
}

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

.editorial-feature {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editorial-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  opacity: 0.72;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.18), 0);
}

.editorial-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.92), rgba(5, 6, 8, 0.22));
  z-index: 1;
}

.editorial-feature-content {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
}

.post-card.featured {
  min-height: 100%;
}

.post-card.featured .post-card-media {
  aspect-ratio: 21 / 10;
}

.visual-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 360px;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
}

.visual-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.74;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.2), 0);
}

.visual-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0.38));
  z-index: 1;
}

.visual-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem;
}

.feature-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg-soft);
}

.feature-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.18), 0);
  will-change: transform;
}

.feature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.42));
}

.feature-hero .wrap {
  position: relative;
  padding: 72px 0;
}

.feature-hero h1 {
  margin-top: 0.7rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: var(--muted);
}

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

.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.post-card-media {
  aspect-ratio: 16 / 9;
  background: var(--panel-2);
  overflow: hidden;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 420ms ease;
}

.post-card:hover img {
  transform: scale(1.04);
}

.post-card-body {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.post-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.pill.green {
  border-color: rgba(85, 240, 173, 0.34);
  color: var(--green);
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.input-shell,
.select-shell {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 14, 18, 0.82);
  padding: 0 0.85rem;
}

.input-shell svg,
.select-shell svg {
  width: 18px;
  height: 18px;
  color: var(--subtle);
}

.input-shell input,
.select-shell select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.select-shell select {
  cursor: pointer;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

.archive-sidebar {
  position: sticky;
  top: 96px;
  padding: 1rem;
}

.archive-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.archive-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.archive-sidebar a:last-child {
  border-bottom: 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.4rem;
  align-items: start;
}

.article {
  min-width: 0;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-header h2 {
  font-size: 3.3rem;
}

.article-body {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}

.article-body p,
.article-body li {
  font-size: 1.02rem;
}

.article-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-body img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  height: auto;
  margin: 1rem 0;
}

.article-body figure {
  margin: 1.3rem 0;
}

.article-body figcaption {
  color: var(--subtle);
  font-size: 0.86rem;
  text-align: center;
  margin-top: 0.45rem;
}

.article-body blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--green);
  background: rgba(85, 240, 173, 0.06);
  border-radius: var(--radius);
}

.article-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 9, 11, 0.9);
  padding: 1rem;
}

.article-body pre code {
  display: block;
  max-width: 100%;
  white-space: pre;
}

.article-body :not(pre) > code {
  display: inline;
  white-space: break-spaces;
  word-break: break-word;
}

.wp-block-image.alignright {
  float: right;
  max-width: min(42%, 360px);
  margin: 0 0 1rem 1rem;
}

.wp-block-image.alignleft {
  float: left;
  max-width: min(42%, 360px);
  margin: 0 1rem 1rem 0;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(11, 16, 21, 0.82);
}

.side-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.related-list {
  display: grid;
  gap: 0.75rem;
}

.related-card {
  padding: 0.8rem;
}

.related-card h4 {
  font-size: 0.96rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.project-card {
  min-height: 270px;
  display: grid;
  gap: 0.85rem;
}

.project-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-left: 1.4rem;
}

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

.timeline-item {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 16, 21, 0.72);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(80, 216, 255, 0.6);
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.25rem;
  align-items: start;
}

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

.support-card {
  position: relative;
  overflow: hidden;
}

.support-card::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: translateX(-100%);
  opacity: 0.7;
}

.support-card:hover::after {
  animation: scan 1200ms ease;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 6, 0.72);
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--muted);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius);
}

.footer-links a:hover {
  background: rgba(80, 216, 255, 0.08);
  color: var(--text);
}

html.motion-ready [data-animate] {
  opacity: 0.72;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

html.motion-ready [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.motion-ready .stagger > * {
  opacity: 0.72;
  transform: translateY(16px);
}

html.motion-ready .stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.stagger.is-visible > *:nth-child(2) {
  transition-delay: 80ms;
}

.stagger.is-visible > *:nth-child(3) {
  transition-delay: 150ms;
}

.stagger.is-visible > *:nth-child(4) {
  transition-delay: 220ms;
}

.stagger.is-visible > *:nth-child(5) {
  transition-delay: 290ms;
}

.stagger.is-visible > *:nth-child(6) {
  transition-delay: 360ms;
}

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

@keyframes scan {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .archive-layout,
  .article-shell,
  .resume-grid,
  .showcase-grid,
  .showcase-grid.reverse,
  .editorial-rail {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
  }

  .stats-grid,
  .card-grid,
  .post-grid,
  .support-grid,
  .feature-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-dock {
    right: 12px;
  }

  .archive-sidebar,
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 68px;
  }

  .brand em {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 6, 8, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: space-between;
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-grid {
    gap: 34px;
  }

  .status-strip {
    position: static;
    margin-top: 0.8rem;
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .card-grid,
  .post-grid,
  .support-grid,
  .project-grid,
  .feature-stack {
    grid-template-columns: 1fr;
  }

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

  .feature-hero {
    min-height: 360px;
  }

  .showcase-panel,
  .showcase-panel img,
  .editorial-feature {
    min-height: 360px;
  }

  .hero-dock {
    position: static;
    width: auto;
    margin-top: 0.8rem;
  }

  .metrics-belt {
    margin-top: 0;
  }

  .visual-cta-content {
    padding: 1.25rem;
  }

  .article-header h2 {
    font-size: 2.4rem;
  }

  .wp-block-image.alignright,
  .wp-block-image.alignleft {
    float: none;
    max-width: 100%;
    margin: 1rem 0;
  }

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

/* Exact reference-style homepage layout */
.reference-hero {
  position: relative;
  min-height: calc(100vh - 104px);
  overflow: hidden;
  padding: 44px 0 78px;
  background:
    radial-gradient(circle at 72% 10%, rgba(123, 55, 255, 0.2), transparent 24%),
    radial-gradient(circle at 19% 39%, rgba(65, 245, 156, 0.2), transparent 26%),
    #070807;
}

.reference-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(10deg, rgba(65, 245, 156, 0.16) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, rgba(65, 245, 156, 0.12), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  mask-image: radial-gradient(circle at 16% 49%, #000 0 29%, transparent 61%);
  opacity: 0.7;
}

.reference-stage {
  position: relative;
  width: min(1320px, calc(100% - 48px));
  min-height: 760px;
}

.reference-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    rgba(9, 12, 11, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
}

.reference-main {
  position: absolute;
  left: 0;
  top: 86px;
  z-index: 4;
  width: 740px;
  min-height: 635px;
  padding: 0.9rem;
}

.reference-card-nav {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.reference-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid rgba(65, 245, 156, 0.42);
  color: var(--green);
  font-weight: 900;
  margin-right: auto;
  overflow: hidden;
  padding: 2px;
}

.reference-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.reference-card-nav nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.reference-mini-cta {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.65rem;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #fff;
  font-weight: 800;
}

.reference-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.15rem;
  align-items: center;
  padding: 1.2rem 1.1rem 1rem;
  min-height: 350px;
}

.reference-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.reference-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(65, 245, 156, 0.8);
}

.reference-kicker.centered {
  display: flex;
  justify-content: center;
}

.reference-copy h1 {
  margin-top: 0.55rem;
  max-width: 395px;
  font-size: 2.9rem;
  line-height: 0.96;
}

.reference-copy p,
.reference-about-row p,
.reference-about-card p {
  color: #a7b5ae;
  font-size: 0.86rem;
  line-height: 1.58;
}

.reference-stats {
  display: flex;
  gap: 0.85rem;
  margin: 0.75rem 0;
}

.reference-stats span {
  display: grid;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.reference-stats strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
}

.reference-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.reference-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  font-weight: 800;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.045);
}

.reference-button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #fff;
}

.reference-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  height: 325px;
  border-radius: 7px;
  border: 1px solid rgba(65, 245, 156, 0.28);
  background: #090d0c;
}

.reference-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-about-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 1.1rem;
  padding: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-about-row h2 {
  margin: 0.55rem 0 0.7rem;
  max-width: 360px;
  font-size: 1.35rem;
}

.reference-about-row a {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.reference-diagram {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
}

.reference-diagram span {
  position: absolute;
  border: 1px solid rgba(65, 245, 156, 0.17);
  border-radius: 50%;
}

.reference-diagram span:nth-child(1) {
  width: 160px;
  height: 160px;
}

.reference-diagram span:nth-child(2) {
  width: 112px;
  height: 112px;
}

.reference-diagram span:nth-child(3) {
  width: 64px;
  height: 64px;
}

.reference-diagram b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(65, 245, 156, 0.1);
  border: 1px solid rgba(65, 245, 156, 0.4);
  color: var(--green);
  font-family: var(--font-mono);
}

.reference-diagram.small {
  min-height: 120px;
  margin-top: 0.5rem;
}

.reference-diagram.small span:nth-child(1) {
  width: 120px;
  height: 120px;
}

.reference-diagram.small span:nth-child(2) {
  width: 82px;
  height: 82px;
}

.reference-diagram.small span:nth-child(3) {
  width: 46px;
  height: 46px;
}

.reference-about-card {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  width: 540px;
  min-height: 285px;
  padding: 1.35rem;
}

.reference-about-card h2 {
  margin: 0.55rem 0 0.75rem;
  font-size: 1.55rem;
}

.reference-toolbox-card {
  position: absolute;
  right: 26px;
  top: 340px;
  z-index: 3;
  width: 580px;
  min-height: 355px;
  padding: 1.1rem 1.1rem 0;
  overflow: hidden;
}

.reference-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

.reference-tools a {
  min-height: 96px;
  display: grid;
  align-content: end;
  gap: 0.2rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.8rem;
  background:
    radial-gradient(circle at 80% 16%, rgba(65, 245, 156, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.04);
}

.reference-tools svg {
  width: 19px;
  height: 19px;
  color: var(--green);
}

.reference-tools strong {
  color: var(--text);
  font-size: 0.88rem;
}

.reference-tools span {
  color: var(--subtle);
  font-size: 0.72rem;
}

.reference-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 1rem -1.1rem 0;
  min-height: 42px;
  background: linear-gradient(90deg, #6e35ff, #8c35ff);
}

.reference-strip span {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.72rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 1080px) {
  .reference-stage {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .reference-main,
  .reference-about-card,
  .reference-toolbox-card {
    position: relative;
    inset: auto;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .reference-hero {
    padding: 24px 0 42px;
  }

  .reference-main {
    padding: 0.7rem;
  }

  .reference-card-nav nav {
    display: none;
  }

  .reference-hero-row,
  .reference-about-row,
  .reference-tools,
  .reference-strip {
    grid-template-columns: 1fr;
  }

  .reference-copy h1 {
    max-width: none;
    font-size: 2.15rem;
  }

  .reference-stats,
  .reference-actions {
    flex-wrap: wrap;
  }

  .reference-portrait {
    height: 300px;
  }

  .reference-strip span {
    min-height: 34px;
  }
}

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

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

  [data-animate],
  .stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Minimal premium redesign inspired by the supplied reference */
:root {
  --bg: #070807;
  --bg-soft: #0b0d0b;
  --panel: rgba(12, 16, 14, 0.82);
  --panel-2: rgba(16, 22, 20, 0.84);
  --line: rgba(212, 255, 232, 0.14);
  --line-strong: rgba(83, 255, 171, 0.45);
  --text: #f4f7f2;
  --muted: #a7b5ae;
  --subtle: #6f8078;
  --green: #41f59c;
  --cyan: #77f7d2;
  --purple: #7b37ff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
  --radius: 7px;
  --max: 1160px;
}

body {
  background:
    radial-gradient(circle at 12% 18%, rgba(65, 245, 156, 0.14), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(123, 55, 255, 0.12), transparent 22%),
    #070807;
}

body::before {
  background:
    linear-gradient(rgba(65, 245, 156, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 245, 156, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.65;
  z-index: -1;
}

.site-header {
  background: rgba(7, 8, 7, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.brand-mark {
  border-color: rgba(65, 245, 156, 0.45);
  background: rgba(65, 245, 156, 0.08);
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(65, 245, 156, 0.08);
}

.btn {
  background: linear-gradient(135deg, rgba(65, 245, 156, 0.16), rgba(65, 245, 156, 0.05));
  border-color: rgba(65, 245, 156, 0.42);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn.accent,
.hero-main-panel .btn:first-child {
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(123, 55, 255, 0.28);
}

.minimal-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 54px;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
}

.mesh-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 52%, rgba(65, 245, 156, 0.22), transparent 22%),
    linear-gradient(115deg, transparent 0 22%, rgba(65, 245, 156, 0.16) 23%, transparent 44%),
    repeating-linear-gradient(12deg, rgba(65, 245, 156, 0.18) 0 1px, transparent 1px 8px);
  opacity: 0.34;
  mask-image: radial-gradient(circle at 20% 50%, #000 0 30%, transparent 62%);
}

.hero-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-main-panel,
.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(10, 13, 12, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-main-panel {
  min-height: 560px;
  padding: 1rem;
}

.mini-nav {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.mini-nav span:first-child {
  margin-right: auto;
  color: var(--text);
}

.mini-nav strong {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.55rem;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: #fff;
  font-size: 0.66rem;
}

.hero-content-split {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.3rem 1rem;
}

.hero-content-split h1 {
  max-width: 620px;
  font-size: clamp(2.15rem, 4.3vw, 3.55rem);
  overflow-wrap: normal;
}

.hero-person {
  align-self: stretch;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(65, 245, 156, 0.28);
  background: #0b0f0d;
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-person::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 8, 7, 0.76));
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.7rem;
}

.hero-stat-row span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.7rem;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.22);
}

.hero-stat-row strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.hero-side-stack {
  display: grid;
  gap: 1rem;
}

.glass-panel {
  padding: 1.35rem;
}

.about-card {
  min-height: 290px;
}

.about-card h2 {
  font-size: 1.8rem;
  margin: 0.75rem 0 1rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.72rem;
  margin-top: 1rem;
}

.tool-grid a {
  min-height: 112px;
  display: grid;
  align-content: end;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(65, 245, 156, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.03);
}

.tool-grid svg {
  color: var(--green);
  width: 20px;
  height: 20px;
}

.tool-grid strong {
  color: var(--text);
}

.tool-grid span {
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.compact-section {
  padding: 58px 0;
}

.split-minimal {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

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

.post-card,
.project-card,
.support-card,
.archive-sidebar,
.resume-panel,
.related-card,
.side-panel {
  background: rgba(10, 14, 13, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.post-card-media {
  display: none;
}

.post-card-body {
  padding: 1rem;
}

.post-card h3 {
  font-size: 1.04rem;
  line-height: 1.18;
}

.post-card p {
  font-size: 0.9rem;
}

.support-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.support-mini-row a {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
}

.support-mini-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.page-hero-minimal {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-inner h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.feature-hero,
.visual-cta,
.visual-section,
.image-marquee {
  background: transparent;
}

@media (max-width: 980px) {
  .hero-board,
  .hero-content-split,
  .split-minimal {
    grid-template-columns: 1fr;
  }

  .hero-main-panel {
    min-height: auto;
  }

  .hero-person {
    min-height: 420px;
  }

  .minimal-posts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .minimal-hero {
    padding: 24px 0 44px;
    min-height: auto;
  }

  .mini-nav span:not(:first-child) {
    display: none;
  }

  .hero-content-split {
    padding: 1rem 0.85rem;
  }

  .hero-person {
    min-height: 340px;
  }

  .hero-stat-row,
  .tool-grid,
  .support-mini-row {
    grid-template-columns: 1fr;
  }

  .glass-panel {
    padding: 1rem;
  }
}

/* Proper homepage hero rebuild */
.proper-hero {
  position: relative;
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 34px 0 30px;
  background:
    linear-gradient(118deg, rgba(85, 240, 173, 0.12), transparent 27%),
    linear-gradient(292deg, rgba(139, 92, 246, 0.16), transparent 34%),
    linear-gradient(180deg, #050608 0%, #070b0c 54%, #050608 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.proper-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(85, 240, 173, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(80, 216, 255, 0.07) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
  opacity: 0.38;
}

.proper-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 0;
  bottom: -20%;
  z-index: -2;
  width: 58%;
  background:
    linear-gradient(135deg, transparent 0%, rgba(85, 240, 173, 0.12) 28%, rgba(80, 216, 255, 0.07) 50%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-14deg);
  opacity: 0.86;
}

.proper-hero-grid {
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 36%;
  background:
    linear-gradient(90deg, rgba(85, 240, 173, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(85, 240, 173, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(620px) rotateX(62deg) translateY(22%);
  transform-origin: bottom;
  opacity: 0.28;
}

.proper-hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 26%;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(85, 240, 173, 0.72), rgba(139, 92, 246, 0.42), transparent);
  box-shadow: 0 0 34px rgba(85, 240, 173, 0.28);
  opacity: 0.58;
}

.proper-hero-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 40px));
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.86fr);
  gap: 70px;
  align-items: center;
}

.proper-hero-copy {
  max-width: 710px;
}

.proper-brand-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 14px;
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(4, 8, 9, 0.72);
  box-shadow: inset 0 0 0 1px rgba(85, 240, 173, 0.08), 0 18px 44px rgba(0, 0, 0, 0.24);
}

.proper-brand-pill img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.proper-brand-pill strong,
.proper-brand-pill em {
  display: block;
}

.proper-brand-pill strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.proper-brand-pill em {
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
}

.proper-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0 0 10px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proper-eyebrow span {
  width: 34px;
  height: 2px;
  display: inline-block;
  background: linear-gradient(90deg, var(--green), #8b5cf6);
}

.proper-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #f7fffb;
  font-family: var(--font-display);
  font-size: 3.55rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.proper-hero-lede {
  max-width: 650px;
  margin: 12px 0 0;
  color: #b6c6c4;
  font-size: 1rem;
  line-height: 1.5;
}

.proper-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 20px;
}

.proper-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius);
  padding: 0.82rem 1.05rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.proper-btn svg {
  width: 18px;
  height: 18px;
}

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

.proper-btn-primary {
  border: 1px solid rgba(85, 240, 173, 0.72);
  background: linear-gradient(135deg, #55f0ad, #6fe8ff);
  color: #06110d;
  box-shadow: 0 18px 42px rgba(85, 240, 173, 0.18);
}

.proper-btn-primary:hover {
  color: #06110d;
}

.proper-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.proper-btn-secondary:hover {
  border-color: rgba(139, 92, 246, 0.58);
  background: rgba(139, 92, 246, 0.13);
  color: var(--text);
}

.proper-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 620px;
  margin: 18px 0 0;
}

.proper-hero-stats div {
  min-height: 72px;
  padding: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(6, 10, 11, 0.72);
}

.proper-hero-stats dt {
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.proper-hero-stats dd {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

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

.proper-visual-depth {
  position: relative;
  min-height: 470px;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.28), 0);
  transition: transform 220ms ease-out;
}

.proper-portrait-frame {
  position: absolute;
  inset: 0 58px 52px 22px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 240, 173, 0.24);
  border-radius: var(--radius);
  background: #080d0f;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.proper-portrait-frame::before,
.proper-portrait-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.proper-portrait-frame::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 9, 0.02) 0%, rgba(4, 8, 9, 0.04) 48%, rgba(4, 8, 9, 0.82) 100%),
    linear-gradient(90deg, rgba(85, 240, 173, 0.12), transparent 24%, transparent 72%, rgba(139, 92, 246, 0.18));
}

.proper-portrait-frame::after {
  left: 18px;
  top: 18px;
  width: 82px;
  height: 82px;
  border-left: 2px solid var(--green);
  border-top: 2px solid var(--green);
  opacity: 0.76;
}

.proper-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) saturate(0.98);
}

.proper-role-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 8, 9, 0.8);
  backdrop-filter: blur(16px);
}

.proper-role-card span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.proper-role-card strong {
  display: block;
  margin-top: 0.32rem;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.proper-terminal-card {
  position: absolute;
  left: 0;
  right: 104px;
  bottom: 0;
  z-index: 4;
  overflow: hidden;
  border: 1px solid rgba(80, 216, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 6, 8, 0.94);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.44);
}

.proper-terminal-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.proper-terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b7a;
}

.proper-terminal-top span:nth-child(2) {
  background: var(--amber);
}

.proper-terminal-top span:nth-child(3) {
  background: var(--green);
}

.proper-terminal-top b {
  margin-left: auto;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.proper-terminal-body {
  padding: 1rem;
}

.proper-terminal-body code {
  display: block;
  min-height: 24px;
  color: #dffdf0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-dollar {
  color: var(--green);
}

.proper-terminal-caret {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--green);
  animation: properCaret 920ms steps(1) infinite;
}

.proper-terminal-body p {
  margin: 0.72rem 0 0;
  color: var(--subtle);
  font-size: 0.82rem;
}

.proper-tool-rail {
  position: absolute;
  right: 0;
  top: 36px;
  z-index: 5;
  display: grid;
  gap: 0.62rem;
  width: 138px;
}

.proper-tool-rail a {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 0.3rem;
  padding: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(7, 11, 12, 0.84);
  backdrop-filter: blur(16px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.proper-tool-rail a:hover {
  transform: translateX(-4px);
  border-color: rgba(85, 240, 173, 0.44);
  color: var(--text);
}

.proper-tool-rail svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

html.motion-ready .proper-hero-copy {
  transition-duration: 680ms;
}

html.motion-ready .proper-hero-visual {
  transition-delay: 120ms;
  transition-duration: 760ms;
}

html.motion-ready .proper-hero .proper-brand-pill,
html.motion-ready .proper-hero .proper-eyebrow,
html.motion-ready .proper-hero h1,
html.motion-ready .proper-hero .proper-hero-lede,
html.motion-ready .proper-hero .proper-hero-actions,
html.motion-ready .proper-hero .proper-hero-stats {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms ease;
}

html.motion-ready .proper-hero-copy.is-visible .proper-brand-pill,
html.motion-ready .proper-hero-copy.is-visible .proper-eyebrow,
html.motion-ready .proper-hero-copy.is-visible h1,
html.motion-ready .proper-hero-copy.is-visible .proper-hero-lede,
html.motion-ready .proper-hero-copy.is-visible .proper-hero-actions,
html.motion-ready .proper-hero-copy.is-visible .proper-hero-stats {
  opacity: 1;
  transform: translateY(0);
}

html.motion-ready .proper-hero-copy.is-visible .proper-eyebrow {
  transition-delay: 80ms;
}

html.motion-ready .proper-hero-copy.is-visible h1 {
  transition-delay: 150ms;
}

html.motion-ready .proper-hero-copy.is-visible .proper-hero-lede {
  transition-delay: 220ms;
}

html.motion-ready .proper-hero-copy.is-visible .proper-hero-actions {
  transition-delay: 290ms;
}

html.motion-ready .proper-hero-copy.is-visible .proper-hero-stats {
  transition-delay: 360ms;
}

html.motion-ready .proper-hero-scanline {
  animation: properScan 7s ease-in-out infinite;
}

html.motion-ready .proper-terminal-card {
  animation: properFloat 6.4s ease-in-out infinite;
}

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

@keyframes properScan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.42;
  }
  50% {
    transform: translateY(170px);
    opacity: 0.76;
  }
}

@keyframes properFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1120px) {
  .proper-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 42px;
  }

  .proper-hero h1 {
    font-size: 4rem;
  }

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

  .proper-portrait-frame {
    right: 34px;
  }

  .proper-tool-rail {
    width: 126px;
  }
}

@media (max-width: 920px) {
  .proper-hero {
    min-height: auto;
    padding: 72px 0 58px;
  }

  .proper-hero-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .proper-hero-copy {
    max-width: 760px;
  }

  .proper-hero h1 {
    font-size: 3.45rem;
  }

  .proper-hero-visual,
  .proper-visual-depth {
    min-height: 620px;
  }

  .proper-portrait-frame {
    inset: 0 92px 92px 0;
  }

  .proper-terminal-card {
    right: 160px;
  }
}

@media (max-width: 680px) {
  .proper-hero {
    padding: 46px 0 44px;
  }

  .proper-hero-shell {
    width: min(100% - 28px, 1320px);
    gap: 34px;
  }

  .proper-brand-pill {
    margin-bottom: 26px;
  }

  .proper-hero h1 {
    font-size: 2.55rem;
    line-height: 0.96;
  }

  .proper-hero-lede {
    font-size: 1rem;
    line-height: 1.66;
  }

  .proper-hero-actions {
    display: grid;
  }

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

  .proper-hero-stats div {
    min-height: auto;
    padding: 0.65rem;
  }

  .proper-hero-stats dt {
    font-size: 0.6rem;
  }

  .proper-hero-stats dd {
    font-size: 1.05rem;
  }

  .proper-hero-visual,
  .proper-visual-depth {
    min-height: 640px;
  }

  .proper-portrait-frame,
  .proper-terminal-card,
  .proper-tool-rail {
    position: relative;
    inset: auto;
    right: auto;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
  }

  .proper-portrait-frame {
    height: 390px;
  }

  .proper-role-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 0.82rem;
  }

  .proper-role-card strong {
    font-size: 0.84rem;
  }

  .proper-terminal-card {
    margin-top: 0.75rem;
  }

  .proper-tool-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.75rem;
  }

  .proper-tool-rail a {
    min-height: 62px;
  }
}

/* Full-bleed portrait hero: person as background, copy on left */
.proper-hero {
  min-height: calc(100vh - 76px);
  align-items: stretch;
  padding: 0;
  background: #030607;
}

.proper-hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.12), 0) scale(1.045);
  transform-origin: center;
  transition: transform 220ms ease-out;
}

.proper-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 47%;
  filter: saturate(0.95) contrast(1.08) brightness(0.8);
}

.proper-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 6, 7, 0.98) 0%, rgba(3, 6, 7, 0.92) 37%, rgba(3, 6, 7, 0.42) 62%, rgba(3, 6, 7, 0.1) 100%),
    linear-gradient(180deg, rgba(3, 6, 7, 0.34) 0%, rgba(3, 6, 7, 0.04) 43%, rgba(3, 6, 7, 0.72) 100%);
}

.proper-hero::before {
  z-index: -3;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, #000 0%, #000 54%, transparent 88%);
}

.proper-hero::after {
  right: 30%;
  top: 0;
  bottom: 0;
  width: 34%;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(85, 240, 173, 0.12) 44%, transparent 100%),
    linear-gradient(180deg, rgba(80, 216, 255, 0.05), transparent);
  transform: skewX(-10deg);
  opacity: 0.9;
}

.proper-hero-grid {
  z-index: -1;
  height: 30%;
  opacity: 0.22;
}

.proper-hero-scanline {
  z-index: 1;
  top: 38%;
  opacity: 0.46;
}

.proper-hero-shell {
  min-height: calc(100vh - 76px);
  width: min(1320px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(280px, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 54px 0 48px;
}

.proper-hero-copy {
  position: relative;
  max-width: 650px;
  padding: 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.58);
}

.proper-brand-pill {
  background: rgba(4, 8, 9, 0.54);
  backdrop-filter: blur(16px);
}

.proper-eyebrow {
  color: #77ffc0;
}

.proper-hero h1 {
  max-width: 680px;
  font-size: 4.35rem;
  line-height: 0.94;
}

.proper-hero-lede {
  max-width: 620px;
  color: #d1dddb;
  font-size: 1.06rem;
}

.proper-hero-stats {
  max-width: 560px;
}

.proper-hero-stats div,
.proper-btn-secondary {
  background: rgba(4, 8, 9, 0.58);
  backdrop-filter: blur(18px);
}

.proper-hero-aside {
  position: relative;
  min-height: 560px;
}

.proper-hero-aside::before {
  content: "";
  position: absolute;
  right: 5%;
  top: 12%;
  width: 42%;
  height: 62%;
  border: 1px solid rgba(85, 240, 173, 0.26);
  border-left-width: 2px;
  border-radius: var(--radius);
  opacity: 0.72;
  pointer-events: none;
}

.proper-hero-aside .proper-terminal-card {
  left: auto;
  right: 0;
  bottom: 56px;
  width: min(430px, 92%);
  background: rgba(3, 6, 8, 0.78);
  backdrop-filter: blur(18px);
}

.proper-hero-aside .proper-tool-rail {
  right: 0;
  top: 92px;
  width: 152px;
}

.proper-hero-aside .proper-tool-rail a {
  min-height: 68px;
  background: rgba(4, 8, 9, 0.7);
  backdrop-filter: blur(18px);
}

html.motion-ready .proper-hero-aside {
  transition-delay: 120ms;
  transition-duration: 760ms;
}

@media (max-width: 1120px) {
  .proper-hero h1 {
    font-size: 3.7rem;
  }

  .proper-hero-shell {
    grid-template-columns: minmax(0, 590px) minmax(220px, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 920px) {
  .proper-hero {
    min-height: auto;
  }

  .proper-hero-media img {
    object-position: 68% top;
  }

  .proper-hero-vignette {
    background:
      linear-gradient(180deg, rgba(3, 6, 7, 0.95) 0%, rgba(3, 6, 7, 0.82) 48%, rgba(3, 6, 7, 0.96) 100%),
      linear-gradient(90deg, rgba(3, 6, 7, 0.72), rgba(3, 6, 7, 0.16));
  }

  .proper-hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 62px 0 44px;
  }

  .proper-hero-copy {
    max-width: 720px;
  }

  .proper-hero-aside {
    min-height: 250px;
  }

  .proper-hero-aside::before {
    display: none;
  }

  .proper-hero-aside .proper-terminal-card,
  .proper-hero-aside .proper-tool-rail {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .proper-hero-aside .proper-tool-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.75rem;
  }
}

@media (max-width: 680px) {
  .proper-hero-media {
    inset: 0 0 auto;
    height: 54%;
    transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.08), 0) scale(1.03);
  }

  .proper-hero-media img {
    object-position: 64% top;
    opacity: 0.86;
  }

  .proper-hero-vignette {
    background:
      linear-gradient(180deg, rgba(3, 6, 7, 0.64) 0%, rgba(3, 6, 7, 0.86) 34%, rgba(3, 6, 7, 0.98) 58%, #030607 100%),
      linear-gradient(90deg, rgba(3, 6, 7, 0.82), rgba(3, 6, 7, 0.24));
  }

  .proper-hero-shell {
    width: min(100% - 28px, 1320px);
    padding: 34px 0 38px;
    gap: 1rem;
  }

  .proper-brand-pill {
    margin-bottom: 96px;
  }

  .proper-hero h1 {
    max-width: 360px;
    font-size: 2.45rem;
    line-height: 0.98;
  }

  .proper-hero-lede {
    max-width: 350px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .proper-hero-aside {
    min-height: auto;
  }

  .proper-hero-aside .proper-tool-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Regenerated full-width image hero: Eric right, copy left, no text over person */
.proper-hero {
  min-height: calc(100vh - 112px);
}

.proper-hero-media {
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.08), 0) scale(1.012);
}

.proper-hero-media img {
  object-position: center center;
  filter: saturate(0.96) contrast(1.07) brightness(0.86);
}

.proper-hero-vignette {
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.99) 0%, rgba(2, 5, 6, 0.96) 34%, rgba(2, 5, 6, 0.64) 50%, rgba(2, 5, 6, 0.18) 70%, rgba(2, 5, 6, 0.04) 100%),
    linear-gradient(180deg, rgba(2, 5, 6, 0.26) 0%, rgba(2, 5, 6, 0.02) 44%, rgba(2, 5, 6, 0.68) 100%);
}

.proper-hero::after {
  right: 46%;
  width: 22%;
  opacity: 0.55;
}

.proper-hero-shell {
  min-height: calc(100vh - 112px);
  grid-template-columns: minmax(0, 660px) minmax(260px, 1fr);
  padding: 42px 0 46px;
}

.proper-hero-copy {
  max-width: 660px;
}

.proper-hero h1 {
  max-width: 650px;
  font-size: 4.2rem;
}

.proper-hero-lede {
  max-width: 590px;
}

.proper-hero-edge {
  position: relative;
  min-height: 520px;
  pointer-events: none;
}

.proper-hero-edge::before,
.proper-hero-edge::after {
  content: "";
  position: absolute;
  right: 3%;
  border-radius: var(--radius);
  pointer-events: none;
}

.proper-hero-edge::before {
  top: 16%;
  width: min(230px, 36%);
  height: 54%;
  border: 1px solid rgba(85, 240, 173, 0.18);
  border-left: 2px solid rgba(85, 240, 173, 0.5);
  opacity: 0.68;
}

.proper-hero-edge::after {
  top: 13%;
  width: 74px;
  height: 74px;
  border-top: 2px solid rgba(85, 240, 173, 0.72);
  border-left: 2px solid rgba(85, 240, 173, 0.72);
}

.proper-hero-edge span {
  position: absolute;
  right: 5%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(85, 240, 173, 0.7);
}

.proper-hero-edge span:nth-child(1) {
  top: 32%;
}

.proper-hero-edge span:nth-child(2) {
  top: 45%;
  background: var(--cyan);
}

.proper-hero-edge span:nth-child(3) {
  top: 58%;
}

.proper-hero-aside,
.proper-terminal-card,
.proper-tool-rail {
  display: none;
}

@media (max-width: 1120px) {
  .proper-hero h1 {
    font-size: 3.55rem;
  }

  .proper-hero-shell {
    grid-template-columns: minmax(0, 610px) minmax(200px, 1fr);
  }
}

@media (max-width: 920px) {
  .proper-hero {
    min-height: auto;
  }

  .proper-hero-media img {
    object-position: 62% center;
  }

  .proper-hero-vignette {
    background:
      linear-gradient(90deg, rgba(2, 5, 6, 0.98) 0%, rgba(2, 5, 6, 0.92) 46%, rgba(2, 5, 6, 0.48) 78%, rgba(2, 5, 6, 0.18) 100%),
      linear-gradient(180deg, rgba(2, 5, 6, 0.28) 0%, rgba(2, 5, 6, 0.28) 55%, rgba(2, 5, 6, 0.84) 100%);
  }

  .proper-hero-shell {
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr);
    padding: 48px 0 44px;
  }

  .proper-hero-copy {
    max-width: min(600px, 72%);
  }

  .proper-hero-edge {
    display: none;
  }
}

@media (max-width: 680px) {
  .proper-hero-media {
    height: 300px;
    opacity: 0.9;
  }

  .proper-hero-media img {
    object-position: 68% top;
  }

  .proper-hero-vignette {
    background:
      linear-gradient(180deg, rgba(2, 5, 6, 0.28) 0%, rgba(2, 5, 6, 0.52) 29%, rgba(2, 5, 6, 0.98) 43%, #020506 100%),
      linear-gradient(90deg, rgba(2, 5, 6, 0.96) 0%, rgba(2, 5, 6, 0.84) 55%, rgba(2, 5, 6, 0.28) 100%);
  }

  .proper-hero-shell {
    min-height: 780px;
    padding: 28px 0 38px;
  }

  .proper-hero-copy {
    max-width: 100%;
    align-self: end;
  }

  .proper-brand-pill {
    margin-bottom: 174px;
  }

  .proper-hero h1 {
    max-width: 350px;
    font-size: 2.42rem;
  }
}
