:root {
  --navy-900: #070E18;
  --navy-800: #0A111B;
  --navy-700: #0E151F;
  --navy-600: #14202E;
  --navy-500: #1B2A3B;
  --gold-600: #B98F45;
  --gold-500: #C59A4C;
  --gold-400: #CFA657;
  --gold-100: #E8D9B6;
  --silver-500: #9C9D9B;
  --silver-300: #C9CDD2;
  --ink-100: #EDEFF2;
  --ink-300: #AAB2BC;
  --paper: #F5F3EE;
  --paper-ink: #1A2230;
  --max-width: 1180px;
  --header-height: 82px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--ink-100);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 700;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(197, 154, 76, 0.18);
  background: rgba(7, 14, 24, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 72px;
  height: auto;
  object-fit: contain;
}

.brand strong,
.footer-brand span {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  color: var(--silver-300);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--silver-300);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-500);
  border-radius: 6px;
  background: var(--gold-500);
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.82rem 1.1rem;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-small {
  min-height: 38px;
  padding: 0.58rem 0.9rem;
}

.button-ghost {
  background: transparent;
  color: var(--ink-100);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--navy-900);
}

.button-dark {
  background: var(--navy-900);
  color: var(--ink-100);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--gold-500);
  color: var(--navy-900);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) 5vw 2rem;
}

.hero-media,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 24, 0.96), rgba(7, 14, 24, 0.73) 46%, rgba(7, 14, 24, 0.5)),
    linear-gradient(0deg, rgba(7, 14, 24, 0.98), rgba(7, 14, 24, 0.08) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  color: var(--gold-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

h1 {
  font-size: 3.55rem;
  margin-bottom: 1.2rem;
  max-width: 17ch;
}

h2 {
  font-size: 2.6rem;
  margin-bottom: 0;
}

h3 {
  color: var(--ink-100);
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.hero-subhead {
  color: var(--silver-300);
  font-size: 1.12rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.section {
  padding: 6rem 5vw;
}

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

.section-heading {
  border-left: 1px solid var(--gold-500);
  padding-left: 1.25rem;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 1px;
  margin-top: 1.2rem;
  background: var(--gold-500);
}

.promise {
  background: var(--navy-700);
  padding-top: 3.4rem;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.promise-card,
.capability-card,
.highlight-card,
.contact-form {
  border: 1px solid rgba(201, 205, 210, 0.14);
  border-radius: 8px;
  background: rgba(20, 32, 46, 0.74);
}

.promise-card {
  min-height: 260px;
  padding: 1.35rem;
}

.promise-card p,
.capability-card p,
.highlight-card p {
  color: var(--ink-300);
  margin-bottom: 0;
}

.card-number {
  display: block;
  color: var(--gold-500);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 2.1rem;
}

.diamond-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  height: 54px;
  background: var(--navy-800);
}

.diamond-rule::before,
.diamond-rule::after {
  content: "";
  width: min(14vw, 120px);
  height: 1px;
  background: rgba(197, 154, 76, 0.7);
}

.diamond-rule span::before {
  content: "\25C6";
  color: var(--gold-500);
  font-size: 0.7rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.split-heading > p {
  color: var(--silver-300);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.split-heading > .button {
  align-self: start;
  justify-self: start;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.capability-card {
  grid-column: span 3;
  overflow: hidden;
}

.capability-card.feature-card {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.capability-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.capability-card.feature-card img {
  aspect-ratio: 16 / 9;
}

.capability-card div {
  padding: 1.25rem;
}

.capability-card h3 {
  font-size: 1.08rem;
}

.closing-line {
  max-width: 760px;
  color: var(--silver-300);
  margin: 2.3rem 0 0;
}

.asset-types-section {
  background: var(--navy-700);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.asset-card {
  min-height: 100%;
  border: 1px solid rgba(201, 205, 210, 0.14);
  border-radius: 8px;
  background: rgba(20, 32, 46, 0.74);
  overflow: hidden;
}

.asset-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.asset-card div {
  padding: 1.15rem;
}

.asset-card p {
  color: var(--ink-300);
  margin-bottom: 0;
}

.platform-teaser {
  background: var(--navy-900);
  border-top: 1px solid rgba(197, 154, 76, 0.18);
  border-bottom: 1px solid rgba(197, 154, 76, 0.18);
  padding: 3rem 5vw;
}

.platform-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.platform-teaser h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.platform-teaser p:not(.eyebrow) {
  color: var(--silver-300);
  margin-bottom: 0;
  max-width: 760px;
}

.paper-section {
  background: var(--paper);
  color: var(--paper-ink);
}

.paper-section .eyebrow {
  color: var(--gold-600);
}

.paper-section .section-heading {
  border-color: var(--gold-600);
}

.paper-section .section-heading h2::after {
  background: var(--gold-600);
}

.paper-section h2,
.paper-section h3 {
  color: var(--paper-ink);
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 4rem;
}

.owner-copy > p {
  font-size: 1.12rem;
}

.owner-list,
.capability-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.owner-list li,
.capability-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.95rem;
}

.owner-list li::before,
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--gold-500);
  transform: rotate(45deg);
}

blockquote {
  margin: 0 0 2rem;
}

blockquote p {
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.12;
}

.advantage {
  background: var(--navy-800);
}

.advantage-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.advantage-media {
  border: 1px solid rgba(197, 154, 76, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.advantage-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.lead {
  color: var(--silver-300);
  font-size: 1.05rem;
  margin: 2rem 0 0;
}

.capability-list {
  columns: 2;
  column-gap: 2rem;
  color: var(--ink-300);
}

.capability-list li {
  break-inside: avoid;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.highlight-card {
  min-height: 180px;
  padding: 1.4rem;
}

.wide-quote {
  border-top: 1px solid rgba(197, 154, 76, 0.42);
  border-bottom: 1px solid rgba(197, 154, 76, 0.42);
  margin-top: 4rem;
  padding: 2.2rem 0;
}

.wide-quote p {
  color: var(--gold-100);
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.steps-section {
  background: var(--navy-700);
}

.steps-list {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(197, 154, 76, 0.28);
  border: 1px solid rgba(197, 154, 76, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.steps-list li {
  min-height: 300px;
  background: var(--navy-700);
  padding: 1.45rem;
}

.steps-list span {
  color: var(--gold-500);
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 3rem;
}

.steps-list p {
  color: var(--ink-300);
}

.contact-section {
  background: var(--navy-900);
}

.page-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 3rem) 5vw 4rem;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 24, 0.98), rgba(7, 14, 24, 0.78) 48%, rgba(7, 14, 24, 0.46)),
    linear-gradient(0deg, rgba(7, 14, 24, 0.95), rgba(7, 14, 24, 0.08) 58%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.page-hero-content h1 {
  max-width: 16ch;
}

.page-hero-content p {
  color: var(--silver-300);
  font-size: 1.12rem;
  max-width: 680px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.platform-feature-card {
  min-height: 220px;
  border: 1px solid rgba(201, 205, 210, 0.14);
  border-radius: 8px;
  background: rgba(20, 32, 46, 0.74);
  padding: 1.35rem;
}

.platform-feature-card span {
  display: block;
  color: var(--gold-500);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 1.6rem;
}

.platform-feature-card p {
  color: var(--ink-300);
  margin-bottom: 0;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(197, 154, 76, 0.25);
  border-radius: 8px;
  background: rgba(197, 154, 76, 0.25);
  overflow: hidden;
}

.use-case-grid div {
  min-height: 150px;
  background: var(--navy-700);
  padding: 1.2rem;
}

.use-case-grid p {
  color: var(--ink-300);
  margin-bottom: 0;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.split-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(197, 154, 76, 0.28);
  border-radius: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.contact-copy > p {
  color: var(--silver-300);
  font-size: 1.08rem;
  margin: 2rem 0;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.contact-details div {
  border-top: 1px solid rgba(197, 154, 76, 0.28);
  padding-top: 1rem;
}

.contact-details dt {
  color: var(--gold-100);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details dd {
  color: var(--silver-300);
  margin: 0.35rem 0 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.full,
.consent-row,
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--gold-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(201, 205, 210, 0.18);
  border-radius: 6px;
  background: rgba(7, 14, 24, 0.8);
  color: var(--ink-100);
  outline: none;
  padding: 0.8rem 0.85rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 154, 76, 0.16);
}

.consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  border-top: 1px solid rgba(201, 205, 210, 0.12);
  padding-top: 0.15rem;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--gold-500);
}

.consent-row label {
  color: var(--silver-300);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.consent-row a {
  color: var(--gold-100);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.form-note {
  color: var(--ink-300);
  font-size: 0.86rem;
  margin: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.pontifex-chat {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 15;
  width: min(360px, calc(100vw - 2rem));
  display: grid;
  justify-items: end;
  gap: 0.75rem;
  pointer-events: none;
}

.chat-launcher,
.chat-panel {
  pointer-events: auto;
}

.chat-launcher {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  max-width: 330px;
  border: 1px solid rgba(207, 166, 87, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 14, 24, 0.96), rgba(20, 32, 46, 0.96)),
    var(--navy-900);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  color: var(--ink-100);
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  text-align: left;
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
  border-color: var(--gold-400);
  color: var(--ink-100);
}

.chat-launcher img,
.chat-panel-header img {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.chat-launcher strong,
.chat-launcher small {
  display: block;
}

.chat-launcher strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.chat-launcher small {
  color: var(--gold-100);
  font-size: 0.76rem;
  margin-top: 0.18rem;
}

.chat-panel {
  order: 1;
  width: 100%;
  max-height: calc(100dvh - var(--header-height) - 7rem);
  border: 1px solid rgba(207, 166, 87, 0.46);
  border-radius: 8px;
  background: rgba(7, 14, 24, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  overflow: auto;
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel-header {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  border-bottom: 1px solid rgba(207, 166, 87, 0.24);
  background: rgba(20, 32, 46, 0.9);
  padding: 1rem;
}

.chat-panel-header strong,
.chat-panel-header span {
  display: block;
}

.chat-panel-header strong {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.chat-panel-header span {
  color: var(--silver-300);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 0.16rem;
}

.chat-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.chat-form label {
  font-size: 0.7rem;
}

.chat-form .consent-row label {
  font-size: 0.72rem;
}

.chat-form textarea {
  min-height: 92px;
}

.chat-form .button {
  width: 100%;
}

.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(197, 154, 76, 0.2);
  padding: 3.5rem 5vw;
}

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

.footer-brand img {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.site-footer p {
  color: var(--silver-300);
  max-width: 560px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  color: var(--ink-300);
  font-size: 0.92rem;
  margin: 1.4rem 0;
}

.legal-hero {
  background:
    linear-gradient(90deg, rgba(7, 14, 24, 0.98), rgba(7, 14, 24, 0.82)),
    url("assets/images/generic-operations-command.jpg") center / cover;
  border-bottom: 1px solid rgba(197, 154, 76, 0.24);
  padding: calc(var(--header-height) + 4rem) 5vw 4rem;
}

.legal-hero h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.legal-hero p:not(.eyebrow) {
  color: var(--silver-300);
  margin-bottom: 0;
}

.legal-section {
  background: var(--paper);
  color: var(--paper-ink);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: grid;
  gap: 0.55rem;
  border-left: 1px solid var(--gold-600);
  padding-left: 1rem;
}

.legal-nav a {
  color: #4A5260;
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-content {
  max-width: 820px;
}

.legal-content section {
  border-bottom: 1px solid rgba(20, 32, 46, 0.14);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.legal-content section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-content h2 {
  color: var(--paper-ink);
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
  color: #3B4654;
}

.legal-content a {
  color: #7B5A1E;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.copyright {
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .promise-grid,
  .steps-list,
  .highlights-grid,
  .asset-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-card,
  .capability-card.feature-card {
    grid-column: span 6;
    display: block;
  }

  .owner-grid,
  .advantage-grid,
  .contact-grid,
  .split-heading,
  .split-feature,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-teaser-grid {
    grid-template-columns: 1fr;
  }

  .capability-list {
    columns: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  body.nav-open .pontifex-chat {
    display: none;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand img {
    width: 58px;
    height: auto;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    border: 1px solid rgba(197, 154, 76, 0.35);
    border-radius: 6px;
    background: transparent;
    color: var(--ink-100);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--gold-100);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    height: calc(100dvh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1rem;
    background: var(--navy-900);
    border-left: 1px solid rgba(197, 154, 76, 0.22);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(201, 205, 210, 0.12);
    padding: 1rem 0;
  }

  .site-nav .button {
    margin-top: 1rem;
  }

  .hero {
    min-height: 86vh;
    padding: calc(var(--header-height) + 4rem) 1rem 3.4rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 14, 24, 0.97), rgba(7, 14, 24, 0.78)),
      linear-gradient(0deg, rgba(7, 14, 24, 0.98), rgba(7, 14, 24, 0.1) 62%);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero-subhead,
  .split-heading > p,
  .lead,
  .owner-copy > p,
  .contact-copy > p {
    font-size: 1rem;
  }

  .section {
    padding: 4.4rem 1rem;
  }

  .promise-grid,
  .steps-list,
  .highlights-grid,
  .asset-grid,
  .feature-grid,
  .use-case-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 78vh;
    padding: calc(var(--header-height) + 3rem) 1rem 3rem;
  }

  .legal-hero {
    padding: calc(var(--header-height) + 3rem) 1rem 3rem;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .promise-card,
  .steps-list li {
    min-height: auto;
  }

  blockquote p {
    font-size: 1.7rem;
  }

  .footer-meta {
    display: grid;
  }

  .pontifex-chat {
    right: 1rem;
    bottom: 0.85rem;
    left: 1rem;
    width: auto;
  }

  .chat-launcher {
    width: 100%;
    max-width: none;
  }

  .chat-panel {
    max-height: calc(100dvh - var(--header-height) - 7rem);
    overflow: auto;
  }
}

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

  h1 {
    font-size: 2.1rem;
  }

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

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