/*
Theme Name: Skywest Properties
Theme URI: https://hwdskywestproperties.com
Author: Aviatrix Communications
Description: One-page block theme for the Hayward Executive Airport Skywest Properties project. WCAG 2.1 AA.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: hwd-skywest
*/

/* ---------------------------------------------------------------- tokens */
:root {
	--green: #00853f;
	--green-text: #007a39;   /* small text on #F8F8F8 (4.45:1 with #00853F fails AA) */
	--green-light: #8cbb4a;
	--green-mid: #5eac4c;
	--green-mid-text: #3f8f33; /* "26 Acres" as text; #5EAC4C is 2.8:1 on white */
	--orange: #fdb913;      /* FAA safety area segment (brand yellow/orange) */
	--orange-text: #b35900; /* "26 Acres" label; 4.8:1 on white (#FDB913 is too light for text) */
	--green-current: #8dc63f;
	--blue: #005d9b;
	--black: #201d1e;
	--grey-dark: #666668;
	--grey: #97969a;
	--grey-light: #f8f8f8;
	--line: #d0d0d0;
	--white: #fff;
	--content: 960px;
	--gutter: 120px;
	--section-gap: 82px;
	--header-h: 89px;
	--focus: 3px solid var(--black);
}

/* ------------------------------------------------------------------ base */
html { scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--black); font-family: "Museo Sans", Arial, Helvetica, sans-serif; font-weight: 300; font-size: 18px; line-height: 30px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--black); font-weight: 700; }
/* WCAG 1.4.12: long words may break if a visitor enlarges letter/word spacing on a narrow screen. */
h1, h2, h3, h4, .hwd-goals__list span, .hwd-engage__stat, .hwd-docs__title, .hwd-tl__title { overflow-wrap: break-word; }
.hwd-docs__meta { white-space: normal; }
strong, b { font-weight: 700; }
sup { font-size: .6em; line-height: 0; vertical-align: super; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.hwd-skip { position: absolute; left: 8px; top: -100px; z-index: 1000; background: var(--black); color: var(--white); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.hwd-skip:focus { top: 8px; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Inner content width for full-bleed sections. */
.hwd-section, .hwd-band, .hwd-hero { box-sizing: border-box; padding-inline: max(24px, calc((100% - var(--content)) / 2)); }

/* --------------------------------------------------------------- headings */
.hwd-title { font-size: 46px; line-height: 50px; font-weight: 900; color: var(--green); }
.hwd-h2 { font-size: 38px; line-height: 44px; font-weight: 700; }
.hwd-band .hwd-title { color: var(--green-text); }

/* ---------------------------------------------------------------- buttons */
.hwd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 8px 18px; background: var(--black); color: var(--white); border: 2px solid var(--black); border-radius: 0; font: 700 16px/20px "Museo Sans", Arial, sans-serif; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.hwd-btn:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.hwd-btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.hwd-btn--light:hover { background: var(--black); color: var(--white); border-color: var(--white); }
.hwd-btn:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.hwd-hero .hwd-btn:focus-visible, .hwd-event .hwd-btn:focus-visible { outline-color: var(--white); }
.hwd-admin-note { font-size: 14px; line-height: 20px; opacity: .85; }

/* ----------------------------------------------------------------- header */
.hwd-header-part { position: sticky; top: 0; z-index: 50; }
.hwd-header { background: var(--white); border-bottom: 1px solid var(--line); padding-inline: max(24px, calc((100% - var(--content)) / 2)); }
.hwd-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; max-width: 1264px; margin: 0 auto; }
.hwd-logo { display: block; line-height: 0; }
.hwd-logo img { width: 218px; height: 56px; display: block; }
.hwd-nav__list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.hwd-nav__list a { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 8px; font-size: 18px; line-height: 30px; font-weight: 300; text-decoration: none; color: var(--black); }
/* Reserve the bold width so the row does not shift on hover. */
.hwd-nav__list a::after { content: attr(data-label); font-weight: 900; height: 0; overflow: hidden; visibility: hidden; user-select: none; pointer-events: none; }
.hwd-nav__list a:hover, .hwd-nav__list a:focus-visible, .hwd-nav__list a[aria-current] { background: var(--green); color: var(--white); font-weight: 900; }
.hwd-nav__list a:focus-visible { outline-offset: 2px; }
.hwd-nav__toggle { display: none; }

/* ------------------------------------------------------------------- hero */
.hwd-hero { position: relative; isolation: isolate; color: var(--white); padding-top: 77px; padding-bottom: 97px; background: var(--green) url(assets/img/hero-map.jpg) center 35% / cover no-repeat; }
.hwd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(118.62deg, rgba(0,133,63,.96) 72.9%, rgba(71,165,63,.96) 110.2%); }
.hwd-hero__title { color: var(--white); font-size: 46px; line-height: 50px; font-weight: 900; text-align: center; margin-bottom: 41px; }
.hwd-hero__cols { display: grid; grid-template-columns: minmax(0, 492px) minmax(0, 379px); justify-content: space-between; gap: 40px; align-items: start; }
.hwd-hero__intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hwd-hero__lead { font-size: 38px; line-height: 44px; font-weight: 700; }
.hwd-hero__intro .hwd-btn { margin-top: 8px; }

.hwd-event { background: var(--black); border: 2px solid var(--white); border-radius: 11px; padding: 19px 24px 18px; display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.hwd-event__eyebrow { font-weight: 700; font-size: 16px; line-height: 26px; letter-spacing: 4px; text-transform: uppercase; }
.hwd-event__grid { display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; row-gap: 6px; align-items: start; width: 100%; }
.hwd-event__date { grid-row: span 2; background: var(--green-mid); color: var(--black); border-radius: 9px; padding: 6px 8px 9px; display: flex; flex-direction: column; align-items: center; font-weight: 700; line-height: 33px; }
.hwd-event__mon { font-size: 24px; }
.hwd-event__day { font-size: 34px; }
.hwd-event__title { color: var(--white); font-size: 24px; line-height: 26px; }
.hwd-event__details { font-size: 14px; line-height: 20px; font-weight: 500; }
.hwd-event__desc { font-size: 14px; line-height: 20px; font-weight: 300; }
.hwd-event .wp-block-group, .hwd-event p { margin: 0; }
.hwd-event__more { width: 100%; border-top: 1px solid rgba(255,255,255,.3); padding-top: 12px; }
.hwd-event__more-label { font-weight: 700; font-size: 13px; line-height: 20px; letter-spacing: 3px; text-transform: uppercase; }
.hwd-event__more ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; line-height: 22px; font-weight: 500; }
.hwd-event__item + .hwd-event__item { margin-top: 12px; }
.hwd-event__item-title { font-weight: 700; font-size: 16px; line-height: 22px; }
.hwd-event__item-title time { color: var(--green-light); margin-right: 6px; }
.hwd-event__item-meta { font-size: 14px; line-height: 20px; font-weight: 500; }
.hwd-event__item-desc { font-size: 14px; line-height: 20px; font-weight: 300; margin-top: 4px !important; }
.hwd-event__item-link { display: inline-block; margin-top: 6px; color: var(--white); font-weight: 700; font-size: 14px; line-height: 20px; text-decoration: underline; text-underline-offset: 3px; }
.hwd-event__item-link:hover { text-decoration-thickness: 2px; }
.hwd-event :focus-visible { outline-color: var(--white); }

/* No upcoming event: Allison's centered hero (Figma 89:1243). */
.hwd-hero:not(:has(.hwd-event)) { min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
.hwd-hero__cols:not(:has(.hwd-event)) { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
.hwd-hero__cols:not(:has(.hwd-event)) .hwd-hero__intro { align-items: center; }
.hwd-hero__cols:not(:has(.hwd-event)) .hwd-hero__lead { max-width: 720px; }

/* ------------------------------------------------------------ at a glance */
.hwd-facts { padding-top: 52px; padding-bottom: 44px; }
.hwd-facts .hwd-h2 { margin-bottom: 16px; } /* same heading-to-text gap as the rest of the page */
.hwd-facts__cols { display: grid; grid-template-columns: minmax(0, 1fr) 519px; gap: 55px; align-items: center; }
.hwd-facts__text { display: flex; flex-direction: column; gap: 30px; }

.hwd-donut { position: relative; margin: 0; width: 519px; height: 441px; }
.hwd-donut__ring { position: absolute; left: 51px; top: 80px; width: 308px; height: 308px; }
.hwd-donut__total { position: absolute; left: 51px; top: 80px; width: 308px; height: 308px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; color: var(--black); }
.hwd-donut__num { font-size: 58px; line-height: 56px; }
.hwd-donut__unit { font-size: 30px; line-height: 30px; }
.hwd-donut__stats { list-style: none; margin: 0; padding: 0; }
.hwd-stat { position: absolute; display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
.hwd-stat__num { display: flex; flex-direction: column; align-items: flex-start; }
.hwd-stat__unit { display: block; }
/* Legend: numbers in dark text, a bar in the slice's exact colour above each (yellow can't be readable text on white). */
.hwd-stat { color: var(--black); }
.hwd-stat__num::before { content: ""; display: block; width: 44px; height: 8px; border-radius: 4px; margin-bottom: 10px; background: var(--swatch, var(--grey)); }
@media (forced-colors: active) { .hwd-stat__num::before { forced-color-adjust: none; } }
.hwd-stat__num { font-size: 58px; line-height: 50px; font-weight: 700; white-space: nowrap; }
.hwd-stat__unit { font-size: 30px; line-height: 25px; }
.hwd-stat__label { font-size: 16px; line-height: 20px; font-weight: 700; color: var(--black); padding-top: 22px; }
.hwd-stat--business { left: 0; top: 0; --swatch: var(--blue); }
.hwd-stat--business .hwd-stat__label { width: 100px; }
.hwd-stat--safety { left: 295px; top: 0; --swatch: var(--orange); }
.hwd-stat--safety .hwd-stat__label { width: 135px; }
.hwd-stat--open { left: 321px; top: 361px; --swatch: var(--green); }
.hwd-stat--open .hwd-stat__label { width: 120px; }

/* ------------------------------------------------------------------ goals */
.hwd-goals { padding-top: 52px; padding-bottom: 52px; }
.hwd-goals .hwd-h2 { text-align: center; margin-bottom: 46px; }
.hwd-goals__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hwd-goals__list li { display: flex; flex-direction: column; align-items: center; gap: 27px; text-align: center; font-weight: 700; font-size: 20px; line-height: 26px; }
/* Decorative icons as backgrounds (the label beside each says the same thing). */
.hwd-goal-icon { display: block; width: 98px; height: 88px; background: center / contain no-repeat; }
.hwd-goal-icon--safety { background-image: url(assets/img/goal-icon-safety.svg); }
.hwd-goal-icon--open-space { background-image: url(assets/img/goal-icon-open-space.svg); }
.hwd-goal-icon--financial { background-image: url(assets/img/goal-icon-financial.svg); }
.hwd-goal-icon--environment { background-image: url(assets/img/goal-icon-environment.svg); }
.hwd-goal-icon--community { background-image: url(assets/img/goal-icon-community.svg); }
@media (forced-colors: active) { .hwd-goal-icon { forced-color-adjust: none; } }
.hwd-goals__list span { max-width: 196px; }

/* ----------------------------------------------------------- band (grey) */
.hwd-band { background: var(--grey-light); }
.hwd-history { margin-top: calc(var(--section-gap) - 52px); padding-top: 80px; padding-bottom: 68px; }
.hwd-history .hwd-title { margin-bottom: 42px; }
.hwd-history .hwd-h2 { margin-bottom: 46px; }

/* ---------------------------------------------------------------- timeline */
.hwd-tl__date { color: var(--grey-dark); font-weight: 700; font-size: 15px; line-height: 26px; letter-spacing: .15em; text-transform: uppercase; }
.hwd-tl__title { font-size: 20px; line-height: 26px; font-weight: 700; }
.hwd-tl__body { font-size: 14px; line-height: 20px; font-weight: 500; margin: 0; }
ul.hwd-tl__body { padding-left: 20px; }
.hwd-tl__link { font-size: 14px; line-height: 20px; font-weight: 900; margin-top: 4px; }
.hwd-tl__link a:hover { color: var(--green-text); }
.hwd-tl__item { position: relative; }
.hwd-tl__item::before { content: ""; position: absolute; box-sizing: border-box; width: 26px; height: 26px; border-radius: 50%; background: var(--green); }
.hwd-tl__item.is-current::before { background: var(--green-current); border: 3px solid var(--green); }
.hwd-tl__item.is-future::before { width: 18px; height: 18px; }

/* Horizontal (History) */
.hwd-tl--h { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 16px; padding-top: 36px; }
/* Line starts at the centre of the first of six equal columns. */
.hwd-tl--h::before { content: ""; position: absolute; left: calc((100% - 80px) / 12); right: 6px; top: 12px; height: 2px; background: var(--green); }
.hwd-tl--h::after { content: ""; position: absolute; right: 0; top: 6px; border-left: 10px solid var(--green); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.hwd-tl--h .hwd-tl__item { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.hwd-tl--h .hwd-tl__item::before { left: 50%; top: -36px; transform: translateX(-50%); z-index: 1; }
.hwd-tl--h .hwd-tl__link { margin-top: 4px; }

/* Vertical (Looking Ahead) */
.hwd-tl--v { position: relative; display: flex; flex-direction: column; gap: 32px; padding-left: 36px; }
.hwd-tl--v::before { content: ""; position: absolute; left: 11.5px; top: 13px; bottom: 60px; width: 3px; background: var(--green); }
.hwd-tl--v .hwd-tl__item::before { left: -36px; top: 0; }
.hwd-tl--v .hwd-tl__item.is-future::before { left: -32px; top: 4px; }
.hwd-tl--v .hwd-tl__title { margin-bottom: 6px; }

/* ----------------------------------------------------------- get involved */
.hwd-involved { padding-top: var(--section-gap); }
.hwd-engage { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 469px); justify-content: space-between; gap: 21px; align-items: center; }
.hwd-engage__text { display: flex; flex-direction: column; align-items: flex-start; }
.hwd-engage__text .hwd-title { margin-bottom: 42px; }
.hwd-engage__text .hwd-h2 { max-width: 435px; margin-bottom: 16px; }
.hwd-btn-row { margin-top: 24px; }
.hwd-engage__panel { display: flex; flex-direction: column; }
.hwd-engage__stats { background: var(--green); color: var(--white); border: 1px solid var(--green); border-radius: 8px 8px 0 0; padding: 21px 24px 38px; display: flex; justify-content: center; gap: 65px; text-align: center; font-weight: 700; font-size: 20px; line-height: 18px; }
.hwd-engage__stat { display: flex; flex-direction: column; align-items: center; max-width: 90px; }
.hwd-engage__stat strong { font-size: 58px; line-height: 50px; margin-bottom: 4px; }
.hwd-heard { background: var(--grey-light); border: 1px solid var(--grey); border-radius: 8px; margin-top: -16px; padding: 51px 36px 42px 29px; }
.hwd-heard__title { color: var(--green-text); font-size: 24px; line-height: 26px; margin-bottom: 18px; }
.hwd-diamonds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hwd-diamonds li { position: relative; padding-left: 30px; color: var(--green-text); font-weight: 500; font-size: 18px; line-height: 22px; }
.hwd-diamonds li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: url(assets/img/bullet-diamond-union.svg) center / contain no-repeat; }

.hwd-adjusted { margin-top: var(--section-gap); }
.hwd-adjusted .hwd-h2 { margin-bottom: 16px; }
/* The concept plan is a wide map: full width, the four cards in a 2x2 grid below. */
.hwd-adjusted__cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
.hwd-adjusted__map { border: 1px solid var(--grey); }
/* Whole map, no crop: the scale bar and figure caption sit at the very bottom of the image. */
.hwd-adjusted__map { margin: 0; }
.hwd-adjusted__map a { display: block; }
.hwd-adjusted__map img { display: block; width: 100%; height: auto; }
.hwd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hwd-card { background: var(--grey-light); border: 1px solid var(--grey); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.hwd-card__num { color: var(--green-text); font-weight: 700; font-size: 14px; line-height: 27px; }
.hwd-card__title { color: var(--green-text); font-size: 20px; line-height: 22px; }
.hwd-card__body { font-size: 14px; line-height: 20px; font-weight: 500; }

.hwd-ahead { margin-top: var(--section-gap); display: grid; grid-template-columns: minmax(0, 386px) minmax(0, 504px); justify-content: space-between; gap: 31px; align-items: start; }
.hwd-ahead__intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hwd-ahead__intro .hwd-btn { max-width: 100%; text-align: left; justify-content: flex-start; }

/* -------------------------------------------------------------- documents */
.hwd-docs-band { margin-top: var(--section-gap); padding-top: 135px; padding-bottom: 134px; }
.hwd-docs-band .hwd-title { margin-bottom: 60px; letter-spacing: -0.006em; }
.hwd-docs__empty { max-width: 640px; }
.hwd-docs { display: flex; flex-direction: column; gap: 52px; max-width: 760px; }
.hwd-docs__heading { font-size: 38px; line-height: 44px; margin-bottom: 24px; }
.hwd-docs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
/* Title on its own line, details always on the line below, so every row reads the same. */
.hwd-docs__link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; color: var(--black); }
.hwd-docs__title { font-weight: 700; font-size: 18px; line-height: 22px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.hwd-docs__link:hover .hwd-docs__title, .hwd-docs__link:focus-visible .hwd-docs__title { text-decoration-color: currentColor; color: var(--green-text); }
.hwd-docs__meta { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--grey-dark); white-space: nowrap; }
.hwd-docs__icon { width: 16px; height: 20px; }

/* ------------------------------------------------------------------- FAQs */
.hwd-faqs { padding-top: var(--section-gap); padding-bottom: 104px; }
.hwd-faqs .hwd-title { margin-bottom: 42px; }
.hwd-faq-group + .hwd-faq-group { margin-top: 52px; }
.hwd-faq-group .hwd-h2 { margin-bottom: 26px; }
.hwd-faqs .wp-block-details { margin: 0 0 8px; padding: 0; }
.hwd-faqs .wp-block-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; box-sizing: border-box; padding: 14px; background: var(--green); color: var(--white); font-weight: 700; font-size: 20px; line-height: 26px; cursor: pointer; }
.hwd-faqs .wp-block-details summary::-webkit-details-marker { display: none; }
.hwd-faqs .wp-block-details summary::after { content: "+"; flex: 0 0 auto; width: 20px; text-align: center; font-size: 24px; font-weight: 500; }
.hwd-faqs .wp-block-details[open] summary { background: var(--black); }
.hwd-faqs .wp-block-details[open] summary::after { content: "\2212"; }
.hwd-faqs .wp-block-details summary:hover { background: #006b33; }
.hwd-faqs .wp-block-details[open] summary:hover { background: #000; }
.hwd-faqs .wp-block-details summary:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.hwd-faqs .wp-block-details > :not(summary) { background: var(--grey-light); margin: 0; padding: 0 24px 18px; }
.hwd-faqs .wp-block-details > summary + * { padding-top: 24px; }
.hwd-faqs .wp-block-details > :last-child { padding-bottom: 24px; }
.hwd-faqs .wp-block-details > ul, .hwd-faqs .wp-block-details > ol { padding-left: 44px; }
.hwd-faqs .wp-block-details li + li { margin-top: 8px; }
.hwd-footnote { font-size: 14px; line-height: 20px; }

/* ----------------------------------------------------------------- footer */
.hwd-footer { background: var(--black); color: var(--white); padding: 28px max(24px, calc((100% - var(--content)) / 2)); }
.hwd-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hwd-footer__logo { width: 178px; height: auto; display: block; }
.hwd-footer__links { font-size: 14px; line-height: 30px; }
.hwd-footer__links a { color: var(--white); }
.hwd-footer__links a:hover { text-decoration: none; }
.hwd-footer :focus-visible { outline-color: var(--white); }

/* --------------------------------------------------------- sign-up dialog */
dialog.hwd-dialog { position: fixed; inset: 0; margin: auto !important; max-height: calc(100dvh - 32px); overflow: auto; width: min(520px, calc(100vw - 32px)); box-sizing: border-box; border: 0; border-radius: 11px; padding: 32px; color: var(--black); }
.hwd-dialog::backdrop { background: rgba(32, 29, 30, .7); }
.hwd-dialog__title { font-size: 28px; line-height: 34px; margin-bottom: 12px; padding-right: 32px; }
.hwd-dialog__intro { margin-bottom: 16px; }
.hwd-dialog__x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--black); cursor: pointer; }
.hwd-field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 4px; }
.hwd-field label { font-weight: 700; font-size: 16px; line-height: 22px; }
.hwd-optional, .hwd-required { font-weight: 300; }
.hwd-field input { font: 300 18px/24px "Museo Sans", Arial, sans-serif; padding: 10px 12px; border: 1px solid var(--grey-dark); border-radius: 0; min-height: 44px; box-sizing: border-box; }
.hwd-field input[aria-invalid="true"] { border: 2px solid #b3261e; }
.hwd-error { color: #b3261e; font-size: 14px; line-height: 20px; font-weight: 500; }
.hwd-signup-done .hwd-dialog__title:focus { outline: none; }
.hwd-form-msg { margin: 0 0 16px; }
.hwd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hwd-dialog__fine { font-size: 14px; line-height: 20px; margin-bottom: 20px; }
.hwd-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hwd-dialog .hwd-btn--light { border-color: var(--black); }
.hwd-toast { position: fixed; z-index: 100; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 12px 40px rgba(32,29,30,.35); width: min(560px, calc(100vw - 32px)); box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 20px; background: var(--black); color: var(--white); border-left: 8px solid var(--green-light); font-weight: 500; }
.hwd-toast--invalid, .hwd-toast--limit { border-left-color: #e31b23; }
.hwd-toast__close { background: none; border: 0; color: var(--white); font-size: 28px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.hwd-toast:focus-visible, .hwd-toast__close:focus-visible { outline: 3px solid var(--white); }

/* ---------------------------------------------------------- inner pages */
.hwd-page { padding: 64px max(24px, calc((100% - 760px) / 2)) 96px; }
.hwd-page__title { font-size: 46px; line-height: 50px; font-weight: 900; color: var(--green); margin-bottom: 32px; }
.hwd-prose > * + * { margin-top: 18px; }
.hwd-prose h2 { font-size: 28px; line-height: 34px; margin-top: 40px; }
.hwd-prose a { color: var(--green-text); font-weight: 500; }

/* ======================================================= tablet ≤ 1080 */
@media (max-width: 1080px) {
	.hwd-donut { transform: scale(.85); transform-origin: left center; margin-right: -78px; }
	.hwd-facts__cols { grid-template-columns: minmax(0, 1fr) 441px; gap: 32px; }
}

/* ===================================================== mobile nav ≤ 899 */
@media (max-width: 899px) {
	:root { --header-h: 96px; }
	.hwd-header { padding: 4px 24px; }
	.hwd-header__inner { flex-wrap: wrap; }
	.hwd-nav { display: contents; }
	.hwd-nav__toggle { display: grid; place-items: center; width: 56px; height: 56px; margin-right: -6px; padding: 0; background: none; border: 0; cursor: pointer; }
	.hwd-nav__icon-open, .hwd-nav__icon-close { display: block; background: center / contain no-repeat; }
	.hwd-nav__icon-open { width: 47px; height: 26px; background-image: url(assets/img/icon-hamburger.svg); }
	.hwd-nav__icon-close { display: none; width: 24px; height: 25px; background-image: url(assets/img/icon-close.svg); }
	.hwd-nav__toggle[aria-expanded="true"] .hwd-nav__icon-open { display: none; }
	.hwd-nav__toggle[aria-expanded="true"] .hwd-nav__icon-close { display: block; }
	.hwd-nav__list { display: none; flex-basis: 100%; flex-direction: column; align-items: center; gap: 24px; padding: 16px 0 30px; }
	.hwd-menu-open .hwd-nav__list { display: flex; }
}

/* ========================================================= phone ≤ 820 */
@media (max-width: 820px) {
	:root { --section-gap: 56px; }
	.hwd-title { font-size: 36px; line-height: 42px; }
	.hwd-h2, .hwd-docs__heading { font-size: 28px; line-height: 34px; }

	.hwd-hero { padding-top: 56px; padding-bottom: 64px; background-image: url(assets/img/hero-photo.jpg); background-position: center; }
	.hwd-hero::before { background: linear-gradient(94.88deg, rgba(0,133,63,.9) 72.9%, rgba(71,165,63,.9) 110.2%); }
	.hwd-hero__title { text-align: left; font-size: 40px; line-height: 46px; margin-bottom: 32px; }
	.hwd-hero__cols { grid-template-columns: 1fr; gap: 48px; }
	.hwd-hero__cols:not(:has(.hwd-event)) { grid-template-columns: 1fr; text-align: left; }
	.hwd-hero__cols:not(:has(.hwd-event)) .hwd-hero__intro { align-items: flex-start; }
	.hwd-hero__lead { font-size: 30px; line-height: 36px; }
	.hwd-event { max-width: 360px; }
	.hwd-event__details { font-weight: 300; font-size: 16px; line-height: 24px; }
	.hwd-event__desc { font-size: 16px; line-height: 24px; }

	.hwd-facts { padding-top: 48px; }
	.hwd-goals .hwd-h2 { margin-bottom: 28px; }
	.hwd-facts__cols { grid-template-columns: 1fr; gap: 40px; }
	.hwd-donut { width: 100%; height: auto; transform: none; margin: 0; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 24px; }
	.hwd-donut__ring, .hwd-donut__total { position: relative; left: auto; top: auto; grid-area: 1 / 1; width: min(280px, 80vw); height: min(280px, 80vw); }
	.hwd-donut__num { font-size: 48px; line-height: 48px; }
	.hwd-donut__unit { font-size: 24px; }
	.hwd-donut__stats { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.hwd-stat { position: static; flex-direction: column; gap: 8px; }
	.hwd-stat .hwd-stat__label { width: auto !important; font-size: 14px; line-height: 18px; }
	.hwd-stat__num { font-size: 40px; line-height: 40px; white-space: normal; }
	.hwd-stat__unit { font-size: 20px; line-height: 22px; }

	.hwd-goals__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.hwd-goals__list li { gap: 16px; font-size: 18px; line-height: 24px; }
	.hwd-goals__list li:last-child { grid-column: 1 / -1; }
	.hwd-goal-icon { width: 80px; height: 72px; }

	.hwd-history { padding-top: 56px; padding-bottom: 56px; }
	.hwd-history .hwd-title { margin-bottom: 24px; }
	.hwd-history .hwd-h2 { margin-bottom: 32px; }
	/* History timeline turns vertical. */
	.hwd-tl--h { display: flex; flex-direction: column; gap: 28px; padding: 0 0 0 40px; }
	.hwd-tl--h::before { left: 12px; right: auto; top: 13px; bottom: 26px; width: 2px; height: auto; }
	.hwd-tl--h::after { left: 6px; right: auto; top: auto; bottom: 14px; border-top: 10px solid var(--green); border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 0; }
	.hwd-tl--h .hwd-tl__item { text-align: left; }
	.hwd-tl--h .hwd-tl__item::before { left: -40px; top: 0; transform: none; }

	.hwd-engage, .hwd-adjusted__cols, .hwd-ahead { grid-template-columns: 1fr; gap: 40px; }
	.hwd-cards { grid-template-columns: 1fr; }
	.hwd-engage__text .hwd-title { margin-bottom: 24px; }
	.hwd-engage__stats { gap: 40px; padding-inline: 16px; }
	.hwd-engage__stat strong { font-size: 48px; line-height: 46px; }
	.hwd-heard { padding: 40px 20px 28px; }
	.hwd-tl--v { gap: 28px; }

	.hwd-docs-band { padding-top: 64px; padding-bottom: 64px; }
	.hwd-docs-band .hwd-title { margin-bottom: 36px; }
	.hwd-docs { gap: 40px; }
	.hwd-docs__heading { margin-bottom: 16px; }
	.hwd-docs__list { gap: 16px; }
	.hwd-docs__title { font-size: 17px; line-height: 22px; }

	.hwd-faqs { padding-bottom: 64px; }
	.hwd-faqs .hwd-title { margin-bottom: 28px; }
	.hwd-faq-group + .hwd-faq-group { margin-top: 40px; }
	.hwd-faq-group .hwd-h2 { margin-bottom: 18px; }
	.hwd-faqs .wp-block-details summary { font-size: 18px; line-height: 24px; padding: 14px 16px; }
	.hwd-faqs .wp-block-details > :not(summary) { padding-inline: 16px; }
	.hwd-faqs .wp-block-details > summary + * { padding-top: 18px; }

	.hwd-footer { padding: 28px 32px 48px; }
	.hwd-footer__inner { flex-direction: column; text-align: center; gap: 12px; }
	.hwd-footer__logo { width: 218px; }
	.hwd-footer__links { font-size: 14px; line-height: 24px; }
	.hwd-footer__legal { display: block; margin-top: 8px; white-space: nowrap; }
	.hwd-footer__sep { display: none; }
	.hwd-page__title { font-size: 36px; line-height: 42px; }
}

@media (max-width: 420px) {
	.hwd-donut__stats { grid-template-columns: 1fr; }
	.hwd-stat { flex-direction: row; align-items: center; gap: 16px; }
	.hwd-stat__num { min-width: 96px; }
}

/* ============================================================ motion
   Only active when site.js adds .hwd-motion to <html> (JS on, and the visitor has not asked for
   reduced motion). Without it every element below is shown in its final state. Opacity and
   transform only, so nothing shifts the layout. Each element animates once, on first view. */
:root { --ease-out: cubic-bezier(.22, .8, .24, 1); --ease-pop: cubic-bezier(.34, 1.4, .64, 1); }
.hwd-stat__num, .hwd-donut__num, .hwd-engage__stat strong { font-variant-numeric: tabular-nums; }

/* Generic reveal: fade and rise 16px. --d staggers siblings. */
.hwd-motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.hwd-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Donut: the ring scales up slightly while the arcs draw (arcs are animated in site.js). */
.hwd-motion .hwd-donut .hwd-donut__ring { transform: scale(.94) rotate(-8deg); opacity: 0; transition: transform .9s var(--ease-out), opacity .4s linear; }
.hwd-motion .hwd-donut.is-in .hwd-donut__ring { transform: none; opacity: 1; }
.hwd-motion .hwd-stat, .hwd-motion .hwd-donut__total { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: var(--d, 0ms); }
.hwd-motion .hwd-donut.is-in .hwd-stat, .hwd-motion .hwd-donut.is-in .hwd-donut__total { opacity: 1; transform: none; }

/* Goals: icons lift in one after another. */
.hwd-motion .hwd-goals__list li { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: var(--d, 0ms); }
.hwd-motion .hwd-goals__list.is-in li { opacity: 1; transform: none; }
.hwd-goal-icon { transition: transform .3s var(--ease-out); }
.hwd-goals__list li:hover .hwd-goal-icon { transform: translateY(-4px); }

/* Timelines: the line draws, then each dot pops and its text rises. */
.hwd-motion .hwd-tl--h::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--ease-out); }
.hwd-motion .hwd-tl--h::after { opacity: 0; transition: opacity .3s linear 1s; }
.hwd-motion .hwd-tl--v::before { transform: scaleY(0); transform-origin: top center; transition: transform 1.3s var(--ease-out); }
.hwd-motion .hwd-tl.is-in::before { transform: none; }
.hwd-motion .hwd-tl.is-in::after { opacity: 1; }
.hwd-motion .hwd-tl .hwd-tl__item > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 120ms); }
.hwd-motion .hwd-tl .hwd-tl__item::before { transform: scale(0); transition: transform .45s var(--ease-pop); transition-delay: var(--d, 0ms); }
.hwd-motion .hwd-tl--h .hwd-tl__item::before { transform: translateX(-50%) scale(0); }
.hwd-motion .hwd-tl.is-in .hwd-tl__item > * { opacity: 1; transform: none; }
.hwd-motion .hwd-tl.is-in .hwd-tl__item::before { transform: none; }
.hwd-motion .hwd-tl--h.is-in .hwd-tl__item::before { transform: translateX(-50%); }
/* "We are here" dot: three soft pulses after it appears, then still. */
.hwd-tl__item.is-current::after { content: ""; position: absolute; box-sizing: border-box; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--green); opacity: 0; pointer-events: none; }
.hwd-tl--h .hwd-tl__item.is-current::after { left: 50%; top: -36px; margin-left: -13px; }
.hwd-tl--v .hwd-tl__item.is-current::after { left: -36px; top: 0; }
.hwd-motion .hwd-tl.is-in .hwd-tl__item.is-current::after { animation: hwd-pulse 1.6s var(--ease-out) calc(var(--d, 0ms) + 500ms) 3; }
@keyframes hwd-pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.1); } }

/* Get Involved: stat panel and card. */
.hwd-motion .hwd-engage__stats { transform-origin: bottom center; }

/* FAQ: answers open smoothly where the browser supports animating to auto height. */
@supports (interpolate-size: allow-keywords) {
	.hwd-motion { interpolate-size: allow-keywords; }
	.hwd-motion .hwd-faqs .wp-block-details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
	.hwd-motion .hwd-faqs .wp-block-details[open]::details-content { height: auto; }
}
.hwd-faqs .wp-block-details summary { transition: background-color .2s; }
.hwd-faqs .wp-block-details summary::after { transition: transform .25s var(--ease-out); }
.hwd-faqs .wp-block-details[open] summary::after { transform: rotate(180deg); }

/* Cards and document links: small, quick hover feedback. */
.hwd-card { transition: transform .25s var(--ease-out), border-color .25s; }
.hwd-card:hover { transform: translateY(-2px); border-color: var(--green); }
.hwd-docs__icon { transition: transform .2s var(--ease-out); }
.hwd-docs__link:hover .hwd-docs__icon { transform: translateY(-2px); }
.hwd-btn { transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--ease-out); }
.hwd-btn:active { transform: scale(.98); }

/* Dialog: fade and settle. */
.hwd-dialog[open] { animation: hwd-dialog-in .25s var(--ease-out); }
.hwd-dialog[open]::backdrop { animation: hwd-fade .25s linear; }
@keyframes hwd-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hwd-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 820px) {
	/* The History timeline is vertical on phones, so its line draws downward. */
	.hwd-motion .hwd-tl--h::before { transform: scaleY(0); transform-origin: top center; }
	.hwd-tl--h .hwd-tl__item.is-current::after { left: -40px; top: 0; margin-left: 0; }
	.hwd-motion .hwd-tl--h .hwd-tl__item::before { transform: scale(0); }
	.hwd-motion .hwd-tl--h.is-in .hwd-tl__item::before { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
	.hwd-tl__item::before, .hwd-tl--h::before, .hwd-tl--v::before { background: CanvasText; forced-color-adjust: none; }
	.hwd-faqs .wp-block-details summary { border: 1px solid CanvasText; }
}
