/* ==========================================================================
   Syndicate Systems — Technical Institutional Light
   ========================================================================== */

:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --bg-section: #e8edf2;
  --border: #d0d7de;
  --border-subtle: rgba(208, 215, 222, 0.45);
  --border-faint: rgba(208, 215, 222, 0.28);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;

  --accent-blue: #2563eb;
  --accent-cyan: #0ea5a4;
  --steel-gray: #475569;

  --redaction: #e8edf2;

  --font-body: "Inter", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-heading: "Inter", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --container: min(1400px, 94vw);
  --page-shell: var(--container);
  --page-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 2.625rem;
  --header-h: var(--header-height);

  --gap-tight: 0.4rem;
  --gap-medium: 1rem;
  --gap-large: 2.25rem;
  --gap-section: 3rem;

  --rhythm-tight: 0.35rem;
  --rhythm-base: 0.65rem;
  --rhythm-loose: 1rem;
  --rhythm-section: 1.35rem;
  --radius: 3px;
  --transition: 0.2s ease;

  --line-height-body: 1.7;
  --line-height-heading: 1.2;

  --side-rail-width: clamp(180px, 17vw, 320px);
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--steel-gray);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--line-height-heading);
  margin: 0 0 var(--space-sm);
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-sm);
  max-width: 38rem;
}

ul {
  margin: 0;
  padding: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 1000;
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* Page layout — fixed side rails + scrollable center */
.page-layout {
  position: relative;
  z-index: 1;
}

@media (min-width: 901px) {
  .page-layout {
    margin-left: var(--side-rail-width);
    margin-right: var(--side-rail-width);
  }
}

.side-rail {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: var(--side-rail-width);
  overflow: hidden;
  z-index: 0;
}

@media (min-width: 901px) {
  .side-rail {
    display: block;
  }
}

.side-rail--left {
  left: 0;
  border-right: 1px solid var(--border-faint);
}

.side-rail--right {
  right: 0;
  border-left: 1px solid var(--border-faint);
}

.side-rail img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(0.95);
}

.side-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 245, 247, 0.22);
  pointer-events: none;
}

/* Layout — unified master grid */
.page-shell {
  width: var(--page-shell);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section {
  padding-block: var(--space-xl);
}

@media (max-width: 768px) {
  .section {
    padding-block: var(--space-lg);
  }
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 var(--space-xs);
}

.lead,
.section-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.65;
}

.narrative-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.125rem);
  color: var(--text-primary);
  font-weight: 500;
  max-width: 32rem;
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.phase-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-gray);
  margin: 0 0 var(--space-xs);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 0;
  padding-block: 0.125rem;
}

.brand:hover {
  opacity: 0.82;
}

.brand-logo {
  display: block;
  width: clamp(8.25rem, 14vw, 9.75rem);
  height: auto;
  max-height: clamp(1.35rem, 1.7vw, 1.6rem);
  object-fit: contain;
  object-position: left center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: clamp(0.85rem, 1.5vw, 1.35rem);
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding-block: 0.15rem;
}

.nav-list a:hover {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md) var(--space-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav-list a {
    display: block;
    padding: var(--space-xs) 0;
    font-size: 1rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--steel-gray);
  color: var(--text-primary);
}

.btn--disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* Hero — full-width editorial header */
.hero {
  position: relative;
  background: var(--surface);
  padding-block: clamp(1.15rem, 2.4vh, 1.6rem) var(--gap-large);
}

.hero-intro {
  width: 100%;
  max-width: 44rem;
}

.hero-intro h1 {
  margin: 0 0 var(--gap-tight);
  font-size: clamp(1.95rem, calc(1.5rem + 1.6vw), 2.65rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.036em;
  max-width: 14em;
}

.hero-lead {
  margin: 0 0 var(--gap-medium);
  max-width: 38rem;
  font-size: clamp(0.875rem, calc(0.82rem + 0.22vw), 0.9375rem);
  line-height: 1.46;
  color: var(--text-secondary);
}

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

.hero .btn {
  padding: 0.48rem 1.05rem;
  font-size: clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);
}

/* Capability brief — full-width newspaper panel */
.capability-brief {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: var(--gap-large);
}

/* Operational information panel */
.ops-panel {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(0.75rem, 1.4vw, 0.95rem) clamp(0.75rem, 1.5vw, 1rem);
}

.ops-panel__head {
  margin-bottom: 0.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-faint);
}

.ops-panel__head .field-label {
  margin-bottom: 0.35rem;
}

.ops-index {
  margin: 0;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--steel-gray);
}

.ops-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.ops-field {
  margin: 0;
}

.ops-field--span {
  grid-column: 1 / -1;
}

/* —— Ops panel: hierarchy & grouping polish —— */
.ops-panel .field-label {
  margin: 0 0 0.32rem;
  font-size: 0.53125rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1.25;
}

.ops-panel .field-value {
  margin: 0 0 0.22rem;
  font-size: clamp(0.9rem, calc(0.86rem + 0.12vw), 0.96875rem);
  font-weight: 600;
  line-height: 1.34;
  color: var(--text-primary);
  letter-spacing: -0.012em;
}

.ops-panel .field-value--inline {
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6b7280;
  margin-bottom: 0;
}

.ops-panel .field-body {
  font-size: 0.8125rem;
  line-height: 1.42;
  color: #6b7280;
  font-weight: 400;
}

.ops-panel .field-list li {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.44;
  color: var(--text-primary);
  margin-bottom: 0.32rem;
}

.ops-panel .field-list li:last-child {
  margin-bottom: 0;
}

.ops-panel .ops-field--span:first-child {
  padding-bottom: 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-faint);
}

.ops-panel .ops-field--row-start {
  padding-top: 0.15rem;
}

.ops-panel .ops-field--span:last-child {
  padding-top: 0.7rem;
  margin-top: 0.2rem;
  border-top: 1px solid var(--border-faint);
}

.ops-panel .field-meta {
  margin: 0.35rem 0 0;
  padding: 0.35rem 0 0;
  border-top: 1px solid var(--border-faint);
}

.ops-panel .field-meta__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.24rem;
  padding: 0.06rem 0;
}

.ops-panel .field-meta__row:last-child {
  margin-bottom: 0;
}

.ops-panel .field-meta dt {
  font-weight: 400;
  letter-spacing: 0.09em;
  font-size: 0.5625rem;
  color: #9ca3af;
}

.ops-panel .field-meta dd {
  font-size: 0.75rem;
  line-height: 1.38;
  color: var(--text-secondary);
}

.ops-panel .framework-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-panel .framework-ref li {
  display: inline-flex;
  align-items: center;
}

.ops-panel .framework-ref li:not(:last-child)::after {
  content: "·";
  margin-inline: 0.55rem;
  color: var(--border);
  font-weight: 400;
  font-size: 0.75rem;
}

.ops-panel .framework-ref a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ops-panel .framework-ref a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ops-panel .doc-module {
  background: var(--bg);
  padding: 0.85rem 0.9rem;
}

.ops-panel .doc-module__head {
  margin-bottom: 0.5rem;
}

.ops-panel .doc-module .field-label {
  margin-bottom: 0.45rem;
}

.ops-panel .doc-module__link {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
}

.ops-panel .doc-module__note {
  margin-top: 0.1rem;
  line-height: 1.42;
}

@media (min-width: 768px) {
  .ops-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0.9rem;
  }

  .ops-panel .ops-field--row-start {
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-faint);
  }
}

@media (min-width: 1024px) {
  .ops-panel__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 1.5rem);
    row-gap: 1rem;
  }

  .ops-panel .ops-field:nth-child(2) {
    grid-column: 1;
  }

  .ops-panel .ops-field:nth-child(3) {
    grid-column: 2;
  }

  .ops-panel .ops-field:nth-child(4) {
    grid-column: 3;
  }

  .ops-panel .ops-field:nth-child(5) {
    grid-column: 4;
  }
}

@media (min-width: 769px) and (max-height: 820px) {
  .hero-intro h1 {
    font-size: clamp(1.5rem, calc(1.15rem + 1vw), 1.95rem);
  }

  .ops-panel__grid {
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 767px) {
  .ops-panel .ops-field + .ops-field:not(.ops-field--span) {
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-faint);
  }

  .ops-panel .ops-field--span:first-child + .ops-field {
    border-top: none;
    padding-top: 0;
  }

  .ops-panel .ops-field--row-start {
    padding-top: 0.55rem;
    border-top: 1px solid var(--border-faint);
  }
}

/* Shared field typography */
.field-label {
  margin: 0 0 0.28rem;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field-value {
  margin: 0 0 0.2rem;
  font-size: clamp(0.875rem, calc(0.84rem + 0.15vw), 0.9375rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.field-value--inline {
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.field-body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.field-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.field-list li {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.38;
  color: var(--text-primary);
  margin-bottom: 0.18rem;
}

.field-list li:last-child {
  margin-bottom: 0;
}

.field-meta {
  margin: 0.15rem 0 0;
  padding: 0;
}

.field-meta__row {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.5rem;
  margin-bottom: 0.12rem;
  font-size: 0.75rem;
  line-height: 1.35;
}

.field-meta__row:last-child {
  margin-bottom: 0;
}

.field-meta dt {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.625rem;
}

.field-meta dd {
  margin: 0;
  color: var(--text-secondary);
}

/* Document module — capability statement artifact */
.doc-module {
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.doc-module__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.doc-module__type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.12rem 0.3rem;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  background: var(--surface);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel-gray);
}

.doc-module__rev {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.doc-module .field-label {
  margin-bottom: 0.35rem;
}

.doc-module__link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-subtle);
  text-underline-offset: 0.18em;
  margin-bottom: 0.25rem;
}

.doc-module__link:hover {
  color: var(--accent-blue);
  text-decoration-color: var(--accent-blue);
}

.doc-module__note {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.38;
  color: var(--text-muted);
  max-width: 24rem;
}

.doc-lines {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.doc-lines span {
  height: 1px;
  background: var(--border);
  border-radius: 0;
}

.doc-lines span:nth-child(1) { width: 100%; }
.doc-lines span:nth-child(2) { width: 72%; }
.doc-lines span:nth-child(3) { width: 48%; }
.doc-lines span:nth-child(4) { width: 32%; }

/* Redaction bars — document annotation, not tactical UI */
.redaction {
  position: absolute;
  background: var(--redaction);
  border: 1px solid var(--border);
}

.redaction--hero {
  top: 14%;
  right: 10%;
  width: 38%;
  height: 10px;
}

.redaction--sm {
  bottom: 16%;
  left: 8%;
  width: 30%;
  height: 7px;
}

.redaction--right {
  left: auto;
  right: 8%;
}

/* Operational Support Framework */
.section-kicker {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.section--framework {
  padding-block: var(--gap-section) var(--space-lg);
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
}

.framework-header {
  max-width: 42rem;
  margin-bottom: var(--gap-medium);
  padding-bottom: var(--gap-medium);
  border-bottom: 1px solid var(--border-faint);
}

.framework-header h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.framework-intro {
  margin: 0;
  font-size: clamp(0.8125rem, 1.3vw, 0.875rem);
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 36rem;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-faint);
  padding-top: var(--gap-medium);
}

.framework-card {
  padding: 0;
  border: none;
}

.framework-card:not(:last-child) {
  border-right: none;
}

.framework-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.framework-card p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: none;
}

.framework-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) auto;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
  align-items: start;
  margin-top: var(--gap-medium);
  padding: var(--gap-medium) 0 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-faint);
}

.framework-contact__primary h2 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-bottom: 0.35rem;
}

.framework-contact__lead {
  margin: 0;
  font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: none;
}

.framework-contact__details {
  font-style: normal;
  margin: 0;
  padding-left: 0;
  border-left: none;
}

.framework-contact__details p {
  margin: 0 0 0.25rem;
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
  max-width: none;
}

.framework-contact__details a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border);
}

.framework-contact__details a:hover {
  color: var(--accent-blue);
  text-decoration-color: var(--accent-blue);
}

.framework-contact__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.framework-contact__actions .btn {
  font-size: clamp(0.6875rem, 1vw, 0.75rem);
  padding: 0.45rem 0.85rem;
}

@media (max-width: 900px) {
  .framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.5rem, 1.2vw, 0.65rem);
  }

  .framework-card:not(:last-child) {
    border-right: none;
  }

  .framework-card:nth-child(odd):not(:nth-last-child(1)) {
    border-right: none;
  }

  .framework-card:nth-child(n+3) {
    padding-top: clamp(0.45rem, 1vw, 0.55rem);
    border-top: none;
  }

  .framework-contact {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .framework-contact__details {
    padding-left: 0;
    border-left: none;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border-faint);
  }
}

@media (max-width: 560px) {
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .framework-card:not(:last-child) {
    border-right: none;
  }

  .framework-card:nth-child(n+2) {
    padding-top: clamp(0.45rem, 1vw, 0.55rem);
    border-top: none;
  }

  .framework-contact__actions {
    width: 100%;
  }

  .framework-contact__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.placeholder,
.placeholder-block {
  color: var(--text-muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  padding: var(--space-md) 0 var(--space-lg);
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md) var(--space-lg);
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.footer-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-tagline {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.footer-legal {
  grid-column: 1 / -1;
  margin: var(--space-md) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: none;
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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