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

@keyframes meshMove {
  0% { background-position: 0% 0%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
  100% { background-position: 0% 0%; }
}

@keyframes navbarBaseColorCycle {
  0% { background-color: hsla(29, 100%, 88%, 1); }
  25% { background-color: hsla(206, 82%, 87%, 1); }
  50% { background-color: hsla(254, 72%, 89%, 1); }
  75% { background-color: hsla(162, 58%, 86%, 1); }
  100% { background-color: hsla(29, 100%, 88%, 1); }
}

@keyframes navLoadIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navItemLoadIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionLoadIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introBlockLoadIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionDividerLoadIn {
  0% {
    opacity: 0;
    transform: scaleX(0.8);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --navH: 100px;
  --font-body: 'Lato', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-big: 1.4rem;

  --content-max: 1200px;
  --section-pad-y-desktop: 72px;
  --section-pad-y-tablet: 58px;
  --section-pad-y-mobile: 44px;
  --section-pad-x-desktop: 36px;
  --section-pad-x-tablet: 28px;
  --section-pad-x-mobile: 18px;
  --section-gap: 84px;
  --subsection-gap: 62px;
  --grid-column-gap: 66px;
  --divider-space: 34px;

  --panel-bg: rgba(255, 255, 255, 0.17);
  --panel-bg-strong: rgba(255, 255, 255, 0.23);
  --panel-border: rgba(255, 255, 255, 0.46);
  --text-main: rgba(22, 28, 42, 0.95);
  --text-soft: rgba(250, 252, 255, 0.97);
  --surface-shadow: 0 16px 36px rgba(8, 18, 32, 0.14);
  --title-shell-top: rgba(34, 56, 84, 0.34);
  --title-shell-mid: rgba(34, 56, 84, 0.16);
  --title-shell-bottom: rgba(34, 56, 84, 0.02);
  --title-shell-glow: rgba(230, 242, 255, 0.28);
  --mesh-violet: hsla(262, 30%, 72%, 0.34);
  --mesh-cobalt: hsla(218, 38%, 68%, 0.38);
  --mesh-cyan: hsla(196, 42%, 74%, 0.34);
  --mesh-teal: hsla(170, 28%, 68%, 0.28);
  --mesh-magenta: hsla(312, 28%, 72%, 0.22);
  --mesh-amber: hsla(34, 40%, 70%, 0.28);
  --mesh-gold: hsla(46, 34%, 72%, 0.24);
  --mesh-lilac: hsla(284, 26%, 74%, 0.24);
  --mesh-azure: hsla(206, 40%, 72%, 0.24);
  --mesh-mint: hsla(146, 24%, 72%, 0.22);
  --mesh-coral: hsla(20, 32%, 70%, 0.18);
  --mesh-red-soft: hsla(8, 38%, 66%, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 14px;
  --radius-field: 12px;
  --radius-control: 10px;
  --certificate-collapsed-height: 112px;
  --certificate-expanded-height: 360px;
  --certificate-summary-height: 180px;

  --focus-ring: 3px solid rgba(255, 255, 255, 0.92);
  --focus-ring-offset: 2px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #14243d;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(8, 12, 20, 0.92);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.site-language-switcher {
  position: fixed;
  top: clamp(10px, 1.5vw, 16px);
  right: clamp(10px, 1.8vw, 18px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(14, 24, 40, 0.34);
  backdrop-filter: blur(16px) saturate(118%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  box-shadow: 0 10px 22px rgba(7, 14, 28, 0.2);
}

.site-language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 246, 255, 0.98);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-language-flag {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(-0.02em);
}

.site-language-label {
  line-height: 1;
}

.site-language-button:hover,
.site-language-button:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.site-language-button:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.site-language-button.site-language-button--pressed {
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.site-language-button.is-active {
  background-color: rgba(56, 87, 133, 0.4);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.22),
    inset -1px 0 0 rgba(238, 245, 255, 0.22),
    inset 0 -1px 0 rgba(238, 245, 255, 0.22);
}

.background-mesh {
  position: fixed;
  inset: -30px;
  z-index: -20;
  background-color: #14243d;
  background-image:
    radial-gradient(at 0% 4%, var(--mesh-violet) 0px, transparent 58%),
    radial-gradient(at 20% 12%, var(--mesh-cobalt) 0px, transparent 54%),
    radial-gradient(at 42% 6%, var(--mesh-lilac) 0px, transparent 56%),
    radial-gradient(at 74% 2%, var(--mesh-cyan) 0px, transparent 52%),
    radial-gradient(at 98% 18%, var(--mesh-azure) 0px, transparent 54%),
    radial-gradient(at 12% 48%, var(--mesh-coral) 0px, transparent 58%),
    radial-gradient(at 40% 42%, var(--mesh-red-soft) 0px, transparent 60%),
    radial-gradient(at 28% 78%, var(--mesh-amber) 0px, transparent 60%),
    radial-gradient(at 50% 68%, var(--mesh-mint) 0px, transparent 62%),
    radial-gradient(at 66% 88%, var(--mesh-gold) 0px, transparent 58%),
    radial-gradient(at 84% 82%, var(--mesh-teal) 0px, transparent 62%),
    radial-gradient(at 98% 58%, var(--mesh-magenta) 0px, transparent 56%);
  background-size: 260% 260%;
  animation: meshMove 80s linear infinite;
  filter: blur(30px) saturate(92%) brightness(1.02);
  transform: scale(1.04);
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: var(--navH);
  min-height: var(--navH);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  border-radius: 0;
  background: transparent;
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  box-shadow: 0 10px 22px rgba(7, 14, 28, 0.2);
  transform: translateY(0);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  will-change: transform, opacity;
  animation: navLoadIn 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: hsla(29, 100%, 88%, 0.84);
  background-image:
    radial-gradient(at 4% 12%, hsla(214, 100%, 85%, 0.78) 0px, transparent 52%),
    radial-gradient(at 6% 76%, hsla(262, 96%, 86%, 0.68) 0px, transparent 54%),
    radial-gradient(at 40% 20%, hsla(16, 100%, 88%, 0.86) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(189, 100%, 85%, 0.84) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.82) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(340, 100%, 91%, 0.82) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(22, 100%, 77%, 0.58) 0px, transparent 50%),
    radial-gradient(at 80% 100%, hsla(240, 100%, 81%, 0.8) 0px, transparent 50%),
    radial-gradient(at 0% 0%, hsla(47, 100%, 76%, 0.56) 0px, transparent 50%);
  background-size: 220% 320%;
  animation: meshMove 20s ease infinite, navbarBaseColorCycle 18s ease-in-out infinite;
  filter: blur(6px) saturate(108%);
  transform: scale(1.01);
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.78) 10%,
    rgba(0, 0, 0, 0.58) 24%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.25) 58%,
    rgba(0, 0, 0, 0.12) 76%,
    rgba(0, 0, 0, 0.04) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.78) 10%,
    rgba(0, 0, 0, 0.58) 24%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.25) 58%,
    rgba(0, 0, 0, 0.12) 76%,
    rgba(0, 0, 0, 0.04) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.navbar.navbar--hidden {
  transform: translateY(calc(-1 * (var(--navH) + 10px)));
  opacity: 0;
  pointer-events: none;
}

.nav-row {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  gap: 0;
  padding-left: 0;
  padding-right: clamp(176px, 18vw, 228px);
}

.nav-row::-webkit-scrollbar {
  display: none;
}

.navbar .nav-button {
  border: none;
  background: transparent;
  color: rgba(243, 246, 255, 0.98);
  font-family: var(--font-heading);
  font-size: var(--font-big);
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  align-self: stretch;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
  animation: navItemLoadIn 0.58s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.navbar .nav-button:nth-of-type(1) { animation-delay: 0.14s; }
.navbar .nav-button:nth-of-type(2) { animation-delay: 0.2s; }
.navbar .nav-button:nth-of-type(3) { animation-delay: 0.26s; }
.navbar .nav-button:nth-of-type(4) { animation-delay: 0.32s; }

.navbar .nav-button:not(#nav-home) {
  flex: 0 0 auto;
  min-width: clamp(124px, 11vw, 180px);
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  background: transparent;
  border-radius: 0;
  font-size: 1.02rem;
  background-clip: padding-box;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

.navbar .nav-button:not(#nav-home):hover,
.navbar .nav-button:not(#nav-home):focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.navbar .nav-button:not(#nav-home):active {
  transform: translateY(0);
  background-color: transparent;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

.navbar .nav-button[aria-current="page"]:not(#nav-home) {
  background-color: rgba(56, 87, 133, 0.4);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.22),
    inset 0 -1px 0 rgba(238, 245, 255, 0.22);
}

.navbar .nav-button:not(#nav-home).nav-button--pressed,
.navbar .nav-button[aria-current="page"]:not(#nav-home).nav-button--pressed {
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.navbar .nav-button:not(#nav-home):last-of-type {
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

.navbar .nav-button:not(#nav-home):last-of-type:hover,
.navbar .nav-button:not(#nav-home):last-of-type:focus-visible {
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.navbar .nav-button:not(#nav-home):last-of-type:active {
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

.navbar .nav-button[aria-current="page"]:not(#nav-home):last-of-type {
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.22),
    inset -1px 0 0 rgba(238, 245, 255, 0.22),
    inset 0 -1px 0 rgba(238, 245, 255, 0.22);
}

.navbar .nav-button:not(#nav-home).nav-button--pressed:last-of-type,
.navbar .nav-button[aria-current="page"]:not(#nav-home).nav-button--pressed:last-of-type {
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

#nav-home {
  flex: 0 0 auto;
  width: clamp(78px, 7vw, 104px);
  height: 100%;
  margin-right: 0;
  border: none;
  border-radius: 0;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

#nav-home:hover,
#nav-home:focus-visible {
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(238, 245, 255, 0.24);
  transform: translateY(0);
}

#nav-home:active {
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  transform: translateY(0);
}

.logo-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

main {
  position: relative;
  min-height: 100vh;
  padding-top: var(--navH);
}

.page-section {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-section.active {
  display: block;
  opacity: 1;
  transform: none;
}

.page-section.active .section-banner {
  animation: sectionLoadIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-section.active .section-divider {
  transform-origin: center;
  animation: sectionDividerLoadIn 0.62s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-section.active .section-body > .section-panel {
  opacity: 0;
  animation: sectionLoadIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active .section-body > .section-panel:nth-of-type(1) { animation-delay: 0.08s; }
.page-section.active .section-body > .section-panel:nth-of-type(2) { animation-delay: 0.14s; }
.page-section.active .section-body > .section-panel:nth-of-type(3) { animation-delay: 0.2s; }
.page-section.active .section-body > .section-panel:nth-of-type(4) { animation-delay: 0.26s; }
.page-section.active .section-body > .section-panel:nth-of-type(5) { animation-delay: 0.32s; }

.site-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--navH));
}

.section-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.content-frame {
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

img,
video {
  max-width: 100%;
}

.section-padding {
  padding: var(--section-pad-y-desktop) var(--section-pad-x-desktop);
}

.title-center {
  text-align: center;
  align-items: center;
}

.stack-tight {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.stack-base {
  display: flex;
  flex-direction: column;
  gap: 69px;
}

.stack-wide {
  display: flex;
  flex-direction: column;
  gap: 99px;
}

.glass-surface {
  --glass-surface-frame: var(--panel-border);
  --glass-surface-tint: var(--panel-bg);
  --glass-surface-edge: var(--surface-shadow);
  --glass-surface-blur: 14px;
  --glass-surface-saturate: 118%;
  border: 0px solid var(--glass-surface-frame);
  background: var(--glass-surface-tint);
  background-clip: padding-box;
  box-shadow: var(--glass-surface-edge);
  backdrop-filter: blur(var(--glass-surface-blur)) saturate(var(--glass-surface-saturate));
  -webkit-backdrop-filter: blur(var(--glass-surface-blur)) saturate(var(--glass-surface-saturate));
}

.glass-surface--strong {
  --glass-surface-tint: var(--panel-bg-strong);
  --glass-surface-saturate: 124%;
}

.glass-surface--soft {
  --glass-surface-frame: rgba(255, 255, 255, 0.2);
  --glass-surface-tint: rgba(255, 255, 255, 0.1);
}

.glass-surface--tight-radius {
  border-radius: var(--radius-sm);
}

.section-banner {
  position: relative;
  margin: 0 auto;
  width: min(100%, 560px);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.section-banner--compact {
  width: min(100%, 420px);
  padding: 14px 20px;
}

.section-banner.glass-surface,
.section-banner--compact.glass-surface {
  border: none;
  box-shadow: none;
  background: linear-gradient(
    180deg,
    var(--title-shell-top) 0%,
    var(--title-shell-mid) 62%,
    var(--title-shell-bottom) 100%
  );
  backdrop-filter: blur(6px) saturate(118%);
  -webkit-backdrop-filter: blur(6px) saturate(118%);
}

.section-banner::before,
.section-banner--compact::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(90% 70% at 50% 0%, var(--title-shell-glow) 0%, rgba(225, 238, 255, 0) 74%);
}

.section-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--text-soft);
  letter-spacing: 0.03em;
  text-shadow: 0 4px 14px rgba(6, 12, 20, 0.38);
  position: relative;
  z-index: 1;
}

.section-subheading {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
}

.section-divider {
  height: 5px;
  width: 100%;
  border-radius: 999px;
  margin-bottom: var(--divider-space);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-image:
    radial-gradient(at 0% 0%, var(--mesh-violet) 0px, transparent 44%),
    radial-gradient(at 18% 20%, var(--mesh-cobalt) 0px, transparent 42%),
    radial-gradient(at 36% 12%, var(--mesh-lilac) 0px, transparent 44%),
    radial-gradient(at 54% 20%, var(--mesh-cyan) 0px, transparent 42%),
    radial-gradient(at 72% 46%, var(--mesh-magenta) 0px, transparent 42%),
    radial-gradient(at 88% 62%, var(--mesh-amber) 0px, transparent 40%),
    radial-gradient(at 100% 84%, var(--mesh-mint) 0px, transparent 44%);
  background-size: 240% 240%;
  animation: meshMove 52s linear infinite;
  filter: saturate(90%);
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  min-width: 0;
}

.section-panel {
  padding: 38px;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.subsection-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  color: var(--text-soft);
}

.section-copy {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(248, 251, 255, 0.96);
  overflow-wrap: anywhere;
}

#about-section {
  min-height: calc(100vh - var(--navH));
}

#about-section .section-shell {
  min-height: calc(100vh - var(--navH));
  padding-bottom: 0;
}

#about-section .section-body {
  flex: 1 1 auto;
}

.about-panel {
  padding: 34px;
}

.background-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
}

.background-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.background-video video.is-active,
.background-video video:only-of-type {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .background-video video {
    transition: none;
  }
}

.background-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 16, 26, 0.16) 0%, rgba(10, 16, 26, 0.42) 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  row-gap: var(--subsection-gap);
  column-gap: var(--grid-column-gap);
  align-items: start;
}

.intro-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}

.intro-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 214, 138, 0.16) 0%, rgba(255, 214, 138, 0) 34%),
    linear-gradient(180deg, rgba(22, 34, 54, 0.42) 0%, rgba(10, 16, 28, 0.24) 100%);
  box-shadow:
    0 18px 36px rgba(7, 14, 28, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 20px rgba(132, 196, 255, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.intro-photo::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 214, 138, 0.18) 0%, rgba(255, 214, 138, 0) 32%),
    radial-gradient(circle at 78% 76%, rgba(132, 196, 255, 0.2) 0%, rgba(132, 196, 255, 0) 36%);
  opacity: 0.74;
  transition: opacity 0.35s ease;
}

.intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-copy {
  display: flex;
  align-items: stretch;
  min-width: 0;
  padding: 6px 0 0;
}

.intro-thesis {
  width: 100%;
  display: grid;
  gap: 18px;
}

.intro-credibility {
  display: grid;
  gap: 10px;
}

.intro-credibility-item {
  margin: 0;
  padding: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 214, 138, 0.94);
  border-bottom: 1px solid rgba(223, 234, 255, 0.12);
}

.intro-credibility-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.intro-background-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.intro-background-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 214, 138, 0.94);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.24s ease, opacity 0.24s ease;
}

.intro-background-toggle::after {
  content: "→";
  display: inline-block;
  transition: transform 0.24s ease;
}

.intro-background-toggle:hover,
.intro-background-toggle:focus-visible {
  color: rgba(255, 231, 188, 0.98);
}

.intro-background-toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 6px;
}

.intro-background-toggle:hover::after,
.intro-background-toggle:focus-visible::after {
  transform: translateX(3px);
}

.intro-background-toggle[aria-expanded="true"]::after {
  content: "↓";
  transform: none;
}

.intro-background-reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    margin-top 0.3s ease;
  margin-top: 0;
}

.intro-background-content {
  overflow: hidden;
  border-top: 1px solid rgba(223, 234, 255, 0.12);
  padding-top: 22px;
}

.intro-background-copy {
  margin: 0;
  max-width: 68ch;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.about-panel--intro.is-background-expanded .intro-background-reveal {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 4px;
}

.intro-kicker {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 214, 138, 0.96);
}

.intro-thesis-title {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.08vw, 2.84rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-wrap: balance;
}

.intro-support {
  margin: 0;
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.74;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(223, 234, 255, 0.12);
}

.intro-point {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 142px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 214, 138, 0.12) 0%, rgba(255, 214, 138, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow:
    0 14px 30px rgba(8, 14, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.intro-point + .intro-point {
  padding-left: 20px;
  border-left: none;
}

.intro-point-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 214, 138, 0.96);
}

.intro-point-copy {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: rgba(247, 250, 255, 0.96);
  text-wrap: pretty;
}

.skills-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  row-gap: var(--subsection-gap);
  column-gap: var(--grid-column-gap);
  align-items: center;
}

.skills-copy {
  min-width: 0;
}

.skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.skills-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.07) 100%);
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  box-shadow:
    0 12px 24px rgba(8, 14, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.skills-list li::before {
  content: "*";
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}

.skills-list span {
  display: block;
}

.skills-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 378px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 214, 138, 0.14) 0%, rgba(255, 214, 138, 0) 32%),
    linear-gradient(180deg, rgba(20, 30, 44, 0.4) 0%, rgba(9, 15, 26, 0.2) 100%);
  box-shadow:
    0 18px 36px rgba(7, 14, 28, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 20px rgba(132, 196, 255, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.skills-visual::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(132, 196, 255, 0.18) 0%, rgba(132, 196, 255, 0) 34%),
    radial-gradient(circle at 28% 78%, rgba(255, 214, 138, 0.14) 0%, rgba(255, 214, 138, 0) 30%);
  opacity: 0.72;
  transition: opacity 0.35s ease;
}

.skills-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: calc(var(--subsection-gap) * 0.18);
  column-gap: var(--grid-column-gap);
  align-items: start;
}

.certificate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: var(--certificate-collapsed-height);
  min-height: 0;
  padding: 20px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.25s ease,
    background-color 0.35s ease;
}

.certificate-card:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.certificate-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.24rem;
  text-align: center;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.certificate-summary {
  margin: 0;
  text-align: center;
  color: rgba(246, 246, 246, 0.9);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  height: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s ease, height 0.35s ease, max-height 0.35s ease;
}

.certificate-link {
  margin-top: auto;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  border-radius: 0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(243, 246, 255, 0.98);
  border: none;
  background: transparent;
  background-clip: padding-box;
  min-width: clamp(124px, 40%, 180px);
  width: fit-content;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.certificate-link:hover,
.certificate-link:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.certificate-link:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.certificate-link--disabled {
  color: rgba(214, 226, 244, 0.78);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.12),
    inset -1px 0 0 rgba(222, 235, 255, 0.12),
    inset 0 -1px 0 rgba(222, 235, 255, 0.1);
  cursor: default;
}

.certificate-link--disabled:hover,
.certificate-link--disabled:focus-visible,
.certificate-link--disabled:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(214, 226, 244, 0.78);
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.12),
    inset -1px 0 0 rgba(222, 235, 255, 0.12),
    inset 0 -1px 0 rgba(222, 235, 255, 0.1);
}

.availability-card {
  width: min(100%, 560px);
  margin: auto auto 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.availability-label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: rgba(242, 246, 252, 0.92);
}

.availability-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.availability-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(100, 30, 30, 0.26);
  box-shadow: inset 0 0 0 1px rgba(214, 140, 140, 0.46);
}

.availability-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(220, 110, 110, 0.96) 0%, rgba(185, 70, 70, 0.96) 100%);
  box-shadow: 0 2px 5px rgba(34, 10, 10, 0.34);
}

.availability-value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(214, 112, 112, 0.98);
}

.certificate-card:hover,
.certificate-card:focus-within {
  transform: translateY(-4px);
  height: var(--certificate-expanded-height);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 38px rgba(8, 14, 24, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(132, 196, 255, 0.1);
}

.intro-photo:hover,
.skills-visual:hover,
.intro-point:hover,
.skills-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 40px rgba(8, 14, 24, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 26px rgba(132, 196, 255, 0.12);
}

.intro-photo:hover::after,
.skills-visual:hover::after {
  opacity: 1;
}

.intro-photo:hover img,
.skills-visual:hover img {
  transform: scale(1.06);
}

#about-section.active .about-panel--intro .intro-photo,
#about-section.active .about-panel--intro .intro-credibility,
#about-section.active .about-panel--intro .intro-kicker,
#about-section.active .about-panel--intro .intro-thesis-title,
#about-section.active .about-panel--intro .intro-support,
#about-section.active .about-panel--intro .intro-point,
#about-section.active .about-panel--intro .intro-background-actions {
  opacity: 0;
  animation: introBlockLoadIn 0.56s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#about-section.active .about-panel--intro .intro-photo { animation-delay: 0.08s; }
#about-section.active .about-panel--intro .intro-credibility { animation-delay: 0.16s; }
#about-section.active .about-panel--intro .intro-kicker { animation-delay: 0.24s; }
#about-section.active .about-panel--intro .intro-thesis-title { animation-delay: 0.32s; }
#about-section.active .about-panel--intro .intro-support { animation-delay: 0.4s; }
#about-section.active .about-panel--intro .intro-point:nth-child(1) { animation-delay: 0.48s; }
#about-section.active .about-panel--intro .intro-point:nth-child(2) { animation-delay: 0.56s; }
#about-section.active .about-panel--intro .intro-point:nth-child(3) { animation-delay: 0.64s; }
#about-section.active .about-panel--intro .intro-background-actions { animation-delay: 0.72s; }

.intro-point:hover,
.intro-point:focus-within,
.skills-list li:hover,
.skills-list li:focus-within {
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 214, 138, 0.16) 0%, rgba(255, 214, 138, 0) 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.09) 100%);
}

.certificate-card:hover .certificate-summary,
.certificate-card:focus-within .certificate-summary {
  opacity: 1;
  transform: translateY(0);
  height: var(--certificate-summary-height);
  max-height: var(--certificate-summary-height);
  pointer-events: auto;
}

.certificate-card:hover .certificate-link,
.certificate-card:focus-within .certificate-link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: none) {
  .certificate-card {
    height: var(--certificate-expanded-height);
    min-height: var(--certificate-expanded-height);
  }

  .certificate-summary {
    opacity: 1;
    transform: translateY(0);
    height: var(--certificate-summary-height);
    max-height: var(--certificate-summary-height);
    pointer-events: auto;
  }

  .certificate-link {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.portfolio-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.portfolio-intro {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.portfolio-intro .section-copy {
  max-width: 62ch;
  margin-inline: auto;
}

.portfolio-group {
  width: 100%;
}

.work-list,
.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: var(--subsection-gap);
  column-gap: var(--grid-column-gap);
  align-items: stretch;
}

.work-entry,
.project-tile {
  min-height: 240px;
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-align: left;
}

.portfolio-tile {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 30px;
  line-height: 1.3;
  min-width: 0;
}

.portfolio-tile-body {
  width: 100%;
  min-width: 0;
  align-items: flex-start;
}

.portfolio-group .portfolio-tile {
  align-items: stretch;
  justify-content: stretch;
}

.portfolio-group .portfolio-tile-body {
  display: grid;
  grid-template-rows: minmax(2.8em, auto) minmax(0, 1fr) auto;
  gap: clamp(14px, 1.8vw, 24px);
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-items: stretch;
}

.portfolio-group .portfolio-tile-body > .card-heading {
  margin: 0;
  align-self: start;
}

.portfolio-group .portfolio-tile-body > .section-copy {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 0;
}

.portfolio-group .portfolio-tile-body > .action-button {
  align-self: end;
}

.work-group .work-entry {
  text-align: center;
}

.work-group .portfolio-tile {
  align-items: stretch;
  justify-content: stretch;
}

.work-group .portfolio-tile-body {
  justify-items: center;
  text-align: center;
}

.work-group .section-copy {
  text-align: center;
}

.work-group .portfolio-tile-body > .section-copy {
  justify-content: center;
}

.projects-group .portfolio-tile-body {
  justify-items: center;
  text-align: center;
}

.projects-group .portfolio-tile-body > .section-copy {
  justify-content: center;
  text-align: center;
}

.projects-group > .subsection-heading {
  text-align: left;
}

.projects-group .project-tile {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.projects-group .project-tile .card-heading,
.projects-group .project-tile .section-copy {
  text-shadow: 0 2px 10px rgba(6, 10, 16, 0.66);
}

.project-tile-automation-framework {
  background-image:
    linear-gradient(180deg, rgba(10, 17, 26, 0.52) 0%, rgba(10, 17, 26, 0.74) 100%),
    url("/photos/e2e-art-13.png");
}

.project-tile-trading-engine {
  background-image:
    linear-gradient(180deg, rgba(10, 17, 26, 0.5) 0%, rgba(10, 17, 26, 0.74) 100%),
    url("/photos/bull_photo_2026-03-11_00-02-30.jpg");
}

.project-tile-vacuuma-app {
  background-image:
    linear-gradient(180deg, rgba(10, 17, 26, 0.5) 0%, rgba(10, 17, 26, 0.74) 100%),
    url("/photos/vacuuma-art-3.png");
}

.action-button {
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  border: none;
  border-radius: 0;
  background: transparent;
  background-clip: padding-box;
  color: rgba(243, 246, 255, 0.98);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.action-button:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.workflow-list {
  display: grid;
  gap: var(--subsection-gap);
}

.workflow-row {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  row-gap: var(--subsection-gap);
  column-gap: var(--grid-column-gap);
  align-items: stretch;
}

.workflow-step {
  min-height: 240px;
}

.workflow-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  isolation: isolate;
}

.workflow-video-card {
  min-height: 240px;
}

.workflow-video-trigger {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

.workflow-video-trigger:hover,
.workflow-video-trigger:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.workflow-video-trigger:active {
  transform: translateY(0);
  background-color: transparent;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
}

.workflow-video-trigger.workflow-video-trigger--pressed {
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.workflow-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 14, 0.1) 0%, rgba(5, 8, 14, 0.35) 100%);
}

.workflow-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.workflow-summary-panel {
  border-radius: var(--radius-md);
  padding: 32px;
  color: rgba(246, 246, 246, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  min-width: 0;
}

.workflow-summary {
  width: 100%;
}

.workflow-summary-panel h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.workflow-summary-panel p {
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.workflow-summary p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: calc(var(--subsection-gap) * 0.55);
  column-gap: var(--grid-column-gap);
  align-items: stretch;
}

.recommendation-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 16px 10px;
  text-align: left;
  cursor: pointer;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.recommendation-card:hover,
.recommendation-card:focus-visible {
  transform: translateY(-2px);
  background-color: rgba(67, 103, 156, 0.24);
  box-shadow: var(--surface-shadow);
}

.recommendation-card:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.34);
}

.recommendation-preview-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(11, 18, 30, 0.54) 0%, rgba(11, 18, 30, 0.34) 100%);
}

.recommendation-preview-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, rgba(8, 12, 20, 0.03) 62%, rgba(8, 12, 20, 0.08) 100%);
}

.recommendation-preview-page {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: calc(100% - 12px);
  max-height: calc(100% - 12px);
  align-self: center;
  justify-self: center;
  transform: translateY(-4px);
  aspect-ratio: 1 / 1.42;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 246, 0.98) 100%);
  box-shadow:
    0 0 18px rgba(6, 10, 16, 0.18),
    0 0 4px rgba(6, 10, 16, 0.1);
}

.recommendation-preview-canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 2px;
  background: #fff;
}

.recommendation-preview-status {
  position: absolute;
  inset: auto 14px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(24, 32, 46, 0.72);
  background: rgba(246, 246, 244, 0.92);
  box-shadow: 0 2px 8px rgba(10, 16, 26, 0.1);
}

.recommendation-preview-page.is-ready .recommendation-preview-status {
  display: none;
}

.recommendation-preview-page.is-error {
  background:
    linear-gradient(180deg, rgba(242, 244, 248, 0.98) 0%, rgba(232, 236, 242, 0.98) 100%);
}

.recommendation-preview-page.is-error .recommendation-preview-status {
  position: static;
  inset: auto;
  max-width: 11ch;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  text-transform: none;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.recommendation-caption {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: start;
}

.recommendation-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.1;
  color: rgba(246, 250, 255, 0.98);
  min-width: 0;
}

.recommendation-badge {
  width: 34px;
  height: 34px;
  justify-self: end;
  align-self: start;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 10px rgba(8, 12, 20, 0.12);
}

.recommendation-badge::before {
  content: "";
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0%, 61% 36%, 98% 36%, 68% 57%, 79% 92%, 50% 71%, 21% 92%, 32% 57%, 2% 36%, 39% 36%);
  background: linear-gradient(180deg, rgba(255, 239, 166, 0.98) 0%, rgba(232, 183, 76, 0.96) 100%);
  filter: drop-shadow(0 0 6px rgba(232, 183, 76, 0.22));
}

.document-modal[hidden] {
  display: none !important;
}

.document-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background: rgba(8, 12, 20, 0.68);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
}

.document-modal-dialog {
  --glass-surface-tint: rgba(20, 30, 44, 0.9);
  --glass-surface-saturate: 122%;
  width: min(100%, 1240px);
  height: min(90vh, 860px);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.document-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.document-modal-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: rgba(246, 250, 255, 0.98);
}

.document-modal-close {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 124px;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  border: none;
  border-radius: 0;
  background: transparent;
  background-clip: padding-box;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(243, 246, 255, 0.98);
  cursor: pointer;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
}

.document-modal-close:hover,
.document-modal-close:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.document-modal-close:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.document-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}

.document-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.document-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.document-modal-link {
  min-height: 40px;
}

.document-modal-link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
}

.workflow-video-modal-body {
  background: rgba(7, 10, 16, 0.94);
}

.workflow-video-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #05070d;
}

.services-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.services-intro {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.services-intro .section-copy {
  max-width: 64ch;
  margin-inline: auto;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: var(--subsection-gap);
  column-gap: var(--grid-column-gap);
}

.offer-card {
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 260px;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(1);
  transform-origin: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease;
}

.offer-card:hover,
.offer-card:focus-visible {
  transform: scale(1.02);
  background-color: rgba(67, 103, 156, 0.22);
  box-shadow: var(--surface-shadow);
}

.offer-card:active {
  transform: translateY(2px) scale(0.995);
  background-color: rgba(36, 56, 90, 0.28);
}

.offer-card.offer-card--pressed {
  transform: translateY(2px) scale(0.995);
  background-color: rgba(36, 56, 90, 0.32);
  box-shadow:
    inset 0 6px 14px rgba(0, 0, 0, 0.28),
    var(--surface-shadow);
}

.card-heading {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.offer-card > .card-heading {
  text-align: center;
}

.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.offer-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(246, 246, 246, 0.92);
  line-height: 1.55;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.offer-link {
  margin-top: auto;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  border-radius: 0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(243, 246, 255, 0.98);
  border: none;
  background: transparent;
  background-clip: padding-box;
  min-width: clamp(124px, 40%, 180px);
  width: fit-content;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
}

.offer-link:hover,
.offer-link:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.offer-link:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.services-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 36px;
}

.services-prompt-copy {
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.services-prompt-button {
  flex: 0 0 auto;
  margin-inline: auto;
  align-self: center;
  min-height: 44px;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  border-radius: 0;
  border: none;
  background: transparent;
  background-clip: padding-box;
  color: rgba(243, 246, 255, 0.98);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
}

.services-prompt-button:hover,
.services-prompt-button:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.services-prompt-button:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.contact-panel {
  max-width: 860px;
  margin-inline: auto;
}

.contact-summary {
  max-width: 70ch;
}

.contact-form-panel {
  border-radius: var(--radius-md);
  padding: 32px;
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 26px;
}

.contact-bot-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 24px;
  column-gap: calc(24px * 1.75);
}

.field-group {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-weight: 700;
}

.field-group span {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-field);
  padding: 12px 14px;
  background: rgba(20, 34, 54, 0.28);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.field-group textarea {
  min-height: 150px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(233, 244, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(166, 208, 255, 0.34);
}

.contact-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.contact-turnstile[hidden] {
  display: none !important;
}

.contact-turnstile {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-turnstile > div {
  min-height: 65px;
}

.contact-submit-button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.contact-submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-status {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

.field-message {
  margin: 0;
  border-radius: var(--radius-control);
  padding: 10px 12px;
  line-height: 1.4;
  font-size: 0.92rem;
}

.field-message[hidden] {
  display: none !important;
}

.field-message-success {
  color: rgba(215, 255, 230, 0.98);
  background: rgba(25, 130, 70, 0.28);
  border: 1px solid rgba(122, 255, 174, 0.45);
}

.field-message-error {
  color: rgba(255, 232, 232, 0.98);
  background: rgba(150, 40, 40, 0.28);
  border: 1px solid rgba(255, 156, 156, 0.48);
}

.primary-button {
  justify-self: center;
  margin-inline: auto;
  min-height: 44px;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  border-radius: 0;
  border: none;
  background: transparent;
  background-clip: padding-box;
  color: rgba(243, 246, 255, 0.98);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

.primary-button:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: clamp(20px, 4vw, 44px);
  padding: 34px var(--section-pad-x-desktop) 42px;
}

#about-section.active ~ .site-footer {
  margin-top: 0;
}

.footer-separator {
  width: min(100%, var(--content-max));
  height: 1px;
  margin: 0 auto clamp(20px, 3vw, 30px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.48) 20%,
    rgba(255, 255, 255, 0.62) 50%,
    rgba(255, 255, 255, 0.48) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 132% at 10% 100%, var(--mesh-cobalt) 0%, rgba(116, 142, 255, 0) 72%),
    radial-gradient(96% 126% at 34% 100%, var(--mesh-lilac) 0%, rgba(214, 140, 255, 0) 74%),
    radial-gradient(104% 130% at 56% 100%, var(--mesh-magenta) 0%, rgba(228, 110, 198, 0) 74%),
    radial-gradient(96% 124% at 76% 100%, var(--mesh-gold) 0%, rgba(255, 186, 120, 0) 72%),
    radial-gradient(90% 120% at 96% 100%, var(--mesh-mint) 0%, rgba(150, 255, 212, 0) 72%),
    linear-gradient(180deg, rgba(14, 18, 26, 0) 0%, rgba(14, 18, 26, 0.46) 100%);
  filter: blur(26px) saturate(92%);
  opacity: 0.9;
}

.footer-frame {
  position: relative;
  z-index: 1;
}

.footer-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 24px 30px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-item {
  color: rgba(246, 246, 246, 0.95);
  margin: 0;
}

.footer-details {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-link {
  color: rgba(255, 255, 255, 0.98);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: rgba(255, 229, 170, 0.98);
  border-color: rgba(255, 229, 170, 0.7);
  outline: none;
}

.footer-action {
  flex: 0 0 auto;
}

#page-top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 53px;
  min-width: clamp(149px, 13.2vw, 216px);
  border: none;
  border-radius: 0;
  background: transparent;
  background-clip: padding-box;
  padding-block: 0;
  padding-inline: clamp(14px, 1.6vw, 24px);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(243, 246, 255, 0.98);
  box-shadow:
    inset 1px 0 0 rgba(222, 235, 255, 0.18),
    inset -1px 0 0 rgba(222, 235, 255, 0.18),
    inset 0 -1px 0 rgba(222, 235, 255, 0.16);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease,
    color 0.35s ease, box-shadow 0.35s ease;
}

#page-top-button:hover,
#page-top-button:focus-visible {
  transform: translateY(0);
  background-color: rgba(67, 103, 156, 0.34);
  box-shadow:
    inset 1px 0 0 rgba(238, 245, 255, 0.26),
    inset -1px 0 0 rgba(238, 245, 255, 0.26),
    inset 0 -1px 0 rgba(238, 245, 255, 0.24);
}

#page-top-button:active {
  transform: translateY(0);
  background-color: rgba(36, 56, 90, 0.42);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(236, 245, 255, 0.18),
    inset -1px 0 0 rgba(236, 245, 255, 0.18),
    inset 0 -1px 0 rgba(236, 245, 255, 0.16);
}

.page-top-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.navbar .nav-button:focus-visible,
.site-language-button:focus-visible,
.recommendation-card:focus-visible,
.document-modal-close:focus-visible,
.workflow-video-trigger:focus-visible,
.offer-card:focus-visible,
.offer-link:focus-visible,
.certificate-link:focus-visible,
.action-button:focus-visible,
.services-prompt-button:focus-visible,
.primary-button:focus-visible,
#page-top-button:focus-visible,
.field-group input:focus-visible,
.field-group textarea:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

@media (max-width: 1024px) {
  :root {
    --section-gap: 68px;
    --subsection-gap: 48px;
    --grid-column-gap: 52px;
    --divider-space: 26px;
  }

  .section-padding {
    padding: var(--section-pad-y-tablet) var(--section-pad-x-tablet);
  }

  .stack-wide {
    gap: 78px;
  }

  .stack-base {
    gap: 60px;
  }

  .section-banner {
    width: min(100%, 520px);
    padding: 16px 20px;
  }

  .section-banner--compact {
    width: min(100%, 400px);
    padding: 12px 18px;
  }

  .section-panel,
  .about-panel {
    padding: 30px;
  }

  .navbar {
    padding: 0;
  }

  .navbar .nav-button:not(#nav-home) {
    min-width: 104px;
    padding: 0 14px;
    font-size: 0.98rem;
  }

  .nav-row {
    padding-right: 174px;
  }

  .intro-grid {
    grid-template-columns: minmax(220px, 268px) minmax(0, 1fr);
  }

  .intro-copy {
    padding: 4px 0 0;
  }

  .skills-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  }

  .portfolio-tile {
    min-height: 220px;
    padding: 28px;
  }

  .work-list,
  .project-list,
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-modal-dialog {
    width: min(100%, 1080px);
    height: min(88vh, 780px);
  }

  .workflow-row {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  .workflow-step,
  .workflow-video-card,
  .workflow-summary-panel {
    min-height: 220px;
  }

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

  .offer-card {
    min-height: 240px;
    padding: 28px;
  }

  .services-prompt {
    align-items: center;
  }

  .contact-panel {
    max-width: min(100%, 920px);
  }

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

  .contact-form-panel {
    padding: 28px;
  }

  .site-footer {
    margin-top: clamp(18px, 3.6vw, 38px);
    padding: 36px var(--section-pad-x-tablet) 42px;
  }

  .footer-shell {
    padding: 22px 24px;
    gap: 22px;
  }

  #page-top-button {
    min-width: 144px;
  }
}

@media (max-width: 768px) {
  :root {
    --navH: 88px;
    --section-gap: 54px;
    --subsection-gap: 42px;
    --grid-column-gap: 46px;
    --divider-space: 22px;
  }

  .section-padding {
    padding: var(--section-pad-y-mobile) var(--section-pad-x-mobile);
  }

  .stack-wide {
    gap: 66px;
  }

  .stack-base {
    gap: 54px;
  }

  .stack-tight {
    gap: 39px;
  }

  .navbar {
    padding: 0;
  }

  .nav-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
  }

  .site-language-switcher {
    top: 10px;
    right: 10px;
    padding: 4px;
    gap: 4px;
  }

  .site-language-button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 0.74rem;
    gap: 0;
  }

  .site-language-flag {
    font-size: 0.98rem;
  }

  .site-language-label {
    display: none;
  }

  #nav-home {
    width: 66px;
    height: 100%;
    margin-right: 0;
  }

  .navbar .nav-button:not(#nav-home) {
    min-width: 92px;
    font-size: 0.88rem;
    padding: 0 12px;
  }

  .nav-row {
    padding-right: 94px;
  }

  .section-banner {
    width: 100%;
    padding: 14px 16px;
  }

  .section-banner--compact {
    width: 100%;
    max-width: 380px;
    padding: 12px 16px;
  }

  .section-heading {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .section-subheading {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .section-divider {
    height: 4px;
  }

  .section-panel,
  .about-panel,
  .portfolio-tile,
  .offer-card,
  .contact-form-panel,
  .workflow-summary-panel {
    padding: 24px;
  }

  .availability-card {
    width: 100%;
    padding: 12px 16px;
  }

  .intro-grid,
  .skills-grid,
  .workflow-row,
  .contact-fields {
    grid-template-columns: 1fr;
  }

  .intro-aside {
    gap: 14px;
  }

  .intro-copy {
    padding: 0;
  }

  .intro-thesis-title {
    max-width: none;
  }

  .intro-credibility {
    gap: 8px;
  }

  .intro-background-copy {
    max-width: none;
  }

  .intro-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-point {
    min-height: 0;
    padding: 18px 20px;
  }

  .intro-point + .intro-point {
    padding-left: 20px;
    padding-top: 18px;
    border-left: none;
    border-top: none;
  }

  .portfolio-intro,
  .services-intro {
    text-align: left;
    align-items: flex-start;
  }

  .offer-grid,
  .certificate-grid,
  .work-list,
  .project-list,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 0;
  }

  .services-prompt {
    flex-direction: column;
    align-items: stretch;
  }

  .services-prompt-button {
    width: 100%;
  }

  .contact-panel {
    max-width: none;
  }

  .contact-summary {
    max-width: none;
  }

  .contact-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-submit-button {
    width: 100%;
    min-width: 0;
  }

  .contact-status {
    max-width: none;
    flex-basis: auto;
  }

  .portfolio-tile {
    min-height: 190px;
    align-items: flex-end;
    text-align: left;
  }

  .portfolio-group .portfolio-tile {
    align-items: stretch;
    justify-content: stretch;
  }

  .skills-visual img,
  .intro-photo img {
    max-height: 420px;
    object-position: center top;
  }

  .workflow-media,
  .workflow-video-card {
    min-height: 180px;
  }

  .recommendation-card {
    min-height: 0;
  }

  .recommendation-preview-shell {
    aspect-ratio: 3 / 4;
  }

  .recommendation-preview-page {
    width: min(calc(100% - 20px), 290px);
    height: auto;
    max-height: calc(100% - 20px);
    transform: translateY(0);
  }

  .recommendation-preview-canvas {
    width: 100%;
    height: auto;
    max-height: 100%;
  }

  .document-modal {
    padding: 12px;
  }

  .document-modal-dialog {
    width: 100%;
    height: min(88vh, 760px);
    padding: 14px;
    gap: 12px;
  }

  .document-modal-title {
    font-size: 1.1rem;
  }

  .document-modal-close {
    min-height: 38px;
    min-width: 92px;
    padding-inline: 12px;
  }

  .document-modal-footer {
    justify-content: stretch;
  }

  .document-modal-link {
    width: 100%;
    justify-content: center;
  }

  .workflow-step,
  .workflow-summary-panel {
    min-height: 0;
  }

  .footer-shell {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 20px;
    gap: 20px;
  }

  .primary-button {
    width: 100%;
    justify-self: stretch;
  }

  .footer-separator {
    margin-bottom: 16px;
  }

  #page-top-button {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    margin-top: 24px;
    padding: 34px var(--section-pad-x-mobile) 34px;
  }

}

@media (max-width: 480px) {
  :root {
    --navH: 80px;
    --section-gap: 44px;
    --subsection-gap: 35px;
    --grid-column-gap: 39px;
    --divider-space: 18px;
    --certificate-collapsed-height: 96px;
    --certificate-expanded-height: 470px;
    --certificate-summary-height: 296px;
  }

  .section-padding {
    padding: 34px 18px;
  }

  #contact-section .section-shell {
    padding-inline: 2.5vw;
  }

  .navbar {
    padding: 0;
  }

  #nav-home {
    width: 58px;
    height: 100%;
    border-radius: 0;
  }

  .site-language-switcher {
    top: 8px;
    right: 8px;
    gap: 4px;
    padding: 4px;
  }

  .site-language-button {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 0.7rem;
    gap: 0;
  }

  .site-language-flag {
    font-size: 0.92rem;
  }

  .nav-row {
    padding-right: 84px;
  }

  .navbar .nav-button:not(#nav-home) {
    min-width: 84px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .section-banner,
  .section-banner--compact {
    padding: 12px 14px;
  }

  .section-heading {
    font-size: clamp(1.45rem, 8.2vw, 1.9rem);
  }

  .section-subheading {
    font-size: clamp(1.05rem, 5.2vw, 1.28rem);
  }

  .section-panel,
  .about-panel,
  .portfolio-tile,
  .offer-card,
  .contact-form-panel,
  .workflow-summary-panel {
    padding: 22px;
  }

  .availability-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .availability-label {
    font-size: 0.9rem;
  }

  .contact-panel {
    width: min(95vw, 100%);
    margin-inline: auto;
  }

  .contact-form-panel {
    width: 100%;
  }

  .intro-copy {
    padding: 0;
  }

  .section-copy,
  .intro-support,
  .intro-point-copy,
  .intro-background-copy {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .intro-background-content {
    padding-top: 18px;
  }

  .certificate-summary {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .certificate-link {
    width: fit-content;
    max-width: none;
  }

  .recommendation-preview-shell {
    aspect-ratio: 3 / 4;
  }

  .document-modal-dialog {
    height: min(90vh, 720px);
    padding: 12px;
  }

  .footer-copy {
    font-size: 0.87rem;
  }

}








