/* THE PICTURES CARRY A VERSION NUMBER. Nothing in a page changes when the
   artwork behind it is replaced, so a browser that already holds the old
   drawing keeps showing it - which is exactly what happened when the coral
   accent was strengthened and nobody could see it. Raise the number here
   whenever a banner file is rebuilt. */
/* Accelerate Renewables - shared styles.
   Altiorem palette and Raleway. Coral is rationed: hero rules and primary buttons only. */
:root {
  --bg: #ffffff;
  --band-soft: #dfebef;
  --band-warm: #f3eee4;
  --ink: #000023;
  /* Light grey-blue on the sandy background came out at about 3.2 to 1, under
     the 4.5 to 1 that ordinary text needs to stay readable. This is 5.5 to 1
     and still clearly quieter than the navy. */
  --muted: #45646f;
  --accent: #ff784f;
  --olive: #acbb48;
  --line: #b9d7e1;
  --field-bg: #ffffff;
  --header: #000023;
  --header-ink: #f3eee4;
  /* the colour of the sky at the TOP of the turbine banner; the menu wears it
     so the two meet with no step, and the drawing keeps its gradient */
  --header-top: #111232;
  --header-muted: #b9d7e1;
  --header-line: #2a2f5c;
  --font: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000023; --band-soft: #101440; --band-warm: #0b0e2e;
    --ink: #f3eee4; --muted: #b9d7e1; --accent: #ff784f; --olive: #bece4f;
    --line: #3a4170; --field-bg: #171a44; color-scheme: dark;
    --header: #101440; --header-ink: #f3eee4; --header-muted: #b9d7e1; --header-line: #3a4170;
  }
}
:root[data-theme="dark"] {
  --bg: #000023; --band-soft: #101440; --band-warm: #0b0e2e;
  --ink: #f3eee4; --muted: #b9d7e1; --accent: #ff784f; --olive: #bece4f;
  --line: #3a4170; --field-bg: #171a44; color-scheme: dark;
    --header: #101440; --header-ink: #f3eee4; --header-muted: #b9d7e1; --header-line: #3a4170;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
.inner {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 56px;
}
.inner.tight { padding-block: 40px; }
@media (max-width: 600px) { .inner { padding-block: 44px; } }
.band { width: 100%; }
.band-soft { background: var(--band-soft); }
.band-warm { background: var(--band-warm); }
.band-plain { background: var(--bg); }

/* Masthead */
/* The masthead carries the same background as the band beneath it, so the two
   read as one block rather than a white strip above a coloured one. */
/* The menu is pinned to the top of the window. It sits ABOVE the banner rather
   than inside it, because an element can only stay pinned within its own
   container. It takes the colour of the top of the banner's sky, so the two
   meet with no step and the drawing keeps its gradient. */
.masthead { background: var(--header-top); position: sticky; top: 0; z-index: 20; }
.masthead .inner { padding-block: 14px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.wordmark {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-inline: auto; justify-content: center; }
.nav a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--header-muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--header-ink); }
.nav a[aria-current="page"] { color: var(--header-ink); border-bottom-color: var(--accent); }

/* Page head */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
h1 {
  font-size: clamp(32px, 5.5vw, 52px); line-height: 1.05; font-weight: 700;
  letter-spacing: -0.5px; text-transform: uppercase; text-wrap: balance; margin: 0;
}
.rule { width: 76px; height: 5px; background: var(--accent); margin: 24px 0; }
.lead {
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; font-weight: 500;
  max-width: 34em; margin: 0 0 16px;
}
h2 {
  font-size: 20px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; margin: 0 0 8px; text-wrap: balance;
}
h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 46em; }

/* Photographs */
figure.shot { margin: 0; }
figure.shot img { display: block; width: 100%; height: auto; }
figure.shot figcaption {
  max-width: 1200px; margin: 0 auto; padding-block: 10px 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  font-size: 12px; color: var(--muted);
}

/* Wireframe placeholders - anything not built yet */
.ph {
  border: 2px dashed var(--line); background: transparent;
  padding: 22px; display: grid; gap: 6px; align-content: center;
  min-height: 120px; border-radius: 0;
}
.ph .ph-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent);
}
.ph p { margin: 0; font-size: 14px; color: var(--muted); }
.ph.tall { min-height: 320px; }
.ph.chart { min-height: 260px; }

/* Grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Boxes stand apart on navy. They used to be pale panels divided by hairlines,
   which read as one grey slab rather than a set of separate things. Each box is
   now its own navy card with clear space around it, the label in coral and the
   body in pale blue. */
.card { border: 0; padding: 24px 22px; display: grid; gap: 8px; align-content: start;
  background: var(--ink); color: var(--bg); }
.card h3, .card h4 { color: var(--bg); }
.card p { margin: 0; font-size: 15px; color: #c9d9df; }
.card a { color: var(--bg); }
.card .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent);
}
/* A card that asks the reader to do something needs somewhere to click. Added
   23 Nov 2026: the three Get involved cards named an action and offered no way
   to take it. */
.card .cardgo { justify-self: start; margin-top: 4px; font-size: 13px; font-weight: 600;
  color: var(--accent); text-decoration: none; border-bottom: 2px solid var(--accent); }
.card .cardgo:hover { background: var(--accent); color: var(--ink); }
/* The partner cards keep the pale ground: two of the three lockups are drawn in
   navy and would disappear on it. */
.partners .card { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.partners .card h3 { color: var(--ink); }
.partners .card p { color: var(--muted); }
.partners .card a, .partners .card .tag a { color: var(--muted); }
.partners .card .tag { color: var(--muted); }

.stat { border-top: 3px solid var(--accent); padding-top: 14px; display: grid; gap: 4px; }
.stat .n { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13px; color: var(--muted); }

/* Section pointers */
ol.sections { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; }
ol.sections li { counter-increment: s; border-top: 1px solid var(--line); }
ol.sections li:last-child { border-bottom: 1px solid var(--line); }
ol.sections a {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline;
  padding: 18px 0; text-decoration: none;
}
ol.sections a:hover { background: var(--band-soft); }
ol.sections a::before {
  content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600;
  letter-spacing: 1px; color: var(--muted); font-variant-numeric: tabular-nums;
}
ol.sections b { font-weight: 600; }
ol.sections span { display: block; color: var(--muted); font-size: 15px; font-weight: 400; }
ol.sections .go { color: var(--accent); font-weight: 700; font-size: 20px; line-height: 1; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li {
  font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted); padding: 6px 12px;
}
.chips li[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Form */
form.signup { display: grid; gap: 14px; max-width: 460px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="email"] {
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--field-bg); border: 1px solid var(--line);
  border-radius: 0; padding: 12px 14px; width: 100%; min-width: 0;
}
input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
button {
  font-family: var(--font); font-size: 14px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase; color: #000023;
  background: var(--accent); border: none; border-radius: 0;
  padding: 12px 24px; cursor: pointer; justify-self: start;
}
button:hover { filter: brightness(1.06); }

/* A link that is really a call to action. The site had no such thing, so the
   two mapper links sat in the small print under the chart and read as
   footnotes rather than the invitation they are. Same shape as the sign-up
   button, so a button is a button wherever it appears. */
.btn {
  display: inline-block; font-size: 14px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none;
  color: #000023; background: var(--accent); border: 1px solid var(--accent);
  padding: 12px 24px; cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); filter: none; }
button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.consent { font-size: 13px; color: var(--muted); max-width: 34em; margin: 0; }
.consent a { color: var(--muted); }
.formerror { font-size: 14px; color: #a8321a; max-width: 34em; margin: 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { border-left: 4px solid var(--olive); padding: 14px 18px; background: var(--bg); max-width: 460px; }
.thanks p { margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); }
footer .inner { padding-block: 32px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.foot p { margin: 0; }
.foot a { color: var(--muted); }
.plate { background: #ffffff; border: 1px solid var(--line); height: 92px; display: grid; place-items: center; padding: 14px 18px; }
.plogo { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.plogo-alt { height: 54px; width: auto; }
.plogo-cef { height: 52px; width: auto; max-width: 150px; }
/* Greenhouse is a wide wordmark rather than a stacked lockup, so it is held to
   a width as well as a height, otherwise it reads much larger than the other
   two beside it. */
.plogo-gh { height: 40px; width: auto; max-width: 200px; }
.plates .plate { text-decoration: none; }
.plates .plate:hover img { opacity: .8; }
.plates .plate img { transition: opacity .15s ease; }

/* Staging banner - only appears on preview hosts, never on the live site */
.staging-note {
  background: var(--olive); color: #000023; font-size: 13px; font-weight: 600;
  text-align: center; padding: 8px 16px;
}

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

/* navigation with drop-down sub-menus */
.masthead .inner { position:relative; }
.masthead .nav { display:flex; flex-wrap:wrap; align-items:center; }
.masthead .nav a[aria-current="page"] { color:var(--header-ink); }
.has-sub { position:relative; display:inline-flex; }
.has-sub > .parent { display:inline-flex; align-items:center; gap:6px; }
.caret { width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent;
         border-top:5px solid currentColor; opacity:.65; transition:transform .12s; }
.has-sub.open > .parent .caret { transform:rotate(180deg); }
.has-sub > .menu {
  display:none; position:absolute; top:100%; left:0; z-index:40; min-width:230px;
  background:var(--header); border:1px solid var(--header-line); border-top:3px solid var(--accent);
  box-shadow:0 10px 28px rgba(0,0,35,.14); padding:6px 0;
}
.has-sub:hover > .menu, .has-sub:focus-within > .menu, .has-sub.open > .menu { display:block; }
.has-sub > .menu a {
  display:block; padding:9px 18px; margin:0; font-size:12px; font-weight:600;
  letter-spacing:.4px; text-transform:uppercase; color:var(--header-muted); white-space:nowrap;
  border-bottom:none;
}
.has-sub > .menu a:hover { background:rgba(255,255,255,.07); color:var(--header-ink); }
.has-sub > .menu a[aria-current="page"] { color:var(--header-ink); box-shadow:inset 3px 0 0 var(--accent); }
@media (max-width:760px) {
  .has-sub { display:block; width:100%; }
  .has-sub > .menu { position:static; min-width:0; box-shadow:none; border:none;
                     border-left:3px solid var(--accent); margin:2px 0 6px 10px; padding:2px 0; }
  .has-sub:hover > .menu { display:none; }
  .has-sub.open > .menu { display:block; }
  .has-sub > .menu a { padding:7px 14px; }
}

/* multi-select filter drop-downs */
.filters { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-start; margin:0 0 20px; }
.dd { position:relative; }
.dd-btn { font-family:var(--font); background:var(--bg); border:1px solid var(--line); color:var(--ink);
          padding:7px 12px; cursor:pointer; border-radius:0; text-transform:none; letter-spacing:normal;
          display:grid; grid-template-columns:1fr auto; gap:0 10px; align-items:center; text-align:left; min-width:180px; }
.dd-btn:hover { border-color:var(--ink); }
.dd-btn.chosen { border-color:var(--accent); box-shadow:inset 0 -2px 0 var(--accent); }
.dd-cap { grid-column:1/-1; font-size:10px; font-weight:700; letter-spacing:1.1px; text-transform:uppercase;
          color:var(--muted); line-height:1.3; }
.dd-label { font-size:13px; font-weight:600; line-height:1.3; }
.dd-caret { width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent;
            border-top:5px solid var(--muted); align-self:center; }
.dd.open .dd-caret { transform:rotate(180deg); }
.dd-panel { display:none; position:absolute; top:calc(100% + 4px); left:0; z-index:50; min-width:260px; max-width:340px;
            max-height:340px; overflow-y:auto; background:var(--bg); border:1px solid var(--line);
            border-top:3px solid var(--accent); box-shadow:0 12px 30px rgba(0,0,35,.16); padding:6px 0; }
.dd.open .dd-panel { display:block; }
.dd-opt { display:flex; gap:10px; align-items:flex-start; padding:7px 14px; cursor:pointer; }
.dd-opt, .dd-opt span { font-size:13px; font-weight:400; line-height:1.35; letter-spacing:normal;
                        text-transform:none; color:var(--ink); }
.dd-opt:hover { background:var(--band-warm); }
.dd-opt input { margin:2px 0 0; flex:0 0 auto; accent-color:var(--accent); }
.dd-none { display:block; width:calc(100% - 20px); margin:6px 10px 2px; background:none; border:1px solid var(--line);
           font-family:var(--font); font-size:11px; letter-spacing:.8px; text-transform:uppercase; color:var(--muted);
           padding:5px; cursor:pointer; border-radius:0; }
.dd-none:hover { color:var(--ink); border-color:var(--ink); }
.dd-clear { align-self:center; background:none; border:none; font-family:var(--font); font-size:12px; font-weight:600;
            color:var(--accent); cursor:pointer; padding:8px 4px; text-transform:none; letter-spacing:normal;
            text-decoration:underline; }
@media (max-width:640px){ .dd, .dd-btn { width:100%; } .dd-panel { min-width:0; width:100%; max-width:none; } }

/* publisher marks */
.mark { position:relative; flex:0 0 auto; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
        color:#fff; font-weight:700; font-size:15px; letter-spacing:.5px; border-radius:3px; overflow:hidden; }
/* object-fit:contain never distorts the artwork, so a wide wordmark is
   letterboxed inside the square tile rather than squeezed. The trade-off is
   apparent size: a 4.5:1 wordmark only fills about a quarter of the tile's
   height. The padding is kept to 2px to give it as much of the tile as
   possible without the mark touching the rounded corners. */
.mark-logo { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:contain;
             background:#fff; padding:2px; box-sizing:border-box; }
.mark-img { background:var(--band-warm); border:1px solid var(--line); padding:3px; }
.mark-img img { max-width:100%; max-height:100%; object-fit:contain; display:block; }
.withmark { display:flex; gap:14px; align-items:flex-start; }
.withmark > .body { flex:1 1 auto; min-width:0; }
@media (max-width:520px){ .mark { width:36px; height:36px; font-size:13px; } }

/* the word search sits in the same row as the drop-downs */
.dd-search .dd-btn { cursor:text; min-width:240px; }
.dd-search input { font-family:var(--font); font-size:13px; font-weight:600; border:none; background:none;
                   padding:0; margin:0; width:100%; color:var(--ink); outline:none; }
.dd-search input::placeholder { font-weight:400; color:var(--muted); }
.dd-search .dd-btn:focus-within { border-color:var(--accent); box-shadow:inset 0 -2px 0 var(--accent); }
@media (max-width:640px){ .dd-search .dd-btn { min-width:0; } }

/* Intervention cards. Drawn on the system map, inside its drawers, and in full
   on the solutions page. The letter-and-number code is kept in the data because
   news, research, case studies and resources all filter on it, but it is not
   shown on the card: an icon carries the kind instead. */
.ivcards { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
@media (max-width:760px){ .ivcards{ grid-template-columns:1fr; } }
.ivcard { border:1px solid var(--line); padding:16px; display:grid; gap:7px; align-content:start; }
.ivcard .top { display:flex; gap:9px; align-items:center; flex-wrap:wrap; }
.ivcard .ivicon { flex:0 0 auto; width:26px; height:26px; display:inline-flex;
                  align-items:center; justify-content:center; color:var(--muted); }
.ivcard .ivicon svg { width:22px; height:22px; }
.ivcard .top.gov .ivicon { color:var(--accent); }
.ivcard .kind { font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
                border:1px solid var(--line); padding:2px 7px; color:var(--muted); }
.ivcard .kind.gov { border-color:var(--accent); color:var(--accent); }
.ivcard h4 { margin:0; font-size:16px; }
.ivcard p { margin:0; font-size:14px; color:var(--ink); }
.ivcard dl { margin:0; display:grid; grid-template-columns:auto 1fr; gap:3px 10px; font-size:13px; }
.ivcard dt { color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; padding-top:2px; }
.ivcard dd { margin:0; color:var(--ink); }
.ivcard .noowner { color:var(--accent); font-weight:600; }
.allint { margin-top:40px; }

/* The hero carries straight on from the masthead in the same dark blue, so the
   top of every page reads as one block. On the pages that have a photograph it
   sits to the right of the words and crops rather than letterboxes. */
/* The drawn turbine banner. The navy sheet sits behind the hero on every page
   with the page title over it, and the pale sheet is a strip above the footer.
   Each band carries the colour found at that edge of the picture, so a screen
   wider than the picture shows no seam. The picture is 2400 across and about
   three and a half times as wide as it is tall; it is anchored to the bottom so
   the ground line stays put as the band changes height. */
/* THE DRAWN TURBINE BANNER.
   A path inside this stylesheet is read from this file's own folder, not from
   the page's, so the pictures at the top of the repository are two levels up.
   One level up was tried first and silently resolved to site/images/, which
   does not exist - the band simply drew in its plain colour with no sign that
   anything was missing.

   The navy sheet runs behind the menu AND the hero, which is why both sit
   inside one wrapper. The sheet is anchored to the bottom of that wrapper so
   the ground line stays put however deep the hero is, and the wrapper carries
   the navy from the foot of the drawing so a tall hero simply gains more sky. */
.topbanner {
  background-color: var(--header-top);
  /* No veil over the drawing. A veil was tried and it worked for the text, but
     it painted straight over the coral on the big turbine, which sits only
     about six per cent down the sheet. The text is given clear sky instead:
     the drawing is anchored to the bottom and the hero reserves exactly the
     drawing's own height beneath its content, so the words never land on it
     however long the heading and the opening paragraph run. */
  background-image: url("../../images/banner-navy.png?v=3");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}
/* 29.2vw is the drawing's height at full width (2400 x 700). */
/* The words sit ON the drawing, in its empty sky, rather than above the whole
   of it. Reserving the drawing's full height beneath them was safe but it made
   the band half as tall again as it needs to be. 11vw clears the turbines,
   which stand in the lower two thirds of the sheet, and keeps the band at
   roughly the height of the drawing itself. */
.band.hero > .inner { padding-top: 40px; padding-bottom: clamp(90px, 11vw, 190px); }
/* A hero line is not a body paragraph: it takes the width of the band rather
   than a reading measure, so the words spread instead of stacking down the
   left-hand side. */
.band.hero .lead { max-width: 48em; }
.band.hero h1 { max-width: none; }
/* This rule once read 'transparent', left over from when the menu sat INSIDE
   the banner wrapper and took its colour from the sheet behind it. The menu
   now sits above the wrapper, so transparent meant the page's own white
   showed through and the pale blue menu text was all but unreadable on it.
   It takes the colour of the top of the banner's sky instead. */
.masthead { background: var(--header-top); }
/* The hero's own colours. These were lost when the banner rules were first
   written in, and the heading and opening paragraph went navy on navy -
   present in the page, correct in the markup, and completely invisible. */
.band.hero { background: none; min-height: 0; color: var(--header-ink); }
.band.hero h1, .band.hero .lead, .band.hero p { color: var(--header-ink); }
.band.hero .eyebrow { color: var(--header-muted); }
.band.hero a { color: var(--header-ink); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.hero-split .hero-figure { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-split .hero-figure img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.hero-split .hero-figure figcaption { font-size: 11px; color: var(--header-muted); margin-top: 8px; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-split .hero-figure img { max-height: 240px; }
}

/* Partner cards on Get involved. The logo sits in a fixed-height band and is
   contained rather than cropped, so wordmarks of different proportions all
   read at the same optical size. */
.partners .card { display: flex; flex-direction: column; }
/* The logo sits in a box of a fixed size rather than taking its width from the
   artwork. An image whose width comes from the artwork is laid out at zero
   width until it has loaded, and a lazily loaded image at zero width never
   meets the viewport, so it never loads at all. That is why the Greenhouse
   wordmark did not appear while its two neighbours did. The three partner
   logos are also no longer lazy. */
.partners .plogo {
  display: block; width: 100%; height: 84px; margin-bottom: 16px;
}
.partners .tag a, .partners .plogo { text-decoration: none; color: inherit; }
.partners .tag a:hover { text-decoration: underline; }
.partners .plogo:hover img { opacity: .78; }
.partners .plogo img { transition: opacity .15s ease; }
.partners .plogo img {
  height: 100%; width: 100%;
  object-fit: contain; object-position: left center; display: block;
}


/* The pale sheet is the footer's own background rather than a strip above it,
   so the drawing is whole and the logos and small print sit on top of it. The
   footer is given the drawing's own height at full width, and its content is
   pushed to the bottom where the field hatching is, clear of the turbines. */
footer.band {
  background-color: #dfebef;
  background-image: url("../../images/banner-pale.png?v=3");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(80px, 13vw, 190px);
}
/* The band is made exactly as tall as the drawing by a spacer of no width
   whose top padding is the drawing's own proportion, 700 in 2400. A height in
   vw was tried first and it is very slightly wrong, because vw counts the
   scrollbar and the picture is sized to the band, which does not - enough to
   shave the top of the sheet, sun and all. */
footer.band::before { content: ""; width: 0; padding-top: 29.1667%; }
footer.band > .inner { width: 100%; }

/* 20 Nov 2026, Pablo: less white space. Two bands of the same colour in a row
   read as one section, so the second does not repeat the full top padding. */
.band-plain + .band-plain > .inner,
.band-soft + .band-soft > .inner,
.band-warm + .band-warm > .inner { padding-top: 8px; }
.band-plain:has(+ .band-plain) > .inner,
.band-soft:has(+ .band-soft) > .inner,
.band-warm:has(+ .band-warm) > .inner { padding-bottom: 32px; }

/* 20 Nov 2026, Pablo: menu button on phones. Hidden on wider screens. */
.nav-toggle { display:none; }
@media (max-width:760px) {
  .masthead .inner { flex-wrap:wrap; gap:0; padding-block:10px; }
  .nav-toggle {
    display:inline-flex; align-items:center; gap:10px; margin-left:auto;
    background:none; border:1px solid var(--header-line); color:var(--header-ink);
    font-family:var(--font); font-size:12px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
    padding:9px 12px; cursor:pointer; border-radius:2px;
  }
  .nav-toggle .bars { display:inline-grid; gap:4px; }
  .nav-toggle .bars i { display:block; width:18px; height:2px; background:currentColor; transition:transform .15s, opacity .15s; }
  .masthead.menu-open .nav-toggle .bars i:nth-child(1) { transform:translateY(6px) rotate(45deg); }
  .masthead.menu-open .nav-toggle .bars i:nth-child(2) { opacity:0; }
  .masthead.menu-open .nav-toggle .bars i:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
  .masthead .nav { display:none; width:100%; flex-direction:column; align-items:stretch; justify-content:flex-start;
                   gap:0; margin:10px 0 4px; }
  .masthead.menu-open .nav { display:flex; }
  .masthead .nav > a, .masthead .nav .has-sub > .parent {
    display:flex; padding:12px 2px; font-size:13px; border-bottom:1px solid var(--header-line);
  }
  .masthead .nav > a[aria-current="page"] { border-bottom-color:var(--header-line); box-shadow:inset 3px 0 0 var(--accent); padding-left:12px; }
  .masthead .nav .has-sub > .parent { justify-content:space-between; }
  .masthead.menu-open { max-height:100vh; overflow-y:auto; }
}
