:root {
  --bg: #050504;
  --bg-2: #0b0a08;
  --panel: rgba(15, 14, 11, 0.78);
  --panel-strong: rgba(18, 17, 14, 0.92);
  --text: #f4efe4;
  --muted: rgba(244, 239, 228, 0.72);
  --soft: rgba(244, 239, 228, 0.52);
  --faint: rgba(244, 239, 228, 0.16);
  --line: rgba(220, 183, 94, 0.18);
  --line-strong: rgba(220, 183, 94, 0.42);
  --gold: #d7b866;
  --gold-2: #f0d58a;
  --earth: #8c7154;
  --ink: #070604;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --pad: clamp(18px, 5vw, 58px);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 12%, rgba(215, 184, 102, 0.12), transparent 32rem),
    linear-gradient(180deg, #050504 0%, #090806 52%, #050504 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.76' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.62 0 0 0 0 0.35 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.38;
  mix-blend-mode: overlay;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  padding: 14px var(--pad);
  border-bottom: 1px solid rgba(215, 184, 102, 0.14);
  background: rgba(5, 5, 4, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
}

.brand__name span {
  color: var(--gold);
}

.nav {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: calc(100% + 1px);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(215, 184, 102, 0.18);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(5, 5, 4, 0.96);
  color: var(--soft);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-2);
}

.nav__talk {
  color: var(--gold);
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 36px;
  padding: 8px 5px;
  border: 0;
  background: transparent;
  color: var(--gold);
}

.menu-lines span {
  display: block;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.96) 0%, rgba(5, 5, 4, 0.76) 43%, rgba(5, 5, 4, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.02) 0%, rgba(5, 5, 4, 0.42) 68%, #050504 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 28%, rgba(240, 213, 138, 0.16), transparent 14rem),
    url("data:image/svg+xml,%3Csvg width='900' height='900' viewBox='0 0 900 900' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d7b866' stroke-opacity='.22' stroke-width='1'%3E%3Ccircle cx='660' cy='250' r='210'/%3E%3Ccircle cx='660' cy='250' r='340'/%3E%3Cpath d='M130 650 C 320 360, 510 700, 810 210'/%3E%3Cpath d='M210 120 C 430 430, 590 160, 820 570'/%3E%3C/g%3E%3Cg fill='%23d7b866' fill-opacity='.34'%3E%3Ccircle cx='328' cy='431' r='3'/%3E%3Ccircle cx='600' cy='308' r='3'/%3E%3Ccircle cx='742' cy='482' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-size: min(150vw, 980px) min(150vw, 980px);
  mix-blend-mode: screen;
  opacity: 0.46;
}

.hero--home {
  --hero-image: image-set(
    url("/assets/mrc-home-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-home-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-home-hero.png") type("image/png")
  );
}

.hero--personal {
  --hero-image: image-set(
    url("/assets/mrc-personal-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-personal-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-personal-hero.png") type("image/png")
  );
}

.hero--collective {
  --hero-image: image-set(
    url("/assets/mrc-collective-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-collective-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-collective-hero.png") type("image/png")
  );
}

.hero--readiness {
  --hero-image: image-set(
    url("/assets/mrc-readiness-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-readiness-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-readiness-hero.png") type("image/png")
  );
}

.hero--readiness-crisis {
  --hero-image: image-set(
    url("/assets/mrc-readiness-crisis-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-readiness-crisis-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-readiness-crisis-hero.png") type("image/png")
  );
  background-position: 58% center;
}

.hero--readiness-ai {
  --hero-image: image-set(
    url("/assets/mrc-readiness-ai-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-readiness-ai-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-readiness-ai-hero.png") type("image/png")
  );
  background-position: 62% center;
}

.hero--readiness-continuity {
  --hero-image: image-set(
    url("/assets/mrc-readiness-continuity-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-readiness-continuity-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-readiness-continuity-hero.png") type("image/png")
  );
  background-position: 56% center;
}

.hero__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 108px) var(--pad) clamp(46px, 8vw, 96px);
  min-width: 0;
}

.hero__content {
  max-width: 660px;
}

.readiness-detail .hero__content {
  max-width: 860px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.35;
  text-transform: uppercase;
}

.kicker::after,
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.74;
}

.eyebrow::before {
  width: 42px;
}

.hero h1,
.display-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 12vw, 7.6rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: 0;
}

.readiness-detail .hero h1 {
  font-size: clamp(2.65rem, 8.6vw, 6.25rem);
  line-height: 0.94;
}

.hero h1 em,
.display-title em,
.section-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero__plain {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(244, 239, 228, 0.84);
  font-size: clamp(1.05rem, 3.7vw, 1.34rem);
  line-height: 1.52;
}

.hero__plain strong {
  color: var(--text);
  font-weight: 400;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--gold-2);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 100%;
}

.button::after,
.text-link::after,
.portal__arrow::after {
  content: "->";
  margin-left: 12px;
}

.button--primary {
  background: linear-gradient(135deg, #f0d58a, #c99e43);
  color: var(--ink);
  border-color: transparent;
}

.button:hover,
.button:focus-visible {
  border-color: var(--gold-2);
  background: rgba(215, 184, 102, 0.11);
  transform: translateY(-1px);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(135deg, #ffe29a, #d7ad50);
  color: var(--ink);
}

.section {
  padding: clamp(58px, 9vw, 108px) var(--pad);
}

.section--tight {
  padding-top: clamp(42px, 7vw, 76px);
  padding-bottom: clamp(42px, 7vw, 76px);
}

.section--line {
  border-top: 1px solid rgba(215, 184, 102, 0.13);
  border-bottom: 1px solid rgba(215, 184, 102, 0.13);
  background: rgba(255, 255, 255, 0.018);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-width: 0;
}

.section-title {
  max-width: 820px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 8vw, 4.7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-lede {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2.4vw, 1.24rem);
  line-height: 1.58;
}

.meaning-grid {
  display: grid;
  gap: 34px;
}

.meaning-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.identity-mark {
  display: block;
  width: min(100%, 278px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.portal-grid {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.portal {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(215, 184, 102, 0.24);
  border-radius: 8px;
  background: #0d0c0a;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.portal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--portal-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.92);
  transition: transform 700ms ease, filter 700ms ease;
}

.portal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 32% 26%, rgba(215, 184, 102, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.14), rgba(5, 5, 4, 0.78) 64%, rgba(5, 5, 4, 0.92));
}

.portal:hover::before,
.portal:focus-visible::before {
  transform: scale(1.04);
  filter: saturate(1.02);
}

.portal--personal {
  --portal-image: image-set(
    url("/assets/mrc-personal-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-personal-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-personal-hero.png") type("image/png")
  );
}

.portal--collective {
  --portal-image: image-set(
    url("/assets/mrc-collective-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-collective-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-collective-hero.png") type("image/png")
  );
}

.portal--readiness {
  --portal-image: image-set(
    url("/assets/mrc-readiness-hero-desktop-v1.avif") type("image/avif"),
    url("/assets/mrc-readiness-hero-desktop-v1.webp") type("image/webp"),
    url("/assets/mrc-readiness-hero.png") type("image/png")
  );
}

.portal__body {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.portal__label,
.pathway__label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.portal h3 {
  margin-top: 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.15rem);
  font-weight: 600;
  line-height: 0.96;
}

.portal p {
  max-width: 20rem;
  margin-top: 16px;
  color: rgba(244, 239, 228, 0.78);
}

.portal__arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--gold-2);
  font-weight: 600;
}

.closing {
  display: grid;
  gap: 34px;
  align-items: center;
}

.closing__line {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 4.1rem);
  font-style: italic;
  line-height: 1.02;
}

.territory-intro {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 1.1rem;
}

.focus-list {
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.focus-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(215, 184, 102, 0.17);
}

.focus-item:last-child {
  border-bottom: 1px solid rgba(215, 184, 102, 0.17);
}

.icon-ring {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.icon-ring svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.35;
  fill: none;
}

.focus-item h2,
.pathway h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
}

.focus-item p,
.pathway p {
  margin-top: 9px;
  color: var(--muted);
}

.feature-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 184, 102, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(215, 184, 102, 0.1), rgba(255, 255, 255, 0.025));
  padding: clamp(26px, 5vw, 44px);
}

.feature-band::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  width: 240px;
  height: 240px;
  transform: translateY(-50%);
  border: 1px solid rgba(215, 184, 102, 0.16);
  border-radius: 50%;
}

.feature-band h2 {
  max-width: 660px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 3.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.02;
}

.feature-band p {
  max-width: 650px;
  margin-top: 16px;
  color: var(--muted);
}

.pathway-grid {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.pathway {
  display: block;
  min-height: 100%;
  border: 1px solid rgba(215, 184, 102, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.88), rgba(8, 7, 5, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(215, 184, 102, 0.12), transparent 55%);
  padding: clamp(24px, 4vw, 34px);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pathway:hover,
.pathway:focus-visible {
  border-color: rgba(240, 213, 138, 0.42);
  background:
    linear-gradient(180deg, rgba(24, 21, 16, 0.92), rgba(8, 7, 5, 0.96)),
    radial-gradient(circle at 78% 2%, rgba(215, 184, 102, 0.16), transparent 58%);
  transform: translateY(-2px);
}

.pathway__seal {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.pathway__seal svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  stroke-width: 1.2;
  fill: none;
}

.pathway .text-link {
  margin-top: 20px;
}

.detail-intro {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  gap: 34px;
}

.evidence-list {
  display: grid;
  gap: 22px;
}

.evidence-list p {
  padding-top: 22px;
  border-top: 1px solid rgba(215, 184, 102, 0.17);
  color: var(--muted);
}

.evidence-list strong {
  color: var(--gold-2);
  font-weight: 500;
}

.route-panel {
  position: relative;
  display: grid;
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgba(215, 184, 102, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 184, 102, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(13, 12, 10, 0.78);
  padding: clamp(28px, 5vw, 50px);
}

.route-panel::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(215, 184, 102, 0.14);
  border-radius: 50%;
}

.motif-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 184, 102, 0.36);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-2);
  border-color: var(--gold-2);
}

.article {
  width: min(100%, 760px);
  margin: 0 auto;
}

.article h1 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 6.4rem);
  font-weight: 600;
  line-height: 0.94;
}

.standfirst {
  margin-top: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(215, 184, 102, 0.18);
  color: var(--gold-2);
  font-size: 1.12rem;
  line-height: 1.62;
}

.article-body {
  margin-top: 38px;
}

.article-body p {
  margin-bottom: 1.45em;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
}

.article-body .beat {
  margin-top: 2em;
  margin-bottom: 1.2em;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.28;
}

.context-note,
.small-print {
  margin-top: 34px;
  color: var(--soft);
  font-size: 0.95rem;
}

.scan-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.scan-card {
  border: 1px solid rgba(215, 184, 102, 0.22);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(24px, 5vw, 34px);
  color: inherit;
  text-decoration: none;
}

.scan-card h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.05;
}

.scan-card p {
  margin-top: 12px;
  color: var(--muted);
}

.scan-card span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 600;
}

.bridge-page {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
}

.footer {
  border-top: 1px solid rgba(215, 184, 102, 0.16);
  padding: 36px var(--pad) 42px;
}

.footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.footer__idea {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3.35rem);
  font-style: italic;
  line-height: 1.04;
}

.footer__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--soft);
  font-size: 0.88rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer__links a {
  color: var(--soft);
  text-decoration: none;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--gold);
}

.hero--why {
  min-height: min(760px, 86svh);
}

.article--wide {
  max-width: 980px;
}

.contact-page {
  padding-top: calc(var(--header-h) + 72px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.74fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(231, 191, 99, 0.22);
  background:
    linear-gradient(135deg, rgba(231, 191, 99, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(231, 191, 99, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
  padding: 12px 13px;
}

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

.contact-form__bot {
  display: none;
}

.contact-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(231, 191, 99, 0.18);
}

.contact-note h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
}

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

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (min-width: 720px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .menu-lines {
    display: none;
  }

  .actions {
    flex-direction: row;
  }

  .button {
    width: auto;
    min-width: 220px;
  }

  .meaning-grid,
  .closing,
  .detail-grid,
  .route-panel {
    grid-template-columns: 0.95fr 1.05fr;
  }

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

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

  .footer__row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 899px) {
  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero--home {
    --hero-image: image-set(url("/assets/mrc-home-hero-mobile.webp") type("image/webp"), url("/assets/mrc-home-hero.png") type("image/png"));
  }

  .hero--personal {
    --hero-image: image-set(url("/assets/mrc-personal-hero-mobile.webp") type("image/webp"), url("/assets/mrc-personal-hero.png") type("image/png"));
  }

  .hero--collective {
    --hero-image: image-set(url("/assets/mrc-collective-hero-mobile.webp") type("image/webp"), url("/assets/mrc-collective-hero.png") type("image/png"));
  }

  .hero--readiness {
    --hero-image: image-set(url("/assets/mrc-readiness-hero-mobile.webp") type("image/webp"), url("/assets/mrc-readiness-hero.png") type("image/png"));
  }

  .hero--readiness-crisis {
    --hero-image: image-set(url("/assets/mrc-readiness-crisis-hero-mobile.webp") type("image/webp"), url("/assets/mrc-readiness-crisis-hero.png") type("image/png"));
  }

  .hero--readiness-ai {
    --hero-image: image-set(url("/assets/mrc-readiness-ai-hero-mobile.webp") type("image/webp"), url("/assets/mrc-readiness-ai-hero.png") type("image/png"));
  }

  .hero--readiness-continuity {
    --hero-image: image-set(url("/assets/mrc-readiness-continuity-hero-mobile.webp") type("image/webp"), url("/assets/mrc-readiness-continuity-hero.png") type("image/png"));
  }

  .nav {
    display: none;
  }

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

  .menu-lines {
    display: grid;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .menu-lines {
    display: none;
  }
}

@media (min-width: 1080px) {
  .portal {
    min-height: 520px;
  }

  .hero__content {
    max-width: 720px;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 66px;
  }

  body {
    font-size: 16px;
  }

  .brand__name {
    font-size: 1.04rem;
  }

  .brand__mark {
    width: 21px;
    height: 21px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(5, 5, 4, 0.08) 0%, rgba(5, 5, 4, 0.2) 30%, rgba(5, 5, 4, 0.66) 57%, #050504 97%),
      radial-gradient(circle at 72% 22%, rgba(240, 213, 138, 0.16), transparent 38%),
      var(--hero-image);
    background-position: center top;
    background-size: cover;
  }

  .hero::before {
    background-position: 56% 6%;
    background-size: 780px 780px;
    opacity: 0.62;
  }

  .hero--readiness-crisis {
    background-position: 66% top, 66% top, 66% top;
  }

  .hero--readiness-ai {
    background-position: 58% top, 58% top, 58% top;
  }

  .hero--readiness-continuity {
    background-position: 48% top, 48% top, 48% top;
  }

  .hero__inner {
    padding-top: clamp(258px, 42svh, 380px);
    padding-bottom: 54px;
  }

  .readiness-detail .hero__inner {
    padding-top: clamp(286px, 45svh, 410px);
  }

  .kicker,
  .eyebrow,
  .portal__label,
  .pathway__label {
    letter-spacing: 0.18em;
  }

  .focus-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

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

  .icon-ring {
    width: 44px;
    height: 44px;
  }
}

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

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

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

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