/* =============================================================
   PT Adrina Jaya Abadi (AJA) · Integrated Services — Landing Page
   Design System: Phase 5 (Engineered Reliability)
   Palette: Graphite + Copper + Steel · Fonts: Space Grotesk + Inter
   ============================================================= */

/* ---------- TIER 1 · Literal tokens ---------- */
:root {
  /* Graphite */
  --graphite-900: #12151a;
  --graphite-800: #1c2129;
  --graphite-700: #2a313c;
  --graphite-600: #3a4251;

  /* Brand — from adrina logo: Amber (warm, dominant) + Red (action) */
  --amber-400: #f2b138;
  --amber-500: #e5960c;   /* logo amber */
  --amber-600: #b87608;
  --red-400: #e6434e;
  --red-500: #d4071c;     /* logo red */
  --red-600: #b3101b;     /* AA-safe darker red for text/buttons */
  /* Legacy aliases → warm decorative uses now resolve to amber */
  --copper-400: var(--amber-400);
  --copper-500: var(--amber-500);
  --copper-600: var(--amber-600);

  /* Steel */
  --steel-500: #5b6b7b;
  --steel-300: #9aa7b4;

  /* Neutrals (light) */
  --white: #ffffff;
  --paper-50: #f7f8fa;
  --paper-100: #eef1f4;
  --line-200: #e2e6eb;

  /* Ink */
  --ink-900: #12151a;
  --ink-600: #4a5460;
  --ink-400: #7e8896;

  /* Functional */
  --success-500: #2e7d5b;
  --safety-500: #e0a200;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;   --sp-8: 2rem;    --sp-12: 3rem;   --sp-16: 4rem;
  --sp-20: 5rem;    --sp-24: 6rem;   --sp-32: 8rem;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --header-h: 72px;
}

/* ---------- TIER 2 · Semantic tokens ---------- */
:root {
  --accent: var(--red-500);             /* action / CTA / links */
  --accent-text: var(--red-600);        /* accent text on light (AA) */
  --accent-warm: var(--amber-500);      /* warm highlight (large / on-dark) */
  --bg: var(--white);
  --bg-subtle: var(--paper-50);
  --bg-dark: var(--graphite-900);
  --surface: var(--white);
  --surface-dark: var(--graphite-800);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-on-dark: #f2f4f7;
  --text-on-dark-muted: var(--steel-300);
  --border: var(--line-200);
  --border-dark: var(--graphite-700);
  --focus: var(--red-600);
}

/* ---------- Element resets (scoped, no global *) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;              /* 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Reveal-on-scroll: content visible by default; only hidden when JS active */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 8rem); }
.section--subtle { background: var(--bg-subtle); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  --accent-text: var(--amber-400);   /* warm accent on dark */
  background-image:
    radial-gradient(60rem 40rem at 85% -10%, color-mix(in oklab, var(--copper-600) 18%, transparent), transparent 60%);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--sp-3);
}
.section--dark .eyebrow { color: var(--copper-400); }

.section-head { max-width: 44rem; margin-bottom: var(--sp-12); }
.section-head.center { margin-inline: auto; text-align: center; }

h1, .h1 { font-size: clamp(2.125rem, 1.3rem + 3.6vw, 4rem); }
h2, .h2 { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.25rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--text-muted); }
.section--dark .lead { color: var(--text-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
              color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(18,21,26,0.16);
}
.btn--primary:hover { background: var(--red-500); box-shadow: 0 6px 18px rgba(212,7,28,0.32); }
.btn--primary:active { background: #8f0d16; transform: translateY(0); }

.btn--secondary {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--graphite-900);
}
.btn--secondary:hover { background: var(--graphite-900); color: var(--white); }

.section--dark .btn--secondary,
.on-dark .btn--secondary { color: var(--white); border-color: rgba(255,255,255,0.55); }
.section--dark .btn--secondary:hover { background: var(--white); color: var(--graphite-900); }

.btn--ghost { background: transparent; color: var(--accent-text); padding-inline: 0; min-height: auto; }
.section--dark .btn--ghost { color: var(--copper-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--white) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 14px rgba(18,21,26,0.05);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink-900); letter-spacing: -0.02em; }
.brand-name b { color: var(--accent-text); font-weight: 700; }
.brand-tag { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a { color: var(--ink-600); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink-900); text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--ink-900);
}

/* Mobile drawer */
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: var(--sp-6);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 40;
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a { display: block; padding: var(--sp-4) 0; font-size: 1.1rem; color: var(--ink-900); border-bottom: 1px solid var(--border); font-weight: 500; }
  .mobile-nav .btn { display: inline-flex; margin-top: var(--sp-6); }
  @media (prefers-reduced-motion: reduce) { .mobile-nav { transition: none; } }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--graphite-900);
  color: var(--text-on-dark);
  --accent-text: var(--amber-400);
  padding-block: clamp(3.5rem, 2rem + 8vw, 8rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--graphite-900); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 1s ease-in-out, transform 10s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1.035); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 600;
  color: var(--amber-400);
  margin: 0 0 var(--sp-5);
  text-wrap: balance;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  /* Strong dark wash keeps text legible over any hero photo; falls back cleanly with no photo. */
  background:
    linear-gradient(100deg, rgba(18,21,26,0.95) 28%, rgba(18,21,26,0.75) 62%, rgba(18,21,26,0.55) 100%),
    radial-gradient(50rem 34rem at 78% 8%, color-mix(in oklab, var(--copper-500) 26%, transparent), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 44px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--amber-400);
  margin: 0 0 var(--sp-6);
}
.hero .lead { color: var(--text-on-dark-muted); margin-bottom: var(--sp-8); max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.hero .btn--secondary {
  border-color: rgba(255,255,255,0.78);
  background: rgba(18,21,26,0.48);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.24);
  backdrop-filter: blur(6px);
}
.hero .btn--secondary:hover { border-color: var(--white); background: var(--white); color: var(--graphite-900); }
.hero-trust {
  margin-top: var(--sp-8);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  font-size: 0.875rem; color: var(--text-on-dark-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-trust .trust-check { color: var(--amber-400); font-style: normal; font-weight: 700; line-height: 1; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-8);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18,21,26,0.08); border-color: color-mix(in oklab, var(--copper-500) 40%, var(--border)); }
.card .icon { color: var(--accent-text); margin-bottom: var(--sp-4); }
.card h3, .card h4 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-muted); font-size: 0.975rem; margin: 0; }
.card--dark { background: var(--surface-dark); border-color: var(--border-dark); }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--dark p { color: var(--text-on-dark-muted); }
.card--dark .icon { color: var(--copper-400); }

/* Outcome card */
.outcome { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.outcome .icon { color: var(--accent-text); flex: 0 0 auto; }
.outcome h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.outcome p { font-size: 0.925rem; color: var(--text-muted); margin: 0; }

/* Feature row (Why us) */
.features { display: grid; gap: var(--sp-8); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; gap: var(--sp-6); } }
.feature .num { font-family: var(--font-display); font-size: 0.95rem; color: var(--copper-400); font-weight: 700; letter-spacing: 0.08em; }
.feature h3 { font-size: 1.2rem; margin: var(--sp-3) 0 var(--sp-2); }
.feature p { color: var(--text-on-dark-muted); margin: 0; }

/* Problem block */
.problem-punch {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem);
  color: var(--ink-900);
  border-left: 3px solid var(--red-500);
  padding-left: var(--sp-6);
  margin-top: var(--sp-8);
  text-wrap: balance;
}

/* OPERATE cycle */
.operate-title { color: var(--amber-400); font-size: 1.15em; }
.operate-marquee { margin-top: var(--sp-12); overflow: hidden; }
.operate-cycle {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: operate-marquee 42s linear infinite;
}
.operate-step {
  position: relative;
  display: flex;
  gap: var(--sp-3);
  width: 13.5rem;
  min-height: 12.5rem;
  color: var(--text);
}
.operate-letter { color: var(--accent-text); font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
.operate-step h4 { margin: 0 0 var(--sp-2); color: var(--text); font-size: 1.0625rem; }
.operate-step p { margin: 0; color: var(--text-muted); font-size: 0.975rem; line-height: 1.5; }
@keyframes operate-marquee {
  to { transform: translateX(calc(-50% - var(--sp-3))); }
}
@media (prefers-reduced-motion: reduce) { .operate-cycle { animation: none; } }
@media (max-width: 560px) { .operate-marquee { margin-top: var(--sp-8); } .operate-step { width: 14rem; min-height: 11.5rem; } }

/* Industry expertise */
.industry-tabs {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-tabs::-webkit-scrollbar { display: none; }
.industry-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: 0.625rem var(--sp-4);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.industry-tab:hover { border-color: color-mix(in oklab, var(--amber-500) 60%, var(--border)); transform: translateY(-1px); }
.industry-tab.is-active { border-color: var(--graphite-900); background: var(--graphite-900); color: var(--text-on-dark); }
.industry-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(18,21,26,0.06);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.js .industry-panel.is-switching { opacity: 0.42; transform: translateY(6px); }
.industry-photo-wrap { position: relative; min-height: 100%; margin: 0; overflow: hidden; background: var(--graphite-800); }
.industry-photo { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 32rem; object-fit: cover; }
.industry-photo--next { z-index: 1; opacity: 0; transform: scale(1.025); transition: opacity 0.46s ease, transform 0.7s ease; }
.industry-photo--next.is-visible { opacity: 1; transform: scale(1); }
.industry-panel-body { padding: clamp(var(--sp-6), 3vw, var(--sp-12)); }
.industry-kicker { margin-bottom: var(--sp-2); color: var(--accent-text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.industry-intro h3 { margin-bottom: var(--sp-3); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.industry-intro p { color: var(--text-muted); }
.industry-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); margin: var(--sp-8) 0; }
.industry-detail { padding-top: var(--sp-4); border-top: 2px solid color-mix(in oklab, var(--amber-500) 55%, var(--border)); }
.industry-detail h4 { margin-bottom: var(--sp-3); font-size: 0.875rem; letter-spacing: 0.02em; }
.industry-list { display: grid; gap: var(--sp-2); }
.industry-list li { display: flex; gap: var(--sp-2); color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; }
.industry-list li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 0.42rem; border-radius: 50%; background: var(--accent-text); }
.industry-cta { min-height: 44px; font-size: 0.95rem; }
@media (max-width: 860px) {
  .industry-panel { grid-template-columns: 1fr; }
  .industry-photo-wrap { min-height: 18rem; max-height: 28rem; }
  .industry-photo { min-height: 18rem; max-height: 28rem; }
}
@media (max-width: 640px) {
  .industry-tabs { margin-inline: calc(-1 * var(--sp-6)); padding-inline: var(--sp-6); }
  .industry-detail-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .industry-panel-body { padding: var(--sp-6); }
}

/* Trust badges */
.badges { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8); }
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--text-on-dark);
  background: color-mix(in oklab, var(--graphite-800) 70%, transparent);
}
.badge svg { color: var(--copper-400); }

/* Operational governance */
.governance-grid .card { min-height: 100%; }
.governance-status { display: inline-block; margin: 0 0 var(--sp-3); color: var(--copper-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Final CTA */
.cta-band { text-align: center; }
.cta-band .container { max-width: 46rem; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn--secondary { border-color: var(--red-600); color: var(--red-600); background: var(--white); }
.cta-band .btn--secondary:hover { border-color: var(--red-600); background: color-mix(in oklab, var(--red-500) 7%, var(--white)); color: var(--red-600); }
@media (max-width: 560px) { .cta-band .hero-cta { flex-direction: column; align-items: stretch; } .cta-band .btn { justify-content: center; width: 100%; } }

/* Company profile form */
.company-profile-dialog { width: min(calc(100% - 2rem), 42rem); padding: 0; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: 0 24px 70px rgba(18,21,26,0.28); }
.company-profile-dialog::backdrop { background: rgba(18,21,26,0.66); backdrop-filter: blur(3px); }
.company-profile-form { padding: var(--sp-8); }
.dialog-head { display: flex; justify-content: space-between; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.dialog-head .eyebrow { margin-bottom: var(--sp-2); }
.dialog-head h2 { font-size: 1.65rem; margin-bottom: var(--sp-2); }
.dialog-head p:last-child { color: var(--text-muted); margin: 0; }
.dialog-close { flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: var(--paper-100); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.company-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.company-profile-fields label { display: grid; gap: var(--sp-2); color: var(--text); font-size: 0.875rem; font-weight: 600; }
.company-profile-fields input { width: 100%; min-height: 44px; padding: 0.625rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); color: var(--text); font: inherit; }
.company-profile-fields input:focus { border-color: var(--red-600); outline: 2px solid color-mix(in oklab, var(--red-500) 20%, transparent); outline-offset: 1px; }
.company-profile-actions { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); }
.company-profile-note { margin: var(--sp-4) 0 0; color: var(--text-muted); font-size: 0.825rem; }
@media (max-width: 560px) { .company-profile-form { padding: var(--sp-6); } .company-profile-fields { grid-template-columns: 1fr; } .company-profile-actions { align-items: stretch; flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-900); color: var(--text-on-dark-muted); padding-block: var(--sp-16) var(--sp-8); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--sp-8); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { color: var(--text-on-dark-muted); font-size: 0.95rem; line-height: 1.55; margin-top: var(--sp-3); max-width: 24rem; }
.footer-identity { color: #fff; font-size: 0.9375rem; font-weight: 600; margin-top: var(--sp-6); }
.footer-pos { font-size: 0.8125rem; line-height: 1.6; color: var(--steel-500); margin-top: var(--sp-2); }
.footer-col h4 { color: #fff; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: var(--sp-4); }
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col a { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { font-style: normal; }
.footer-contact-label { color: var(--amber-400); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; margin: -0.5rem 0 var(--sp-4); text-transform: uppercase; }
.footer-address { margin-top: var(--sp-5); max-width: 19rem; }
.footer-address a { font-size: 0.8125rem; line-height: 1.6; }
.footer-legal {
  border-top: 1px solid var(--border-dark);
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4);
  font-size: 0.8125rem; color: var(--steel-500);
}
.footer-legal a { color: var(--steel-500); }
/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    background: color-mix(in oklab, var(--white) 92%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }
  .mobile-cta .btn { flex: 1; justify-content: center; min-height: 46px; }
  .mobile-cta .btn--wa { background: #1f9d55; color: #fff; }
  body { padding-bottom: 74px; }
}

/* Utility */
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--graphite-900); color: #fff; padding: var(--sp-3) var(--sp-4); z-index: 100; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Brand logo (AJA) ---------- */
.brand { flex-direction: row; align-items: center; gap: var(--sp-3); }
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 40px; } }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.brand-lockup .brand-co { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink-900); letter-spacing: -0.01em; }
.brand-lockup .brand-tag { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin-top: 2px; }
@media (max-width: 480px) { .brand-lockup { display: none; } .brand-logo { height: 38px; } }
.footer-logo { height: 105px; width: auto; margin-bottom: var(--sp-3); }
@media (max-width: 560px) { .footer-logo { height: 93px; } }

/* ---------- Operational capability cards ---------- */
.capability .grid { gap: var(--sp-4); }
.media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(18,21,26,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.media-visual {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* Branded fallback shown when no photo is available. */
  background-image:
    linear-gradient(150deg, color-mix(in oklab, var(--amber-600) 22%, var(--graphite-800)), var(--graphite-900)),
    repeating-linear-gradient(125deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px);
  background-size: cover, auto;
  background-position: center;
}
.media-photo { width: 100%; height: 100%; object-fit: cover; }
.media:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18,21,26,0.10); border-color: color-mix(in oklab, var(--amber-500) 45%, var(--border)); }
.media-body { padding: var(--sp-6); background: var(--surface); }
.media-body .icon { display: block; color: var(--accent-text); margin-bottom: var(--sp-3); }
.media-body h4 { color: var(--text); font-size: 1.125rem; margin: 0 0 var(--sp-2); }
.media-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Section-level CTA (centered) ---------- */
.section-cta { text-align: center; margin-top: var(--sp-12); }
.section-cta .note { display: block; margin-top: var(--sp-3); font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-topbar { border-bottom: 1px solid var(--border); background: var(--white); }
.legal-topbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.legal-topbar .brand-logo { height: 42px; width: auto; }
.legal-topbar a.back { font-size: 0.95rem; font-weight: 500; color: var(--ink-600); }
.legal-prose { max-width: 46rem; }
.legal-prose h1 { margin-bottom: var(--sp-2); }
.legal-prose .updated { color: var(--ink-400); font-size: 0.9rem; margin-bottom: var(--sp-8); }
.legal-prose h2 { font-size: 1.25rem; margin: var(--sp-8) 0 var(--sp-3); }
.legal-prose p { color: var(--text-muted); }
.legal-prose ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 var(--sp-4); }
.legal-prose li { margin-bottom: var(--sp-2); color: var(--text-muted); }
.legal-prose a { text-decoration: underline; }

/* ---------- FAQ (native accordion) ---------- */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--sp-6) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent-text); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--accent-text); }
.faq .faq-a { padding: 0 0 var(--sp-6); }
.faq .faq-a p { color: var(--text-muted); margin: 0; max-width: 60ch; }
.faq .faq-a p + p { margin-top: var(--sp-3); }
.faq .faq-a ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-6); margin: var(--sp-3) 0; }
.faq .faq-a li { color: var(--text-muted); font-size: 0.95rem; }
.faq .faq-a li::before { content: "•"; color: var(--accent-text); margin-right: var(--sp-2); }
@media (max-width: 560px) { .faq .faq-a ul { grid-template-columns: 1fr; } }
