:root {
  --background: #080d18;
  --background-deep: #050913;
  --background-soft: #0d1423;
  --panel: rgba(18, 27, 44, 0.74);
  --panel-solid: #111a2a;
  --panel-light: rgba(255, 255, 255, 0.055);

  --text: #f1f5ff;
  --text-soft: #d3def0;
  --muted: #9eafc8;
  --muted-dark: #71839e;

  --accent: #55e6c1;
  --accent-two: #7aa7ff;
  --accent-soft: rgba(85, 230, 193, 0.12);

  --border: rgba(255, 255, 255, 0.115);
  --border-strong: rgba(255, 255, 255, 0.19);

  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);

  --shell: 1220px;
  --radius-large: 34px;
  --radius-medium: 24px;
  --radius-small: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(85, 230, 193, 0.11), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(122, 167, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #080d18 0%, #0a101d 48%, #060b15 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

::selection {
  color: #061018;
  background: var(--accent);
}

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

.section {
  position: relative;
  padding: 118px 0;
  scroll-margin-top: 96px;
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.13;
}

.ambient-one {
  top: -160px;
  left: -160px;
  background: var(--accent);
}

.ambient-two {
  top: 18%;
  right: -230px;
  background: var(--accent-two);
}

.background-grid {
  position: fixed;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(8, 13, 24, 0.78);
  backdrop-filter: blur(22px);
}

.header-inner {
  width: min(var(--shell), calc(100% - 48px));
  min-height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.brand-mark {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: #07111a;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  box-shadow: 0 14px 34px rgba(85, 230, 193, 0.18);
}

.brand-name span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav .nav-contact {
  min-height: 40px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 86px);
  padding-top: 72px;
  padding-bottom: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.method-intro h2,
.about-heading h2,
.contact-copy h2 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 7.1vw, 104px);
  font-weight: 760;
  line-height: 0.91;
  letter-spacing: -0.078em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--accent), var(--accent-two));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 710px;
  margin: 34px 0 0;
  color: var(--text-soft);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.hero-secondary {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #061018;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
}

.button-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.hero-signature {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signature-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 20% 0%, rgba(85, 230, 193, 0.13), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.visual-heading {
  position: relative;
  z-index: 2;
  padding: 2px 4px 19px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.visual-index {
  color: var(--accent);
}

.mathematical-map {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 26px;
  background: rgba(4, 9, 18, 0.42);
}

.surface path {
  stroke: rgba(122, 167, 255, 0.38);
  stroke-width: 1.5;
}

.network-lines path {
  fill: none;
  stroke: rgba(85, 230, 193, 0.42);
  stroke-width: 1.7;
}

.network-nodes circle {
  fill: url("#nodeGradient");
  filter: url("#glow");
}

.axis-labels text {
  fill: rgba(211, 222, 240, 0.5);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trajectory path:first-child {
  stroke-dasharray: 860;
  stroke-dashoffset: 860;
  animation: draw-line 3.2s ease forwards 0.4s;
}

.network-nodes circle {
  animation: node-pulse 3.2s ease-in-out infinite;
}

.network-nodes circle:nth-child(2) {
  animation-delay: 0.4s;
}

.network-nodes circle:nth-child(3) {
  animation-delay: 0.8s;
}

.network-nodes circle:nth-child(4) {
  animation-delay: 1.2s;
}

.visual-path {
  margin-top: 17px;
  padding: 0 4px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.visual-path i {
  color: var(--accent);
  font-style: normal;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 50px;
}

.section-heading.compact {
  max-width: 820px;
}

.section-heading h2,
.method-intro h2,
.about-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 67px);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child,
.method-intro > p,
.contact-copy > p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.perspective-card {
  position: relative;
  overflow: hidden;
  min-height: 455px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.025));
}

.perspective-card::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
  filter: blur(110px);
  opacity: 0.08;
}

.perspective-card:nth-child(2)::after {
  background: var(--accent-two);
}

.perspective-number {
  position: absolute;
  top: 25px;
  right: 30px;
  color: rgba(255, 255, 255, 0.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  line-height: 1;
}

.card-label {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.perspective-card h3,
.journey-content h3 {
  position: relative;
  z-index: 1;
  max-width: 490px;
  margin: 0;
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.perspective-card > p:not(.card-label) {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.perspective-tags {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.perspective-tags span {
  padding: 9px 13px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.032);
  font-size: 12px;
  font-weight: 700;
}

.perspective-conclusion {
  margin-top: 22px;
  padding: 29px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.028);
}

.conclusion-symbol {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
}

.perspective-conclusion p {
  max-width: 900px;
  margin: 0;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.6;
}

.journey-section {
  border-block: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 94% 20%, rgba(122, 167, 255, 0.08), transparent 31%),
    rgba(5, 9, 19, 0.34);
}

.journey {
  position: relative;
  margin-top: 28px;
}

.journey::before {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 38px;
  width: 1px;
  content: "";
  background: linear-gradient(
    to bottom,
    var(--accent),
    rgba(122, 167, 255, 0.42),
    transparent
  );
}

.journey-item {
  position: relative;
  padding: 0 0 82px 108px;
  display: grid;
  grid-template-columns: 1fr;
}

.journey-item:last-child {
  padding-bottom: 24px;
}

.journey-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #07111a;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  box-shadow: 0 16px 44px rgba(85, 230, 193, 0.15);
}

.journey-marker span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.journey-content {
  padding: 31px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.032);
}

.journey-content > p:not(.card-label) {
  max-width: 900px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.formula {
  margin-top: 27px;
  padding: 19px 22px;
  overflow-x: auto;
  color: var(--text-soft);
  border: 1px solid rgba(85, 230, 193, 0.2);
  border-radius: 18px;
  background: rgba(85, 230, 193, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  white-space: nowrap;
}

.formula-system {
  display: grid;
  gap: 7px;
  white-space: normal;
}

.journey-summary {
  max-width: 950px;
  margin: 68px auto 0;
  text-align: center;
}

.journey-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.journey-summary strong {
  margin-top: 18px;
  display: block;
  color: var(--text);
  font-size: 23px;
  line-height: 1.5;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: start;
  gap: 70px;
}

.method-intro {
  position: sticky;
  top: 124px;
}

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

.method-step {
  min-height: 198px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.057), rgba(255, 255, 255, 0.022));
}

.method-step > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.method-step strong {
  margin-top: 26px;
  display: block;
  font-size: 21px;
}

.method-step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.interests-section {
  border-block: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.015);
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.interest-list span {
  padding: 14px 18px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.032);
  font-size: 14px;
  font-weight: 720;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.interest-list span:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 230, 193, 0.38);
}

.about-layout {
  padding: 50px;
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: 70px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 0% 0%, rgba(85, 230, 193, 0.1), transparent 29%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.about-degrees {
  margin-top: 35px;
  display: grid;
  gap: 10px;
}

.about-degrees span {
  padding: 13px 15px;
  color: var(--text-soft);
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  font-weight: 730;
}

.about-copy p {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-copy .about-lead {
  color: var(--text-soft);
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.manifesto {
  margin-bottom: 115px;
  padding: 72px 62px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(85, 230, 193, 0.075), rgba(122, 167, 255, 0.05));
}

.manifesto-symbol {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 1;
}

.manifesto blockquote {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(31px, 4.2vw, 57px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.manifesto blockquote span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--accent), var(--accent-two));
  background-clip: text;
  -webkit-background-clip: text;
}

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 15% 25%, rgba(85, 230, 193, 0.08), transparent 26%),
    rgba(5, 9, 19, 0.4);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: 70px;
}

.contact-copy {
  position: sticky;
  top: 124px;
}

.direct-email {
  margin-top: 32px;
  display: inline-block;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 37px);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.contact-note {
  max-width: 460px;
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.note-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(85, 230, 193, 0.55);
}

.contact-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-form {
  padding: 32px;
  display: grid;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 3px;
  padding-bottom: 21px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-index {
  color: var(--accent);
}

.contact-form label:not(.honeypot) {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 780;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 18px;
  outline: none;
  background: rgba(255, 255, 255, 0.042);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input {
  height: 59px;
  padding: 0 17px;
}

.contact-form textarea {
  min-height: 190px;
  padding: 16px 17px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(158, 175, 200, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(85, 230, 193, 0.58);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(85, 230, 193, 0.075);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.turnstile-shell {
  min-height: 90px;
  padding: 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.028);
}

.submit-button {
  width: 100%;
  border: 0;
}

.submit-button[disabled] {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.form-status[data-type="success"] {
  color: var(--accent);
}

.form-status[data-type="error"] {
  color: #ff8d96;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: var(--background-deep);
}

.footer-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

.footer-inner > div {
  display: grid;
  gap: 5px;
}

.footer-inner strong {
  color: var(--text);
  font-size: 17px;
}

.footer-inner span,
.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.92);
    transform-origin: center;
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
    transform-origin: center;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-visual {
    max-width: 760px;
  }

  .method-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .method-intro,
  .contact-copy {
    position: static;
  }

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

  .contact-copy {
    max-width: 800px;
  }
}

@media (max-width: 820px) {
  .shell,
  .header-inner {
    width: min(100% - 32px, var(--shell));
  }

  .section {
    padding: 88px 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: 86px;
    right: 16px;
    left: 16px;
    padding: 25px;
    display: grid;
    gap: 4px;
    visibility: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(8, 13, 24, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

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

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav .nav-contact {
    margin-top: 8px;
    justify-content: center;
    border-bottom: 1px solid var(--border);
  }

  .perspectives-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .perspective-card {
    min-height: 430px;
  }

  .about-layout {
    padding: 36px;
    gap: 42px;
  }

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

  .manifesto {
    padding: 48px 36px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .manifesto-symbol {
    font-size: 60px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    top: 76px;
  }

  .brand {
    font-size: 20px;
  }

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

  .hero {
    padding-top: 48px;
    padding-bottom: 75px;
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 74px);
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    padding: 15px;
    border-radius: 25px;
  }

  .visual-path {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .perspectives-grid {
    gap: 14px;
  }

  .perspective-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .perspective-tags {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 30px;
  }

  .perspective-number {
    font-size: 64px;
  }

  .perspective-conclusion {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .journey::before {
    left: 26px;
  }

  .journey-item {
    padding-left: 74px;
    padding-bottom: 58px;
  }

  .journey-marker {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .journey-content {
    padding: 25px 22px;
  }

  .method-flow {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: auto;
  }

  .about-layout {
    padding: 28px 23px;
  }

  .manifesto {
    width: min(100% - 32px, var(--shell));
    margin-bottom: 84px;
    padding: 38px 25px;
  }

  .contact-layout {
    gap: 46px;
  }

  .contact-form {
    padding: 24px 19px;
  }

  .turnstile-shell {
    margin-inline: -4px;
    padding: 9px;
  }

  .footer-inner {
    padding: 30px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Unified MathML formulas */
.math-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow-x: auto;
}

.math-formula math {
  display: block;
  min-width: max-content;
  color: inherit;
  font-family: "STIX Two Math", "Cambria Math", "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

@media (max-width: 720px) {
  .math-formula {
    justify-content: flex-start;
    padding: 1.25rem 1rem;
  }

  .math-formula math {
    font-size: 1.05rem;
  }
}
