:root {
  --black: #000000;
  --charcoal: #202123;
  --charcoal-2: #2f2f2c;
  --beige: #d9d8d0;
  --beige-logo: #d3cdb5;
  --beige-soft: #e8e5d6;
  --off: #f4f3ee;
  --white: #ffffff;
  --gray: #66645f;
  --gray-2: #8b8982;
  --line: #c7c4b6;
  --gold: #c89519;
  --topbar: 66px;
  --shadow: 0 18px 44px rgba(24, 23, 21, 0.11);
  --shadow-strong: 0 26px 70px rgba(0, 0, 0, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--off);
}

body {
  margin: 0;
  color: var(--black);
  background: var(--off);
  font-family: Inter, Manrope, "Aptos", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.intro-lock {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  letter-spacing: 0;
}

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 4px;
  background: rgba(32, 33, 35, 0.12);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 140ms linear;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 48%, rgba(211, 205, 181, 0.12), rgba(32, 33, 35, 0) 34%),
    linear-gradient(135deg, #121314 0%, var(--charcoal) 48%, #171816 100%);
  transition: opacity 900ms var(--ease), visibility 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}

.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(8px);
  transform: scale(1.035);
}

.intro__skip {
  position: fixed;
  top: 30px;
  right: 34px;
  z-index: 8;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(232, 229, 214, 0.34);
  border-radius: 999px;
  color: var(--beige-soft);
  background: rgba(244, 243, 238, 0.06);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
}

.intro__skip:hover {
  background: rgba(244, 243, 238, 0.13);
}

.intro__stage {
  position: relative;
  width: min(920px, calc(100vw - 92px));
  height: min(620px, calc(100vh - 120px));
  display: grid;
  place-items: center;
}

.intro__depth {
  position: absolute;
  z-index: 1;
  width: min(560px, 68vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(244, 243, 238, 0.09), rgba(244, 243, 238, 0.03) 38%, transparent 66%);
  opacity: 0;
  transform: scale(0.74);
  animation: depthIn 4300ms var(--ease) 160ms forwards;
}

.intro__halo {
  position: absolute;
  z-index: 2;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(232, 229, 214, 0.13);
  border-radius: 50%;
  background: rgba(32, 33, 35, 0.52);
  box-shadow:
    0 0 0 34px rgba(32, 33, 35, 0.28),
    0 0 92px rgba(211, 205, 181, 0.09),
    0 34px 100px rgba(0, 0, 0, 0.46);
  transform: scale(0.88);
  opacity: 0.32;
  animation: haloIn 4400ms var(--ease) 120ms forwards;
}

.intro__sheen {
  position: absolute;
  z-index: 3;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 0 42%, rgba(244, 243, 238, 0.13) 49%, transparent 58% 100%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-90px) rotate(8deg);
  animation: sheenSweep 3600ms var(--ease) 760ms forwards;
}

.intro__mark {
  position: relative;
  z-index: 4;
  width: 268px;
  height: 268px;
  display: grid;
  place-items: center;
  opacity: 0.58;
  animation: markMaster 4500ms var(--ease) 120ms forwards;
}

.intro__mark img {
  width: 246px;
  height: 246px;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 38px rgba(0, 0, 0, 0.54))
    drop-shadow(0 0 18px rgba(232, 229, 214, 0.08));
}

@keyframes depthIn {
  0% { opacity: 0; transform: scale(0.74); }
  36% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.72; transform: scale(1.18); }
}

@keyframes haloIn {
  0% { opacity: 0.32; transform: scale(0.86); }
  36% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.86; transform: scale(1.1); }
}

@keyframes sheenSweep {
  0% { opacity: 0; transform: translateX(-110px) rotate(8deg); }
  28% { opacity: 0.7; }
  78% { opacity: 0.18; }
  100% { opacity: 0; transform: translateX(110px) rotate(8deg); }
}

@keyframes markMaster {
  0% { opacity: 0.58; transform: translateY(12px) scale(0.9); filter: blur(1px); }
  34% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  78% { opacity: 1; transform: translateY(0) scale(1.05); }
  100% { opacity: 1; transform: translateY(-3px) scale(1.1); }
}

.topbar {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: var(--topbar);
  padding: 10px 30px;
  border-bottom: 1px solid rgba(199, 196, 182, 0.68);
  background: rgba(244, 243, 238, 0.9);
  backdrop-filter: blur(18px);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease), min-height 280ms var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
  color: var(--charcoal);
  font-weight: 900;
}

.brand img {
  width: 52px;
  height: 34px;
  object-fit: contain;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.section-nav a {
  flex: 0 0 auto;
  min-width: 44px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.section-nav a:hover,
.section-nav a.is-active {
  color: var(--black);
  border-color: var(--line);
  background: var(--beige-soft);
}

.topbar__meta {
  display: flex;
  gap: 8px;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.topbar__meta span {
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.presentation-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

body.presentation-mode .topbar {
  opacity: 0.18;
  transform: translateY(-7px);
}

body.presentation-mode .topbar:hover,
body.presentation-mode .topbar:focus-within {
  opacity: 1;
  transform: translateY(0);
}

body.presentation-mode .floating-controls {
  opacity: 0.2;
}

body.presentation-mode .floating-controls:hover,
body.presentation-mode .floating-controls:focus-within {
  opacity: 1;
}

.screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--topbar) + 34px) 68px 56px;
  overflow: hidden;
  scroll-margin-top: var(--topbar);
}

.screen__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
}

.theme-light,
.theme-sequence,
.theme-architecture,
.theme-map {
  background: var(--off);
}

.theme-journey,
.theme-executive,
.theme-premium {
  background: var(--beige);
}

.theme-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 28%, rgba(211, 205, 181, 0.08), transparent 32%),
    var(--charcoal);
}

.screen--cover,
.screen--closing {
  grid-template-columns: 330px 1fr;
  padding-left: 0;
  background: var(--off);
}

.cover-rail,
.closing-rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 76px 60px;
  background: var(--charcoal);
  color: var(--beige-soft);
}

.cover-rail::after,
.closing-rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: var(--gold);
}

.cover-rail img,
.closing-rail img {
  width: 138px;
  height: 138px;
  object-fit: contain;
}

.cover-rail strong,
.closing-rail h2 {
  display: block;
  margin: 0 0 10px;
  color: var(--white);
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 0.96;
}

.closing-rail h2 {
  font-size: 2.24rem;
  line-height: 1.02;
}

.cover-rail span,
.closing-rail p,
.closing-rail span {
  display: block;
  margin: 0;
  color: var(--beige-soft);
  font-weight: 800;
}

.kicker {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  padding: 7px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--beige-soft);
  color: var(--gray);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.theme-dark .kicker {
  border-color: rgba(232, 229, 214, 0.22);
  background: rgba(244, 243, 238, 0.08);
  color: var(--beige-soft);
}

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

h1,
h2 {
  font-family: "Aptos Display", "Sora", "Montserrat", Inter, sans-serif;
  font-weight: 950;
  line-height: 0.92;
}

h1 {
  margin: 30px 0 22px;
  font-size: 4.85rem;
}

h2 {
  margin: 22px 0 18px;
  font-size: 3.34rem;
}

.lead {
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 1.62rem;
  line-height: 1.16;
  font-weight: 650;
}

.microcopy {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 1.12rem;
  font-weight: 850;
}

.cover-master {
  width: calc(100vw - 330px - 104px);
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
  grid-template-rows: auto auto auto;
  gap: 22px 32px;
  margin-left: 330px;
  padding-left: 58px;
  align-items: stretch;
}

.cover-hero {
  min-width: 0;
  align-self: end;
  padding: 6px 12px 2px 0;
}

.cover-hero h1 {
  max-width: 820px;
}

.cover-context {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 242px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.context-label {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray);
  background: var(--beige-soft);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

.context-grid div {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--off);
}

.context-grid span {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.context-grid strong {
  color: var(--black);
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.05;
}

.cover-principles {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cover-principles span,
.deadline-row span,
.closing-protection span,
.closing-protection strong {
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--beige-soft);
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

.cover-intro {
  max-width: 850px;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 1.15rem;
  line-height: 1.44;
  font-weight: 700;
}

.protection-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 156px;
  padding: 28px 30px;
  border-radius: 28px;
  background: var(--charcoal);
  box-shadow: var(--shadow-strong);
}

.protection-card small {
  color: var(--beige-soft);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  opacity: 0.72;
}

.protection-card span,
.protection-card strong {
  color: var(--white);
  font-size: 1.72rem;
  font-weight: 950;
  line-height: 1.02;
}

.conduct-master {
  display: grid;
  gap: 56px;
}

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

.section-heading p,
.objective {
  color: var(--gray);
  font-size: 1.18rem;
  line-height: 1.36;
  font-weight: 680;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.method-card {
  min-height: 228px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.method-card span {
  width: 44px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 950;
}

.method-card h3 {
  margin: 0 0 14px;
  font-size: 1.78rem;
  line-height: 1;
}

.method-card p {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(620px, 1.08fr) minmax(430px, 0.74fr);
  grid-template-rows: auto 1fr;
  gap: 26px 42px;
  align-items: center;
}

.map-intro {
  align-self: center;
}

.map-intro h2 {
  max-width: 900px;
  font-size: clamp(2.85rem, 3.05vw, 3.25rem);
  line-height: 0.96;
}

.map-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  align-self: stretch;
  min-height: 410px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.map-opening p {
  margin: 0;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.42;
  font-weight: 760;
}

.map-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-self: center;
  gap: 12px;
}

.map-journey::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  height: 2px;
  background: rgba(200, 149, 25, 0.72);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms var(--ease);
}

.screen.is-visible .map-journey::before {
  transform: translateY(-50%) scaleX(1);
}

.map-journey span,
.map-themes span {
  position: relative;
  z-index: 2;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--off);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.map-themes {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.map-themes span {
  min-height: 34px;
  color: var(--beige-soft);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.map-support-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.map-support-grid .support-card {
  min-height: 86px;
  padding: 15px 17px 13px;
}

.map-support-grid .support-card p {
  font-size: 0.92rem;
  line-height: 1.2;
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(410px, 0.78fr);
  gap: 30px 52px;
  align-items: center;
}

.diagnostic-layout.with-visual {
  grid-template-rows: auto 1fr;
}

.question-zone {
  min-width: 0;
}

.question-zone h2 {
  font-size: 3.16rem;
}

.question-zone h3 {
  margin: 26px 0 18px;
  color: inherit;
  font-size: 2.08rem;
  font-weight: 950;
  line-height: 1.07;
}

.theme-dark .objective {
  color: var(--beige-soft);
}

.main-example {
  max-width: 760px;
  margin-top: 18px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 40px rgba(24, 23, 21, 0.08);
}

.theme-dark .main-example {
  border-color: rgba(232, 229, 214, 0.22);
  background: rgba(244, 243, 238, 0.08);
}

.main-example span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.main-example p {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 760;
}

.theme-dark .main-example p {
  color: var(--beige-soft);
}

.support-grid {
  display: grid;
  gap: 12px;
}

.support-card {
  min-height: 82px;
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(24, 23, 21, 0.08);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 560ms var(--ease), opacity 560ms var(--ease), background 180ms var(--ease);
}

.screen.is-visible .support-card {
  transform: translateY(0);
  opacity: 1;
}

.screen.is-visible .support-card:nth-child(2) { transition-delay: 55ms; }
.screen.is-visible .support-card:nth-child(3) { transition-delay: 110ms; }
.screen.is-visible .support-card:nth-child(4) { transition-delay: 165ms; }
.screen.is-visible .support-card:nth-child(5) { transition-delay: 220ms; }

.support-card p {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.24;
}

.example-toggle {
  height: 30px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray);
  background: var(--beige-soft);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.example-toggle:hover,
.support-card.is-open .example-toggle {
  color: var(--white);
  background: var(--charcoal);
}

.support-example {
  max-height: 0;
  overflow: hidden;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 690;
  line-height: 1.34;
  opacity: 0;
  transition: max-height 300ms var(--ease), opacity 240ms var(--ease), margin-top 300ms var(--ease);
}

.support-card.is-open .support-example {
  max-height: 190px;
  margin-top: 12px;
  opacity: 1;
}

.theme-dark .support-card {
  border-color: rgba(232, 229, 214, 0.18);
  background: rgba(244, 243, 238, 0.08);
}

.theme-dark .support-card p {
  color: var(--white);
}

.theme-dark .support-example {
  color: var(--beige-soft);
}

.theme-dark .example-toggle {
  border-color: rgba(232, 229, 214, 0.25);
  color: var(--beige-soft);
  background: rgba(244, 243, 238, 0.08);
}

.theme-dark .support-card.is-open .example-toggle,
.theme-dark .example-toggle:hover {
  color: var(--black);
  background: var(--beige-soft);
}

.flow-strip,
.executive-map,
.premium-words,
.layer-system {
  grid-column: 1 / -1;
}

.flow-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 4px;
}

.flow-strip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms var(--ease);
}

.screen.is-visible .flow-strip::before {
  transform: scaleX(1);
}

.flow-strip span {
  position: relative;
  z-index: 2;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--charcoal);
  font-weight: 950;
}

.executive-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2px;
}

.executive-map strong {
  min-width: 260px;
  min-height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow);
  font-size: 1.28rem;
}

.executive-map span,
.premium-words span {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 950;
}

.premium-words {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2px;
}

.premium-words span {
  color: var(--beige-soft);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.layer-system {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 900px;
  margin-bottom: 2px;
}

.layer {
  width: min(880px, 100%);
  min-height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-weight: 950;
  text-align: center;
}

.layer-top {
  gap: 4px;
  color: var(--beige-soft);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.layer-top span {
  color: rgba(232, 229, 214, 0.68);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.layer-top strong {
  font-size: 1.05rem;
}

.layer-connector {
  width: 2px;
  height: 22px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 720ms var(--ease) 260ms;
}

.screen.is-visible .layer-connector {
  transform: scaleY(1);
}

.layer-base {
  color: var(--black);
  border: 1px solid var(--line);
  background: var(--beige);
}

.screen--closing {
  background: var(--off);
}

.closing-master {
  width: calc(100vw - 330px - 104px);
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.68fr);
  grid-template-rows: auto 1fr auto;
  gap: 22px 32px;
  margin-left: 330px;
  padding-left: 58px;
  align-items: stretch;
}

.closing-head {
  align-self: end;
  padding-right: 24px;
}

.closing-head h2 {
  margin-bottom: 18px;
}

.closing-head p {
  max-width: 720px;
  color: var(--gray);
  font-size: 1.18rem;
  line-height: 1.38;
  font-weight: 720;
}

.closing-cards {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.closing-cards article {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--charcoal);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.18;
}

.closing-cards span {
  flex: 0 0 auto;
  width: 42px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 950;
}

.access-panel {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.qr-frame {
  width: 208px;
  height: 208px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  padding: 12px;
  border: 1.5px solid rgba(32, 33, 35, 0.16);
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 16px 40px rgba(24, 23, 21, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

.access-copy span {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray);
  background: var(--beige-soft);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.access-copy h3 {
  margin: 0 0 10px;
  font-size: 1.78rem;
}

.access-copy p {
  margin: 0 0 20px;
  color: var(--gray);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.34;
}

.access-actions {
  display: grid;
  gap: 10px;
}

.access-actions a {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 950;
  text-align: center;
}

.access-actions a + a {
  color: var(--charcoal);
  border: 1px solid var(--line);
  background: var(--beige-soft);
}

.deadline-row,
.closing-protection {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.closing-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}

.deadline-row span:nth-child(2),
.closing-protection strong {
  color: var(--white);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.floating-controls {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 82;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(199, 196, 182, 0.7);
  border-radius: 999px;
  background: rgba(244, 243, 238, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: opacity 220ms var(--ease);
}

.floating-controls button,
.floating-controls a {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
}

.floating-controls a {
  min-width: 52px;
  color: var(--charcoal);
  background: var(--beige-soft);
}

.screen .question-zone,
.screen .section-heading,
.screen .cover-hero,
.screen .cover-context,
.screen .cover-principles,
.screen .protection-card,
.screen .closing-head,
.screen .closing-cards,
.screen .access-panel,
.screen .closing-footer,
.screen .method-card,
.screen .flow-strip,
.screen .executive-map,
.screen .premium-words,
.screen .layer-system,
.screen .map-panel,
.screen .map-support-grid {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 660ms var(--ease), transform 660ms var(--ease);
}

.screen.is-visible .question-zone,
.screen.is-visible .section-heading,
.screen.is-visible .cover-hero,
.screen.is-visible .cover-context,
.screen.is-visible .cover-principles,
.screen.is-visible .protection-card,
.screen.is-visible .closing-head,
.screen.is-visible .closing-cards,
.screen.is-visible .access-panel,
.screen.is-visible .closing-footer,
.screen.is-visible .method-card,
.screen.is-visible .flow-strip,
.screen.is-visible .executive-map,
.screen.is-visible .premium-words,
.screen.is-visible .layer-system,
.screen.is-visible .map-panel,
.screen.is-visible .map-support-grid {
  opacity: 1;
  transform: translateY(0);
}

.screen.is-visible .cover-context,
.screen.is-visible .protection-card,
.screen.is-visible .support-grid,
.screen.is-visible .access-panel,
.screen.is-visible .map-panel,
.screen.is-visible .map-support-grid {
  transition-delay: 80ms;
}

.screen.is-visible .method-card:nth-child(2) { transition-delay: 70ms; }
.screen.is-visible .method-card:nth-child(3) { transition-delay: 140ms; }
.screen.is-visible .method-card:nth-child(4) { transition-delay: 210ms; }

@media (min-width: 1500px) {
  body {
    font-size: 17px;
  }

  .screen__content {
    max-width: 1320px;
  }
}

@media (max-width: 1220px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .presentation-toggle {
    display: none;
  }

  .topbar__meta {
    display: none;
  }

  .screen--cover,
  .screen--closing {
    grid-template-columns: 280px 1fr;
  }

  .cover-rail,
  .closing-rail {
    width: 280px;
    padding: 72px 42px;
  }

  .cover-master,
  .closing-master {
    width: calc(100vw - 280px - 70px);
    margin-left: 280px;
    padding-left: 44px;
  }

  .cover-master,
  .closing-master,
  .diagnostic-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .cover-principles,
  .closing-footer {
    grid-template-columns: 1fr;
  }

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

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

  .map-journey {
    grid-template-columns: repeat(4, 1fr);
  }

  .map-themes {
    grid-template-columns: repeat(3, 1fr);
  }

  .access-panel {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 170px 1fr;
    align-items: center;
  }

  .qr-frame {
    width: 170px;
    height: 170px;
  }

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

@media (max-width: 860px) {
  :root {
    --topbar: 62px;
  }

  .topbar {
    padding: 9px 16px;
  }

  .brand {
    min-width: 66px;
  }

  .brand span {
    display: none;
  }

  .screen {
    min-height: auto;
    padding: calc(var(--topbar) + 28px) 22px 76px;
  }

  .screen--cover,
  .screen--closing {
    display: block;
    padding-left: 22px;
  }

  .cover-rail,
  .closing-rail {
    position: relative;
    width: auto;
    min-height: 220px;
    margin: 64px -22px 34px;
    padding: 42px 28px;
  }

  .cover-rail img,
  .closing-rail img {
    width: 96px;
    height: 96px;
  }

  .cover-master,
  .closing-master {
    width: auto;
    margin-left: 0;
    padding-left: 0;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2,
  .question-zone h2 {
    font-size: 2.42rem;
  }

  .question-zone h3 {
    font-size: 1.66rem;
  }

  .support-grid,
  .map-support-grid,
  .method-grid,
  .cover-principles,
  .closing-cards,
  .closing-footer,
  .access-panel {
    grid-template-columns: 1fr;
  }

  .flow-strip,
  .map-journey,
  .map-themes {
    grid-template-columns: 1fr;
  }

  .flow-strip::before,
  .map-journey::before {
    display: none;
  }

  .map-panel {
    padding: 20px;
  }

  .qr-frame {
    width: 188px;
    height: 188px;
  }

  .executive-map,
  .premium-words {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .floating-controls {
    right: 14px;
    bottom: 14px;
  }
}

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

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