@charset "UTF-8";
/* ============================================================
   1. CSS CUSTOM PROPERTIES — Bridge (direct assignment only)
   ============================================================ */
:root {
  --font1: "Source Sans 3", system-ui, sans-serif;
  --font2: Merriweather;
  --font3: "Source Sans 3", system-ui, sans-serif;
  --font-code: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --f1: 47px;
  --f2: 37px;
  --f3: 29px;
  --f4: 23px;
  --f5: 18px;
  --f6: 14px;
  --g1: 73px;
  --g2: 58px;
  --g3: 47px;
  --g4: 38px;
  --g5: 31px;
  --g6: 25px;
  --x1: 50px;
  --x2: 31px;
  --x3: 19px;
  --x4: 12px;
  --x5: 7px;
  --x6: 4px;
  --w-content: 672px;
  --w-total: 1100px;
  --gutter-full: 40px;
  --gutter-mobile: 20px;
  --phi: 1.618;
  --bg1: #FFFFFFFF;
  --bg2: #F8F5F0FF;
  --c1: #1A1A1AFF;
  --c2: #666666FF;
  --ca: #2E6E8EFF;
  /* secondary + font-size are NOT in PM css_vars -> literal, never @if */
  --secondary: #D8D0C8;
  --font-size: 18px;
  --green-dark: #2C4A2EFF;
  --green-mid: #3D6B40FF;
  --green-light: #EAF0E6FF;
  --green-hero-end: #4A7A50FF;
  --earth-dark: #6B4F35FF;
  --earth-mid: #A07850FF;
  --earth-light: #F5EFE6FF;
  --earth-btn-hover: #573F2AFF;
  --coastal-blue: #2E6E8EFF;
  --coastal-blue-hover: #235970FF;
  --coastal-light: #E6F2F7FF;
  --stone: #F8F5F0FF;
  --text-mid: #3A3A3AFF;
  --border: #D8D0C8FF;
  --emergency-red: #C0392BFF;
  --emergency-bg: #FDF2F0FF;
  --emergency-card-border: #E8C8C4FF;
  --nwatch-navy: #1A3350FF;
  --alert-red: #E74C3CFF;
  --label-watch-bg: #FEF3CDFF;
  --label-watch-c: #7D5A00FF;
  --label-info-c: #1A4F6EFF;
  --placeholder-grey: #888888FF;
  /* composite design tokens (not individual design options) */
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

/* ============================================================
   2. RESET
   ============================================================ */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4 {
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  word-break: normal;
}

img, fieldset {
  border: 0;
}

abbr {
  text-decoration: none;
}

code {
  line-height: 1em;
}

pre {
  overflow: auto;
  word-wrap: normal;
  tab-size: 4;
}

sub, sup {
  line-height: 0.5em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe, video, embed, object {
  display: block;
  max-width: 100%;
}

.left, .right, .center {
  display: block;
}

.center {
  float: none;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

button, input[type=submit] {
  cursor: pointer;
  overflow: visible;
}

/* ============================================================
   3. BODY & STRUCTURAL FOUNDATIONS
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  background-color: var(--bg1);
  overflow-x: hidden;
}

::selection {
  background-color: var(--green-light);
  color: var(--green-dark);
}

.container {
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}

@media all and (min-width: 36em) {
  .container {
    padding-left: var(--gutter-full);
    padding-right: var(--gutter-full);
  }
}
.text {
  max-width: var(--w-content);
}

.section {
  padding-top: var(--x1);
  padding-bottom: var(--x1);
}

.section--alt {
  background-color: var(--bg2);
}

.section--green {
  background-color: var(--green-dark);
  color: var(--bg1);
}

.section--earth {
  background-color: var(--earth-light);
}

.section--blue {
  background-color: var(--coastal-light);
}

.section-title {
  font-family: var(--font2);
  font-size: var(--f3);
  line-height: var(--g3);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: var(--x5);
}

.section-subtitle {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c2);
  margin-bottom: var(--x2);
}

/* ============================================================
   4. COMMON CONTENT ELEMENTS (global — no content-flow margins)
   ============================================================ */
h1 {
  font-family: var(--font2);
  font-size: var(--f2);
  line-height: var(--g2);
  font-weight: 700;
  color: var(--green-dark);
}

h2 {
  font-family: var(--font2);
  font-size: var(--f3);
  line-height: var(--g3);
  font-weight: 700;
  color: var(--green-dark);
}

h3 {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 700;
  color: var(--green-dark);
}

h4 {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--green-dark);
}

a {
  color: var(--ca);
  text-decoration: none;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

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

blockquote {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  color: var(--text-mid);
  padding-left: var(--x3);
  border-left: var(--x5) solid var(--green-light);
}

blockquote > :last-child {
  margin-bottom: 0;
}

sub, sup {
  color: var(--c2);
}

code, pre, kbd {
  font-family: var(--font-code);
  font-size: var(--f6);
  line-height: var(--g6);
}

code {
  background-color: rgba(0, 0, 0, 0.08);
  padding: var(--x6);
  border-radius: var(--x5);
  margin: 0 1px;
}

pre {
  color: var(--c1);
  background-color: var(--bg2);
  padding: var(--x3);
  border-radius: 0 var(--x4) var(--x4) 0;
  border-left: var(--x5) solid rgba(0, 0, 0, 0.1);
}

hr {
  border: 0;
  border-bottom: 1px solid var(--border);
  margin: var(--x2) 0;
}

svg {
  width: var(--f5);
  height: var(--f5);
  vertical-align: text-bottom;
}

.small {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

.caption {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

.drop-cap {
  font-family: var(--font2);
  font-size: calc(var(--x2) * 2);
  line-height: 1em;
  font-weight: 700;
  color: var(--green-dark);
  margin-right: var(--x5);
  float: left;
}

.highlight {
  background-color: var(--label-watch-bg);
  padding: var(--x6) 0;
}

.impact {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 700;
  color: var(--green-dark);
}

.pop {
  box-shadow: 0 0 var(--x4) rgba(0, 0, 0, 0.4);
}

.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-mid);
  border-radius: 0 var(--x4) var(--x4) 0;
}

.callout.alert {
  border-left-color: var(--emergency-red);
}

.callout.note {
  border-left-color: var(--coastal-blue);
}

p:last-child, ul:last-child, ol:last-child, blockquote:last-child, pre:last-child, img:last-child, .callout:last-child, .caption:last-child {
  margin-bottom: 0;
}

@media all and (min-width: 40em) {
  h1 {
    font-size: var(--f1);
    line-height: var(--g1);
  }
  h2 {
    font-size: var(--f2);
    line-height: var(--g2);
  }
  h3 {
    font-size: var(--f3);
    line-height: var(--g3);
  }
  h4 {
    font-size: var(--f4);
    line-height: var(--g4);
  }
  .impact {
    font-size: var(--f3);
    line-height: var(--g3);
  }
  .left:not(.bar) {
    float: left;
    clear: both;
    margin-right: var(--x2);
  }
  .right:not(.bar) {
    float: right;
    clear: both;
    margin-left: var(--x2);
  }
}
/* ============================================================
   5. DYNAMIC CONTENT ELEMENTS (.page-content scoped)
   ============================================================ */
.page-container + .page-container {
  margin-top: var(--x1);
}

.page-content h1 {
  margin-bottom: var(--x2);
}

.page-content h2 {
  margin-top: var(--x1);
  margin-bottom: var(--x2);
}

.page-content h3 {
  margin-top: var(--x2);
  margin-bottom: var(--x3);
}

.page-content h4 {
  margin-bottom: var(--x4);
}

.page-content h1 + h2, .page-content h2 + h3, .page-content h1:first-child, .page-content h2:first-child, .page-content h3:first-child, .page-content hr + h2 {
  margin-top: 0;
}

.page-content > :last-child {
  margin-bottom: 0;
}

.page-content ul ul, .page-content ul ol, .page-content ol ul, .page-content ol ol {
  margin-bottom: 0;
}

.page-content li:last-child {
  margin-bottom: 0;
}

.page-content .callout > :last-child {
  margin-bottom: 0;
}

h3 + .page-content .caption {
  margin-bottom: var(--x3);
}

.page-content p, .page-content ul, .page-content ol, .page-content blockquote, .page-content pre, .page-content img, .page-content .callout, .page-content .caption {
  margin-bottom: var(--x2);
}

.page-content p:last-child, .page-content ul:last-child, .page-content ol:last-child, .page-content blockquote:last-child, .page-content pre:last-child, .page-content img:last-child, .page-content .callout:last-child, .page-content .caption:last-child {
  margin-bottom: 0;
}

.page-title {
  font-family: var(--font2);
  font-weight: 700;
}

.page-title a {
  color: var(--c1);
}

.page-title a:hover {
  color: var(--ca);
}

.page-title:has(+ .byline) {
  margin-bottom: 0;
}

.byline {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
  margin-bottom: var(--x2);
}

.page-container, .headline-area, .page-content {
  display: flow-root;
}

.page-content + .modular-content {
  margin-top: var(--x2);
}

.modular-content > :last-child {
  margin-bottom: 0;
}

/* ============================================================
   6. FORMS
   ============================================================ */
label {
  display: block;
  font-weight: 600;
}

label .required {
  font-weight: normal;
}

input, textarea, select {
  display: block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  line-height: 1em;
  font-weight: inherit;
  border: 1px solid var(--border);
  border-radius: var(--x5);
  background-color: var(--bg1);
  transition: border-color 0.2s ease;
}

input[type=checkbox], input[type=radio], input[type=image], input[type=submit], select {
  width: auto;
}

input[type=checkbox], input[type=radio] {
  display: inline-block;
}

input[type=checkbox] + label, input[type=radio] + label {
  display: inline;
  font-weight: normal;
  margin-left: var(--x6);
  user-select: none;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--ca);
}

textarea {
  line-height: inherit;
  border: 1px solid var(--border);
  resize: vertical;
}

select {
  border: 1px solid var(--border);
}

button, input[type=submit], .button {
  display: inline-block;
  width: auto;
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: 1em;
  font-weight: 600;
  vertical-align: top;
  text-decoration: none;
  border: none;
  border-radius: var(--x5);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover, button:active, input[type=submit]:hover, input[type=submit]:active, .button:hover, .button:active {
  text-decoration: none;
  transform: translateY(-1px);
}

button svg, input[type=submit] svg, .button svg {
  vertical-align: inherit;
}

/* ============================================================
   7. SHARED COMPONENT STYLES (nav, footer, button modifiers)
   ============================================================ */
.btn {
  display: inline-block;
  padding: var(--x5) var(--x3);
  border-radius: var(--x5);
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: 1em;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn.btn--primary {
  background-color: var(--green-mid);
  color: var(--bg1);
}

.btn.btn--primary:hover {
  background-color: var(--green-dark);
}

.btn.btn--secondary {
  background-color: var(--coastal-blue);
  color: var(--bg1);
}

.btn.btn--secondary:hover {
  background-color: var(--coastal-blue-hover);
}

.btn.btn--earth {
  background-color: var(--earth-dark);
  color: var(--bg1);
}

.btn.btn--earth:hover {
  background-color: var(--earth-btn-hover);
}

.btn.btn--outline {
  background-color: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: calc(var(--x5) - 2px) calc(var(--x3) - 2px);
}

.btn.btn--outline:hover {
  background-color: var(--green-dark);
  color: var(--bg1);
}

.btn.btn--white {
  background-color: var(--bg1);
  color: var(--green-dark);
  font-weight: 700;
}

.btn.btn--white:hover {
  background-color: var(--green-light);
}

.btn.btn--alert {
  background-color: var(--alert-red);
  color: var(--bg1);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn.btn--alert:hover {
  background-color: var(--emergency-red);
}

.btn--outline-light {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--bg1);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav {
  background-color: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
  height: 64px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-main {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--bg1);
}

.nav__logo-sub {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__toggle {
  display: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--x5);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--bg1);
  transition: all 0.3s ease;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: var(--x6);
  align-items: center;
  margin-bottom: 0;
}

.nav__menu a {
  display: block;
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: var(--x5) var(--x4);
  border-radius: var(--x5);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__menu a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--bg1);
  text-decoration: none;
}

@media all and (max-width: 36em) {
  .nav__hamburger {
    display: flex;
  }
  .nav__menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--green-dark);
    flex-direction: column;
    padding: var(--x3) var(--gutter-mobile) var(--x2);
    gap: var(--x6);
    box-shadow: var(--shadow-lg);
  }
  .nav__menu a {
    font-size: var(--f5);
    line-height: var(--g5);
    padding: var(--x5) var(--x4);
  }
  .nav__toggle:checked ~ .nav__inner .nav__menu {
    display: flex;
  }
  .nav__toggle:checked ~ .nav__inner .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle:checked ~ .nav__inner .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle:checked ~ .nav__inner .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
.footer {
  background-color: var(--c1);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--x1);
  padding-bottom: var(--x2);
}

.footer__inner {
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--x2);
  margin-bottom: var(--x2);
}

.footer__brand-name {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--bg1);
  margin-bottom: var(--x5);
}

.footer__brand-desc {
  font-size: var(--f6);
  line-height: var(--g6);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font2);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 700;
  color: var(--bg1);
  margin-bottom: var(--x5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--x5);
  margin-bottom: 0;
}

.footer__links a {
  font-size: var(--f6);
  line-height: var(--g6);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--bg1);
  text-decoration: none;
}

.footer__divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--x3);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--x5);
  font-size: var(--f6);
  line-height: var(--g6);
}

.footer__social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 600;
}

.footer__social a:hover {
  color: var(--bg1);
}

.footer__emergency-group {
  margin-top: var(--x4);
}

@media all and (max-width: 40em) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--x2);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ============================================================
   8. HOME TEMPLATE SECTIONS (top to bottom)
   ============================================================ */
/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-hero-end) 100%);
  color: var(--bg1);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}

.hero__badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--x5) var(--x4);
  border-radius: 20px;
  margin-bottom: var(--x3);
}

.hero__title {
  font-family: var(--font2);
  font-size: clamp(var(--f3), 4vw, var(--f1));
  line-height: clamp(var(--g3), 5vw, var(--g1));
  font-weight: 700;
  color: var(--bg1);
  margin-bottom: var(--x5);
  max-width: 700px;
}

.hero__divider {
  width: 50px;
  height: 3px;
  background-color: var(--earth-mid);
  margin-bottom: var(--x2);
  border-radius: 2px;
}

.hero__subtitle {
  font-size: clamp(var(--f5), 2vw, var(--f4));
  line-height: clamp(var(--g5), 3vw, var(--g4));
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-bottom: var(--x2);
}

.hero__cta {
  display: flex;
  gap: var(--x3);
  flex-wrap: wrap;
}

/* --- Emergency Banner --- */
.emergency {
  background-color: var(--emergency-bg);
  border-top: 4px solid var(--emergency-red);
  padding-top: var(--x2);
  padding-bottom: var(--x2);
}

.emergency__inner {
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}

.emergency__header {
  display: flex;
  align-items: center;
  gap: var(--x5);
  margin-bottom: var(--x3);
}

.emergency__icon {
  width: 44px;
  height: 44px;
  background-color: var(--emergency-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--f4);
  line-height: 1em;
}

.emergency__title {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 700;
  color: var(--emergency-red);
}

.emergency__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--x3);
}

.emergency__card {
  background-color: var(--bg1);
  border: 1px solid var(--emergency-card-border);
  border-radius: var(--x5);
  padding: var(--x3) var(--x2);
}

.emergency__card .emergency__card-title {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--emergency-red);
  margin-bottom: var(--x5);
}

.emergency__card p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--text-mid);
  margin-bottom: var(--x5);
}

.emergency__card p:last-child {
  margin-bottom: 0;
}

.emergency__card strong {
  color: var(--c1);
}

.emergency__card .emergency__note {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--placeholder-grey);
}

/* --- Latest Updates --- */
.updates__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--x2);
}

.update-card {
  background-color: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--x5);
  padding: var(--x2);
  box-shadow: var(--shadow);
}

.update-card .update-card__label {
  display: inline-block;
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: var(--x6) var(--x5);
  border-radius: var(--x6);
  margin-bottom: var(--x5);
}

.update-card .update-card__label.update-card__label--watch {
  background-color: var(--label-watch-bg);
  color: var(--label-watch-c);
}

.update-card .update-card__label.update-card__label--info {
  background-color: var(--coastal-light);
  color: var(--label-info-c);
}

.update-card .update-card__date {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
  margin-bottom: var(--x5);
}

.update-card .update-card__title {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: var(--x5);
}

.update-card p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--text-mid);
}

.update-card .update-card__more {
  display: inline-block;
  margin-top: var(--x5);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 600;
  color: var(--coastal-blue);
}

/* --- Quick Links --- */
.quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--x3);
}

.quicklink {
  background-color: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--x5);
  padding: var(--x2) var(--x3);
  text-align: center;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.quicklink:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.quicklink .quicklink__icon {
  font-size: var(--f2);
  line-height: 1em;
  margin-bottom: var(--x5);
  display: block;
}

.quicklink .quicklink__title {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: var(--x6);
}

.quicklink .quicklink__desc {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

/* --- About Strip --- */
.about-strip {
  background-color: var(--green-dark);
  color: var(--bg1);
  padding-top: var(--x1);
  padding-bottom: var(--x1);
}

.about-strip__inner {
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--x2);
  align-items: center;
}

.about-strip__inner h2 {
  color: var(--bg1);
  font-size: var(--f3);
  line-height: var(--g3);
  margin-bottom: var(--x5);
}

.about-strip__inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--f5);
  line-height: var(--g5);
  max-width: 680px;
}

.about-strip__cta {
  flex-shrink: 0;
}

/* --- Trades Preview --- */
.trades__intro {
  max-width: 620px;
  margin-bottom: var(--x2);
}

.trades__intro p {
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--text-mid);
}

.trades__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--x3);
  margin-bottom: var(--x2);
}

.trade-card {
  background-color: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--x5);
  padding: var(--x3);
  text-align: center;
  box-shadow: var(--shadow);
}

.trade-card .trade-card__logo {
  width: 80px;
  height: 60px;
  background-color: var(--green-light);
  border-radius: var(--x6);
  margin: 0 auto var(--x5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--f6);
  line-height: 1em;
  color: var(--green-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trade-card .trade-card__category {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--earth-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--x6);
}

.trade-card .trade-card__name {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: var(--x5);
}

.trade-card .trade-card__contact {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--text-mid);
}

.trade-card .trade-card__contact a {
  color: var(--coastal-blue);
  font-weight: 600;
}

/* --- Neighbourhood Watch Strip --- */
.nwatch {
  background-color: var(--nwatch-navy);
  color: var(--bg1);
  padding-top: var(--x1);
  padding-bottom: var(--x1);
}

.nwatch__inner {
  max-width: var(--w-total);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--x2);
  align-items: center;
}

.nwatch__inner h2 {
  color: var(--bg1);
  font-size: var(--f4);
  line-height: var(--g4);
  margin-bottom: var(--x5);
}

.nwatch__inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--f5);
  line-height: var(--g5);
}

.nwatch__badge {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--f2);
  line-height: 1em;
  flex-shrink: 0;
}

/* --- Local Links --- */
.locallinks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--x3);
}

.locallink {
  background-color: var(--bg1);
  border: 1px solid var(--border);
  border-left: 4px solid var(--coastal-blue);
  border-radius: var(--x5);
  padding: var(--x3) var(--x2);
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.locallink:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}

.locallink .locallink__title {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: var(--x6);
}

.locallink .locallink__desc {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

.locallink .locallink__arrow {
  display: inline-block;
  margin-top: var(--x5);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--coastal-blue);
  font-weight: 600;
}

/* ============================================================
   9. RESPONSIVE OVERRIDES (home component grids)
   ============================================================ */
@media all and (max-width: 36em) {
  .quicklinks__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nwatch__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nwatch__badge {
    margin-left: auto;
    margin-right: auto;
  }
}
@media all and (max-width: 40em) {
  .emergency__grid {
    grid-template-columns: 1fr;
  }
  .updates__grid {
    grid-template-columns: 1fr;
  }
  .trades__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .locallinks__grid {
    grid-template-columns: 1fr;
  }
  .about-strip__inner {
    grid-template-columns: 1fr;
  }
}
@media all and (max-width: 48em) {
  .quicklinks__grid {
    grid-template-columns: 1fr;
  }
  .trades__grid {
    grid-template-columns: 1fr;
  }
}
/* === QA fixes 2026-06-02 batch 2: hero CTA + nav controls (delete from here down to revert) === */
/* rank 8: hero secondary CTA legible (white on the dark-green hero) */
.btn.btn--outline.btn--outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn.btn--outline.btn--outline-light:hover {
  color: #ffffff;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

/* rank 5: stop the generic form reset rendering the nav checkbox + hamburger on desktop */
.nav .nav__toggle {
  display: none;
}

.nav .nav__hamburger {
  display: none;
}

/* rank 5: re-show the hamburger below 36em and make the menu actually open (corrected sibling selector) */
@media all and (max-width: 36em) {
  .nav .nav__hamburger {
    display: flex;
  }
  .nav__toggle:checked ~ .nav__menu {
    display: flex;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* === QA fixes 2026-06-02 batch 3: page templates use the centred 1100 column === */
.page-main-page.text {
  max-width: none;
}

/* === QA fixes 2026-06-02 batch 4: hero photo with dark-green overlay for text legibility === */
.hero {
  background-color: var(--green-dark);
  background-image: linear-gradient(105deg, rgba(28, 46, 30, 0.93) 0%, rgba(30, 52, 33, 0.82) 42%, rgba(44, 74, 46, 0.55) 100%), url("/user-content/themes/worlebury/images/worlebury-hero.webp");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}