/* ==========================================================================
   PT. Sulthan Chalief Aulia (SCA) — Corporate & Event Network Stylesheet
   ========================================================================== */

:root {
  --navy-950: #08131e;
  --navy-900: #0d1e2e;
  --navy-800: #142a3f;
  --navy-700: #1e3a54;

  --brand-600: #04749e;
  --brand-500: #0688b8;
  --brand-100: #e3f3f9;
  --brand-50: #f1f9fc;

  --amber-500: #eab308;
  --amber-400: #f4c430;

  --ink-900: #102030;
  --ink-700: #334658;
  --ink-500: #5c7084;
  --ink-400: #7f92a5;

  --bg-white: #ffffff;
  --bg-subtle: #f4f6f9;
  --bg-panel: #edf1f5;

  --border-light: #dde4ec;
  --border-strong: #c4d0dc;
  --border-dark: rgba(255, 255, 255, 0.14);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --container: 1220px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --shadow-sm: 0 2px 8px rgba(13, 30, 46, 0.05);
  --shadow-md: 0 14px 34px rgba(8, 19, 30, 0.08);
  --shadow-lg: 0 24px 56px rgba(8, 19, 30, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--brand-500);
  color: #ffffff;
}

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

/* ==========================================================================
   Utility Topbar & Main Header
   ========================================================================== */

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}

.topbar-entity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.18s ease;
}

.topbar-links a:hover {
  color: #ffffff;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.22);
}

.topbar-padi {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber-400) !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(13, 30, 46, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 152px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 12px;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 6px 0;
  position: relative;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink-900);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.82rem;
}

.btn-primary {
  background: var(--brand-600);
  color: #ffffff;
}

.btn-primary:hover {
  background: #035f82;
}

.btn-amber {
  background: var(--amber-400);
  color: var(--navy-950);
}

.btn-amber:hover {
  background: #ffd043;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-dark {
  background: #ffffff;
  color: var(--ink-900);
  border-color: var(--border-strong);
}

.btn-outline-dark:hover {
  border-color: var(--ink-900);
  background: var(--bg-subtle);
}

.btn-dark {
  background: var(--navy-900);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--navy-800);
}

.icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-900);
}

.menu-bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.menu-bars span:nth-child(1) { top: 0; }
.menu-bars span:nth-child(2) { top: 5px; }
.menu-bars span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Hero Section — Industrial Telecom & Broadcast Field Aesthetic
   ========================================================================== */

.hero {
  background: var(--navy-900);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--navy-800);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 68px 0 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 0 0 14px;
}

.kicker-light {
  color: #6fd0f3;
  padding-left: 12px;
  border-left: 2px solid var(--amber-400);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.15rem, 3.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 1.03rem;
  line-height: 1.72;
  color: #c2d1df;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--border-dark);
}

.hero-spec-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-spec-item span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #9bb1c5;
}

/* Hero Visual Composition */
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-main-frame {
  margin: 0;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}

.hero-main-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.hero-main-frame figcaption {
  padding: 11px 16px;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: #adc0d2;
}

.hero-main-frame figcaption span:last-child {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #6fd0f3;
  white-space: nowrap;
}

.hero-sub-frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  text-align: left;
  color: #ffffff;
}

.hero-mini-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-mini-card.is-active {
  background: rgba(6, 136, 184, 0.22);
  border-color: #6fd0f3;
}

.hero-mini-card img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.hero-mini-card div strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-mini-card div small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #95acc1;
  margin-top: 2px;
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: var(--navy-900);
  color: #ffffff;
}

.section-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink-900);
}

.section-dark .section-header h2 {
  color: #ffffff;
}

.section-header p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-700);
}

.section-dark .section-header p {
  color: #b7c8d8;
}

/* ==========================================================================
   Core Services (4-Pillar Technical Architecture)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
}

.service-card-top {
  margin-bottom: 22px;
}

.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid #cce8f4;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.68;
}

.service-specs {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-light);
  display: grid;
  gap: 9px;
}

.service-specs li {
  font-size: 0.85rem;
  color: var(--ink-900);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 2px;
  background: var(--brand-600);
}

/* ==========================================================================
   Field Execution Protocol & Hardware Ecosystem
   ========================================================================== */

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  overflow: hidden;
}

.protocol-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border-light);
}

.protocol-step:last-child {
  border-right: 0;
}

.step-code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 14px;
}

.protocol-step h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
}

.protocol-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-700);
}

.ecosystem-bar {
  margin-top: 24px;
  padding: 22px 28px;
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ecosystem-label strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.ecosystem-label span {
  font-size: 0.8rem;
  color: #9cb2c7;
}

.ecosystem-vendors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vendor-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e6eff7;
}

.vendor-chip-primary {
  background: rgba(6, 136, 184, 0.24);
  border-color: rgba(111, 208, 243, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   Flagship Case Studies & Curated Field Documentation
   ========================================================================== */

.case-featured-list {
  display: grid;
  gap: 28px;
  margin-bottom: 48px;
}

.case-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.case-feature-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.case-feature-reverse .case-media {
  order: 2;
}

.case-media {
  position: relative;
  background: var(--navy-950);
  min-height: 330px;
  cursor: zoom-in;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-media:hover img {
  transform: scale(1.025);
}

.zoom-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(8, 19, 30, 0.82);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.case-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-meta {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.case-body h3 {
  margin: 0 0 12px;
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.case-body p {
  margin: 0 0 22px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-700);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.case-metrics div small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 3px;
}

.case-metrics div strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-900);
}

/* Curated Field Documentation Sub-Grid */
.field-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.field-subhead h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-900);
}

.field-subhead span {
  font-size: 0.84rem;
  color: var(--ink-500);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.field-card {
  margin: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.field-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy-950);
  overflow: hidden;
  cursor: zoom-in;
}

.field-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.field-card:hover .field-img-wrap img {
  transform: scale(1.03);
}

.field-card figcaption {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.field-card-loc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-600);
}

.field-card figcaption strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.35;
}

.field-card figcaption p {
  margin: 2px 0 0;
  font-size: 0.83rem;
  line-height: 1.58;
  color: var(--ink-700);
}

/* ==========================================================================
   Engineering Project Ledger / Track Record (2015–2026)
   ========================================================================== */

.ledger-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink-700);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.filter-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.ledger-count {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-500);
}

.ledger-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ledger-table thead th {
  background: var(--bg-panel);
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-700);
  border-bottom: 1px solid var(--border-light);
}

.ledger-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.15s ease;
}

.ledger-table tbody tr:last-child {
  border-bottom: 0;
}

.ledger-table tbody tr:hover {
  background: var(--brand-50);
}

.ledger-table tbody tr.is-hidden {
  display: none;
}

.ledger-table td {
  padding: 15px 18px;
  font-size: 0.88rem;
  vertical-align: top;
  color: var(--ink-700);
}

.ledger-year {
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--ink-900) !important;
  white-space: nowrap;
  width: 118px;
}

.ledger-project {
  font-weight: 700;
  color: var(--ink-900) !important;
}

.ledger-client {
  color: var(--ink-900) !important;
  font-weight: 500;
}

.ledger-loc {
  white-space: nowrap;
  color: var(--ink-500) !important;
  font-size: 0.84rem !important;
}

.ledger-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Clients & Institutional Trust Grid (Stationary, Crisp)
   ========================================================================== */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.client-tile {
  background: var(--bg-white);
  height: 98px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.18s ease;
}

.client-tile:hover {
  background: #fafcfd;
}

.client-tile img {
  max-width: 126px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.client-tile:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-fallback-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-700);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   About & Corporate Legality / Compliance
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: start;
}

.about-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.about-copy p {
  margin: 0 0 18px;
  font-size: 0.96rem;
  line-height: 1.76;
  color: var(--ink-700);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.legal-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 28px;
}

.legal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.legal-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}

.pkp-badge {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 3px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.legal-dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.legal-row {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 12px;
  font-size: 0.84rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-light);
}

.legal-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-row dt {
  color: var(--ink-500);
  font-weight: 500;
}

.legal-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  word-break: break-word;
}

.legal-row dd.font-sans-val {
  font-family: var(--font-sans);
  font-size: 0.84rem;
}

/* ==========================================================================
   Technical Consultation & Quick Specification Form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.contact-info > p {
  margin: 0 0 30px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: #bdd0e1;
}

.contact-channels {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-dark);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

a.channel-item:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.28);
}

.channel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #88a4bc;
  margin-bottom: 3px;
}

.channel-val {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
}

.brief-box {
  background: #ffffff;
  color: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.brief-box h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  font-weight: 700;
}

.brief-box > p {
  margin: 0 0 22px;
  font-size: 0.85rem;
  color: var(--ink-500);
}

.brief-form {
  display: grid;
  gap: 15px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--ink-900);
  font-size: 0.88rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(4, 116, 158, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 76px;
}

.brief-submit {
  width: 100%;
  padding: 14px 20px;
  margin-top: 4px;
}

.brief-note {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: var(--ink-500);
  text-align: center;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: #b8c9d9;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 42px;
}

.footer-logo {
  width: 144px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.68;
  color: #8fa6bc;
  max-width: 310px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-col address {
  font-size: 0.85rem;
  font-style: normal;
  line-height: 1.6;
  color: #9ab0c4;
  transition: color 0.16s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.78rem;
  color: #778fa5;
}

.footer-bottom-meta {
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 14, 22, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  max-width: 1020px;
  width: 100%;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-dialog img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #050b12;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  margin-top: 12px;
  color: #d7e3ee;
  font-size: 0.88rem;
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 52px 0 60px;
  }

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

  .protocol-step:nth-child(2) {
    border-right: 0;
  }

  .protocol-step:nth-child(1),
  .protocol-step:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .case-feature,
  .case-feature-reverse {
    grid-template-columns: 1fr;
  }

  .case-feature-reverse .case-media {
    order: 0;
  }

  .case-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .header-inner {
    height: 70px;
  }

  .brand img {
    width: 136px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    margin: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 18px 36px rgba(8, 19, 30, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

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

  .main-nav a {
    padding: 14px 0;
    font-size: 0.96rem;
    border-bottom: 1px solid var(--bg-panel);
  }

  .main-nav a::after {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

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

  /* Responsive Ledger Table -> Stacked Cards on Mobile */
  .ledger-table thead {
    display: none;
  }

  .ledger-table,
  .ledger-table tbody,
  .ledger-table tr,
  .ledger-table td {
    display: block;
    width: 100%;
  }

  .ledger-table tbody tr {
    padding: 16px 18px;
  }

  .ledger-table td {
    padding: 2px 0;
  }

  .ledger-year {
    width: auto;
    color: var(--brand-600) !important;
    margin-bottom: 4px;
  }

  .ledger-project {
    font-size: 0.96rem !important;
    margin-bottom: 2px;
  }

  .ledger-loc {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .header-cta-text {
    display: none;
  }

  .hero-inner {
    padding: 40px 0 48px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-specs {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-sub-frames {
    grid-template-columns: 1fr;
  }

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

  .protocol-step {
    border-right: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .protocol-step:last-child {
    border-bottom: 0;
  }

  .case-body,
  .service-card,
  .brief-box,
  .legal-card {
    padding: 22px;
  }

  .case-metrics,
  .form-row-2,
  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .legal-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
