:root {
  --surface-shell: #050607;
  --surface-deep: #080a0b;
  --surface-panel: rgba(255, 255, 255, 0.045);
  --text-primary: #f7f0ea;
  --text-muted: #d4c6bb;
  --text-soft: #95877e;
  --accent-magenta: #ed00ff;
  --accent-violet: #7514e9;
  --accent-cyan: #53e1ff;
  --line-soft: rgba(255, 255, 255, 0.12);
  --line-signal: rgba(237, 0, 255, 0.32);
  --shadow-signal: 0 0 30px rgba(237, 0, 255, 0.34);
  --max-page: 1500px;
  --section-x: clamp(22px, 5vw, 72px);
  --display: "Segoe UI", Inter, Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(83, 225, 255, 0.055), transparent 25rem),
    linear-gradient(180deg, #080a0b, #020303 72%, #080606);
  color: var(--text-primary);
  font-family: var(--body);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  background: #fff;
  color: #050607;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(var(--max-page), 100%);
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 46px);
  border-left: 1px solid var(--line-signal);
  border-right: 1px solid var(--line-signal);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 7, 8, 0.94);
  backdrop-filter: blur(12px);
}

.brand-link img {
  display: block;
  width: auto;
  height: 74px;
  filter: drop-shadow(0 0 16px rgba(237, 0, 255, 0.32));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  color: #efe4ee;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  outline: none;
  text-shadow: 0 0 16px rgba(237, 0, 255, 0.75);
}

.nav-action {
  min-width: 132px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px !important;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-magenta));
  box-shadow: var(--shadow-signal);
}

main,
.site-footer {
  width: min(var(--max-page), 100%);
  margin: 0 auto;
  border-left: 1px solid var(--line-signal);
  border-right: 1px solid var(--line-signal);
}

.hero {
  position: relative;
  min-height: 540px;
  height: min(640px, calc(100svh - 185px));
  overflow: hidden;
  background: var(--surface-shell);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.9), rgba(3, 5, 6, 0.58) 28%, rgba(3, 5, 6, 0.08) 60%),
    linear-gradient(180deg, rgba(3, 5, 6, 0.01), rgba(3, 5, 6, 0.38));
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.02);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
  padding: clamp(34px, 4.4vw, 46px) var(--section-x) clamp(34px, 4.4vw, 46px);
}

.hero-logo {
  display: block;
  width: min(410px, 54vw);
  margin: 0 0 16px;
  filter: drop-shadow(0 0 22px rgba(237, 0, 255, 0.42));
}

.hero h1,
.hero p,
.ready-section h2,
.comms-section h2,
.contact-section h1,
.contact-section h2,
.updates-section h2 {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.78);
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 760;
}

.hero p {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--text-primary);
  font-size: 19px;
  line-height: 1.48;
  font-weight: 560;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.button {
  min-height: 50px;
  min-width: 218px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-magenta));
  box-shadow: var(--shadow-signal);
  font: 760 14px/1 var(--body);
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 3px;
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  filter: saturate(0.82);
}

.button-ghost {
  color: #f3c9ff;
  border: 1px solid var(--line-signal);
  background: rgba(0, 0, 0, 0.24);
  box-shadow: none;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7vw, 92px) var(--section-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 88% 0%, rgba(237, 0, 255, 0.09), transparent 23rem),
    linear-gradient(180deg, #090c0d, #050607);
}

.bagua-watermark {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(237, 0, 255, 0.34));
}

.for-watermark {
  right: -140px;
  top: -80px;
  width: min(570px, 48vw);
  opacity: 0.075;
}

.for-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 0.42fr) 1fr;
  gap: clamp(44px, 7vw, 90px);
  align-items: start;
}

.for-intro {
  padding: 10px 0 0;
}

.for-intro h2 {
  max-width: 430px;
  margin: 10px 0 18px;
  font-family: var(--display);
  font-size: 62px;
  line-height: 1.02;
  font-weight: 780;
  text-transform: uppercase;
}

.for-intro p:last-child {
  max-width: 510px;
  margin: 0;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.55;
}

.kicker {
  margin: 0;
  color: var(--accent-magenta);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-list {
  border-top: 1px solid var(--line-soft);
}

.signal-row {
  display: grid;
  grid-template-columns: 58px minmax(180px, 0.38fr) 1fr;
  gap: 28px;
  align-items: center;
  min-height: 142px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}

.signal-row span {
  color: var(--accent-magenta);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.signal-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 760;
  text-transform: uppercase;
}

.signal-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.5;
}

.bio-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 88px var(--section-x);
  border-top: 1px solid var(--line-soft);
  background: #070706;
}

.bio-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02) brightness(0.98);
  transform-origin: center;
}

.bio-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.92), rgba(3, 4, 5, 0.68) 36%, rgba(3, 4, 5, 0.08) 62%, rgba(3, 4, 5, 0) 100%),
    linear-gradient(0deg, rgba(3, 4, 5, 0.82), rgba(3, 4, 5, 0.18) 44%, rgba(3, 4, 5, 0) 78%),
    radial-gradient(circle at 22% 72%, rgba(237, 0, 255, 0.18), transparent 26rem);
}

.bio-content {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.bio-section h2,
.ready-section h2,
.comms-section h2,
.contact-section h1,
.contact-section h2,
.updates-section h2 {
  margin: 8px 0 20px;
  font-family: var(--display);
  font-size: 58px;
  line-height: 1.03;
  font-weight: 780;
  text-transform: uppercase;
}

.bio-section h2 {
  color: var(--accent-magenta);
}

.bio-section p:not(.kicker) {
  margin: 0 0 18px;
  color: #eee5dc;
  font-size: 19px;
  line-height: 1.64;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.82);
}

.bio-section strong {
  color: #fff;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(420px, 0.66fr);
  gap: clamp(34px, 6vw, 76px);
  padding: clamp(58px, 7vw, 84px) var(--section-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 82% 18%, rgba(83, 225, 255, 0.07), transparent 22rem),
    linear-gradient(180deg, #080909, #060606);
}

.method-copy h2 {
  max-width: 580px;
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 50px;
  line-height: 1.04;
  font-weight: 760;
  text-transform: uppercase;
}

.method-body {
  display: grid;
  gap: 18px;
  padding: 6px 0 30px;
}

.method-body p {
  max-width: 850px;
  margin: 0;
  color: #eee5dc;
  font-size: 18px;
  line-height: 1.62;
}

.method-steps {
  border-top: 1px solid var(--line-soft);
  grid-column: 2;
}

.method-steps article {
  display: grid;
  grid-template-columns: 54px minmax(190px, 0.36fr) 1fr;
  gap: 22px;
  align-items: center;
  min-height: 108px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.method-steps span {
  color: var(--accent-cyan);
  font-weight: 800;
}

.method-steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 760;
  text-transform: uppercase;
}

.method-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
}

.ready-section {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: #0c0907;
}

.ready-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.08) brightness(0.78);
}

.ready-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.88), rgba(3, 4, 5, 0.35) 58%, rgba(3, 4, 5, 0.58)),
    radial-gradient(circle at 62% 48%, rgba(237, 0, 255, 0.18), transparent 20rem);
}

.ready-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 76px 0 76px var(--section-x);
}

.ready-copy p:not(.kicker),
.comms-copy p,
.contact-copy p,
.updates-section p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
}

.comms-section {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 82px var(--section-x);
  border-top: 1px solid var(--line-soft);
  background: #050607;
}

.comms-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) saturate(1.06) contrast(1.05);
}

.comms-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 6, 0.9), rgba(3, 5, 6, 0.34) 54%, rgba(3, 5, 6, 0.82)),
    radial-gradient(circle at 28% 50%, rgba(237, 0, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 78% 36%, rgba(83, 225, 255, 0.14), transparent 20rem);
}

.bagua-comms {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  opacity: 0.24;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 36px rgba(237, 0, 255, 0.44));
}

.comms-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.comms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0 22px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.comms-list span {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #efe0f6;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-section,
.updates-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(320px, 0.56fr);
  gap: clamp(34px, 6vw, 72px);
  padding: clamp(62px, 7vw, 88px) var(--section-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 82% 20%, rgba(237, 0, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, #090a0b, #050607);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 70% 14%, rgba(237, 0, 255, 0.13), transparent 26rem),
    rgba(2, 3, 4, 0.78);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal.is-open {
  opacity: 1;
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(820px, calc(100svh - 80px));
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(24, 25, 27, 0.98), rgba(8, 9, 10, 0.98)),
    rgba(0, 0, 0, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.76), 0 0 46px rgba(237, 0, 255, 0.16);
}

.contact-dialog .contact-copy {
  max-width: 610px;
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 0 12px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.34);
  font: 720 12px/1 var(--body);
  text-transform: uppercase;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: #fff;
  outline: 2px solid rgba(237, 0, 255, 0.62);
  outline-offset: 2px;
}

.contact-section > :not(.contact-watermark),
.updates-section > * {
  position: relative;
  z-index: 1;
}

.contact-watermark {
  position: absolute;
  z-index: 0;
  right: -120px;
  top: -120px;
  width: 620px;
  opacity: 0.08;
}

.intake-form,
.newsletter-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.24);
}

.contact-modal .intake-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-modal .intake-form textarea {
  min-height: 118px;
}

.newsletter-form {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.intake-form label,
.newsletter-form label {
  display: grid;
  gap: 8px;
  color: #f5e6f7;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.intake-form input,
.intake-form textarea,
.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 14px;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.42);
  font: 600 16px/1.4 var(--body);
  color-scheme: dark;
}

.intake-form input:-webkit-autofill,
.intake-form input:-webkit-autofill:hover,
.intake-form input:-webkit-autofill:focus,
.newsletter-form input:-webkit-autofill,
.newsletter-form input:-webkit-autofill:hover,
.newsletter-form input:-webkit-autofill:focus {
  border-color: rgba(237, 0, 255, 0.46);
  -webkit-text-fill-color: var(--text-primary);
  caret-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px #111214 inset;
  transition: background-color 9999s ease-out;
}

.intake-form textarea {
  min-height: 150px;
  resize: vertical;
}

.intake-form input:focus,
.intake-form textarea:focus,
.newsletter-form input:focus {
  outline: 2px solid rgba(237, 0, 255, 0.7);
  outline-offset: 2px;
}

.form-feedback {
  position: relative;
  overflow: hidden;
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(237, 0, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(237, 0, 255, 0.08), rgba(83, 225, 255, 0.035)),
    rgba(0, 0, 0, 0.28);
  transform-origin: 50% 0;
  will-change: opacity, transform;
}

.form-feedback::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -54%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-16deg);
}

.is-submitting .form-feedback {
  display: grid;
  animation: feedbackSlideIn 280ms cubic-bezier(0.18, 0.86, 0.28, 1) both;
}

.is-complete .form-feedback {
  display: grid;
  animation: feedbackResolveIn 360ms cubic-bezier(0.18, 0.86, 0.28, 1) both;
}

.is-error .form-feedback {
  display: grid;
  animation: feedbackErrorIn 260ms ease-out both;
}

.is-submitting .form-feedback::before {
  opacity: 1;
  animation: feedbackScan 1200ms ease-in-out infinite;
}

.is-complete .form-feedback::before {
  opacity: 1;
  animation: feedbackFlashWipe 520ms cubic-bezier(0.18, 0.86, 0.28, 1) both;
}

.feedback-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.feedback-mark img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(237, 0, 255, 0.42));
}

.is-submitting .feedback-mark img {
  animation: baguaSpin 1200ms linear infinite;
}

.feedback-mark span {
  position: absolute;
  width: 22px;
  height: 12px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 0;
  transform: rotate(-45deg) scale(0.8);
  filter: drop-shadow(0 0 8px rgba(83, 225, 255, 0.8));
}

.is-complete .feedback-mark span {
  opacity: 1;
  animation: checkMarkIn 260ms ease-out both;
}

.is-error .feedback-mark img {
  filter: drop-shadow(0 0 14px rgba(255, 80, 80, 0.48));
}

.feedback-copy strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 780;
  text-transform: uppercase;
}

.feedback-copy p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.48;
}

.intake-form.is-resolving label,
.intake-form.is-resolving button[type="submit"],
.newsletter-form.is-resolving label,
.newsletter-form.is-resolving button[type="submit"] {
  overflow: hidden;
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: controlFlashWipe 220ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.intake-form.is-complete label,
.intake-form.is-complete button[type="submit"],
.newsletter-form.is-complete label,
.newsletter-form.is-complete button[type="submit"] {
  display: none;
}

.newsletter-form.is-complete {
  grid-template-columns: 1fr;
}

.contact-modal .intake-form.is-complete .form-feedback {
  min-height: 150px;
}

.updates-section {
  grid-template-columns: minmax(280px, 0.52fr) minmax(320px, 0.48fr);
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
  background:
    radial-gradient(circle at 16% 24%, rgba(83, 225, 255, 0.08), transparent 20rem),
    linear-gradient(180deg, #070909, #040506);
}

.updates-section h2 {
  max-width: 620px;
  font-size: 46px;
}

.updates-section p {
  max-width: 650px;
  font-size: 16px;
}

.updates-section .newsletter-form {
  width: min(540px, 100%);
  justify-self: end;
  padding: 18px;
  gap: 12px;
}

.updates-section .newsletter-form input {
  padding: 12px 13px;
}

.updates-section .newsletter-form .button {
  min-width: 170px;
  min-height: 48px;
}

.site-footer {
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px var(--section-x);
  border-top: 1px solid var(--line-soft);
  background: #040506;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-brand img {
  width: 46px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(237, 0, 255, 0.26));
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: none;
}

.contact-section.contact-called {
  animation: contactPulse 1200ms ease-out;
}

.legal-page {
  min-height: calc(100svh - 210px);
  padding: clamp(62px, 7vw, 96px) var(--section-x);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 82% 16%, rgba(237, 0, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, #090a0b, #050607);
}

.legal-page h1 {
  margin: 10px 0 28px;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  text-transform: uppercase;
}

.legal-page p {
  max-width: 820px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.legal-page a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent-magenta);
  text-underline-offset: 4px;
}

@keyframes contactPulse {
  0% { box-shadow: inset 0 0 0 0 rgba(237, 0, 255, 0); }
  32% { box-shadow: inset 0 0 0 2px rgba(237, 0, 255, 0.45), inset 0 0 44px rgba(237, 0, 255, 0.16); }
  100% { box-shadow: inset 0 0 0 0 rgba(237, 0, 255, 0); }
}

@keyframes baguaSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes feedbackSlideIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes feedbackResolveIn {
  0% {
    opacity: 0;
    transform: translate3d(14px, 0, 0) scale(0.985);
  }
  62% {
    opacity: 1;
    transform: translate3d(-2px, 0, 0) scale(1.006);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes feedbackErrorIn {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes feedbackScan {
  0% { transform: translateX(0) skewX(-16deg); }
  100% { transform: translateX(320%) skewX(-16deg); }
}

@keyframes feedbackFlashWipe {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-16deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(320%) skewX(-16deg);
  }
}

@keyframes controlFlashWipe {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: brightness(1);
  }
  42% {
    opacity: 0.88;
    transform: translate3d(10px, 0, 0);
    filter: brightness(1.8);
  }
  100% {
    opacity: 0;
    transform: translate3d(-16px, 0, 0);
    filter: brightness(0.7);
  }
}

@keyframes checkMarkIn {
  from {
    opacity: 0;
    transform: rotate(-45deg) scale(0.55);
  }
  to {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-feedback,
  .form-feedback::before,
  .intake-form.is-resolving label,
  .intake-form.is-resolving button[type="submit"],
  .newsletter-form.is-resolving label,
  .newsletter-form.is-resolving button[type="submit"],
  .is-submitting .feedback-mark img,
  .is-complete .feedback-mark span {
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 82px;
  }

  .brand-link img {
    height: 54px;
  }

  .site-nav a:not(.nav-action):not([href="#updates"]) {
    display: none;
  }

  .nav-action {
    min-width: 86px;
  }

  .hero {
    height: auto;
    min-height: 590px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(3, 5, 6, 0.8), rgba(3, 5, 6, 0.26)),
      linear-gradient(0deg, rgba(3, 5, 6, 0.72), rgba(3, 5, 6, 0.08) 52%);
  }

  .hero-bg {
    object-position: 62% center;
  }

  .hero-copy {
    display: flex;
    min-height: 590px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 58px 20px 40px;
  }

  .hero-logo {
    width: min(310px, 88vw);
    margin-bottom: 18px;
  }

  .actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .actions .button,
  .newsletter-form .button {
    width: 100%;
  }

  .for-layout,
  .method-section,
  .comms-section,
  .contact-section,
  .updates-section {
    grid-template-columns: 1fr;
  }

  .for-intro h2 {
    max-width: 560px;
  }

  .signal-row {
    grid-template-columns: 44px 1fr;
    gap: 16px 22px;
    align-items: start;
    min-height: 0;
  }

  .method-steps article {
    grid-template-columns: 44px 1fr;
    gap: 12px 18px;
    align-items: start;
  }

  .method-body,
  .method-steps {
    grid-column: auto;
  }

  .method-body {
    padding-bottom: 20px;
  }

  .method-body p {
    font-size: 17px;
  }

  .method-steps p {
    grid-column: 2;
  }

  .signal-row p {
    grid-column: 2;
  }

  .bio-section {
    min-height: 0;
    align-items: flex-end;
    padding: 150px 20px 44px;
  }

  .bio-bg {
    object-position: 72% bottom;
    filter: saturate(1) contrast(1.02) brightness(0.9);
    transform: scale(1.16);
    transform-origin: 72% bottom;
  }

  .bio-section::after {
    background:
      linear-gradient(0deg, rgba(3, 4, 5, 0.84), rgba(3, 4, 5, 0.28) 50%, rgba(3, 4, 5, 0) 78%),
      linear-gradient(90deg, rgba(3, 4, 5, 0.7), rgba(3, 4, 5, 0.18) 48%, rgba(3, 4, 5, 0) 82%);
  }

  .bio-section p:not(.kicker) {
    font-size: 17px;
  }

  .ready-copy {
    padding: 58px 20px;
  }

  .comms-section {
    min-height: 0;
    align-items: start;
    padding-top: 50px;
  }

  .bagua-comms {
    position: absolute;
    top: 34px;
    left: 50%;
    width: min(360px, 92vw);
    max-width: none;
    opacity: 0.16;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
  }

  .comms-copy {
    z-index: 2;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .contact-dialog {
    max-height: calc(100svh - 28px);
  }

  .updates-section .newsletter-form {
    justify-self: stretch;
    padding: 16px;
  }

  .comms-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 16px;
  }

  .brand-link img {
    height: 46px;
  }

  .site-nav a[href="#updates"] {
    display: none;
  }

  .hero-copy {
    min-height: 570px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    font-size: 16px;
  }

  .button {
    min-width: 0;
  }

  .section,
  .method-section,
  .comms-section,
  .contact-section,
  .updates-section {
    width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 20px;
    padding-right: 20px;
  }

  .for-watermark {
    display: none;
  }

  .for-intro h2,
  .bio-section h2,
  .ready-section h2,
  .comms-section h2,
  .contact-section h1,
  .contact-section h2,
  .updates-section h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  .bio-section {
    padding-top: 146px;
  }

  .updates-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .updates-section p {
    font-size: 15px;
  }

  .intake-form,
  .newsletter-form {
    padding: 16px;
  }
}
