/*
Theme Name: Heritage Horizon
Theme URI: https://heritagehorizon.net
Author: Heritage Horizon Company Limited
Description: Bilingual (EN/VI) corporate theme for Heritage Horizon - sports facilities, playground and entertainment design consultants. Navy and gold identity, Polylang-ready.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: heritage-horizon
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Palette derived from the Heritage Horizon identity: deep navy (trust,
   engineering rigour) + gold (achievement, sport). The stray purple/teal
   values from the old coming-soon template are deliberately dropped.
   ========================================================================== */
:root {
  /* Navy scale */
  --hh-navy-950: #00121f;
  --hh-navy-900: #001f3f;
  --hh-navy-800: #002b52;
  --hh-navy-700: #003366;
  --hh-navy-600: #004080;
  --hh-navy-500: #0052a3;
  --hh-navy-400: #1f6cbf;
  --hh-navy-300: #4f92d6;
  --hh-navy-200: #a8c9e8;
  --hh-navy-100: #d9e6f4;
  --hh-navy-050: #eef4fb;

  /* Brass / gold scale built around the OFFICIAL logo colour #9B7D4A
     (sampled from the company artwork - not the bright yellow that the old
     coming-soon template used). */
  --hh-gold-900: #4a3a1f;
  --hh-gold-800: #6b5530;
  --hh-gold-700: #7d6438;
  --hh-gold-600: #8a6f3f;
  --hh-gold-500: #9b7d4a;   /* THE brand colour */
  --hh-gold-400: #9b7d4a;   /* alias: existing rules reference 400 heavily */
  --hh-gold-300: #b3956a;
  --hh-gold-200: #d4bd97;
  --hh-gold-100: #ece0cb;
  --hh-gold-050: #f7f1e6;
  --hh-brass: #9b7d4a;

  /* Neutrals */
  --hh-white: #ffffff;
  --hh-paper: #f7f9fc;
  --hh-line: #e3e9f2;
  --hh-ink: #14202e;
  --hh-ink-soft: #4b5a6b;
  /* 5.13:1 on white - the previous #6E7D8F measured 4.21:1 and failed
     WCAG AA on the 13px uppercase labels that use it. */
  --hh-ink-mute: #5a6878;

  /* Semantic roles */
  --hh-bg: var(--hh-white);
  --hh-bg-alt: var(--hh-paper);
  --hh-brand: var(--hh-navy-700);
  --hh-brand-deep: var(--hh-navy-900);
  --hh-accent: var(--hh-brass);

  /* Accessible accent text on light backgrounds.
     The brand brass #9B7D4A measures only 3.87:1 on white, which fails AA
     for the 13px uppercase eyebrow labels it is used on. This darkened
     brass keeps the brand hue and reaches 5.6:1 on white. */
  --hh-accent-text: #755c33;

  /* Brass is light enough that WHITE text on it fails AA (3.87:1).
     Gold buttons therefore always use near-black navy text (4.28:1+). */
  --hh-on-gold: #14202e;

  /* Typography */
  --hh-font-display: 'Manrope', 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hh-font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Fluid type scale */
  --hh-fs-hero: clamp(2.25rem, 1.35rem + 4vw, 4.25rem);
  --hh-fs-h1: clamp(1.95rem, 1.3rem + 2.6vw, 3.1rem);
  --hh-fs-h2: clamp(1.55rem, 1.15rem + 1.7vw, 2.35rem);
  --hh-fs-h3: clamp(1.2rem, 1.02rem + 0.75vw, 1.5rem);
  --hh-fs-lead: clamp(1.03rem, 0.97rem + 0.35vw, 1.2rem);
  --hh-fs-body: 1rem;
  --hh-fs-sm: 0.9rem;
  --hh-fs-xs: 0.8rem;

  /* Space, radius, shadow, motion */
  --hh-sp-1: 0.25rem; --hh-sp-2: 0.5rem;  --hh-sp-3: 0.75rem;
  --hh-sp-4: 1rem;    --hh-sp-5: 1.5rem;  --hh-sp-6: 2rem;
  --hh-sp-7: 3rem;    --hh-sp-8: 4rem;    --hh-sp-9: 6rem;
  --hh-radius: 4px;
  --hh-radius-lg: 10px;
  --hh-shadow-sm: 0 1px 2px rgba(0,31,63,.06), 0 2px 8px rgba(0,31,63,.05);
  --hh-shadow-md: 0 4px 12px rgba(0,31,63,.09), 0 12px 32px rgba(0,31,63,.07);
  --hh-shadow-lg: 0 12px 28px rgba(0,31,63,.13), 0 28px 64px rgba(0,31,63,.1);
  --hh-ease: cubic-bezier(.22,.61,.36,1);
  --hh-wrap: 1200px;
  --hh-wrap-narrow: 780px;
  --hh-header-h: 76px;
}

/* ==========================================================================
   2. SELF-HOSTED FONTS (no Google CDN - privacy + no third-party dependency)
   ========================================================================== */
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-vi-var.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-latinext-var.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-latin-var.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Be Vietnam Pro - full Vietnamese diacritics, correct stacked marks */
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-vi-400.woff2') format('woff2');
  font-weight:400; font-display:swap; unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latinext-400.woff2') format('woff2');
  font-weight:400; font-display:swap; unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latin-400.woff2') format('woff2');
  font-weight:400; font-display:swap; unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-vi-500.woff2') format('woff2');
  font-weight:500; font-display:swap; unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latinext-500.woff2') format('woff2');
  font-weight:500; font-display:swap; unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latin-500.woff2') format('woff2');
  font-weight:500; font-display:swap; unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-vi-600.woff2') format('woff2');
  font-weight:600; font-display:swap; unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latinext-600.woff2') format('woff2');
  font-weight:600; font-display:swap; unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latin-600.woff2') format('woff2');
  font-weight:600; font-display:swap; unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-vi-700.woff2') format('woff2');
  font-weight:700; font-display:swap; unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latinext-700.woff2') format('woff2');
  font-weight:700; font-display:swap; unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Be Vietnam Pro'; src:url('assets/fonts/bvp-latin-700.woff2') format('woff2');
  font-weight:700; font-display:swap; unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh-header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--hh-font-body);
  font-size: var(--hh-fs-body);
  line-height: 1.7;
  color: var(--hh-ink);
  background: var(--hh-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--hh-navy-600); text-decoration: none; transition: color .18s var(--hh-ease); }
a:hover { color: var(--hh-navy-500); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--hh-gold-700);
  outline-offset: 2px;
  border-radius: 2px;
}
h1, h2, h3, h4, h5 {
  font-family: var(--hh-font-display);
  color: var(--hh-brand-deep);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 var(--hh-sp-4);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--hh-fs-h1); }
h2 { font-size: var(--hh-fs-h2); }
h3 { font-size: var(--hh-fs-h3); }
p  { margin: 0 0 var(--hh-sp-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 var(--hh-sp-4); padding-left: 1.35rem; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--hh-line); margin: var(--hh-sp-7) 0; }

.hh-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--hh-navy-900); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--hh-radius) 0;
}
.hh-skip-link:focus { left: 0; color: #fff; }
.hh-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.hh-wrap { width: 100%; max-width: var(--hh-wrap); margin-inline: auto; padding-inline: var(--hh-sp-5); }
.hh-wrap--narrow { max-width: var(--hh-wrap-narrow); }
.hh-section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hh-section--alt { background: var(--hh-bg-alt); }
.hh-section--navy { background: var(--hh-navy-900); color: #e8eef6; }
.hh-section--navy h1, .hh-section--navy h2, .hh-section--navy h3 { color: #fff; }

.hh-grid { display: grid; gap: var(--hh-sp-5); }
/* Explicit column counts: auto-fit would let a 6-item grid break as 4+2,
   which reads as a layout bug rather than a choice. */
.hh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .hh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hh-grid--2, .hh-grid--3, .hh-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.hh-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--hh-font-display);
  font-size: var(--hh-fs-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--hh-accent-text);
  margin-bottom: var(--hh-sp-3);
}
.hh-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--hh-gold-400); flex: none; }
.hh-section--navy .hh-eyebrow { color: var(--hh-gold-200); }

.hh-lead { font-size: var(--hh-fs-lead); color: var(--hh-ink-soft); max-width: 62ch; }
.hh-section--navy .hh-lead { color: #c3d2e2; }
.hh-section-head { max-width: 68ch; margin-bottom: var(--hh-sp-7); }
.hh-center { text-align: center; }
.hh-center .hh-section-head, .hh-center .hh-lead { margin-inline: auto; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.hh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--hh-font-display); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: var(--hh-radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s var(--hh-ease), box-shadow .18s var(--hh-ease), background-color .18s var(--hh-ease), color .18s var(--hh-ease), border-color .18s var(--hh-ease);
  text-align: center; line-height: 1.25;
  /* Keep the label on one line: a squeezed grid column was wrapping
     "Talk to us" after the first word. */
  white-space: nowrap;
}
.hh-btn svg { width: 18px; height: 18px; flex: none; }
/* Allow wrapping again on very narrow phones so long VI labels still fit. */
@media (max-width: 420px) {
  .hh-btn { white-space: normal; }
}
.hh-btn:hover { transform: translateY(-2px); }
.hh-btn:active { transform: translateY(0); }

/* Gold button: ALWAYS pairs gold background with navy-950 text.
   Never white text on gold - that is a 1.6:1 contrast failure. */
.hh-btn--primary { background: var(--hh-brass); color: #fff; box-shadow: 0 4px 14px rgba(155,125,74,.34); }
.hh-btn--primary:hover { background: var(--hh-gold-600); color: #fff; box-shadow: 0 8px 22px rgba(155,125,74,.44); }

.hh-btn--navy { background: var(--hh-navy-700); color: #fff; }
.hh-btn--navy:hover { background: var(--hh-navy-600); color: #fff; }

.hh-btn--ghost { background: transparent; color: var(--hh-navy-700); border-color: var(--hh-navy-200); }
.hh-btn--ghost:hover { background: var(--hh-navy-050); color: var(--hh-navy-700); border-color: var(--hh-navy-400); }

/* On ANY dark surface the ghost button needs light borders and text.
   .hh-cta is navy but is not a .hh-section--navy, so it must be listed
   explicitly or its ghost button renders dark-on-dark. */
.hh-section--navy .hh-btn--ghost,
.hh-hero .hh-btn--ghost,
.hh-cta .hh-btn--ghost,
.hh-pagehead .hh-btn--ghost {
  color: #fff; border-color: rgba(255,255,255,.55); background: transparent;
}
.hh-section--navy .hh-btn--ghost:hover,
.hh-hero .hh-btn--ghost:hover,
.hh-cta .hh-btn--ghost:hover,
.hh-pagehead .hh-btn--ghost:hover {
  background: rgba(255,255,255,.14); border-color: #fff; color: #fff;
}
.hh-btn-row { display: flex; flex-wrap: wrap; gap: var(--hh-sp-3); align-items: center; }

/* ==========================================================================
   6. HEADER / NAV
   ========================================================================== */
.hh-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hh-line);
  transition: box-shadow .2s var(--hh-ease);
}
.hh-header.is-scrolled { box-shadow: var(--hh-shadow-sm); }
.hh-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--hh-sp-5);
  min-height: var(--hh-header-h);
}
.hh-brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.hh-brand__mark { width: 44px; height: 44px; flex: none; object-fit: contain; }
.hh-brand picture { display: block; flex: none; line-height: 0; }
/* Footer uses the full lockup, so hide the duplicated text there. */
.hh-brand__lockup { width: 100%; max-width: 260px; height: auto; }
.hh-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.hh-brand__name {
  font-family: var(--hh-font-display); font-weight: 800; font-size: 1.12rem;
  color: var(--hh-navy-900); letter-spacing: -.02em;
}
.hh-brand__tag {
  font-size: .64rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--hh-ink-mute);
}

.hh-nav { display: flex; align-items: center; gap: var(--hh-sp-5); }
.hh-nav__list { display: flex; align-items: center; gap: var(--hh-sp-5); list-style: none; margin: 0; padding: 0; }
.hh-nav__list a {
  font-family: var(--hh-font-display); font-weight: 600; font-size: .93rem;
  color: var(--hh-ink); position: relative; padding-block: .4rem; display: block;
}
.hh-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--hh-gold-400); transition: right .25s var(--hh-ease);
}
.hh-nav__list a:hover { color: var(--hh-navy-700); }
.hh-nav__list a:hover::after,
.hh-nav__list .current-menu-item > a::after,
.hh-nav__list .current_page_item > a::after { right: 0; }
.hh-nav__list .current-menu-item > a, .hh-nav__list .current_page_item > a { color: var(--hh-navy-700); }

/* Submenu */
.hh-nav__list li { position: relative; }
.hh-nav__list .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow-md); padding: .4rem; list-style: none; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--hh-ease), transform .18s var(--hh-ease), visibility .18s;
}
.hh-nav__list li:hover > .sub-menu,
.hh-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hh-nav__list .sub-menu a { padding: .5rem .75rem; border-radius: 3px; font-weight: 500; }
.hh-nav__list .sub-menu a::after { display: none; }
.hh-nav__list .sub-menu a:hover { background: var(--hh-navy-050); }

/* Language switcher */
.hh-lang { display: flex; align-items: center; gap: 2px; background: var(--hh-navy-050); border: 1px solid var(--hh-line); border-radius: var(--hh-radius); padding: 3px; }
.hh-lang__item {
  font-family: var(--hh-font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 3px; color: var(--hh-ink-soft);
}
.hh-lang__item:hover { color: var(--hh-navy-700); background: #fff; }
.hh-lang__item.is-active { background: var(--hh-navy-700); color: #fff; }

.hh-burger {
  display: none; width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid var(--hh-line); border-radius: var(--hh-radius);
  cursor: pointer; padding: 0; position: relative;
}
.hh-burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--hh-navy-900);
  transition: transform .25s var(--hh-ease), opacity .2s var(--hh-ease);
}
.hh-burger span:nth-child(1) { top: 14px; }
.hh-burger span:nth-child(2) { top: 21px; }
.hh-burger span:nth-child(3) { top: 28px; }
.hh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .hh-burger { display: block; }
  .hh-nav {
    position: fixed; inset: var(--hh-header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--hh-line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--hh-sp-4) var(--hh-sp-5) var(--hh-sp-6);
    max-height: calc(100vh - var(--hh-header-h)); overflow-y: auto;
    box-shadow: var(--hh-shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--hh-ease), transform .22s var(--hh-ease), visibility .22s;
  }
  .hh-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .hh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hh-nav__list > li { border-bottom: 1px solid var(--hh-line); }
  .hh-nav__list a { padding: .9rem 0; font-size: 1rem; }
  .hh-nav__list a::after { display: none; }
  .hh-nav__list .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 .5rem .9rem; min-width: 0;
  }
  .hh-lang { align-self: flex-start; margin-top: var(--hh-sp-4); }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hh-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--hh-navy-950) 0%, var(--hh-navy-900) 45%, var(--hh-navy-700) 100%);
  color: #fff;
  padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem);
}
.hh-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(155,125,74,.30), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(0,82,163,.42), transparent 52%);
  pointer-events: none;
}
/* Subtle pitch-line motif - reads as a sports field without an image */
.hh-hero::after {
  content: ""; position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(560px, 52vw); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 0 0 60px rgba(255,255,255,.02);
  pointer-events: none;
}
.hh-hero > .hh-wrap { position: relative; z-index: 1; }
.hh-hero__grid { display: grid; gap: var(--hh-sp-7); align-items: center; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
@media (max-width: 900px) { .hh-hero__grid { grid-template-columns: 1fr; } }

.hh-hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(155,125,74,.20); border: 1px solid rgba(180,150,100,.55);
  color: var(--hh-gold-200);
  font-family: var(--hh-font-display); font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .42rem 1rem; border-radius: 100px; margin-bottom: var(--hh-sp-5);
}
.hh-hero__title { font-size: var(--hh-fs-hero); color: #fff; margin-bottom: var(--hh-sp-5); letter-spacing: -.03em; }
.hh-hero__title em { font-style: normal; color: var(--hh-gold-200); }
.hh-hero__text { font-size: var(--hh-fs-lead); color: #cad9e8; max-width: 56ch; margin-bottom: var(--hh-sp-6); }
.hh-hero__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap: var(--hh-sp-4); margin-top: var(--hh-sp-7);
  border-top: 1px solid rgba(255,255,255,.14); padding-top: var(--hh-sp-5);
}
.hh-stat__num { font-family: var(--hh-font-display); font-size: 1.85rem; font-weight: 800; color: var(--hh-gold-200); line-height: 1; }
.hh-stat__label { font-size: var(--hh-fs-xs); color: #a9bccf; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-top: .4rem; }

/* Hero card: light card on dark bg. Text must switch back to ink. */
.hh-hero__card {
  background: #fff; color: var(--hh-ink);
  border-radius: var(--hh-radius-lg); padding: var(--hh-sp-6);
  box-shadow: var(--hh-shadow-lg);
}
.hh-hero__card h2, .hh-hero__card h3 { color: var(--hh-navy-900); }
.hh-hero__card p { color: var(--hh-ink-soft); }

/* ==========================================================================
   8. CARDS
   ========================================================================== */
.hh-card {
  background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius-lg);
  padding: var(--hh-sp-6); height: 100%;
  display: flex; flex-direction: column;
  transition: transform .22s var(--hh-ease), box-shadow .22s var(--hh-ease), border-color .22s var(--hh-ease);
  position: relative; overflow: hidden;
}
.hh-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--hh-gold-400); transition: width .3s var(--hh-ease);
}
.hh-card:hover { transform: translateY(-4px); box-shadow: var(--hh-shadow-md); border-color: var(--hh-navy-200); }
.hh-card:hover::before { width: 100%; }
.hh-card__icon {
  width: 54px; height: 54px; border-radius: var(--hh-radius);
  background: var(--hh-navy-050); color: var(--hh-navy-700);
  display: grid; place-items: center; margin-bottom: var(--hh-sp-4); flex: none;
}
.hh-card__icon svg { width: 27px; height: 27px; }
.hh-card h3 { margin-bottom: var(--hh-sp-3); font-size: 1.16rem; }
.hh-card p { color: var(--hh-ink-soft); font-size: var(--hh-fs-sm); }
.hh-card__list { list-style: none; padding: 0; margin: var(--hh-sp-4) 0 0; font-size: var(--hh-fs-sm); color: var(--hh-ink-soft); }
.hh-card__list li { position: relative; padding-left: 1.35rem; margin-bottom: .45rem; }
.hh-card__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--hh-gold-400);
}
.hh-card--dark { background: var(--hh-navy-800); border-color: rgba(255,255,255,.1); }
.hh-card--dark h3 { color: #fff; }
.hh-card--dark p, .hh-card--dark .hh-card__list { color: #bccdde; }
.hh-card--dark .hh-card__icon { background: rgba(255,255,255,.1); color: var(--hh-gold-200); }

/* Feature list (why-us) */
.hh-feature { display: flex; gap: var(--hh-sp-4); }
.hh-feature__num {
  font-family: var(--hh-font-display); font-weight: 800; font-size: 1.05rem;
  color: #fff; background: var(--hh-brass);
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.hh-feature h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.hh-feature p { color: var(--hh-ink-soft); font-size: var(--hh-fs-sm); }
.hh-section--navy .hh-feature p { color: #bccdde; }

/* ==========================================================================
   9. PRODUCT / PROJECT TILES
   ========================================================================== */
.hh-tile {
  position: relative; border-radius: var(--hh-radius-lg); overflow: hidden;
  background: var(--hh-navy-800); min-height: 268px;
  display: flex; align-items: flex-end;
  border: 1px solid var(--hh-line);
  transition: transform .25s var(--hh-ease), box-shadow .25s var(--hh-ease);
}
.hh-tile:hover { transform: translateY(-4px); box-shadow: var(--hh-shadow-md); }
.hh-tile__img { position: absolute; inset: 0; }
.hh-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.hh-tile__ph {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--hh-navy-700), var(--hh-navy-950));
}
.hh-tile__ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 72% 26%, rgba(155,125,74,.26), transparent 48%);
}
/* Scrim guarantees white text stays legible over ANY photo */
.hh-tile__body {
  position: relative; z-index: 1; width: 100%;
  padding: var(--hh-sp-6) var(--hh-sp-5) var(--hh-sp-5);
  background: linear-gradient(to top, rgba(0,18,31,.94) 0%, rgba(0,18,31,.72) 55%, rgba(0,18,31,0) 100%);
  color: #fff;
}
.hh-tile__body h3 { color: #fff; font-size: 1.1rem; margin-bottom: .3rem; }
.hh-tile__body p { color: #ccd9e6; font-size: var(--hh-fs-sm); margin: 0; }
.hh-tile__kicker {
  font-family: var(--hh-font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--hh-gold-200);
  margin-bottom: .5rem; display: block;
}
.hh-tile a.hh-tile__link { position: absolute; inset: 0; z-index: 2; }

/* ==========================================================================
   10. PROCESS TIMELINE
   ========================================================================== */
.hh-steps { display: grid; gap: var(--hh-sp-5); grid-template-columns: repeat(auto-fit, minmax(215px,1fr)); counter-reset: hhstep; }
.hh-step { position: relative; padding-top: var(--hh-sp-6); }
.hh-step::before {
  counter-increment: hhstep; content: counter(hhstep,decimal-leading-zero);
  font-family: var(--hh-font-display); font-size: 2.6rem; font-weight: 800;
  color: var(--hh-navy-100); line-height: 1; display: block; margin-bottom: var(--hh-sp-2);
}
.hh-step::after {
  content: ""; position: absolute; left: 0; top: calc(var(--hh-sp-6) + 3.4rem);
  width: 34px; height: 3px; background: var(--hh-gold-400);
}
.hh-step h3 { font-size: 1.05rem; margin: var(--hh-sp-4) 0 .4rem; }
.hh-step p { font-size: var(--hh-fs-sm); color: var(--hh-ink-soft); }
.hh-section--navy .hh-step::before { color: rgba(255,255,255,.18); }
.hh-section--navy .hh-step p { color: #bccdde; }

/* ==========================================================================
   11. CTA BAND
   ========================================================================== */
.hh-cta {
  background: linear-gradient(120deg, var(--hh-navy-900), var(--hh-navy-700));
  color: #fff; border-radius: var(--hh-radius-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  display: grid; gap: var(--hh-sp-5); align-items: center;
  grid-template-columns: minmax(0,1fr) auto;
  position: relative; overflow: hidden;
}
.hh-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 88% 12%, rgba(155,125,74,.28), transparent 45%);
  pointer-events: none;
}
.hh-cta > * { position: relative; z-index: 1; }
.hh-cta h2 { color: #fff; margin-bottom: .6rem; }
.hh-cta p { color: #c9d8e7; margin: 0; }
@media (max-width: 820px) { .hh-cta { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. FORMS
   ========================================================================== */
.hh-form { display: grid; gap: var(--hh-sp-4); }
.hh-form__row { display: grid; gap: var(--hh-sp-4); grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
.hh-field { display: flex; flex-direction: column; gap: .4rem; }
.hh-field label { font-size: var(--hh-fs-sm); font-weight: 600; color: var(--hh-ink); }
.hh-field .req { color: #b3261e; }
.hh-field input, .hh-field textarea, .hh-field select {
  font-family: inherit; font-size: var(--hh-fs-body); color: var(--hh-ink);
  padding: .78rem .9rem; border: 1px solid var(--hh-line); border-radius: var(--hh-radius);
  background: #fff; width: 100%;
  transition: border-color .18s var(--hh-ease), box-shadow .18s var(--hh-ease);
}
.hh-field input:focus, .hh-field textarea:focus, .hh-field select:focus {
  border-color: var(--hh-navy-400); box-shadow: 0 0 0 3px rgba(0,82,163,.13); outline: none;
}
.hh-field input::placeholder, .hh-field textarea::placeholder { color: #9aa8b6; }
.hh-field textarea { min-height: 132px; resize: vertical; }
.hh-form__note { font-size: var(--hh-fs-xs); color: var(--hh-ink-mute); }
.hh-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.hh-alert { padding: .9rem 1.1rem; border-radius: var(--hh-radius); font-size: var(--hh-fs-sm); border: 1px solid; }
.hh-alert--ok   { background: #e8f5ec; border-color: #bcdfc7; color: #1b5e2b; }
.hh-alert--err  { background: #fdecea; border-color: #f5c6c2; color: #8c1d16; }

/* ==========================================================================
   13. CONTACT INFO BLOCKS
   ========================================================================== */
.hh-info { display: grid; gap: var(--hh-sp-5); }
.hh-info__item { display: flex; gap: var(--hh-sp-4); align-items: flex-start; }
.hh-info__icon {
  width: 44px; height: 44px; border-radius: var(--hh-radius); flex: none;
  background: var(--hh-navy-050); color: var(--hh-navy-700); display: grid; place-items: center;
}
.hh-info__icon svg { width: 21px; height: 21px; }
.hh-info__label { font-size: var(--hh-fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hh-ink-mute); margin-bottom: .2rem; }
.hh-info__val { font-weight: 500; color: var(--hh-ink); }
.hh-info__val a { color: var(--hh-navy-600); }
.hh-section--navy .hh-info__icon { background: rgba(255,255,255,.1); color: var(--hh-gold-200); }
.hh-section--navy .hh-info__label { color: #9fb3c7; }
.hh-section--navy .hh-info__val { color: #e8eef6; }
.hh-section--navy .hh-info__val a { color: var(--hh-gold-200); }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.hh-footer { background: var(--hh-navy-950); color: #a9bccf; padding-block: var(--hh-sp-8) var(--hh-sp-5); font-size: var(--hh-fs-sm); }
.hh-footer__grid { display: grid; gap: var(--hh-sp-6); grid-template-columns: minmax(0,1.5fr) repeat(auto-fit, minmax(160px,1fr)); }
.hh-footer h4 {
  font-family: var(--hh-font-display); color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: var(--hh-sp-4);
}
.hh-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.hh-footer a { color: #a9bccf; }
.hh-footer a:hover { color: var(--hh-gold-200); }
.hh-footer__brand { display: block; margin-bottom: var(--hh-sp-4); max-width: 260px; }
.hh-footer__brand .hh-brand__name { color: #fff; }
.hh-footer__brand .hh-brand__tag { color: #7f95ab; }
/* The supplied logo is dark brass on transparent, which nearly disappears on
   the near-black footer. Lift it so the mark stays readable without asking
   the company for a light-on-dark logo variant. */
.hh-footer__brand img { filter: brightness(1.45) saturate(1.05); }
.hh-footer__legal {
  margin-top: var(--hh-sp-7); padding-top: var(--hh-sp-5);
  border-top: 1px solid rgba(255,255,255,.11);
  display: flex; flex-wrap: wrap; gap: var(--hh-sp-4); justify-content: space-between;
  font-size: var(--hh-fs-xs); color: #8299ae;
}
.hh-social { display: flex; gap: .6rem; margin-top: var(--hh-sp-4); }
.hh-social a {
  width: 38px; height: 38px; border-radius: var(--hh-radius);
  background: rgba(255,255,255,.07); display: grid; place-items: center;
  transition: background-color .18s var(--hh-ease), transform .18s var(--hh-ease);
}
.hh-social a:hover { background: var(--hh-brass); color: #fff; transform: translateY(-2px); }
.hh-social svg { width: 18px; height: 18px; }

/* ==========================================================================
   15. PAGE HEADER (inner pages) + CONTENT
   ========================================================================== */
.hh-pagehead {
  background: linear-gradient(135deg, var(--hh-navy-950), var(--hh-navy-700));
  color: #fff; padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem);
  position: relative; overflow: hidden;
}
.hh-pagehead::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 25%, rgba(155,125,74,.24), transparent 45%);
}
.hh-pagehead > .hh-wrap { position: relative; z-index: 1; }
.hh-pagehead h1 { color: #fff; margin-bottom: .6rem; }
.hh-pagehead p { color: #c5d4e4; max-width: 62ch; margin: 0; font-size: var(--hh-fs-lead); }
.hh-crumbs { font-size: var(--hh-fs-xs); color: #9fb3c7; margin-bottom: var(--hh-sp-4); }
.hh-crumbs a { color: var(--hh-gold-200); }

.hh-content > * + * { margin-top: var(--hh-sp-4); }
.hh-content h2 { margin-top: var(--hh-sp-7); }
.hh-content h3 { margin-top: var(--hh-sp-6); }
.hh-content img { border-radius: var(--hh-radius-lg); }
.hh-content blockquote {
  margin: var(--hh-sp-6) 0; padding: var(--hh-sp-5); border-left: 3px solid var(--hh-gold-400);
  background: var(--hh-navy-050); border-radius: 0 var(--hh-radius) var(--hh-radius) 0;
  font-size: var(--hh-fs-lead); color: var(--hh-ink-soft);
}
.hh-content table { width: 100%; border-collapse: collapse; font-size: var(--hh-fs-sm); }
.hh-content th, .hh-content td { padding: .7rem .9rem; border: 1px solid var(--hh-line); text-align: left; }
.hh-content th { background: var(--hh-navy-050); font-family: var(--hh-font-display); color: var(--hh-navy-900); }

/* Reveal-on-scroll.
   FAIL-SAFE: content is visible by default. main.js sets .hh-js on <html>
   before paint, and ONLY then do we hide the elements to animate them in.
   If JS is blocked, slow, or errors, every section still renders. */
.hh-reveal { opacity: 1; transform: none; }
.hh-js .hh-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--hh-ease), transform .6s var(--hh-ease);
}
.hh-js .hh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hh-js .hh-reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .hh-header, .hh-footer, .hh-cta, .hh-burger, .hh-lang { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ==========================================================================
   NEWS / EDITORIAL
   Appended by the News rollout. Uses the existing brass + navy tokens.
   ========================================================================== */

/* --- category filter chips --- */
.hh-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hh-chip {
  font-family: var(--hh-font-display); font-size: .82rem; font-weight: 600;
  padding: .42rem .95rem; border-radius: 100px;
  border: 1px solid var(--hh-line); background: #fff; color: var(--hh-ink-soft);
  transition: background-color .18s var(--hh-ease), color .18s var(--hh-ease), border-color .18s var(--hh-ease);
  white-space: nowrap;
}
.hh-chip:hover { border-color: var(--hh-brass); color: var(--hh-navy-700); }
.hh-chip.is-active { background: var(--hh-navy-700); border-color: var(--hh-navy-700); color: #fff; }

/* --- post card --- */
.hh-post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius-lg);
  overflow: hidden;
  transition: transform .22s var(--hh-ease), box-shadow .22s var(--hh-ease), border-color .22s var(--hh-ease);
}
.hh-post-card:hover { transform: translateY(-4px); box-shadow: var(--hh-shadow-md); border-color: var(--hh-navy-200); }

.hh-post-card__media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hh-navy-800);
  position: relative;
}
.hh-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--hh-ease); }
.hh-post-card:hover .hh-post-card__media img { transform: scale(1.04); }

/* Placeholder keeps the grid even when an article has no featured image. */
.hh-post-card__ph {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--hh-navy-700), var(--hh-navy-950));
}
.hh-post-card__ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 74% 24%, rgba(155,125,74,.28), transparent 50%);
}

.hh-post-card__body { padding: var(--hh-sp-5); display: flex; flex-direction: column; flex: 1; }
.hh-post-card__cat {
  font-family: var(--hh-font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--hh-accent-text); margin-bottom: .55rem;
}
.hh-post-card__title { font-size: 1.08rem; line-height: 1.35; margin: 0 0 .55rem; }
.hh-post-card__title a { color: var(--hh-navy-900); }
.hh-post-card__title a:hover { color: var(--hh-navy-600); }
.hh-post-card__excerpt { font-size: var(--hh-fs-sm); color: var(--hh-ink-soft); margin: 0 0 var(--hh-sp-4); }
.hh-post-card__meta {
  margin-top: auto; display: flex; align-items: center; gap: .45rem;
  font-size: var(--hh-fs-xs); color: var(--hh-ink-mute);
  padding-top: var(--hh-sp-3); border-top: 1px solid var(--hh-line);
}

/* --- single article --- */
.hh-article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: var(--hh-fs-sm); color: #c5d4e4; margin-top: var(--hh-sp-3);
}
.hh-article__hero { margin: 0 0 var(--hh-sp-6); }
.hh-article__hero img { border-radius: var(--hh-radius-lg); width: 100%; }
.hh-article__hero figcaption {
  font-size: var(--hh-fs-xs); color: var(--hh-ink-mute);
  margin-top: .6rem; text-align: center;
}

/* Editorial rhythm: long-form copy needs more air than marketing pages. */
.hh-article { font-size: 1.06rem; line-height: 1.78; }
.hh-article > p { margin-bottom: 1.25rem; }
.hh-article h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.5rem; margin-bottom: .8rem; }
.hh-article h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); margin-top: 1.9rem; margin-bottom: .6rem; }
.hh-article ul, .hh-article ol { margin-bottom: 1.25rem; padding-left: 1.4rem; }
.hh-article li { margin-bottom: .5rem; }
.hh-article li::marker { color: var(--hh-brass); }
.hh-article strong { color: var(--hh-navy-900); }

/* Key-figure callout */
.hh-article .hh-callout {
  background: var(--hh-navy-050); border-left: 3px solid var(--hh-brass);
  border-radius: 0 var(--hh-radius) var(--hh-radius) 0;
  padding: var(--hh-sp-5); margin: var(--hh-sp-6) 0;
}
.hh-article .hh-callout p:last-child { margin-bottom: 0; }
.hh-article .hh-callout strong { color: var(--hh-navy-900); }

/* Comparison / spec tables inside articles */
.hh-article table { margin: var(--hh-sp-5) 0; font-size: var(--hh-fs-sm); }
.hh-article table th { background: var(--hh-navy-700); color: #fff; border-color: var(--hh-navy-600); }
.hh-article table tr:nth-child(even) td { background: var(--hh-bg-alt); }

/* --- pagination --- */
.hh-pagination { margin-top: var(--hh-sp-7); }
.hh-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.hh-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .8rem;
  border: 1px solid var(--hh-line); border-radius: var(--hh-radius);
  font-family: var(--hh-font-display); font-weight: 600; font-size: .9rem;
  color: var(--hh-ink-soft); background: #fff;
}
.hh-pagination .page-numbers:hover { border-color: var(--hh-brass); color: var(--hh-navy-700); }
.hh-pagination .page-numbers.current {
  background: var(--hh-navy-700); border-color: var(--hh-navy-700); color: #fff;
}
.hh-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
