/* ══════════════════════════════════════════════════════════════════════════
   Happy Colors General Transport LLC — site stylesheet

   Merged from the Claude Design canvas:
     design/_ds/modernist-<id>/styles.css  (design system: tokens + components)
     design/brand.css                      (blue accent retune)

   Plain CSS on plain HTML. No build step, no JavaScript anywhere on this site.
   Editing this file is how the site's look changes; see README.md.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  /* Accent — Happy Colors blue, replacing the design system's default red. */
  --color-accent: #1140d4;
  --color-accent-2: #1140d4;

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #eef2ff;
  --color-accent-200: #dbe3ff;
  --color-accent-300: #b8c8ff;
  --color-accent-400: #7d98ff;
  --color-accent-500: #3d63f5;
  --color-accent-600: #0f37b0;
  --color-accent-700: #0a2782;
  --color-accent-800: #08205e;
  --color-accent-900: #0b1a41;

  --color-accent-2-100: #eef2ff;
  --color-accent-2-200: #dbe3ff;
  --color-accent-2-300: #b8c8ff;
  --color-accent-2-400: #7d98ff;
  --color-accent-2-500: #3d63f5;
  --color-accent-2-600: #0f37b0;
  --color-accent-2-700: #0a2782;
  --color-accent-2-800: #08205e; /* absent from brand.css — was falling back to the old red */
  --color-accent-2-900: #0b1a41;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);

  /* Site-level: the page gutter and content measure, used by .wrap. */
  --wrap-max: 1240px;
  --wrap-pad: 24px;
}

/* ── base ─────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin: 0 0 var(--space-3); }

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

img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: var(--color-neutral-700);
}

.text-muted { color: var(--color-neutral-700); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.hr { height: 2px; border: 0; margin: var(--space-4) 0; background: var(--color-divider); }

/* Keyboard users land here first; invisible until focused. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-accent); color: #fff;
  padding: 12px 18px;
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
}
.skip-link:focus {
  left: 0; text-decoration: none; color: #fff;
}

/* ── buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn:hover { text-decoration: none; }
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-block { width: 100%; margin-top: var(--space-2); justify-content: flex-start; text-align: left; }
.btn-invert { background: #ffffff; color: var(--color-accent-700); }
.btn-invert:hover { background: var(--color-accent-100); color: var(--color-accent-700); }

/* ── tags ─────────────────────────────────────────────────────────────── */

.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* ── tables ───────────────────────────────────────────────────────────── */

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-neutral-700);
  padding: var(--space-2); border-bottom: 2px solid var(--color-divider);
}
.table td { padding: var(--space-2); border-bottom: 1px solid var(--color-divider); }
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }
.table-scroll { overflow-x: auto; }

/* ══════════════════════════════════════════════════════════════════════════
   Site patterns — the repeated structures of the marketing pages, lifted out
   of the canvas artboards so the six page files stay readable.
   ══════════════════════════════════════════════════════════════════════════ */

.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--wrap-pad); }

/* The small uppercase accent label above a heading. */
.kicker {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--color-accent-700);
  margin-bottom: 14px;
}

/* The small uppercase grey label used in definition rows and card headers.
   Uses neutral-700, not the canvas's neutral-600 — that failed WCAG AA at
   this size (3.7:1 on the page background). */
.label {
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-neutral-700);
}

/* Inline "read more →" link under a section heading. */
.more-link {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--color-accent-700);
}

.lede { font-size: 16px; line-height: 1.6; color: var(--color-neutral-800); max-width: 48ch; margin: 0; }
.body-text { color: var(--color-neutral-800); }

/* Two-column split that collapses to one column on narrow screens. */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}
.split-end { align-items: end; }
.split-start { align-items: start; }

/* Page opening: kicker + h1 on the left, lede on the right. */
.page-head { padding: 56px 0 40px; }
.page-head h1 {
  font-size: clamp(38px, 5.6vw, 68px); line-height: 0.99; margin: 0; max-width: 16ch;
}

.section { padding-top: 56px; }
.section-tight { padding-top: 40px; }
.section h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.04; margin: 0 0 16px; }
.rule-top { border-top: 2px solid var(--color-divider); padding-top: 36px; }

/* The hairline-boxed cell used for service points, sectors, compliance codes. */
.cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--cell-min, 240px), 1fr));
  gap: 2px;
  align-content: start;
}
.cell {
  background: var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-divider);
  padding: 20px 18px;
  /* Department email addresses are long unbreakable tokens that would
     otherwise run past the cell's rule. */
  overflow-wrap: break-word;
}
.cell h3, .cell h4 { margin: 0 0 8px; }
.cell p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-neutral-800); }
.cell-title { font-family: var(--font-heading); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.cell-note { font-size: 12px; line-height: 1.45; color: var(--color-neutral-700); }
.cell-plain { font-size: 13.5px; line-height: 1.45; padding: 13px 15px; }
.cell-num { font-family: var(--font-heading); font-weight: 800; font-size: 12px; color: var(--color-accent); margin-bottom: 16px; }

/* A cell that is itself a link — the emirate list and the 404 page's index. */
a.cell {
  color: var(--color-text); text-decoration: none;
  font-family: var(--font-heading); font-weight: 600;
}
a.cell:hover { background: var(--color-accent-100); color: var(--color-accent-700); text-decoration: none; }
.emirate { padding: 16px; font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; }

/* Service card — the nine-up grid on the home page. */
.svc { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 30px; }
.svc:hover { background: var(--color-accent-100); }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc-num { font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--color-accent); }
.svc-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-neutral-700); }
.svc h3 { font-size: 21px; margin: 0; }
.svc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-neutral-800); }

/* The oversized numeral heading each row on the services page. */
.svc-big-num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--color-accent);
}

/* Numbered process step — "from enquiry to on-site in four steps". */
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 2px solid var(--color-divider);
}
.step-num { font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--color-accent); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--color-neutral-800); }

/* Three-letter sector code above a sector name. */
.sector-code {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 11px; letter-spacing: 0.12em; color: var(--color-accent); margin-bottom: 12px;
}

/* Stat strip — big figure over a caption, divided by vertical rules. */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  column-gap: 24px;
}
.stat { padding: 28px 24px 28px 0; border-right: 2px solid var(--color-divider); }
.stat-value {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 38px; line-height: 1; letter-spacing: -0.03em;
}
.stat-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 8px; color: var(--color-neutral-700);
}

/* Numbered column list — the "why us" and "values" rows. */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  column-gap: 24px;
  border-top: 2px solid var(--color-divider);
}
.col { padding: 24px 24px 28px 0; border-right: 2px solid var(--color-divider); }
.col h4 { margin: 0 0 8px; font-size: 18px; }
.col p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-neutral-800); }

/* Definition rows — label on the left, value on the right. */
.deflist { display: grid; gap: 2px; }
.defrow {
  background: var(--color-bg); padding: 14px 0;
  display: grid; grid-template-columns: minmax(100px, 130px) 1fr;
  gap: 16px; align-items: baseline;
}
.defrow > span:last-child { font-size: 14.5px; }

/* The image fills its box regardless of the box's height source. The image is
   positioned absolutely because a percentage height cannot resolve against a
   parent sized only by min-height — it would collapse to the intrinsic height
   and leave a strip of bare background below the photo. */
.media { position: relative; overflow: hidden; background: var(--color-surface); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── header ───────────────────────────────────────────────────────────── */

.topbar { background: var(--color-text); color: var(--color-bg); }
.topbar .wrap {
  padding-top: 8px; padding-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  font-family: var(--font-heading); font-weight: 600;
}
.topbar-contact { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--color-accent-300); }

.masthead { border-bottom: 2px solid var(--color-divider); background: var(--color-bg); }
.masthead .wrap {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text); }
.brand:hover { text-decoration: none; color: var(--color-text); }
.brand-mark {
  display: grid; grid-template-columns: repeat(2, 10px); grid-template-rows: repeat(2, 10px);
  gap: 2px; flex: none;
}
.brand-mark span:nth-child(1) { background: var(--color-accent); }
.brand-mark span:nth-child(2) { background: var(--color-text); }
.brand-mark span:nth-child(3) { background: var(--color-accent-400); }
.brand-mark span:nth-child(4) { background: var(--color-accent-700); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b {
  font-family: var(--font-heading); font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
}
.brand-name span {
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-neutral-700);
}

.mainnav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.mainnav a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-heading); font-weight: 600;
  text-decoration: none; color: var(--color-text);
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.mainnav a:hover { color: var(--color-accent); text-decoration: none; }
.mainnav a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }
.mainnav .btn { text-transform: none; letter-spacing: 0; border-bottom: 0; }
.mainnav .btn:hover { color: var(--color-bg); }

/* No JavaScript on this site, so no hamburger. Below 900px the masthead
   stacks into two rows: the brand over a full-width nav whose links wrap onto
   as many lines as they need. Deliberately not a horizontal scroller — with
   no script to hint at the overflow, links past the fold would simply be
   invisible. Wrapping keeps every destination on screen. */
@media (max-width: 900px) {
  .masthead .wrap { flex-wrap: wrap; gap: 14px; }
  .mainnav { width: 100%; justify-content: flex-start; gap: 14px 18px; }
  .mainnav a { white-space: nowrap; }
  .mainnav .btn { margin-left: 0; }
}

@media (max-width: 560px) {
  :root { --wrap-pad: 18px; }
  .topbar .wrap { font-size: 10px; }
  .topbar-region { display: none; }
  .stat { padding-right: 16px; }
  .col { padding-right: 16px; }
}

/* ── footer ───────────────────────────────────────────────────────────── */

.cta-band { background: var(--color-accent); color: #ffffff; }
.cta-band .wrap { padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 {
  font-size: clamp(32px, 5.4vw, 64px); line-height: 1;
  margin: 0 0 20px; max-width: 20ch; color: #ffffff;
}
.cta-band p { font-size: 17px; max-width: 44ch; margin: 0 0 28px; color: #ffffff; }

.sitefoot { background: var(--color-text); color: var(--color-neutral-300); }
.sitefoot .wrap { padding-top: 56px; padding-bottom: 24px; }
.sitefoot-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
}
.sitefoot b {
  display: block;
  font-family: var(--font-heading); font-weight: 800; font-size: 17px;
  color: #ffffff; letter-spacing: -0.02em;
}
.sitefoot-sub {
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;
}
.sitefoot h2 {
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #ffffff; margin: 0 0 12px; font-weight: 800; letter-spacing: 0.12em;
}
.sitefoot-list { display: grid; gap: 6px; font-size: 13px; }
.sitefoot a { color: var(--color-neutral-300); text-decoration: none; }
.sitefoot a:hover { color: #ffffff; text-decoration: underline; }
.sitefoot p { font-size: 13px; line-height: 1.55; max-width: 34ch; margin: 0; }
.sitefoot-base {
  max-width: var(--wrap-max); margin: 0 auto;
  padding: 16px var(--wrap-pad) 40px;
  border-top: 2px solid var(--color-neutral-800);
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}

/* ── contact ──────────────────────────────────────────────────────────── */

/* align-self keeps the panel the height of its own content — stretched to
   match the taller contact column it would trail a long empty box. */
.panel { border: 2px solid var(--color-divider); padding: 28px 24px; align-self: start; }
.panel h2 { margin: 0 0 10px; font-size: 22px; }

/* Checklist of what an enquiry should contain — stands in for the form
   fields the design mocked up. */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li {
  background: var(--color-bg); box-shadow: 0 0 0 2px var(--color-divider);
  padding: 12px 15px; font-size: 13.5px; line-height: 1.45;
  display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: baseline;
}
.checklist li::before {
  content: attr(data-n);
  font-family: var(--font-heading); font-weight: 800; font-size: 12px; color: var(--color-accent);
}
.contact-actions { display: grid; gap: 10px; margin-top: 22px; }

/* ── 404 ──────────────────────────────────────────────────────────────── */

.notfound { padding: 96px 0 120px; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; margin: 0 0 20px; }
.notfound-code {
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  letter-spacing: 0.16em; color: var(--color-accent); margin-bottom: 16px;
}

/* ── print ────────────────────────────────────────────────────────────── */

@media print {
  .topbar, .mainnav, .cta-band, .skip-link { display: none; }
  body { background: #fff; }
  .cell, .panel { box-shadow: none; border: 1px solid #999; }
}
