:root {
  --bg: #000;
  --ink: #f5f5f5;
  --muted: #9b9b9b;
  --font: Arial, Helvetica, sans-serif;
  --mono: "SF Mono", "IBM Plex Mono", "Roboto Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
}

html::-webkit-scrollbar {
  display: none;
}

html.is-loop-transitioning,
html.is-loop-transitioning body {
  overflow: hidden;
}

html:not(.site-ready) {
  overflow: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -ms-overflow-style: none;
}

html:not(.site-ready) .page {
  opacity: 0;
  pointer-events: none;
}

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

.site-preview {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #000;
  color: #f5f5f5;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.site-ready .site-preview {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-preview-logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: min(86vw, 760px);
  color: #f5f5f5;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 9vw, 118px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: lowercase;
}

.site-preview.is-placeholder .site-preview-logo {
  color: rgb(245 245 245 / 76%);
  text-shadow: 0 0 22px rgb(245 245 245 / 14%);
}

.site-preview.is-placeholder .site-preview-logo span:first-child {
  opacity: 1;
  transform: translateY(0);
}

.site-preview.is-placeholder .site-preview-logo span:last-child {
  width: 2.95em;
  opacity: 1;
  transform: translateX(0);
}

.site-preview.is-placeholder .site-preview-logo::after {
  position: absolute;
  inset: -10px -16px;
  background:
    repeating-linear-gradient(90deg, rgb(245 245 245 / 18%) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, transparent, rgb(245 245 245 / 10%), transparent);
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.site-preview-logo span:first-child {
  display: inline-block;
  transform: translateY(10px);
  opacity: 0;
}

.site-preview-logo span:last-child {
  display: inline-block;
  width: 0;
  overflow: hidden;
  transform: translateX(-0.1em);
  white-space: nowrap;
  opacity: 0;
}

.site-preview.is-animating .site-preview-logo span:first-child {
  animation: previewNameIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.site-preview.is-animating .site-preview-logo span:last-child {
  animation: previewDomainIn 860ms cubic-bezier(0.2, 0.8, 0.2, 1) 720ms forwards;
}

@keyframes previewNameIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes previewDomainIn {
  0% {
    width: 0;
    opacity: 0;
    transform: translateX(-0.1em);
  }

  35% {
    opacity: 1;
  }

  100% {
    width: 2.95em;
    opacity: 1;
    transform: translateX(0);
  }
}

.page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--bg);
}

.hero {
  position: relative;
  display: grid;
  --hero-art-shift: 0%;
  min-height: 100vh;
  place-items: center stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 27% 43%, rgb(255 255 255 / 9%), transparent 31%),
    var(--bg);
  isolation: isolate;
  padding: clamp(86px, 11vh, 126px) clamp(28px, 6vw, 72px) clamp(86px, 11vh, 118px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(38px, 5vw, 96px);
  align-items: center;
  width: 100%;
  max-width: none;
}

.hero-visual {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100%;
  min-height: min(680px, 70vh);
  place-items: center;
  overflow: visible;
}

.hero-name {
  position: absolute;
  inset: -6% 0 auto;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 100%;
  color: #111;
  font-size: calc(clamp(72px, 10vw, 164px) * var(--hero-name-scale, 1));
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(var(--hero-art-shift));
  user-select: none;
}

.hero-name span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgb(255 255 255 / 20%);
}

.hero-character {
  z-index: 2;
  align-self: center;
  justify-self: center;
  width: min(410px, 33vw);
  max-height: min(640px, 66vh);
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgb(0 0 0 / 80%));
  transform: translate(var(--hero-art-shift), -30px);
}

.hero-about-panel {
  display: grid;
  gap: clamp(20px, 3vh, 34px);
  align-self: center;
  max-width: 560px;
}

.hero-about-panel h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(38px, 5.4vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-about-panel p {
  margin: 0;
  padding-top: clamp(18px, 3vh, 30px);
  border-top: 1px solid rgb(245 245 245 / 20%);
  color: rgb(245 245 245 / 64%);
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.48;
}

.hero-contacts {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.hero-pdf-link {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 4;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 12px 10px;
  color: rgb(245 245 245 / 72%);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-pdf-link:hover,
.hero-pdf-link:focus-visible {
  color: #fff;
  outline: 0;
}

.hero-pdf-link::after {
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero-pdf-link:hover::after,
.hero-pdf-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-contacts a {
  position: relative;
  display: inline-block;
  padding: 12px 10px;
  color: rgb(245 245 245 / 72%);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-contacts a:hover,
.hero-contacts a:focus-visible {
  color: #fff;
  outline: 0;
}

.hero-contacts a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero-label {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgb(245 245 245 / 70%);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.hero-login-icon {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgb(245 245 245 / 54%);
  color: rgb(245 245 245 / 72%);
  transform: translateY(2px);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.hero-login-icon::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hero-login-icon::after {
  position: absolute;
  right: 5px;
  bottom: 4px;
  left: 5px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-login-icon:hover,
.hero-login-icon:focus-visible {
  border-color: #f5f5f5;
  background: rgb(245 245 245 / 8%);
  color: #f5f5f5;
  outline: 0;
}

.summit-chart-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.summit-chart-head span {
  color: rgb(245 245 245 / 58%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.summit-chart-head strong {
  color: #f5f5f5;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.summit-plot {
  position: relative;
  height: clamp(220px, 31vh, 300px);
  margin-bottom: clamp(150px, 18vh, 190px);
  border-bottom: 1px solid rgb(245 245 245 / 48%);
  border-left: 1px solid rgb(245 245 245 / 48%);
  background:
    linear-gradient(rgb(245 245 245 / 10%) 1px, transparent 1px) 0 0 / 100% 33.33%,
    linear-gradient(90deg, rgb(245 245 245 / 8%) 1px, transparent 1px) 0 0 / 33.33% 100%;
}

.summit-connectors {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.summit-connectors path {
  fill: none;
  stroke: rgb(245 245 245 / 32%);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.height-mark,
.date-mark {
  position: absolute;
  z-index: 3;
  color: rgb(245 245 245 / 42%);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.height-mark {
  right: calc(100% + 8px);
}

.height-high {
  top: 0;
}

.height-mid {
  top: 48%;
}

.date-mark {
  top: calc(100% + 8px);
  transform: translateX(-50%);
}

.date-a {
  left: 18%;
}

.date-b {
  left: 54%;
}

.date-c {
  left: 84%;
}

.summit-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  display: block;
  width: 0;
  height: 0;
  color: #f5f5f5;
  font-style: normal;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.summit-point::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg);
  background: #f5f5f5;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #f5f5f5, 0 0 24px rgb(245 245 245 / 42%);
  content: "";
  transform: translate(-50%, -50%);
}

.summit-labels {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 0;
}

.summit-label {
  position: absolute;
  top: calc(18px + (var(--label-lane, 0) * 34px));
  left: var(--label-x);
  display: grid;
  gap: 5px;
  width: min(126px, 18vw);
  color: #f5f5f5;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  transform: translateX(-50%);
}

.summit-label b {
  display: block;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summit-label small {
  display: block;
  color: rgb(245 245 245 / 56%);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 3;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px 18px;
  color: rgb(245 245 245 / 64%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: #fff;
  outline: 0;
}

.scroll-cue i {
  width: 1px;
  height: 38px;
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 1500ms ease-in-out infinite;
}

.scroll-cue-up {
  top: 18px;
  bottom: auto;
}

.scroll-cue-up i {
  order: -1;
  transform-origin: bottom;
  animation-name: scrollLineUp;
}

.career-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  font-family: var(--font);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.career-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
}

.career-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.career-chart {
  position: relative;
  display: grid;
  gap: clamp(92px, 12vh, 148px);
  width: 100%;
}

.career-years {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: rgb(245 245 245 / 34%);
  font-size: 13px;
  font-weight: 800;
}

.career-years span:nth-child(2),
.career-years span:nth-child(3) {
  text-align: center;
}

.career-years span:last-child {
  text-align: right;
}

.career-track {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.track-label {
  display: grid;
  gap: 8px;
}

.track-label span {
  color: rgb(245 245 245 / 36%);
  font-size: 13px;
  font-weight: 900;
}

.track-label strong {
  color: #f5f5f5;
  font-size: clamp(18px, 1.65vw, 26px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.track-line {
  position: relative;
  height: 4px;
  background: currentColor;
  color: var(--track-color);
  box-shadow: 0 0 34px rgb(var(--track-rgb) / 34%);
  overflow: visible;
}

.track-line::before {
  position: absolute;
  inset: -10px 0;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  content: "";
  opacity: 0.16;
}

.track-line i {
  position: absolute;
  top: 50%;
  left: var(--x);
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 3px solid var(--bg);
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 0 2px currentColor, 0 0 28px currentColor;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.track-line i:focus-visible {
  outline: 2px solid #f5f5f5;
  outline-offset: 8px;
}

.milestone-title {
  position: absolute;
  bottom: 42px;
  left: 50%;
  max-width: min(220px, 18vw);
  color: rgb(245 245 245 / 78%);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 160ms ease, transform 160ms ease;
}

.track-line b {
  position: absolute;
  top: 38px;
  left: 50%;
  display: flex;
  gap: 4px;
  justify-content: center;
  color: rgb(245 245 245 / 66%);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.milestone-period span {
  display: block;
}

.milestone-card {
  position: absolute;
  bottom: 52px;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  width: 280px;
  min-height: 108px;
  padding: 10px;
  border: 1px solid rgb(245 245 245 / 24%);
  background: rgb(0 0 0 / 92%);
  box-shadow: 0 18px 54px rgb(0 0 0 / 72%), 0 0 0 1px rgb(var(--track-rgb) / 34%);
  color: #f5f5f5;
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.track-line i:first-child .milestone-card {
  left: 0;
  transform: translate(0, 8px) scale(0.96);
}

.track-line i:last-child .milestone-card {
  right: 0;
  left: auto;
  transform: translate(0, 8px) scale(0.96);
}

.milestone-card span {
  display: block;
  grid-row: 1 / 3;
  min-height: 88px;
  background:
    linear-gradient(135deg, rgb(var(--track-rgb) / 48%), transparent 62%),
    repeating-linear-gradient(0deg, rgb(245 245 245 / 16%) 0 1px, transparent 1px 6px),
    #111;
  filter: saturate(0.9);
}

.milestone-card strong {
  display: block;
  grid-column: 2;
  align-self: end;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.milestone-card small {
  display: block;
  grid-column: 2;
  align-self: start;
  margin-top: 6px;
  color: rgb(245 245 245 / 68%);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.mobile-milestone-panel {
  display: none;
}

.track-line i:hover .milestone-title,
.track-line i:focus-visible .milestone-title {
  color: #fff;
  transform: translateX(-50%) translateY(-4px);
}

.track-line i:hover .milestone-card,
.track-line i:focus-visible .milestone-card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.track-line i:first-child:hover .milestone-card,
.track-line i:first-child:focus-visible .milestone-card,
.track-line i:last-child:hover .milestone-card,
.track-line i:last-child:focus-visible .milestone-card {
  transform: translate(0, 0) scale(1);
}

.track-dev {
  --track-color: #58d5ff;
  --track-rgb: 88 213 255;
}

.track-sys {
  --track-color: #b6ff6a;
  --track-rgb: 182 255 106;
}

.track-lead {
  --track-color: #ff6a8a;
  --track-rgb: 255 106 138;
}

.cases-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  place-items: center;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.cases-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
}

.cases-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.case-card {
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 300px;
  padding: clamp(22px, 3vw, 38px);
  border-top: 1px solid rgb(245 245 245 / 20%);
  border-bottom: 1px solid rgb(245 245 245 / 20%);
  background:
    linear-gradient(135deg, rgb(245 245 245 / 8%), transparent 58%),
    #050505;
  color: #f5f5f5;
}

.case-card > span {
  color: rgb(245 245 245 / 38%);
  font-size: 12px;
  font-weight: 900;
}

.case-card h3 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 0.94;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.case-card p {
  max-width: 48ch;
  margin: 0;
  color: rgb(245 245 245 / 62%);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.case-card button,
.case-modal-card button {
  display: inline-grid;
  width: max-content;
  min-height: 40px;
  place-items: center;
  padding: 0 16px;
  border: 1px solid #f5f5f5;
  background: #f5f5f5;
  color: #050505;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-card button:focus-visible,
.case-modal-card button:focus-visible {
  outline: 2px solid #f5f5f5;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #050505;
}

.case-modal {
  width: min(760px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #f5f5f5;
  overflow: hidden;
}

.case-modal::backdrop {
  background: rgb(0 0 0 / 78%);
}

.case-modal-card {
  box-sizing: border-box;
  display: grid;
  gap: 22px;
  width: 100%;
  max-height: calc(100vh - 36px);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgb(245 245 245 / 42%);
  background: #050505;
  box-shadow: 0 24px 90px rgb(0 0 0 / 82%);
  overflow-x: hidden;
  overflow-y: auto;
}

.case-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.case-modal-head span {
  color: rgb(245 245 245 / 42%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.case-modal-head button {
  width: 42px;
  min-height: 42px;
  padding: 0;
  font-size: 22px;
}

.case-modal-card h2 {
  margin: 0;
  color: #f5f5f5;
  max-width: 100%;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 900;
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.case-modal-card p {
  margin: 0;
  color: rgb(245 245 245 / 68%);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.55;
}

.projects-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  align-items: start;
  justify-items: center;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #f5f5f5 rgb(245 245 245 / 12%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.projects-section::-webkit-scrollbar {
  width: 10px;
}

.projects-section::-webkit-scrollbar-track {
  background: rgb(245 245 245 / 10%);
}

.projects-section::-webkit-scrollbar-thumb {
  border: 2px solid #000;
  background: #f5f5f5;
}

.projects-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
  min-height: auto;
  align-content: start;
  padding-bottom: clamp(36px, 6vh, 72px);
}

.projects-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1fr);
  min-height: 320px;
  border-top: 1px solid rgb(245 245 245 / 18%);
  border-bottom: 1px solid rgb(245 245 245 / 18%);
  color: #f5f5f5;
}

.project-preview {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgb(245 245 245 / 28%), transparent 62%),
    repeating-linear-gradient(0deg, rgb(245 245 245 / 13%) 0 1px, transparent 1px 8px),
    #111;
  background-position: center;
  background-size: cover;
  filter: saturate(0.9);
}

.project-content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
}

.project-content > span {
  color: rgb(245 245 245 / 42%);
  font-size: 12px;
  font-weight: 900;
}

.project-content h3 {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(22px, 2.35vw, 36px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-content h3 span:first-child {
  display: block;
  color: rgb(245 245 245 / 92%);
}

.project-content h3 span + span {
  display: block;
  color: rgb(245 245 245 / 66%);
  font-size: 0.72em;
  line-height: 1.02;
}

.project-content p {
  margin: 0;
  color: rgb(245 245 245 / 62%);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

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

.project-stack span {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgb(245 245 245 / 26%);
  color: rgb(245 245 245 / 78%);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-content a {
  display: inline-grid;
  width: max-content;
  min-height: 40px;
  place-items: center;
  padding: 0 16px;
  border: 1px solid #f5f5f5;
  color: #050505;
  background: #f5f5f5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.projects-section .section-scroll {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  display: grid;
  justify-self: center;
  margin-top: clamp(28px, 5vh, 54px);
  margin-bottom: 12px;
  transform: none;
}

.competence-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  place-items: center;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.competence-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
}

.competence-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.competence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.competence-group {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.competence-group h3 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 900;
  line-height: 1;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
}

.skill-list button {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgb(245 245 245 / 14%);
  background: rgb(0 0 0 / 42%);
  color: rgb(245 245 245 / 70%);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.skill-list button:hover,
.skill-list button:focus-visible {
  border-color: rgb(245 245 245 / 74%);
  background: #f5f5f5;
  box-shadow: 0 0 28px rgb(245 245 245 / 22%);
  color: #000;
  outline: 0;
}

.skill-list button em {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  width: 260px;
  min-height: 100px;
  padding: 10px;
  border: 1px solid rgb(245 245 245 / 24%);
  background: rgb(0 0 0 / 94%);
  box-shadow: 0 18px 54px rgb(0 0 0 / 72%), 0 0 0 1px rgb(245 245 245 / 12%);
  color: #f5f5f5;
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.skill-list button:nth-child(1) em,
.skill-list button:nth-child(2) em {
  left: 0;
  transform: translate(0, 8px) scale(0.96);
}

.skill-list button:nth-last-child(1) em,
.skill-list button:nth-last-child(2) em {
  right: 0;
  left: auto;
  transform: translate(0, 8px) scale(0.96);
}

.competence-group:nth-child(n + 4) .skill-list button em {
  right: 0;
  left: auto;
  transform: translate(0, 8px) scale(0.96);
}

.skill-list button em span {
  display: block;
  grid-row: 1 / 3;
  min-height: 78px;
  background:
    linear-gradient(135deg, rgb(245 245 245 / 28%), transparent 62%),
    repeating-linear-gradient(0deg, rgb(245 245 245 / 14%) 0 1px, transparent 1px 6px),
    #101010;
}

.skill-list button em strong {
  display: block;
  grid-column: 2;
  align-self: end;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.skill-list button em small {
  display: block;
  grid-column: 2;
  align-self: start;
  margin-top: 5px;
  color: rgb(245 245 245 / 68%);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.skill-list button:hover em,
.skill-list button:focus-visible em {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.skill-list button:nth-child(1):hover em,
.skill-list button:nth-child(1):focus-visible em,
.skill-list button:nth-child(2):hover em,
.skill-list button:nth-child(2):focus-visible em,
.skill-list button:nth-last-child(1):hover em,
.skill-list button:nth-last-child(1):focus-visible em,
.skill-list button:nth-last-child(2):hover em,
.skill-list button:nth-last-child(2):focus-visible em {
  transform: translate(0, 0) scale(1);
}

.competence-group:nth-child(n + 4) .skill-list button:hover em,
.competence-group:nth-child(n + 4) .skill-list button:focus-visible em {
  transform: translate(0, 0) scale(1);
}

.section-scroll {
  right: auto;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.education-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  place-items: center;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.education-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
}

.education-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(20px, 4vw, 56px);
}

.education-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.education-panel h3 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1;
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-list button {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 5px 14px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid rgb(245 245 245 / 14%);
  background: transparent;
  color: #f5f5f5;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.document-list button:last-child {
  border-bottom: 1px solid rgb(245 245 245 / 14%);
}

.document-list button > span {
  grid-row: 1 / 3;
  color: rgb(245 245 245 / 42%);
  font-size: 13px;
  font-weight: 900;
}

.document-list button > strong {
  color: rgb(245 245 245 / 90%);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1;
}

.document-list button > small {
  color: rgb(245 245 245 / 54%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.document-list button:hover,
.document-list button:focus-visible {
  outline: 0;
}

.document-list button:hover > strong,
.document-list button:focus-visible > strong {
  color: #fff;
}

.document-list button em {
  position: absolute;
  top: 50%;
  left: calc(100% + 26px);
  z-index: 25;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100vw - 144px));
  padding: 14px;
  border: 1px solid rgb(245 245 245 / 24%);
  background: rgb(0 0 0 / 94%);
  box-shadow: 0 22px 80px rgb(0 0 0 / 78%), 0 0 0 1px rgb(245 245 245 / 12%);
  color: #f5f5f5;
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-46%) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.document-list-featured button em {
  right: calc(100% + 26px);
  left: auto;
}

.education-panel:last-child .document-list button em {
  right: 0;
  left: auto;
}

.document-list button em i {
  display: block;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgb(245 245 245 / 82%) 0 12%, transparent 12%),
    linear-gradient(#f1f1f1 0 0) 22% 22% / 56% 4px no-repeat,
    linear-gradient(#bdbdbd 0 0) 22% 34% / 44% 3px no-repeat,
    linear-gradient(#bdbdbd 0 0) 22% 43% / 52% 3px no-repeat,
    linear-gradient(#bdbdbd 0 0) 22% 52% / 34% 3px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 10px, rgb(0 0 0 / 8%) 10px 11px),
    #e8e8e8;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 18%);
}

.document-list button em b {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.document-list button em small {
  color: rgb(245 245 245 / 68%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.document-list button:hover em,
.document-list button:focus-visible em {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.travel-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  place-items: center;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.travel-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
}

.travel-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.travel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.world-map {
  position: relative;
  display: grid;
  width: 100%;
  max-width: min(680px, 100%);
  height: auto;
  aspect-ratio: 2754 / 1398;
  justify-self: center;
  gap: 18px;
  overflow: hidden;
  place-items: center;
  contain: paint;
}

.world-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 70px rgb(0 0 0 / 58%));
}

.world-map svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  filter: drop-shadow(0 22px 70px rgb(0 0 0 / 58%));
}

.travel-summits {
  display: grid;
  gap: 12px;
}

.contacts-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  height: 100vh;
  place-items: center;
  padding: clamp(72px, 8vh, 104px) clamp(28px, 6vw, 72px);
  background: var(--bg);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.contacts-shell {
  display: grid;
  gap: clamp(28px, 5vh, 54px);
  width: min(1260px, 100%);
}

.contacts-section h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(42px, 7vw, 112px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-align: left;
  text-transform: uppercase;
}

.contacts-grid {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
  width: min(760px, 100%);
}

.contacts-grid button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 18px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #f5f5f5;
  cursor: copy;
  font-family: inherit;
  text-align: left;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.contacts-grid button:hover,
.contacts-grid button:focus-visible {
  color: #fff;
  outline: 0;
  transform: translateX(8px);
}

.contacts-grid span {
  grid-row: 1 / 3;
  color: rgb(245 245 245 / 36%);
  font-size: 13px;
  font-weight: 900;
}

.contacts-grid button:hover span,
.contacts-grid button:focus-visible span {
  color: rgb(245 245 245 / 72%);
}

.contacts-grid strong {
  font-size: clamp(26px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.9;
}

.contacts-grid small {
  color: rgb(245 245 245 / 58%);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  line-height: 1.2;
}

.contacts-grid button:hover small,
.contacts-grid button:focus-visible small {
  color: rgb(245 245 245 / 78%);
}

.contacts-grid button small::after {
  display: inline-block;
  margin-left: 10px;
  color: rgb(245 245 245 / 42%);
  content: "нажмите, чтобы скопировать";
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contacts-grid button.is-copied small::after {
  color: #f5f5f5;
  content: "скопировано";
}

.hero-contacts a:hover::after,
.hero-contacts a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes scrollLineUp {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.45;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (min-width: 861px) and (max-width: 1500px), (min-width: 861px) and (max-height: 850px) {
  .scroll-cue {
    right: 24px;
    left: auto;
    gap: 6px;
    padding: 8px 10px;
    font-size: 11px;
    opacity: 0.72;
    transform: none;
  }

  .section-scroll {
    position: static;
    justify-self: center;
    margin-top: clamp(24px, 4vh, 42px);
    margin-bottom: 0;
  }

  .scroll-cue:not(.scroll-cue-up):not(.section-scroll) {
    bottom: 16px;
  }

  .scroll-cue i {
    height: 28px;
  }

  .scroll-cue-up {
    top: 12px;
    bottom: auto;
  }

  .career-section,
  .competence-section,
  .cases-section,
  .education-section,
  .travel-section,
  .contacts-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .competence-section {
    align-items: start;
    padding-top: 84px;
    padding-bottom: 76px;
  }

  .competence-shell {
    gap: 28px;
  }

  .competence-section h2 {
    max-width: 900px;
    font-size: clamp(56px, 6vw, 96px);
    line-height: 0.86;
  }

  .competence-grid {
    gap: 26px clamp(22px, 2.1vw, 32px);
  }

  .competence-group {
    gap: 12px;
  }

  .competence-group h3 {
    font-size: clamp(18px, 1.55vw, 24px);
  }

  .skill-list {
    gap: 7px;
  }

  .skill-list button {
    min-height: 30px;
    padding: 7px 9px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  html {
    scroll-snap-type: none;
  }

  html.site-ready,
  html.site-ready body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero,
  .career-section,
  .competence-section,
  .cases-section,
  .projects-section,
  .education-section,
  .travel-section,
  .contacts-section {
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  .hero {
    --hero-art-shift: 0%;
    min-height: 100svh;
    height: auto;
    padding: 104px 18px 82px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    align-content: start;
  }

  .hero-visual {
    min-height: min(520px, 62svh);
  }

  .hero-name {
    top: -1%;
    font-size: calc(clamp(42px, 16vw, 92px) * var(--hero-name-scale, 1));
    line-height: 0.86;
  }

  .hero-character {
    width: min(320px, 76vw);
    max-height: 500px;
  }

  .hero-about-panel {
    gap: 18px;
    max-width: 100%;
  }

  .hero-about-panel h2 {
    font-size: clamp(30px, 11vw, 54px);
  }

  .hero-about-panel p {
    padding-top: 18px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-contacts {
    top: 18px;
    right: 18px;
    gap: 16px;
  }

  .hero-pdf-link {
    top: 18px;
    left: 18px;
    max-width: 34vw;
    min-height: 40px;
    padding: 10px 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-pdf-link::after {
    right: 0;
    left: 0;
  }

  .hero-label {
    bottom: 0;
    left: 0;
    gap: 10px;
    font-size: clamp(28px, 10vw, 46px);
  }

  .hero-login-icon {
    width: 22px;
    height: 22px;
  }

  .scroll-cue {
    display: none;
  }

  .career-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 118px 18px 46px;
  }

  .career-shell {
    gap: 24px;
    flex: 0 0 auto;
  }

  .career-section h2,
  .cases-section h2,
  .competence-section h2,
  .projects-section h2,
  .education-section h2,
  .travel-section h2,
  .contacts-section h2 {
    font-size: clamp(30px, 11vw, 54px);
    text-align: left;
    overflow-wrap: anywhere;
  }

  .career-chart {
    gap: 92px;
  }

  .career-track {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .track-label {
    gap: 10px;
  }

  .track-label span {
    font-size: 11px;
  }

  .track-label strong {
    font-size: clamp(18px, 5.7vw, 22px);
    line-height: 0.94;
  }

  .track-line {
    width: calc(100% - 18px);
    margin-inline: 9px;
  }

  .milestone-title {
    max-width: 86px;
    bottom: 34px;
    font-size: 8px;
    line-height: 0.95;
    text-wrap: balance;
    white-space: normal;
  }

  .track-line b {
    top: 30px;
    display: grid;
    gap: 2px;
    min-width: 58px;
    font-size: 10px;
    line-height: 0.95;
    text-align: center;
  }

  .milestone-period span:nth-child(2) {
    color: rgb(245 245 245 / 82%);
    font-size: 11px;
    line-height: 1;
  }

  .milestone-card {
    display: none;
  }

  .track-line i {
    cursor: pointer;
    touch-action: manipulation;
  }

  .mobile-milestone-panel.is-active {
    position: fixed;
    right: 18px;
    bottom: 86px;
    left: 18px;
    z-index: 40;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    min-height: 96px;
    padding: 10px;
    border: 1px solid rgb(245 245 245 / 24%);
    background: rgb(0 0 0 / 94%);
    box-shadow: 0 18px 54px rgb(0 0 0 / 72%), 0 0 0 1px rgb(245 245 245 / 16%);
    color: #f5f5f5;
    opacity: 1;
  }

  .track-line i.is-active .milestone-title {
    color: #fff;
    transform: translateX(-50%) translateY(-4px);
  }

  .mobile-milestone-panel span {
    display: block;
    grid-row: 1 / 3;
    min-height: 76px;
    background:
      repeating-linear-gradient(0deg, rgb(245 245 245 / 16%) 0 1px, transparent 1px 6px),
      #111;
  }

  .mobile-milestone-panel strong {
    display: block;
    grid-column: 2;
    align-self: end;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
  }

  .mobile-milestone-panel small {
    display: block;
    grid-column: 2;
    align-self: start;
    margin-top: 6px;
    color: rgb(245 245 245 / 68%);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
  }

  .summit-plot {
    height: 220px;
    margin-bottom: 190px;
  }

  .cases-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 96px 18px 54px;
  }

  .cases-shell {
    gap: 24px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-card {
    min-height: 240px;
    padding: 22px;
  }

  .case-card h3 {
    font-size: clamp(24px, 9vw, 38px);
    overflow-wrap: anywhere;
  }

  .case-modal {
    width: calc(100vw - 28px);
    max-height: calc(100svh - 28px);
  }

  .case-modal-card {
    max-height: calc(100svh - 28px);
    padding: 22px;
  }

  .case-modal-card h2 {
    font-size: clamp(26px, 10vw, 38px);
  }

  .height-mark {
    right: auto;
    left: 6px;
  }

  .date-mark {
    top: calc(100% + 7px);
  }

  .summit-label {
    top: calc(18px + (var(--label-lane, 0) * 38px));
    width: 78px;
  }

  .summit-label b {
    font-size: 10px;
  }

  .summit-label small {
    font-size: 9px;
    white-space: normal;
  }

  .competence-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 118px 18px 46px;
  }

  .competence-shell {
    gap: 24px;
  }

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

  .competence-group {
    min-height: auto;
  }

  .projects-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 118px 18px 46px;
  }

  .projects-shell {
    gap: 24px;
  }

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

  .project-preview {
    min-height: 180px;
  }

  .skill-list button em {
    display: none;
  }

  .skill-list button.is-active em {
    position: fixed;
    right: 18px;
    bottom: 28px;
    left: 18px;
    z-index: 45;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    width: auto;
    min-height: 96px;
    padding: 10px;
    border: 1px solid rgb(245 245 245 / 24%);
    background: rgb(0 0 0 / 94%);
    box-shadow: 0 18px 54px rgb(0 0 0 / 72%), 0 0 0 1px rgb(245 245 245 / 16%);
    color: #f5f5f5;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .skill-list button.is-active em span {
    display: block;
    grid-row: 1 / 3;
    min-height: 76px;
    background:
      repeating-linear-gradient(0deg, rgb(245 245 245 / 16%) 0 1px, transparent 1px 6px),
      #111;
  }

  .skill-list button.is-active em strong {
    grid-column: 2;
    align-self: end;
    color: #fff;
    font-size: 13px;
    line-height: 1.1;
  }

  .skill-list button.is-active em small {
    grid-column: 2;
    align-self: start;
    margin-top: 6px;
    color: rgb(245 245 245 / 68%);
    font-size: 11px;
    line-height: 1.35;
  }

  .education-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 118px 18px 46px;
  }

  .education-shell {
    gap: 24px;
  }

  .education-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .education-panel:first-child {
    order: 2;
  }

  .education-panel:last-child {
    order: 1;
  }

  .document-list button em,
  .document-list-featured button em {
    right: auto;
    left: 0;
    width: min(280px, 86vw);
    transform: translateY(-46%) scale(0.96);
  }

  .travel-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 118px 18px 46px;
  }

  .travel-shell {
    gap: 24px;
  }

  .travel-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 100svh;
    padding: 118px 18px 46px;
  }

  .contacts-shell {
    gap: 24px;
  }

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

  .contacts-grid button {
    grid-template-columns: 34px minmax(0, 1fr);
    transform: none;
  }

  .contacts-grid button:hover,
  .contacts-grid button:focus-visible {
    transform: translateX(4px);
  }

  .contacts-grid button small::after {
    display: block;
    margin-top: 6px;
    margin-left: 0;
  }

  .scroll-cue,
  .section-scroll,
  .scroll-cue-up,
  .projects-section .section-scroll {
    display: none !important;
  }
}
