/*
Theme Name: Hawthorne Energy Systems
Theme URI: https://hawthorne.energy/
Author: Hawthorne Energy Systems
Description: Controlled WordPress staging integration for Hawthorne Energy Systems.
Version: 0.6.6
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hawthorne-energy-systems
*/

/*
SOURCE CONTROL
Public page content transfers from Hawthorne_Website_Integrated_Shell_v0.2_WORKING.
Do not edit substantive page copy here without a controlled source successor.
A WordPress staging render is a new implementation state and requires fresh manual review.
*/

:root{
  --hes-navy:#102f4e;
  --hes-brass:#b58a4d;
  --hes-brass-soft:#c9a66e;
  --hes-ivory:#f1ece2;
  --hes-graphite:#151515;
  --hes-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  --hes-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0}
img{max-width:100%;height:auto}
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:18px;top:18px;width:auto;height:auto;padding:10px 14px;
  background:#fff;color:#111;z-index:9999;
}


/* Shared site shell — controlled WordPress integration v0.3.0 */
.hes-site-header{
  position:relative!important;top:auto!important;z-index:100;
  display:grid;grid-template-columns:minmax(300px,.95fr) 1.65fr auto;
  align-items:center;gap:28px;min-height:96px;padding:10px 4vw;
  background:var(--hes-navy);border-bottom:1px solid rgba(201,166,110,.52)
}
.hes-brand{display:flex;align-items:center;min-width:0}
.hes-brand-logo{display:block;width:315px;max-width:100%;height:auto;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important}
.hes-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:24px;flex-wrap:wrap}
.hes-nav a,.hes-contact,.hes-mobile-contact{font-family:var(--hes-sans);font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.hes-nav a{color:rgba(255,255,255,.86);text-decoration:none}
.hes-nav a:hover,.hes-nav a:focus-visible,.hes-nav .is-current>a{color:#fff}
.hes-nav .is-current>a{position:relative}
.hes-nav .is-current>a:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:1px;background:var(--hes-brass-soft)}
.hes-contact{border:1px solid rgba(201,166,110,.9);padding:10px 14px;color:#fff;text-decoration:none}
.hes-contact.is-current{background:rgba(201,166,110,.08)}
.hes-mobile-contact{display:none}
.hes-menu-toggle{display:none;border:1px solid rgba(201,166,110,.72);background:transparent;color:#fff;font:inherit;font-size:10px;letter-spacing:.16em;text-transform:uppercase;padding:9px 12px;cursor:pointer}
body.hes-menu-open{overflow:hidden}

.hes-site-footer{
  position:relative;
  display:block!important;
  min-height:0;
  padding:0;
  background:#0b0c0c!important;
  border-top:1px solid rgba(201,166,110,.42);
  color:var(--hes-ivory);
  font-family:var(--hes-sans)
}
.hes-footer-inner{
  max-width:1500px;
  margin:0 auto;
  padding:72px 5vw 34px;
}
.hes-footer-grid{
  display:grid;
  grid-template-columns:minmax(300px,1.05fr) minmax(180px,.55fr) minmax(180px,.55fr) minmax(280px,.85fr);
  gap:5vw;
  align-items:start;
}
.hes-footer-brand{display:block;text-decoration:none}
.hes-footer-brand img{display:block;width:min(330px,100%);height:auto}
.hes-footer-statement{
  max-width:520px;
  margin:34px 0 0;
  font-family:var(--hes-serif);
  font-size:clamp(22px,1.8vw,30px);
  line-height:1.35;
  color:#d8d1c7
}
.hes-footer-kicker{
  margin:0 0 24px;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--hes-brass-soft)
}
.hes-footer-links{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.hes-footer-links a{
  color:#c8c4bd;
  text-decoration:none;
  font-size:15px;
  line-height:1.45
}
.hes-footer-links a:hover,.hes-footer-links a:focus-visible{color:#fff}
.hes-footer-action{
  border-left:1px solid rgba(201,166,110,.36);
  padding-left:30px
}
.hes-footer-action-title{
  margin:0 0 22px;
  font-family:var(--hes-serif);
  font-size:clamp(30px,2.6vw,44px);
  line-height:1.02;
  letter-spacing:-.035em;
  color:#f0e9de
}
.hes-footer-action-copy{
  margin:0 0 22px;
  max-width:360px;
  font-size:14px;
  line-height:1.6;
  color:#aeb1b2
}
.hes-footer-cta{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border:1px solid rgba(201,166,110,.85);
  color:#fff;
  text-decoration:none;
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase
}
.hes-footer-cta:hover,.hes-footer-cta:focus-visible{background:rgba(201,166,110,.08)}
.hes-footer-contact{
  margin-top:28px;
  display:grid;
  gap:7px;
  font-size:12px;
  line-height:1.55;
  color:#969b9e
}
.hes-footer-contact a{color:#d5d9dc;text-decoration:none}
.hes-footer-contact a:hover,.hes-footer-contact a:focus-visible{color:#fff}
.hes-footer-bottom{
  margin-top:62px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.16);
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:36px;
  align-items:start
}
.hes-footer-copyright{
  white-space:nowrap;
  font-size:9px;
  line-height:1.5;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#747c82
}
.hes-footer-warning{
  justify-self:end;
  max-width:760px;
  text-align:right;
  font-size:9px;
  line-height:1.55;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#7f8588
}

/* Generic future page shell only; no locked page uses this. */
.hes-generic{
  min-height:65vh;
  padding:9vw 7vw;
  background:var(--hes-graphite);
  color:var(--hes-ivory);
  font-family:var(--hes-sans);
}
.hes-generic h1{
  margin:0;
  font-family:var(--hes-serif);
  font-weight:400;
  font-size:clamp(48px,6vw,98px);
  line-height:.96;
  letter-spacing:-.03em;
}
.hes-generic .entry-content{
  max-width:760px;
  margin-top:42px;
  font-size:18px;
  line-height:1.75;
}



@media(max-width:980px){
 .hes-site-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:76px;padding:7px 18px}
 .hes-brand-logo{width:230px;max-width:64vw}
 .hes-menu-toggle{display:block}
 .hes-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--hes-navy);border-top:1px solid rgba(255,255,255,.1);padding:8px 18px 20px;z-index:120;box-shadow:0 20px 40px rgba(0,0,0,.22)}
 .hes-nav.is-open{display:block}
 .hes-nav ul{display:block}
 .hes-nav li{border-bottom:1px solid rgba(255,255,255,.1)}
 .hes-nav a{display:block;padding:14px 0}
 .hes-nav .is-current>a:after{display:none}
 .hes-contact{display:none}
 .hes-mobile-contact{display:block;margin-top:12px;padding:15px 0 3px;border-top:1px solid rgba(201,166,110,.55);color:#fff}
}

@media(max-width:980px){
 .hes-footer-inner{padding:58px 7vw 28px}
 .hes-footer-grid{grid-template-columns:1fr 1fr;gap:48px 10vw}
 .hes-footer-brand-block{grid-column:1/-1}
 .hes-footer-brand img{width:260px}
 .hes-footer-statement{max-width:620px;margin-top:28px}
 .hes-footer-action{grid-column:1/-1;border-left:0;border-top:1px solid rgba(201,166,110,.36);padding:30px 0 0}
 .hes-footer-bottom{grid-template-columns:1fr;gap:16px;margin-top:48px}
 .hes-footer-warning{justify-self:start;text-align:left;max-width:680px}
}
@media(max-width:560px){
 .hes-footer-inner{padding:50px 7vw 26px}
 .hes-footer-grid{grid-template-columns:1fr;gap:38px}
 .hes-footer-brand-block,.hes-footer-action{grid-column:auto}
 .hes-footer-brand img{width:220px}
 .hes-footer-statement{font-size:22px;margin-top:24px}
 .hes-footer-kicker{margin-bottom:18px}
 .hes-footer-links{gap:12px}
 .hes-footer-links a{font-size:15px}
 .hes-footer-action-title{font-size:38px}
 .hes-footer-bottom{margin-top:42px}
 .hes-footer-copyright{white-space:normal}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* v0.5.2 — site-wide typography and footer refinement.
   Visual-only. No substantive narrative change. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;}

/* Keep one editorial serif treatment across page systems and footer. */
.headline,
.hero h1,
.hero .dek,
.integration-row strong,
.decision-row strong,
.example,
.hes-footer-statement,
.hes-footer-action-title{
  font-family:var(--hes-serif)!important;
  font-synthesis:none;
  font-kerning:normal;
  font-variant-ligatures:common-ligatures contextual;
}
.hes-footer-statement{font-size:clamp(21px,1.6vw,27px);line-height:1.32;letter-spacing:-.012em}
.hes-footer-action-title{font-size:clamp(29px,2.35vw,40px);line-height:1.01}
.hes-footer-action-copy{font-size:15px;line-height:1.62;color:#b7babd}
.hes-footer-contact{font-size:13px;line-height:1.55}
.hes-footer-links a{font-size:14.5px;line-height:1.45}
.hes-footer-warning{font-size:9.5px;line-height:1.6;letter-spacing:.105em}

/* Desktop footer: quieter hierarchy and more deliberate balance. */
@media(min-width:981px){
  .hes-footer-inner{padding-top:64px}
  .hes-footer-grid{grid-template-columns:minmax(320px,1.15fr) minmax(160px,.48fr) minmax(160px,.48fr) minmax(300px,.9fr);gap:4.25vw}
  .hes-footer-action{padding-left:34px}
  .hes-footer-bottom{margin-top:54px}
}

/* Tablet/mobile footer: preserve hierarchy without a long single-file stack. */
@media(max-width:560px){
  .hes-footer-inner{padding:44px 7vw 24px}
  .hes-footer-grid{grid-template-columns:1fr 1fr;gap:34px 28px}
  .hes-footer-brand-block{grid-column:1/-1}
  .hes-footer-group{min-width:0}
  .hes-footer-action{grid-column:1/-1;padding-top:28px}
  .hes-footer-brand img{width:210px}
  .hes-footer-statement{font-size:23px;line-height:1.28;max-width:330px;margin-top:21px}
  .hes-footer-kicker{font-size:9px;letter-spacing:.2em;margin-bottom:15px}
  .hes-footer-links{gap:10px}
  .hes-footer-links a{font-size:14px;line-height:1.4}
  .hes-footer-action-title{font-size:34px;line-height:.98;max-width:320px;margin-bottom:18px}
  .hes-footer-action-copy{font-size:15px;line-height:1.58;max-width:330px}
  .hes-footer-cta{min-height:42px;padding:0 16px}
  .hes-footer-contact{font-size:12.5px;margin-top:24px}
  .hes-footer-bottom{margin-top:34px;padding-top:20px;gap:14px}
  .hes-footer-warning{font-size:9px;line-height:1.55;letter-spacing:.08em}
}


/* v0.5.3 — controlled completion pass.
   Scope: site-wide type fidelity + footer architecture + Homepage mobile hero.
   No H02–H06 narrative changes; no desktop hero/image asset replacement. */

/* Use one explicit Hawthorne display-serif decision everywhere.
   Iowan Old Style is the intended face on Apple/iOS/macOS; Georgia is the controlled fallback.
   Page styles continue to decide which roles are serif vs sans. */
:root{
  --hes-serif:"Iowan Old Style",Georgia,serif;
  --serif:var(--hes-serif);
}

/* Avoid synthetic weight/style drift in display roles without converting body copy to serif. */
.headline,
.hero h1,
.hero .dek,
.integration-row strong,
.decision-row strong,
.example,
.hes-footer-statement,
.hes-footer-contact-title{
  font-family:var(--hes-serif)!important;
  font-style:normal;
  font-synthesis:none;
  font-kerning:normal;
  font-variant-ligatures:common-ligatures contextual;
}
.headline,
.hero h1,
.integration-row strong,
.decision-row strong,
.example,
.hes-footer-statement,
.hes-footer-contact-title{font-weight:400}

/* Footer: utility close, not a second page-level CTA. */
.hes-footer-contact-title{
  display:inline-block;
  color:#f0e9de;
  text-decoration:none;
  font-size:clamp(25px,2vw,32px);
  line-height:1.04;
  letter-spacing:-.025em;
  border-bottom:1px solid rgba(201,166,110,.54);
  padding-bottom:8px;
}
.hes-footer-contact-title:hover,.hes-footer-contact-title:focus-visible{color:#fff;border-bottom-color:var(--hes-brass-soft)}
.hes-footer-action{padding-top:0}
.hes-footer-action .hes-footer-contact{margin-top:20px}
.hes-footer-grid--no-action{
  grid-template-columns:minmax(340px,1.2fr) minmax(170px,.5fr) minmax(210px,.62fr);
  gap:5vw;
}

/* Small editorial labels must remain legible, but subordinate. */
.integration-row span,.quality-line span{
  color:#b8b0a5;
  font-weight:500;
}

@media(max-width:980px){
  .hes-footer-grid--no-action{grid-template-columns:1fr 1fr;gap:42px 9vw}
  .hes-footer-grid--no-action .hes-footer-brand-block{grid-column:1/-1}
}
@media(max-width:560px){
  .hes-footer-grid--no-action{grid-template-columns:1fr 1fr;gap:32px 24px}
  .hes-footer-grid--no-action .hes-footer-brand-block{grid-column:1/-1}
  .hes-footer-contact-title{font-size:27px}
  .hes-footer-action{padding-top:24px}
  .integration-row span,.quality-line span{font-size:10px!important;color:#c0b8ad}
}

/* v0.5.4 — forensic closeout corrections from fresh Homepage desktop/mobile evidence
   plus exact current-theme code review across all controlled pages.
   No substantive page narrative, image master, or established section geometry changed. */

/* Restore the original cross-platform editorial fallback character.
   Apple devices keep Iowan Old Style; Windows can resolve to Palatino Linotype / Book Antiqua
   rather than dropping directly to generic-looking Georgia. */
:root{
  --hes-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  --serif:var(--hes-serif);
}

/* Primary page-close CTAs must read and behave as actions, not as full-width decorative rules. */
.cta{
  align-self:flex-start!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:auto!important;
  min-height:44px;
  margin-top:42px!important;
  padding:0 17px!important;
  border:1px solid rgba(201,166,110,.82)!important;
  color:var(--hes-ivory,#f1ece2)!important;
  text-decoration:none!important;
  font-family:var(--hes-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif)!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.18em!important;
  text-transform:uppercase;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.cta:hover,.cta:focus-visible{
  background:rgba(201,166,110,.09);
  border-color:var(--hes-brass-soft,#c9a66e)!important;
  color:#fff!important;
}

/* Homepage desktop hero: the index guide terminates at the top of the water plane instead of
   running visually into the river. Mobile already removes the vertical guide. */
@media(min-width:981px){
  .home-hero-integrated .hero-index{
    border-left:0!important;
    position:relative;
  }
  .home-hero-integrated .hero-index::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:8vw;
    width:1px;
    background:rgba(201,166,110,.52);
    pointer-events:none;
  }
}

/* Footer micro-hierarchy: keep utility groups quiet and aligned after removing repeated conversion blocks. */
.hes-footer-group{min-width:0}
.hes-footer-links a{overflow-wrap:anywhere}


/* v0.5.5 — visual-detail correction from fresh v0.5.4 desktop render evidence.
   Scope is intentionally surgical: hero guide endpoint + footer utility alignment only. */

/* Center each footer utility label over the links it owns.
   This removes the visible Explore-left / About-right drift in the current desktop render. */
.hes-footer-group{
  text-align:center;
}
.hes-footer-group .hes-footer-kicker{
  text-align:center;
}
.hes-footer-group .hes-footer-links{
  justify-items:center;
}
.hes-footer-group .hes-footer-links li{
  width:100%;
  text-align:center;
}

/* Keep the same internal alignment on tablet/mobile rather than allowing a breakpoint to reintroduce drift. */
@media(max-width:980px){
  .hes-footer-group,
  .hes-footer-group .hes-footer-kicker,
  .hes-footer-group .hes-footer-links li{
    text-align:center;
  }
}


/* v0.5.6 — FINAL controlled visual closeout.
   Basis: fresh desktop + mobile Homepage evidence supplied 2026-09-26 and current-theme code review.
   Scope: Homepage hero index/guide, site-wide footer architecture/alignment, CTA continuity, type fidelity.
   No substantive narrative or locked image-master changes. */

/* Desktop hero guide: terminate on the top edge of the water plane rather than entering the water. */
@media(min-width:981px){
  .home-hero-integrated .hero-index::before{
    top:0!important;
    bottom:auto!important;
    height:72%!important;
  }
}

/* Mobile hero capability index: one deliberate editorial sequence.
   Removes the paired/two-column rules that read as an accidental double divider. */
@media(max-width:560px){
  .home-hero-integrated .hero-index{
    display:block!important;
    margin-top:2px;
    padding:17px 0 1px!important;
    background:linear-gradient(180deg,rgba(12,14,15,.14),rgba(12,14,15,.36))!important;
    border-left:0!important;
    border-top:1px solid rgba(201,166,110,.48);
  }
  .home-hero-integrated .hero-index::before{display:none!important}
  .home-hero-integrated .hero-index .item{
    display:block;
    width:100%;
    padding:13px 0!important;
    border-top:0!important;
    border-bottom:1px solid rgba(255,255,255,.14)!important;
    font-size:20px!important;
    line-height:1.12!important;
  }
  .home-hero-integrated .hero-index .item:last-child{border-bottom:0!important}
}

/* One footer system on every page. Utility headings are optically centered over their owned links. */
.hes-footer-grid,
.hes-footer-grid--no-action{
  grid-template-columns:minmax(340px,1.25fr) minmax(190px,.52fr) minmax(220px,.62fr)!important;
  gap:clamp(42px,6vw,96px)!important;
  align-items:start;
}
.hes-footer-group{
  width:100%;
  max-width:260px;
  justify-self:center;
  text-align:center!important;
}
.hes-footer-group .hes-footer-kicker,
.hes-footer-group .hes-footer-links,
.hes-footer-group .hes-footer-links li{
  width:100%;
  text-align:center!important;
  justify-items:center!important;
}
.hes-footer-group .hes-footer-kicker{margin-left:auto;margin-right:auto}
.hes-footer-links a{display:inline-block}

@media(max-width:980px){
  .hes-footer-grid,
  .hes-footer-grid--no-action{
    grid-template-columns:1fr 1fr!important;
    gap:42px 8vw!important;
  }
  .hes-footer-brand-block{grid-column:1/-1!important}
  .hes-footer-group{max-width:none}
}
@media(max-width:560px){
  .hes-footer-inner{padding:42px 7.5vw 24px!important}
  .hes-footer-grid,
  .hes-footer-grid--no-action{
    grid-template-columns:1fr 1fr!important;
    gap:32px 22px!important;
  }
  .hes-footer-brand-block{grid-column:1/-1!important}
  .hes-footer-brand img{width:205px!important}
  .hes-footer-statement{max-width:330px!important;margin-top:20px!important}
  .hes-footer-group{justify-self:stretch}
  .hes-footer-links a{font-size:13.5px!important}
  .hes-footer-bottom{margin-top:34px!important}
}

/* v0.5.7 — final evidence-led geometry correction.
   Basis: fresh desktop and real-device mobile Homepage renders supplied 2026-09-26,
   followed by current v0.5.6 theme code inspection.
   Scope is surgical: desktop H01 index/guide balance and mobile H03 copy alignment.
   Shared footer architecture, CTA routing, narrative, and locked image masters are unchanged. */

/* H01 desktop: center the four capability rows inside the same 72% vertical field
   defined by the shortened guide. The guide itself remains fixed at the water-plane endpoint. */
@media(min-width:981px){
  .home-hero-integrated .hero-index{
    justify-content:flex-start!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  .home-hero-integrated .hero-index-inner{
    height:72%;
    min-height:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
}

/* H01 tablet/mobile: the wrapper is composition-neutral; the single-column capability sequence
   established in v0.5.6 remains the controlling mobile treatment. */
@media(max-width:980px){
  .home-hero-integrated .hero-index-inner{
    height:auto;
    display:block;
  }
}

/* H03 mobile: desktop paragraph staggering does not survive a narrow measure cleanly.
   Return all three paragraphs to one left edge and one full text measure. */
@media(max-width:560px){
  .integration .copy p{
    margin-left:0!important;
    max-width:none!important;
  }
}


/* v0.5.8 — registered site-wide closeout corrections.
   Carries forward v0.5.7 hero geometry and Source-to-Use fixes; adds footer-bottom alignment.
   No substantive copy or image-master changes. */

/* Footer bottom: warning is an editorial site notice, not a right-floating annotation.
   Center it on the footer's usable measure while copyright retains the left anchor. */
@media(min-width:981px){
  .hes-footer-bottom{
    grid-template-columns:minmax(210px,1fr) minmax(420px,2.25fr) minmax(210px,1fr)!important;
    gap:28px!important;
    align-items:start!important;
  }
  .hes-footer-copyright{grid-column:1;justify-self:start}
  .hes-footer-warning{
    grid-column:2;
    justify-self:center!important;
    text-align:center!important;
    max-width:720px!important;
  }
}
@media(max-width:980px){
  .hes-footer-bottom{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .hes-footer-copyright,
  .hes-footer-warning{
    grid-column:1!important;
    justify-self:start!important;
    text-align:left!important;
  }
  .hes-footer-warning{max-width:680px!important}
}
@media(max-width:560px){
  .hes-footer-grid,
  .hes-footer-grid--no-action{
    grid-template-columns:1fr 1fr!important;
    gap:30px 18px!important;
  }
  .hes-footer-group{display:block!important;visibility:visible!important;opacity:1!important}
  .hes-footer-group .hes-footer-kicker{margin-bottom:13px!important}
  .hes-footer-group .hes-footer-links{display:grid!important;gap:9px!important}
  .hes-footer-bottom{padding-top:18px!important;margin-top:30px!important}
  .hes-footer-warning{font-size:8.5px!important;line-height:1.5!important;letter-spacing:.07em!important}
}

/* v0.5.9 — post-integration registered correction closeout + Graphite Editorial type control.
   Basis: registered desktop/mobile findings carried after v0.5.8 and recovery of the original
   Hawthorne Graphite Editorial type system from the earlier controlled implementation.
   No substantive narrative, route, CTA destination, or locked image-master change. */

/* TYPOGRAPHY — preserve the original Hawthorne character, not generic serif/sans substitution.
   Editorial voice: Iowan Old Style -> Palatino Linotype -> Book Antiqua -> Palatino -> Georgia.
   Functional voice: native UI sans stack. Page-specific CSS still controls scale and geometry. */
:root{
  --hes-editorial-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  --hes-functional-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --hes-serif:var(--hes-editorial-serif);
  --serif:var(--hes-editorial-serif);
  --hes-sans:var(--hes-functional-sans);
  --sans:var(--hes-functional-sans);
}

/* Explicit role protection: editorial propositions remain old-style serif; explanatory and utility
   language remains sans. This prevents later page CSS from flattening the distinction. */
.headline,
.hero h1,
.hero .dek,
.pull,
.example,
.closing-copy,
.hes-footer-statement,
.hes-footer-contact-title,
.integration-row strong,
.decision-row strong{
  font-family:var(--hes-editorial-serif)!important;
  font-synthesis:none;
  font-kerning:normal;
  font-variant-ligatures:common-ligatures contextual;
}
body,
.copy,
.body,
.tech-basis,
.kicker,
.eyebrow,
.hes-nav,
.hes-nav a,
.hes-contact,
.hes-mobile-contact,
.hes-footer-links,
.hes-footer-kicker,
.hes-footer-contact,
.hes-footer-copyright,
.hes-footer-warning{
  font-family:var(--hes-functional-sans)!important;
}

/* H01 mobile — tighten the capability register and quiet the rules. The sequence remains one column. */
@media(max-width:560px){
  .home-hero-integrated .hero-index{
    margin-top:0!important;
    padding:12px 0 0!important;
    border-top:1px solid rgba(201,166,110,.28)!important;
    background:linear-gradient(180deg,rgba(12,14,15,.12),rgba(12,14,15,.31))!important;
  }
  .home-hero-integrated .hero-index .item{
    padding:10px 0!important;
    border-bottom-color:rgba(255,255,255,.10)!important;
    font-size:19px!important;
    line-height:1.10!important;
  }
}

/* H05 mobile — four manufacturing micro-labels become one deliberate register instead of an inherited 2x2 wrap. */
@media(max-width:560px){
  .quality-line{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0!important;
    padding-top:14px!important;
    padding-bottom:2px;
    align-items:start;
  }
  .quality-line span{
    min-width:0;
    padding:0 7px;
    text-align:center;
    font-size:8.5px!important;
    line-height:1.28!important;
    letter-spacing:.075em!important;
    white-space:nowrap;
  }
  .quality-line span:first-child{padding-left:0;text-align:left}
  .quality-line span:last-child{padding-right:0;text-align:right}
  .quality-line span + span{border-left:1px solid rgba(181,138,77,.18)}
}

/* Footer legal row — desktop is one calm baseline; narrower states stack deliberately. */
@media(min-width:1180px){
  .hes-footer-bottom{
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:36px!important;
    align-items:baseline!important;
  }
  .hes-footer-copyright{
    grid-column:1!important;
    justify-self:start!important;
    align-self:baseline!important;
  }
  .hes-footer-warning{
    grid-column:2!important;
    justify-self:end!important;
    align-self:baseline!important;
    max-width:none!important;
    text-align:right!important;
    white-space:nowrap;
    font-size:9px!important;
    line-height:1.5!important;
    letter-spacing:.075em!important;
  }
}
@media(min-width:981px) and (max-width:1179px){
  .hes-footer-bottom{
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:28px!important;
    align-items:start!important;
  }
  .hes-footer-copyright{grid-column:1!important;justify-self:start!important}
  .hes-footer-warning{
    grid-column:2!important;
    justify-self:end!important;
    max-width:700px!important;
    text-align:right!important;
    white-space:normal;
  }
}

/* Footer mobile — keep Explore/About visible, but give the public-information warning readable hierarchy. */
@media(max-width:560px){
  .hes-footer-grid,
  .hes-footer-grid--no-action{
    grid-template-columns:1fr 1fr!important;
    gap:30px 18px!important;
  }
  .hes-footer-group{display:block!important;visibility:visible!important;opacity:1!important}
  .hes-footer-bottom{
    grid-template-columns:1fr!important;
    gap:13px!important;
    padding-top:20px!important;
    margin-top:32px!important;
  }
  .hes-footer-copyright,
  .hes-footer-warning{
    grid-column:1!important;
    width:100%;
    justify-self:start!important;
    text-align:left!important;
  }
  .hes-footer-warning{
    max-width:none!important;
    font-size:10.5px!important;
    line-height:1.58!important;
    letter-spacing:.045em!important;
  }
}

/* v0.6.1: contain page-level nav typography and give the email its full width. */
.hes-site-footer .hes-footer-group{display:block!important}
.hes-site-footer .hes-footer-links{display:grid!important}
.hes-site-footer .hes-footer-links a{
  text-transform:none!important;
  letter-spacing:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.hes-site-footer .hes-footer-links a[href^="mailto:"]{white-space:nowrap}
@media(max-width:560px){
  .hes-site-footer .hes-footer-grid,
  .hes-site-footer .hes-footer-grid--no-action{
    grid-template-columns:minmax(0,1fr)!important;
    gap:30px!important;
  }
  .hes-site-footer .hes-footer-brand-block{grid-column:1!important}
  .hes-site-footer .hes-footer-group{justify-self:start;max-width:none;text-align:left!important}
  .hes-site-footer .hes-footer-group .hes-footer-kicker,
  .hes-site-footer .hes-footer-group .hes-footer-links,
  .hes-site-footer .hes-footer-group .hes-footer-links li{
    text-align:left!important;
    justify-items:start!important;
  }
  .hes-site-footer .hes-footer-links a{font-size:15px!important}
}
