:root {
  --teal: #226b80;
  --dark-teal: #173d4a;
  --deep-teal: #102a33;
  --light-teal: #2e8aa8;
  --yellow: #faffb8;
  --paper: #f5f7f4;
  --paper-deep: #e8efed;
  --mist: #dce7e5;
  --ink: #11242b;
  --slate: #47616b;
  --slate-strong: #2d4650;
  --white: #ffffff;
  --line: rgba(17, 36, 43, 0.12);
  --line-strong: rgba(17, 36, 43, 0.2);
  --shadow: 0 22px 60px rgba(9, 25, 31, 0.16);
  --shadow-soft: 0 12px 24px rgba(17, 36, 43, 0.06);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content: min(1160px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(250, 255, 184, 0.12), transparent 24%),
    linear-gradient(180deg, #0d252d 0%, #123542 16rem, #163f4d 26rem, var(--paper-deep) 26rem, var(--paper) 100%);
}

body.page-services {
  background:
    radial-gradient(circle at 85% 0%, rgba(46, 138, 168, 0.15), transparent 22%),
    linear-gradient(180deg, #0d252d 0%, #143644 16rem, #194655 25rem, var(--paper-deep) 25rem, var(--paper) 100%);
}

body.page-services .page-hero {
  padding-bottom: 5rem;
}

body.page-services main > .section:first-of-type {
  position: relative;
  margin-top: -3.2rem;
}

body.page-services .hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

body.page-services .hero-actions .button {
  width: 100%;
  min-width: 0;
  text-align: center;
}

body.page-approach {
  background:
    radial-gradient(circle at 15% 0%, rgba(250, 255, 184, 0.1), transparent 20%),
    linear-gradient(180deg, #0b2128 0%, #12323d 16rem, #194454 25rem, var(--paper-deep) 25rem, var(--paper) 100%);
}

body.page-about {
  background:
    radial-gradient(circle at 85% 0%, rgba(250, 255, 184, 0.09), transparent 18%),
    linear-gradient(180deg, #0f2932 0%, #163846 16rem, #1d4959 25rem, var(--paper-deep) 25rem, var(--paper) 100%);
}

body.page-contact {
  background:
    radial-gradient(circle at 10% 0%, rgba(46, 138, 168, 0.15), transparent 22%),
    linear-gradient(180deg, #0d252d 0%, #133542 16rem, #184454 25rem, var(--paper-deep) 25rem, var(--paper) 100%);
}

body.page-form {
  background:
    radial-gradient(circle at 82% 0%, rgba(250, 255, 184, 0.1), transparent 18%),
    linear-gradient(180deg, #0c232b 0%, #133643 16rem, #194758 25rem, var(--paper-deep) 25rem, var(--paper) 100%);
}

body.page-patchlist {
  background:
    radial-gradient(circle at 15% 0%, rgba(46, 138, 168, 0.16), transparent 22%),
    linear-gradient(180deg, #0a2027 0%, #123742 16rem, #1a4a58 25rem, var(--paper-deep) 25rem, var(--paper) 100%);
}

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

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

svg {
  display: block;
}

.site-shell {
  min-height: 100vh;
}

.topbar,
.page-hero,
.section,
.site-footer {
  width: var(--content);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.brandmark img {
  width: clamp(160px, 22vw, 250px);
}

.topnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.98);
  font-size: 0.94rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topnav a {
  position: relative;
  font-weight: 700;
  padding-bottom: 0.15rem;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--yellow);
  transition: transform 160ms ease;
}

.topnav a:hover::after,
.topnav a:focus-visible::after,
.topnav a.active::after {
  transform: scaleX(1);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 2rem;
  align-items: start;
  padding: 3.75rem 0 5rem;
}

.hero-copy,
.hero-art {
  min-width: 0;
}

.hero-copy {
  max-width: 44rem;
  padding: 1.6rem 1.7rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(8, 25, 31, 0.52), rgba(8, 25, 31, 0.28)),
    rgba(8, 25, 31, 0.24);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

.page-hero h1,
.section h2,
.cta-band h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-hero h1 {
  max-width: 11ch;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.35rem);
  text-wrap: balance;
}

.hero-text,
.intro-card p,
.overview-card p,
.service-card p,
.detail-card p,
.process-step p,
.timeline-card p,
.about-copy p,
.contact-card p,
.contact-list li,
.prompt-list li,
.cta-band p,
.site-footer p {
  line-height: 1.65;
}

.hero-text {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--yellow);
  color: var(--deep-teal);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}

.mini-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hero-art {
  display: grid;
  gap: 1rem;
}

.intro-card,
.hero-visual,
.overview-card,
.service-card,
.detail-card,
.process-step,
.timeline-card,
.profile-panel,
.contact-card,
.cta-band {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.intro-card {
  padding: 1.6rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(6, 20, 25, 0.7);
  backdrop-filter: blur(10px);
}

.intro-card h2 {
  margin: 0.55rem 0 0.75rem;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.hero-facts div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts dt {
  margin: 0 0 0.4rem;
  color: rgba(250, 255, 184, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.hero-visual {
  padding: 1.15rem;
  border: 1px solid rgba(17, 36, 43, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 239, 237, 0.98)),
    var(--white);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.visual-card {
  min-height: 142px;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 36, 43, 0.16);
  background:
    linear-gradient(180deg, rgba(34, 107, 128, 0.08), rgba(34, 107, 128, 0.16)),
    rgba(255, 255, 255, 0.98);
}

.visual-card.tall {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: center;
}

.visual-card h3,
.overview-card h3,
.service-card h3,
.detail-card h3,
.process-step h3,
.timeline-card h3,
.contact-card h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.2rem;
  line-height: 1.15;
}

.visual-card p,
.overview-card p,
.service-card p,
.detail-card p,
.process-step p,
.timeline-card p,
.contact-card p {
  margin: 0;
  color: var(--slate-strong);
}

.icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(34, 107, 128, 0.1);
}

.icon-frame svg {
  width: 1.6rem;
  height: 1.6rem;
}

.wide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(34, 107, 128, 0.12), rgba(250, 255, 184, 0.7)),
    var(--white);
}

.wide-icon svg {
  width: 54px;
  height: 54px;
  color: var(--deep-teal);
}

.section {
  padding: 0 0 5.4rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.contact-followup {
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 5.6vw, 4.4rem);
}

.section-heading p:last-child {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--slate-strong);
  font-size: 1.06rem;
}

.overview-grid,
.service-grid,
.detail-grid,
.process-grid,
.timeline-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.overview-card,
.service-card,
.detail-card,
.process-step,
.timeline-card,
.contact-card {
  padding: 1.4rem;
  border: 1px solid rgba(17, 36, 43, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 239, 237, 0.96)),
    var(--white);
}

.overview-card {
  position: relative;
  min-height: 100%;
}

.overview-card::before,
.service-card::before,
.detail-card::before,
.process-step::before,
.timeline-card::before,
.contact-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 0.35rem;
  margin: -1.4rem 0 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, var(--teal), var(--yellow));
}

.overview-card strong,
.support-pill,
.timeline-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 107, 128, 0.1);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--teal);
  font-weight: 700;
}

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

.service-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: var(--deep-teal);
  background: var(--yellow);
}

.service-icon svg,
.contact-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.support-list,
.prompt-list,
.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.support-list li,
.prompt-list li,
.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--slate-strong);
}

.support-list li::before,
.prompt-list li::before,
.check-list li::before {
  content: "";
  flex: none;
  width: 0.78rem;
  height: 0.78rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(34, 107, 128, 0.08);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.25rem;
  align-items: start;
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

.panel-card {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17, 36, 43, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 239, 237, 0.96)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.panel-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.dark-panel {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(250, 255, 184, 0.12), transparent 32%),
    linear-gradient(180deg, #081b22, #143847 100%);
  box-shadow: var(--shadow);
}

.dark-panel p,
.dark-panel li {
  color: rgba(255, 255, 255, 0.92);
}

.dark-panel .support-list li::before,
.dark-panel .prompt-list li::before,
.dark-panel .check-list li::before {
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(250, 255, 184, 0.12);
}

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

.process-card-link {
  color: inherit;
  text-decoration: none;
}

.process-card-link:hover,
.process-card-link:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(34, 107, 128, 0.1);
  color: var(--teal);
  font-weight: 800;
}

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

.profile-panel {
  padding: 1.55rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(34, 107, 128, 0.08), rgba(34, 107, 128, 0.03)),
    var(--white);
}

.argon-name {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 1.1rem;
  padding: 0.3rem 0.45rem;
  border-radius: 0;
}

.profile-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--slate-strong);
}

.profile-list li::before {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: var(--teal);
}

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

.contact-card a {
  color: var(--teal);
  font-weight: 700;
}

.inline-email-link {
  color: var(--light-teal);
  font-weight: 700;
}

.show-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.show-form-shell {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(17, 36, 43, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 239, 237, 0.97)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.show-form {
  display: grid;
  gap: 1.3rem;
}

.form-section {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(17, 36, 43, 0.12);
}

.form-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.form-section h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

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

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

.field {
  display: grid;
  gap: 0.38rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(17, 36, 43, 0.18);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(34, 107, 128, 0.18);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field-help {
  color: var(--slate);
  font-size: 0.88rem;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 0.2rem;
}

.form-secondary-button {
  color: var(--slate-strong);
  border-color: rgba(17, 36, 43, 0.16);
  background: rgba(220, 231, 229, 0.55);
}

.form-secondary-button:hover,
.form-secondary-button:focus-visible {
  color: var(--ink);
  border-color: rgba(17, 36, 43, 0.26);
  background: rgba(220, 231, 229, 0.8);
}

.form-status,
.form-admin-note {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.form-status {
  display: none;
  border: 1px solid rgba(17, 36, 43, 0.14);
  background: rgba(34, 107, 128, 0.08);
  color: var(--ink);
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  border-color: rgba(34, 107, 128, 0.24);
  background: rgba(34, 107, 128, 0.1);
  color: #143847;
}

.form-status.is-error {
  border-color: rgba(132, 39, 39, 0.18);
  background: rgba(132, 39, 39, 0.08);
  color: #6f1f1f;
}

.form-admin-note {
  border: 1px solid rgba(189, 146, 0, 0.24);
  background: rgba(250, 255, 184, 0.7);
  color: #4d4500;
}

.cta-band {
  padding: 1.9rem;
  color: var(--white);
  background:
    radial-gradient(circle at right top, rgba(250, 255, 184, 0.14), transparent 24%),
    linear-gradient(180deg, #0b2128, #153c4a);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band p {
  max-width: 50ch;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.patch-section {
  padding-top: 0;
  padding-bottom: 2.8rem;
}

.patch-section .section-heading {
  margin-bottom: 0.6rem;
}

.patch-section .section-heading h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.02;
}

.patch-sheet-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem;
  border: 1px solid rgba(17, 36, 43, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(232, 239, 237, 0.975)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.patch-sheet-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(250, 255, 184, 0.12), transparent 24%),
    linear-gradient(135deg, #10323c, #1c5567);
  color: var(--white);
}

.patch-sheet-banner span,
.patch-showinfo-block h3,
.patch-overview-block h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
}

.patch-sheet-banner small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.patch-workbook-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.patch-tab {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(17, 36, 43, 0.12);
  border-radius: 999px;
  background: rgba(220, 231, 229, 0.72);
  color: var(--slate-strong);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.patch-tab.is-active {
  border-color: rgba(34, 107, 128, 0.26);
  background: rgba(34, 107, 128, 0.14);
  color: var(--deep-teal);
}

.patch-showinfo-sheet {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem;
  border: 1px solid rgba(17, 36, 43, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 107, 128, 0.05), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.patch-showinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.patch-showinfo-block,
.patch-overview-block {
  padding: 0.8rem;
  border: 1px solid rgba(17, 36, 43, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 107, 128, 0.07), rgba(34, 107, 128, 0.03)),
    rgba(255, 255, 255, 0.96);
}

.patch-showinfo-block dl,
.patch-system-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
}

.patch-showinfo-block dl div,
.patch-system-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.28rem;
  align-items: center;
}

.patch-showinfo-block dt,
.patch-system-list dt {
  color: var(--slate-strong);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.patch-showinfo-block dd,
.patch-system-list dd {
  min-height: 1.65rem;
  margin: 0;
  padding: 0.34rem 0.5rem;
  border: 1px solid rgba(17, 36, 43, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.patch-ghost {
  display: block;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 107, 128, 0.2), rgba(34, 107, 128, 0.08));
}

.patch-ghost-short {
  width: 38%;
}

.patch-ghost-mid {
  width: 62%;
}

.patch-ghost-long {
  width: 84%;
}

.patch-value-text {
  display: inline-block;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.patch-system-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

.patch-table-shell {
  display: grid;
  gap: 0.45rem;
  padding: 0.45rem;
  border: 1px solid rgba(17, 36, 43, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(34, 107, 128, 0.05), rgba(255, 255, 255, 0.9));
  overflow-x: auto;
}

.patch-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
}

.patch-table th,
.patch-table td {
  border: 1px solid rgba(17, 36, 43, 0.18);
  padding: 0.38rem 0.34rem;
  color: var(--ink);
  font-size: 0.76rem;
  text-align: left;
  vertical-align: middle;
}

.patch-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #123b49;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.patch-table td {
  min-height: 1.7rem;
  background: rgba(255, 255, 255, 0.98);
}

.patch-table tbody tr:nth-child(even) td:not(.patch-index-cell) {
  background: rgba(245, 247, 244, 0.98);
}

.patch-index-cell {
  width: 3rem;
  min-width: 3rem;
  background: rgba(34, 107, 128, 0.96) !important;
  color: var(--white) !important;
  font-weight: 800;
  text-align: center;
}

#inputs-table td:not(.patch-index-cell),
#outputs-table td:not(.patch-index-cell),
#dante-table td:not(.patch-index-cell),
#notes-table td:not(.patch-index-cell),
#rf-table td:not(.patch-index-cell) {
  min-width: 5rem;
}

#monitor-table {
  min-width: 720px;
}

#monitor-table th,
#monitor-table td {
  min-width: 3rem;
  padding: 0.34rem 0.2rem;
  text-align: center;
}

#monitor-table th:nth-child(2),
#monitor-table td:nth-child(2) {
  min-width: 6.5rem;
  text-align: left;
}

#notes-table {
  min-width: 560px;
}

.patch-note-break td {
  border-top: 2px solid rgba(34, 107, 128, 0.34);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.6rem;
}

.site-footer img {
  width: clamp(145px, 18vw, 210px);
}

.site-footer p {
  margin: 0;
  color: var(--slate);
}

@media (max-width: 1024px) {
  .page-hero,
  .split-layout,
  .show-form-layout,
  .patch-showinfo-grid,
  .contact-grid,
  .timeline-grid,
  .overview-grid,
  .service-grid,
  .detail-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid .timeline-card:last-child,
  .process-grid .process-step:last-child,
  .overview-grid .overview-card:last-child {
    grid-column: span 2;
  }

  .visual-card.tall {
    grid-template-columns: 1fr;
  }

  .wide-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
  }
}

@media (max-width: 780px) {
  body,
  body.page-services,
  body.page-approach,
  body.page-about,
  body.page-contact,
  body.page-form,
  body.page-patchlist {
    background:
      radial-gradient(circle at top left, rgba(250, 255, 184, 0.1), transparent 22%),
      linear-gradient(180deg, #0d252d 0%, #143847 14rem, #194656 22rem, var(--paper-deep) 22rem, var(--paper) 100%);
  }

  .topbar,
  .page-hero,
  .section,
  .site-footer {
    width: min(100% - 1.25rem, 100%);
  }

  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    gap: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  .brandmark img {
    width: clamp(148px, 44vw, 205px);
  }

  .page-hero,
  .overview-grid,
  .service-grid,
  .detail-grid,
  .process-grid,
  .timeline-grid,
  .contact-grid,
  .split-layout,
  .show-form-layout,
  .form-grid.two-col,
  .form-grid.three-col,
  .hero-facts,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  body.page-services .hero-actions {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 2.6rem 0 4rem;
  }

  .hero-copy,
  .intro-card,
  .patch-sheet-card,
  .show-form-shell,
  .panel-card,
  .profile-panel,
  .contact-card,
  .cta-band {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero-copy {
    padding-top: 1.2rem;
    padding-bottom: 1.3rem;
  }

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

  .page-hero h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .section {
    padding-bottom: 4.4rem;
  }

  .section-heading h2,
  .cta-band h2 {
    max-width: none;
  }

  .overview-card::before,
  .service-card::before,
  .detail-card::before,
  .process-step::before,
  .timeline-card::before,
  .contact-card::before {
    margin-top: -1.4rem;
  }

  .timeline-grid .timeline-card:last-child,
  .process-grid .process-step:last-child,
  .overview-grid .overview-card:last-child {
    grid-column: auto;
  }

  .visual-card.tall {
    grid-column: auto;
  }

  body.page-services main > .section:first-of-type {
    margin-top: -1.4rem;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 1rem;
    padding-top: 1rem;
  }

  .topnav {
    gap: 0.7rem 0.85rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  .page-hero {
    padding-top: 2.15rem;
    padding-bottom: 3.6rem;
  }

  .hero-text,
  .section-heading p:last-child,
  .cta-band p {
    font-size: 1rem;
  }

  .show-form-shell,
  .hero-copy,
  .intro-card,
  .patch-sheet-card,
  .panel-card,
  .contact-card,
  .cta-band {
    padding: 1rem;
  }

  .patch-showinfo-block dl div,
  .patch-system-list div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .patch-showinfo-grid {
    grid-template-columns: 1fr;
  }
}
