/* =========================================================
   ZENITH DEVELOPERS — CORE STYLESHEET
   Construction & Infrastructure | Nepal

   Brand foundation: the logo is a single deep ink-teal (#0D181E).
   Every neutral below is a tint/shade of that ink. One warm
   "safety amber" accent is used sparingly for primary actions
   and small markers — never for body text on light backgrounds.
   ========================================================= */

:root {
  /* --- Brand ink (sampled from the logo) --- */
  --ink-900: #0d181e; /* logo colour — primary */
  --ink-800: #14232b; /* dark surface */
  --ink-700: #1b2a33; /* raised dark surface */
  --ink-600: #2c3f49; /* borders on dark */
  --steel-500: #4f5f68; /* muted text on light (6.6:1 on white) */
  --steel-300: #b7c2c7; /* muted text on dark (9.9:1 on ink) */
  --line: #d8dddf; /* hairlines on light */
  --paper: #f4f3ee; /* warm neutral background */
  --white: #ffffff;

  /* --- Accent: safety amber --- */
  --accent: #d69a2d; /* fills; ink text on it = 7.3:1 */
  --accent-hover: #e3a93f;
  --accent-active: #c28820;
  --accent-ink: #855812; /* amber as TEXT on light (6.2:1 on white) */

  /* --- Status --- */
  --success: #1f6b43;
  --success-bg: #e5f1ea;
  --danger: #b3372c;
  --danger-bg: #fbeceb;
  --info-bg: #eef1f2;

  /* --- Semantic aliases --- */
  --bg: var(--white);
  --surface: var(--white);
  --text: var(--ink-900);
  --text-muted: var(--steel-500);
  --border: var(--line);

  /* --- Type --- */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.8125rem;

  /* --- Layout --- */
  --container: 1240px;
  --gutter: 32px;
  --header-h: 80px;
  --section-y: clamp(72px, 9vw, 120px);
  --radius: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font-family: inherit;
}
address {
  font-style: normal;
}
p {
  margin: 0;
}

/* ---------- Typography scale ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: var(--ink-900);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}
h4 {
  font-size: 1.125rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.875rem;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-muted);
}
.muted {
  color: var(--text-muted);
}

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

/* ---------- Focus & skip link ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ink-900);
  outline-offset: 3px;
}
.hero :focus-visible,
.page-hero :focus-visible,
.bg-ink :focus-visible,
.site-footer :focus-visible,
.site-header:not(.solid) :focus-visible,
.mobile-nav :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--accent);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 500;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Icons ---------- */
.fa-solid,
.fa-brands {
  line-height: 1;
}
.btn .fa-solid,
.eyebrow .fa-solid {
  font-size: 0.9em;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--accent-ink);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.bg-ink .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}
.section.tight {
  padding: calc(var(--section-y) * 0.7) 0;
}
.bg-paper {
  background: var(--paper);
}
.bg-ink {
  background: var(--ink-900);
  color: var(--steel-300);
}
.bg-ink h2,
.bg-ink h3,
.bg-ink h4 {
  color: var(--white);
}
.bg-ink .lead,
.bg-ink .muted {
  color: var(--steel-300);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: var(--fs-lead);
}
.bg-ink .section-head p {
  color: var(--steel-300);
}
.section-head.split-head {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head.split-head > div {
  max-width: 640px;
}

/* diagonal hatching borrowed from the diagonals of the Z mark */
.hatch {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.045) 0 2px,
    transparent 2px 16px
  );
}

/* ---------- Sample / placeholder tags ---------- */
.tag-sample,
.tag-placeholder {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius);
  vertical-align: middle;
  line-height: 1.6;
}
.tag-sample {
  background: var(--accent);
  color: var(--ink-900);
}
.tag-placeholder {
  background: transparent;
  color: var(--steel-500);
  border: 1px dashed #8b979d;
}
.bg-ink .tag-placeholder {
  color: var(--steel-300);
  border-color: var(--ink-600);
}

.notice-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  font-size: var(--fs-small);
  color: var(--ink-700);
}
.notice-box > .fa-solid {
  color: var(--accent-ink);
  margin-top: 4px;
  flex: none;
}
.bg-ink .notice-box {
  background: rgba(255, 255, 255, 0.06);
  color: var(--steel-300);
}
.bg-ink .notice-box > .fa-solid {
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.btn .fa-solid {
  transition: transform 0.25s var(--ease);
}
.btn:hover .fa-arrow-right {
  transform: translateX(4px);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--ink-900);
  text-transform: capitalize;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-primary:active {
  background: var(--accent-active);
}
.btn-dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--ink-700);
}
.btn-outline {
  border-color: var(--ink-900);
  color: var(--ink-900);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink-900);
  color: var(--white);
}
.btn-outline.on-dark {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline.on-dark:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink-900);
}
.btn-light {
  background: var(--white);
  color: var(--ink-900);
}
.btn-light:hover {
  background: var(--paper);
}
.btn-sm {
  padding: 9px 16px;
  min-height: 40px;
  font-size: var(--fs-small);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.btn.is-loading {
  pointer-events: none;
}
.btn.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--ink-900);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow .fa-solid {
  font-size: 0.8em;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover .fa-solid {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.solid {
  background: var(--white);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(13, 24, 30, 0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo-link img {
  height: 36px;
  width: auto;
  display: block;
}
.logo-link .logo-on-light {
  display: none;
}
.site-header.solid .logo-on-dark {
  display: none;
}
.site-header.solid .logo-on-light {
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}
.main-nav a:not(.btn-nav).active::after,
.main-nav a:not(.btn-nav):hover::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
}
.main-nav a:not(.btn-nav):hover:not(.active)::after {
  opacity: 0.6;
}
.site-header.solid .main-nav a {
  color: var(--ink-700);
}
.site-header.solid .main-nav a:hover,
.site-header.solid .main-nav a.active {
  color: var(--ink-900);
}
.main-nav a.btn-nav {
  background: var(--accent);
  color: var(--ink-900);
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: var(--radius);
}
.main-nav a.btn-nav:hover {
  background: var(--accent-hover);
  color: var(--ink-900);
}
.site-header.solid .main-nav a.btn-nav {
  color: var(--ink-900);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  z-index: 1200;
}
.menu-toggle .fa-xmark {
  display: none;
}
.menu-toggle.open .fa-bars {
  display: none;
}
.menu-toggle.open .fa-xmark {
  display: inline-block;
}
.site-header.solid .menu-toggle {
  color: var(--ink-900);
}
.menu-toggle.open {
  color: var(--white);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 88%);
  height: 100dvh;
  background: var(--ink-900);
  z-index: 1100;
  padding: 104px 32px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.4s var(--ease),
    visibility 0s linear 0.4s;
}
.mobile-nav.open {
  transform: none;
  visibility: visible;
  transition:
    transform 0.4s var(--ease),
    visibility 0s;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--steel-300);
  border-bottom: 1px solid var(--ink-600);
}
.mobile-nav a .fa-solid {
  font-size: 0.75rem;
  opacity: 0.6;
}
.mobile-nav a.active,
.mobile-nav a:hover {
  color: var(--white);
}
.mobile-nav a.active .fa-solid {
  color: var(--accent);
  opacity: 1;
}
/* While the mobile drawer is open, lift the header above it so the close button
   stays visible, and use the light logo/toggle on the dark overlay. */
.site-header:has(.menu-toggle.open) {
  z-index: 1200;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.site-header:has(.menu-toggle.open) .menu-toggle {
  color: var(--white);
}
.site-header:has(.menu-toggle.open) .logo-link {
  visibility: hidden;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 30, 0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  min-height: clamp(340px, 46vh, 460px);
  background-color: var(--ink-900);
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 40px) 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 24, 30, 0.92) 0%,
    rgba(13, 24, 30, 0.78) 55%,
    rgba(13, 24, 30, 0.55) 100%
  );
}
.page-hero .container {
  position: relative;
  padding-bottom: 76px;
}
.page-hero h1 {
  color: var(--white);
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}
.page-hero .lead {
  color: var(--steel-300);
  max-width: 60ch;
  margin-top: 16px;
}

.breadcrumb {
  margin-bottom: 20px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-caption);
  color: var(--steel-300);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free", "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 0.6rem;
  opacity: 0.6;
}
.breadcrumb a {
  display: inline-block;
  padding: 6px 0;
  color: var(--steel-300);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb [aria-current] {
  color: var(--white);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--white);
  min-height: min(100svh, 880px);
  background: var(--ink-900);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(13, 24, 30, 0.9) 0%,
      rgba(13, 24, 30, 0.66) 52%,
      rgba(13, 24, 30, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(13, 24, 30, 0.5) 0%,
      rgba(13, 24, 30, 0) 30%,
      rgba(13, 24, 30, 0.55) 100%
    );
}
.hero-main {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 56px;
}
.hero-content {
  max-width: 720px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.2vw, 4.125rem);
}
.hero-content h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-content h1 .line em {
  display: block;
  font-style: normal;
}
.hero-content .lead {
  color: var(--steel-300);
  max-width: 54ch;
  margin-top: 22px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-strip {
  position: relative;
  z-index: 3;
  background: rgba(13, 24, 30, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-strip li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-strip a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  min-height: 76px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  transition: background-color 0.25s;
}
.hero-strip a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.hero-strip a .fa-solid:first-child {
  font-size: 1.25rem;
  color: var(--accent);
  width: 26px;
  text-align: center;
  flex: none;
}
.hero-strip a .fa-arrow-right {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.6;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s;
}
.hero-strip a:hover .fa-arrow-right {
  transform: translateX(4px);
  opacity: 1;
}

/* ---------- Intro (asymmetric) ---------- */
.intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.intro .frame img {
  transition: transform 0.7s var(--ease);
  border-radius: var(--radius);
}
.intro .frame:hover img {
  transform: translate(10px, -10px);
}

.frame {
  position: relative;
}
.frame::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 72%;
  height: 72%;
  background: var(--ink-900);
  z-index: 0;
  transition: transform 0.7s var(--ease);
  border-radius: var(--radius);
}

.intro .frame:hover::before {
  transform: translate(-10px, 10px);
}

.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.intro-text p {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: var(--fs-lead);
}
.check-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.check-list .fa-solid {
  color: var(--accent-ink);
  width: 22px;
  text-align: center;
  font-size: 1.05rem;
  flex: none;
}
.intro-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Project cards ---------- */
.projects-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 32px;
}
.projects-editorial .project-card {
  grid-column: span 4;
}
.projects-editorial .project-card.large {
  grid-column: span 7;
}
.projects-editorial .project-card.small {
  grid-column: span 5;
}
.project-card {
  display: block;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.project-card:hover {
  box-shadow: 0 12px 36px rgba(13, 24, 30, 0.18);
  transform: translateY(-2px);
}
.project-card .media {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  aspect-ratio: 4 / 3;
}
.project-card.large .media,
.project-card.small .media {
  aspect-ratio: auto;
  height: clamp(260px, 32vw, 420px);
}
.project-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .media img {
  transform: scale(1.04);
}

.project-card .status-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ink-900);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  letter-spacing: 0.02em;
  z-index: 10;
}
.project-card .status-badge.is-ongoing {
  background: var(--accent);
  color: var(--paper);
}
.project-card .card-body {
  padding: 20px;
  border-top: 0;
}
.project-card .cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--accent-ink);
}
.project-card h3 {
  margin: 8px 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
  transition: color 0.2s;
}
.project-card:hover h3 {
  color: var(--steel-500);
}
.project-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}
.project-card .meta .fa-solid {
  margin-right: 6px;
  color: var(--steel-500);
}

/* ---------- Stats ---------- */
.stats-band {
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 44px 32px;
  border-left: 1px solid var(--ink-600);
}
.stat-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat-item .num {
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-item .label {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--steel-300);
}
.stat-item .label .tag-placeholder {
  display: flex;
  width: fit-content;
  margin-top: 8px;
}
.stats-note {
  padding: 28px 0 0;
}

/* ---------- Home services list ---------- */
.service-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.service-layout .sticky {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.service-layout .sticky p {
  margin: 16px 0 28px;
  color: var(--text-muted);
}
.service-list {
  border-top: 1px solid var(--ink-900);
}
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 8px 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.25s,
    padding 0.25s var(--ease);
}
.service-row:hover {
  background: var(--paper);
  padding-left: 16px;
  padding-right: 16px;
}
.service-row .ico {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-900);
  color: var(--accent);
  font-size: 1.35rem;
  grid-row: span 2;
}
.service-row h3 {
  font-size: 1.1875rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.service-row p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 56ch;
  grid-column: 2;
}
.service-row .go {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.9rem;
  color: var(--ink-900);
  transition: transform 0.25s var(--ease);
}
.service-row:hover .go {
  transform: translateX(4px);
}

/* ---------- Presence / map ---------- */
.presence-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
.presence-wrap p.lead {
  margin-top: 16px;
}
.np-list {
  margin-top: 28px;
  border-top: 1px solid var(--ink-900);
}
.np-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.np-list .loc {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.np-list .loc .fa-solid {
  color: var(--accent-ink);
  font-size: 0.85rem;
}
.np-list .prov {
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-align: right;
}

.np-shape {
  fill: var(--ink-700);
  stroke: var(--steel-300);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.np-pin {
  fill: var(--accent);
  stroke: var(--ink-900);
  stroke-width: 2;
}
.np-label {
  fill: var(--white);
  font: 500 11px var(--font);
}
.np-caption {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(14px, 2vw, 24px);
  font-size: var(--fs-caption);
  color: var(--steel-300);
}

/* ---------- Timeline (horizontal on desktop) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-top: 36px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--accent-ink);
  transform: rotate(45deg) scale(0.85);
  transform-origin: center;
}
.bg-paper .timeline-item::before {
  border-color: var(--paper);
}
.timeline-item .year {
  display: block;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ink-900);
}
.timeline-item h4 {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.4;
}
.timeline-item p {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* ---------- Principles (dark, 2x2) ---------- */
.principles-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 100px);
}
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.principle {
  padding: 28px 0;
  border-top: 1px solid var(--ink-600);
}
.principle .fa-solid {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}
.principle h4 {
  margin-bottom: 8px;
}
.principle p {
  color: var(--steel-300);
  font-size: 0.9375rem;
}

/* ---------- Values / feature cells (light) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-900);
}
.value-card {
  padding: 28px 28px 8px 0;
}
.value-card + .value-card {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.value-card .fa-solid {
  font-size: 1.5rem;
  color: var(--accent-ink);
  margin-bottom: 18px;
  display: block;
}
.value-card h4 {
  margin-bottom: 8px;
}
.value-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.news-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.news-card:hover {
  box-shadow: 0 12px 32px rgba(13, 24, 30, 0.12);
  transform: translateY(-2px);
}
.news-card .thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-800);
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .thumb img {
  transform: scale(1.2);
}
.news-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card .date {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}
.news-card .date .fa-solid {
  margin-right: 6px;
}
.news-card .date .cat {
  color: var(--accent-ink);
  font-weight: 500;
}
.news-card h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 10px 0;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover h3 {
  color: var(--steel-500);
}
.news-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .read-more {
  margin-top: auto;
  padding-top: 16px;
  font-size: var(--fs-small);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-card .read-more .fa-solid {
  font-size: 0.75rem;
  transition: transform 0.25s var(--ease);
}
.news-card:hover .read-more .fa-solid {
  transform: translateX(4px);
}

.featured-article {
  display: grid;
  grid-template-columns: 7fr 5fr;
  background: var(--ink-900);
  color: var(--steel-300);
}
.featured-article img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.featured-article .fa-body {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.featured-article h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
}
.featured-article .date {
  font-size: var(--fs-caption);
  color: var(--accent);
  font-weight: 500;
}
.featured-article p {
  color: var(--steel-300);
}

/* ---------- Clients ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-900);
  border-left: 1px solid var(--line);
}
.client-card {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color 0.25s;
}
.client-card:hover {
  background: var(--paper);
}
.client-card .mark {
  width: 48px;
  height: 48px;
  background: var(--ink-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.client-card h4 {
  font-size: 1rem;
  line-height: 1.4;
}
.client-card .type {
  font-size: var(--fs-caption);
  color: var(--accent-ink);
  font-weight: 500;
}

/* ---------- Downloads ---------- */
.download-list {
  border-top: 1px solid var(--ink-900);
}
.download-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.download-item .d-info {
  display: flex;
  align-items: center;
  gap: 18px;
}
.download-item .d-icon {
  width: 48px;
  height: 48px;
  flex: none;
  background: var(--paper);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.download-item h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.download-item .d-meta {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}

/* ---------- Filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 44px;
  padding: 24px;
  background: var(--paper);
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 160px;
  min-width: 0;
}
.filter-group.grow {
  flex: 2 1 220px;
}
.filter-group label {
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--ink-700);
}
.filter-group select,
.filter-group input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #aab4b9;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
}
.filter-group select:hover,
.filter-group input:hover {
  border-color: var(--ink-700);
}
.filter-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 100%;
  justify-content: space-between;
}
.filter-count {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ---------- Project detail ---------- */
.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-900);
  margin: 32px 0 56px;
}
.detail-meta-item {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
}
.detail-meta-item .k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-caption);
  color: var(--accent-ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.detail-meta-item .v {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-900);
}
.detail-body {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.detail-body h2 {
  font-size: 1.625rem;
  margin-bottom: 16px;
}
.detail-body .scope-box {
  background: var(--paper);
  padding: 28px;
}
.detail-body .scope-box h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
}
.scope-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.scope-list li:first-child {
  border-top: 0;
}
.scope-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--accent-ink);
  font-size: 0.8rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid button {
  padding: 0;
  border: 0;
  background: var(--ink-800);
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s var(--ease),
    opacity 0.3s;
}
.gallery-grid button:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.gallery-grid button::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free", "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-grid button:hover::after,
.gallery-grid button:focus-visible::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 17, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: var(--ink-900);
  border: 1px solid var(--ink-600);
  color: var(--white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent);
  color: var(--ink-900);
  border-color: var(--accent);
}
.lightbox-close {
  top: 20px;
  right: 20px;
}
.lightbox-nav.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-nav.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--steel-300);
  font-size: var(--fs-small);
  padding: 0 80px;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-900);
}
.form-field label .req {
  color: var(--danger);
  margin-left: 2px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 14px;
  min-height: 48px;
  border: 1px solid #aab4b9;
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-field textarea {
  resize: vertical;
  min-height: 150px;
}
.form-field input:hover,
.form-field textarea:hover {
  border-color: var(--ink-700);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(214, 154, 45, 0.45);
  outline: none;
}
.form-field .error-msg {
  font-size: var(--fs-caption);
  color: var(--danger);
  display: none;
  align-items: center;
  gap: 6px;
}
.form-field .error-msg::before {
  content: "\f071";
  font-family: "Font Awesome 6 Free", "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 0.75rem;
}
.form-field.invalid input,
.form-field.invalid textarea {
  border-color: var(--danger);
  background: var(--danger-bg);
}
.form-field.invalid .error-msg {
  display: flex;
}
.form-actions {
  margin-top: 24px;
}
.form-status {
  display: none;
  padding: 14px 18px;
  margin-top: 18px;
  font-size: var(--fs-small);
  border-left: 3px solid transparent;
}
.form-status.show {
  display: block;
}
.form-status.success {
  background: var(--success-bg);
  color: var(--success);
  border-left-color: var(--success);
}
.form-status.sending {
  background: var(--info-bg);
  color: var(--ink-700);
  border-left-color: var(--ink-700);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact-list {
  margin-top: 28px;
  border-top: 1px solid var(--ink-900);
}
.contact-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .ico {
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--ink-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-list .k {
  font-size: var(--fs-caption);
  color: var(--text-muted);
}
.contact-list .v {
  font-weight: 500;
  font-size: 0.9375rem;
}
.map-embed {
  width: 100%;
  height: clamp(300px, 40vw, 440px);
  border: 0;
  display: block;
  filter: grayscale(0.35);
}

/* ---------- Leadership ---------- */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.leader-card .photo {
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px dashed #aab4b9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #aab4b9;
  font-size: 3rem;
}
.leader-card h4 {
  font-size: 1rem;
}
.leader-card .role {
  font-size: var(--fs-small);
  color: var(--accent-ink);
  font-weight: 500;
  margin-top: 2px;
}

/* ---------- About: mission/vision panels ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mv-panel {
  padding: clamp(32px, 5vw, 64px);
}
.mv-panel.dark {
  background: var(--ink-900);
  color: var(--steel-300);
}
.mv-panel.dark {
  padding-left: max(
    var(--gutter),
    calc((100vw - var(--container)) / 2 + var(--gutter))
  );
}
.mv-panel.light {
  padding-right: max(
    var(--gutter),
    calc((100vw - var(--container)) / 2 + var(--gutter))
  );
}
.mv-panel.dark h3 {
  color: var(--white);
}
.mv-panel.light {
  background: var(--paper);
}
.mv-panel .fa-solid.big {
  font-size: 1.75rem;
  color: var(--accent-ink);
  margin-bottom: 20px;
  display: block;
}
.mv-panel.dark .fa-solid.big {
  color: var(--accent);
}
.mv-panel h3 {
  margin: 12px 0 16px;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.35;
}
.mv-panel p {
  color: var(--text-muted);
}
.mv-panel.dark p {
  color: var(--steel-300);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-900);
  border-left: 1px solid var(--line);
}
.cap-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.9375rem;
  background: var(--white);
}
.cap-grid .fa-solid {
  color: var(--accent-ink);
  font-size: 1.2rem;
  width: 26px;
  text-align: center;
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--steel-300);
  padding: clamp(56px, 7vw, 88px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-rule {
  height: 1px;
  background: var(--ink-600);
}
.footer-brand .logo-link img {
  height: 44px;
}
.footer-brand p {
  margin-top: 22px;
  max-width: 34ch;
  font-size: 0.9375rem;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-900);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.footer-col li + li {
  margin-top: 4px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 0.9375rem;
  color: var(--steel-300);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-contact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9375rem;
  padding: 4px 0;
}
.footer-contact .fa-solid {
  color: var(--accent);
  width: 18px;
  text-align: center;
  margin-top: 5px;
  flex: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 24px var(--gutter);
  font-size: var(--fs-caption);
  color: #8d9ba2;
  flex-wrap: wrap;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--ink-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  border: 1px solid var(--ink-600);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    background-color 0.25s,
    color 0.25s;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--ink-900);
  border-color: var(--accent);
}

/* ---------- Services page ---------- */
.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.service-index a {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: var(--fs-small);
  font-weight: 500;
  border-right: 1px solid var(--line);
  transition: background-color 0.2s;
  min-height: 56px;
}
.service-index a:last-child {
  border-right: 0;
}
.service-index a:hover {
  background: var(--paper);
}
.service-index .fa-solid {
  color: var(--accent-ink);
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
}

.service-detail {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.service-detail:nth-of-type(even) {
  grid-template-columns: 5fr 6fr;
}
.service-detail:nth-of-type(even) .service-media {
  order: 2;
}
.service-media {
  position: relative;
}
.service-media::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 40%;
  height: 40%;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  pointer-events: none;
}
.service-detail:nth-of-type(even) .service-media::after {
  right: auto;
  left: -14px;
  border-right: 0;
  border-left: 3px solid var(--accent);
}
.service-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-text .num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--accent-ink);
}
.service-text .num .ico {
  width: 40px;
  height: 40px;
  background: var(--ink-900);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.service-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 18px 0 14px;
}
.service-text p {
  color: var(--text-muted);
}
.service-text .scope-list {
  margin: 22px 0 28px;
}

/* ---------- Misc content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.cta-band {
  background: var(--accent);
  color: var(--ink-900);
  padding: clamp(56px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(13, 24, 30, 0.06) 0 2px,
    transparent 2px 16px
  );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--ink-900);
  max-width: 30ch;
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.3;
}
.cta-inner p {
  margin-top: 10px;
  color: var(--ink-800);
  max-width: 52ch;
}
.cta-band .btn-outline {
  border-color: var(--ink-900);
  color: var(--ink-900);
}
.cta-band .btn-outline:hover {
  background: var(--ink-900);
  color: var(--white);
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink-900);
}
table.spec-table th,
table.spec-table td {
  text-align: left;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  vertical-align: top;
}
table.spec-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 34%;
}
table.spec-table td {
  font-weight: 500;
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.article-content h2 {
  margin: 40px 0 14px;
  font-size: 1.5rem;
}
.article-content p {
  font-size: 1.0625rem;
  margin-bottom: 20px;
  line-height: 1.8;
}
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  font-size: 1.125rem;
  color: var(--ink-700);
  margin: 30px 0;
}
.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 24px 0 36px;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: var(--text-muted);
  text-align: center;
}
