/* ==========================================================================
   GLOBAL: theme variables, reset, base typography, layout helpers
   Template-5 (On Site Power Cleaning): argon blue on deep navy, striping-yellow
   accents, extended black italic headings (a web match for Eurostile Extended
   Black Italic), slanted bands, hex texture and parking-line details.
   ========================================================================== */

:root {
  /* Theme colors: argon blue and white from the brand, navy depth, striping yellow for actions */
  --primary-color: #0a84ff;
  --secondary-color: #071a33;
  --accent-color: #ffd21f;

  --nav-background-color: #071a33;
  --footer-background-color: #050f20;
  --hero-banner-background-color: #071a33;

  /* Derived colors */
  --primary-strong: #0064d6;
  --primary-soft: #e6f2ff;
  --primary-on-dark: #5cb3ff;
  --primary-light: #4aa8ff;
  --accent-strong: #f2bd00;
  --accent-soft: #fff7d1;
  --ink: #0b1220;
  --surface-color: #ffffff;
  --surface-alt: #f1f5fb;
  --text-color: #1b2536;
  --text-muted: #5a667b;
  --text-on-dark: #f3f7ff;
  --text-on-dark-muted: #aebbd2;
  --border-color: #dce4f0;
  --border-on-dark: rgb(255 255 255 / 0.14);

  /* Type: extended black italic display (Saira at 125% width), clean Barlow body */
  --font-heading: "Saira", "Eurostile Extended", "Arial Black", system-ui, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-script: var(--font-heading);

  /* Layout */
  --container-width: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(64px, 8.5vw, 116px);
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --shadow: 0 22px 44px -24px rgb(7 26 51 / 0.45);
  --shadow-sm: 0 8px 20px -12px rgb(7 26 51 / 0.35);

  /* Slant used on band edges (matches the italic logo) */
  --slant: 56px;

  /* Hex texture (from the logo's honeycomb) for dark bands */
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 54 16v30L28 61 2 46V16zM28 61v36M2 16 28 1' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.2'/%3E%3C/svg%3E");
  /* Parking-line stripe used as a divider and button detail */
  --stripes: repeating-linear-gradient(-55deg, var(--accent-color) 0 12px, transparent 12px 26px);
  --star: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-color);
  background: var(--surface-color);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--secondary-color);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1,
h2 {
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

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

a {
  color: inherit;
}

main a:not([class]),
.page-copy a:not([class]) {
  color: var(--primary-strong);
  text-underline-offset: 3px;
}

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

/* Small lead-in above headings: a slanted yellow tab and spaced capitals */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  font-style: italic;
  font-stretch: 115%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-strong);
  margin-bottom: 14px;

  &::before {
    content: "";
    flex: 0 0 auto;
    width: 26px;
    height: 8px;
    background: var(--accent-color);
    transform: skewX(-30deg);
  }
}

/* Accent word inside a heading */
.script,
.hl {
  color: var(--primary-color);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
