:root {
  --bg: #0a0a0a;
  --text: #F4F1E6;
  --muted: #a0a0a0;
  --accent: #e85d2c;
  --surface: #141414;
  --border: #2a2a2a;
  --white: #F4F1E6;
  --font: "Geist Sans", "Inter", system-ui, -apple-system, sans-serif;
  --page-inset: clamp(15vw, 17.5vw, 20vw);
  --space-1: 20px;
  --space-2: 40px;
  --space-3: 60px;
  --hdr-gap: 1rem;
  --search-max: min(368px, 34.96vw);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.watermark-marquee {
  position: fixed;
  left: 0;
  right: 0;
  bottom: clamp(4vh, 8%, 17vh);
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.watermark-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: watermark-scroll 230s linear infinite;
}
.watermark-marquee__chunk {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 21.29rem;
  font-family: "Arial Black", "Impact", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(244, 241, 230, 0.1);
  opacity: 1;
  padding-right: 0.25em;
}

@keyframes watermark-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .watermark-marquee__track {
    animation: none;
    transform: translateX(0);
  }
}
@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.site-header {
  position: absolute;
  top: calc(var(--space-1) * 1.3);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0 var(--page-inset);
  min-height: 56px;
  pointer-events: none;
  animation: fade-in-down 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-header > * {
  pointer-events: auto;
}
.site-header__container {
  width: 100%;
}
.site-header__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(1rem, 2.6vw, 2.2rem);
  width: 100%;
}
.site-header__logo {
  display: flex;
  justify-content: flex-start;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.05vw, 1.62rem);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 1;
}
.site-header__logo:hover {
  opacity: 0.85;
}
.site-header__search {
  position: relative;
  width: 100%;
  max-width: var(--search-max);
  margin: 0;
  display: flex;
  justify-content: center;
  justify-self: center;
}
.site-header__search-input {
  width: 100%;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #1e1e1e;
  color: var(--text);
  font-family: inherit;
  font-size: 0.935rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.site-header__search-input::placeholder {
  color: #868C95;
}
.site-header__search-input:focus {
  border-color: #505050;
  background: #262626;
}
.site-header .site-header__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(1rem, 2.6vw, 2.2rem);
  width: 100%;
}
.site-header .site-header > * {
  pointer-events: auto;
}
.site-header .site-header__logo {
  display: flex;
  justify-content: flex-start;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.05vw, 1.62rem);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 1;
}
.site-header .site-header__logo:hover {
  opacity: 0.85;
}
.site-header .site-header__search {
  position: relative;
  width: 100%;
  max-width: var(--search-max);
  margin: 0;
  display: flex;
  justify-content: center;
  justify-self: center;
}
.site-header .site-header__search-input {
  width: 100%;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #1e1e1e;
  color: var(--text);
  font-family: inherit;
  font-size: 0.935rem;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.site-header .site-header__search-input::placeholder {
  color: #868C95;
}
.site-header .site-header__search-input:focus {
  border-color: #505050;
  background: #262626;
}
.site-header__icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-self: end;
}
.site-header__icon-slash {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text);
  opacity: 0.85;
  padding: 0 0.15rem;
  user-select: none;
}
.site-header .clock {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: clamp(0.77rem, 1.045vw, 0.902rem);
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.2;
}
.site-header .clock__date-part {
  margin-left: 14.6px;
}
.site-header .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 0;
}
.site-header .icon-btn:hover {
  background: rgba(244, 241, 230, 0.06);
}
.site-header .icon-btn--telegram svg {
  width: 26px;
  height: 26px;
}
.site-header .icon-btn--telegram:hover {
  color: var(--accent);
  background: none;
}
.site-header .icon-btn--linkedin:hover {
  color: var(--accent);
  background: none;
}
.site-header .icon-btn svg {
  display: block;
  width: 26px;
  height: 26px;
}

.site-sidebar {
  position: fixed;
  left: var(--page-inset);
  top: 45%;
  transform: translateY(-50%);
  z-index: 20;
  pointer-events: none;
  animation: fade-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
.site-sidebar .folder-nav {
  pointer-events: auto;
}

.folder-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 4vh, 50px);
}

.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.15s ease;
  position: relative;
}
.folder-item:hover {
  opacity: 1;
}
.folder-item .folder-icon {
  display: flex;
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.folder-item .folder-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 80%;
  height: 34px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%) translateY(0);
  z-index: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
  opacity: 0;
}
.folder-item .folder-icon:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-68%);
}
.folder-item .folder-icon .folder-svg {
  display: block;
  position: relative;
  z-index: 1;
}
.folder-item .folder-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.site-main {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: var(--hdr-gap);
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  padding: 0 var(--page-inset);
  padding-top: 50.4px;
  box-sizing: border-box;
  animation: fade-in-down 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-column: 2/4;
  justify-self: stretch;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: max(0px, (100vw - 2 * var(--page-inset) - 2 * var(--hdr-gap)) / 3 / 2 - min(320px, 30.4vw) / 2);
  box-sizing: border-box;
}
.hero__inner {
  text-align: left;
  max-width: min(800px, 100%);
  transform: translate(calc(clamp(-2rem, -2.5vw, -1rem) - 4vw), -8vh);
}
.hero__greet {
  margin: 0 0 28px;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__greet-hi {
  color: var(--muted);
  opacity: 0.6;
}
.hero__greet-name {
  color: var(--text);
}
.hero__wave {
  font-style: normal;
}
.hero__wave-name {
  color: var(--text);
}
.hero__wave .hero__wave {
  font-style: normal;
}
.hero__title {
  margin: 0;
  font-size: 70px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text);
}
.hero__title-line2 {
  display: block;
  margin-top: 0.12em;
  font-weight: 600;
  letter-spacing: -1px;
}
.hero__lead {
  margin: var(--space-1) 0 0;
  font-size: 19px;
  font-weight: 600;
  color: #a0a0a0;
  line-height: 1.65;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  pointer-events: none;
  animation: fade-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.site-footer__bar > * {
  pointer-events: auto;
}
.site-footer__bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--space-1);
  padding: 0 var(--page-inset) 30px;
  pointer-events: none;
  width: 100%;
  box-sizing: border-box;
}
.site-footer__avatar {
  flex: 0 0 auto;
  align-self: flex-start;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  border: none;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.33rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  margin-bottom: 2px;
}
.site-footer__avatar:hover {
  opacity: 0.92;
}
.site-footer__socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  flex: 0 1 auto;
  align-self: flex-start;
  text-align: left;
  min-width: 0;
  max-width: 32%;
}
.site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.875rem;
  flex: 0 1 auto;
  align-self: flex-start;
  text-align: right;
  min-width: 0;
  max-width: 32%;
}
.site-footer__credit {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 0 0 auto;
  align-self: stretch;
  margin: 0;
  min-width: 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  line-height: 1.35;
}
.site-footer__credit-link {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.15s ease;
}
.site-footer__credit-link:hover {
  opacity: 0.8;
}
.site-footer__heading {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.site-footer__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.site-footer__links a:hover {
  color: var(--accent);
}
.site-footer__contact {
  margin: 0;
  font-size: 1.08rem;
}
.site-footer__contact a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer__contact a:hover {
  color: var(--accent);
  text-decoration: none;
}

body.is-modal-open {
  overflow: hidden;
}
body.is-modal-open .watermark-marquee__track {
  animation-play-state: paused;
}

.page-modal[hidden] {
  display: none;
}

.page-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0;
  background: rgba(10, 10, 10, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.page-modal__panel {
  width: 40vw;
  max-height: calc(100vh - 72px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  background: #0A0A0A;
  border: 2px solid #1D1D1D;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}
.page-modal__panel::-webkit-scrollbar {
  display: none;
}
.page-modal[data-active-view=cases] .page-modal__panel {
  width: 50vw;
}
.page-modal__view[hidden] {
  display: none;
}
.page-modal__section {
  padding: 5%;
}
.page-modal__section--header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2.5%;
  padding-bottom: 2.5%;
}
.page-modal__section--body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.page-modal__section--body > p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(244, 241, 230, 0.88);
}
.page-modal__section--footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
}
.page-modal__eyebrow {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
}
.page-modal__view--cases .page-modal__eyebrow, .page-modal__view--skills .page-modal__eyebrow {
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
}
.page-modal__greet-name {
  color: var(--text);
}
.page-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: var(--text);
  cursor: pointer;
  transition: color 0.24s ease, background-color 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}
.page-modal__close:hover {
  color: var(--accent);
  background-color: rgba(244, 241, 230, 0.04);
  transform: scale(1.04);
}
.page-modal__close svg {
  display: block;
  width: 1.8rem;
  height: 1.8rem;
}
.page-modal__divider {
  width: 100%;
  height: 2px;
  background: #1D1D1D;
}
.page-modal__list {
  margin: 0;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  color: rgba(244, 241, 230, 0.88);
}
.page-modal__list li {
  padding-left: 0.15rem;
}
.page-modal__cv-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.92rem 1.2rem;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}
.page-modal__cv-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.page-modal__cv-button svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.page-modal__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-left: auto;
  align-self: flex-end;
}
.page-modal__socials .icon-btn {
  padding: 0;
}
.page-modal__placeholder {
  min-height: 9rem;
}
.page-modal__skills-groups {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}
.page-modal__skills-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-modal__skills-block {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.page-modal__skills-heading, .page-modal__skills-subheading {
  margin: 0;
  color: var(--text);
}
.page-modal__skills-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-modal__skills-subheading {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-modal__skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}
.page-modal__skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0.58rem 0.85rem;
  border-radius: 14px;
  background: #1F1F1F;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
}
.page-modal__skill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.04rem;
  line-height: 1;
  color: var(--text);
}
.page-modal__skill-icon--logo {
  width: 1.05rem;
  height: 1.05rem;
}
.page-modal__skill-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.page-modal__skill-logo--github {
  filter: invert(1);
}
.page-modal__skill-logo--chatgpt {
  filter: invert(1);
}
.page-modal__cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 5%;
  row-gap: 5%;
  align-items: stretch;
}
.page-modal__case-card {
  background: #151515;
  border-radius: 22px;
  overflow: hidden;
}
.page-modal__case-card-content {
  height: 100%;
  min-height: 100%;
  padding: 5%;
  display: flex;
  flex-direction: column;
}
.page-modal__case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}
.page-modal__case-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  order: 2;
  width: clamp(2.4rem, 7.5%, 2.9rem);
  height: clamp(2.4rem, 7.5%, 2.9rem);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
}
.page-modal__case-header {
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}
.page-modal__case-role {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
.page-modal__case-company {
  margin: 0.42rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}
.page-modal__case-copy {
  margin-top: 5%;
  flex: 1 1 auto;
}
.page-modal__case-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
}
.page-modal__case-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(244, 241, 230, 0.86);
}
.page-modal__case-point-title {
  display: block;
  margin: 0;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}
.page-modal__case-point-line {
  display: block;
  margin-top: 0.18rem;
  color: rgba(244, 241, 230, 0.76);
}

@media (max-width: 1023px) {
  :root {
    --page-inset: 5vw;
    --space-1: 16px;
    --space-2: 24px;
    --space-3: 40px;
  }
  body {
    min-height: 100vh;
  }
  .watermark-marquee {
    bottom: 7vh;
  }
  .watermark-marquee__chunk {
    font-size: 21.29rem;
  }
  .site-header {
    top: 27px;
    padding: 0 var(--page-inset);
    min-height: auto;
    box-sizing: border-box;
  }
  .site-header .site-header__container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .site-header .site-header__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo icons" "search search" "clock clock";
    align-items: center;
    row-gap: 12px;
    column-gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    justify-items: stretch;
    grid-auto-flow: row;
  }
  .site-header .site-header__content > * {
    min-width: 0;
  }
  .site-header .site-header__logo {
    grid-area: logo;
    font-size: clamp(1.68rem, 7.7vw, 1.99rem);
    line-height: 1;
    align-self: center;
    justify-self: start;
    margin: 0;
  }
  .site-header .site-header__search {
    grid-area: search;
    display: block;
    max-width: none;
    margin: 0;
    width: 100%;
    min-width: 0;
    inline-size: 100%;
    max-inline-size: none;
    justify-self: stretch;
    align-self: stretch;
  }
  .site-header .site-header__search-input {
    display: block;
    width: 100%;
    max-width: none;
    inline-size: 100%;
    min-height: 36px;
    padding: 0.48rem 1rem;
    font-size: 0.92rem;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 0;
  }
  .site-header .site-header__search-input::placeholder {
    font-size: 0.9em;
  }
  .site-header .site-header__icons {
    grid-area: icons;
    display: flex;
    align-items: center;
    align-self: center;
    justify-self: end;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
  }
  .site-header .site-header__icon-slash {
    display: none;
  }
  .site-header .clock {
    grid-area: clock;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 0;
    font-size: 1.08rem;
    line-height: 1.2;
    color: var(--muted);
  }
  .site-header .clock__time-part, .site-header .clock__date-part {
    margin: 0;
  }
  .site-header .clock__time-part {
    text-align: left;
  }
  .site-header .clock__date-part {
    text-align: right;
  }
  .site-header .icon-btn {
    padding: 0.15rem;
  }
  .site-header .icon-btn svg {
    width: 30px;
    height: 30px;
  }
  .main-container {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .site-sidebar {
    position: relative;
    left: auto;
    top: auto;
    order: 2;
    transform: none;
    padding: 0 var(--page-inset);
    margin-top: 18px;
    z-index: 15;
    pointer-events: auto;
  }
  .site-sidebar .folder-nav {
    width: 100%;
  }
  .folder-nav {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    overflow-x: visible;
    overflow-y: hidden;
    padding-bottom: 0;
    scrollbar-width: none;
  }
  .folder-nav::-webkit-scrollbar {
    display: none;
  }
  .folder-item {
    flex: 0 0 auto;
    min-width: auto;
    gap: 0.45rem;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .folder-item .folder-icon {
    padding: 0;
    margin: 0;
    line-height: 0;
  }
  .folder-item .folder-icon .folder-svg {
    width: min(100%, 108px);
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
  }
  .folder-item .folder-icon::before {
    width: 78%;
    height: 38px;
    border-radius: 3px 3px 0 0;
    clip-path: inset(0 round 3px 3px 0 0);
    transform: translate3d(-50%, 0, 0);
    backface-visibility: hidden;
    will-change: transform, opacity;
    transition: transform 2s ease, opacity 2s ease;
  }
  .folder-item .folder-label {
    margin: 0;
    padding: 0;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-align: center;
  }
  .site-main {
    order: 1;
    display: block;
    min-height: auto;
    height: auto;
    padding: 0 var(--page-inset);
    padding-top: clamp(158px, 41vw, 192px);
  }
  .hero {
    display: block;
    grid-column: auto;
    width: 100%;
    padding-left: 0;
    margin: 0;
  }
  .hero__inner {
    max-width: none;
    transform: none;
    padding-top: 4vh;
  }
  .hero__greet {
    margin: 0 0 14px;
    font-size: clamp(0.8rem, 3.9vw, 1rem);
    letter-spacing: 0.12em;
  }
  .hero__title {
    font-size: clamp(2.5rem, 13vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }
  .hero__title-line2 {
    width: 100%;
    margin-top: 0.2em;
    font-size: clamp(2rem, 11.2vw, 3.25rem);
    line-height: 0.96;
  }
  .hero__lead {
    margin: 24px 0 0;
    max-width: 20rem;
    font-size: clamp(0.95rem, 4vw, 1.08rem);
    line-height: 1.45;
  }
  .site-footer {
    position: relative;
    margin-top: 5.6vh;
    padding-bottom: 20px;
  }
  .site-footer__bar {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas: "avatar avatar" "socials contacts" "credit credit";
    gap: 29px 0;
    align-items: start;
    justify-content: space-between;
    padding: 0 var(--page-inset);
    pointer-events: auto;
  }
  .site-footer__avatar {
    grid-area: avatar;
    justify-self: start;
    width: 6.48rem;
    height: 6.48rem;
    margin-bottom: 0;
    font-size: 2.34rem !important;
  }
  .site-footer__socials {
    grid-area: socials;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: max-content;
    max-width: none;
    gap: 0.75rem;
    min-width: max-content;
  }
  .site-footer__contacts {
    grid-area: contacts;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
    width: max-content;
    max-width: none;
    gap: 0.75rem;
    min-width: max-content;
  }
  .site-footer__heading {
    font-size: 0.83rem;
    letter-spacing: 0.14em;
  }
  .site-footer__links {
    gap: 0.6rem;
    flex-wrap: nowrap;
  }
  .site-footer__links a {
    font-size: 0.97rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .site-footer__contact {
    font-size: 1.06rem;
    line-height: 1.45;
    white-space: nowrap;
  }
  .site-footer__credit {
    grid-area: credit;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 8px;
    text-align: left;
    font-size: 0.98rem;
    white-space: normal;
  }
  .page-modal {
    padding: 5vw;
  }
  .page-modal__panel {
    width: 90vw;
    max-height: calc(100vh - 10vw);
  }
  .page-modal[data-active-view=cases] .page-modal__panel {
    width: 90vw;
  }
  .page-modal__section {
    padding: 6vw;
  }
  .page-modal__section--header {
    padding-top: 1.25%;
    padding-bottom: 1.25%;
  }
  .page-modal__section--footer {
    flex-direction: column;
    align-items: stretch;
  }
  .page-modal__socials {
    justify-content: flex-start;
  }
  .page-modal__cases-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 4vw;
  }
  .page-modal__case-card {
    height: auto;
    min-height: 28vh;
  }
}
@media (max-width: 479px) {
  .site-header .clock {
    font-size: 0.97rem;
    gap: 10px;
  }
  .folder-nav {
    gap: 8px;
  }
  .folder-item .folder-icon .folder-svg {
    width: 108px;
  }
  .site-footer__bar {
    gap: 38px 0;
  }
  .site-footer__avatar {
    width: 5.94rem;
    height: 5.94rem;
  }
}
@media (hover: none) and (pointer: coarse) {
  .site-header .site-header__logo:hover {
    opacity: 1;
  }
  .site-header .icon-btn:hover,
  .site-header .icon-btn--telegram:hover,
  .site-header .icon-btn--linkedin:hover {
    color: var(--text);
    background: none;
    opacity: 1;
  }
  .site-header .site-header__logo:active {
    opacity: 0.85;
  }
  .site-header .icon-btn.is-tap-active {
    background: rgba(244, 241, 230, 0.06);
  }
  .site-header .icon-btn--telegram,
  .site-header .icon-btn--linkedin {
    transition: background 0.15s ease, color 0.15s ease;
  }
  .folder-item:hover {
    opacity: 1;
  }
  .folder-item .folder-icon:hover::before {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  .folder-item.is-tap-active .folder-icon::before {
    opacity: 1;
    border-radius: 3px 3px 0 0;
    clip-path: inset(0 round 3px 3px 0 0);
    transform: translate3d(-50%, -68%, 0);
  }
  .site-footer__avatar:hover {
    opacity: 1;
  }
  .site-footer__links a:hover, .site-footer__contact a:hover, .site-footer__credit-link:hover {
    color: inherit;
    opacity: 1;
    text-decoration: none;
  }
  .site-footer__avatar:active {
    opacity: 0.92;
  }
  .icon-btn--telegram.is-tap-active,
  .icon-btn--linkedin.is-tap-active,
  .site-footer__links a:active,
  .site-footer__contact a:active,
  .site-footer__credit-link:active {
    color: var(--accent);
  }
  .icon-btn--telegram.is-tap-active,
  .icon-btn--linkedin.is-tap-active {
    background: none;
  }
}

/*# sourceMappingURL=style.css.map */
