/*
Theme Name: Hiilite Impreza Child
Template: Impreza
Author: Hiilite Creative Group Inc.
Author URI: https://hiilite.com
Description: Hiilite's brand layer on Impreza — self-hosted Lato + the Hiilite palette mapped onto Impreza's design tokens. Built from the hiilite-brand skill (Web Guidelines Dec 2020). This is the version-controlled brand child theme; the stock Impreza-child is replaced by this.
Version: 20260611.1100
License: Proprietary — © Hiilite Creative Group Inc.
Text Domain: hiilite-impreza-child
*/

/* ---- Lato (self-hosted from the hiilite-brand skill) ---- */
@font-face { font-family:'Lato'; font-weight:300; font-style:normal; font-display:swap; src:url('assets/fonts/Lato-Light.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:300; font-style:italic; font-display:swap; src:url('assets/fonts/Lato-LightItalic.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:400; font-style:normal; font-display:swap; src:url('assets/fonts/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:400; font-style:italic; font-display:swap; src:url('assets/fonts/Lato-Italic.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:700; font-style:normal; font-display:swap; src:url('assets/fonts/Lato-Bold.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:700; font-style:italic; font-display:swap; src:url('assets/fonts/Lato-BoldItalic.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:900; font-style:normal; font-display:swap; src:url('assets/fonts/Lato-Black.ttf') format('truetype'); }
@font-face { font-family:'Lato'; font-weight:900; font-style:italic; font-display:swap; src:url('assets/fonts/Lato-BlackItalic.ttf') format('truetype'); }

/* ---- Map the Hiilite palette onto Impreza's design tokens ---- */
:root, body {
  --color-content-primary: #FF4D00;          /* brand orange = Impreza primary accent */
  --color-content-primary-rgb: 255,77,0;
  --color-content-heading: #282828;          /* charcoal headings */
  --color-content-text: #282828;
  --color-content-link: #FF4D00;
  --color-content-link-hover: #DD3900;
}

/* ---- Lato everywhere (override Impreza's default serif headings) ---- */
body,
input, select, textarea, button,
.w-btn, .w-btn .w-btn-label, .us-btn,
h1, h2, h3, h4, h5, h6,
.w-text, .w-text * {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
}

/* Hiilite headings are heavy (Black 900) and tight */
h1, h2, h3, .w-text h1, .w-text h2, .w-text h3 {
  font-weight: 900 !important;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
body { font-weight: 400; color: #282828; }

/* The brand's signature five-color spectrum rule (utility class) */
.hii-spectrum-rule {
  height: 6px; width: 100%; border: 0; margin: 0;
  background: linear-gradient(90deg,#FF4D00 0%,#FFAA00 25%,#80CC1D 50%,#00CEC8 75%,#7E29ED 100%);
}

/* ---- impeccable polish pass ---- */
/* Card hover lift — applied to Impreza columns via el_class="hii-card" */
.hii-card {
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s cubic-bezier(.2,.7,.3,1);
}
.hii-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(40,40,40,.12);
}
/* Buttons lift subtly on hover */
.w-btn, .us-btn, .wp-block-button__link {
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.w-btn:hover, .us-btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }

/* Slightly tighter display headings for punch */
h1, .w-text h1 { letter-spacing: -0.02em; }

/* Eyebrow labels get a touch more presence */
.w-text p { -webkit-font-smoothing: antialiased; }

/* Header nav hover */
.hii-nav a { transition: color .15s ease, background-color .15s ease; }
.hii-nav a:not(.hii-nav-cta):hover { color: #FF4D00 !important; }
.hii-nav-cta:hover { background: #DD3900 !important; transform: translateY(-1px); }
.hii-nav-cta { transition: background-color .15s ease, transform .15s ease; }

/* ---- Global site header/footer (injected via wp_body_open / wp_footer) ---- */
/* Hide Impreza's empty, unconfigured header/footer shells */
.l-header, .l-footer { display: none !important; }

.hii-shell { max-width: 1200px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.hii-site-header { background: #fff; }
.hii-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.hii-logo { line-height: 0; display: inline-block; }
/* Animated "5051" logo — the package is the exact-as-authored 5.05:1 container-relative frame; the site only sizes the container (kept here in style.css so a future logo-package swap can't drop it). */
.hii-logo .hii-logo-os { display: block; width: 230px; }        /* header 5051 frame ~45px tall -> combomark ~26px (frame wraps the choreography) */
.hii-footer-logo .hii-logo-os { display: block; width: 290px; } /* footer 5051 frame ~57px tall -> combomark ~33px */
.hii-logo-os .hiilite-logo-motion { width: 100%; }
.hii-logo-os .hiilite-logo-motion__logo-wrap img { width: 100%; height: auto; }
/* Footer sits on #282828 charcoal (not the treatment's pure #08080a), so blend the canvas — animation untouched. */
.hii-logo-os--footer .hiilite-logo-motion { background: transparent; }
.hii-nav { display: flex; align-items: center; flex-wrap: wrap; }
.hii-nav a { color: #282828; font-weight: 700; margin-left: 1.7rem; text-decoration: none; }
.hii-nav-cta { background: #FF4D00; color: #fff !important; padding: 0.6rem 1.25rem; border-radius: 999px; }

.hii-footer-body { background: #282828; }
.hii-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-top: 4rem; padding-bottom: 2.5rem; }
.hii-footer-wordmark { color: #fff; font-weight: 900; font-size: 1.5rem; }
.hii-footer-brand p { color: #DDDDDD; max-width: 440px; line-height: 1.6; margin-top: .6rem; }
.hii-footer-col { display: flex; flex-direction: column; }
.hii-fcol-title { color: #FF4D00; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .4rem; }
.hii-footer-col a { color: #DDDDDD; text-decoration: none; line-height: 2.1; }
.hii-footer-col a:hover { color: #fff; }
.hii-footer-legal { color: #8a8a8a; font-size: .8rem; padding-bottom: 2.5rem; }

@media (max-width: 720px) {
  .hii-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hii-header-bar { flex-direction: column; align-items: flex-start; }
  .hii-nav a:first-child { margin-left: 0; }
}

/* Article (doc/paper single) title header */
.hii-article-head { margin-bottom: 1.6rem; }
.hii-article-eyebrow { color: #FF4D00; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin-bottom: .5rem; }
.hii-article-title { font-size: clamp(2rem, 4vw, 3rem) !important; font-weight: 900 !important; line-height: 1.08; margin: 0; }

/* Footer logo (OS-boot lockup on dark) + glossary term links */
.hii-footer-logo { margin: 0 0 1rem; }
.hii-term { color: inherit; text-decoration: none; border-bottom: 1px dotted #FF4D00; cursor: help; }
.hii-term:hover { border-bottom-style: solid; color: #FF4D00; }

/* ===== Navigation overhaul + mobile hamburger + full-sitemap footer ===== */
.hii-site-header { position: relative; z-index: 50; }
.hii-nav { display: flex; align-items: center; flex-wrap: wrap; }
.hii-nav a { color: #282828; font-weight: 700; margin-left: 1.5rem; text-decoration: none; font-size: .95rem; }
.hii-nav a:hover { color: #FF4D00; }
.hii-nav-cta { background: #FF4D00; color: #fff !important; padding: .6rem 1.15rem; border-radius: 999px; margin-left: 1.5rem; }
.hii-nav-cta:hover { background: #DD3900 !important; color: #fff !important; transform: translateY(-1px); }
/* secondary nav CTA (e.g. Open the platform) — outlined, lets the primary Sign up CTA lead */
.hii-nav-cta--ghost { background: transparent; color: #282828 !important; border: 1.5px solid #DDDDDD; padding: calc(.6rem - 1.5px) calc(1.15rem - 1.5px); }
.hii-nav-cta--ghost:hover { background: transparent !important; color: #FF4D00 !important; border-color: #FF4D00; transform: translateY(-1px); }

/* hamburger — hidden on desktop */
.hii-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 40px; background: #fff; border: 1px solid #DDDDDD; border-radius: 10px; cursor: pointer; padding: 0 10px; }
.hii-burger span { display: block; height: 2.5px; background: #282828; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hii-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hii-burger.is-open span:nth-child(2) { opacity: 0; }
.hii-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* footer = full sitemap */
.hii-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 1.6rem; }
.hii-footer-col a { display: block; }

@media (max-width: 1000px) { .hii-footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) {
  .hii-burger { display: inline-flex; }
  .hii-header-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .hii-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start;
    background: #fff; border-top: 1px solid #DDDDDD; box-shadow: 0 12px 28px rgba(40,40,40,.12); padding: .25rem 1.25rem 1rem; }
  .hii-nav.open { display: flex; }
  .hii-nav a { margin-left: 0; width: 100%; padding: .8rem 0; border-bottom: 1px solid #F0F0F0; font-size: 1.02rem; }
  .hii-nav-cta { margin: .8rem 0 0; width: 100%; text-align: center; border-bottom: 0 !important; }
}
@media (max-width: 560px) { .hii-footer-grid { grid-template-columns: 1fr 1fr; } }
