:root {
  --ink: #07111d;
  --night: #0a1725;
  --steel: #132235;
  --mist: #dbe4ec;
  --muted: #9ba8b6;
  --white: #ffffff;
  --gold: #e9b94f;
  --gold-soft: #f2ce72;
  --gold-dark: #b88528;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(8, 17, 30, 0.56);
  --header-height: 82px;
  --content-width: 1200px;
  --section-gap: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: #07111d;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  font-variation-settings: "wght" 300;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #07111d;
}

body::after {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(var(--content-width), calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 9px 12px 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.26);
  transition: background 220ms ease, border-color 220ms ease, top 220ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(7, 17, 29, 0.92);
  border-color: rgba(233, 185, 79, 0.28);
}

.brand {
  width: 116px;
  height: 38px;
  display: flex;
  align-items: center;
}

.brand img,
.site-footer img {
  width: 100%;
  filter: drop-shadow(0 6px 18px rgba(233, 185, 79, 0.18));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 420;
  font-variation-settings: "wght" 420;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--white);
  background: rgba(233, 185, 79, 0.13);
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 460;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.primary-button {
  color: #07111d;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 34px rgba(233, 185, 79, 0.20);
}

.header-cta {
  padding: 0 18px;
  font-size: 13px;
}

.primary-button {
  padding: 0 24px;
}

.primary-button.large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 17px;
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.section {
  position: relative;
  width: min(var(--content-width), calc(100% - 40px));
  margin-inline: auto;
  scroll-margin-top: 110px;
  overflow: visible;
}

.intro-band,
.modules,
.experience,
.gallery-section,
.method-section,
.principles-section,
.scenarios-section,
.benefits-section,
.generation-section {
  overflow: visible;
}

.hero {
  display: grid;
  width: 100%;
  min-height: 100svh;
  max-width: none;
  align-items: start;
  margin-inline: 0;
  padding: 0 max(20px, calc((100vw - var(--content-width)) / 2));
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.08) 0%, rgba(7, 17, 29, 0.22) 42%, rgba(7, 17, 29, 0.72) 100%),
    linear-gradient(0deg, rgba(7, 17, 29, 0.78) 0%, rgba(7, 17, 29, 0.04) 44%, rgba(7, 17, 29, 0.38) 100%),
    url("assets/images/built-10.webp") center / cover no-repeat;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(7, 17, 29, 0), #07111d 78%);
  pointer-events: none;
}

.hero-bg,
.hero-slide,
.hero-slider,
.hero-progress,
.experience-media,
.app-section > img {
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(560px, 100%);
  margin-top: clamp(142px, 16vh, 180px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  text-align: right;
  transform: translateY(20px);
  opacity: 0;
  animation: reveal 700ms ease 140ms forwards;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 460;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(48px, 4.35vw, 76px);
  line-height: 0.96;
  font-weight: 200;
  font-variation-settings: "wght" 200;
  letter-spacing: 0;
  max-width: 560px;
}

h2 {
  margin-bottom: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(34px, 3.5vw, 56px);
  line-height: 1.04;
  font-weight: 220;
  font-variation-settings: "wght" 220;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 260;
  font-variation-settings: "wght" 260;
}

.hero-copy {
  width: min(540px, 100%);
  margin-left: auto;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 0.95vw, 18px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-height: 780px) and (min-width: 901px) {
  h1 {
    font-size: clamp(42px, 3.8vw, 60px);
    max-width: 540px;
  }

  .hero-copy {
    font-size: 17px;
    max-width: 520px;
  }
}

@media (min-width: 1600px) {
  :root {
    --content-width: 1240px;
  }

  .hero-content {
    width: 610px;
    margin-top: 170px;
  }
}

.intro-band,
.method-section,
.principles-section,
.modules,
.gallery-section,
.scenarios-section,
.benefits-section,
.generation-section {
  padding: var(--section-gap) 0;
  background: transparent;
}

.intro-band {
  display: flex;
  align-items: center;
}

.split-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: end;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.56);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.22);
}

.lead-stack {
  display: grid;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.66;
}

.lead-stack p {
  margin-bottom: 0;
}

.force-grid,
.method-flow,
.principles-grid,
.values-grid,
.scenario-grid,
.generation-grid {
  display: grid;
  gap: 16px;
}

.force-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.method-flow,
.scenario-grid,
.generation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principles-grid,
.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.force-grid article,
.method-flow article,
.principles-grid article,
.values-grid article,
.scenario-grid article,
.generation-grid article,
.benefit-list {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.58);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.force-grid article,
.method-flow article,
.principles-grid article,
.values-grid article,
.scenario-grid article,
.generation-grid article {
  padding: 24px;
}

.force-grid span,
.principles-grid span,
.scenario-grid span,
.generation-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 440;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.force-grid strong,
.values-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 360;
}

.method-flow h3,
.principles-grid h3,
.scenario-grid h3,
.generation-grid h3 {
  line-height: 1.12;
}

.force-grid p,
.method-flow p,
.values-grid p,
.scenario-grid p,
.generation-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.method-flow h3 {
  color: var(--gold);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 16px;
  list-style-position: inside;
}

.benefit-list li {
  padding: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.benefit-list strong {
  color: var(--gold);
  font-weight: 440;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.54);
  backdrop-filter: blur(22px);
}

.section-heading > p {
  width: min(400px, 100%);
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.modules {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 36px;
}

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

.module-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(7, 17, 29, 0.58);
  backdrop-filter: blur(20px);
  isolation: isolate;
  transition: transform 260ms ease, border-color 260ms ease;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center / cover;
  opacity: 0.52;
  transition: transform 600ms ease, opacity 260ms ease;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(4, 10, 17, 0.94), rgba(4, 10, 17, 0.28)),
    linear-gradient(135deg, rgba(233, 185, 79, 0.14), rgba(184, 133, 40, 0.06));
}

.module-card-vitrine::before {
  background-image: url("assets/images/built-25.webp");
}

.module-card-capital::before {
  background-image: url("assets/images/built-20.webp");
}

.module-card-alliances::before {
  background-image: url("assets/images/built-30.webp");
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 185, 79, 0.54);
}

.module-card:hover::before {
  transform: scale(1.08);
  opacity: 0.68;
}

.module-icon {
  width: 44px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 420;
}

.module-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

.module-card a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid rgba(233, 185, 79, 0.62);
  border-radius: 8px;
  color: var(--white);
  font-weight: 430;
}

.module-card a::after {
  content: "→";
  color: var(--gold);
  font-size: 22px;
}

.experience {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: var(--section-gap) 0;
  background: transparent;
}

.experience-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.56);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.22);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-list span {
  color: var(--gold);
  font-weight: 420;
}

.feature-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.gallery-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(286px, calc((var(--content-width) - 48px) / 4));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track figure {
  position: relative;
  height: 320px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--steel);
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-track figure:hover img {
  transform: scale(1.05);
}

.gallery-track figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 10, 17, 0.68);
  backdrop-filter: blur(12px);
  font-weight: 360;
  font-size: 16px;
}

.app-section {
  display: grid;
  place-items: center;
  padding: var(--section-gap) 0 92px;
  background: transparent;
}

.app-section::after {
  display: none;
}

.app-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.56);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.24);
}

.app-content p {
  width: min(620px, 100%);
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.62;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(20px, calc((100vw - var(--content-width)) / 2));
  border-top: 1px solid var(--line);
  background: rgba(5, 11, 19, 0.86);
  backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.site-footer img {
  width: 94px;
}

.site-footer a {
  color: var(--gold);
  font-weight: 420;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  :root {
    --section-gap: 42px;
  }

  .site-header {
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 58px;
    padding: 8px 10px 8px 14px;
    gap: 12px;
  }

  .brand {
    width: 96px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 17, 29, 0.96);
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .split-layout,
  .experience,
  .module-grid,
  .force-grid,
  .method-flow,
  .principles-grid,
  .values-grid,
  .scenario-grid,
  .generation-grid,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    grid-template-columns: minmax(0, 1fr);
    padding: 104px 20px 40px;
    background:
      linear-gradient(0deg, rgba(5, 11, 19, 0.92) 0%, rgba(5, 11, 19, 0.56) 54%, rgba(5, 11, 19, 0.42) 100%),
      url("assets/images/built-10.webp") 31% center / cover no-repeat;
  }

  .hero-content {
    justify-self: start;
    width: min(100%, 350px);
    max-width: 350px;
    min-width: 0;
    margin-top: 0;
    text-align: left;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(7, 17, 29, 0.84);
    backdrop-filter: blur(14px);
    opacity: 1;
    transform: none;
    animation: none;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    margin-left: 0;
    overflow-wrap: break-word;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .intro-band,
  .method-section,
  .principles-section,
  .modules,
  .gallery-section,
  .scenarios-section,
  .benefits-section,
  .generation-section,
  .experience-panel,
  .app-section {
    padding: var(--section-gap) 0;
  }

  .section-heading {
    display: grid;
    padding: 22px;
  }

  .force-grid article,
  .method-flow article,
  .principles-grid article,
  .values-grid article,
  .scenario-grid article,
  .generation-grid article {
    padding: 22px;
  }

  .module-card {
    min-height: 360px;
  }

  .gallery-track {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .gallery-track figure {
    height: 340px;
  }

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

@media (max-width: 520px) {
  h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(30px, 8vw, 36px);
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .split-layout,
  .experience-panel,
  .app-content {
    padding: 22px;
  }

  .module-card {
    min-height: 320px;
    padding: 22px;
  }

  .feature-list div {
    grid-template-columns: 38px 1fr;
    padding: 14px;
  }
}
