:root {
  --navy-990: #02070d;
  --navy-960: #050d16;
  --navy-930: #07131f;
  --navy-880: #0b1b2a;
  --charcoal: #11161b;
  --gold: #c99a3d;
  --gold-soft: #e5c477;
  --gold-dim: rgba(201, 154, 61, 0.18);
  --white: #f6efe4;
  --muted: #b7bebc;
  --faint: rgba(246, 239, 228, 0.08);
  --line: rgba(229, 196, 119, 0.18);
  --radius: 6px;
  --container: 1280px;
  --page-pad: max(20px, calc((100vw - var(--container)) / 2));
  --heading-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--navy-990);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(246, 239, 228, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 239, 228, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(201, 154, 61, 0.13), transparent 28%),
    radial-gradient(circle at 10% 72%, rgba(229, 196, 119, 0.06), transparent 26%),
    var(--navy-990);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(3.5rem, 6.1vw, 6.15rem);
  text-transform: uppercase;
}

h2 {
  max-width: 900px;
  font-size: clamp(2.15rem, 4vw, 4.05rem);
}

h3 {
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.25;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px var(--page-pad);
  background: rgba(2, 7, 13, 0.58);
  border-bottom: 1px solid rgba(229, 196, 119, 0.12);
  backdrop-filter: blur(9px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-width: 0;
}

.brand-mark img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 1px solid rgba(229, 196, 119, 0.22);
}

.brand-mark span {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-mark strong {
  color: var(--gold-soft);
  font-size: 1.26rem;
  font-weight: 800;
}

.brand-mark small {
  color: rgba(246, 239, 228, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: rgba(246, 239, 228, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-soft);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(229, 196, 119, 0.28);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.dark-surface {
  position: relative;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), transparent 34%),
    var(--navy-990);
}

.section {
  overflow: hidden;
  padding: clamp(88px, 7vw, 118px) var(--page-pad);
  border-top: 1px solid rgba(246, 239, 228, 0.06);
}

.section::after {
  position: absolute;
  right: var(--page-pad);
  bottom: 26px;
  width: 132px;
  height: 84px;
  content: "";
  background:
    linear-gradient(128deg, transparent 0 48%, rgba(229, 196, 119, 0.1) 48.4% 49%, transparent 49.4%),
    linear-gradient(90deg, transparent 0 66%, rgba(229, 196, 119, 0.07) 66.4% 67%, transparent 67.4%);
  opacity: 0.42;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  position: absolute;
  top: 32px;
  right: var(--page-pad);
  color: rgba(229, 196, 119, 0.34);
}

.section-heading {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 42px;
}

.section-heading h2 {
  max-width: var(--heading-width);
}

.section-heading.compact {
  margin-bottom: 34px;
}

.diagnostic .section-heading,
.difference .section-heading,
.knowledge .section-heading {
  text-align: center;
}

.diagnostic .section-heading h2,
.difference .section-heading h2,
.knowledge .section-heading h2 {
  margin-inline: auto;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 708px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 118px 0 42px calc(var(--page-pad) + clamp(0px, 3vw, 54px));
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.93) 0%, rgba(2, 7, 13, 0.72) 47%, rgba(2, 7, 13, 0.18) 100%),
    linear-gradient(rgba(246, 239, 228, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 239, 228, 0.016) 1px, transparent 1px),
    radial-gradient(circle at 78% 40%, rgba(201, 154, 61, 0.18), transparent 32%);
  background-size: auto, 54px 54px, 54px 54px, auto;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 6vw;
  top: 20vh;
  z-index: 1;
  width: min(36vw, 540px);
  height: min(24vw, 360px);
  content: "";
  background:
    linear-gradient(128deg, transparent 0 47%, rgba(229, 196, 119, 0.16) 47.4% 48.2%, transparent 48.6% 100%),
    linear-gradient(52deg, transparent 0 47%, rgba(229, 196, 119, 0.11) 47.4% 48.2%, transparent 48.6% 100%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 3;
  max-width: 790px;
}

.hero h1 {
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(246, 239, 228, 0.78);
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
}

.philosophy {
  max-width: 675px;
  margin: 24px 0 0;
  padding: 17px 0 0;
  color: var(--gold-soft);
  border-top: 1px solid var(--line);
  font-weight: 650;
}

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

.hero-cta-note {
  margin: 12px 0 0;
  color: rgba(246, 239, 228, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: var(--navy-990);
  background: var(--gold-soft);
}

.button-secondary {
  color: var(--white);
  background: rgba(246, 239, 228, 0.035);
  border-color: rgba(229, 196, 119, 0.24);
}

.button:hover {
  border-color: var(--gold-soft);
  box-shadow: 0 0 24px rgba(229, 196, 119, 0.16);
}

.hero-portrait {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: end;
  width: min(48vw, 720px);
  min-width: 430px;
  margin-right: clamp(-86px, -4vw, -34px);
}

.hero-portrait::before {
  position: absolute;
  inset: 12% -14% -8% 20%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(229, 196, 119, 0.14), transparent 68%);
  filter: blur(6px);
}

.hero-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 0.9 / 1;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(1.04) drop-shadow(0 28px 44px rgba(0, 0, 0, 0.38));
  -webkit-mask-image:
    radial-gradient(ellipse at 51% 38%, #000 0%, #000 56%, rgba(0, 0, 0, 0.72) 66%, transparent 83%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse at 51% 38%, #000 0%, #000 56%, rgba(0, 0, 0, 0.72) 66%, transparent 83%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  mask-composite: intersect;
}

.market-texture {
  position: absolute;
  right: 5vw;
  bottom: 8vh;
  z-index: 1;
  width: min(42vw, 620px);
  height: 260px;
  opacity: 0.2;
  pointer-events: none;
}

.market-texture::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(229, 196, 119, 0.5) 12% 12.4%, transparent 12.4% 100%),
    linear-gradient(180deg, transparent 0 42%, rgba(229, 196, 119, 0.22) 42% 42.4%, transparent 42.4% 100%),
    linear-gradient(22deg, transparent 0 49%, rgba(229, 196, 119, 0.18) 49% 49.3%, transparent 49.4% 100%);
  background-size: 80px 100%, 100% 44px, 100% 100%;
}

.market-texture span {
  position: absolute;
  bottom: 0;
  width: 2px;
  background: var(--gold-soft);
}

.market-texture span:nth-child(1) { left: 12%; height: 72px; }
.market-texture span:nth-child(2) { left: 28%; height: 142px; }
.market-texture span:nth-child(3) { left: 46%; height: 96px; }
.market-texture span:nth-child(4) { left: 64%; height: 188px; }
.market-texture span:nth-child(5) { left: 82%; height: 128px; }

.manifesto {
  padding: 28px var(--page-pad);
  border-top: 1px solid rgba(229, 196, 119, 0.14);
  border-bottom: 1px solid rgba(229, 196, 119, 0.14);
}

.manifesto p {
  max-width: var(--container);
  margin: 0 auto;
  color: rgba(246, 239, 228, 0.84);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}

.diagnostic {
  background:
    radial-gradient(circle at 14% 0%, rgba(229, 196, 119, 0.08), transparent 24%),
    var(--navy-960);
}

.diagnostic-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--faint);
  border-left: 1px solid var(--faint);
}

.diagnostic-matrix article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  background: rgba(246, 239, 228, 0.018);
  border-right: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.diagnostic-matrix article::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 220ms ease, transform 420ms ease;
}

.diagnostic-matrix article:nth-child(7) {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.diagnostic-matrix article:hover {
  background: rgba(229, 196, 119, 0.045);
  border-color: rgba(229, 196, 119, 0.18);
  box-shadow: inset 0 0 0 1px rgba(229, 196, 119, 0.14), 0 0 28px rgba(229, 196, 119, 0.055);
}

.diagnostic-matrix article:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.diagnostic-matrix svg {
  width: 28px;
  height: 28px;
  margin: 0 auto 18px;
  color: var(--gold-soft);
  stroke: currentColor;
  stroke-width: 1.55;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnostic-matrix span,
.framework-axis span,
.value-columns span,
.editorial-grid span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.diagnostic-matrix span,
.framework-axis span,
.value-columns span,
.editorial-grid span {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  background: rgba(2, 7, 13, 0.28);
  border: 1px solid rgba(229, 196, 119, 0.55);
  border-radius: 50%;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.diagnostic-matrix article:hover span,
.framework-axis article:hover span,
.value-columns article:hover span,
.editorial-grid article:hover span {
  background: rgba(229, 196, 119, 0.045);
  border-color: rgba(229, 196, 119, 0.76);
  box-shadow: 0 0 18px rgba(229, 196, 119, 0.14);
}

.diagnostic-matrix h3,
.framework-axis h3,
.editorial-grid h3 {
  margin-top: 10px;
  color: var(--white);
}

.diagnostic-matrix span,
.editorial-grid span,
.value-columns span {
  margin-inline: auto;
}

.diagnostic-matrix h3,
.editorial-grid h3,
.value-columns h2 {
  text-align: center;
}

.diagnostic-matrix p,
.editorial-grid p {
  max-width: 260px;
  margin-inline: auto;
  text-align: left;
}

.diagnostic-matrix article:nth-child(7) p {
  max-width: 320px;
  margin: 10px auto 0;
  line-height: 1.56;
  text-align: center;
}

.diagnostic-matrix p,
.framework-axis p,
.value-columns p,
.about-story p,
.editorial-grid p,
.contact-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.framework-axis p {
  color: rgba(246, 239, 228, 0.78);
}

.flow-compare {
  display: grid;
  gap: 34px;
  max-width: var(--container);
  margin: 0 auto;
}

.flow-compare article {
  padding: 28px 0;
  border-top: 1px solid var(--faint);
}

.flow-compare h3 {
  color: rgba(246, 239, 228, 0.72);
}

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

.flow-line {
  display: grid;
  gap: 22px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

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

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

.flow-line li {
  position: relative;
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px 10px;
  color: rgba(246, 239, 228, 0.72);
  background: rgba(246, 239, 228, 0.025);
  border: 1px solid rgba(246, 239, 228, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.preferred-flow .flow-line li {
  color: rgba(246, 239, 228, 0.92);
  background: rgba(229, 196, 119, 0.035);
  border-color: rgba(229, 196, 119, 0.32);
}

.flow-line li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -22px;
  width: 22px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(246, 239, 228, 0.44), transparent);
  animation: linePulse 2.8s ease-in-out infinite;
}

.flow-line li:not(:last-child)::before {
  position: absolute;
  top: calc(50% - 4px);
  right: -24px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid rgba(246, 239, 228, 0.44);
  border-right: 1px solid rgba(246, 239, 228, 0.44);
  transform: rotate(45deg);
}

.preferred-flow .flow-line li:not(:last-child)::after {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.preferred-flow .flow-line li:not(:last-child)::before {
  border-color: var(--gold-soft);
}

.vh6-system {
  background:
    linear-gradient(180deg, rgba(201, 154, 61, 0.04), transparent 22%),
    var(--navy-930);
}

.vh6-system .section-heading h2 {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

.vh6-system .section-heading {
  text-align: center;
}

.framework-axis {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.framework-axis::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--gold-soft), rgba(229, 196, 119, 0.08));
}

.framework-axis::after {
  position: absolute;
  top: 0;
  left: 54px;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(var(--gold-soft), transparent);
  transform: scaleY(0);
  transform-origin: top;
  animation: axisDraw 2.8s ease-out forwards;
}

.framework-axis article {
  position: relative;
  display: grid;
  grid-template-columns: 84px 44px minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 22px;
  align-items: center;
  min-height: 118px;
  padding: 24px 0 24px 0;
  border-bottom: 1px solid var(--faint);
}

.framework-axis article::before {
  position: absolute;
  top: 50%;
  left: 49px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--gold-soft);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 22px rgba(229, 196, 119, 0.28);
}

.framework-axis span {
  position: relative;
  z-index: 2;
  padding-left: 0;
}

.framework-axis i {
  position: relative;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid rgba(229, 196, 119, 0.22);
  border-radius: 50%;
  font-style: normal;
  font-size: 1rem;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.framework-axis article:hover i {
  background: rgba(229, 196, 119, 0.08);
  box-shadow: 0 0 24px rgba(229, 196, 119, 0.13);
}

.framework-axis strong {
  color: rgba(246, 239, 228, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: right;
}

.values {
  background: var(--navy-990);
}

.value-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-columns article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid var(--faint);
}

.value-columns article:last-child {
  border-right: 0;
}

.value-columns h2 {
  margin-top: 68px;
  color: var(--white);
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
}

.value-columns p {
  max-width: 310px;
  margin-inline: auto;
  color: rgba(246, 239, 228, 0.82);
  text-align: left;
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
  padding-inline: var(--page-pad);
  background:
    radial-gradient(circle at 23% 44%, rgba(229, 196, 119, 0.1), transparent 28%),
    var(--navy-930);
}

.about-image {
  position: relative;
  max-width: 540px;
  justify-self: center;
}

.about-image::before {
  position: absolute;
  inset: 9% -10% -6% 18%;
  content: "";
  background: rgba(229, 196, 119, 0.08);
  filter: blur(3px);
}

.about-image img {
  position: relative;
  aspect-ratio: 0.88 / 1;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95) contrast(1.04);
  mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
}

.about-story {
  max-width: 640px;
}

.about-story p {
  max-width: 620px;
  color: rgba(246, 239, 228, 0.82);
  font-size: 1.02rem;
}

.knowledge {
  background:
    linear-gradient(rgba(246, 239, 228, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 239, 228, 0.02) 1px, transparent 1px),
    var(--navy-960);
  background-size: 38px 38px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--faint);
  border-left: 1px solid var(--faint);
}

.editorial-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
  border-right: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.editorial-grid article:nth-child(1),
.editorial-grid article:nth-child(4) {
  grid-column: span 2;
}

.editorial-grid article::after {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid rgba(229, 196, 119, 0.12);
  border-radius: 50%;
}

.editorial-grid h3 {
  margin-top: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
}

.editorial-grid em {
  display: block;
  max-width: 240px;
  margin-top: 18px;
  margin-inline: auto;
  color: rgba(229, 196, 119, 0.8);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.editorial-grid p {
  max-width: 270px;
  margin: 12px auto 0;
  color: rgba(246, 239, 228, 0.76);
  font-size: 0.9rem;
  line-height: 1.56;
  text-align: center;
}

.contact {
  padding-block: clamp(74px, 6vw, 98px);
  background: var(--navy-990);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.52fr);
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-panel h2 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.45rem);
}

.contact-panel h3 {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.05;
}

.contact-panel p {
  max-width: 700px;
  color: rgba(246, 239, 228, 0.78);
}

.contact-form {
  display: grid;
  gap: 13px;
  width: 100%;
  max-width: 360px;
  justify-self: center;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(246, 239, 228, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(229, 196, 119, 0.24);
  border-radius: 0;
  font: inherit;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus {
  outline: 0;
  border-bottom-color: var(--gold-soft);
}

.contact-form .button {
  margin-top: 10px;
}

.privacy-note {
  display: block;
  color: rgba(246, 239, 228, 0.52);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  color: rgba(246, 239, 228, 0.62);
  background: #010409;
  border-top: 1px solid rgba(229, 196, 119, 0.12);
  text-align: center;
}

.site-footer img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.account-area {
  position: relative;
}

.account-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(246, 239, 228, 0.035);
  border: 1px solid rgba(229, 196, 119, 0.22);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.account-avatar {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--navy-990);
  background: var(--gold-soft);
  border-radius: 50%;
  font-size: 0.72rem;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  min-width: 210px;
  padding: 8px;
  background: rgba(2, 7, 13, 0.96);
  border: 1px solid rgba(229, 196, 119, 0.2);
  backdrop-filter: blur(10px);
}

.account-menu button {
  width: 100%;
  padding: 11px 10px;
  color: rgba(246, 239, 228, 0.82);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-menu button:hover {
  color: var(--gold-soft);
  background: rgba(229, 196, 119, 0.05);
}

.modal-open {
  overflow: hidden;
}

.app-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 340px;
  padding: 13px 16px;
  color: var(--white);
  background: rgba(2, 7, 13, 0.94);
  border: 1px solid rgba(229, 196, 119, 0.24);
  font-size: 0.86rem;
  font-weight: 700;
}

.app-modal[hidden],
.app-toast[hidden] {
  display: none;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 9, 0.76);
  backdrop-filter: blur(9px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(229, 196, 119, 0.05), transparent 32%),
    var(--navy-960);
  border: 1px solid rgba(229, 196, 119, 0.2);
}

.assessment-panel,
.profile-panel {
  width: min(100%, 920px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(229, 196, 119, 0.2);
  border-radius: 50%;
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-copy,
.assessment-intro p,
.profile-empty p {
  color: rgba(246, 239, 228, 0.76);
}

.modal-panel > .eyebrow,
.modal-panel > h2,
.modal-panel > .modal-copy,
.contact-modal-panel > [data-contact-root] > .eyebrow,
.contact-modal-panel > [data-contact-root] > h2,
.contact-modal-panel > [data-contact-root] > .modal-copy,
.meeting-form > .eyebrow,
.meeting-form > h2,
.meeting-form > .modal-copy,
.meeting-success > .eyebrow,
.meeting-success > h2,
.meeting-success > .modal-copy,
.meeting-close-confirm > .eyebrow,
.meeting-close-confirm > h2,
.meeting-close-confirm > .modal-copy,
.assessment-form > .eyebrow,
.assessment-form > h2 {
  margin-inline: auto;
  text-align: center;
}

.modal-panel > .modal-copy,
.contact-modal-panel > [data-contact-root] > .modal-copy,
.meeting-form > .modal-copy,
.meeting-success > .modal-copy,
.meeting-close-confirm > .modal-copy {
  max-width: 580px;
}

.auth-form,
.assessment-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.assessment-form {
  max-width: 620px;
  margin-inline: auto;
}

.auth-form label,
.assessment-form label {
  display: grid;
  gap: 7px;
  color: rgba(246, 239, 228, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
}

.auth-form input,
.assessment-form input {
  min-height: 46px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(229, 196, 119, 0.24);
  font: inherit;
}

.auth-form input:focus,
.assessment-form input:focus {
  outline: 0;
  border-bottom-color: var(--gold-soft);
}

.oauth-button {
  width: 100%;
  margin-top: 18px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.auth-links button {
  padding: 0;
  color: rgba(246, 239, 228, 0.72);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-links button:hover {
  color: var(--gold-soft);
}

.assessment-intro,
.profile-empty {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.assessment-intro > strong {
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.wizard-progress {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.wizard-progress span,
.wizard-progress strong {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-progress div,
.score-bar {
  height: 4px;
  overflow: hidden;
  background: rgba(246, 239, 228, 0.08);
}

.wizard-progress i,
.score-bar i {
  display: block;
  height: 100%;
  background: var(--gold-soft);
}

.assessment-question h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.option-list {
  display: grid;
  gap: 12px;
}

.option-button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px;
  color: var(--white);
  background: rgba(246, 239, 228, 0.025);
  border: 1px solid rgba(246, 239, 228, 0.09);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.option-button span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid rgba(229, 196, 119, 0.42);
  border-radius: 50%;
  font-weight: 800;
}

.option-button strong {
  font-size: 0.95rem;
}

.option-button:hover,
.option-button.is-selected {
  background: rgba(229, 196, 119, 0.055);
  border-color: rgba(229, 196, 119, 0.38);
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.wizard-actions .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.result-hero strong,
.profile-latest strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
}

.result-hero span,
.profile-latest span {
  color: rgba(246, 239, 228, 0.72);
  font-weight: 700;
}

.score-dimensions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
}

.score-row div:first-child {
  display: grid;
  gap: 4px;
}

.score-row span {
  color: rgba(246, 239, 228, 0.62);
  font-size: 0.8rem;
}

.score-row b {
  color: var(--gold-soft);
  text-align: right;
}

.score-row .score-bar {
  grid-column: 1 / -1;
}

.result-callout,
.profile-latest,
.profile-history,
.profile-contact-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 228, 0.08);
}

.result-callout h3,
.profile-latest h3,
.profile-history h3,
.profile-contact-block h3 {
  color: var(--gold-soft);
}

.profile-latest {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
}

.profile-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.profile-score-grid article,
.profile-history article {
  padding: 14px;
  background: rgba(246, 239, 228, 0.025);
  border: 1px solid rgba(246, 239, 228, 0.08);
}

.profile-score-grid span,
.profile-history span {
  display: block;
  color: rgba(246, 239, 228, 0.68);
  font-size: 0.78rem;
}

.profile-score-grid strong,
.profile-history strong {
  color: var(--gold-soft);
}

.profile-history article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.profile-contact-button {
  margin-top: 18px;
}

.profile-cooldown {
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.profile-contact-block {
  max-width: 680px;
}

.profile-contact-block p {
  color: rgba(246, 239, 228, 0.76);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.contact-actions .button {
  width: 100%;
}

.contact-meeting-button {
  grid-column: 1 / -1;
}

.contact-context {
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(229, 196, 119, 0.18);
  border-bottom: 1px solid rgba(229, 196, 119, 0.18);
}

.contact-context p,
.contact-context small {
  margin: 0;
  color: rgba(246, 239, 228, 0.68);
}

.contact-context strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.contact-context small {
  display: block;
  margin-top: 10px;
  line-height: 1.55;
}

.meeting-form {
  display: grid;
  gap: 22px;
}

.meeting-form h2,
.meeting-success h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  text-transform: uppercase;
}

.meeting-form fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.meeting-form legend,
.meeting-form label > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

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

.meeting-choice {
  position: relative;
  display: grid;
  min-height: 78px;
  cursor: pointer;
}

.meeting-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.meeting-choice span {
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: center;
  padding: 14px;
  color: rgba(246, 239, 228, 0.78);
  background: rgba(246, 239, 228, 0.025);
  border: 1px solid rgba(246, 239, 228, 0.09);
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.meeting-choice strong {
  color: var(--white);
  font-size: 0.86rem;
  line-height: 1.3;
}

.meeting-choice small {
  color: rgba(246, 239, 228, 0.58);
  font-size: 0.72rem;
  line-height: 1.4;
}

.meeting-choice input:checked + span,
.meeting-choice:hover span {
  background: rgba(229, 196, 119, 0.055);
  border-color: rgba(229, 196, 119, 0.42);
  box-shadow: 0 0 24px rgba(229, 196, 119, 0.08);
}

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

.meeting-form input,
.meeting-form select,
.meeting-form textarea {
  width: 100%;
  min-height: 46px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(229, 196, 119, 0.24);
  border-radius: 0;
  font: inherit;
  text-align: left;
}

.meeting-form select {
  appearance: none;
  padding-right: 24px;
  background-color: #0b1220;
  color: #f5f2ea;
  border: 1px solid rgba(214, 168, 75, 0.35);
  border-radius: var(--radius);
  padding-left: 12px;
  color-scheme: dark;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(229, 196, 119, 0.8) 50%),
    linear-gradient(135deg, rgba(229, 196, 119, 0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 52%,
    calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.meeting-form input[type="date"],
.meeting-form select {
  color-scheme: dark;
}

.meeting-time-select,
.meeting-time-select:focus {
  background-color: #0b1220;
  color: #f5f2ea;
}

.meeting-time-select option {
  background-color: #111827;
  color: #f5f2ea;
}

.meeting-time-select option:first-child {
  color: #b7bebc;
}

.meeting-time-select option:checked {
  background-color: #d6a84b;
  color: #0b1220;
}

.meeting-time-select option:disabled {
  background-color: #111827;
  color: rgba(245, 242, 234, 0.48);
}

.meeting-form input:disabled,
.meeting-form select:disabled {
  color: rgba(246, 239, 228, 0.38);
  border-bottom-color: rgba(246, 239, 228, 0.12);
}

.meeting-time-field > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meeting-time-selects {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.meeting-time-selects b {
  color: rgba(229, 196, 119, 0.72);
  font-size: 1.1rem;
  line-height: 1;
}

.meeting-flexible {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: -8px;
  color: rgba(246, 239, 228, 0.74);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
}

.meeting-flexible input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-soft);
}

.meeting-flexible span {
  margin: 0;
  color: rgba(246, 239, 228, 0.74);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.meeting-form textarea {
  min-height: 112px;
  padding: 12px 0;
  resize: vertical;
}

.meeting-form input:focus,
.meeting-form select:focus,
.meeting-form textarea:focus {
  outline: 0;
  border-bottom-color: var(--gold-soft);
}

.meeting-counter {
  display: block;
  margin-top: 7px;
  color: rgba(246, 239, 228, 0.52);
  font-size: 0.72rem;
  text-align: right;
}

.meeting-submit {
  width: 100%;
}

.contact-back {
  justify-self: start;
  padding: 0;
  color: rgba(246, 239, 228, 0.68);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.contact-back:hover {
  color: var(--gold-soft);
}

.meeting-success,
.meeting-close-confirm {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.meeting-close-confirm h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.meeting-summary {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(229, 196, 119, 0.18);
  border-bottom: 1px solid rgba(229, 196, 119, 0.18);
}

.meeting-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.meeting-summary dt,
.meeting-summary dd {
  margin: 0;
}

.meeting-summary dt {
  color: rgba(246, 239, 228, 0.58);
  font-size: 0.8rem;
  font-weight: 700;
}

.meeting-summary dd {
  color: var(--white);
  font-weight: 800;
  text-align: right;
}

.meeting-linked-note {
  color: var(--gold-soft);
  font-weight: 800;
}

.empty-state {
  color: rgba(246, 239, 228, 0.68);
}

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

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

@keyframes linePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes axisDraw {
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media (min-width: 1500px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(480px, 0.88fr);
  }

  .hero-portrait {
    width: min(46vw, 760px);
  }
}

@media (max-width: 1180px) {
  .long-flow,
  .editorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .diagnostic-matrix article:nth-child(7) {
    grid-column: span 3;
  }

  .editorial-grid article:nth-child(1),
  .editorial-grid article:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-inline: var(--page-pad);
  }

  .hero-text,
  .hero-portrait {
    grid-column: auto;
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 540px);
    min-width: 0;
    margin-right: 0;
  }

  .value-columns {
    grid-template-columns: 1fr;
  }

  .value-columns article {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--faint);
  }

  .value-columns article:last-child {
    border-bottom: 0;
  }

  .about-image {
    grid-column: auto;
    justify-self: start;
  }

  .about {
    grid-template-columns: 1fr;
    padding-inline: var(--page-pad);
  }

  .about-story {
    grid-column: auto;
  }

  .framework-axis article {
    grid-template-columns: 74px 44px minmax(0, 1fr);
  }

  .framework-axis strong {
    grid-column: 3;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px var(--page-pad);
  }

  .brand-mark img {
    width: 46px;
    height: 46px;
  }

  .brand-mark small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(2, 7, 13, 0.96);
    border: 1px solid rgba(229, 196, 119, 0.18);
  }

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

  .main-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  h1 {
    max-width: 390px;
    font-size: clamp(2.72rem, 12.5vw, 3.55rem);
  }

  h2,
  .contact-panel h2 {
    font-size: clamp(1.85rem, 8.6vw, 2.75rem);
  }

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

  .section {
    padding-block: 66px;
  }

  .section-kicker,
  .market-texture {
    display: none;
  }

  .diagnostic-matrix,
  .short-flow,
  .long-flow,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-matrix article:nth-child(7),
  .editorial-grid article:nth-child(1),
  .editorial-grid article:nth-child(4) {
    grid-column: auto;
  }

  .flow-line {
    gap: 24px;
  }

  .flow-line li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -20px;
    left: 50%;
    width: 1px;
    height: 18px;
  }

  .flow-line li:not(:last-child)::before {
    top: auto;
    right: auto;
    bottom: -23px;
    left: calc(50% - 4px);
    transform: rotate(135deg);
  }

  .framework-axis::before,
  .framework-axis::after {
    left: 36px;
  }

  .framework-axis article {
    grid-template-columns: 58px 38px minmax(0, 1fr);
    gap: 18px;
  }

  .framework-axis article::before {
    left: 31px;
  }

  .framework-axis span {
    padding-left: 0;
  }

  .framework-axis i {
    width: 32px;
    height: 32px;
  }

  .editorial-grid article {
    min-height: 220px;
  }
}

@media (max-width: 420px) {
  .brand-mark strong {
    font-size: 0.92rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .diagnostic-matrix article,
  .editorial-grid article {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --mobile-container: 390px;
    --mobile-pad: 22px;
  }

  .site-header {
    padding-inline: max(16px, calc((100vw - var(--mobile-container)) / 2 + 16px));
  }

  .brand-mark {
    gap: 11px;
  }

  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .brand-mark strong {
    font-size: 0.95rem;
  }

  .section,
  .hero,
  .about,
  .contact {
    padding-inline: max(var(--mobile-pad), calc((100vw - var(--mobile-container)) / 2 + var(--mobile-pad)));
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 96px;
  }

  .hero-text,
  .section-heading,
  .diagnostic-matrix,
  .flow-compare,
  .framework-axis,
  .value-columns,
  .about-image,
  .about-story,
  .editorial-grid,
  .contact-panel {
    width: 100%;
    max-width: calc(var(--mobile-container) - (var(--mobile-pad) * 2));
    margin-inline: auto;
  }

  .hero-text,
  .hero .eyebrow,
  .hero h1,
  .hero-subtitle,
  .philosophy {
    text-align: center;
  }

  .hero h1 {
    max-width: 342px;
    margin-inline: auto;
    font-size: clamp(2.56rem, 11.6vw, 3.28rem);
  }

  .hero-subtitle {
    max-width: 340px;
    margin-inline: auto;
  }

  .philosophy {
    max-width: 340px;
    margin-inline: auto;
  }

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

  .hero-actions .button {
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-cta-note {
    max-width: 340px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-portrait {
    justify-self: center;
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .section-heading,
  .section-heading.compact,
  .vh6-system .section-heading,
  .diagnostic .section-heading,
  .difference .section-heading,
  .knowledge .section-heading {
    text-align: center;
  }

  .section-heading h2,
  .vh6-system .section-heading h2,
  .diagnostic .section-heading h2,
  .difference .section-heading h2,
  .knowledge .section-heading h2 {
    max-width: 346px;
    margin-inline: auto;
  }

  .diagnostic-matrix article {
    padding: 24px 22px;
  }

  .diagnostic-matrix svg {
    margin-bottom: 18px;
  }

  .diagnostic-matrix span,
  .framework-axis span,
  .value-columns span,
  .editorial-grid span {
    width: 40px;
    height: 40px;
    font-size: 0.72rem;
  }

  .diagnostic-matrix h3,
  .framework-axis h3,
  .framework-axis strong,
  .editorial-grid h3,
  .editorial-grid em {
    text-align: center;
  }

  .diagnostic-matrix p,
  .framework-axis p {
    max-width: 292px;
    margin-inline: auto;
    text-align: left;
  }

  .diagnostic-matrix article:nth-child(7) p {
    max-width: 292px;
    margin-inline: auto;
    line-height: 1.56;
    text-align: center;
  }

  .editorial-grid p {
    max-width: 292px;
    margin-inline: auto;
    text-align: center;
  }

  .flow-compare article {
    width: 100%;
  }

  .flow-line li {
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }

  .flow-line li:not(:last-child)::after {
    left: 50%;
  }

  .flow-line li:not(:last-child)::before {
    left: calc(50% - 4px);
  }

  .framework-axis {
    max-width: 350px;
  }

  .framework-axis::before,
  .framework-axis::after {
    left: 20px;
  }

  .framework-axis article {
    grid-template-columns: 40px 36px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 24px 0;
  }

  .framework-axis article::before {
    left: 15px;
  }

  .framework-axis i {
    width: 32px;
    height: 32px;
  }

  .framework-axis strong {
    grid-column: 3;
  }

  .value-columns {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .value-columns article {
    min-height: auto;
    align-items: center;
    padding: 34px 12px;
    text-align: center;
  }

  .value-columns h2 {
    margin-top: 22px;
    text-align: center;
  }

  .value-columns p {
    max-width: 300px;
    margin-inline: auto;
    text-align: center;
  }

  .about {
    justify-items: center;
  }

  .about-image {
    justify-self: center;
    max-width: 330px;
  }

  .about-story h2 {
    max-width: 346px;
    margin-inline: auto;
    text-align: left;
  }

  .about-story .eyebrow {
    max-width: 346px;
    margin-inline: auto;
    text-align: left;
  }

  .about-story p {
    max-width: 340px;
    margin-inline: auto;
  }

  .editorial-grid article {
    min-height: 0;
    padding: 24px 22px;
  }

  .editorial-grid article::after {
    right: -42px;
    bottom: -42px;
    opacity: 0.58;
  }

  .editorial-grid h3 {
    margin-top: 24px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .contact-panel > div,
  .contact-form {
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }

  .contact-form label,
  .contact-form input,
  .contact-form select {
    text-align: left;
  }

  .contact-panel .eyebrow,
  .contact-panel h3,
  .contact-panel h2,
  .contact-panel p {
    text-align: center;
  }

  .contact-panel h2 {
    max-width: 340px;
    margin-inline: auto;
  }

  .contact-form input,
  .contact-form select,
  .contact-form .button {
    width: 100%;
  }

  .account-area {
    margin-left: auto;
  }

  .account-button {
    min-height: 36px;
    padding: 7px 9px;
  }

  .account-button span:not(.account-avatar) {
    display: none;
  }

  .app-modal {
    align-items: center;
    justify-items: center;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100dvh - 32px);
    padding: 32px 18px max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .assessment-panel,
  .profile-panel,
  .contact-modal-panel,
  .auth-panel {
    max-width: 390px;
    margin-inline: auto;
  }

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

  .contact-context {
    text-align: left;
  }

  .meeting-form {
    gap: 18px;
  }

  .meeting-form h2,
  .meeting-success h2,
  .meeting-close-confirm h2 {
    max-width: 300px;
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .meeting-choice-grid,
  .meeting-choice-grid-3,
  .meeting-field-grid {
    grid-template-columns: 1fr;
  }

  .meeting-choice {
    min-height: 70px;
  }

  .meeting-choice span {
    padding: 13px 14px;
  }

  .meeting-form input,
  .meeting-form select,
  .meeting-form textarea {
    font-size: 16px;
  }

  .meeting-time-selects {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    gap: 8px;
  }

  .meeting-flexible {
    align-items: flex-start;
  }

  .meeting-summary div {
    display: grid;
    gap: 4px;
  }

  .meeting-summary dd {
    text-align: left;
  }

  .profile-contact-button,
  .profile-contact-block .button {
    width: 100%;
  }

  .auth-links,
  .wizard-actions {
    display: grid;
  }

  .assessment-question h2 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }

  .option-button {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .result-hero,
  .profile-latest,
  .profile-score-grid {
    grid-template-columns: 1fr;
  }

  .score-row {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .privacy-note,
  .form-note {
    text-align: center;
  }

  .section::after,
  .hero::after {
    display: none;
  }
}

/* Investment Reality Check - Phase 3 */
.assessment-panel {
  width: min(100%, 1120px);
  max-height: min(92vh, 980px);
  padding: clamp(20px, 3.2vw, 42px);
}

.irc-shell {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}

.irc-start {
  max-width: 720px;
  text-align: center;
}

.irc-shell h2,
.irc-shell h3,
.irc-shell p {
  margin: 0;
}

.irc-shell h2 {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(2rem, 4.3vw, 4rem);
  text-align: center;
}

.irc-shell h3 {
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.irc-shell p,
.irc-note,
.irc-micro {
  color: rgba(246, 239, 228, 0.76);
}

.irc-benefits,
.irc-choice-grid,
.irc-derived-grid,
.irc-summary-grid,
.irc-number-row,
.irc-kpi-row,
.irc-card-list,
.irc-scenario-grid {
  display: grid;
  gap: 12px;
}

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

.irc-benefits span,
.irc-mini,
.irc-toggle {
  min-height: 42px;
  padding: 10px 12px;
  color: var(--gold-soft);
  background: rgba(229, 196, 119, 0.06);
  border: 1px solid rgba(229, 196, 119, 0.24);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.irc-stage-body {
  display: grid;
  gap: 18px;
}

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

.irc-choice-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.irc-choice,
.irc-metric-card,
.irc-truth-number,
.irc-kpi,
.irc-soft-card,
.irc-scenario-card,
.irc-editor {
  padding: 16px;
  color: var(--white);
  background: rgba(246, 239, 228, 0.028);
  border: 1px solid rgba(246, 239, 228, 0.095);
  border-radius: var(--radius);
}

.irc-choice {
  display: grid;
  gap: 7px;
  min-height: 104px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.irc-choice strong,
.irc-soft-card strong,
.irc-scenario-card strong {
  color: var(--white);
  font-size: 0.98rem;
}

.irc-choice span,
.irc-soft-card p,
.irc-scenario-card p,
.irc-metric-card p {
  color: rgba(246, 239, 228, 0.68);
  font-size: 0.86rem;
}

.irc-choice:hover,
.irc-choice.is-selected,
.irc-toggle.is-selected,
.irc-mini.is-selected {
  background: rgba(229, 196, 119, 0.075);
  border-color: rgba(229, 196, 119, 0.46);
}

.irc-field,
.irc-item-grid label {
  display: grid;
  gap: 7px;
  color: rgba(246, 239, 228, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.irc-field input,
.irc-item-grid input {
  min-height: 50px;
  width: 100%;
  color: var(--white);
  background: rgba(2, 7, 13, 0.28);
  border: 1px solid rgba(229, 196, 119, 0.2);
  border-radius: var(--radius);
  padding: 0 13px;
  font: inherit;
}

.irc-field input:focus,
.irc-item-grid input:focus,
.irc-choice:focus-visible,
.irc-toggle:focus-visible,
.irc-mini:focus-visible,
.irc-scenario-card:focus-within {
  outline: 2px solid rgba(229, 196, 119, 0.72);
  outline-offset: 2px;
}

.irc-field small,
.irc-field b,
.irc-soft-card small {
  color: rgba(229, 196, 119, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.irc-toggle-row,
.irc-editor-head {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: space-between;
}

.irc-editor-head div {
  display: flex;
  gap: 8px;
}

.irc-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.irc-derived-grid,
.irc-summary-grid,
.irc-number-row,
.irc-kpi-row,
.irc-scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.irc-metric-card span,
.irc-soft-card span {
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.irc-metric-card strong,
.irc-truth-number strong,
.irc-kpi strong {
  display: block;
  margin: 6px 0;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 0.98;
}

.irc-reveal-block {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px) 0;
  border-top: 1px solid rgba(229, 196, 119, 0.16);
}

.irc-reveal-block.centered {
  text-align: center;
}

.irc-hero-number {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: clamp(20px, 4vw, 36px);
  text-align: center;
  border: 1px solid rgba(229, 196, 119, 0.22);
  border-radius: var(--radius);
  background: rgba(229, 196, 119, 0.045);
}

.irc-hero-number span,
.irc-hero-number small {
  color: rgba(246, 239, 228, 0.72);
  font-weight: 800;
}

.irc-hero-number strong {
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.9;
}

.irc-card-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.irc-soft-card {
  display: grid;
  gap: 8px;
}

.irc-soft-card.severity-critical,
.irc-soft-card.severity-high {
  border-color: rgba(229, 196, 119, 0.34);
  background: rgba(229, 196, 119, 0.05);
}

.irc-scenario-card {
  display: grid;
  gap: 12px;
}

.irc-scenario-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--gold-soft);
  font-weight: 900;
}

.irc-custom-scenario {
  display: grid;
  gap: 7px;
}

.irc-save-state {
  min-height: 22px;
  text-align: center;
}

@media (max-width: 760px) {
  .assessment-panel {
    width: min(100%, 100vw - 20px);
    max-height: 94vh;
    padding: 20px;
  }

  .irc-shell {
    gap: 18px;
  }

  .irc-benefits,
  .irc-choice-grid,
  .irc-item-grid,
  .irc-derived-grid,
  .irc-summary-grid,
  .irc-number-row,
  .irc-kpi-row,
  .irc-card-list,
  .irc-scenario-grid {
    grid-template-columns: 1fr;
  }

  .irc-choice {
    min-height: 84px;
  }

  .irc-toggle-row,
  .irc-editor-head {
    align-items: stretch;
  }

  .irc-toggle-row > *,
  .irc-editor-head > * {
    width: 100%;
  }

  .irc-editor-head div {
    width: 100%;
  }

  .irc-mini {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .irc-shell *,
  .irc-shell *::before,
  .irc-shell *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


.hero-actions-tiered {
  align-items: center;
}

.button-tertiary {
  background: transparent;
  border-color: transparent;
  color: rgba(248, 244, 233, 0.72);
  box-shadow: none;
}

.button-tertiary:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.hero-cta-note-secondary {
  margin-top: 6px;
  color: rgba(248, 244, 233, 0.62);
}

.profile-assessment-shell {
  display: grid;
  gap: 20px;
  color: var(--ink);
}

.profile-question-options {
  display: grid;
  gap: 12px;
}

.profile-question-option,
.profile-free-input {
  width: 100%;
  border: 1px solid rgba(23, 44, 64, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  text-align: left;
  color: var(--ink);
}

.profile-question-option strong,
.profile-question-option span,
.profile-free-input span {
  display: block;
}

.profile-question-option span {
  margin-top: 6px;
  color: var(--muted);
}

.profile-question-option.is-selected,
.profile-question-option:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 35px rgba(190, 149, 85, 0.14);
}

.profile-free-input input {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid rgba(23, 44, 64, 0.2);
  background: transparent;
  padding: 10px 0;
  font: inherit;
}

.profile-result-score {
  display: inline-grid;
  gap: 4px;
  justify-self: start;
  border: 1px solid rgba(190, 149, 85, 0.28);
  border-radius: 18px;
  padding: 16px 20px;
  background: rgba(190, 149, 85, 0.08);
}

.profile-result-score strong {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

@media (max-width: 640px) {
  .hero-actions-tiered {
    align-items: stretch;
  }

  .hero-actions-tiered .button {
    width: 100%;
  }
}

.profile-assessment-facts,
.profile-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0;
}

.profile-assessment-facts span,
.profile-result-grid article {
  border: 1px solid rgba(203, 166, 91, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-result-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.profile-result-block {
  margin-top: 22px;
}

.profile-result-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.profile-question-option span {
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 640px) {
  .profile-assessment-facts,
  .profile-result-grid {
    grid-template-columns: 1fr;
  }
}

.profile-contact-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}

@media (max-width: 760px) {
  .profile-contact-fields {
    grid-template-columns: 1fr;
  }
}

/* Investor Profile premium alignment */
.profile-assessment-shell {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
  color: var(--white);
}

.profile-assessment-intro {
  max-width: 760px;
  text-align: center;
}

.profile-assessment-shell h2,
.profile-assessment-shell h3,
.profile-assessment-shell p {
  margin: 0;
}

.profile-assessment-shell h2 {
  max-width: 740px;
  margin-inline: auto;
  color: var(--white);
  font-size: clamp(1.8rem, 3.65vw, 3.45rem);
  line-height: 1.02;
  text-align: center;
  text-wrap: balance;
}

.profile-assessment-shell > p,
.profile-assessment-intro > p:not(.eyebrow),
.profile-result-block p,
.gap-card p {
  color: rgba(246, 239, 228, 0.76);
}

.profile-assessment-kicker {
  justify-self: center;
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.profile-contact-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 0;
}

.profile-contact-fields .field {
  display: grid;
  gap: 7px;
  color: rgba(246, 239, 228, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
}

.profile-contact-fields .field input {
  min-height: 50px;
  width: 100%;
  padding: 0 13px;
  color: var(--white);
  background: rgba(2, 7, 13, 0.28);
  border: 1px solid rgba(229, 196, 119, 0.2);
  border-radius: var(--radius);
  font: inherit;
}

.profile-contact-fields .field input:focus,
.profile-question-option:focus-visible {
  outline: 2px solid rgba(229, 196, 119, 0.72);
  outline-offset: 2px;
}

.profile-question-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-question-option,
.profile-free-input,
.gap-card,
.profile-result-grid article,
.profile-score-grid article,
.profile-result-block {
  color: var(--white);
  background: rgba(246, 239, 228, 0.028);
  border: 1px solid rgba(246, 239, 228, 0.095);
  border-radius: var(--radius);
}

.profile-question-option,
.profile-free-input {
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 98px;
  padding: 16px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.profile-question-option strong,
.profile-free-input strong,
.gap-card strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
}

.profile-question-option span,
.profile-free-input span {
  display: block;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-question-option:hover,
.profile-question-option.is-selected {
  background: rgba(229, 196, 119, 0.075);
  border-color: rgba(229, 196, 119, 0.46);
  box-shadow: none;
}

.profile-result-score {
  display: inline-grid;
  gap: 6px;
  justify-self: center;
  padding: 18px 24px;
  color: var(--white);
  text-align: center;
  background: rgba(229, 196, 119, 0.045);
  border: 1px solid rgba(229, 196, 119, 0.22);
  border-radius: var(--radius);
}

.profile-result-score span,
.profile-result-grid span,
.profile-result-block h3 {
  color: var(--gold-soft);
  font-weight: 900;
}

.profile-result-score strong {
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.92;
}

.profile-result-grid,
.profile-score-grid,
.gap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 0;
}

.profile-result-grid article,
.profile-score-grid article,
.gap-card,
.profile-result-block {
  padding: 16px;
}

.profile-result-grid span {
  display: block;
  margin-bottom: 4px;
  color: rgba(229, 196, 119, 0.78);
  font-size: 0.72rem;
}

.profile-result-grid strong,
.profile-score-grid strong {
  color: var(--white);
}

.profile-result-block {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.profile-result-block h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

@media (max-width: 760px) {
  .profile-contact-fields,
  .profile-question-options,
  .profile-result-grid,
  .profile-score-grid,
  .gap-list {
    grid-template-columns: 1fr;
  }

  .profile-assessment-shell {
    gap: 18px;
  }

  .profile-question-option,
  .profile-free-input {
    min-height: 84px;
  }
}

/* Assessment compact premium pass */
.assessment-panel {
  max-height: min(94vh, 940px);
  padding: clamp(16px, 2.45vw, 32px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.irc-shell,
.profile-assessment-shell {
  gap: clamp(14px, 1.8vw, 20px);
}

.irc-stage-body {
  gap: clamp(12px, 1.55vw, 16px);
}

.irc-shell h2,
.profile-assessment-shell h2 {
  max-width: 820px;
  font-size: clamp(1.72rem, 3.05vw, 3.25rem);
  line-height: 1.04;
}

.irc-shell h3,
.profile-assessment-shell h3,
.profile-result-block h3 {
  font-size: clamp(1.42rem, 2.25vw, 2.25rem);
}

.irc-choice-grid,
.profile-question-options {
  gap: clamp(9px, 1.2vw, 12px);
}

.irc-choice {
  min-height: 86px;
  padding: clamp(12px, 1.6vw, 15px);
  gap: 5px;
}

.profile-question-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
}

.profile-question-option span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: center;
  color: var(--gold-soft);
  background: rgba(229, 196, 119, 0.08);
  border: 1px solid rgba(229, 196, 119, 0.32);
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-question-option strong {
  align-self: center;
  min-width: 0;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.35;
}

.profile-question-option.is-selected span,
.profile-question-option:hover span {
  color: #110d06;
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.irc-derived-grid,
.irc-summary-grid,
.irc-number-row,
.irc-kpi-row,
.irc-scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  align-items: stretch;
}

.irc-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.irc-metric-card,
.irc-kpi,
.irc-truth-number {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 118px;
  padding: clamp(12px, 1.65vw, 16px);
}

.irc-metric-card strong,
.irc-kpi strong,
.irc-truth-number strong {
  align-self: center;
  margin: 4px 0;
  white-space: nowrap;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.irc-metric-card p,
.irc-kpi p,
.irc-truth-number p {
  align-self: end;
  min-height: 2.25em;
}

.irc-reveal-block {
  gap: clamp(12px, 1.8vw, 16px);
  padding: clamp(18px, 3vw, 32px) 0;
}

.wizard-progress {
  margin-bottom: clamp(10px, 1.5vw, 16px);
}

.wizard-actions {
  gap: 7px;
}

@media (max-width: 900px) {
  .assessment-panel {
    padding: 18px;
  }

  .irc-summary-grid,
  .irc-derived-grid,
  .irc-number-row,
  .irc-kpi-row,
  .profile-result-grid,
  .profile-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .assessment-panel {
    max-height: 96vh;
    padding: 14px;
  }

  .irc-shell,
  .profile-assessment-shell,
  .irc-stage-body {
    gap: 12px;
  }

  .irc-shell h2,
  .profile-assessment-shell h2 {
    font-size: clamp(1.42rem, 8vw, 2.05rem);
    line-height: 1.08;
  }

  .irc-choice-grid,
  .profile-question-options,
  .profile-contact-fields,
  .gap-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .irc-choice,
  .profile-question-option {
    min-height: 58px;
    padding: 10px 12px;
  }

  .profile-question-option {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
  }

  .profile-question-option span {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .profile-question-option strong {
    font-size: 0.9rem;
  }

  .irc-summary-grid,
  .irc-derived-grid,
  .irc-number-row,
  .irc-kpi-row,
  .profile-result-grid,
  .profile-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .irc-metric-card,
  .irc-kpi,
  .irc-truth-number,
  .profile-result-grid article,
  .profile-score-grid article,
  .gap-card,
  .profile-result-block {
    padding: 11px;
  }

  .irc-metric-card,
  .irc-kpi,
  .irc-truth-number {
    min-height: 104px;
  }

  .irc-metric-card strong,
  .irc-kpi strong,
  .irc-truth-number strong {
    font-size: clamp(1.12rem, 6.1vw, 1.55rem);
  }

  .irc-metric-card span,
  .irc-soft-card span {
    font-size: 0.62rem;
  }

  .irc-metric-card p,
  .irc-kpi p,
  .irc-truth-number p {
    min-height: 0;
    font-size: 0.78rem;
  }

  .wizard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Global commercial brand polish */
html,
body {
  overflow-x: hidden;
}

body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  min-height: 76px;
  padding-block: 10px;
  background: rgba(2, 7, 13, 0.76);
  border-bottom-color: rgba(229, 196, 119, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  width: 54px;
  height: 54px;
  border-color: rgba(229, 196, 119, 0.34);
}

.brand-mark strong,
.eyebrow {
  letter-spacing: 0.04em;
}

.main-nav,
.account-button,
.account-menu button {
  letter-spacing: 0;
}

.section {
  padding-block: clamp(72px, 6vw, 104px);
}

.section-heading,
.section-heading.compact {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading h2,
.vh6-system .section-heading h2,
.diagnostic .section-heading h2,
.difference .section-heading h2,
.knowledge .section-heading h2,
.contact-panel h2 {
  font-size: clamp(2rem, 3.55vw, 3.65rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero {
  min-height: min(100svh, 860px);
  grid-template-columns: minmax(0, 690px) minmax(340px, 1fr);
  align-content: center;
  padding-top: 104px;
  padding-bottom: 36px;
}

.hero-text {
  display: grid;
  gap: 0;
}

.hero h1 {
  font-size: clamp(3.1rem, 5.55vw, 5.65rem);
  line-height: 0.96;
}

.hero-subtitle,
.philosophy {
  font-size: clamp(0.98rem, 1.2vw, 1.16rem);
  line-height: 1.62;
}

.hero-subtitle {
  margin-top: 20px;
}

.philosophy {
  margin-top: 18px;
  padding-top: 15px;
}

.hero-actions-tiered {
  align-items: center;
  gap: 7px;
  margin-top: 28px;
}

.hero-actions-tiered .button-primary {
  min-height: 52px;
  padding-inline: 24px;
  box-shadow: 0 16px 46px rgba(229, 196, 119, 0.16);
}

.hero-actions-tiered .button-secondary,
.hero-actions-tiered .button-tertiary {
  min-height: 48px;
}

.hero-cta-note {
  max-width: 650px;
  margin-top: 10px;
  line-height: 1.5;
}

.button,
.account-button,
.modal-close,
.auth-links button,
.contact-back,
.option-button,
.profile-question-option,
.irc-choice,
.irc-toggle,
.irc-mini {
  cursor: pointer;
}

.button {
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  line-height: 1.1;
}

.button-primary:hover {
  background: #f0cf86;
  box-shadow: 0 18px 48px rgba(229, 196, 119, 0.2);
}

.button-secondary,
.button-tertiary,
.account-button {
  background: rgba(246, 239, 228, 0.035);
  border-color: rgba(229, 196, 119, 0.22);
}

.diagnostic-matrix,
.editorial-grid,
.value-columns,
.contact-panel,
.flow-compare,
.framework-axis {
  max-width: min(var(--container), calc(100vw - 2 * var(--page-pad)));
}

.diagnostic-matrix article,
.editorial-grid article,
.value-columns article,
.flow-line li,
.contact-panel,
.modal-panel,
.profile-latest,
.profile-history,
.profile-contact-block,
.contact-context,
.meeting-form fieldset,
.irc-soft-card,
.irc-scenario-card,
.profile-result-block,
.profile-result-grid article,
.profile-score-grid article,
.gap-card {
  border-color: rgba(229, 196, 119, 0.16);
  background: rgba(246, 239, 228, 0.026);
}

.diagnostic-matrix article {
  min-height: 210px;
  padding: clamp(18px, 2.2vw, 24px);
}

.diagnostic-matrix h3,
.editorial-grid h3,
.value-columns h2 {
  margin-top: 12px;
}

.diagnostic-matrix p,
.editorial-grid p,
.value-columns p,
.about-story p,
.contact-panel p {
  line-height: 1.62;
}

.flow-line {
  gap: 16px;
}

.flow-line li {
  min-height: 64px;
  border-radius: var(--radius);
}

.flow-line li:not(:last-child)::after {
  right: -16px;
  width: 16px;
}

.flow-line li:not(:last-child)::before {
  right: -18px;
}

.framework-axis article {
  min-height: 104px;
  padding-block: 20px;
}

.framework-axis strong {
  line-height: 1.35;
}

.value-columns article {
  min-height: 280px;
}

.value-columns h2 {
  margin-top: 42px;
  font-size: clamp(2rem, 3.8vw, 3.85rem);
}

.about-story h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.02;
}

.editorial-grid article {
  min-height: 260px;
  padding: clamp(18px, 2vw, 22px);
}

.contact-panel {
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(229, 196, 119, 0.18);
  background: linear-gradient(135deg, rgba(229, 196, 119, 0.055), rgba(246, 239, 228, 0.018));
}

.contact-form {
  max-width: 390px;
  padding: 18px;
  border: 1px solid rgba(229, 196, 119, 0.16);
  background: rgba(2, 7, 13, 0.24);
}

.contact-form input,
.contact-form select,
.auth-form input,
.assessment-form input,
.meeting-form input,
.meeting-form select,
.profile-contact-fields .field input,
.irc-field input,
.irc-item-grid input,
.profile-free-input input {
  color: var(--white);
  background-color: rgba(2, 7, 13, 0.36);
  border: 1px solid rgba(229, 196, 119, 0.22);
  border-radius: var(--radius);
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
  border-bottom-width: 1px;
}

.contact-form input:focus,
.contact-form select:focus,
.auth-form input:focus,
.assessment-form input:focus,
.meeting-form input:focus,
.profile-contact-fields .field input:focus,
.irc-field input:focus,
.irc-item-grid input:focus,
.profile-free-input input:focus {
  outline: 2px solid rgba(229, 196, 119, 0.55);
  outline-offset: 2px;
  border-color: rgba(229, 196, 119, 0.58);
}

.app-modal {
  padding: clamp(10px, 2vw, 20px);
}

.modal-panel {
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5);
}

.modal-close {
  border-color: rgba(229, 196, 119, 0.22);
  background: rgba(246, 239, 228, 0.04);
}

.assessment-panel,
.profile-panel,
.contact-modal-panel,
.auth-panel {
  background:
    linear-gradient(145deg, rgba(229, 196, 119, 0.05), transparent 34%),
    rgba(5, 13, 22, 0.98);
}

.result-hero,
.profile-result-score,
.irc-hero-number {
  border-color: rgba(229, 196, 119, 0.3);
  background: linear-gradient(135deg, rgba(229, 196, 119, 0.09), rgba(246, 239, 228, 0.025));
}

.profile-score-grid,
.profile-result-grid,
.irc-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.irc-derived-grid,
.irc-number-row,
.irc-kpi-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.irc-card-list,
.irc-scenario-grid,
.gap-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.irc-scenario-card div {
  flex-wrap: wrap;
  gap: 8px;
}

.irc-scenario-card span,
.irc-scenario-card p,
.irc-soft-card p,
.gap-card p {
  overflow-wrap: normal;
}

.irc-metric-card strong,
.irc-kpi strong,
.irc-truth-number strong,
.result-hero strong,
.profile-latest strong,
.profile-result-score strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-footer {
  border-top-color: rgba(229, 196, 119, 0.16);
  background: rgba(2, 7, 13, 0.92);
}

@media (max-width: 1180px) {
  .long-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .long-flow li:nth-child(4)::after,
  .long-flow li:nth-child(4)::before {
    display: none;
  }

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

  .editorial-grid article,
  .editorial-grid article:nth-child(1),
  .editorial-grid article:nth-child(4) {
    grid-column: span 1;
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 94px;
  }

  .diagnostic-matrix,
  .value-columns,
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-matrix article:nth-child(7) {
    grid-column: span 2;
  }

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

  .contact-form {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 16px;
  }

  .section {
    padding-block: 58px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.55rem);
  }

  .hero-actions-tiered {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta-note {
    font-size: 0.72rem;
  }

  .diagnostic-matrix,
  .value-columns,
  .editorial-grid,
  .short-flow,
  .long-flow,
  .profile-score-grid,
  .profile-result-grid,
  .irc-summary-grid,
  .irc-derived-grid,
  .irc-number-row,
  .irc-kpi-row {
    grid-template-columns: 1fr;
  }

  .diagnostic-matrix article:nth-child(7) {
    grid-column: span 1;
  }

  .flow-line li:not(:last-child)::after,
  .flow-line li:not(:last-child)::before {
    display: none;
  }

  .framework-axis::before,
  .framework-axis::after,
  .framework-axis article::before {
    display: none;
  }

  .framework-axis article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .framework-axis article > i,
  .framework-axis article > strong {
    grid-column: 2;
  }

  .framework-axis strong {
    text-align: left;
  }

  .contact-panel {
    padding: 18px;
  }

  .modal-panel {
    border-radius: 8px;
  }

  .irc-card-list,
  .irc-scenario-grid,
  .gap-list {
    grid-template-columns: 1fr;
  }
}

/* Final responsive commercial quality pass */
h1,
h2,
h3,
p,
a,
button,
strong,
span,
small,
li {
  overflow-wrap: normal;
  word-break: normal;
}

p,
li,
small {
  overflow-wrap: anywhere;
}

.hero h1,
.section-heading h2,
.vh6-system .section-heading h2,
.irc-shell h2,
.profile-assessment-shell h2 {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.hero-text,
.hero-subtitle,
.philosophy,
.hero-cta-note,
.framework-axis article > div,
.framework-axis strong,
.about-story,
.contact-panel > div,
.irc-shell,
.profile-assessment-shell {
  min-width: 0;
}

.irc-metric-card,
.irc-kpi,
.irc-truth-number,
.profile-result-grid article,
.profile-score-grid article {
  min-width: 0;
}

.irc-metric-card:has(> span) {
  grid-template-rows: auto 1fr auto;
}

.irc-metric-card:not(:has(> span)) {
  grid-template-rows: 1fr auto;
}

@media (max-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    justify-items: stretch;
    width: 100%;
    min-height: auto;
    padding: 88px max(20px, env(safe-area-inset-left)) 34px max(20px, env(safe-area-inset-right));
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 7, 13, 0.96) 0%, rgba(2, 7, 13, 0.8) 55%, rgba(2, 7, 13, 0.96) 100%),
      radial-gradient(circle at 50% 26%, rgba(201, 154, 61, 0.12), transparent 46%);
  }

  .hero-text {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
  }

  .hero h1 {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    font-size: clamp(2.52rem, 11.2vw, 3.5rem);
    line-height: 1;
    white-space: normal;
  }

  .hero-subtitle,
  .philosophy,
  .hero-cta-note {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .hero-actions,
  .hero-actions-tiered {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
  }

  .hero-actions .button,
  .hero-actions-tiered .button {
    width: 100%;
    max-width: none;
    min-height: 48px;
    white-space: normal;
  }

  .button-tertiary {
    background: transparent;
    border-color: transparent;
  }

  .hero-portrait {
    width: min(78vw, 330px);
    min-width: 0;
    justify-self: center;
    margin: 4px auto 0;
  }

  .hero-portrait img {
    max-height: 360px;
    object-fit: cover;
  }

  .framework-axis {
    border-top: 0;
  }

  .framework-axis::before,
  .framework-axis::after,
  .framework-axis article::before {
    display: none;
  }

  .framework-axis article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "icon body"
      "icon note";
    gap: 10px 14px;
    width: 100%;
    min-height: 0;
    padding: 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(229, 196, 119, 0.16);
    background: rgba(246, 239, 228, 0.026);
  }

  .framework-axis span {
    grid-area: num;
    width: 36px;
    height: 36px;
    align-self: start;
  }

  .framework-axis i {
    grid-area: icon;
    width: 34px;
    height: 34px;
    align-self: start;
  }

  .framework-axis article > div {
    grid-area: body;
  }

  .framework-axis h3 {
    margin-top: 0;
    text-align: left;
  }

  .framework-axis p {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .framework-axis strong {
    grid-area: note;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .assessment-panel {
    width: min(100%, calc(100vw - 16px));
    max-height: 96svh;
    padding: 14px;
    overflow-y: auto;
  }

  .app-modal {
    align-items: flex-start;
    padding: 8px;
    overflow-y: auto;
  }

  .irc-shell,
  .profile-assessment-shell {
    width: 100%;
    max-width: 100%;
  }

  .irc-summary-grid,
  .irc-derived-grid,
  .irc-number-row,
  .irc-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .hero {
    padding-inline: 20px;
  }

  .hero h1 {
    max-width: 365px;
    font-size: clamp(2.4rem, 10.4vw, 2.95rem);
    line-height: 1.03;
  }

  .hero-subtitle,
  .philosophy,
  .hero-cta-note,
  .section-heading h2,
  .vh6-system .section-heading h2,
  .diagnostic .section-heading h2,
  .difference .section-heading h2,
  .knowledge .section-heading h2 {
    max-width: 100%;
  }

  .brand-mark strong {
    white-space: nowrap;
  }

  .main-nav a,
  .account-menu button,
  .button {
    overflow-wrap: normal;
    word-break: normal;
  }

  .irc-summary-grid,
  .irc-derived-grid,
  .irc-number-row,
  .irc-kpi-row {
    grid-template-columns: 1fr;
  }

  .irc-metric-card strong,
  .irc-kpi strong,
  .irc-truth-number strong {
    font-size: clamp(1.38rem, 7vw, 1.85rem);
  }
}

@media (max-width: 520px) {
  .assessment-panel {
    width: min(100%, calc(100vw - 10px));
    padding: 10px;
  }

  .irc-shell h2,
  .profile-assessment-shell h2 {
    font-size: clamp(1.32rem, 6.4vw, 1.82rem);
  }

  .wizard-progress {
    margin-bottom: 6px;
  }

  .wizard-progress span,
  .wizard-progress strong {
    font-size: 0.72rem;
  }

  .irc-choice {
    min-height: 52px;
    padding: 9px 10px;
  }

  .irc-choice strong {
    font-size: 0.9rem;
  }

  .irc-choice span {
    font-size: 0.72rem;
  }

  .irc-field input,
  .irc-item-grid input,
  .profile-contact-fields .field input {
    min-height: 42px;
  }

  .irc-editor {
    padding: 10px;
  }

  .irc-editor-head {
    gap: 8px;
  }

  .irc-editor-head div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .irc-stage-body:has(.irc-editor) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .irc-stage-body:has(.irc-editor) > .eyebrow,
  .irc-stage-body:has(.irc-editor) > h2,
  .irc-stage-body:has(.irc-editor) > .irc-field,
  .irc-stage-body:has(.irc-editor) > .irc-micro {
    grid-column: 1 / -1;
  }

  .irc-stage-body:has(.irc-editor) > .irc-editor {
    min-width: 0;
  }

  .irc-summary-grid,
  .irc-number-row,
  .irc-kpi-row,
  .profile-score-grid,
  .profile-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .irc-metric-card,
  .irc-kpi,
  .irc-truth-number {
    min-height: 82px;
    padding: 9px;
  }

  .irc-derived-grid .irc-metric-card strong {
    font-size: clamp(0.92rem, 4.2vw, 1.25rem);
  }

  .irc-metric-card strong,
  .irc-kpi strong,
  .irc-truth-number strong {
    font-size: clamp(1.05rem, 5.2vw, 1.45rem);
  }

  .irc-metric-card p,
  .irc-kpi span,
  .irc-truth-number span {
    font-size: 0.72rem;
  }

  .profile-score-grid article:nth-child(odd):last-child,
  .gap-list article:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }
  .framework-axis article {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num icon"
      "body body"
      "note note";
    padding: 14px;
  }

  .framework-axis span,
  .framework-axis i {
    align-self: center;
  }

  .framework-axis p,
  .framework-axis strong {
    font-size: 0.84rem;
  }
}

/* Premium report composition pass */
.irc-executive-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(229, 196, 119, 0.22);
  border-radius: 8px;
  background: rgba(229, 196, 119, 0.18);
}

.irc-executive-summary article {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  background: rgba(5, 13, 22, 0.92);
}

.irc-executive-summary span {
  color: rgba(246, 239, 228, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.irc-executive-summary strong {
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.irc-executive-summary .is-primary strong {
  color: var(--gold-soft);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.irc-report-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.irc-report-grid > .irc-reveal-block {
  grid-column: span 6;
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(229, 196, 119, 0.16);
  border-radius: 8px;
  background: rgba(246, 239, 228, 0.022);
}

.irc-report-wide {
  max-width: 100%;
}

.irc-report-grid .irc-number-row,
.irc-report-grid .irc-derived-grid,
.irc-report-grid .irc-kpi-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(246, 239, 228, 0.08);
  border-radius: 8px;
  background: rgba(246, 239, 228, 0.08);
}

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

.irc-report-grid .irc-derived-grid .irc-metric-card:nth-child(3) {
  grid-column: 1 / -1;
}

.irc-report-grid .irc-metric-card,
.irc-report-grid .irc-kpi,
.irc-report-grid .irc-truth-number {
  min-height: 88px;
  padding: 13px;
  border: 0;
  border-radius: 0;
  background: rgba(5, 13, 22, 0.82);
}

.irc-report-grid .irc-metric-card strong,
.irc-report-grid .irc-kpi strong,
.irc-report-grid .irc-truth-number strong {
  color: var(--white);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.4rem);
  font-weight: 900;
}

.irc-report-grid .irc-goal-report .irc-kpi-row {
  margin-top: 4px;
}

.irc-goal-report .irc-kpi:last-child strong,
.irc-executive-summary .is-primary strong {
  color: var(--gold-soft);
}

.irc-report-grid .irc-hero-number {
  padding: 16px;
  margin-top: 12px;
}

.irc-report-grid .irc-hero-number strong {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

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

.irc-soft-card {
  position: relative;
}

.irc-actions-report .irc-soft-card {
  border-color: rgba(246, 239, 228, 0.12);
  background: linear-gradient(135deg, rgba(246, 239, 228, 0.035), rgba(229, 196, 119, 0.028));
}

.irc-actions-report .irc-soft-card::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 2px;
  content: "";
  background: rgba(229, 196, 119, 0.55);
}

@media (max-width: 900px) {
  .irc-executive-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .irc-report-grid {
    grid-template-columns: 1fr;
  }

  .irc-report-grid > .irc-reveal-block {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .irc-executive-summary article {
    min-height: 86px;
    padding: 12px;
  }

  .irc-executive-summary strong {
    font-size: clamp(1.18rem, 5vw, 1.55rem);
  }

  .irc-executive-summary .is-primary strong {
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
  }

  .irc-report-grid {
    gap: 12px;
  }

  .irc-report-grid > .irc-reveal-block {
    padding: 14px;
  }

  .irc-report-grid .irc-number-row,
  .irc-report-grid .irc-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .irc-report-grid .irc-derived-grid .irc-metric-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .irc-report-grid .irc-metric-card,
  .irc-report-grid .irc-kpi,
  .irc-report-grid .irc-truth-number {
    min-height: 74px;
    padding: 8px;
  }

  .irc-report-grid .irc-metric-card strong,
  .irc-report-grid .irc-kpi strong,
  .irc-report-grid .irc-truth-number strong {
    font-size: clamp(0.82rem, 3.9vw, 1.12rem);
  }

  .irc-report-grid .irc-hero-number strong {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .irc-card-list {
    grid-template-columns: 1fr;
  }
}
`r`n`r`n`r`n
.irc-tertiary-text-action {
  min-height: auto;
  padding-inline: 4px;
  color: rgba(246, 239, 228, 0.72);
  text-decoration: underline;
  text-underline-offset: 5px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.irc-tertiary-text-action:hover,
.irc-tertiary-text-action:focus-visible {
  color: var(--gold-soft);
  border-color: transparent;
  background: transparent;
}

.irc-restart-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.irc-restart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 13, 0.68);
  backdrop-filter: blur(10px);
}

.irc-restart-sheet {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  padding: 24px;
  color: var(--white);
  border: 1px solid rgba(229, 196, 119, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(8, 18, 30, 0.98), rgba(4, 10, 18, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.irc-restart-sheet h3 {
  margin: 0;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  line-height: 1.05;
}

.irc-restart-sheet p {
  margin: 0;
  color: var(--muted);
}

.irc-restart-sheet .wizard-actions {
  margin-top: 4px;
}

@media (max-width: 520px) {
  .irc-restart-modal {
    align-items: end;
    padding: 12px;
  }

  .irc-restart-sheet {
    width: 100%;
    padding: 20px;
  }
}
/* VH6 mobile methodology timeline */
@media (max-width: 768px) {
  .vh6-system {
    padding-block: clamp(44px, 12vw, 72px);
  }

  .vh6-system .section-heading {
    max-width: 640px;
    margin-bottom: 24px;
    padding-inline: 2px;
    text-align: left;
  }

  .vh6-system .section-heading h2 {
    max-width: 100%;
    margin-inline: 0;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.1;
    text-align: left;
    text-wrap: balance;
  }

  .framework-axis {
    position: relative;
    display: grid;
    gap: 0;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    padding: 2px 0 0;
    border-top: 0;
  }

  .framework-axis::before {
    position: absolute;
    top: 18px;
    bottom: 20px;
    left: 17px;
    display: block;
    width: 1px;
    content: "";
    background: linear-gradient(180deg, rgba(229, 196, 119, 0.72), rgba(229, 196, 119, 0.08));
  }

  .framework-axis::after,
  .framework-axis article::before {
    display: none;
  }

  .framework-axis article {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "num body"
      "num note";
    column-gap: 14px;
    row-gap: 7px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 10px 0 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .framework-axis span {
    grid-area: num;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    align-self: start;
    padding: 0;
    place-items: center;
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    border: 1px solid rgba(229, 196, 119, 0.36);
    border-radius: 999px;
    background: rgba(8, 18, 29, 0.98);
    box-shadow: 0 0 0 5px var(--navy-930);
  }

  .framework-axis i {
    display: none;
  }

  .framework-axis article > div {
    grid-area: body;
    min-width: 0;
  }

  .framework-axis h3 {
    margin: 0 0 5px;
    color: var(--white);
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    line-height: 1.15;
    text-align: left;
  }

  .framework-axis p {
    width: 100%;
    max-width: none;
    margin: 0;
    color: rgba(246, 239, 228, 0.72);
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: left;
  }

  .framework-axis strong {
    grid-area: note;
    justify-self: start;
    width: auto;
    max-width: 100%;
    padding: 5px 9px;
    color: var(--gold-soft);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: left;
    border: 1px solid rgba(229, 196, 119, 0.16);
    border-radius: 999px;
    background: rgba(229, 196, 119, 0.06);
  }
}

@media (max-width: 430px) {
  .vh6-system .section-heading {
    margin-bottom: 18px;
  }

  .framework-axis article {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    padding-bottom: 14px;
  }

  .framework-axis::before {
    left: 16px;
  }

  .framework-axis span {
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 4px var(--navy-930);
  }

  .framework-axis p {
    font-size: 0.84rem;
  }
}
/* Final customer-facing conversion and result polish */
.hero-conversion-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 980px);
  align-items: stretch;
}

.hero-cta-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  min-width: 0;
}

.hero-cta-card .button {
  width: 100%;
  min-height: 54px;
  justify-content: center;
  padding-inline: 16px;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  white-space: normal;
}

.hero-cta-card p,
.hero-cta-card small {
  margin: 0;
  color: rgba(246, 239, 228, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-cta-card small {
  color: rgba(229, 196, 119, 0.76);
  font-size: 0.72rem;
}

.hero-cta-card.is-secondary .button {
  color: var(--white);
  border-color: rgba(229, 196, 119, 0.5);
  background: rgba(229, 196, 119, 0.055);
}

.hero-cta-card.is-tertiary .button {
  color: rgba(246, 239, 228, 0.9);
  border-color: rgba(229, 196, 119, 0.28);
  background: rgba(246, 239, 228, 0.025);
}

.irc-executive-result {
  max-width: min(1160px, 100%);
  margin-inline: auto;
}

.irc-executive-result > .eyebrow,
.irc-executive-result > h2,
.irc-result-lead {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.irc-result-lead {
  margin-top: -4px;
  color: rgba(246, 239, 228, 0.74);
  line-height: 1.62;
}

.irc-overview-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(229, 196, 119, 0.18);
  border-radius: 8px;
  background: rgba(229, 196, 119, 0.16);
}

.irc-story-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  background: rgba(5, 13, 22, 0.94);
}

.irc-story-panel h3,
.irc-overview-section h3,
.irc-result-cta h3 {
  margin: 0;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.1vw, 2.25rem);
  line-height: 1.05;
}

.irc-fact-rows {
  display: grid;
  gap: 0;
}

.irc-fact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(246, 239, 228, 0.08);
}

.irc-fact-row:last-child {
  border-bottom: 0;
}

.irc-fact-row span {
  color: rgba(246, 239, 228, 0.66);
  font-size: 0.86rem;
}

.irc-fact-row strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.irc-interpretation {
  margin: 2px 0 0;
  color: var(--gold-soft);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

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

.irc-overview-section {
  display: grid;
  gap: 12px;
}

.irc-priority-list {
  display: grid;
  gap: 12px;
}

.irc-priority-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(246, 239, 228, 0.08);
}

.irc-priority-list article:last-child {
  border-bottom: 0;
}

.irc-priority-list span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  border: 1px solid rgba(229, 196, 119, 0.28);
  border-radius: 999px;
  background: rgba(229, 196, 119, 0.06);
}

.irc-priority-list strong {
  display: block;
  color: var(--white);
  line-height: 1.3;
}

.irc-priority-list p {
  margin: 5px 0 0;
  color: rgba(246, 239, 228, 0.7);
  font-size: 0.88rem;
  line-height: 1.5;
}

.irc-result-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 2.6vw, 28px) 0 0;
  border-top: 1px solid rgba(229, 196, 119, 0.18);
}

.irc-result-cta p {
  max-width: 56ch;
  margin: 8px 0 0;
  color: rgba(246, 239, 228, 0.72);
}

.irc-result-actions {
  justify-content: end;
  gap: 9px;
}

.irc-result-actions .button-primary {
  order: 1;
}

.irc-result-actions .button-secondary {
  order: 2;
}

.irc-result-actions .button-tertiary:not(.irc-tertiary-text-action) {
  order: 3;
  color: rgba(246, 239, 228, 0.82);
  border-color: rgba(229, 196, 119, 0.18);
  background: rgba(246, 239, 228, 0.02);
}

.irc-result-actions .irc-tertiary-text-action {
  order: 4;
  width: 100%;
  justify-content: center;
  color: rgba(246, 239, 228, 0.62);
}

.irc-detail-accordion {
  margin-top: 2px;
  border-top: 1px solid rgba(246, 239, 228, 0.1);
}

.irc-detail-accordion > summary {
  display: none;
}

.irc-detail-accordion:not([open]) > :not(summary) {
  display: none;
}

.contact-context-premium {
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(18px, 3vw, 26px);
  text-align: center;
}

.contact-context-premium p,
.contact-context-premium small {
  max-width: 42ch;
  margin-inline: auto;
  text-align: center;
}

.contact-context-premium strong {
  display: block;
  margin: 8px auto;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.05;
  text-align: center;
}

.irc-restart-modal {
  align-items: center;
  justify-items: center;
  place-items: center;
}

.irc-restart-sheet {
  width: min(420px, calc(100vw - 32px));
  text-align: center;
}

.irc-restart-sheet .eyebrow,
.irc-restart-sheet h3,
.irc-restart-sheet p {
  text-align: center;
}

.irc-restart-sheet .wizard-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-conversion-stack,
  .irc-overview-story,
  .irc-overview-grid,
  .irc-result-cta {
    grid-template-columns: 1fr;
  }

  .hero-conversion-stack {
    max-width: 430px;
  }

  .irc-result-actions {
    justify-content: stretch;
  }

  .irc-result-actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-cta-card {
    gap: 7px;
  }

  .hero-cta-card .button {
    min-height: 50px;
  }

  .hero-cta-card p {
    font-size: 0.75rem;
  }

  .irc-executive-result > h2 {
    font-size: clamp(1.56rem, 7.6vw, 2rem);
  }

  .irc-result-lead {
    font-size: 0.88rem;
  }

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

  .irc-fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .irc-fact-row strong {
    text-align: left;
    white-space: normal;
  }

  .irc-story-panel,
  .irc-result-cta {
    padding-inline: 0;
  }

  .irc-priority-list article {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .irc-priority-list span {
    width: 28px;
    height: 28px;
  }
}

/* Compact legal footer and dialogs */
.legal-site-footer {
  display: block;
  padding: 18px 16px 20px;
  background: rgba(1, 4, 9, 0.96);
  border-top: 1px solid rgba(229, 196, 119, 0.16);
}

.legal-footer-inner {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.legal-footer-inner img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  opacity: 0.88;
}

.legal-footer-brand strong {
  display: block;
  color: rgba(246, 239, 228, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.legal-footer-brand p,
.legal-footer-bottom small,
.legal-footer-bottom span {
  margin: 4px 0 0;
  color: rgba(246, 239, 228, 0.48);
  font-size: 0.72rem;
  line-height: 1.55;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin-top: 4px;
}

.legal-footer-links button {
  padding: 4px 0;
  color: rgba(246, 239, 228, 0.64);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.legal-footer-links button:hover,
.legal-footer-links button:focus-visible,
.assessment-micro-disclaimer button:hover,
.assessment-micro-disclaimer button:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: rgba(229, 196, 119, 0.55);
  outline: 0;
}

.legal-footer-bottom {
  display: grid;
  gap: 3px;
  margin-top: 3px;
}

.legal-modal-panel {
  width: min(100%, 720px);
  max-height: min(76vh, 720px);
  overflow: auto;
  padding: clamp(20px, 3.4vw, 34px);
  border-radius: 8px;
  text-align: left;
}

.legal-modal-panel h2 {
  margin: 4px 0 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.legal-modal-body {
  display: grid;
  gap: 12px;
  color: rgba(246, 239, 228, 0.74);
  font-size: 0.93rem;
  line-height: 1.75;
}

.legal-modal-body p,
.legal-modal-body ul {
  margin: 0;
}

.legal-modal-body ul {
  padding-left: 20px;
}

.legal-modal-body li + li {
  margin-top: 5px;
}

.assessment-micro-disclaimer {
  margin: 12px auto 0;
  max-width: 720px;
  color: rgba(246, 239, 228, 0.52);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

.assessment-micro-disclaimer button {
  display: inline;
  padding: 0;
  color: rgba(229, 196, 119, 0.76);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(229, 196, 119, 0.28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.profile-result-actions .assessment-micro-disclaimer {
  flex-basis: 100%;
}

@media (max-width: 560px) {
  .legal-site-footer {
    padding: 16px 14px 18px;
  }

  .legal-footer-links {
    max-width: 340px;
    gap: 4px 12px;
  }

  .legal-modal-panel {
    max-height: 78vh;
    padding: 24px 20px;
  }
}
[data-modal="legal"].app-modal {
  align-items: center;
  justify-items: center;
  place-items: center;
}
/* Final fluid responsive composition pass */
.irc-executive-result {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.irc-overview-story {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.irc-story-panel,
.irc-overview-grid > div,
.irc-result-cta > div {
  min-width: 0;
}

.irc-result-cta {
  grid-template-columns: minmax(min(100%, 300px), 1fr) minmax(min(100%, 520px), auto);
  gap: clamp(16px, 2.4vw, 26px);
}

.irc-result-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  justify-items: stretch;
  align-items: center;
  width: min(100%, 620px);
  margin-left: auto;
}

.irc-result-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding-inline: clamp(12px, 1.6vw, 18px);
  text-align: center;
}

.irc-result-actions .irc-tertiary-text-action {
  grid-column: 2;
  width: auto;
  min-height: 38px;
  padding-inline: 14px;
  justify-self: center;
  color: rgba(246, 239, 228, 0.62);
  background: transparent;
  border-color: rgba(229, 196, 119, 0.16);
}

@media (max-width: 1120px) {
  .irc-result-cta {
    grid-template-columns: 1fr;
  }

  .irc-result-cta > div:first-child {
    max-width: 64ch;
  }

  .irc-result-actions {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .irc-result-cta > div:first-child {
    max-width: none;
    text-align: center;
  }

  .irc-result-cta p {
    margin-inline: auto;
  }

  .irc-result-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .irc-result-actions .button-primary {
    grid-column: 1 / -1;
  }

  .irc-result-actions .irc-tertiary-text-action {
    grid-column: 1 / -1;
    width: fit-content;
    min-width: min(100%, 190px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .irc-overview-story {
    gap: 12px;
  }

  .irc-story-panel {
    padding: 15px;
  }

  .irc-story-panel h3,
  .irc-overview-section h3,
  .irc-result-cta h3 {
    font-size: clamp(1.36rem, 6.5vw, 1.78rem);
  }

  .irc-fact-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .irc-fact-row {
    display: grid;
    min-width: 0;
    gap: 5px;
    align-content: start;
    padding: 10px;
    border: 1px solid rgba(229, 196, 119, 0.14);
    border-radius: 8px;
    background: rgba(246, 239, 228, 0.025);
  }

  .irc-fact-row:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .irc-fact-row span {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .irc-fact-row strong {
    font-size: clamp(0.86rem, 3.7vw, 0.98rem);
    line-height: 1.24;
    text-align: left;
    white-space: normal;
    overflow-wrap: normal;
  }

  .irc-interpretation {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(246, 239, 228, 0.09);
    font-size: 0.92rem;
  }

  .irc-priority-list article {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .irc-result-actions .button {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }
}

@media (max-width: 410px) {
  .irc-result-actions {
    grid-template-columns: 1fr;
  }

  .irc-result-actions .button-primary,
  .irc-result-actions .irc-tertiary-text-action {
    grid-column: auto;
  }

  .irc-result-actions .irc-tertiary-text-action {
    width: fit-content;
  }
}