/* ============================================================
   Hanna Electric — Production site stylesheet
   Tokens first, then component + layout classes.
   Breakpoints: 900px (tablet), 640px (mobile).
   ============================================================ */

/* ===== tokens/colors.css (inlined for deploy) ===== */
/* ============================================================
   Hanna Electric — Color Tokens
   Palette derived from the sunrise logo: a yellow sun core
   radiating through gold, orange and red-orange arcs, set
   against bold black type. Warm neutrals throughout.
   ============================================================ */

:root {
  /* ---- Brand: the sunrise ramp ---- */
  --sun-yellow:     #FFC20E;  /* sun core */
  --sun-gold:       #F9A825;  /* inner arc */
  --hanna-orange:   #F26522;  /* PRIMARY brand orange */
  --hanna-orange-d: #E0531A;  /* pressed / hover-dark */
  --ember:          #E8491D;  /* outermost red-orange arc */
  --ember-d:        #C23A14;

  /* awareness ribbon (used only in the ribbon lockup) */
  --ribbon-pink:    #EC008C;

  /* ---- Navy: professional anchor (dark surfaces, secondary actions) ---- */
  --navy:           #1C3A5E;  /* primary navy */
  --navy-d:         #122941;  /* deepest — hero / footer backgrounds */
  --navy-700:       #24486F;
  --navy-l:         #3A6492;  /* links / accents on dark */

  /* ---- Green: secondary accent (trust, “on-the-job”) ---- */
  --green:          #2E7D55;  /* professional evergreen */
  --green-d:        #215C3F;
  --green-l:        #3E9A6B;
  --green-bg:       #E5F0EA;

  /* ---- Ink & warm neutrals ---- */
  --ink:            #161413;  /* near-black wordmark */
  --graphite:       #2A2724;
  --slate-700:      #4A4541;
  --slate-600:      #6B6560;
  --slate-500:      #8C857F;
  --slate-400:      #B0A9A2;
  --slate-300:      #D2CCC5;
  --slate-200:      #E6E1DB;
  --slate-100:      #F2EEE9;
  --slate-50:       #FAF8F5;
  --white:          #FFFFFF;

  /* ---- Status ---- */
  --success:        #2E7D55;
  --success-bg:     #E5F0EA;
  --warning:        #E8941B;
  --warning-bg:     #FCF0DA;
  --danger:         #CE3A23;
  --danger-bg:      #FBE6E1;
  --info:           #1C3A5E;
  --info-bg:        #E4EAF1;

  /* ============================================================
     Semantic aliases — reference these in components
     ============================================================ */
  --brand:               var(--hanna-orange);
  --brand-strong:        var(--ember);
  --brand-contrast:      var(--white);
  --brand-navy:          var(--navy);
  --brand-green:         var(--green);

  --text-strong:         var(--ink);
  --text-body:           var(--graphite);
  --text-muted:          var(--slate-600);
  --text-subtle:         var(--slate-500);
  --text-on-brand:       var(--white);
  --text-on-navy:        var(--white);
  --text-link:           var(--hanna-orange-d);

  --surface-page:        var(--slate-50);
  --surface-card:        var(--white);
  --surface-sunk:        var(--slate-100);
  --surface-ink:         var(--ink);
  --surface-navy:        var(--navy-d);
  --surface-brand:       var(--hanna-orange);

  --border-subtle:       var(--slate-200);
  --border-default:      var(--slate-300);
  --border-strong:       var(--slate-400);
  --border-brand:        var(--hanna-orange);
  --border-navy:         var(--navy);

  --focus-ring:          color-mix(in srgb, var(--hanna-orange) 55%, transparent);
}

/* ===== tokens/typography.css (inlined for deploy) ===== */
/* ============================================================
   Hanna Electric — Typography Tokens
   Display: Zilla Slab — a sturdy slab serif that echoes the
   bold serif wordmark. Body/UI: Barlow — an industrial
   grotesque with a hard-working, infrastructural feel.
   Data/specs: IBM Plex Mono.
   ============================================================ */

/* Google Fonts loaded via <link> in each page head */

:root {
  /* ---- Families ---- */
  --font-display: 'Zilla Slab', 'Roboto Slab', Georgia, serif;
  --font-sans:    'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cond:    'Barlow Semi Condensed', 'Barlow', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- Weights ---- */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */

  /* ---- Type scale (1.250 major-third, rem) ---- */
  --fs-3xs:  0.6875rem; /* 11 - micro labels */
  --fs-2xs:  0.75rem;   /* 12 */
  --fs-xs:   0.8125rem; /* 13 */
  --fs-sm:   0.9375rem; /* 15 */
  --fs-base: 1rem;      /* 16 */
  --fs-md:   1.125rem;  /* 18 */
  --fs-lg:   1.375rem;  /* 22 */
  --fs-xl:   1.75rem;   /* 28 */
  --fs-2xl:  2.25rem;   /* 36 */
  --fs-3xl:  3rem;      /* 48 */
  --fs-4xl:  4rem;      /* 64 */

  /* ---- Line heights ---- */
  --lh-tight:   1.05; /* @kind font */
  --lh-snug:    1.2;  /* @kind font */
  --lh-normal:  1.5;  /* @kind font */
  --lh-relaxed: 1.65; /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-tight:   -0.02em; /* @kind font */
  --ls-normal:  0;       /* @kind font */
  --ls-wide:    0.04em;  /* @kind font */
  --ls-eyebrow: 0.14em;  /* @kind font */
}

/* ===== tokens/spacing.css (inlined for deploy) ===== */
/* ============================================================
   Hanna Electric — Spacing, Radius & Layout Tokens
   8px base grid. Restrained corner radii — this is an
   infrastructural, blue-collar brand, not a soft consumer app.
   ============================================================ */

:root {
  /* ---- Spacing scale (8px grid, with 4px half-steps) ---- */
  --space-0:   0;
  --space-1:   0.25rem;  /* 4  */
  --space-2:   0.5rem;   /* 8  */
  --space-3:   0.75rem;  /* 12 */
  --space-4:   1rem;     /* 16 */
  --space-5:   1.5rem;   /* 24 */
  --space-6:   2rem;     /* 32 */
  --space-7:   2.5rem;   /* 40 */
  --space-8:   3rem;     /* 48 */
  --space-9:   4rem;     /* 64 */
  --space-10:  5rem;     /* 80 */
  --space-12:  6rem;     /* 96 */

  /* ---- Radius — tight & industrial ---- */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-pill: 999px;

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  960px;
  --container-lg:  1200px;
  --container-xl:  1320px;
  --gutter:        var(--space-5);

  /* ---- Control sizing ---- */
  --control-h-sm:  34px;
  --control-h-md:  44px;  /* default tap target */
  --control-h-lg:  54px;
}

/* ===== tokens/effects.css (inlined for deploy) ===== */
/* ============================================================
   Hanna Electric — Effects: borders, shadows, gradients, motion
   Shadows are warm-tinted and grounded (the brand sits on the
   ground and builds up). The sunrise gradient is the single
   signature flourish — used deliberately, never decoratively.
   ============================================================ */

:root {
  /* ---- Borders ---- */
  --border-hairline: 1px solid var(--border-subtle);
  --border-1:        1px solid var(--border-default);
  --border-2:        2px solid var(--ink);

  /* ---- Elevation (warm-tinted) ---- */
  --shadow-xs:  0 1px 2px rgba(40, 28, 18, 0.08);
  --shadow-sm:  0 1px 3px rgba(40, 28, 18, 0.10), 0 1px 2px rgba(40, 28, 18, 0.06);
  --shadow-md:  0 4px 10px rgba(40, 28, 18, 0.10), 0 2px 4px rgba(40, 28, 18, 0.06);
  --shadow-lg:  0 12px 28px rgba(40, 28, 18, 0.14), 0 4px 8px rgba(40, 28, 18, 0.07);
  --shadow-brand: 0 6px 18px rgba(242, 101, 34, 0.32);

  /* ---- Signature gradients (the sunrise) ---- */
  --grad-sunrise:    linear-gradient(90deg, var(--sun-yellow) 0%, var(--sun-gold) 32%, var(--hanna-orange) 70%, var(--ember) 100%);
  --grad-sunrise-v:  linear-gradient(180deg, var(--ember) 0%, var(--hanna-orange) 45%, var(--sun-gold) 78%, var(--sun-yellow) 100%);
  --grad-sun-radial: radial-gradient(circle at 50% 120%, var(--sun-yellow) 0%, var(--sun-gold) 38%, var(--hanna-orange) 68%, var(--ember) 100%);
  --grad-ember:      linear-gradient(135deg, var(--hanna-orange) 0%, var(--ember) 100%);
  --grad-navy:       linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%);

  /* a thin sunrise rule, for hairline accents under headings */
  --rule-sunrise: var(--grad-sunrise);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);   /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast:      120ms; /* @kind other */
  --dur-base:      200ms; /* @kind other */
  --dur-slow:      320ms; /* @kind other */
}

/* ===== tokens/base.css (inlined for deploy) ===== */
/* ============================================================
   Hanna Electric — Base element styles & helpers
   Lightweight defaults so specimen cards and kits inherit the
   brand without per-element styling. Components remain
   self-contained via tokens.
   ============================================================ */

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

html { scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin: 0 0 var(--space-3);
}

h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

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

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

/* ---- Helpers ---- */
.he-eyebrow {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xs);
  color: var(--brand-strong);
}

.he-eyebrow--xl { font-size: var(--fs-xl); }

.he-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* the signature sunrise rule */
.he-rule {
  height: 4px;
  width: 56px;
  margin: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--grad-sunrise);
}

.he-rule--wide { width: 112px; }

/* ---------- Utilities ---------- */
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
.wrap--1100 { max-width: 1100px; }
.wrap--1080 { max-width: 1080px; }
.wrap--920  { max-width: 920px; }
.hidden-field { display: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}
.skip-link:focus { left: 0; text-decoration: none; }
@media (max-width: 640px) { .wrap { padding-inline: 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  height: var(--control-h-md); padding: 0 22px;
  font-family: var(--font-cond); font-size: var(--fs-sm); font-weight: var(--fw-bold);
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap; user-select: none; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-standard), background var(--dur-base),
    box-shadow var(--dur-base), border-color var(--dur-base), color var(--dur-base), filter var(--dur-base);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
.btn--sm { height: var(--control-h-sm); padding: 0 14px; font-size: var(--fs-xs); }
.btn--lg { height: var(--control-h-lg); padding: 0 30px; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--text-on-brand); box-shadow: var(--shadow-sm); }
.btn--primary:hover { filter: brightness(0.95); }
.btn--sunrise { background: var(--grad-ember); color: var(--text-on-brand); box-shadow: var(--shadow-brand); }
.btn--sunrise:hover { filter: brightness(1.04); }
.btn--navy { background: var(--navy); color: var(--text-on-navy); box-shadow: var(--shadow-sm); }
.btn--navy:hover { filter: brightness(1.12); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: color-mix(in srgb, var(--navy) 7%, transparent); }
.btn--inverse { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--inverse:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); color: #fff; }
@media (max-width: 640px) { .btn--block-sm { width: 100%; } }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 3px 9px;
  font-family: var(--font-cond); font-size: var(--fs-2xs); font-weight: var(--fw-bold);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
  border-radius: var(--radius-sm);
}
.badge--neutral { background: var(--slate-100); color: var(--slate-700); }
.badge--brand { background: color-mix(in srgb, var(--hanna-orange) 16%, white); color: var(--hanna-orange-d); }
.badge--navy { background: var(--info-bg); color: var(--navy); }
.badge--green { background: var(--green-bg); color: var(--green-d); }
.badge--brand.badge--solid { background: var(--hanna-orange); color: var(--white); }
.badge--navy.badge--solid { background: var(--navy); color: var(--white); }
.badge--green.badge--solid { background: var(--green); color: var(--white); }
.badge--neutral.badge--solid { background: var(--graphite); color: var(--white); }

/* ---------- Card ---------- */
.card {
  position: relative; display: block;
  background: var(--surface-card); border: var(--border-hairline);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: var(--space-6); overflow: hidden; color: inherit;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
a.card, a.card:hover { text-decoration: none; }
.card--pad-md { padding: var(--space-5); }
.card--accent::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-sunrise);
}
.card--interactive:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card--navy { background: var(--grad-navy); color: #fff; border: none; }

/* ---------- Fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-family: var(--font-cond); font-size: var(--fs-2xs); font-weight: var(--fw-bold);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.field__box {
  display: flex; align-items: center; gap: 8px;
  height: var(--control-h-md); padding: 0 14px;
  background: var(--white); border: 2px solid var(--border-default); border-radius: var(--radius-sm);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field__box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus-ring); }
.field__box input, .field__box textarea, .field__box select {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: var(--fs-sm); color: var(--text-strong); min-width: 0;
}
.field__box select { height: 100%; cursor: pointer; }
.field__box select:invalid { color: var(--text-muted); }
.field__box.is-invalid { border-color: var(--danger); }
.field__box.is-invalid:focus-within { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-bg); }
.field__error { font-size: 13px; color: var(--danger); margin-top: 6px; }
.field__box--ro { background: var(--surface-sunk); }
.field__box--ro input { color: var(--text-muted); }
.field__box--area { height: auto; padding: 10px 14px; }
.field__box--area textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.form-grid { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 520px) { .grid-2 { grid-template-columns: 1fr; } }

/* File input */
.file-drop {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 2px dashed var(--border-default); border-radius: var(--radius-sm);
  padding: 14px 16px; background: var(--surface-sunk);
  transition: border-color var(--dur-base);
}
.file-drop:hover { border-color: var(--brand); }
.file-drop input[type="file"] { display: none; }
.file-drop__btn {
  font-family: var(--font-cond); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--navy); color: #fff; padding: 7px 14px;
  border-radius: var(--radius-sm); white-space: nowrap;
}
.file-drop__name { font-size: 14px; color: var(--text-subtle); }
.file-drop__name.has-file { color: var(--text-body); }

/* Choice chips (radio) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip__face {
  display: inline-block; padding: 7px 13px; border-radius: var(--radius-sm);
  font-family: var(--font-cond); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.04em;
  border: 2px solid var(--border-default); background: #fff; color: var(--text-body);
  transition: border-color var(--dur-base), background var(--dur-base), color var(--dur-base);
}
.chip input:checked + .chip__face {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--hanna-orange) 14%, white);
  color: var(--hanna-orange-d);
}
.chip input:focus-visible + .chip__face { box-shadow: 0 0 0 3px var(--focus-ring); }

/* ---------- What we do — ruled typographic grid ---------- */
.svc-typo { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border, rgba(60,45,30,0.15)); border-left: 1px solid var(--border, rgba(60,45,30,0.15)); margin-top: var(--space-5, 28px); }
.svc-typo__cell { padding: 26px 24px 30px; border-right: 1px solid var(--border, rgba(60,45,30,0.15)); border-bottom: 1px solid var(--border, rgba(60,45,30,0.15)); display: flex; flex-direction: column; gap: 8px; }
.svc-typo__cell h3 { margin: 0; font-size: 19px; }
.svc-typo__cell p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) { .svc-typo { grid-template-columns: 1fr; border-left: none; } .svc-typo__cell { border-right: none; padding-left: 0; padding-right: 0; } }

/* ---------- Services page — detail cards ---------- */
.svc-detail { display: flex; flex-direction: column; gap: 14px; border-color: color-mix(in srgb, var(--navy) 42%, white); }
.svc-detail__head { display: flex; align-items: center; gap: 16px; }
.svc-detail__head .svc-row__head { flex: 1; }
.svc-detail__icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; color: var(--navy); background: color-mix(in srgb, var(--navy) 8%, white); border-radius: var(--radius-md); }
.svc-detail__icon svg { width: 26px; height: 26px; display: block; }
.svc-detail > p { margin: 0; max-width: 820px; line-height: var(--lh-relaxed, 1.6); }
.svc-detail__inc { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--navy); padding-top: 14px; }
.svc-detail__inc-h { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: var(--ls-eyebrow, 0.08em); font-weight: var(--fw-bold, 700); font-size: var(--fs-2xs, 12px); color: var(--text-muted); }
.dotlist--2col { grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 720px) { .dotlist--2col { grid-template-columns: 1fr; } }

/* ---------- Section heading ---------- */
.sh { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.sh--row { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
.sh h1, .sh h2 { margin: 0; width: 100%; }
.sh__intro {
  margin: var(--space-1) 0 0; width: 100%; max-width: 720px;
  font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--text-muted);
}

/* ---------- Stat ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value {
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: var(--fs-3xl);
  line-height: 1; letter-spacing: var(--ls-tight); color: var(--hanna-orange);
}
.stat__label {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: var(--fw-bold); font-size: var(--fs-xs); color: var(--text-strong);
}
.stat__sub { font-size: var(--fs-2xs); color: var(--text-subtle); }
.stat--invert .stat__label { color: var(--white); }
.stat--invert .stat__sub { color: rgba(255,255,255,0.7); }

.page-gc { padding-block: 56px 96px; }
.page-gc__body { max-width: 720px; margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.page-gc__aside { color: var(--text-muted, #5a5a5a); font-size: 15px; text-align: center; }
/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__in { display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; }
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: 80px; width: auto; display: block; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.nav-link:hover { color: var(--brand-strong); text-decoration: none; }
.nav-link.is-active { color: var(--brand-strong); border-bottom-color: var(--brand); }
.hamburger { display: none; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--navy);
  transition: transform var(--dur-base), opacity var(--dur-base);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 20px 18px; border-top: 1px solid var(--border-subtle);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile .nav-link { font-size: 16px; padding: 12px 4px; border-bottom: 1px solid var(--border-subtle); }
.nav-mobile .btn { margin-top: 12px; }
@media (max-width: 900px) {
  .site-header__in { padding: 12px 20px; }
  .site-header__logo img { height: 50px; }
  .nav-desktop { display: none; }
  .hamburger { display: grid; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-navy); color: rgba(255,255,255,0.78); padding: 48px 40px 28px; }
.site-footer__grid {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  max-width: 1200px; margin: 0 auto;
}
.site-footer__brand { max-width: 320px; }
.site-footer__word {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: #fff; letter-spacing: -0.02em;
}
.site-footer__brand .he-rule { margin: 10px 0 14px; }
.site-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; }
.site-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.site-footer__h {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; font-size: 12px; color: #fff; margin-bottom: 12px;
}
.site-footer__cols a { display: block; color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.9; }
.site-footer__cols a:hover { color: #fff; text-decoration: none; }
.site-footer__line { font-size: 14px; line-height: 1.9; }
.site-footer .he-mono { font-size: 14px; line-height: 1.9; }
.site-footer__lic { white-space: nowrap; }
.site-footer__lic .he-mono { font-size: 12px; color: rgba(255,255,255,0.65); }
.site-footer__legal {
  max-width: 1200px; margin: 28px auto 0; padding-top: 18px;
  display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.14); font-size: 12px; color: rgba(255,255,255,0.5);
}
@media (max-width: 640px) {
  .site-footer { padding: 40px 20px 24px; }
  .site-footer__cols { gap: 40px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; background: var(--grad-sun-radial); opacity: 0.22;
  -webkit-mask-image: radial-gradient(circle at 82% 122%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 82% 122%, #000 0%, transparent 60%);
}
.hero__in { position: relative; max-width: 1200px; margin: 0 auto; padding: 88px 40px 96px; }
.hero h1 {
  font-size: 64px; line-height: 1.02; letter-spacing: -0.02em;
  margin: 20px 0 0; max-width: 780px; color: #fff;
}
.hero__lede { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.84); max-width: 580px; margin: 22px 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero__in { padding: 56px 20px 64px; }
  .hero h1 { font-size: 40px; }
  .hero__lede { font-size: 17px; }
  .hero__stats { gap: 28px; }
}

/* ---------- Home services ---------- */
.home-services { padding-block: 80px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.svc { display: flex; flex-direction: column; gap: var(--space-3); }
.svc__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--hanna-orange) 14%, white);
  color: var(--hanna-orange-d); font-size: 24px;
}
.svc h3 { margin: 0; font-size: var(--fs-lg); }
.svc p { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-relaxed); color: var(--text-muted); }
.svc__more {
  margin-top: auto; font-family: var(--font-cond); text-transform: uppercase;
  letter-spacing: 0.06em; font-weight: var(--fw-bold); font-size: var(--fs-2xs); color: var(--brand-strong);
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .home-services { padding-block: 56px; } .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.services-head { padding-block: 64px 40px; }
.services-list { padding-bottom: 56px; display: grid; gap: 16px; }
.svc-row__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-row__head h3 { margin: 0; font-size: 22px; }
.svc-row p { margin: 6px 0 0; font-size: 15px; color: var(--text-muted); max-width: 660px; }
@media (max-width: 640px) { .services-head { padding-block: 56px 32px; } }

/* ---------- Projects — coming soon placeholder ---------- */
.proj-coming { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 72px 32px 80px; border-style: dashed; margin-bottom: 64px; }
.proj-coming h2 { margin: 0; font-size: 28px; }
.proj-coming p { margin: 0; color: var(--text-muted); max-width: 480px; }

/* ---------- GC bid strip (homepage) ---------- */
.gc-strip { background: var(--navy); border-top: 3px solid transparent; border-image: var(--grad-sunrise) 1; }
.gc-strip__in { max-width: 1200px; margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; gap: 28px; color: #fff; }
.gc-strip__label { font-family: var(--font-cond); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun-gold); white-space: nowrap; }
.gc-strip__msg { margin: 0; flex: 1; font-size: 16px; color: rgba(255,255,255,0.92); }
.gc-strip .btn { flex-shrink: 0; }
@media (max-width: 760px) {
  .gc-strip__in { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
  .gc-strip .btn { align-self: stretch; }
}

/* ---------- CTA bands ---------- */
.band--ember { background: var(--grad-ember); color: #fff; }
.band--navy { background: var(--surface-navy); color: #fff; }
.band__in {
  max-width: 1200px; margin: 0 auto; padding: 56px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.band h2, .band--ember h2, .band--navy h2 { margin: 0; color: #fff; font-size: 34px; }
.band--navy h2 { font-size: 28px; }
.band p, .band--ember p, .band--navy p { margin: 8px 0 0; font-size: 17px; color: rgba(255,255,255,0.92); }
@media (max-width: 640px) {
  .band__in { padding: 44px 20px; align-items: flex-start; }
  .band h2, .band--ember h2, .band--navy h2 { font-size: 28px; }
  .band--navy h2 { font-size: 24px; }
}

/* ---------- Projects page ---------- */
.projects-head { padding-block: 64px 28px; }
.filters { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.filter {
  cursor: pointer; padding: 8px 16px; border-radius: var(--radius-pill);
  font-family: var(--font-cond); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: 2px solid var(--border-default); background: #fff; color: var(--text-body);
  transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}
.filter.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.filter:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
.projects-body { padding: 8px 40px 80px; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.proj.is-hidden { display: none; }
.proj__media { position: relative; height: 190px; background: var(--grad-navy); overflow: hidden; }
.proj__media::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-sun-radial); opacity: 0.18;
  -webkit-mask-image: radial-gradient(circle at 70% 130%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 70% 130%, #000 0%, transparent 60%);
}
.proj__badge { position: absolute; top: 12px; left: 12px; }
.proj__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,0.45); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
}
.proj__body { padding: 18px; }
.proj__body h3 { margin: 0; font-size: 20px; }
.proj__meta {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 700; font-size: 12px; color: var(--brand-strong);
}
.proj__meta .dot { color: var(--slate-400); }
.proj__body p { margin: 8px 0 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .projects-head { padding-block: 56px 24px; }
  .projects-body { padding: 8px 20px 64px; }
  .proj-grid { grid-template-columns: 1fr; }
}

/* ---------- Careers ---------- */
.careers-head { padding-block: 64px 16px; }
.careers-list { padding: 24px 40px 80px; display: grid; gap: 14px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.job__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job__head h3 { margin: 0; font-size: 21px; }
.job p { margin: 6px 0 0; font-size: 14.5px; color: var(--text-muted); max-width: 660px; }
@media (max-width: 640px) {
  .careers-head { padding-block: 56px 12px; }
  .careers-list { padding: 24px 20px 64px; }
  .job { flex-direction: column; align-items: flex-start; gap: 14px; }
  .job .btn { width: 100%; }
}

/* Role detail */
.role-hero { background: var(--grad-navy); color: #fff; }
.role-hero__in { max-width: 1200px; margin: 0 auto; padding: 32px 40px 44px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; font-size: 12.5px; color: rgba(255,255,255,0.8); text-decoration: none;
}
.back-link:hover { color: #fff; text-decoration: none; }
.role-hero h1 { font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: #fff; }
.role-hero__badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.role-hero__sum { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.84); max-width: 680px; margin: 18px 0 0; }
.role-body { padding: 48px 40px 80px; }
.role-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 44px; align-items: start; }
.role-aside { position: sticky; top: 90px; }
.role-block__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.role-block__head .he-rule { width: 40px; }
.role-block__head h2 { margin: 0; font-size: 24px; }
.role-block--gap { margin-top: 28px; }
.dotlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.dotlist li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--text-body); }
.dotlist li::before {
  content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-top: 8px;
  border-radius: 999px; background: var(--brand);
}
.app-form__title h3 { margin: 0; font-size: 22px; }
.app-form__title p { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }
.form-alt { text-align: center; font-size: 13.5px; color: var(--text-subtle); }
.form-alt a { color: var(--text-link); font-weight: 600; }
@media (max-width: 640px) {
  .role-hero__in { padding: 24px 20px 36px; }
  .role-hero h1 { font-size: 32px; }
  .role-body { padding: 36px 20px 64px; }
  .role-grid { grid-template-columns: 1fr; gap: 32px; }
  .role-aside { position: static; }
}

/* ---------- Contact ---------- */
.page-contact { padding: 64px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding-inline: 40px; }
.contact-form { margin-top: 24px; max-width: 920px; }
.contact-aside { display: flex; }
.contact-aside .bid-panel { flex: 1; }
.bid-panel h3 { font-size: 24px; color: #fff; margin: 14px 0 12px; }
.step { display: flex; gap: 12px; margin-bottom: 14px; }
.step__n {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; background: var(--grad-ember);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; color: #fff;
}
.step__t { font-weight: 700; font-size: 15px; }
.step__d { font-size: 13.5px; color: rgba(255,255,255,0.74); }
.aside-call {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-mono); font-size: 15px;
}
.bid-panel { display: flex; gap: 36px; align-items: flex-start; }
.bid-panel__txt { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bid-panel__cta { flex: 1; display: flex; flex-direction: column; }
@media (max-width: 720px) { .bid-panel { flex-direction: column; gap: 8px; } }
.bid-panel__p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.82); }
.bid-panel .btn { align-self: stretch; }
.bid-panel__note { margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.bid-card { align-self: stretch; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.bid-card .he-rule { margin: 2px 0 6px; width: 40px; }
.bid-card__org { font-weight: 700; font-size: 16px; }
.bid-card__role { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.66); }
.bid-card__row { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; align-items: baseline; }
.bid-card__row span:last-child { min-width: 0; overflow-wrap: anywhere; }
.bid-card__k { flex: 0 0 48px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
@media (max-width: 640px) {
  .page-contact { padding: 40px 0 64px; }
  .contact-grid { gap: 28px; padding-inline: 20px; }
  .contact-aside { position: static; }
}

/* ---------- Thanks / 404 ---------- */
.thanks-main { min-height: 60vh; display: grid; place-items: center; padding: 40px 20px; }
.thanks-card { max-width: 480px; text-align: center; }
.thanks-mark {
  width: 56px; height: 56px; border-radius: 999px; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 26px; font-weight: 700; margin: 0 auto 14px;
}
.thanks-card h1 { font-size: 30px; margin: 0 0 8px; }
.thanks-card p { color: var(--text-muted); margin: 0 0 22px; }
.thanks-card .fine { font-size: 14px; color: var(--text-subtle); }
.notfound { background: var(--grad-navy); color: #fff; min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 20px; }
.notfound h1 { color: #fff; font-size: 56px; margin: 12px 0 10px; }
.notfound p { color: rgba(255,255,255,0.8); margin: 0 0 26px; }
