/* Palette seed: УКРТРЕЙДАВТО → hue 11 */
:root {
  --bg: hsl(231, 31%, 9%);
  --text: hsl(231, 20%, 96%);
  --accent: hsl(11, 86%, 60%);
  --accent-two: hsl(77, 79%, 57%);
  --panel: color-mix(in srgb, var(--bg) 72%, hsl(231, 22%, 18%));
  --muted: color-mix(in srgb, var(--text) 62%, transparent);
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-two));
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Syne", var(--font);
  --radius: 16px;
  --radius-pill: 999px;
  --header-h: 76px;
  --max-w: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body.grid {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.section-index {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--text) 8%, transparent);
  user-select: none;
}

.section-index--accent {
  color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.section-index--light {
  color: color-mix(in srgb, var(--bg) 25%, var(--text));
}

/* ─── HEADER: вертикальний акцент + стек логотипу ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-accent);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  justify-self: start;
  margin-left: 0.5rem;
}

.logo-letter {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background: var(--gradient-accent);
  color: var(--bg);
  font-weight: 900;
  font-size: 1.1rem;
  transform: rotate(-6deg);
  flex-shrink: 0;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.logo-name {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-sub {
  display: none;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.lang-toggle {
  padding: 0.4rem 0.75rem;
  border: none;
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.lang-toggle:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  justify-self: center;
}

.nav a {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* ─── MAIN ─── */
main {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 3rem;
}

section {
  position: relative;
}

/* ─── HERO: кінематографічний спліт ─── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--gap);
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: -2rem -1rem auto;
  height: 70%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero-glyph {
  position: absolute;
  right: -5%;
  top: -10%;
  font-family: var(--font-display);
  font-size: clamp(12rem, 28vw, 22rem);
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 6%, transparent);
  letter-spacing: -0.06em;
  user-select: none;
}

.hero-line {
  position: absolute;
  background: var(--gradient-accent);
  opacity: 0.25;
}

.hero-line--a {
  width: 1px;
  height: 120%;
  left: 12%;
  top: -10%;
  transform: rotate(12deg);
}

.hero-line--b {
  width: 40%;
  height: 1px;
  left: 0;
  bottom: 30%;
  transform: rotate(-4deg);
}

.hero-content {
  border-left: 3px solid var(--accent);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-two);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-two);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.hero-chips li {
  padding: 0.35rem 0.85rem;
  border: 1px dashed color-mix(in srgb, var(--accent-two) 40%, var(--line));
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-chips li:nth-child(2) {
  border-style: solid;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--gradient-accent);
  color: var(--bg);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 30%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.btn--wide {
  width: 100%;
}

/* Hero orbit visual */
.hero-orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.orbit-ring--outer {
  inset: 0;
  border-style: dashed;
  animation: spin-slow 40s linear infinite;
}

.orbit-ring--mid {
  inset: 18%;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  animation: spin-slow 25s linear infinite reverse;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.orbit-core {
  display: grid;
  place-items: center;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  box-shadow:
    0 0 0 8px color-mix(in srgb, var(--accent) 8%, transparent),
    0 24px 48px color-mix(in srgb, var(--bg) 50%, transparent);
}

.orbit-core span {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.orbit-caption {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  white-space: nowrap;
  padding: 0.4rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── PROFILE: редакційна стрічка ─── */
.profile {
  padding: clamp(3rem, 7vw, 5rem) 0;
  margin-top: 1rem;
}

.profile-ribbon {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  margin-bottom: 2rem;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      color-mix(in srgb, var(--text) 3%, transparent) 6px,
      color-mix(in srgb, var(--text) 3%, transparent) 7px
    ),
    var(--panel);
  border-top: 2px solid var(--accent-two);
  border-bottom: 2px solid var(--accent-two);
}

.profile-ribbon .section-index {
  font-size: clamp(2.5rem, 6vw, 4rem);
  flex-shrink: 0;
}

.profile-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  flex: 1;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--line);
}

.profile-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  border: none;
  padding: 0;
  margin: 0;
}

.profile-editorial h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.profile-text {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  column-count: 1;
}

.profile-text::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.5em;
  font-weight: 800;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--accent);
}

/* ─── AREAS: bento-сітка ─── */
.areas {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.areas::before {
  content: "";
  position: absolute;
  inset: 10% -50vw 10%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent-two) 6%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.areas-head {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.areas-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--accent);
}

.areas-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.area-tile {
  position: relative;
  padding: 1.75rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.area-tile:hover {
  transform: translateY(-3px);
}

.area-tile--hero {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, var(--panel)), var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 2rem 2rem 2rem 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.area-tile--slant {
  grid-column: 8 / 13;
  grid-row: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0 1.5rem 1.5rem 1.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 12%);
}

.area-tile--code {
  grid-column: 8 / 13;
  grid-row: 2;
  background: color-mix(in srgb, var(--accent-two) 10%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent-two) 25%, var(--line));
  border-radius: 1.5rem 0 1.5rem 1.5rem;
}

.area-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.7;
}

.area-icon--consult {
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.area-icon--consult::after {
  content: "";
  position: absolute;
  inset: 30%;
  background: var(--accent);
  border-radius: 50%;
}

.area-icon--systems {
  background:
    linear-gradient(var(--accent-two), var(--accent-two)) 0 0 / 42% 42% no-repeat,
    linear-gradient(var(--accent-two), var(--accent-two)) 100% 0 / 42% 42% no-repeat,
    linear-gradient(var(--accent-two), var(--accent-two)) 0 100% / 42% 42% no-repeat,
    linear-gradient(var(--accent-two), var(--accent-two)) 100% 100% / 42% 42% no-repeat;
  border-radius: 4px;
}

.area-icon--code {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-two);
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-icon--code::before {
  content: "</>";
}

.area-num {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.area-tile h3 {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.area-tile p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.area-tile--hero .area-num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: color-mix(in srgb, var(--text) 12%, transparent);
  background: none;
  padding: 0;
  letter-spacing: -0.04em;
}

/* ─── PROCESS: зигзаг-таймлайн ─── */
.process {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.process-head {
  text-align: center;
  margin-bottom: 3rem;
}

.process-head .section-index {
  display: block;
  margin-bottom: 0.5rem;
}

.process-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.process-track {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 1rem;
}

.process-track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--accent) 0,
    var(--accent) 8px,
    transparent 8px,
    transparent 16px
  );
  transform: translateX(-50%);
  opacity: 0.5;
}

.step-node {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.step-marker {
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-two);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-two);
  z-index: 1;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-two) 12%, transparent);
}

.step-body {
  padding: 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  max-width: 340px;
}

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-node--left .step-body {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  border-radius: 1rem 1rem 0 1rem;
  border-right: 3px solid var(--accent);
}

.step-node--right .step-body {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  border-radius: 1rem 1rem 1rem 0;
  border-left: 3px solid var(--accent-two);
}

.step-node--left .step-marker span,
.step-node--right .step-marker span {
  display: block;
}

/* ─── CONTACT: діагональний спліт ─── */
.contact {
  padding: clamp(3rem, 7vw, 5rem) 0 1rem;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 32px 64px color-mix(in srgb, var(--bg) 60%, transparent);
}

.contact-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--gradient-accent);
  color: var(--bg);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0.5rem 0 0.75rem;
}

.contact-lead {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 32ch;
}

.contact-dl {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.contact-row dd {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-row a:hover {
  opacity: 0.8;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* ─── FOOTER ─── */
.footer {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 1.5rem) 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
}

.footer-legal {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-top {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.footer-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─── */
@media (min-width: 900px) {
  .logo-sub {
    display: block;
  }

  .profile-text {
    column-count: 2;
    column-gap: 2rem;
  }
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    justify-self: stretch;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-orbit {
    max-width: 280px;
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-glyph {
    right: -20%;
    font-size: 10rem;
  }

  .profile-editorial {
    grid-template-columns: 1fr;
  }

  .profile-editorial h2 {
    position: static;
  }

  .areas-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .area-tile--hero,
  .area-tile--slant,
  .area-tile--code {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
    clip-path: none;
    border-radius: var(--radius);
  }

  .process-track::before {
    left: 1.5rem;
    transform: none;
  }

  .step-node {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding-left: 0;
  }

  .step-marker {
    grid-column: 1;
    grid-row: 1;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.65rem;
  }

  .step-node--left .step-body,
  .step-node--right .step-body {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    max-width: none;
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    border-right: none;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    clip-path: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .profile-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-divider {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .profile-text {
    column-count: 1;
  }
}
