:root {
  color-scheme: light;

  /* Semantic light-theme palette. */
  --color-canvas: #f4f7fa;
  --color-surface: #ffffff;
  --color-surface-alt: #eaf0f5;
  --color-surface-raised: #ffffff;
  --color-text-primary: #172433;
  --color-text-secondary: #40576b;
  --color-text-tertiary: #66788a;
  --color-text-inverse: #ffffff;
  --color-border-subtle: #d2dce5;
  --color-border-strong: #7a8d9f;
  --color-action-primary: #075f9e;
  --color-action-hover: #064c7f;
  --color-link: #075e9b;
  --color-tech: #0b7891;
  --color-success: #08775a;
  --color-warning: #8a4b00;
  --color-danger: #b42318;
  --color-brand-gold: #a66300;
  --color-focus: #0078d4;
  --shadow-default: 0 14px 34px rgba(23, 36, 51, .10);
  --shadow-soft: 0 8px 22px rgba(23, 36, 51, .08);

  /* Compatibility aliases used by the existing components. */
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --bg: var(--color-canvas);
  --surface: var(--color-surface);
  --surface-alt: var(--color-surface-alt);
  --panel: var(--color-surface);
  --card: var(--color-surface);
  --soft: var(--color-surface-alt);
  --line: var(--color-border-subtle);
  --border: var(--color-border-subtle);
  --accent: var(--color-action-primary);
  --accent-strong: var(--color-link);
  --cyan-strong: var(--color-tech);
  --signal: var(--color-success);
  --steel: var(--color-text-secondary);
  --dark: #0d1724;
  --white: var(--color-surface);
  --shadow: var(--shadow-default);
  --radius: 8px;
}

html[data-theme="night"] {
  color-scheme: dark;

  --color-canvas: #0a1019;
  --color-surface: #111b28;
  --color-surface-alt: #172536;
  --color-surface-raised: #1e3044;
  --color-text-primary: #edf4fb;
  --color-text-secondary: #b4c2d0;
  --color-text-tertiary: #8fa2b5;
  --color-text-inverse: #ffffff;
  --color-border-subtle: #2b3b4e;
  --color-border-strong: #61778d;
  --color-action-primary: #176aa2;
  --color-action-hover: #1b73ac;
  --color-link: #79c5ff;
  --color-tech: #59cbe8;
  --color-success: #4ad8b7;
  --color-warning: #f3b84b;
  --color-danger: #ff8a80;
  --color-brand-gold: #f2b84b;
  --color-focus: #5db7ff;
  --shadow-default: 0 20px 60px rgba(0, 0, 0, .34);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, .24);

  --dark: #060914;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--color-success) 9%, transparent), transparent 260px),
    linear-gradient(180deg, color-mix(in srgb, var(--color-tech) 7%, transparent), transparent 390px),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1,
h2,
h3,
p,
a {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  min-height: 70px;
  padding: 10px clamp(18px, 3.6vw, 52px);
  border-bottom: 1px solid var(--color-border-subtle);
  background: color-mix(in srgb, var(--color-surface-raised) 92%, transparent);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.1;
}

.brand-symbol {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(7, 95, 158, .16));
}

.brand-icon--night { display: none; }
html[data-theme="night"] .brand-icon--day { display: none; }
html[data-theme="night"] .brand-icon--night { display: block; }

.brand-mark span:last-child {
  display: grid;
  gap: 2px;
}

.brand-mark strong { font-size: 16px; }

.brand-mark small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--accent-strong);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--color-action-primary) 10%, transparent);
}

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 15px;
  border: 0;
  border-radius: var(--radius);
  color: var(--color-text-inverse);
  background: var(--color-action-primary);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--color-action-primary) 22%, transparent);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.button:hover,
.contact-form button:hover:not(:disabled) {
  background: var(--color-action-hover);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--color-action-primary) 28%, transparent);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--color-border-strong);
  box-shadow: none;
}

/* Article links normally use the accent colour; action buttons must retain their contrast. */
.blog-article-copy .button.article-action {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.blog-article-copy .button.article-action:hover,
.blog-article-copy .button.article-action:focus-visible {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.menu-toggle,
.theme-toggle,
.scroll-top {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle { display: none; }

body.menu-open { overflow: hidden; }

.theme-toggle {
  grid-template-columns: repeat(3, 1fr);
  justify-self: end;
  width: 78px;
  gap: 2px;
  padding: 3px;
  font-weight: 900;
}

.theme-toggle span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: var(--muted);
  line-height: 1;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.theme-toggle span.is-active,
.theme-toggle[data-preference="day"] span:nth-child(2),
.theme-toggle[data-preference="night"] span:nth-child(3),
.theme-toggle[data-preference="auto"] span:first-child {
  color: var(--color-text-inverse);
  background: var(--color-action-primary);
  box-shadow: 0 5px 12px rgba(55, 84, 105, .18);
}

html[data-theme="night"] .theme-toggle span.is-active {
  color: #07141f;
  background: var(--color-success);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: clamp(20px, 2.8vw, 34px);
  align-items: center;
  min-height: auto;
  padding: clamp(22px, 2.8vw, 34px) clamp(18px, 5vw, 64px) clamp(18px, 2.6vw, 28px);
  isolation: isolate;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(223, 233, 239, .90), rgba(223, 233, 239, .66));
  opacity: .92;
  filter: saturate(.76) contrast(.94);
}

html[data-theme="night"] .hero-media::before,
html[data-theme="night"] .page-hero-media::before {
  background:
    linear-gradient(90deg, rgba(6, 10, 18, .82), rgba(10, 16, 28, .58));
  opacity: 1;
  filter: saturate(.82) brightness(.62) contrast(1.02);
}

.hero-backgrounds {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backgrounds span {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  animation: heroBackgroundCycle 18s infinite;
}

.hero-backgrounds span:nth-child(1) { animation-delay: 0s; }
.hero-backgrounds span:nth-child(2) { animation-delay: 6s; }
.hero-backgrounds span:nth-child(3) { animation-delay: 12s; }

.hero-copy,
.page-hero > div,
.section-heading {
  max-width: 760px;
}

.hero-copy,
.page-hero > div {
  text-shadow: none;
}

.eyebrow,
.section-heading span,
.service-card span,
.blog-list span,
.post-meta {
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--color-text-secondary);
  font-weight: 950;
  text-shadow: 0 1px 6px rgba(255, 255, 255, .28), 0 1px 10px rgba(10, 20, 32, .12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 12px;
  font-size: clamp(30px, 3.25vw, 44px);
  line-height: 1.07;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  color: var(--color-text-primary);
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35), 0 2px 10px rgba(10, 20, 32, .16);
}

.hero h2,
.page-hero h2 {
  color: var(--color-text-primary);
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .28), 0 2px 9px rgba(10, 20, 32, .14);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.05vw, 30px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.2;
}

.hero p,
.page-hero p {
  max-width: 690px;
  color: var(--color-text-secondary);
  font-size: clamp(15px, 1.08vw, 17px);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25), 0 2px 8px rgba(10, 20, 32, .12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-actions .button.ghost {
  background: color-mix(in srgb, var(--color-surface) 82%, transparent);
  backdrop-filter: blur(8px);
}

/* Contextual service navigation is intentionally a mobile-only aid. */
.mobile-service-journey {
  display: none;
}

html[data-theme="night"] .hero .eyebrow,
html[data-theme="night"] .page-hero .eyebrow {
  color: var(--color-link);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}

html[data-theme="night"] .hero h1,
html[data-theme="night"] .page-hero h1,
html[data-theme="night"] .hero h2,
html[data-theme="night"] .page-hero h2 {
  color: var(--color-text-primary);
  text-shadow: 0 4px 20px rgba(0, 0, 0, .62);
}

html[data-theme="night"] .hero p,
html[data-theme="night"] .page-hero p {
  color: var(--color-text-primary);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .56);
}

.hero-visual {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgba(32, 56, 79, .26), rgba(32, 56, 79, .26)),
    var(--dark);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  opacity: .9;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(17, 24, 39, .72)),
    linear-gradient(90deg, rgba(13, 148, 136, .25), transparent);
}

.hero-collage-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  width: 100%;
  height: 100%;
}

.hero-collage-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  opacity: .92;
}

.hero-collage-grid img:first-child {
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.hero-image-cycle {
  display: block;
  position: absolute;
  inset: 0;
}

.hero-image-cycle--night {
  display: none;
}

html[data-theme="night"] .hero-image-cycle--day {
  display: none;
}

html[data-theme="night"] .hero-image-cycle--night {
  display: block;
}

.hero-image-cycle img {
  position: absolute;
  inset: 0;
  border: 0;
  opacity: 0;
  animation: home-hero-image-cycle 24s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-image-cycle img:first-child {
  border-right: 0;
  animation-delay: 0s;
}

.hero-image-cycle img:nth-child(2) {
  animation-delay: -16s;
}

.hero-image-cycle img:nth-child(3) {
  animation-delay: -8s;
}

@keyframes home-hero-image-cycle {
  0%, 27.7% {
    opacity: .92;
    transform: scale(1.015);
  }

  33.3%, 94.4% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: .92;
    transform: scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-cycle img {
    animation: none;
  }

  .hero-image-cycle img:not(:first-child) {
    display: none;
  }

  .hero-image-cycle img:first-child {
    opacity: .92;
  }
}

.status-panel {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: calc(100% - 36px);
  min-height: 54px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: #f8fafc;
  background: rgba(15, 23, 42, .50);
  backdrop-filter: blur(8px);
}

.status-panel strong {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  font-size: 17px;
  white-space: nowrap;
}

.home-hero .status-panel strong {
  flex: 1 1 auto;
  white-space: normal;
}

@media (max-width: 680px) {
  .metric-grid p,
  .steps p,
  .detail-grid p,
  .service-card p,
  .content-split p,
  .blog-list p {
    font-size: 16px;
    line-height: 1.6;
  }

  .home-hero .hero-backgrounds {
    display: none;
  }

  .home-hero .hero-copy { order: 1; }

  .home-hero .hero-visual {
    display: grid;
    order: 2;
    aspect-ratio: auto;
  }

  .home-hero .hero-image-cycle {
    position: relative;
    aspect-ratio: 21 / 9;
  }

  .home-hero .hero-visual::after {
    bottom: 54px;
  }

  .home-hero .status-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: var(--dark);
    backdrop-filter: none;
  }
}

.status-panel p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.35;
}

@keyframes heroBackgroundCycle {
  0%, 28% { opacity: 1; }
  33%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 64px) clamp(28px, 4.2vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-strip span {
  padding: 14px 16px;
  color: var(--muted);
  background: var(--surface);
}

.trust-strip strong {
  color: var(--ink);
}

.section-band,
.service-section,
.process,
.related-services,
.blog-list,
.text-page {
  padding: clamp(26px, 4vw, 42px) clamp(18px, 5vw, 64px);
}

.backup-focus {
  background: var(--surface);
}

.metric-grid,
.service-grid,
.steps,
.detail-grid {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-grid article,
.steps article,
.detail-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(55, 84, 105, .055);
}

.metric-grid b,
.steps b {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--signal) 34%, var(--line));
  border-radius: var(--radius);
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--signal) 16%, var(--surface));
  font-size: 13px;
  line-height: 1;
}

.metric-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.metric-grid p,
.steps p,
.detail-grid p,
.service-card p,
.content-split p,
.blog-list p,
footer p {
  color: var(--muted);
  font-size: 15px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: 170px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(55, 84, 105, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  box-shadow: 0 12px 26px rgba(55, 84, 105, .09);
}

.service-card > img,
.service-card > .service-card-picture,
.service-card > .service-card-picture img {
  grid-row: 1;
  width: 100%;
  height: 170px;
  min-height: 0;
  object-fit: cover;
}

.service-card > .service-card-picture {
  overflow: hidden;
}

.service-card > div {
  grid-row: 2;
  min-width: 0;
  padding: 18px;
}

.service-card strong {
  display: block;
  margin: 7px 0 10px;
  font-size: 21px;
  line-height: 1.14;
}

.service-card.is-featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background:
    linear-gradient(180deg, rgba(145, 196, 185, .09), transparent),
    var(--surface);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.cta-band,
.content-split {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1.45fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin: 0 clamp(18px, 5vw, 64px) clamp(16px, 2.4vw, 24px);
  padding: 18px 22px;
  border-radius: var(--radius);
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(23, 74, 124, .94), rgba(15, 34, 56, .96)),
    var(--dark);
}

/* Compact follow-up link used below articles, news items and Inside stories. */
.article-follow-cta {
  margin: 18px 0 20px;
  padding: 13px 16px;
  font-size: .82rem;
  line-height: 1.4;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface));
}
.article-follow-cta h2 { margin: 0 0 5px; font-size: 1.05rem; }
.article-follow-cta p:last-child { margin-bottom: 0; }
.article-follow-cta a.article-follow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, var(--line));
  border-radius: 9px;
  color: var(--accent-strong, var(--accent));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
}
.article-follow-cta a.article-follow-link:hover,
.article-follow-cta a.article-follow-link:focus-visible {
  color: #fff;
  background: var(--accent);
}

.content-split .eyebrow,
.cta-band .eyebrow {
  color: #8ff0da;
}

.cta-band h2,
.content-split h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.18;
}

.content-split p {
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.5;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: clamp(18px, 2.8vw, 32px);
  align-items: center;
  padding: clamp(20px, 2.8vw, 32px) clamp(18px, 5vw, 64px) clamp(16px, 2.2vw, 24px);
  isolation: isolate;
  overflow: hidden;
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(223, 233, 239, .90), rgba(223, 233, 239, .66)),
    var(--subhero-image) center / cover no-repeat;
  opacity: .5;
  filter: saturate(.76) contrast(.94);
}

.hero-copy,
.hero-visual,
.page-hero > div,
.page-hero > img,
.contact-panel {
  position: relative;
  z-index: 1;
}

.page-hero.simple {
  grid-template-columns: 1fr;
}

.page-hero > img {
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(32, 56, 79, .18), rgba(32, 56, 79, .18)),
    var(--subhero-image) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.service-page-hero {
  align-items: stretch;
}

#service-details,
.service-anchor {
  scroll-margin-top: 88px;
}

.service-inline-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(55, 84, 105, .08);
}

.service-inline-card.is-compact {
  max-width: 620px;
  justify-self: end;
}

.service-inline-card.image-only {
  display: block;
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-inline-card.image-only > div {
  display: none;
}

.service-inline-card.image-only img {
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-inline-card.is-tall {
  position: sticky;
  top: 110px;
}

.service-inline-card > img {
  grid-row: 1;
  width: 100%;
  height: 190px;
  min-height: 0;
  object-fit: cover;
}

.service-inline-card > div {
  grid-row: 2;
  min-width: 0;
  padding: 18px 18px 20px;
}

.service-inline-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.service-inline-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
}

.service-inline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.service-inline-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-inline-image.is-hero {
  max-width: 620px;
  justify-self: end;
}

.service-inline-image.is-tall {
  position: sticky;
  top: 110px;
  max-width: 620px;
  width: 100%;
}

.service-inline-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  display: block;
  object-fit: cover;
}

.contact-hero {
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-panel > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(32, 56, 79, .16), rgba(32, 56, 79, .16)),
    url("assets/contact-about1.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.contact-panel-copy {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow-soft);
}

.contact-panel-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}

.contact-panel-copy p + p {
  margin-top: 10px;
}

.contact-hero .contact-panel {
  align-self: start;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-cards a,
.compact-links a,
.back-link {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
}

.detail-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(14px, 2.3vw, 24px) clamp(18px, 5vw, 64px) clamp(26px, 3.5vw, 38px);
}

.detail-grid article span {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--signal));
}

.compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-anchor {
  scroll-margin-top: 96px;
}

.service-stack {
  padding: clamp(26px, 3.2vw, 40px) clamp(18px, 5vw, 64px);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .84fr);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

.service-stack.is-reversed .service-layout {
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1.06fr);
}

.service-stack.is-reversed .service-copy {
  order: 2;
}

.service-stack.is-reversed .service-image-grid {
  order: 1;
}

.service-image-grid {
  justify-items: end;
}

.service-stack.is-reversed .service-image-grid {
  justify-items: start;
}

.service-copy {
  display: grid;
  gap: 18px;
}

.service-copy > p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.service-image-grid {
  display: grid;
}

.service-grid.compact {
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
}

.service-grid.compact article {
  min-height: 0;
}

.service-process.compact-headline {
  margin-top: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-process.compact-headline p {
  display: none;
}

.network-block {
  padding: clamp(26px, 3.2vw, 40px) clamp(18px, 5vw, 64px);
}

.network-summary {
  margin: 0 0 18px;
}

.network-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 620px);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

.network-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.network-side-image {
  width: 100%;
  align-self: start;
}

.network-side-image img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

body[data-page="networks"] .service-page-hero .service-inline-image img,
body[data-page="networks"] .network-side-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form h2 {
  margin-bottom: 4px;
  font-size: 22px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-tertiary);
  opacity: 1;
}

.contact-form :is(input, textarea):user-invalid {
  border-color: var(--color-danger);
}

.contact-form button:disabled {
  opacity: .62;
  cursor: wait;
}

.contact-form button {
  min-height: 38px;
  box-shadow: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
}

.form-status.is-success { color: var(--color-success); }
.form-status.is-error { color: var(--color-danger); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-list article {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.blog-list img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.blog-list article > div {
  padding: 18px;
}

.blog-list a {
  color: var(--accent-strong);
  font-weight: 900;
}

.blog-post {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 62px) 18px;
}

.blog-post > img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  margin: 22px 0;
  border-radius: var(--radius);
}

.blog-post p {
  color: var(--steel);
  font-size: 16px;
}


.blog-index,
.blog-detail { width: min(1320px, calc(100% - 36px)); margin: 0 auto; }
.blog-index { padding: clamp(30px, 4vw, 54px) 0 clamp(48px, 7vw, 84px); }
.blog-intro { max-width: 900px; margin: 0 0 28px; color: var(--steel); font-size: 17px; }
.blog-layout { display: grid; grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); gap: 22px; align-items: start; }
.blog-filter-toggle { display: none; }
.blog-sidebar { position: sticky; top: 92px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.blog-filters,
.blog-topic-filter { display: grid; gap: 9px; }
.blog-filters { gap: 18px; }
.blog-topic-filter > span,
.blog-filters label > span { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.blog-topic,
.blog-filters select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 11px; color: var(--ink); background: var(--surface); font: inherit; font-weight: 800; }
.blog-topic { text-align: left; cursor: pointer; }
.blog-topic:hover,
.blog-topic.is-active { border-color: var(--color-action-primary); color: var(--color-text-inverse); background: var(--color-action-primary); }
.blog-list article { display: block; padding: 0; }
.blog-list article[hidden] { display: none !important; }
.blog-card-link { display: grid; grid-template-columns: minmax(210px, 260px) minmax(0, 1fr); gap: 22px; align-items: center; min-height: 100%; padding: 18px; color: inherit; text-decoration: none; }
.blog-card-link:hover { color: inherit; }
.blog-card-link:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--radius); }
.blog-list .blog-card-link img { height: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) - 2px); object-fit: cover; background: var(--surface); }
.blog-list .blog-card-theme-media { display: block; min-width: 0; }
.blog-list .blog-card-theme-media img { display: block; }
.blog-list .blog-card-theme-media .blog-card-theme-image--light { display: none; }
.blog-list .blog-card-theme-media .blog-card-theme-image--dark { display: block; }
html[data-theme="day"] .blog-list .blog-card-theme-media .blog-card-theme-image--light { display: block; }
html[data-theme="day"] .blog-list .blog-card-theme-media .blog-card-theme-image--dark { display: none; }
.blog-list .blog-card-link > div { padding: 0; }
.blog-meta,
.news-meta,
.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.blog-meta { margin-bottom: 9px; }
.blog-list h2 { margin: 0 0 8px; font-size: clamp(21px, 2vw, 28px); line-height: 1.2; }
.blog-list p { margin: 0; color: var(--steel); }
.blog-button,
.blog-back { display: inline-flex; width: fit-content; margin-top: 14px; color: var(--accent-strong); font-weight: 900; }
.blog-empty { margin: 28px 0; color: var(--steel); font-weight: 800; text-align: center; }
.blog-post-hero > div {
  width: min(100% - 2rem, 1000px);
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
}
.blog-post-hero h1 {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.12;
  text-align: center;
}
.blog-post-hero p {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.blog-post-hero .blog-meta {
  justify-content: center;
  margin-top: 18px;
}
.blog-detail {
  width: min(100% - 2rem, 1000px);
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) 0 clamp(54px, 7vw, 90px);
  box-sizing: border-box;
}
.blog-back { margin: 0 0 28px; }
.blog-detail-image { display: block; width: 100%; height: auto; margin: 0 0 clamp(30px, 4vw, 42px); border-radius: var(--radius); box-shadow: var(--shadow); }
.blog-article-copy { width: 100%; max-width: none; }
.blog-article-copy > :first-child { margin-top: 0; }
.blog-article-copy h2 { margin: clamp(38px, 5vw, 56px) 0 14px; color: var(--ink); font-size: clamp(23px, 2.5vw, 30px); line-height: 1.2; }
.blog-article-copy h3 { margin: 30px 0 10px; color: var(--ink); font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.blog-detail .blog-article-copy h2,
.blog-detail .blog-article-copy h3 {
  max-width: none;
  width: 100%;
}
.blog-detail .blog-article-copy p {
  max-width: none;
  width: 100%;
  margin: 0 0 18px;
  color: var(--steel);
  font-size: clamp(16px, 1vw + 12px, 18px);
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}
.blog-detail .blog-article-copy > p:first-child {
  max-width: none;
  color: var(--ink);
  font-size: clamp(18px, 1.15vw + 13px, 20px);
  line-height: 1.7;
}
.blog-detail .blog-article-copy ul,
.blog-detail .blog-article-copy ol {
  max-width: none;
  width: 100%;
  margin: 0 0 22px;
  padding-left: 1.3em;
  color: var(--steel);
  font-size: clamp(16px, 1vw + 12px, 18px);
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}
.blog-detail .blog-article-copy li + li { margin-top: 8px; }
.blog-article-copy a { color: var(--accent-strong); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.blog-inline-media { width: 100%; margin: clamp(28px, 4vw, 40px) 0 clamp(32px, 4vw, 46px); }
.blog-inline-media picture { display: block; width: 100%; }
.blog-inline-media img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.blog-inline-media.is-zoomable { cursor: zoom-in; }
.blog-inline-media.is-zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.blog-inline-media figcaption { margin: 10px 0 0; padding-left: 11px; border-left: 2px solid var(--accent); color: var(--steel); font-size: 14px; line-height: 1.5; text-align: left; }

/* Shared diagram lightbox: blog and guide diagrams use the same mobile-safe zoom. */
.diagram-lightbox[hidden] { display: none; }
.diagram-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgba(2, 13, 26, .92); cursor: zoom-out; }
.diagram-lightbox__image { display: block; max-width: min(100%, 1500px); max-height: calc(100vh - 2rem); width: auto; height: auto; border-radius: 12px; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.diagram-lightbox__close { position: fixed; top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); min-width: 44px; min-height: 44px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 999px; color: #fff; background: rgba(7, 25, 45, .88); font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
body.diagram-zoom-open { overflow: hidden; }
.blog-article-copy h2 + .blog-inline-media,
.blog-article-copy h3 + .blog-inline-media { margin-top: 18px; }
.blog-list h2 .blog-card-subtitle { display: block; margin-top: 5px; font-size: .75em; line-height: 1.25; }
.blog-article-table-wrap { width: 100%; margin: 26px 0 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.blog-article-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--card); color: var(--ink); }
.blog-article-table th,
.blog-article-table td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.blog-article-table th { color: var(--cyan-strong); font-size: 14px; text-transform: uppercase; }
.blog-article-table tbody tr:last-child td { border-bottom: 0; }

.server-checklist { width: min(100% - 32px, 1040px); margin: 0 auto; padding: clamp(34px, 5vw, 64px) 0 clamp(54px, 7vw, 90px); }
.checklist-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); gap: 28px; align-items: end; margin-bottom: 28px; }
.checklist-heading h2 { margin: 6px 0 0; color: var(--ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.checklist-heading p { margin: 0; color: var(--steel); font-size: 16px; line-height: 1.65; }
.checklist-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.checklist-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; padding: 19px 22px; cursor: pointer; border-bottom: 1px solid var(--line); transition: background .2s ease; }
.checklist-row:last-child { border-bottom: 0; }
.checklist-row:hover { background: var(--soft); }
.checklist-row input { position: absolute; opacity: 0; pointer-events: none; }
.checklist-box { width: 20px; height: 20px; margin-top: 2px; border: 2px solid var(--accent-strong); border-radius: 4px; background: transparent; }
.checklist-row input:checked + .checklist-box { background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.checklist-row strong { display: block; color: var(--ink); font-size: 17px; }
.checklist-row small { display: block; margin-top: 5px; color: var(--steel); font-size: 15px; line-height: 1.55; }
.checklist-result { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.checklist-result span { display: block; color: var(--accent-strong); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.checklist-result strong { display: block; margin-top: 7px; color: var(--ink); font-size: 23px; }
.checklist-result p, .checklist-note { margin: 9px 0 0; color: var(--steel); line-height: 1.6; }
.checklist-note { font-size: 14px; text-align: center; }

@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-align: left;
    cursor: pointer;
  }
  .blog-filter-toggle::after { content: '＋'; font-size: 18px; line-height: 1; }
  .blog-layout.is-filters-open .blog-filter-toggle { border-color: var(--accent-strong); }
  .blog-layout.is-filters-open .blog-filter-toggle::after { content: '−'; }
  .blog-sidebar { display: none; position: static; }
  .blog-layout.is-filters-open .blog-sidebar { display: block; }
  .blog-topic-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-topic-filter > span { grid-column: 1 / -1; }
}

@media (max-width: 792px) {
  .blog-card-link { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .blog-index { width: min(100% - 24px, 1320px); }
  .blog-detail { width: min(100% - 1.25rem, 1000px); }
  .blog-topic-filter { grid-template-columns: 1fr; }
  .blog-topic-filter > span { grid-column: auto; }
  .blog-card-link { padding: 12px; }
  .blog-detail-image { height: auto; }
  .blog-inline-media { margin: 24px auto 28px; }
  .checklist-heading { grid-template-columns: 1fr; gap: 12px; }
  .checklist-row { padding: 17px; }
}

.text-page {
  max-width: 860px;
  color: var(--steel);
  font-size: 16px;
}

footer {
  padding: clamp(30px, 5vw, 54px) clamp(18px, 5vw, 64px);
  color: #dce8f2;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(240px, 320px);
  gap: 28px;
  align-items: start;
}

footer .brand-mark,
footer .brand-mark small,
footer p {
  color: #dce8f2;
}

.footer-inside {
  justify-self: center;
  width: min(100%, 420px);
  padding: 18px 20px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(30, 64, 115, .34), rgba(15, 118, 110, .16));
  box-shadow: 0 18px 40px rgba(2, 6, 23, .18);
  text-align: center;
}

.footer-inside span {
  display: block;
  margin-bottom: 8px;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer-inside strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 21px;
}

.footer-inside p {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.footer-inside a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: var(--radius);
  color: #e0f2fe;
  background: rgba(14, 116, 144, .22);
  font-size: 14px;
  font-weight: 900;
}

.footer-services {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: stretch;
  align-content: start;
  width: min(100%, 280px);
  justify-self: end;
}

.footer-services h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ffffff;
}

.footer-services a {
  color: #a7f3d0;
  font-weight: 800;
}

.footer-policy-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(167, 243, 208, .28);
  border-radius: var(--radius);
  color: #dffcf1;
  background: rgba(15, 23, 42, .35);
  font-size: .86rem;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.footer-policy-link:hover {
  color: #ffffff;
  background: rgba(20, 184, 166, .14);
  border-color: rgba(167, 243, 208, .46);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 24;
  display: grid;
  gap: 8px;
}

.quick-contact-link {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 24, 44, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.quick-contact-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quick-contact-link:hover,
.quick-contact-link:focus-visible {
  transform: translateX(-3px);
  filter: brightness(1.08);
  box-shadow: 0 14px 28px rgba(8, 24, 44, 0.3);
}

.quick-contact-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-contact-link--phone {
  background: var(--color-action-primary);
}

.quick-contact-link--viber {
  background: #6657c7;
}

.quick-contact-link--mail {
  background: #26698a;
}

.quick-contact-link--facebook {
  background: #0b63ce;
}

.quick-contact-link--facebook .quick-contact-icon {
  fill: currentColor;
  stroke: none;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease var(--reveal-delay, 0ms), transform .65s ease var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1460px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .menu-toggle { display: inline-grid; }

  .nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    justify-content: start;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    justify-content: flex-start;
    padding: 12px;
    font-size: 14px;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .hero,
  .page-hero,
  .content-split,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-services {
    width: 100%;
    justify-self: stretch;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
  }

  .trust-strip,
  .metric-grid,
  .service-grid,
  .steps,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-layout,
  .service-stack.is-reversed .service-layout {
    grid-template-columns: 1fr;
  }

  .service-stack.is-reversed .service-copy,
  .service-stack.is-reversed .service-image-grid {
    order: initial;
  }

  .service-inline-card.is-compact,
  .service-inline-card.is-tall,
  .service-inline-image.is-hero,
  .service-inline-image.is-tall {
    max-width: none;
    position: relative;
    top: auto;
  }

  .network-detail-layout,
  .network-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero .contact-panel {
    order: -1;
  }

  .contact-panel > img {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

  body[data-page="networks"] .service-page-hero .service-inline-image.is-hero,
  body[data-page="networks"] .network-side-image {
    order: -1;
  }

}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .quick-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border-subtle);
    background: color-mix(in srgb, var(--color-surface-raised) 96%, transparent);
    box-shadow: 0 -10px 30px color-mix(in srgb, var(--color-text-primary) 14%, transparent);
    backdrop-filter: blur(16px);
  }

  .quick-contact-link {
    display: flex;
    width: auto;
    min-width: 0;
    height: 48px;
    gap: 4px;
    padding: 3px 4px;
    font-size: 10px;
    font-weight: 850;
  }

  .quick-contact-link:hover,
  .quick-contact-link:focus-visible {
    transform: translateY(-1px);
  }

  .quick-contact-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .quick-contact-icon {
    width: 17px;
    height: 17px;
  }

  .scroll-top {
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 64px;
    gap: 6px;
    padding: 8px 12px;
  }

  .nav {
    top: 64px;
    right: 8px;
    left: 8px;
    max-height: calc(100dvh - 78px);
  }

  .nav a {
    min-height: 48px;
    padding: 12px 14px;
    overflow-wrap: normal;
    white-space: normal;
  }

  .theme-toggle {
    display: inline-grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: 72px;
  }

  .theme-toggle span {
    width: 20px;
    height: 20px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .brand-mark strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .brand-mark small {
    display: none;
  }

  .site-header .brand-mark {
    gap: 8px;
    min-width: 0;
  }

  .site-header .brand-symbol {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 15px;
  }

  .hero,
  .page-hero,
  .section-band,
  .service-section,
  .process,
  .related-services,
  .blog-list,
  .text-page,
  .detail-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-strip,
  .metric-grid,
  .service-grid,
  .steps,
  .detail-grid,
  .blog-list article {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip span {
    padding: 12px;
    font-size: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .mobile-service-journey {
    display: block;
    margin-top: 8px;
  }

  .mobile-service-journey__actions,
  .mobile-home-journey {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-service-journey__actions a,
  .mobile-home-journey a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 48px;
    padding: 9px 8px;
    border: 1px solid var(--color-border-strong);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-surface) 88%, transparent);
    color: var(--color-text-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.16;
    text-align: center;
    text-decoration: none;
  }

  .mobile-service-journey__actions a span,
  .mobile-home-journey a span,
  .mobile-service-journey__previous span {
    flex: 0 0 auto;
    color: var(--color-link);
    font-size: 17px;
    line-height: 1;
  }

  .mobile-service-journey a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
  }

  .mobile-service-journey__previous {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 2px 0;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
  }

  body[data-page="home"] .hero-actions .button.ghost {
    display: none;
  }

  .service-hero-actions .button.ghost {
    display: none;
  }

  .service-hero-actions .button {
    font-size: 16px;
  }

  .service-grid.compact {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .content-split,
  .cta-band {
    margin-left: 16px;
    margin-right: 16px;
  }

  .service-card {
    min-height: 0;
    grid-template-rows: 170px auto;
  }

  .service-page-hero .service-inline-card.image-only img,
  .service-page-hero .service-inline-image.is-hero img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body[data-page="networks"] .service-page-hero > div:first-child {
    order: 1;
  }

  body[data-page="networks"] .service-page-hero .service-inline-image.is-hero {
    order: 2;
  }

  .contact-hero > div:first-child {
    order: 1;
  }

  .contact-hero .contact-panel {
    order: 2;
  }

  .contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .contact-cards a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  .contact-form {
    padding: 15px;
  }

  .contact-form input,
  .contact-form button {
    min-height: 48px;
  }

  .contact-form textarea {
    min-height: 132px;
  }

  .blog-list article,
  .news-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
  }

  .status-panel {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 9px 10px;
  }

  .status-panel strong {
    font-size: 15px;
  }

  .status-panel p {
    font-size: 12px;
  }

  .page-hero > img {
    aspect-ratio: 21 / 9;
    height: auto;
  }

}

@media (max-width: 340px) {
  .site-header {
    gap: 4px;
    padding-inline: 8px;
  }

  .site-header .brand-mark {
    gap: 5px;
  }

  .site-header .brand-symbol {
    width: 34px;
    height: 34px;
  }

  .site-header .brand-mark strong {
    max-width: 74px;
    font-size: 12.5px;
    line-height: 1.05;
    overflow-wrap: normal;
    white-space: normal;
  }

  .theme-toggle {
    width: 60px;
    padding-inline: 2px;
  }

  .theme-toggle span {
    width: 17px;
    height: 17px;
  }

  .menu-toggle {
    width: 40px;
  }
}
/* News archive and weekly review articles */
.news-index { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 96px; }
.news-index-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.news-index-heading h2 { margin: 8px 0 12px; }
.news-index-heading p { margin: 0; color: var(--muted); }
.news-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; width: 100%; }
.news-card { min-width: 0; }
.news-card-link { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); width: 100%; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.news-card-link:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }
.news-card-media { min-height: 0; display: flex; align-items: center; background: var(--panel); }
.news-card-media img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: contain; }
.news-card-copy { display: flex; flex-direction: column; padding: 24px; }
.news-card-badge { align-self: flex-start; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; background: var(--color-action-primary); color: var(--color-text-inverse); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.news-meta { margin-bottom: 0; }
.news-card h3 { margin: 13px 0 10px; font-size: 21px; line-height: 1.2; }
.news-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.news-card-action { margin-top: auto; padding-top: 20px; color: var(--color-link); font-weight: 700; }
.news-blog-feature {
  --feature-accent: #d6a23a;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--feature-accent) 68%, var(--line));
  border-left-width: 7px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--feature-accent) 17%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel) 93%, #fff 7%), color-mix(in srgb, var(--panel) 84%, var(--feature-accent) 16%));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--feature-accent) 16%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 42%, transparent);
}
.news-blog-feature__link {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr);
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
.news-blog-feature__link:hover { color: inherit; }
.news-blog-feature__link:focus-visible { outline: 3px solid var(--feature-accent); outline-offset: -3px; }
.news-blog-feature__media { min-height: 0; background: color-mix(in srgb, var(--panel) 88%, var(--feature-accent) 12%); }
.news-blog-feature__media img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.news-blog-feature__copy { display: flex; flex-direction: column; padding: 22px 24px; }
.news-blog-feature__label {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #382500;
  background: linear-gradient(135deg, #ffe6a4, #e8b84e);
  box-shadow: 0 3px 8px rgba(99, 63, 8, .16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .015em;
}
.news-blog-feature__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.news-blog-feature h3 { margin: 10px 0 8px; font-size: clamp(20px, 2vw, 26px); line-height: 1.18; }
.news-blog-feature p { margin: 0; color: var(--muted); line-height: 1.6; }
.news-blog-feature__action { margin-top: auto; padding-top: 16px; color: var(--color-link); font-weight: 700; }
.news-article-page { width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 44px 0 96px; }
.news-back-link { display: inline-flex; margin-bottom: 24px; color: var(--color-link); font-weight: 700; text-decoration: none; }
.news-article-header { max-width: 820px; margin: 0 auto 28px; text-align: left; }
.news-article-meta { margin-top: 12px; }
.news-article-header h1 { margin: 10px 0 14px; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.15; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.news-article-deck { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.news-article-hero { width: 100%; margin: 0 auto 26px; }
.news-article-hero img { display: block; width: 100%; height: auto; border-radius: 8px; object-fit: contain; }
.news-article-body { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.news-article-body h2 { margin: 42px 0 14px; font-size: 28px; line-height: 1.2; }
.news-article-body h3 { margin: 26px 0 10px; font-size: 21px; }
.news-article-body p { margin: 0 0 20px; }
.news-article-body a { color: var(--accent); }
.news-highlight, .news-advice, .news-conclusion { margin: 28px 0; padding: 24px 28px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; background: var(--panel); }
.news-highlight h2, .news-advice h3, .news-conclusion h2 { margin-top: 0; }
.news-highlight ul, .news-source-list { padding-left: 22px; }
.news-source-list li { margin: 5px 0; }
@media (max-width: 900px) { .news-card-link { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (max-width: 600px) {
  .news-index, .news-article-page { width: calc(100% - 32px); padding-top: 38px; }
  .news-list, .news-card, .news-card-link, .news-blog-feature { width: 100%; }
  .news-card-link, .news-blog-feature__link { display: block; }
  .news-card-media, .news-card-copy, .news-blog-feature__media, .news-blog-feature__copy { width: 100%; }
  .news-card-media img, .news-blog-feature__media img { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .news-card-media img { object-fit: contain; }
  .news-blog-feature__media img { object-fit: cover; }
  .news-card-copy, .news-blog-feature__copy { padding: 20px; }
  .news-article-header h1 { font-size: 32px; }
  .news-article-body { font-size: 16px; }
  .news-highlight, .news-advice, .news-conclusion { padding: 20px; }
}

/* Keep weekly news articles isolated from site-wide layout rules. */
body[data-page="news-article"] {
  overflow-x: hidden;
}

body[data-page="news-article"] main {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

body[data-page="news-article"] .site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
}

body[data-page="news-article"] .site-header .brand-mark {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

body[data-page="news-article"] .site-header .brand-symbol {
  display: block;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  max-width: 58px !important;
  min-height: 58px;
  max-height: 58px !important;
}

body[data-page="news-article"] .site-header .nav {
  min-width: 0;
}

body[data-page="news-article"] .news-article-page {
  display: block;
  width: min(980px, calc(100% - 36px));
  max-width: 980px;
  margin: 0 auto;
  min-width: 0;
}

body[data-page="news-article"] .news-article-page > * {
  min-width: 0;
}

body[data-page="news-article"] .news-article-hero,
body[data-page="news-article"] .news-article-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
}

body[data-page="news-article"] .news-article-hero img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

body[data-page="news-article"] .news-article-header,
body[data-page="news-article"] .news-article-body {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* News card layout: compact media, full-width readable cards. */
.news-index .news-list {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.news-index .news-card-link {
  width: 100%;
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
  align-items: stretch;
}

.news-index .news-card-media {
  min-width: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.news-index .news-card-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.news-card-theme-media .news-card-theme-image--light { display: none !important; }
.news-card-theme-media .news-card-theme-image--dark { display: block !important; }
html[data-theme="day"] .news-card-theme-media .news-card-theme-image--light { display: block !important; }
html[data-theme="day"] .news-card-theme-media .news-card-theme-image--dark { display: none !important; }

.news-article-hero .news-theme-image--light { display: none; }
.news-article-hero .news-theme-image--mobile { display: none; }
.news-article-hero .news-theme-image--dark { display: block; }
body[data-page="news-article"] .news-article-hero .news-theme-image--light { display: none !important; }
body[data-page="news-article"] .news-article-hero .news-theme-image--dark { display: block !important; }
html[data-theme="day"] body[data-page="news-article"] .news-article-hero .news-theme-image--light { display: block !important; }
html[data-theme="day"] body[data-page="news-article"] .news-article-hero .news-theme-image--dark { display: none !important; }

@media (max-width: 680px) and (orientation: portrait) {
  .news-responsive-picture {
    display: block;
    width: 100%;
  }

  .news-responsive-picture > img {
    display: block;
    width: 100%;
    height: auto;
  }

  .news-article-hero .news-theme-image--mobile { display: block !important; }
  .news-article-hero .news-theme-image--dark,
  .news-article-hero .news-theme-image--light { display: none !important; }
}

/* Weekly news hero images: one asset only, based on theme and viewport.
   This comes after the generic article-image rule, which otherwise makes every img visible. */
body[data-page="news-article"] .news-article-hero .news-theme-image { display: none !important; }
html[data-theme="night"] body[data-page="news-article"] .news-article-hero .news-theme-image--dark { display: block !important; }
html[data-theme="day"] body[data-page="news-article"] .news-article-hero .news-theme-image--light { display: block !important; }
@media (max-width: 680px) and (orientation: portrait) {
  html[data-theme] body[data-page="news-article"] .news-article-hero .news-theme-image--mobile { display: block !important; }
  html[data-theme] body[data-page="news-article"] .news-article-hero .news-theme-image--dark,
  html[data-theme] body[data-page="news-article"] .news-article-hero .news-theme-image--light { display: none !important; }
}

.news-index .news-card-copy {
  min-width: 0;
}

/* News titles and summaries keep a calm centered hierarchy in the listing. */
.news-index .news-card-copy {
  text-align: center;
  align-items: center;
}
.news-index .news-card-copy h3,
.news-index .news-card-copy p {
  text-align: center;
}
.news-index .news-card-badge,
.news-index .news-card-action {
  align-self: center;
}

/* Inside articles, only the main title is centered; the reading content stays left-aligned. */
body[data-page="news-article"] .news-article-header { text-align: left; }
body[data-page="news-article"] .news-article-header h1 { text-align: center; }
body[data-page="news-article"] .news-article-deck,
body[data-page="news-article"] .news-article-body h2,
body[data-page="news-article"] .news-article-body h3 {
  text-align: left;
}

@media (max-width: 700px) {
  .news-index .news-card-link {
    display: block;
  }

  .news-index .news-card-media img {
    max-height: none;
  }
}

/* Compact mobile transitions between page introductions and their content lists. */
@media (max-width: 680px) {
  .page-hero.simple { padding-bottom: 12px; }
  .blog-index { padding-top: 22px; }
  .news-index { padding-top: 22px; }
  .news-index-heading { margin-bottom: 24px; }
}

/* Blog cards use the same single-surface media/copy relationship as News.
   The asset itself remains fully visible; it is never padded as a separate tile. */
.blog-list article { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.blog-list .blog-card-link { display: grid; grid-template-columns: minmax(300px, 38%) minmax(0, 1fr); gap: 0; align-items: stretch; padding: 0; overflow: hidden; border-radius: inherit; font-weight: 400; }
.blog-list .blog-card-theme-media,
.blog-list .blog-card-link > img { display: flex; min-width: 0; min-height: 0; align-items: center; justify-content: center; overflow: hidden; background: var(--panel); }
.blog-list .blog-card-link > img,
.blog-list .blog-card-theme-media img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 0; background: transparent; }
.blog-list .blog-card-link > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 16px 22px; }
.blog-list .blog-meta,
.blog-list .blog-meta time,
.blog-list .blog-meta span { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.blog-list h2 { margin-bottom: 7px; overflow: visible; font-size: clamp(18px, 1.45vw, 21px); font-weight: 700; line-height: 1.18; }
.blog-list p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.blog-list .blog-button { margin-top: auto; padding-top: 10px; font-weight: 700; }

@media (max-width: 792px) {
  .blog-list .blog-card-link { display: block; }
  .blog-list .blog-card-theme-media,
  .blog-list .blog-card-link > img { width: 100%; }
  .blog-list .blog-card-theme-media img,
  .blog-list .blog-card-link > img { display: block; }
  .blog-list .blog-card-link > div { padding: 20px; }
}

@media (min-width: 793px) and (max-width: 1120px) {
  .blog-list .blog-card-link { grid-template-columns: minmax(250px, 38%) minmax(0, 1fr); }
  .blog-list h2 { font-size: 18px; }
  .blog-list p { font-size: 15px; }
}

/* Article prose is justified without hyphenation or mid-word breaking. */
.blog-detail .blog-article-copy p,
.blog-detail .blog-article-copy li,
.news-article-body p,
.news-article-body li,
body[data-page="inside-static"] .inside-article-shell > p,
body[data-page="inside-static"] .inside-article-copy p,
body[data-page="inside-static"] .inside-article-copy li {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* Mobile news reading: left alignment avoids stretched gaps between words. */
@media (max-width: 680px) {
  body[data-page="news-article"] .news-article-body p,
  body[data-page="news-article"] .news-article-body li {
    text-align: left;
    text-align-last: left;
  }
}

/* Monthly overview compact mobile card: readable text on narrow screens. */
@media (max-width: 680px) and (orientation: portrait) {
  .news-index .news-card--mobile-compact .news-responsive-picture { width: 100%; }
  .news-index .news-card--mobile-compact .news-card-media img {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

