:root {
  color-scheme: dark;
  --background: #050b14;
  --background-soft: #091320;
  --surface: rgba(12, 24, 39, 0.92);
  --surface-strong: #0d1b2a;
  --surface-muted: #112437;
  --line: rgba(148, 184, 214, 0.2);
  --line-strong: rgba(85, 197, 255, 0.45);
  --text: #f4f8fb;
  --text-soft: #c7d5e2;
  --muted: #8fa6ba;
  --brand: #4dc8ff;
  --brand-strong: #0aa5e8;
  --accent: #7de3c3;
  --danger: #ff8d8d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-large: 28px;
  --radius-medium: 18px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(48, 166, 219, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 32%, rgba(72, 210, 166, 0.08), transparent 28rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code {
  color: #b9eaff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #00141f;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 10, 19, 0.88);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1320px, calc(100% - 32px));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-button {
  flex: 0 0 auto;
  min-width: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(77, 200, 255, 0.5);
  border-radius: 12px;
  background: rgba(77, 200, 255, 0.1);
  color: #dff6ff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.auth-button:hover,
.auth-button:focus-visible {
  border-color: var(--brand);
  background: rgba(77, 200, 255, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.auth-button.is-logout {
  border-color: rgba(255, 141, 141, 0.45);
  background: rgba(255, 141, 141, 0.08);
  color: #ffe6e6;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #79dcff, #22aee9);
  box-shadow: 0 12px 28px rgba(20, 174, 230, 0.25);
  color: #00131d;
  font-weight: 950;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  letter-spacing: 0.1em;
  font-size: 0.96rem;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.main-navigation {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 11px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a.is-active {
  background: rgba(148, 184, 214, 0.12);
  color: #fff;
  outline: none;
}

.main-navigation a.nav-primary {
  margin-left: 5px;
  background: var(--brand);
  color: #00141f;
  font-weight: 850;
}

.main-navigation a.nav-primary:hover,
.main-navigation a.nav-primary:focus-visible {
  background: #77d9ff;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle-icon {
  position: relative;
  margin-left: 9px;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-icon::before { top: -6px; }
.menu-toggle-icon::after { top: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  border-bottom: 1px solid var(--line);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(4, 12, 23, 0.96) 5%, rgba(4, 12, 23, 0.6) 54%, rgba(4, 12, 23, 0.88) 100%),
    radial-gradient(circle at 75% 42%, rgba(39, 187, 242, 0.24), transparent 30rem),
    radial-gradient(circle at 66% 48%, rgba(96, 225, 185, 0.13), transparent 19rem);
}

.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(110, 213, 255, 0.18);
  transform: rotate(28deg) skew(-10deg);
}

.hero-background::before {
  width: 460px;
  height: 460px;
  right: 7%;
  top: 4%;
}

.hero-background::after {
  width: 280px;
  height: 280px;
  right: 18%;
  top: 24%;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6vw, 5.5rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 15px;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 32px;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--brand);
  color: #00141f;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #7cddff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(12, 36, 54, 0.7);
  color: #e7f7ff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--brand);
  background: rgba(31, 93, 122, 0.55);
}

.button-disabled {
  border-color: var(--line);
  background: rgba(148, 184, 214, 0.07);
  color: var(--muted);
  cursor: not-allowed;
}

.hero-panel {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgba(10, 30, 45, 0.85), rgba(8, 18, 29, 0.95));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(125, 227, 195, 0.12);
  border-radius: 20px;
}

.hero-panel-label {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-panel ul,
.topic-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li,
.topic-list li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}

.hero-panel li:last-child,
.topic-list li:last-child {
  border-bottom: 0;
}

.hero-panel li::before,
.topic-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 15px rgba(77, 200, 255, 0.65);
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading > p:last-child,
.workflow-layout > p,
.about-main-card p,
.contact-card p {
  color: var(--text-soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: linear-gradient(155deg, rgba(14, 29, 46, 0.98), rgba(7, 16, 28, 0.97));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 200, 255, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.project-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #06111e;
  color: inherit;
  font: inherit;
  text-align: left;
}

.project-lightbox-trigger {
  cursor: zoom-in;
}

.project-lightbox-trigger picture {
  display: block;
}

.project-lightbox-trigger:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 350ms ease;
}

.project-card:hover .project-image {
  transform: scale(1.012);
}


.project-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(219, 243, 255, 0.3);
  border-radius: 999px;
  background: rgba(2, 10, 18, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  color: #f4fbff;
  font-size: 0.77rem;
  font-weight: 800;
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.project-lightbox-trigger:hover .project-zoom-hint,
.project-lightbox-trigger:focus-visible .project-zoom-hint {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(5, 25, 38, 0.94);
}

.project-zoom-icon {
  position: relative;
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.project-zoom-icon::before,
.project-zoom-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.project-zoom-icon::before {
  width: 6px;
  height: 2px;
  left: 2px;
  top: 4px;
}

.project-zoom-icon::after {
  width: 2px;
  height: 6px;
  left: 4px;
  top: 2px;
  box-shadow: 7px 8px 0 -0.5px currentColor;
  transform: rotate(-45deg);
  transform-origin: 8px 8px;
}

.project-image-placeholder {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background-color: #0c2030;
  background-image:
    linear-gradient(135deg, transparent 32%, rgba(255, 255, 255, 0.05) 32%, rgba(255, 255, 255, 0.05) 33%, transparent 33%),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.035) 48%, rgba(255, 255, 255, 0.035) 49%, transparent 49%);
  background-size: 54px 54px, 72px 72px;
}

.project-image-one { background-color: #10364a; }
.project-image-two { background-color: #26314c; }
.project-image-three { background-color: #18423e; }
.project-image-four { background-color: #393346; }

.project-image-placeholder span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-image-placeholder strong {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 1.1;
}

.project-image-placeholder small {
  color: rgba(226, 241, 250, 0.66);
}

.project-content {
  position: relative;
  padding: 34px;
}

.project-content p {
  margin-bottom: 23px;
  color: var(--text-soft);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.project-tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 184, 214, 0.06);
  color: #bfd3e2;
  font-size: 0.78rem;
  font-weight: 700;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(77, 200, 255, 0.4);
  border-radius: 11px;
  background: rgba(77, 200, 255, 0.08);
  color: #dff6ff;
  font-weight: 850;
  text-decoration: none;
}

.project-link:hover,
.project-link:focus-visible {
  border-color: var(--brand);
  background: rgba(77, 200, 255, 0.17);
  outline: none;
}

.project-link-pending {
  border-color: var(--line);
  background: rgba(148, 184, 214, 0.05);
  color: var(--muted);
  cursor: not-allowed;
}

.workflow-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(23, 78, 103, 0.18), rgba(22, 79, 66, 0.13));
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.workflow-layout > p {
  margin: 42px 0 0;
  font-size: 1.1rem;
}

.subpage-hero {
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 45%, rgba(61, 192, 236, 0.18), transparent 23rem),
    linear-gradient(130deg, rgba(5, 14, 25, 0.96), rgba(9, 30, 43, 0.72));
}

.subpage-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 60px;
  align-items: center;
}

.portrait-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(77, 200, 255, 0.32), transparent 16%),
    linear-gradient(145deg, rgba(15, 53, 72, 0.9), rgba(7, 20, 33, 0.95));
  box-shadow: var(--shadow);
  text-align: center;
}

.portrait-placeholder span {
  font-size: 1.4rem;
  font-weight: 900;
}

.portrait-placeholder small {
  max-width: 130px;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.65fr);
  gap: 24px;
}

.about-main-card,
.about-side-card,
.contact-card {
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.editor-note {
  margin: 28px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  background: rgba(77, 200, 255, 0.07);
}

.about-side-card h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: linear-gradient(135deg, rgba(16, 48, 68, 0.95), rgba(11, 27, 42, 0.98));
}

.contact-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #030913;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}

.footer-layout strong {
  letter-spacing: 0.12em;
}

.footer-layout p {
  margin: 5px 0 0;
  color: var(--muted);
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-layout a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-layout a:hover,
.footer-layout a:focus-visible {
  color: var(--brand);
  outline: none;
}


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

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 3vw, 36px);
  border: 0;
  background: rgba(2, 8, 15, 0.97);
  color: var(--text);
}

.image-lightbox::backdrop {
  background: rgba(0, 5, 10, 0.92);
  backdrop-filter: blur(8px);
}

.image-lightbox[open] {
  display: grid;
  place-items: center;
}

.image-lightbox-inner {
  position: relative;
  width: min(100%, 1900px);
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.image-lightbox-stage {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 48px 8px 8px;
  overscroll-behavior: contain;
}

.image-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
  cursor: zoom-in;
}

.image-lightbox-image.is-zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.image-lightbox-caption {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(219, 243, 255, 0.34);
  border-radius: 50%;
  background: rgba(7, 21, 33, 0.92);
  color: #fff;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  border-color: var(--brand);
  background: rgba(18, 61, 82, 0.96);
  outline: none;
}

@media (max-width: 980px) {
  .brand-copy span {
    display: none;
  }

  .hero-layout,
  .workflow-layout,
  .subpage-hero-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 650px;
  }

  .workflow-layout > p {
    margin-top: 0;
  }

  .portrait-placeholder {
    width: 220px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .site-header-inner {
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .auth-button {
    min-width: auto;
    min-height: 40px;
    padding-inline: 13px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-navigation {
    display: none;
    order: 10;
    width: 100%;
    margin-left: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }

  .main-navigation.is-open {
    display: grid;
  }

  .main-navigation a {
    width: 100%;
    justify-content: flex-start;
  }

  .main-navigation a.nav-primary {
    margin-left: 0;
  }

  .hero {
    padding: 76px 0 72px;
  }

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

  .project-image-placeholder {
    min-height: 250px;
  }

  .contact-card,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header-inner {
    width: min(100% - 20px, 1320px);
    gap: 10px;
  }

  .brand-copy strong {
    font-size: 0.85rem;
  }

  .menu-toggle-label {
    display: none;
  }

  .menu-toggle-icon {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  .section {
    padding: 72px 0;
  }

  .project-content,
  .project-image-placeholder {
    padding: 24px;
  }

  .project-media {
    background: #050d18;
  }

  .project-zoom-hint {
    right: 10px;
    bottom: 10px;
  }

  .project-zoom-hint > span:last-child {
    display: none;
  }

  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox-stage {
    padding: 50px 0 6px;
  }

  .image-lightbox-caption {
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }
}

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

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

/* Bilingual public-page navigation */
.main-navigation a.language-link {
  min-width: 42px;
  padding-inline: 10px;
  justify-content: center;
  border: 1px solid rgba(148, 184, 214, 0.18);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.main-navigation a.language-link-active {
  border-color: rgba(77, 200, 255, 0.5);
  background: rgba(77, 200, 255, 0.14);
  color: #fff;
}

@media (max-width: 820px) {
  .main-navigation a.language-link {
    width: 100%;
    justify-content: flex-start;
  }
}
