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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

:root {
  --color-bg: #000000;
  --color-surface: #050505;
  --color-surface-2: #0b0b0b;
  --color-text: #f5f5f5;
  --color-text-soft: #d8d8d8;
  --color-text-muted: #a3a3a3;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-divider: #1a1a1a;
  --color-accent: #4f8f8b;
  --color-accent-2: #2a2a2a;
  --color-accent-3: #4f8f8b;
  --color-accent-muted: #4f8f8b;
  --site-header-height: 76px;
  --site-logo-width: 300px;
  --site-footer-logo-width: 220px;
  --site-footer-height: 76px;
  --site-footer-bg: #030303;
  --site-logo-glow: 0 8px 22px rgba(0, 0, 0, 0.48);

  /* Section-level backgrounds. Change these values when adding future graphics. */
  --hero-bg-color: #000000;
  --hero-bg-image: none;
  --hero-overlay: none;
  --hero-left-graphic: none;
  --hero-right-graphic: url("assets/images/me.jpg");
  --hero-right-filter: brightness(0.9) contrast(1.24) saturate(0.86);
  --hero-right-overlay:
    radial-gradient(25% 11% at 52% 36%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 56%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(38% 72% at 33% 53%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 74%),
    radial-gradient(40% 28% at 52% 74%, rgba(0, 0, 0, 0.19) 0%, rgba(0, 0, 0, 0) 72%),
    radial-gradient(84% 124% at 5% 54%, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0) 76%),
    radial-gradient(84% 124% at 95% 54%, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0) 76%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.97) 100%),
    radial-gradient(130% 112% at 52% 54%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0.86) 100%);
  --hero-right-position: 50% 32%;
  --hero-right-size: cover;

  --services-bg-color: #0e0e0e;
  --services-bg-image: none;
  --services-overlay: none;
  --services-card-bg: #0f0f0f;
  --services-card-border: #1a1a1a;
  --services-text-width: 300px;

  --contact-bg-color: #000000;
  --contact-bg-image: none;
  --contact-overlay: none;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  scroll-snap-type: y mandatory;
}

body.is-preloading {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #000000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-preloader-inner {
  width: min(460px, calc(100% - 48px));
  display: grid;
  row-gap: 18px;
}

.site-preloader-logo {
  width: min(360px, 78vw);
  height: auto;
  justify-self: center;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(79, 143, 139, 0.16));
  animation: preloaderLogoPulse 1.35s ease-in-out infinite;
}

.site-preloader-bar {
  height: 1px;
  display: block;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.site-preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(79, 143, 139, 0.1) 0%, rgba(79, 143, 139, 0.7) 40%, rgba(79, 143, 139, 0.1) 100%);
  animation: preloaderBarFill 2s ease-in-out forwards;
}

@keyframes preloaderLogoPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes preloaderBarFill {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

.site-header,
.page-main,
.site-footer {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.is-preloading .site-header,
body.is-preloading .page-main,
body.is-preloading .site-footer {
  opacity: 0;
  transform: translateY(8px);
}

.segment-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.segment-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-shell-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.52s ease,
    transform 0.52s ease;
  transition-delay: var(--section-delay, 0ms);
  will-change: opacity, transform;
}

.section-shell-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .segment-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-shell-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  pointer-events: none;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-logo-link {
  display: inline-flex;
  margin: 2px 0 0 24px;
  pointer-events: auto;
}

.site-logo {
  width: min(var(--site-logo-width), 42vw);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(var(--site-logo-glow));
}

.section {
  position: relative;
  min-height: 100svh;
  color: var(--section-text-color, var(--color-text));
  background-color: var(--section-bg-color, var(--color-bg));
  background-image: var(--section-bg-image, none);
  background-position: var(--section-bg-position, 50% 50%);
  background-size: var(--section-bg-size, cover);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--section-overlay, transparent);
}

.section > .layout-container {
  position: relative;
  min-height: 100svh;
  z-index: 1;
}

.layout-container {
  width: 1140px;
  margin: 0 auto;
  position: relative;
}

.section-hero {
  --section-bg-color: var(--hero-bg-color);
  --section-bg-image: var(--hero-bg-image);
  --section-overlay: var(--hero-overlay);
}

.section-hero .layout-container {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--site-header-height) + 16px);
  padding-bottom: 16px;
}

.hero-grid {
  display: flex;
  width: 100%;
  margin: 0;
}

.hero-content {
  flex: 0 0 56.6667%;
  max-width: 56.6667%;
  min-height: 588px;
  display: flex;
  align-items: center;
  background-color: transparent;
  background-image: var(--hero-left-graphic);
  background-position: 50% 50%;
  background-size: cover;
}

.hero-content-inner {
  width: 100%;
  padding: 46px 30px 30px;
}

.hero-heading {
  margin: 0;
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1;
}

.hero-role {
  margin: 42px 0 0;
  color: #6e9a97;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2.1px;
  font-weight: 400;
  opacity: 0.9;
  text-transform: uppercase;
}

.hero-description {
  margin: 36px 42px 0 0;
  color: rgba(245, 245, 245, 0.82);
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 46ch;
}

.hero-description br {
  content: "";
  display: block;
  margin-top: 0.15em;
}

.hero-divider {
  width: 56px;
  height: 0.75px;
  margin-top: 56px;
  display: block;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.72) 0%, rgba(26, 26, 26, 0.4) 58%, rgba(26, 26, 26, 0.05) 92%, rgba(26, 26, 26, 0) 100%);
}

.hero-visual {
  flex: 0 0 43.3333%;
  max-width: 43.3333%;
  min-height: 588px;
  display: flex;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-surface-2);
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.68);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-right-graphic);
  background-position: var(--hero-right-position, 50% 50%);
  background-size: var(--hero-right-size, cover);
  filter: var(--hero-right-filter);
  z-index: 0;
}

.hero-visual-overlay {
  flex: 1;
  position: relative;
  background-image: var(--hero-right-overlay);
  background-position: 50% 50%;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.section-services {
  --section-bg-color: var(--services-bg-color);
  --section-bg-image: var(--services-bg-image);
  --section-overlay: var(--services-overlay);
}

.section-services .layout-container {
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 88px;
}

.services-header {
  margin-bottom: 54px;
}

.services-heading {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.78);
}

.services-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 44px;
}

.service-card {
  min-height: auto;
  padding: 44px 34px;
  background: var(--services-card-bg);
  border: 1px solid var(--services-card-border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: #2a2a2a;
}

.service-index {
  position: absolute;
  top: 16px;
  right: 10px;
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 2.95rem;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 2.2px;
  color: #626262;
  opacity: 0.26;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.service-title {
  margin: 0;
  position: relative;
  z-index: 1;
  max-width: min(calc(100% - 72px), var(--services-text-width));
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 3.7px;
  color: rgba(245, 245, 245, 0.85);
}

.service-description {
  margin: 24px 0 0;
  position: relative;
  z-index: 1;
  padding-right: 0;
  max-width: min(100%, var(--services-text-width));
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.7;
}

.service-description br {
  content: "";
  display: block;
  margin-top: 0.14em;
}

.section-contact {
  --section-bg-color: var(--contact-bg-color);
  --section-bg-image: var(--contact-bg-image);
  --section-overlay: var(--contact-overlay);
  min-height: calc(100svh - var(--site-footer-height));
}

.section-contact .layout-container {
  min-height: calc(100svh - var(--site-footer-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--site-header-height) + 12px);
  padding-bottom: 8px;
}

.contact-layout {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  column-gap: 86px;
  align-items: start;
}

.contact-form-column {
  min-width: 0;
  max-width: 620px;
}

.contact-info-column {
  min-width: 0;
  max-width: 390px;
  justify-self: end;
  padding-top: 6px;
}

.contact-title {
  margin: 0 0 16px;
  color: #ededed;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 3.8px;
  text-transform: uppercase;
}

.contact-lead {
  margin: 0;
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 40ch;
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: transparent;
  color: #ededed;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 13px 12px;
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form textarea {
  margin-top: 2px;
  resize: vertical;
  min-height: 130px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a0a0a0;
  opacity: 1;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: var(--color-accent-muted);
}

.contact-submit {
  margin-top: 6px;
  justify-self: start;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  background: transparent;
  color: #ededed;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  padding: 12px 26px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  border-color: var(--color-accent-muted);
  color: #d8e2e1;
  outline: none;
}

.contact-note {
  margin: 14px 0 0;
  color: rgba(160, 160, 160, 0.85);
  font-size: 0.8rem;
  line-height: 1.7;
}

.contact-context-links {
  margin: 14px 0 0;
  color: rgba(160, 160, 160, 0.86);
  font-size: 0.82rem;
  line-height: 1.7;
}

.contact-context-links a {
  color: rgba(237, 237, 237, 0.86);
  text-decoration-color: rgba(79, 143, 139, 0.45);
  text-underline-offset: 3px;
}

.contact-context-links a:hover,
.contact-context-links a:focus-visible {
  color: #ededed;
  text-decoration-color: rgba(79, 143, 139, 0.78);
  outline: none;
}

.site-footer {
  min-height: var(--site-footer-height);
  background: var(--site-footer-bg);
  border-top: 1px solid #1a1a1a;
  padding: 22px 0 20px;
}

.site-footer .layout-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: nowrap;
}

.site-footer-logo {
  order: 2;
  width: min(var(--site-footer-logo-width), 30vw);
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  align-self: center;
  opacity: 0.84;
  filter: grayscale(1) saturate(0) brightness(0.78) contrast(1.05);
  transform: translateY(-4px);
}

.site-footer-nav {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px 24px;
  position: relative;
  z-index: 2;
}

.site-footer-nav-link {
  display: inline-block;
  text-decoration: none;
  color: rgba(237, 237, 237, 0.92);
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  line-height: 1;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer-nav-link:hover,
.site-footer-nav-link:focus-visible,
.site-footer-nav-link.is-active {
  color: #ededed;
  border-bottom-color: rgba(74, 119, 116, 0.6);
  outline: none;
}

.site-footer-nav-link-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-footer-nav-icon {
  width: 0.95em;
  height: 0.95em;
  display: block;
  fill: currentColor;
  opacity: 0.92;
}

.subpage-main {
  min-height: calc(100svh - var(--site-footer-height));
  background: #000000;
  padding-top: calc(var(--site-header-height) + 56px);
  padding-bottom: 96px;
}

.subpage-section {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.subpage-kicker {
  margin: 0;
  color: rgba(160, 160, 160, 0.85);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.subpage-title {
  margin: 12px 0 0;
  color: #ededed;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.08;
  font-weight: 700;
}

.subpage-description {
  margin: 20px 0 0;
  max-width: 62ch;
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.75;
}

.subpage-placeholder {
  margin-top: 34px;
  border: 1px solid #1a1a1a;
  background: #0b0b0b;
  padding: 28px;
  border-radius: 4px;
}

.subpage-placeholder-title {
  margin: 0;
  color: rgba(237, 237, 237, 0.88);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.subpage-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #9a9a9a;
  line-height: 1.75;
}

.subpage-list li + li {
  margin-top: 6px;
}

.subpage-content {
  margin-top: 34px;
  display: grid;
  row-gap: 16px;
}

.process-step {
  border: 1px solid #1a1a1a;
  background: #0b0b0b;
  padding: 24px;
  border-radius: 4px;
}

.process-step-title {
  margin: 0;
  color: #e7e7e7;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
}

.process-step-text {
  margin: 14px 0 0;
  color: #a0a0a0;
  font-size: 0.99rem;
  line-height: 1.75;
}

.process-step-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #9f9f9f;
  line-height: 1.75;
}

.process-step-list li + li {
  margin-top: 4px;
}

.process-subtitle {
  margin: 18px 0 0;
  color: #e1e1e1;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.case-block-title {
  margin: 22px 0 0;
  color: rgba(237, 237, 237, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.subpage-placeholder .subpage-description {
  margin-top: 14px;
  max-width: 100%;
}

.subpage-context-links {
  margin: 18px 0 0;
  color: #999999;
  font-size: 0.9rem;
  line-height: 1.75;
}

.subpage-context-links a {
  color: rgba(237, 237, 237, 0.88);
  text-decoration-color: rgba(79, 143, 139, 0.45);
  text-underline-offset: 3px;
}

.subpage-context-links a:hover,
.subpage-context-links a:focus-visible {
  color: #ededed;
  text-decoration-color: rgba(79, 143, 139, 0.78);
  outline: none;
}

.contact-layout-subpage {
  margin-top: 28px;
}

@media (max-width: 1199px) {
  :root {
    --site-logo-width: 300px;
    --site-header-height: 72px;
    --site-footer-height: 72px;
  }

  .layout-container {
    width: 940px;
  }

  .section-hero .layout-container {
    min-height: 100svh;
  }

  .hero-grid {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-content {
    min-height: 519px;
  }

  .hero-visual {
    min-height: 519px;
  }

  .section-services .layout-container {
    padding-top: 116px;
    padding-bottom: 78px;
  }

  .services-grid {
    column-gap: 54px;
  }

  .service-card {
    padding: 40px 30px;
  }

  .section-contact .layout-container {
    min-height: calc(100svh - var(--site-footer-height));
  }

  .contact-layout {
    width: min(100%, 940px);
    column-gap: 64px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  }

  .contact-info-column {
    max-width: 360px;
  }
}

@media (max-width: 991px) {
  :root {
    --site-logo-width: 258px;
    --site-footer-logo-width: 212px;
    --site-header-height: 66px;
    --site-footer-height: 70px;
  }

  .section-hero {
    --hero-right-position: 50% 24%;
  }

  .site-logo-link {
    margin-left: 18px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .layout-container {
    width: min(720px, calc(100% - 40px));
  }

  .section-hero .layout-container {
    min-height: 100svh;
  }

  .hero-grid {
    margin-top: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
  }

  .hero-content,
  .hero-visual {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-visual {
    min-height: clamp(260px, 42vh, 380px);
  }

  .hero-content-inner {
    padding: 24px 0 18px;
  }

  .hero-heading {
    width: auto;
    font-size: 3.3rem;
  }

  .hero-description {
    width: auto;
    margin-top: 18px;
    margin-right: 0;
    font-size: 1rem;
    line-height: 1.74;
  }

  .hero-role {
    margin-top: 24px;
  }

  .hero-divider {
    margin-top: 28px;
  }

  .section-services .layout-container {
    padding-top: 102px;
    padding-bottom: 66px;
  }

  .services-header {
    margin-bottom: 44px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 46px;
    row-gap: 42px;
  }

  .service-card {
    padding: 36px 28px;
  }

  .service-title {
    max-width: min(100%, var(--services-text-width));
  }

  .section-contact .layout-container {
    min-height: calc(100svh - var(--site-footer-height));
    align-items: center;
    padding-top: calc(var(--site-header-height) + 14px);
    padding-bottom: 10px;
  }

  .contact-layout {
    width: min(100%, 680px);
    margin: 0 auto;
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .contact-form-column {
    max-width: 100%;
    order: 2;
  }

  .contact-info-column {
    max-width: 100%;
    justify-self: start;
    padding-top: 0;
    order: 1;
  }
}

@media (max-width: 767px) {
  :root {
    --site-logo-width: 222px;
    --site-header-height: 62px;
    --site-footer-height: 66px;
  }

  .layout-container {
    width: min(540px, calc(100% - 28px));
  }

  .site-logo-link {
    margin: 4px 0 0 10px;
  }

  .site-header {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-preloader-inner {
    width: min(420px, calc(100% - 34px));
    row-gap: 14px;
  }

  .site-preloader-logo {
    width: min(260px, 72vw);
  }

  .section-hero {
    --hero-right-position: 50% 26%;
  }

  .section-hero .layout-container {
    min-height: 100svh;
    padding-top: calc(var(--site-header-height) + 10px);
    padding-bottom: 12px;
  }

  .hero-grid {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-visual {
    min-height: 286px;
  }

  .hero-content-inner {
    padding: 16px 2px 14px;
  }

  .hero-heading {
    margin-top: 0;
    font-size: 2.35rem;
  }

  .hero-role {
    margin-top: 16px;
    font-size: 0.78rem;
    letter-spacing: 1.6px;
  }

  .hero-description {
    margin-top: 14px;
    margin-right: 0;
    font-size: 0.91rem;
    line-height: 1.7;
  }

  .hero-description br {
    margin-top: 0.12em;
  }

  .hero-divider {
    width: 42px;
    margin-top: 20px;
  }

  .section-services .layout-container {
    padding-top: 74px;
    padding-bottom: 44px;
  }

  .services-heading {
    font-size: 0.98rem;
    letter-spacing: 2.7px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .service-card {
    padding: 28px 18px;
    border-radius: 5px;
  }

  .service-index {
    top: 10px;
    right: 10px;
    font-size: 1.72rem;
    letter-spacing: 1.25px;
    opacity: 0.24;
  }

  .service-title {
    letter-spacing: 3.1px;
    max-width: calc(100% - 36px);
  }

  .service-description {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .section-contact .layout-container {
    min-height: calc(100svh - var(--site-footer-height));
    padding-top: calc(var(--site-header-height) + 8px);
    padding-bottom: 10px;
  }

  .contact-layout {
    width: min(100%, 100%);
    margin: 0 auto;
    row-gap: 12px;
  }

  .contact-title {
    font-size: 0.82rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
  }

  .contact-lead {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .contact-form {
    row-gap: 10px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    padding: 12px 11px;
    font-size: 0.98rem;
  }

  .contact-form textarea {
    min-height: 96px;
  }

  .contact-submit {
    width: 100%;
    justify-self: stretch;
    text-align: center;
    padding: 11px 20px;
    font-size: 0.78rem;
    letter-spacing: 2px;
  }

  .contact-note {
    font-size: 0.74rem;
    line-height: 1.65;
  }

  .site-footer {
    padding: 16px 0 14px;
  }

  .site-footer-logo {
    width: min(var(--site-footer-logo-width), 52vw);
    max-width: 100%;
    height: auto;
  }

  .site-footer-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .site-footer-nav {
    order: 1;
    justify-content: center;
    gap: 10px 18px;
  }

  .site-footer-nav-link {
    font-size: 0.76rem;
    letter-spacing: 0.5px;
  }

  .site-footer-logo {
    order: 2;
    margin-left: 0;
  }

  .subpage-main {
    padding-top: calc(var(--site-header-height) + 42px);
    padding-bottom: 74px;
  }

  .subpage-section {
    width: min(540px, calc(100% - 28px));
  }

  .subpage-description {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .subpage-placeholder {
    padding: 22px 18px;
  }

  .process-step {
    padding: 20px 18px;
  }

  .process-step-title {
    font-size: 0.98rem;
  }

  .process-step-text,
  .process-step-list {
    font-size: 0.93rem;
    line-height: 1.72;
  }

  .process-subtitle {
    font-size: 0.91rem;
  }

  .case-block-title {
    font-size: 0.85rem;
    letter-spacing: 0.9px;
  }
}

@media (max-width: 575px) {
  :root {
    --site-logo-width: 188px;
    --site-footer-logo-width: 176px;
    --site-header-height: 54px;
    --site-footer-height: 68px;
  }

  .section-hero {
    --hero-right-position: 50% 22%;
  }

  .site-logo-link {
    margin-left: 12px;
  }


  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-preloader-inner {
    width: min(320px, calc(100% - 28px));
    row-gap: 12px;
  }

  .site-preloader-logo {
    width: min(220px, 70vw);
  }

  .layout-container {
    width: min(340px, calc(100% - 24px));
  }

  .section-hero .layout-container {
    min-height: 100svh;
    align-items: stretch;
    padding-top: calc(var(--site-header-height) + 4px);
    padding-bottom: 0;
  }

  .hero-grid {
    margin-top: 0;
    margin-bottom: 0;
    min-height: calc(100svh - var(--site-header-height) - 4px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .hero-content {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
    height: 100%;
  }

  .hero-content-inner {
    padding: 10px 0 10px;
  }

  .hero-heading {
    margin-top: 0;
    font-size: 2.15rem;
  }

  .hero-role {
    margin-top: 14px;
    font-size: 0.76rem;
    letter-spacing: 1.5px;
  }

  .hero-description {
    margin-top: 12px;
    font-size: 0.86rem;
    line-height: 1.66;
  }

  .hero-description br {
    margin-top: 0.1em;
  }

  .hero-divider {
    width: 38px;
    margin-top: 18px;
  }

  .section-services .layout-container {
    padding-top: 64px;
    padding-bottom: 42px;
  }

  .services-header {
    margin-bottom: 34px;
  }

  .services-heading {
    font-size: 0.92rem;
    letter-spacing: 2.5px;
  }

  .services-grid {
    row-gap: 20px;
  }

  .service-card {
    padding: 24px 16px;
  }

  .service-index {
    top: 8px;
    right: 8px;
    font-size: 1.42rem;
    letter-spacing: 1px;
  }

  .service-title {
    letter-spacing: 2.8px;
    max-width: calc(100% - 30px);
  }

  .section-contact .layout-container {
    min-height: calc(100svh - var(--site-footer-height));
    padding-top: calc(var(--site-header-height) + 8px);
    padding-bottom: 10px;
  }

  .contact-layout {
    width: 100%;
    margin: 0;
    row-gap: 10px;
  }

  .contact-title {
    font-size: 0.78rem;
    letter-spacing: 2.8px;
  }

  .contact-lead {
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .contact-form {
    row-gap: 9px;
  }

  .contact-form textarea {
    min-height: 92px;
  }

  .contact-submit {
    width: 100%;
    justify-self: stretch;
    text-align: center;
    font-size: 0.76rem;
    letter-spacing: 1.8px;
    padding: 10px 16px;
  }

  .contact-note {
    font-size: 0.72rem;
  }

  .site-footer-nav {
    gap: 8px 14px;
  }

  .site-footer-nav-link {
    font-size: 0.72rem;
    letter-spacing: 0.45px;
  }

  .subpage-main {
    padding-top: calc(var(--site-header-height) + 36px);
    padding-bottom: 62px;
  }

  .subpage-section {
    width: min(340px, calc(100% - 24px));
  }

  .subpage-placeholder {
    margin-top: 28px;
    padding: 18px 14px;
  }

  .process-step {
    padding: 17px 14px;
  }

  .process-step-title {
    font-size: 0.94rem;
  }

  .process-step-text,
  .process-step-list {
    font-size: 0.89rem;
    line-height: 1.68;
  }

  .process-subtitle {
    font-size: 0.87rem;
  }

  .case-block-title {
    font-size: 0.8rem;
    letter-spacing: 0.75px;
  }
}
