:root {
  --network-brand: #006847;
  --network-brand-dark: #004f36;
  --network-green-ink: #003d2a;
  --network-gold: #f4c95d;
  --network-soft: #eaf4f0;
  --network-surface-soft: #f5f8f7;
  --network-surface-warm: #fdf8f2;
  --network-surface: #ffffff;
  --network-ink-dark: #07110d;
  --network-text: #15231e;
  --network-muted: #4b5d56;
  --network-border: rgba(0, 104, 71, 0.16);
  --network-border-strong: rgba(0, 104, 71, 0.34);
  --network-shadow-sm: 0 3px 8px rgba(16, 42, 32, 0.08);
  --network-shadow-md: 0 8px 20px rgba(16, 42, 32, 0.12);
  --network-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --network-section-space: clamp(64px, 8vw, 96px);
  --network-gutter: max(20px, calc((100vw - 1240px) / 2));
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body.network-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--network-surface);
  color: var(--network-text);
  font-family:
    'DM Sans',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.network-shell {
  width: 100%;
}

.network-breadcrumbs {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--network-muted);
  font-size: 0.875rem;
}

.network-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.network-breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(21, 35, 30, 0.4);
  content: '/';
}

.network-breadcrumbs a,
.network-text-link {
  color: var(--network-brand-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.network-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: 548px;
  padding: clamp(64px, 8vw, 104px) var(--network-gutter);
  overflow: hidden;
  background: var(--network-brand-dark);
  color: #ffffff;
}

.network-hero__copy {
  max-width: 760px;
  animation: network-rise 560ms var(--network-ease) both;
}

.network-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--network-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.network-kicker::before {
  width: 34px;
  height: 3px;
  background: var(--network-gold);
  content: '';
}

.network-hero h1,
.network-section h2,
.network-closing h2,
.network-coverage-note h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.network-hero h1 {
  max-width: none;
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3.2rem, 5.4vw, 5.35rem);
  line-height: 1;
}

.network-hero__lead {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  font-weight: 500;
  line-height: 1.72;
  text-wrap: pretty;
}

.network-hero__actions,
.network-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.network-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid var(--network-gold);
  border-radius: 10px;
  background: var(--network-gold);
  color: var(--network-green-ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 220ms var(--network-ease),
    background-color 220ms var(--network-ease),
    border-color 220ms var(--network-ease);
}

.network-button:hover {
  transform: translateY(-2px);
  background: #f7d577;
  border-color: #f7d577;
}

.network-button--secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #ffffff;
}

.network-button--secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.network-button:focus-visible,
.network-market-link:focus-visible,
.network-office a:focus-visible,
.network-breadcrumbs a:focus-visible {
  outline: 3px solid rgba(244, 201, 93, 0.9);
  outline-offset: 3px;
}

.network-hero__rail {
  position: relative;
  padding: 30px;
  background: var(--network-surface);
  border-radius: 16px;
  box-shadow: var(--network-shadow-md);
  color: var(--network-text);
  animation: network-rise 680ms 80ms var(--network-ease) both;
}

.network-hero__rail-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.network-hero__rail-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--network-soft);
  border-radius: 50%;
}

.network-hero__rail-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.network-hero__rail strong {
  display: block;
  color: var(--network-brand-dark);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.network-hero__rail ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--network-border);
  list-style: none;
}

.network-hero__rail li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-bottom: 1px solid var(--network-border);
  color: var(--network-text);
  font-weight: 700;
  line-height: 1.45;
}

.network-hero__rail li::before {
  position: absolute;
  top: 23px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--network-brand);
  border-radius: 50%;
  content: '';
}

.network-content {
  width: 100%;
}

.network-section {
  padding: var(--network-section-space) var(--network-gutter);
  background: var(--network-surface);
}

.network-section:has(.network-service-grid),
.network-section:has(.network-office-list) {
  background: var(--network-surface-soft);
}
.network-section:has(.network-market-nav) {
  background: var(--network-surface-warm);
}
.network-section:has(.network-coverage-note) {
  background: var(--network-soft);
}

.network-section:has(> .network-section__heading:only-child) {
  background: var(--network-brand);
  color: #ffffff;
}

.network-section:has(> .network-section__heading:only-child) h2,
.network-section:has(> .network-section__heading:only-child) p {
  color: #ffffff;
}

.network-section__heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  margin-bottom: 42px;
}

.network-section h2,
.network-closing h2 {
  margin: 0;
  color: var(--network-brand-dark);
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  line-height: 1.06;
}

.network-section__intro,
.network-prose {
  max-width: 72ch;
}

.network-section__intro p,
.network-prose p {
  margin: 0 0 18px;
  color: var(--network-muted);
  font-size: 1.05rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.network-section__intro p:last-child,
.network-prose p:last-child {
  margin-bottom: 0;
}

.network-distinction {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--network-shadow-sm);
}

.network-distinction article {
  min-height: 220px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--network-soft);
}

.network-distinction article + article {
  background: var(--network-brand-dark);
}

.network-distinction h3,
.network-service-group h3,
.network-office h3,
.network-coverage-note h3 {
  margin: 0 0 12px;
  color: var(--network-green-ink);
  font-size: 1.2rem;
  line-height: 1.3;
  text-wrap: balance;
}

.network-distinction article + article h3,
.network-distinction article + article p {
  color: #ffffff;
}

.network-distinction p,
.network-service-group p,
.network-office p,
.network-coverage-note p {
  margin: 0;
  color: var(--network-muted);
  text-wrap: pretty;
}

.network-service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.network-service-group {
  grid-column: span 7;
  padding: 30px;
  background: var(--network-surface);
  border: 1px solid var(--network-border);
  border-radius: 16px;
}

.network-service-group:nth-child(2n) {
  grid-column: span 5;
  background: var(--network-soft);
}

.network-service-group:nth-child(4n),
.network-service-group:nth-child(4n + 1) {
  grid-column: span 7;
}
.network-service-group:nth-child(4n + 2),
.network-service-group:nth-child(4n + 3) {
  grid-column: span 5;
}

.network-service-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.network-service-group li {
  position: relative;
  padding-left: 18px;
  color: var(--network-text);
  line-height: 1.5;
}

.network-service-group li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--network-brand);
  border-radius: 50%;
  content: '';
}

.network-disclaimer {
  max-width: 960px;
  margin: 30px auto 0;
  padding: 22px 26px;
  background: var(--network-surface-warm);
  border-top: 4px solid var(--network-gold);
  border-radius: 12px;
  color: var(--network-text);
  text-align: center;
}

.network-disclaimer strong {
  color: var(--network-brand-dark);
}

.network-office-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.network-office {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 30px;
  background: var(--network-surface);
  border-top: 5px solid var(--network-brand);
  border-radius: 16px;
  box-shadow: var(--network-shadow-md);
  transition: transform 220ms var(--network-ease);
}

.network-office:hover {
  transform: translateY(-3px);
}

.network-office__location {
  margin-bottom: 20px;
  color: var(--network-brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.network-office h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.network-office a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  color: var(--network-brand-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.network-office a::after {
  content: '↗';
  font-size: 1.05rem;
  text-decoration: none;
}

.network-coverage-note {
  padding: clamp(34px, 6vw, 64px);
  background: var(--network-brand-dark);
  border-top: 6px solid var(--network-gold);
  border-radius: 16px;
  box-shadow: var(--network-shadow-md);
}

.network-coverage-note h3 {
  max-width: 22ch;
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
}

.network-coverage-note p {
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.network-market-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.network-market-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 26px 28px;
  background: var(--network-surface);
  border: 1px solid var(--network-border);
  border-radius: 16px;
  color: var(--network-text);
  text-decoration: none;
  transition:
    border-color 220ms var(--network-ease),
    background-color 220ms var(--network-ease),
    transform 220ms var(--network-ease);
}

.network-market-link:hover {
  transform: translateY(-2px);
  background: var(--network-soft);
  border-color: var(--network-border-strong);
}

.network-market-link strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--network-brand-dark);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.2;
}

.network-market-link span {
  color: var(--network-muted);
}

.network-market-link::after {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--network-brand);
  border-radius: 50%;
  color: #ffffff;
  content: '→';
  font-size: 1.2rem;
  transition: transform 220ms var(--network-ease);
}

.network-market-link:hover::after {
  transform: translateX(3px);
}

.network-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: clamp(64px, 8vw, 92px) var(--network-gutter);
  background: var(--network-ink-dark);
  color: #ffffff;
}

.network-closing h2 {
  max-width: 17ch;
  color: #ffffff;
}

.network-closing p {
  max-width: 62ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.network-closing__actions {
  justify-content: flex-end;
  margin: 0;
}

@keyframes network-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .network-hero,
  .network-section__heading,
  .network-closing {
    grid-template-columns: 1fr;
  }
  .network-hero {
    min-height: 0;
  }
  .network-hero__copy {
    max-width: none;
  }
  .network-hero__rail {
    max-width: 680px;
  }
  .network-section__heading {
    gap: 22px;
  }
  .network-service-group,
  .network-service-group:nth-child(n) {
    grid-column: span 6;
  }
  .network-market-nav {
    grid-template-columns: 1fr;
  }
  .network-closing__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --network-section-space: 58px;
    --network-gutter: 20px;
  }
  .network-breadcrumbs {
    width: calc(100% - 40px);
    padding: 17px 0;
    font-size: 0.8rem;
  }
  .network-hero {
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .network-hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.7rem);
    line-height: 1.02;
  }
  .network-hero__actions,
  .network-closing__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .network-button {
    width: 100%;
  }
  .network-hero__rail {
    padding: 24px;
  }
  .network-section h2,
  .network-closing h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .network-distinction,
  .network-service-grid {
    grid-template-columns: 1fr;
  }
  .network-distinction article {
    min-height: 0;
  }
  .network-service-group,
  .network-service-group:nth-child(n) {
    grid-column: 1;
    padding: 26px 24px;
  }
  .network-service-group ul {
    grid-template-columns: 1fr;
  }
  .network-disclaimer {
    padding: 20px;
    text-align: left;
  }
  .network-office {
    min-height: 0;
    padding: 26px 24px;
  }
  .network-market-link {
    min-height: 0;
    padding: 22px;
  }
  .network-market-link::after {
    width: 38px;
    height: 38px;
  }
  .network-closing {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .network-hero__copy,
  .network-hero__rail {
    animation: none;
  }
  .network-button,
  .network-market-link,
  .network-market-link::after,
  .network-office {
    transition: none;
  }
}
