/* ============================================================
   United Mega Movers — Marketing Site Stylesheet
   Pulled from design_handoff_adani_bulk_redesign/prototypes/site-styles.css
   Tokens live in tokens.css.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body {
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "cv11";
}

/* Typography */
.serif { font-family: "Fraunces", "Times New Roman", serif; font-optical-sizing: auto; font-variation-settings: "SOFT" 30, "WONK" 0; }
.mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; }

h1, h2, h3, h4 { font-family: "Fraunces", "Times New Roman", serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(48px, 7vw, 104px); }
h2 { font-size: clamp(34px, 4.5vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 32px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

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

/* Layout primitives */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 18px; }
}

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 18px 28px;
  max-width: 1440px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 16px;
  letter-spacing: 0;
}
/* Brand logo (image): displayed as-is. The source PNG is a multi-colour
   mark on transparent background, so it works on both dark and light
   surfaces without filtering. */
.brand-logo {
  width: 28px; height: 28px;
  display: block;
  object-fit: contain;
}
/* Login card: bumped slightly larger since the card has more breathing
   room around the brand. (`.brand-logo--dark` modifier kept for
   backward-compat with templates that already use it.) */
.brand-logo--dark { width: 40px; height: 40px; }
.brand small { display: block; font-family: "Inter Tight", sans-serif; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-radius: 6px;
  transition: color 120ms ease, background 120ms ease;
  cursor: pointer;
  border: 0; background: transparent; font-family: inherit;
  text-decoration: none;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--accent);
}
.nav-cta {
  margin-left: 14px;
  padding: 10px 18px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 13.5px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform 120ms ease, background 120ms ease;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); color: var(--accent-ink); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: 8px 12px; border-radius: 8px;
  font-family: inherit; font-size: 13px; cursor: pointer;
  margin-left: auto;
}

@media (max-width: 920px) {
  .topbar-inner { padding: 14px 18px; gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  .brand-logo { width: 24px; height: 24px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 64px 0 0 0;
    flex-direction: column;
    background: var(--ink);
    padding: 24px 18px;
    gap: 4px;
    align-items: stretch;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-link { padding: 14px 16px; font-size: 16px; text-align: left; border-radius: 8px; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: rgba(255,255,255,0.06); color: var(--accent-2); }
  .nav-cta { margin: 12px 16px 0; justify-content: center; }
}

@media (max-width: 720px) {
  .hero-inner { padding: 60px 18px 48px; }
  .hero-inner.tall { padding: 72px 18px 56px; }
  .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero-lead { font-size: 15.5px; }
  .hero-stats { margin-top: 40px; padding-top: 24px; }
  .hero-stat .num { font-size: 30px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .split-content h2 { margin-bottom: 16px; }
  .feature-card { aspect-ratio: 4 / 4.5; padding: 24px; }
  .news-feature h2 { font-size: 28px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  .cta-banner { padding: 56px 0; }
  .contact-form { padding: 24px 18px; }
  .login-card { padding: 32px 24px; margin: 32px 0; }
  .login-card h2 { font-size: 26px; }
  .topbar { position: sticky; }
  .wo-table { font-size: 12.5px; }
  .wo-table thead th, .wo-table tbody td { padding: 12px 10px; }
  .wo-table .wo-id { font-size: 11px; }
  .wo-toolbar { gap: 8px; padding: 14px 0; }
  .wo-chip { padding: 6px 12px; font-size: 12px; }
  .timeline { gap: 24px; }
  .clients { grid-template-columns: 1fr 1fr; }
  .client { padding: 24px 16px; gap: 12px; }
  .client img { height: 28px; }
}

/* ============================================================
   Hero (variants)
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.4) brightness(0.55) contrast(1.05);
  z-index: -2;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,0.35) 0%, rgba(11,13,16,0.85) 75%, var(--ink) 100%);
}
.hero-duo .hero-bg {
  filter: none;
  mix-blend-mode: lighten;
}
.hero-duo .hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink); mix-blend-mode: multiply;
  background-image: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--accent) 30%, var(--ink)) 100%);
}

.hero-inner {
  position: relative;
  padding: 96px 28px 72px;
  max-width: 1440px; margin: 0 auto;
}
.hero-inner.tall { padding-top: 140px; padding-bottom: 100px; }

.hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hero-meta .eyebrow { color: rgba(255,255,255,0.7); }
.hero-meta .eyebrow .dot { background: var(--accent-2); }
.hero-meta .crumbs { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

.hero h1 {
  max-width: 18ch;
  color: #fff;
}
.hero h1 em { font-style: italic; color: var(--accent-2); font-variation-settings: "SOFT" 50; }

.hero-lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.hero-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 600;
  border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}
.hero-stat { padding-right: 16px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.08); padding-left: 24px; }
.hero-stat .num {
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-stat .num em { color: var(--accent-2); font-style: normal; }
.hero-stat .lbl { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 880px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
  .hero-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.bg-paper-2 { background: var(--paper-2); }
.section.bg-paper-3 { background: var(--paper-3); }
.section.bg-ink {
  background: var(--ink); color: #fff;
}
.section.bg-ink h2, .section.bg-ink h3 { color: #fff; }
.section.bg-ink .eyebrow { color: rgba(255,255,255,0.65); }
.section.bg-ink .eyebrow .dot { background: var(--accent-2); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 56px; align-items: end; }
.section-head h2 { max-width: 16ch; }
.section-head .lead { color: var(--ink-3); font-size: 17px; max-width: 52ch; line-height: 1.55; }
.section.bg-ink .section-head .lead { color: rgba(255,255,255,0.7); }

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
}

/* Magazine split — image + text */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.flip { grid-template-columns: 1fr 1.1fr; }
.split.flip .split-img { order: 2; }
.split-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-img .badge {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--ink); color: #fff;
  padding: 8px 14px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.split-content h2 { margin-bottom: 24px; max-width: 18ch; }
.split-content p { font-size: 17px; line-height: 1.6; color: var(--ink-3); margin-bottom: 16px; max-width: 56ch; }
.section.bg-ink .split-content p { color: rgba(255,255,255,0.72); }
.split-content .meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 32px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.split-content .meta-item .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px; }
.split-content .meta-item .v { font-family: "Fraunces", serif; font-size: 24px; font-weight: 500; }
.section.bg-ink .split-content .meta { border-top-color: rgba(255,255,255,0.12); }

@media (max-width: 880px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-img { order: 0; }
  .split-img { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Cards & grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: border-color 160ms ease, transform 200ms ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.section.bg-ink .svc-card { background: var(--ink-2); border-color: rgba(255,255,255,0.1); }
.section.bg-ink .svc-card:hover { border-color: var(--accent); }

.svc-card .num {
  font-family: "Fraunces", serif;
  font-size: 14px; color: var(--ink-4); font-style: italic;
  margin-bottom: 24px;
}
.svc-card h3 { margin-bottom: 14px; }
.svc-card .desc { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; flex: 1; }
.section.bg-ink .svc-card .desc { color: rgba(255,255,255,0.7); }
.svc-card .arrow {
  margin-top: 24px;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.section.bg-ink .svc-card .arrow { border-color: rgba(255,255,255,0.18); }
.svc-card:hover .arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Big image card */
.feature-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 32px;
  color: #fff;
  isolation: isolate;
  text-decoration: none;
}
.feature-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 600ms ease;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
}
.feature-card:hover img { transform: scale(1.04); }
.feature-card .num { color: var(--accent-2); font-family: "Fraunces", serif; font-style: italic; font-size: 14px; margin-bottom: 12px; }
.feature-card h3 { color: #fff; margin-bottom: 12px; }
.feature-card p { color: rgba(255,255,255,0.85); font-size: 14.5px; max-width: 38ch; }

/* Process steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step { padding: 32px 24px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .step-num {
  font-family: "Fraunces", serif; font-style: italic;
  color: var(--accent); font-size: 14px;
  margin-bottom: 24px;
}
.step h4 { font-family: "Fraunces", serif; font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-3); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
}

/* Clients */
.clients {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.client:last-child { border-right: 0; }
.client img { height: 36px; width: auto; object-fit: contain; opacity: 0.85; filter: grayscale(0.5); }
.client .who { font-size: 13px; font-weight: 600; }
.client .stat {
  font-family: "Fraunces", serif; font-size: 14px;
  font-style: italic; color: var(--ink-3);
}
.section.bg-ink .clients { border-color: rgba(255,255,255,0.12); }
.section.bg-ink .client { border-color: rgba(255,255,255,0.08); }
.section.bg-ink .client img { filter: invert(1) grayscale(0.4); opacity: 0.7; }
.section.bg-ink .client .stat { color: rgba(255,255,255,0.6); }

@media (max-width: 880px) {
  .clients { grid-template-columns: 1fr 1fr; }
  .client:nth-child(2n) { border-right: 0; }
  .client:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section.bg-ink .client:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { max-width: 18ch; margin-bottom: 16px; color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 52ch; font-size: 17px; line-height: 1.55; }
.cta-banner .cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.cta-banner-deco {
  position: absolute; right: -160px; top: -100px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer */
.footer {
  background: #050709;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h5 {
  font-family: "Inter Tight", sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: #fff; opacity: 0.78; transition: opacity 120ms ease; text-decoration: none; }
.footer ul a:hover { opacity: 1; color: var(--accent-2); }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: "Fraunces", serif; font-size: 24px; margin-bottom: 16px; }
.footer-brand .brand-mark,
.footer-brand .brand-logo { width: 34px; height: 34px; }
.footer-tag { color: rgba(255,255,255,0.6); max-width: 36ch; font-size: 14px; line-height: 1.55; }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.45); font-size: 12px; gap: 16px; flex-wrap: wrap;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Page-specific
   ============================================================ */

/* About — values list */
.values-list {
  border-top: 1px solid var(--line);
}
.value-row {
  display: grid; grid-template-columns: 80px 1fr 2fr;
  gap: 32px; align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.value-row .vn { font-family: "Fraunces", serif; font-style: italic; color: var(--accent); font-size: 16px; }
.value-row h3 { font-size: 28px; }
.value-row p { color: var(--ink-3); font-size: 16px; line-height: 1.6; max-width: 60ch; }
@media (max-width: 720px) {
  .value-row { grid-template-columns: 60px 1fr; }
  .value-row p { grid-column: 1 / -1; padding-left: 60px; }
}

/* Fly ash — process timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  top: 36px; left: 5%; right: 5%;
  height: 1px; background: var(--line-2);
  z-index: 0;
}
.tl-step { position: relative; z-index: 1; padding-right: 16px; }
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  margin-bottom: 24px;
  position: relative;
}
.tl-dot::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--accent); border-radius: 50%;
}
.tl-step h4 { font-family: "Fraunces", serif; font-size: 18px; margin-bottom: 8px; }
.tl-step p { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.tl-step .tl-num { font-family: "Inter Tight", sans-serif; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-4); text-transform: uppercase; margin-bottom: 6px; }

@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .timeline::before { display: none; }
}
@media (max-width: 540px) {
  .timeline { grid-template-columns: 1fr; }
}

/* Work orders — table */
.wo-toolbar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.wo-search {
  flex: 1; min-width: 220px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--ink-3);
}
.wo-search input { background: transparent; border: 0; outline: 0; flex: 1; font-size: 14px; font-family: inherit; color: var(--ink); }
.wo-chip {
  padding: 8px 14px; font-size: 12.5px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: all 120ms ease;
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.wo-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.wo-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wo-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.wo-table thead th {
  text-align: left;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 600;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.wo-table tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.wo-table tbody tr { transition: background 120ms ease; }
.wo-table tbody tr:hover { background: var(--paper-2); }
.wo-id { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--ink-3); }
.wo-title { font-weight: 500; font-size: 14.5px; margin-bottom: 4px; }
.wo-route { font-size: 12.5px; color: var(--ink-3); }
.wo-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
}
.pill.pos { background: color-mix(in srgb, var(--pos) 12%, transparent); color: var(--pos); }
.pill.warn { background: color-mix(in srgb, var(--accent) 18%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--ink)); }
.pill.neg { background: color-mix(in srgb, var(--neg) 12%, transparent); color: var(--neg); }
.pill.muted { background: var(--paper-2); color: var(--ink-3); }

/* News — magazine grid */
.news-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.news-feature .img { aspect-ratio: 5 / 4; overflow: hidden; }
.news-feature .img img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .meta { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.news-feature h2 { font-size: clamp(28px, 3.5vw, 48px); margin-bottom: 16px; }
.news-feature p { color: var(--ink-3); font-size: 17px; line-height: 1.6; max-width: 56ch; }
.tag {
  display: inline-block; padding: 4px 10px;
  background: var(--paper-3); color: var(--ink-2);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.news-card { display: flex; flex-direction: column; gap: 16px; cursor: pointer; text-decoration: none; color: inherit; }
.news-card .img { aspect-ratio: 4 / 3; overflow: hidden; }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.news-card:hover .img img { transform: scale(1.04); }
.news-card .meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--ink-4); }
.news-card h3 { font-size: 22px; line-height: 1.2; }
.news-card .desc { font-size: 14px; color: var(--ink-3); line-height: 1.55; }

@media (max-width: 880px) {
  .news-feature { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px; align-items: start;
}
.contact-form { background: var(--paper); border: 1px solid var(--line); padding: 36px; }
.contact-form h2 { margin-bottom: 8px; }
.contact-form .lead { color: var(--ink-3); margin-bottom: 32px; max-width: 50ch; }
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.fld label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; }
.fld input, .fld select, .fld textarea {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 4px;
  outline: 0;
  transition: border-color 120ms ease, background 120ms ease;
  width: 100%;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ink); background: #fff; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-side .info-block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.contact-side .info-block:first-child { padding-top: 0; }
.contact-side .info-block h4 { font-family: "Inter Tight", sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; margin-bottom: 12px; }
.contact-side .info-block p { font-size: 16px; line-height: 1.55; color: var(--ink); }
.contact-side .info-block a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.contact-map {
  margin-top: 28px;
  aspect-ratio: 1 / 1;
  background: var(--paper-3);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .fld-row { grid-template-columns: 1fr; }
}

/* Login */
.login-stage {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  position: relative;
  background: #000;
  overflow: hidden;
}
.login-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.3) brightness(0.5);
}
.login-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
}
.login-card {
  position: relative;
  width: min(440px, calc(100vw - 36px));
  margin: 80px 0;
  padding: 44px 40px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.login-card .brand { color: #fff; margin-bottom: 24px; }
.login-card h2 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.login-card .lead { color: rgba(255,255,255,0.68); margin-bottom: 28px; font-size: 14.5px; }
.login-card .fld input { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #fff; }
.login-card .fld input::placeholder { color: rgba(255,255,255,0.45); }
.login-card .fld input:focus { background: rgba(255,255,255,0.14); border-color: var(--accent); }
.login-card .fld label { color: rgba(255,255,255,0.6); }
.login-card .btn-primary { width: 100%; justify-content: center; padding: 14px; margin-top: 12px; }
.login-card .login-foot { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,0.55); display: flex; justify-content: space-between; }
.login-card .login-foot a { color: var(--accent-2); }
