/* Joint Service Network — Shared Styles */

:root {
  --navy: #0b1f3a;
  --navy-dark: #071526;
  --navy-mid: #143058;
  --accent: #2563a8;
  --accent-hover: #1d4f88;
  --slate: #475569;
  --slate-light: #64748b;
  --text: #334155;
  --heading: #0f172a;
  --border: #e2e8f0;
  --border-subtle: #edf2f7;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --radius: 6px;
  --max-width: 1120px;
  --header-height: 72px;
  --space-section: 4.75rem;
  --space-section-sm: 3.5rem;
  --font-sans: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --focus-ring: 0 0 0 3px rgba(37, 99, 168, 0.35);
  --text-body: 1.125rem;
  --line-body: 1.7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--line-body);
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.05rem, 4vw, 2.85rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.15rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  box-shadow: var(--focus-ring);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.015em;
  line-height: 1.2;
  height: 100%;
}

.logo:hover {
  color: var(--navy-mid);
}

.logo:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: var(--radius);
  min-height: 44px;
}

.primary-nav a:hover {
  color: var(--navy);
  background: var(--bg-soft);
}

.primary-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--bg-muted);
}

.primary-nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.2rem;
}

.primary-nav .nav-cta:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.primary-nav .nav-cta[aria-current="page"] {
  background: var(--navy-mid);
  color: var(--white);
}

/* Hero */
.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0 var(--space-section);
}

.hero-brand {
  margin: 0 0 2.25rem;
}

.hero-brand-frame {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #020617;
  line-height: 0;
}

.hero-brand-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(520px, 62vw);
  object-fit: cover;
  object-position: center 32%;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 40rem;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.95rem;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--slate);
  margin-bottom: 1.85rem;
  line-height: 1.75;
}

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

/* Media slots — local images with styled fallbacks */
.media-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(11, 31, 58, 0.08) 0%, rgba(37, 99, 168, 0.06) 48%, rgba(241, 245, 249, 0.95) 100%),
    var(--bg-muted);
  box-shadow: var(--shadow-md);
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-slot__fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.35rem 1.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-mid);
  background:
    linear-gradient(160deg, #dbe4ef 0%, #eef2f7 42%, #f8fafc 100%);
}

.media-slot__fallback::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.45rem;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
}

.media-slot.is-fallback img {
  display: none;
}

.media-slot.is-fallback .media-slot__fallback {
  display: flex;
}

/* Intentional branded portrait fallback (founder) */
.media-slot__fallback--portrait {
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(165deg, #0b1f3a 0%, #143058 55%, #1a3d6b 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 1.5rem;
}

.media-slot__fallback--portrait::before {
  display: none;
}

.fallback-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.fallback-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.media-slot--hero {
  aspect-ratio: 4 / 5;
  max-height: 420px;
  width: 100%;
  justify-self: end;
}

.media-slot--hero img {
  object-position: center 18%;
}

.media-slot--support {
  aspect-ratio: 16 / 9;
  max-height: 340px;
}

.media-slot--support img {
  max-height: 340px;
  object-position: center 45%;
}

.media-slot--about {
  aspect-ratio: 16 / 9;
  max-width: 44rem;
  margin: 0 0 2.75rem;
}

.media-slot--about img {
  object-position: center 42%;
}

.media-slot--global {
  aspect-ratio: 3 / 2;
  width: 100%;
}

.media-slot--portrait {
  aspect-ratio: 4 / 5;
  max-width: 260px;
  width: 100%;
}

.page-media {
  margin: 0 0 3rem;
}

.page-header + .section .page-media {
  margin-top: 0;
}

/* Global reach band */
.global-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.global-content .section-label {
  margin-bottom: 0.65rem;
}

.global-content h2 {
  margin-bottom: 1rem;
}

.global-content p {
  color: var(--slate);
  margin-bottom: 1.25rem;
}

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

.plain-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.15rem;
  color: var(--heading);
  font-weight: 500;
  margin: 0;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.3;
  min-height: 48px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}

/* Sections */
.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-header p {
  color: var(--slate);
  margin-bottom: 0;
  font-size: 1.1rem;
}

.section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.65rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.22rem;
}

.card p {
  color: var(--slate);
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.card a.card-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--accent);
}

.card a.card-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Support / audience list */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

.audience-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.audience-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.audience-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  background: var(--accent);
  border-radius: 50%;
}

.audience-item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.audience-item p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--slate);
}

/* Why / values */
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.25rem;
}

.value-item {
  padding: 0;
}

.value-item h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  margin: 0;
  color: var(--slate);
  font-size: 1.05rem;
}

/* Delivery approach */
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  counter-reset: step;
}

.approach-step {
  position: relative;
  padding-top: 0.25rem;
}

.approach-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
}

.approach-step h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.approach-step p {
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.cta-band p {
  max-width: 36rem;
  margin-bottom: 1.65rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.cta-band .btn-primary:hover {
  background: var(--bg-muted);
  border-color: var(--bg-muted);
  color: var(--navy-dark);
}

/* Page header (inner pages) */
.page-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 0 3rem;
}

.page-header p {
  max-width: 42rem;
  color: var(--slate);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Services page */
.service-group {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.service-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-group-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 1.75rem 2.25rem;
  margin-bottom: 1.75rem;
  align-items: start;
}

.service-group-header h2 {
  margin-bottom: 0;
  padding-top: 0.15rem;
}

.service-group-header p {
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 2.5rem;
  column-gap: 2.75rem;
}

.service-list li {
  position: relative;
  margin: 0;
  padding: 0.45rem 0 0.45rem 1.4rem;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 1.05rem;
  color: var(--heading);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--accent);
  border-radius: 2px;
  background: transparent;
}

.service-media {
  margin: 0 0 3.25rem;
}

.service-note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-muted);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
  color: var(--slate);
}

.service-note p {
  margin: 0;
}

/* About page */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.35rem;
  max-width: 44rem;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.65rem;
}

.principle-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.principle-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.principle-card p {
  margin: 0;
  color: var(--slate);
  font-size: 1.05rem;
}

/* Leadership / founder */
.leadership {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 54rem;
}

.leadership-content h3 {
  font-size: 1.55rem;
  margin-bottom: 0.25rem;
}

.leadership-role {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.leadership-content p {
  font-size: 1.08rem;
  color: var(--text);
}

.leadership-list-intro {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--heading);
}

.experience-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
}

.experience-list li {
  position: relative;
  margin: 0;
  padding: 0.4rem 0 0.4rem 1.15rem;
  background: none;
  border: none;
  font-size: 1.02rem;
  color: var(--heading);
}

.experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.leadership-content > p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.25rem;
  align-items: start;
}

.contact-intro p {
  color: var(--slate);
}

.contact-form {
  display: grid;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
}

.form-group .required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--heading);
  width: 100%;
  min-height: 48px;
  line-height: 1.4;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
}

.form-group textarea {
  min-height: 168px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.form-privacy {
  font-size: 0.98rem;
  color: var(--slate-light);
  margin: 0;
  line-height: 1.6;
}

/* Prepared form states (inactive until Formspree is connected) */
.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 1.02rem;
  margin: 0;
}

.form-status.is-visible {
  display: block;
}

.form-status--pending {
  background: var(--bg-muted);
  color: var(--navy);
  border: 1px solid var(--border);
}

.form-status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-aside {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-aside h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.contact-aside p {
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 0;
  line-height: 1.65;
}

.contact-aside a {
  font-weight: 600;
  text-decoration: none;
}

.contact-aside a:hover {
  text-decoration: underline;
}

.contact-aside .aside-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-aside .aside-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.75rem 0 2.25rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.75rem;
  margin-bottom: 2.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-size: 1.05rem;
  max-width: 26rem;
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1.05rem;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

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

  .btn,
  .primary-nav a {
    transition: none;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-layout,
  .global-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-brand-frame img {
    max-height: min(300px, 58vw);
  }

  .media-slot--hero {
    max-width: 18rem;
    max-height: 360px;
    justify-self: start;
  }

  .section {
    padding: var(--space-section-sm) 0;
  }

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

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

  .service-group-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

  .footer-grid .footer-brand-col {
    grid-column: 1 / -1;
  }
}

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

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1.25rem;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .section {
    padding: var(--space-section-sm) 0;
  }

  .card-grid,
  .value-list,
  .principle-grid,
  .audience-grid,
  .service-list,
  .approach-steps,
  .contact-layout,
  .form-row,
  .leadership,
  .experience-list {
    grid-template-columns: 1fr;
  }

  .media-slot--portrait {
    max-width: 220px;
  }

  .media-slot--support {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .media-slot--support img {
    max-height: none;
  }

  .audience-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .audience-item:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-band {
    padding: 2.75rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }
}

/* Prevent overflow */
html,
body {
  overflow-x: hidden;
}

/* =========================================================
   Version 1.4 — Visual depth & positioning
   ========================================================= */

.section-dark {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 168, 0.22), transparent 55%),
    linear-gradient(160deg, #071526 0%, #0b1f3a 48%, #143058 100%);
  color: rgba(255, 255, 255, 0.88);
  border: none;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark .section-label {
  color: #fff;
}

.section-dark .section-label {
  color: #93c5fd;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-texture {
  position: relative;
  overflow: hidden;
}

.section-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.section-texture > .container {
  position: relative;
  z-index: 1;
}

/* Integrated hero with globe artwork */
.hero--integrated {
  padding: 0;
  background: #071526;
  border-bottom: none;
}

.hero-integrated-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(640px, 88vh);
  align-items: stretch;
}

.hero-copy-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 1.5rem 3.5rem clamp(1.5rem, 6vw, 4rem);
  background:
    linear-gradient(145deg, #071526 0%, #0b1f3a 55%, #123058 100%);
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy-panel .hero-eyebrow {
  color: #93c5fd;
}

.hero-copy-panel h1 {
  color: #fff;
  max-width: 18ch;
}

.hero.hero--integrated .hero-copy-panel p.lead {
  color: #f8fafc;
  font-weight: 500;
  max-width: 38rem;
}

.hero-copy-panel .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-copy-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

.hero-copy-panel .btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.hero-copy-panel .btn-primary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}

.hero-pillars span {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.hero-art-panel {
  position: relative;
  min-height: 320px;
  background: #020617;
  overflow: hidden;
}

.hero-art-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-art-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 38, 0.55), transparent 35%);
  pointer-events: none;
}

/* Credibility / stats band */
.cred-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}

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

.cred-item {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cred-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cred-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.cred-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--slate);
}

.cred-note {
  margin: 1.25rem 0 0;
  font-size: 0.98rem;
  color: var(--slate);
  max-width: 52rem;
}

/* Delivery chain */
.chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.chain-step {
  position: relative;
  padding: 1.25rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.chain-step:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.chain-step .chain-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.chain-step h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  margin: 0;
}

/* Stronger cards */
.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: var(--accent);
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Service family blocks */
.service-family {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 1.25rem 2rem;
  align-items: start;
  margin-bottom: 3.25rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-family:nth-child(even) {
  background:
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.service-family-intro {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.service-family .service-list {
  grid-column: 2;
}

.service-family .service-note {
  grid-column: 2;
  margin-top: 0;
}

.service-family-intro .family-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0b1f3a, #2563a8);
  color: #fff;
}

.service-family-intro .family-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-family-intro h2 {
  margin-bottom: 0.65rem;
}

.service-family-intro p {
  color: var(--slate);
  margin-bottom: 0;
}

.service-tagline {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.service-tagline p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff;
}

/* Markets */
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.market-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.market-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.market-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.market-card p {
  color: var(--slate);
  margin-bottom: 0;
}

/* Leadership collective */
.leadership-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: stretch;
}

.leadership-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 168, 0.35), transparent 50%),
    linear-gradient(160deg, #071526, #143058);
  color: #fff;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.leadership-visual .stat {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.leadership-visual p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.leadership-body h3 {
  margin-bottom: 0.75rem;
}

/* Compliance roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.roadmap-item {
  padding: 1.15rem 1.2rem;
  border: 1px dashed #94a3b8;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.roadmap-item .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.roadmap-item h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.roadmap-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate);
}

.roadmap-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 48rem;
}

/* Contact pathways */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.path-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.path-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.path-card p {
  color: var(--slate);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.path-card a {
  font-weight: 600;
  text-decoration: none;
}

.path-card a:hover {
  text-decoration: underline;
}

/* CTA enhancements */
.cta-band {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 168, 0.35), transparent 45%),
    linear-gradient(135deg, #071526, #0b1f3a 50%, #143058);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Page header richer */
.page-header {
  background:
    linear-gradient(180deg, #eef4fb 0%, var(--bg-soft) 100%);
}

.page-header--dark {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(37, 99, 168, 0.28), transparent 50%),
    linear-gradient(160deg, #071526, #0b1f3a);
  border-bottom: none;
}

.page-header--dark h1,
.page-header--dark p {
  color: #fff;
}

.page-header--dark p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
  .chain {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-integrated-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-art-panel {
    min-height: 260px;
    order: -1;
  }

  .hero-art-panel::after {
    background: linear-gradient(180deg, transparent 40%, rgba(7, 21, 38, 0.65));
  }

  .cred-grid,
  .market-grid,
  .path-grid,
  .roadmap-grid,
  .leadership-panel,
  .service-family {
    grid-template-columns: 1fr;
  }

  .service-family-intro {
    grid-row: auto;
  }

  .service-family .service-list,
  .service-family .service-note {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .chain {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .cred-grid,
  .chain {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .cred-item,
  .chain-step,
  .market-card {
    transition: none;
  }

  .card:hover,
  .cred-item:hover,
  .chain-step:hover,
  .market-card:hover {
    transform: none;
  }
}
