:root {
  --bg: #0b0908;
  --bg-soft: #12100e;
  --surface: #15110f;
  --surface-2: #1b1613;
  --gold: #c49a5a;
  --gold-soft: #d7b377;
  --gold-deep: #9a6e38;
  --text: #f2e7d8;
  --text-soft: #cbb8a0;
  --text-muted: #8e7a63;
  --line: rgba(196, 154, 90, 0.35);
  --line-soft: rgba(196, 154, 90, 0.12);
  --line-subtle: rgba(196, 154, 90, 0.14);
  --line-panel: rgba(196, 154, 90, 0.16);
  --line-panel-strong: rgba(196, 154, 90, 0.18);
  --line-field: rgba(196, 154, 90, 0.22);
  --line-strong: rgba(196, 154, 90, 0.5);
  --line-accent: rgba(196, 154, 90, 0.32);
  --line-accent-strong: rgba(196, 154, 90, 0.34);
  --glow: rgba(196, 154, 90, 0.18);
  --glow-weak: rgba(196, 154, 90, 0.08);
  --glow-soft: rgba(196, 154, 90, 0.1);
  --surface-overlay: rgba(255, 255, 255, 0.01);
  --surface-overlay-strong: rgba(255, 255, 255, 0.02);
  --surface-toast: rgba(21, 17, 15, 0.92);
  --surface-panel:
    linear-gradient(180deg, rgba(22, 17, 14, 0.94), rgba(13, 10, 8, 0.98)),
    rgba(0, 0, 0, 0.2);
  --surface-panel-soft: linear-gradient(180deg, rgba(19, 15, 13, 0.92), rgba(12, 10, 9, 0.92));
  --surface-panel-accent:
    linear-gradient(180deg, rgba(22, 18, 16, 0.92), rgba(12, 10, 9, 0.98)),
    radial-gradient(circle at top right, var(--glow-soft), transparent 30%);
  --surface-cta:
    radial-gradient(circle at right center, var(--glow-soft), transparent 32%),
    linear-gradient(180deg, rgba(20, 16, 14, 0.96), rgba(11, 9, 8, 1));
  --surface-nav: rgba(13, 10, 9, 0.98);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft-hover: 0 24px 56px rgba(0, 0, 0, 0.34);
  --shadow-card-hover: 0 28px 64px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 40px rgba(196, 154, 90, 0.12);
  --shadow-button: 0 10px 24px rgba(196, 154, 90, 0.12);
  --shadow-button-hover: 0 12px 28px rgba(196, 154, 90, 0.26);
  --focus-ring: 0 0 0 3px rgba(196, 154, 90, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1200px;
  --section-gap: 152px;
  --font-display: "Inter", sans-serif;
  --font-script: "Manrope", sans-serif;
  --font-ui: "Inter", sans-serif;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-button:
    transform 0.28s var(--ease-smooth),
    box-shadow 0.28s var(--ease-smooth),
    border-color 0.28s var(--ease-smooth),
    background-color 0.28s var(--ease-smooth),
    color 0.28s var(--ease-smooth),
    filter 0.28s var(--ease-smooth),
    opacity 0.28s var(--ease-smooth);
  --transition-card:
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth);
}

.auth-header {
  grid-template-columns: auto 1fr auto;
}

.auth-actions {
  justify-content: flex-end;
}

.btn-logout {
  cursor: pointer;
}

.site-header,
.message-stack,
.auth-card,
.status-card,
.dashboard-hero,
.course-outline,
.course-item,
.portfolio-card,
.testimonial-card,
.service-card,
.section-heading,
.about-column,
.about-visual,
.footer-inner > * {
  will-change: transform, opacity;
}

.message-stack {
  margin-top: 24px;
}

.flash {
  margin-bottom: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-toast);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}

.flash-success {
  border-color: rgba(92, 184, 92, 0.5);
}

.flash-warning,
.flash-error {
  border-color: rgba(196, 154, 90, 0.55);
}

.hero-stage-app {
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-shell,
.video-shell {
  padding: 60px 0 108px;
}

.video-shell {
  display: grid;
  gap: 26px;
}

.auth-wrapper {
  width: 100%;
  display: grid;
  place-items: center;
}

.auth-card,
.status-card,
.dashboard-hero {
  width: min(100%, 760px);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
  box-shadow: var(--shadow-soft);
}

.auth-card {
  width: min(calc(100% - 40px), 640px);
  padding: 30px 30px 26px;
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.auth-card .section-kicker,
.auth-title,
.auth-copy {
  text-align: center;
  margin-inline: auto;
}

.status-card {
  text-align: center;
}

.status-card .auth-copy {
  margin-inline: auto;
}

.site-header::after {
  transition: opacity 0.35s var(--ease-smooth);
}

.auth-title {
  max-width: 12ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.auth-copy {
  max-width: 40ch;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.auth-form {
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-field);
  border-radius: var(--radius-sm);
  background: var(--surface-overlay-strong);
  color: var(--text);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--focus-ring);
}

.form-field small {
  color: var(--text-muted);
}

.form-error {
  color: #f4c991;
  font-size: 0.94rem;
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-footer,
.auth-links {
  margin-top: 16px;
  color: var(--text-soft);
}

.auth-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.auth-footer a,
.auth-links a,
.video-copy a,
.footer-links a {
  color: var(--gold-soft);
  transition:
    color 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth),
    opacity 0.28s var(--ease-smooth);
}

.auth-footer a:hover,
.auth-links a:hover,
.footer-links a:hover,
.auth-footer a:focus-visible,
.auth-links a:focus-visible,
.footer-links a:focus-visible {
  color: #f3d7aa;
  transform: translateY(-1px);
}

.auth-footer a:active,
.auth-links a:active,
.footer-links a:active,
.auth-footer a.is-pressed,
.auth-links a.is-pressed,
.footer-links a.is-pressed {
  transform: translateY(1px);
}

.status-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  gap: 24px;
  width: 100%;
  padding: 42px 40px;
  margin-bottom: 0;
}

.dashboard-hero > div:first-child {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.dashboard-hero .section-title {
  max-width: 10ch;
  margin-inline: auto;
  text-align: center;
}

.dashboard-hero .auth-copy {
  max-width: 48ch;
  margin-inline: auto;
  text-align: center;
}

.dashboard-hero .section-kicker {
  display: block;
  margin-inline: auto;
  text-align: center;
}

.dashboard-hero .status-actions {
  justify-content: center;
  align-content: center;
  margin-top: 4px;
  max-width: 100%;
  justify-self: center;
}

.video-grid-section {
  width: 100%;
}

.video-grid-section > .status-card {
  width: 100%;
  max-width: none;
  min-height: 320px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 46px 40px;
}

.video-grid-section > .status-card .section-title {
  max-width: 12ch;
  margin-inline: auto;
}

.video-grid-section > .status-card .auth-copy {
  max-width: 42ch;
}

.course-outline {
  border: 1px solid var(--line-panel-strong);
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 14, 12, 0.96), rgba(10, 8, 7, 0.98)),
    rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-soft);
}

.course-item {
  border-bottom: 1px solid var(--line-soft);
  transition:
    border-color 0.35s var(--ease-smooth),
    background-color 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.course-item:last-child {
  border-bottom: 0;
}

.course-item[open] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0.01));
}

.course-summary {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  list-style: none;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease-smooth),
    padding 0.35s var(--ease-smooth);
}

.course-summary::-webkit-details-marker {
  display: none;
}

.course-index {
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.course-summary-title {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.35;
  color: var(--text);
  transition:
    color 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.course-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  justify-self: end;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  transition:
    background-color 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth);
}

.course-toggle::before,
.course-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.course-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.course-item[open] .course-toggle {
  background: rgba(196, 154, 90, 0.12);
  border-color: var(--line-accent);
  box-shadow: 0 12px 26px rgba(196, 154, 90, 0.1);
}

.course-item[open] .course-toggle::after {
  opacity: 0;
}

.course-item:hover .course-summary,
.course-item:focus-within .course-summary {
  background: rgba(255, 255, 255, 0.015);
}

.course-item:hover .course-summary-title,
.course-item:focus-within .course-summary-title,
.course-item[open] .course-summary-title {
  color: #fff6ec;
  transform: translateX(4px);
}

.course-summary.is-pressed {
  transform: scale(0.995);
}

.course-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 0 28px 28px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.course-item[open] .course-content {
  opacity: 1;
  transform: translateY(0);
}

.course-copy {
  max-width: 42ch;
  padding-top: 2px;
}

.course-copy p {
  margin: 0 0 18px;
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--text-soft);
}

.course-copy a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.course-player {
  min-width: 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(196, 154, 90, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    transform 0.45s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth);
}

.course-item:hover .video-frame,
.course-item:focus-within .video-frame {
  transform: translateY(-2px);
  border-color: var(--line-accent-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 20px 40px rgba(0, 0, 0, 0.24);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .auth-header {
    grid-template-columns: 1fr;
  }

  .auth-actions,
  .dashboard-hero {
    justify-content: flex-start;
  }

  .dashboard-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dashboard-hero .section-title,
  .dashboard-hero .auth-copy {
    max-width: none;
  }

  .dashboard-hero .status-actions {
    justify-content: flex-start;
    justify-self: start;
    max-width: none;
  }

  .course-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.auth-page .container {
    padding-inline: 18px;
  }

  body.auth-page .auth-card,
  body.auth-page .status-card {
    width: min(calc(100% - 28px), 430px);
    padding: 0;
  }

  .auth-shell,
  .video-shell {
    padding: 44px 0 84px;
  }

  .auth-wrapper {
    width: 100%;
  }

  .auth-card,
  .status-card,
  .dashboard-hero {
    padding: 28px 20px;
  }

  .auth-card {
    width: min(calc(100% - 28px), 640px);
    padding: 24px 18px 22px;
    border-radius: 18px;
  }

  .auth-title {
    max-width: none;
    font-size: clamp(2.2rem, 12vw, 3.2rem);
    line-height: 1;
  }

  .video-shell {
    gap: 18px;
  }

  .video-grid-section > .status-card {
    min-height: 0;
    padding: 32px 20px;
  }

  .course-summary {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 14px;
    padding: 22px 18px;
  }

  .course-summary-title {
    font-size: 1.02rem;
  }

  .course-index {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }

  .course-toggle {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-xs);
  }

  .course-content {
    gap: 20px;
    padding: 0 18px 22px;
  }

  .hero-actions,
  .status-actions,
  .auth-links {
    flex-direction: column;
    align-items: stretch;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(196, 154, 90, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(196, 154, 90, 0.06), transparent 22%),
    linear-gradient(180deg, #0f0c0b 0%, #090706 100%);
  color: var(--text-soft);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

body.auth-page .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 28px;
}

body.auth-page .header-inner,
body.auth-page .footer-inner {
  width: 100%;
}

body.auth-page .footer-inner {
  max-width: none;
}

body.auth-page .auth-wrapper {
  width: 100%;
  display: grid;
  justify-items: center;
}

body.auth-page .auth-card,
body.auth-page .status-card {
  width: min(calc(100% - 40px), 430px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.auth-page .auth-title {
  max-width: 8ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

body.auth-page .auth-form {
  margin-top: 24px;
}

body.auth-page .auth-copy {
  max-width: 28ch;
  margin-inline: auto;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.55;
}

body.auth-page .section-kicker {
  display: block;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

body.auth-page .form-field {
  gap: 7px;
  margin-bottom: 16px;
}

body.auth-page .form-field label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

body.auth-page .form-field input,
body.auth-page .form-field textarea,
body.auth-page .form-field select {
  min-height: 46px;
  padding: 12px 14px;
}

body.auth-page .btn.auth-submit {
  min-height: 48px;
  margin-top: 6px;
}

body.auth-page .auth-links,
body.auth-page .auth-footer {
  margin-top: 14px;
  gap: 10px;
  font-size: 0.9rem;
}

body.auth-page .auth-links,
body.auth-page .status-actions,
body.auth-page .auth-footer {
  justify-content: center;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0, transparent 12%, transparent 88%, rgba(255, 255, 255, 0.015) 100%),
    radial-gradient(circle at center, transparent 0, transparent 55%, rgba(0, 0, 0, 0.24) 100%);
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.4) 20%, rgba(0, 0, 0, 0.8));
  z-index: -4;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  top: 15vh;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 154, 90, 0.16), transparent 68%);
  filter: blur(36px);
  pointer-events: none;
  z-index: -2;
}

.page-glow-left {
  left: -160px;
}

.page-glow-right {
  right: -180px;
  top: 50vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 8, 7, 0.72);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-script {
  font-family: var(--font-script);
  font-size: 2.05rem;
  line-height: 0.95;
  color: var(--gold);
}

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.mobile-nav-actions {
  display: none;
}

.nav-link,
.phone-link {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition:
    color 0.3s var(--ease-smooth),
    transform 0.3s var(--ease-smooth),
    opacity 0.3s var(--ease-smooth);
}

.nav-link::after,
.phone-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.phone-link:hover,
.phone-link:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.phone-link:hover::after,
.phone-link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition-button);
}

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

.btn:active,
.btn.is-pressed {
  transform: translateY(1px) scale(0.985);
}

.btn-gold {
  color: #1a130d;
  border-color: rgba(255, 222, 178, 0.08);
  background: linear-gradient(180deg, #d2ab6a 0%, #b88644 100%);
  box-shadow: var(--shadow-button);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  box-shadow: var(--shadow-button-hover);
  filter: brightness(1.04);
}

.btn-outline {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-overlay);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-overlay-strong);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: var(--gold-soft);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.hero-section {
  position: relative;
  padding: 56px clamp(24px, 5vw, 72px) 0;
  overflow: clip;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-section::before {
  width: 760px;
  height: 760px;
  right: -300px;
  top: -240px;
  border: 1px solid rgba(196, 154, 90, 0.24);
}

.hero-section::after {
  width: 620px;
  height: 620px;
  right: -120px;
  bottom: -220px;
  border: 1px solid var(--line-subtle);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  width: min(100%, 1440px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  padding: 18px 0 24px;
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 20px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-title,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}

.hero-title {
  max-width: 10ch;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-title-accent {
  display: block;
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  max-width: 560px;
  margin: 26px 0 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.section-line {
  display: inline-block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 154, 90, 0), var(--gold), rgba(196, 154, 90, 0));
}

.hero-visual {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  justify-items: center;
}

.hero-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(196, 154, 90, 0.32);
  pointer-events: none;
}

.hero-ring-lg {
  width: 620px;
  height: 620px;
  right: -120px;
  top: 14px;
}

.hero-ring-sm {
  width: 420px;
  height: 420px;
  left: -20px;
  bottom: 8px;
  border-color: rgba(196, 154, 90, 0.16);
}

.hero-portrait {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: end center;
}

.hero-portrait img {
  width: min(100%, 680px);
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.94) contrast(1.02) brightness(1);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.services-strip,
.about-section,
.portfolio-section,
.testimonials-section,
.cta-section {
  padding: var(--section-gap) 0 0;
}

.portfolio-section {
  padding-top: clamp(72px, 9vw, 112px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.testimonials-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-panel-soft);
}

.service-card {
  position: relative;
  padding: 34px 28px 30px;
  min-height: 248px;
}

.service-card + .service-card {
  border-left: 1px solid var(--line-subtle);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-panel);
  background: radial-gradient(circle, var(--glow-weak), var(--surface-overlay));
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-heading {
  max-width: 100%;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.about-heading .section-title {
  max-width: none;
}

.about-heading .section-line {
  margin-top: 24px;
}

.about-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.about-column {
  display: grid;
  gap: 26px;
}

.about-column-left {
  text-align: right;
}

.about-column-right {
  text-align: left;
}

.about-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.about-line {
  position: absolute;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(196, 154, 90, 0), rgba(196, 154, 90, 0.6), rgba(196, 154, 90, 0));
  transform: translateX(-50%);
  pointer-events: none;
}

.about-line-top {
  top: -48px;
  height: 120px;
}

.about-line-bottom {
  bottom: -48px;
  height: 120px;
}

.about-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(196, 154, 90, 0.26);
  pointer-events: none;
}

.about-ring-lg {
  width: 470px;
  height: 470px;
  top: 46px;
}

.about-ring-sm {
  width: 320px;
  height: 320px;
  bottom: 36px;
  border-color: var(--line-subtle);
}

.about-portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 380px);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(11, 9, 8, 0) 0%, rgba(11, 9, 8, 0.78) 72%, rgba(11, 9, 8, 1) 100%);
  pointer-events: none;
}

.about-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.94) contrast(1.02) brightness(1);
}

.section-line {
  margin: 28px 0 30px;
}

.about-text,
.cta-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.86;
  color: var(--text-soft);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.portfolio-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.55s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth);
}

.portfolio-card-large {
  grid-row: span 2;
  min-height: 662px;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-panel);
  border-radius: inherit;
  z-index: 1;
  transition:
    border-color 0.45s var(--ease-smooth),
    opacity 0.45s var(--ease-smooth);
}

.portfolio-card img {
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s var(--ease-smooth),
    filter 0.6s var(--ease-smooth);
  filter: saturate(0.86) brightness(0.92);
}

.portfolio-card:hover img,
.portfolio-card:focus-within img {
  transform: scale(1.05);
  filter: saturate(0.98) brightness(1);
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-card.is-pressed {
  transform: translateY(-2px) scale(0.995);
}

.portfolio-card:hover::before,
.portfolio-card:focus-within::before {
  border-color: rgba(215, 179, 119, 0.34);
}

.portfolio-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(180deg, rgba(9, 8, 7, 0), rgba(9, 8, 7, 0.9));
}

.portfolio-overlay span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.portfolio-overlay strong {
  display: block;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.24;
  color: var(--text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  padding: 30px;
  border: 1px solid var(--line-panel);
  border-radius: var(--radius-lg);
  background: var(--surface-panel-accent);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-card);
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(215, 179, 119, 0.3);
  box-shadow: var(--shadow-soft-hover);
}

.testimonial-card.is-pressed,
.service-card.is-pressed {
  transform: translateY(-1px) scale(0.995);
}

.testimonial-stars {
  margin-bottom: 20px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
}

.testimonial-card p {
  min-height: 170px;
  margin: 0 0 22px;
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--text-soft);
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--text);
}

.testimonial-card span {
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line-panel-strong);
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--surface-cta);
  box-shadow: var(--shadow-soft), var(--shadow-gold);
}

.cta-copy .section-title {
  max-width: 12ch;
  margin-bottom: 18px;
}

.cta-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.cta-detail {
  margin: 2px 0 0;
  max-width: 280px;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.site-footer {
  padding: 38px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner p,
.footer-inner a {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease-smooth),
    transform 0.9s var(--ease-smooth),
    filter 0.9s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --section-gap: 120px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line-panel);
    border-radius: var(--radius-md);
    background: var(--surface-nav);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-nav-actions {
    display: grid;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .header-actions {
    display: none;
  }

  .hero-stage,
  .about-stage,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .about-stage {
    gap: 36px;
  }

  .hero-title {
    max-width: 12ch;
  }

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

  .hero-portrait img {
    width: min(100%, 560px);
    max-height: 620px;
  }

  .about-column-left,
  .about-column-right,
  .about-heading {
    text-align: center;
  }

  .about-visual {
    min-height: 420px;
  }

  .about-ring-lg {
    width: 420px;
    height: 420px;
  }

  .about-ring-sm {
    width: 280px;
    height: 280px;
  }

  .about-portrait {
    width: min(100%, 360px);
    margin-inline: auto;
  }

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

  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-top: 1px solid var(--line-subtle);
  }

  .service-card:nth-child(3) {
    border-left: none;
  }

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

  .portfolio-card-large {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-gap: 96px;
  }

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

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-script {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 28px 14px 0;
  }

  .hero-stage {
    gap: 28px;
  }

  .hero-section::before {
    width: 380px;
    height: 380px;
    right: -170px;
    top: -120px;
  }

  .hero-section::after {
    width: 320px;
    height: 320px;
    right: -130px;
    bottom: -160px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .services-grid,
  .testimonials-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card + .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-left: none;
    border-top: 1px solid var(--line-subtle);
  }

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

  .hero-ring-lg {
    width: 320px;
    height: 320px;
    right: -90px;
    top: 0;
  }

  .hero-ring-sm {
    width: 240px;
    height: 240px;
    left: -10px;
    bottom: 30px;
  }

  .hero-portrait img,
  .portfolio-card,
  .portfolio-card-large {
    min-height: 0;
  }

  .hero-portrait img {
    width: min(100%, 440px);
    max-height: 520px;
  }

  .section-title {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .about-heading .section-title,
  .cta-copy .section-title {
    max-width: 100%;
  }

  .about-stage {
    gap: 28px;
  }

  .about-visual {
    min-height: 320px;
  }

  .about-line-top {
    top: -20px;
    height: 80px;
  }

  .about-line-bottom {
    bottom: -20px;
    height: 80px;
  }

  .about-ring-lg {
    width: 300px;
    height: 300px;
    top: 48px;
  }

  .about-ring-sm {
    width: 220px;
    height: 220px;
    bottom: 32px;
  }

  .about-portrait {
    width: min(100%, 280px);
  }

  .testimonial-card,
  .cta-panel {
    padding: 28px 20px;
  }

  .testimonial-card p {
    min-height: 0;
  }

  .portfolio-card-large {
    grid-column: span 1;
  }

.footer-inner {
  flex-direction: column;
  align-items: flex-start;
  }
}

body.home-page {
  background: #08080d;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Inter", sans-serif;
}

.home-page .page-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #040405 0%, #070709 34%, #0a0a0d 68%, #050506 100%);
}

.home-page a {
  color: inherit;
  text-decoration: none;
}

.home-page .container {
  width: min(calc(100% - 40px), 1200px);
  margin: 0 auto;
}

.home-page .site-nav-shell {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 40px), 1200px);
  margin: 0 auto;
  padding-top: 10px;
}

.home-page .site-nav {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 52px;
  padding: 0 22px;
  background: transparent;
}

.home-page .site-nav-brand {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  padding-left: 6px;
}

.home-page .site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  max-width: 520px;
  margin: 0 auto;
  justify-self: center;
}

.home-page .site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 500;
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    opacity 0.24s ease;
}

.home-page .site-nav-link:hover {
  color: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.home-page .site-nav-actions {
  display: flex;
  justify-content: flex-end;
}

.home-page .hero-section-dark {
  position: relative;
  overflow: hidden;
  padding: 28px 0 72px;
  background:
    radial-gradient(circle at 50% -8%, rgba(154, 184, 255, 0.18), transparent 28%),
    radial-gradient(circle at 74% 22%, rgba(58, 104, 255, 0.18), transparent 22%),
    radial-gradient(circle at 28% 80%, rgba(64, 92, 168, 0.12), transparent 24%),
    linear-gradient(180deg, #02040a 0%, #050914 42%, #05070d 100%);
  isolation: isolate;
}

.home-page .hero-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(196, 214, 255, 0.07), transparent 16%),
    radial-gradient(circle at 50% 52%, rgba(17, 35, 76, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

.home-page .hero-section-dark::after {
  content: "";
  position: absolute;
  top: -84px;
  left: 50%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.52) 0%, rgba(219, 231, 255, 0.34) 18%, rgba(132, 166, 255, 0.14) 36%, rgba(81, 122, 239, 0.05) 54%, transparent 72%);
  box-shadow:
    0 0 72px rgba(118, 159, 255, 0.12),
    0 0 148px rgba(92, 128, 231, 0.08);
  opacity: 0.68;
  pointer-events: none;
  z-index: 0;
}

.home-page .hero-section-dark .container {
  position: relative;
  z-index: 2;
}

.home-page .hero-decor-ring,
.home-page .hero-orb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.home-page .hero-copy {
  max-width: 980px;
  margin: 84px auto 0;
  text-align: center;
}

.home-page .hero-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  color: rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #8ea2ff 100%);
  box-shadow: 0 0 12px rgba(122, 146, 255, 0.9);
}

.home-page .hero-title-dark {
  margin: 22px auto 18px;
  max-width: 12.5ch;
  font-size: clamp(3.3rem, 7vw, 5.25rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

.home-page .hero-description-dark {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.home-page .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.home-page .premium-button,
.home-page .glass-dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .premium-button:hover,
.home-page .glass-dark-button:hover {
  transform: translateY(-1px);
}

.home-page .premium-button:active,
.home-page .glass-dark-button:active {
  transform: translateY(1px) scale(0.985);
}

.home-page .premium-button {
  border: 1px solid rgba(108, 138, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #4b74ff 0%, #2452ff 58%, #1943e8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -8px 16px rgba(2, 22, 100, 0.34),
    0 10px 26px rgba(27, 76, 255, 0.3),
    0 0 20px rgba(46, 96, 255, 0.16);
}

.home-page .premium-button span {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-page .premium-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -8px 16px rgba(2, 22, 100, 0.34),
    0 14px 30px rgba(27, 76, 255, 0.34),
    0 0 24px rgba(46, 96, 255, 0.22);
}

.home-page .glass-dark-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -10px 18px rgba(20, 14, 58, 0.24),
    0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.home-page .glass-dark-button span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-page .glass-dark-button:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.06);
}

.home-page .hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  perspective: 1200px;
}

.home-page .hero-highlight {
  position: relative;
  padding: 4px 28px 18px;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 26px, 0) rotateX(10deg);
  animation: home-hero-highlight-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-page .hero-highlight:nth-child(1) {
  animation-delay: 0.9s;
}

.home-page .hero-highlight:nth-child(2) {
  animation-delay: 1.08s;
}

.home-page .hero-highlight:nth-child(3) {
  animation-delay: 1.26s;
}

.home-page .hero-highlight::before {
  content: "";
  position: absolute;
  inset: -10px 12px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateY(12px);
  animation: home-hero-highlight-surface 0.9s ease forwards;
}

.home-page .hero-highlight:nth-child(1)::before {
  animation-delay: 1.02s;
}

.home-page .hero-highlight:nth-child(2)::before {
  animation-delay: 1.2s;
}

.home-page .hero-highlight:nth-child(3)::before {
  animation-delay: 1.38s;
}

.home-page .hero-highlight:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 0;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.home-page .hero-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 22px rgba(11, 8, 28, 0.28);
  backdrop-filter: blur(12px);
  animation: home-hero-highlight-icon-glow 4.8s ease-in-out infinite;
}

.home-page .hero-highlight-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .hero-highlight h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.88);
}

.home-page .hero-highlight p {
  margin: 0 auto;
  max-width: 25ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.54);
}

.home-page .hero-decor-ring {
  border: 1px solid rgba(132, 160, 255, 0.12);
  opacity: 0.65;
}

.home-page .ring-one {
  width: 168px;
  height: 168px;
  top: 120px;
  right: 12%;
}

.home-page .ring-two {
  width: 120px;
  height: 120px;
  left: 10%;
  bottom: 120px;
}

.home-page .hero-orb {
  background: radial-gradient(circle, rgba(88, 126, 255, 0.18), transparent 68%);
  filter: blur(28px);
  opacity: 0.7;
}

.home-page .orb-one {
  width: 260px;
  height: 260px;
  top: 124px;
  right: 14%;
}

.home-page .orb-two {
  width: 240px;
  height: 240px;
  bottom: 52px;
  left: 10%;
}

.home-page .content-section {
  padding: 0;
  background: transparent;
}

.home-page .content-section .container {
  padding: 88px 0;
}

.home-page .content-section + .content-section .container {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .testimonials-section {
  padding: 110px 0;
  background: #050505;
}

.home-page .testimonials-section .container {
  width: min(calc(100% - 40px), 1240px);
}

.home-page .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.home-page .section-header h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.home-page .section-header p {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.7;
}

.home-page .section-intro {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.home-page .section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .section-intro h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.95);
}

.home-page .section-intro p {
  margin: 18px auto 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.04rem;
  line-height: 1.75;
}

.home-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-page .benefit-card {
  display: block;
  min-height: 100%;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #0a0b11;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 44px rgba(0, 0, 0, 0.22);
}

.home-page .benefit-copy h3 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.home-page .benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.home-page .benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-page .benefit-list-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 0.16rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 184, 255, 0.3);
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.38), transparent 44%),
    linear-gradient(180deg, #4ca8ff 0%, #1877f2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(24, 119, 242, 0.2);
}

.home-page .benefit-list-icon svg {
  width: 11px;
  height: 11px;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-page .testimonial-card {
  min-height: 360px;
  padding: 32px;
  border-radius: 10px;
  background: linear-gradient(180deg, #171717 0%, #131313 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, background 0.25s ease;
}

.home-page .testimonial-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
}

.home-page .testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 28px;
}

.home-page .testimonial-quote {
  margin: 0;
  max-width: 20ch;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.55;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.home-page .testimonial-author {
  margin-top: auto;
  padding-top: 34px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.5;
}

.home-page .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-page .project-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.home-page .project-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.98), rgba(7, 9, 14, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 60px rgba(0, 0, 0, 0.34);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-page .project-card:hover .project-browser {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 34px 72px rgba(0, 0, 0, 0.42);
}

.home-page .project-browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.home-page .project-browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.home-page .project-browser-top span:first-child {
  background: #ff6b6b;
}

.home-page .project-browser-top span:nth-child(2) {
  background: #ffcc66;
}

.home-page .project-browser-top span:nth-child(3) {
  background: #5adf8a;
}

.home-page .project-browser-view {
  padding: 18px;
}

.home-page .project-browser-view-image {
  padding: 0;
}

.home-page .project-preview-image {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

.home-page .mini-site {
  min-height: 332px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-page .mini-site-academy {
  background:
    radial-gradient(circle at top right, rgba(88, 109, 255, 0.32), transparent 34%),
    linear-gradient(180deg, #0e1527 0%, #0a1020 100%);
}

.home-page .mini-site-clinic {
  background:
    radial-gradient(circle at top left, rgba(238, 178, 150, 0.28), transparent 36%),
    linear-gradient(180deg, #fbf5ef 0%, #f1e8de 100%);
}

.home-page .mini-kicker,
.home-page .mini-title,
.home-page .mini-text,
.home-page .mini-button,
.home-page .mini-metrics span,
.home-page .mini-content-grid span,
.home-page .mini-site-cards span,
.home-page .mini-academy-sidebar span {
  display: block;
  border-radius: 999px;
}

.home-page .mini-title {
  height: 14px;
  background: rgba(12, 18, 30, 0.78);
}

.home-page .mini-site-academy .mini-title {
  background: rgba(255, 255, 255, 0.92);
}

.home-page .mini-title.long {
  width: 92%;
}

.home-page .mini-title.medium {
  width: 74%;
}

.home-page .mini-text {
  width: 88%;
  height: 10px;
  background: rgba(12, 18, 30, 0.24);
}

.home-page .mini-site-academy .mini-text {
  background: rgba(255, 255, 255, 0.18);
}

.home-page .mini-kicker {
  width: 72px;
  height: 10px;
  background: rgba(41, 85, 213, 0.22);
}

.home-page .mini-actions {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.home-page .mini-button {
  width: 78px;
  height: 28px;
  background: rgba(12, 18, 30, 0.1);
}

.home-page .mini-button.primary {
  background: linear-gradient(135deg, #1d59ff 0%, #5f7cff 100%);
}

.home-page .mini-button.ghost {
  background: rgba(12, 18, 30, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(12, 18, 30, 0.08);
}

.home-page .mini-site-academy .mini-button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-page .mini-academy-layout {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
}

.home-page .mini-academy-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .mini-academy-sidebar span {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.home-page .mini-academy-content {
  display: grid;
  gap: 12px;
}

.home-page .mini-video-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .mini-video-cover {
  height: 122px;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.08), rgba(7, 11, 20, 0.3)),
    radial-gradient(circle at 68% 32%, rgba(99, 129, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #141f42 0%, #0b1431 100%);
}

.home-page .mini-video-meta {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.home-page .mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-page .mini-metrics span,
.home-page .mini-content-grid span {
  min-height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .mini-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-page .mini-clinic-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.home-page .mini-clinic-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-page .mini-clinic-photo {
  min-height: 158px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.86), transparent 16%),
    radial-gradient(circle at 38% 48%, rgba(255, 214, 183, 0.9), transparent 20%),
    linear-gradient(145deg, #ead8cb 0%, #d1b39c 44%, #262129 100%);
}

.home-page .mini-site-cards {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.home-page .mini-site-cards.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .mini-site-cards span {
  min-height: 68px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(12, 18, 30, 0.06);
}

.home-page .project-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-page .project-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .project-copy h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.home-page .project-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.home-page .service-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    #08080a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  transition: all 0.3s ease;
}

.home-page .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 54, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-page .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 54, 255, 0.08);
}

.home-page .service-card:hover::before {
  opacity: 1;
}

.home-page .service-visual {
  position: absolute;
  top: 104px;
  left: 50%;
  width: 118px;
  height: 118px;
  transform: translateX(-50%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.66);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 54, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.home-page .service-visual svg {
  width: 82px;
  height: 82px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .service-card:hover .service-visual {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%) translateY(-4px);
}

.home-page .service-index {
  align-self: flex-start;
  margin-bottom: auto;
  opacity: 0.3;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-page .service-card h3 {
  margin: 150px 0 0;
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 600;
}

.home-page .service-card h3::after {
  content: "";
  display: block;
  width: min(270px, 100%);
  height: 1px;
  margin: 24px auto 22px;
  background: rgba(255, 255, 255, 0.1);
}

.home-page .service-card p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.7;
}

.home-page .cta-panel {
  padding: 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(95, 129, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #090a10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 60px rgba(0, 0, 0, 0.26);
}

.home-page .cta-copy {
  margin-bottom: 0;
}

.home-page .cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.home-page .cta-detail {
  margin: 18px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: center;
}

.home-page .site-footer {
  padding: 26px 0 40px;
  background: transparent;
}

.home-page .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .footer-brand,
.home-page .footer-copy {
  margin: 0;
}

.home-page .footer-brand {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.home-page .footer-copy {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .page-shell [data-hero-intro],
.home-page .page-shell [data-reveal],
.home-page .page-shell [data-fade-title],
.home-page .page-shell [data-fade-text] {
  opacity: 0;
  will-change: opacity, transform, filter;
  transition-delay: var(--motion-delay, 0ms);
}

.home-page .page-shell [data-hero-intro] {
  transform: translate3d(0, 42px, 0) scale(0.96);
  filter: blur(12px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .page-shell [data-reveal] {
  transform: translate3d(0, 88px, 0) scale(0.9);
  filter: blur(14px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .page-shell [data-fade-title] {
  transform: translate3d(0, 34px, 0);
  filter: blur(10px);
  transition:
    opacity 0.8s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .page-shell [data-fade-text] {
  transform: translate3d(0, 26px, 0);
  filter: blur(6px);
  transition:
    opacity 0.95s ease,
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .page-shell [data-hero-intro].is-visible,
.home-page .page-shell [data-reveal].is-visible,
.home-page .page-shell [data-fade-title].is-visible,
.home-page .page-shell [data-fade-text].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@keyframes home-hero-highlight-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) rotateX(10deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
  }
}

@keyframes home-hero-highlight-surface {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-hero-highlight-icon-glow {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 8px 22px rgba(11, 8, 28, 0.28);
  }

  50% {
    transform: translateY(-4px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 14px 28px rgba(11, 8, 28, 0.34),
      0 0 22px rgba(87, 116, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-highlight,
  .home-page .hero-highlight::before,
  .home-page .hero-highlight-icon {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .home-page .page-shell [data-hero-intro],
  .home-page .page-shell [data-reveal],
  .home-page .page-shell [data-fade-title],
  .home-page .page-shell [data-fade-text] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .home-page .site-nav-shell {
    width: min(calc(100% - 32px), 1200px);
    padding-top: 6px;
  }

  .home-page .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: auto;
    padding: 12px 10px 14px;
  }

  .home-page .site-nav-links {
    order: 3;
    flex: 0 0 100%;
    flex-wrap: wrap;
    gap: 18px;
    max-width: none;
  }

  .home-page .site-nav-actions {
    order: 2;
  }

  .home-page .hero-section-dark {
    padding: 26px 0 60px;
  }

  .home-page .hero-copy {
    margin-top: 64px;
  }

  .home-page .hero-title-dark {
    max-width: 11ch;
    font-size: clamp(2.9rem, 10vw, 4.6rem);
    line-height: 0.98;
  }

  .home-page .hero-description-dark {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .home-page .hero-highlights {
    margin-top: 48px;
  }

  .home-page .hero-highlight {
    padding-inline: 18px;
  }

  .home-page .content-section .container {
    padding: 72px 0;
  }

  .home-page .testimonials-section {
    padding: 88px 0;
  }

  .home-page .testimonials-grid,
  .home-page .projects-grid {
    grid-template-columns: 1fr;
  }

  .home-page .testimonial-card {
    min-height: auto;
  }

  .home-page .testimonial-quote {
    max-width: none;
  }

  .home-page .benefits-grid,
  .home-page .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-page .site-nav {
    gap: 14px;
  }

  .home-page .site-nav-brand {
    width: 100%;
    text-align: center;
    padding-left: 0;
    justify-content: center;
  }

  .home-page .site-nav-actions {
    width: 100%;
    justify-content: center;
  }

  .home-page .site-nav-links {
    gap: 8px;
  }

  .home-page .site-nav-link {
    min-height: 32px;
    font-size: 0.88rem;
  }

  .home-page .hero-section-dark {
    padding: 20px 0 48px;
  }

  .home-page .hero-copy {
    margin-top: 42px;
  }

  .home-page .hero-title-dark {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .home-page .hero-description-dark {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .home-page .hero-actions {
    margin-top: 26px;
    gap: 12px;
  }

  .home-page .hero-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 40px;
  }

  .home-page .hero-highlight {
    padding: 10px 12px 18px;
  }

  .home-page .hero-highlight:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(180px, 72%);
    height: 1px;
    transform: translateX(-50%);
  }

  .home-page .content-section .container {
    padding: 58px 0;
  }

  .home-page .testimonials-section {
    padding: 72px 0;
  }

  .home-page .section-header {
    margin-bottom: 40px;
  }

  .home-page .testimonial-card {
    padding: 26px;
  }

  .home-page .section-intro {
    margin-bottom: 38px;
  }

  .home-page .section-intro p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .home-page .benefit-card {
    padding: 24px 22px;
  }

  .home-page .project-browser-view {
    padding: 14px;
  }

  .home-page .project-browser-view-image {
    padding: 0;
  }

  .home-page .project-preview-image {
    height: 300px;
  }

  .home-page .mini-site {
    min-height: auto;
    padding: 14px;
  }

  .home-page .mini-content-grid,
  .home-page .mini-metrics,
  .home-page .mini-site-cards.two-up {
    grid-template-columns: 1fr;
  }

  .home-page .mini-academy-layout {
    grid-template-columns: 1fr;
  }

  .home-page .mini-academy-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
  }

  .home-page .mini-clinic-hero {
    grid-template-columns: 1fr;
  }

  .home-page .project-copy h3 {
    font-size: 1.2rem;
  }

  .home-page .cta-panel {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .home-page .service-card {
    min-height: 340px;
    padding: 26px;
  }

  .home-page .service-visual {
    top: 70px;
    width: 96px;
    height: 96px;
  }

  .home-page .service-visual svg {
    width: 68px;
    height: 68px;
  }

  .home-page .service-card h3 {
    margin-top: 90px;
    max-width: none;
  }

  .home-page .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .hero-decor-ring {
    display: none;
  }
}
