@charset "utf-8";
/* greenlightoptics.com - the rebuilt stylesheet.
 *
 * Replaces publicstyle.css + responsive.css + mbcsmbmcp.css (the CMS menu
 * widget) + layerslider.css + skin.css + aos.css + two Font Awesome CDN
 * builds. One file, no @import, no webfont from a third party.
 *
 * PALETTE - the one deliberate departure from the CMS.
 * The brand green is #5aae4d. White text on it measures 2.79:1 and it
 * measures 2.79:1 as text on white, so the CONTACT band, the "HOW CAN WE
 * HELP?" bar, every green button and every green H1 on the live site fail
 * WCAG AA (4.5:1 for body text, 3:1 for large).
 *
 * --green is #377c2e: 5.14:1 on white AND 4.59:1 on the --surface grey the
 * rail and the spotlight panels use, which is the pairing that decided the
 * value - #3a8130 passes on white and fails at 4.30 on the grey, and the
 * contrast sweep is what said so. --green-bright keeps #5aae4d for the logo
 * and for accents on a dark ground, where it measures 7.5:1. The two are
 * close enough that the site still reads as the same green.
 */

:root {
  --green:        #377c2e;
  --green-dark:   #2b6224;
  --green-bright: #5aae4d;
  --ink:          #4e4c4c;
  --ink-strong:   #2f2d2d;
  --ink-soft:     #6d6a6a;
  --dark:         #252525;
  --dark-2:       #1b1b1b;
  --paper:        #ffffff;
  --surface:      #f4f4f4;
  --surface-2:    #e9e9e9;
  --line:         #d9d9d9;
  --focus:        #1668d6;

  --shell:  1200px;
  --gutter: 24px;
  --head:   84px;      /* masthead height, desktop */
  --radius: 6px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
          Arial, sans-serif;
}

/* ------------------------------------------------------------------ fonts */
/* Montserrat, self-hosted. Google Fonts v2 serves one variable woff2 per
   subset covering the whole weight axis, so 400/600/700 are one file. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `clip`, never `hidden`: overflow-x:hidden forces overflow-y to `auto`,
     which makes the root a scroll container and silently kills
     `position: sticky` on the masthead. `clip` creates no scrollport.
     It is set on BOTH html and body because the body-to-viewport
     propagation rule does not reliably carry `clip` - the off-canvas
     drawer, parked at translateX(100%), then extends the scrollable
     width by its own 360px. */
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
/* The masthead is sticky, so nothing between it and the root may become a
   scroll container. */

img, picture, svg, iframe { max-width: 100%; }
img { height: auto; border: 0; }
a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-weight: 700; margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 1.95rem); color: var(--green);
     text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); color: var(--ink-strong); }
h3 { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--green); }
h4 { font-size: 1.05rem; color: var(--ink-strong); }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.4em; }
li { margin-bottom: .3em; }
hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
strong, b { font-weight: 700; }
address { font-style: normal; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto;
         padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--paper); color: var(--green); padding: 12px 18px;
  font-weight: 700; border: 2px solid var(--green);
}
.skip:focus { left: 8px; top: 8px; }
.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
  font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; transition: background-color .18s,
  color .18s, border-color .18s;
}
.btn:hover, .btn:focus-visible { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--green-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--ink-strong);
  border-color: #fff; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- topbar */
.topbar { background: var(--dark); color: #fff; font-size: .875rem; }
.topbar .shell {
  display: flex; justify-content: flex-end; align-items: center; gap: 26px;
  min-height: 45px; flex-wrap: wrap;
}
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #ddd; }
.topbar svg { width: 15px; height: 15px; fill: var(--green-bright); flex: none; }

/* -------------------------------------------------------------- masthead */
/* Transparent over the hero, exactly as the CMS had it, and solid once the
   page has scrolled. The negative margin is what pulls the hero up under it;
   `position: sticky` then keeps it without a scroll handler for the layout. */
.masthead {
  position: sticky; top: 0; z-index: 60;
  margin-bottom: calc(-1 * var(--head));
  background: transparent;
  transition: background-color .22s ease;
}
.masthead.is-stuck { background: rgba(30,30,30,.94); backdrop-filter: blur(6px); }
/* The bar stays TRANSPARENT over the hero, as the CMS drew it and as the
   client asked - but "transparent" and "legible" have to be made compatible.
   Un-scrimmed, the white menu sits directly on the photograph: measured on
   the real pixels the home hero averages 4.4:1 under the bar with bright
   bokeh patches down at 1.8:1, where a single letter can land. A top-down
   scrim keeps the photograph visible and gives every glyph a floor.
   fp_heroink.py measures it on the actual image, because a DOM contrast
   sweep climbs past a transparent bar to <body> and reports white on white. */
.masthead::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.34) 62%,
                                      rgba(0,0,0,0) 100%);
  transition: opacity .22s ease;
}
.masthead.is-stuck::before { opacity: 0; }
.masthead > .shell {
  display: flex; align-items: center; gap: 24px; min-height: var(--head);
}
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 230px; height: 60px; object-fit: contain; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  background: transparent; border: 2px solid rgba(255,255,255,.6);
  border-radius: var(--radius); color: #fff; padding: 9px 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 20px; height: 14px; flex: none; }
.nav-toggle .bars i, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 0; width: 100%; height: 2px; background: #fff;
  content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars i { top: 6px; }
.nav-toggle .bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------- nav */
.nav { margin-left: auto; }
.nav > ul {
  display: flex; align-items: center; gap: 4px;
  margin: 0; padding: 0; list-style: none;
}
.nav > ul > li { position: relative; margin: 0; }
.nav-top {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border: 0; background: transparent;
  color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap; cursor: pointer;
  border-radius: var(--radius);
}
a.nav-top:hover, .nav-top:hover, .nav-top:focus-visible {
  color: var(--green-bright); text-decoration: none;
}
.nav-top[aria-current="page"], .nav-top[data-current="true"] { color: var(--green-bright); }
.nav-top[aria-current="page"]::after, .nav-top[data-current="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--green-bright);
}
.nav .caret { width: 10px; height: 10px; flex: none; fill: none;
  stroke: currentColor; stroke-width: 2; transition: transform .18s; }
.nav-sub {
  position: absolute; top: 100%; left: 0; z-index: 5;
  min-width: 250px; margin: 0; padding: 8px 0; list-style: none;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.nav > ul > li:last-child .nav-sub,
.nav > ul > li:nth-last-child(2) .nav-sub { left: auto; right: 0; }
.nav li:hover > .nav-sub,
.nav-sub[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.nav-sub a {
  display: block; padding: 9px 20px; color: var(--ink-strong);
  font-size: .93rem; line-height: 1.35;
}
.nav-sub a:hover, .nav-sub a:focus-visible {
  background: var(--surface); color: var(--green); text-decoration: none;
}
.nav-sub a[aria-current="page"] { color: var(--green); font-weight: 700; }
.nav-util { display: none; }
.backdrop {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,.5);
}
body.nav-open .backdrop { display: block; }

/* ------------------------------------------------------------------ hero */
/* A full-bleed background photograph, as a <picture> rather than a CSS
   background-image, so it can carry a WebP source, real width/height and
   fetchpriority. The wrapper AND the <img> both have to be stretched: a
   `.hero > img` selector misses entirely once the img is inside a
   <picture>, which is what left the first build's hero at natural size. */
.bgimg { position: absolute; inset: 0; z-index: 0; display: block; }
.bgimg, .bgimg img {
  width: 100%; height: 100%; margin: 0; border-radius: 0;
}
.bgimg img { display: block; object-fit: cover; object-position: center; }

.hero { position: relative; background: var(--dark-2); color: #fff;
        overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 48%,
                                     rgba(0,0,0,.15) 100%);
}
.hero .shell { position: relative; z-index: 2; }

.hero-home { min-height: min(78vh, 615px); display: flex; align-items: center; }
.hero-home .shell { padding-top: calc(var(--head) + 24px); padding-bottom: 40px; }
.hero-home h1 {
  color: #fff; text-transform: uppercase;
  font-size: clamp(1.75rem, 1.05rem + 3vw, 2.6rem); line-height: 1.12;
  margin: 0 0 28px; max-width: 15ch; text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* The interior band: 125px of photograph the CMS drove with 145 KB of
   LayerSlider. It is a decorative strip, so the <img> carries an empty alt
   and the page heading stays in the content where the CMS put it. */
.hero-band { height: 132px; }
.hero-band::after {
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
}

/* --------------------------------------------------------------- content */
.main { padding: 44px 0 56px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) {
  .layout.has-rail { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; }
}
.content > :first-child { margin-top: 0; }
.content > h2 { margin-top: 1.5em; }
.content > h3 { margin-top: 1.6em; }
.content img { border-radius: var(--radius); }
.content figure { margin: 0 0 1.4em; }

/* .column2 / .column3: the CMS's text-beside-image row */
.splitrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px;
            margin-bottom: 1.4em; }
@media (min-width: 760px) {
  .splitrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px;
              align-items: start; }
}
.splitrow .media { display: grid; gap: 20px; }
.splitrow .media img { width: 100%; border-radius: var(--radius); }

/* an image the CMS floated beside a paragraph */
.inline-media { margin: 0 0 1.4em; }
.inline-media img { width: 100%; border-radius: var(--radius); }
@media (min-width: 760px) {
  .inline-media { float: right; width: 46%; margin: .25em 0 1.2em 32px; }
}

/* .column12: the two grey panels on the spotlight pages */
.panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
          margin: 0 0 1.6em; }
@media (min-width: 700px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { background: var(--surface); border-radius: var(--radius); padding: 26px 24px; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel h2 { color: var(--ink-strong); font-size: 1.25rem; }
.panel h3 { font-size: 1.05rem; margin-bottom: .35em; }

/* the CMS's "Learn More About Our Capabilities" grid */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
         gap: 10px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.tiles li { margin: 0; }
.tiles a {
  display: flex; align-items: center; justify-content: center; height: 100%;
  min-height: 54px; padding: 12px 14px; text-align: center;
  background: #757575; color: #fff; border-radius: var(--radius);
  font-size: .95rem; line-height: 1.3; transition: background-color .2s;
}
.tiles a:hover, .tiles a:focus-visible { background: var(--green); color: #fff;
  text-decoration: none; }

/* the Elfsight widgets - six of them, and the only third-party scripts left.
   The mount div must carry NO class but its own, so it is wrapped. */
.widget { margin: 0 0 1.6em; min-height: 80px; }
.widget-slider { margin-bottom: 1.8em; }

/* ------------------------------------------------------------------ rail */
.rail { display: grid; gap: 26px; align-content: start; }
@media (min-width: 900px) { .rail { position: sticky; top: calc(var(--head) + 20px); } }
.rail-links { display: grid; gap: 6px; }
.rail-links a {
  display: block; padding: 14px 12px; text-align: center;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  font-size: .95rem; text-transform: uppercase; letter-spacing: .03em;
  transition: background-color .2s;
}
.rail-links a:hover, .rail-links a:focus-visible { background: var(--green);
  color: #fff; text-decoration: none; }
.rail-links a[aria-current="page"] { background: var(--green); }
.rail-form { border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.rail-form h2 {
  margin: 0; background: var(--green); color: #fff; padding: 14px 18px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.rail-form .rail-body { padding: 18px; }

/* ----------------------------------------------------------------- forms */
.f-field { margin-bottom: 16px; }
.f-field label, .f-check legend { display: block; margin-bottom: 6px;
  font-size: .92rem; font-weight: 600; color: var(--ink-strong); }
.f-req { color: #b3261e; }
.f-form input[type=text], .f-form input[type=email], .f-form input[type=tel],
.f-form input[type=file], .f-form textarea, .f-form select {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 1rem;
  color: var(--ink-strong); background: #fff;
  border: 1px solid #b9b9b9; border-radius: var(--radius);
}
.f-form textarea { min-height: 130px; resize: vertical; }
.f-form input:focus, .f-form textarea:focus { border-color: var(--green);
  outline: 3px solid var(--focus); outline-offset: 1px; }
.f-row-2 { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .f-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f-hint { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 0; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-ok, .f-err { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.f-ok { background: #e7f3e4; border: 1px solid var(--green); color: #205019; }
.f-err { background: #fdecea; border: 1px solid #b3261e; color: #7a1c15; }
.f-err ul { margin: .5em 0 0; }
.rail-form .f-field label { font-size: .88rem; }
.rail-form .f-form textarea { min-height: 90px; }

/* ---------------------------------------------------------- breadcrumbs */
/* An <ol> with no styling renders as "1. Blog  2. Pushing the Boundaries of
   ...". The list is right - it is an ordered trail - so the numbering comes
   off in CSS rather than by changing the element. */
.crumbs { margin: 0 0 1.4em; font-size: .88rem; color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 .55em;
             margin: 0; padding: 0; list-style: none; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .55em; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--green); }
.crumbs [aria-current="page"] { color: var(--ink-soft); }

/* -------------------------------------------------------------- listings */
.newslist { list-style: none; margin: 0 0 1.6em; padding: 0; }
.newslist li { margin: 0 0 1.4em; padding: 0 0 1.4em; border-bottom: 1px solid var(--line); }
.newslist li:last-child { border-bottom: 0; }
.newslist .date { display: block; font-style: italic; color: var(--ink-soft);
  font-size: .9rem; margin-top: 4px; }
.postlist { list-style: none; margin: 0; padding: 0; }
.postlist > li { margin: 0 0 34px; padding: 0 0 30px; border-bottom: 1px solid var(--line); }
.postlist > li:last-child { border-bottom: 0; }
.postlist h2 { margin-bottom: .25em; font-size: 1.3rem; }
.postlist h2 a { color: var(--ink-strong); }
.postlist h2 a:hover { color: var(--green); }
.post-meta { display: block; font-style: italic; color: var(--ink-soft);
  font-size: .9rem; margin-bottom: .9em; }
.post-nav { display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { font-weight: 600; }
.post-nav .spacer { flex: 1; }

/* ------------------------------------------------------------ home bands */
.band { padding: 60px 0; }
.band-spotlight { background: #000; color: #fff; padding: 48px 0 52px; }
.spot-grid {
  display: grid; gap: 26px 20px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0; padding: 0; list-style: none; text-align: center;
}
.spot-lead h2 { color: #b9b9b9; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.1rem; margin-bottom: 14px; }
.spot-grid li { margin: 0; }
.spot-grid a { display: block; color: #fff; }
.spot-grid a:hover, .spot-grid a:focus-visible { text-decoration: none; }
.spot-grid a:hover .spot-name { color: var(--green-bright); }
.spot-grid img { width: 66px; height: 66px; }
.spot-name { display: block; margin-top: 12px; font-weight: 700;
  text-transform: uppercase; font-size: 1.05rem; line-height: 1.25;
  transition: color .2s; }

/* Photograph left, copy right. The CMS baked BOTH halves into one 1920px
   JPEG and pinned it at `background-size: cover`, so the seam only landed
   where the copy started on a 1920px screen; fp_images crops the photograph
   out and this draws the other half. */
.band-about { display: grid; grid-template-columns: minmax(0, 1fr);
              background: var(--paper); padding: 0; }
.band-about .about-media { position: relative; min-height: 260px; }
.band-about .about-copy { padding: 44px var(--gutter) 48px; }
@media (min-width: 900px) {
  .band-about { grid-template-columns: 45% minmax(0, 1fr); align-items: stretch; }
  .band-about .about-media { min-height: 420px; }
  .band-about .about-copy {
    align-self: center; padding: 52px 0 52px 56px;
    max-width: calc(var(--shell) * 0.55); margin-right: auto;
  }
}
@media (min-width: 1290px) {
  .band-about .about-copy { padding-left: max(56px, calc((100vw - var(--shell)) / 2 * -1 + 56px)); }
}
.band-about h2 { color: var(--green); text-transform: uppercase;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); line-height: 1.15; }
.band-about p:last-of-type { margin-bottom: 1.4em; }

.band-news { background: #fff; }
.band-news .splitrow { align-items: center; margin: 0; }
.band-news h2 { color: var(--green); text-transform: uppercase;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.band-news p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- contact band */
/* Same shape as the about band, and the same fix: the CMS painted a flat
   green panel into the left 726px of the 1920px map JPEG. */
.band-contact { display: grid; grid-template-columns: minmax(0, 1fr);
                background: var(--green); color: #fff; }
.band-contact .contact-map { position: relative; min-height: 200px;
                             background: #e9e9e9; order: 2; }
.contact-card { background: var(--green); color: #fff;
                padding: 40px var(--gutter) 44px; }
@media (min-width: 760px) {
  .band-contact { grid-template-columns: 38% minmax(0, 1fr); }
  .band-contact .contact-map { min-height: 300px; }
  .contact-card {
    display: flex; flex-direction: column; justify-content: center;
    padding: 44px 40px 48px;
    padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  }
}
.contact-card h2 { color: #fff; text-transform: uppercase; font-size: 1.8rem;
  margin-bottom: .5em; }
.contact-card a { color: #fff; text-decoration: underline; }
.contact-card a:hover { color: #e6f2e4; }
.contact-card p { margin-bottom: .8em; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--dark); color: #fff; padding: 46px 0 34px;
  font-size: .93rem; }
.site-footer a { color: #e2e2e2; }
.site-footer a:hover { color: var(--green-bright); }
.foot-nav {
  display: grid; gap: 26px 24px; margin: 0 0 34px; padding: 0 0 30px;
  list-style: none; border-bottom: 1px solid rgba(255,255,255,.14);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.foot-nav > li { margin: 0; }
.foot-nav h2 { color: var(--green-bright); font-size: .82rem; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: .9em; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-nav ul li { margin-bottom: .45em; }
.foot-brand { text-align: center; }
.foot-brand img { width: 300px; height: 64px; object-fit: contain; }
.foot-brand p { margin: 14px 0 0; color: #cfcfcf; font-size: .85rem;
  letter-spacing: .02em; text-transform: uppercase; }
.foot-social { display: flex; justify-content: center; gap: 14px;
  margin: 20px 0 0; padding: 0; list-style: none; }
.foot-social li { margin: 0; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,.1); transition: background-color .2s; }
.foot-social a:hover { background: var(--green); }
.foot-social svg { width: 20px; height: 20px; fill: #fff; }
.foot-spie { display: block; margin: 22px auto 0; width: 94px; height: 25px; }

/* ------------------------------------------------------------ 404 / misc */
.notfound { padding: 70px 0 80px; }
.notfound ul { columns: 2; column-gap: 40px; }
@media (max-width: 560px) { .notfound ul { columns: 1; } }

/* ============================================================== phone nav */
/* The breakpoint is measured, not guessed: the seven-item bar plus the logo
   needs 1060px before it starts to wrap. See fp_probe.html. */
@media (max-width: 1059px) {
  :root { --head: 72px; }
  .nav-toggle { display: inline-flex; }
  .brand img { width: 190px; height: 50px; }
  /* The drawer is a DESCENDANT of the masthead, so it lives in the
     masthead's own stacking context. A positioned descendant with z-index 55
     paints above every STATIC one however high the masthead's own z-index
     is - which put the drawer over the logo and over the burger that closes
     it. These two need a paint order of their own. */
  .brand, .nav-toggle { position: relative; z-index: 56; }

  .nav {
    /* BELOW the masthead (z-index 60) and above the backdrop (50). At 70 the
       panel covered the top-right corner of the bar - which is where the
       burger is - so the control that closes the drawer was hidden under the
       drawer it had just opened. The top padding already reserves the room
       for the bar; this is what lets it be seen through it. */
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 55;
    width: min(360px, 88vw); margin: 0;
    background: var(--dark); color: #fff;
    /* The drawer starts BELOW the masthead. Which "below" that is depends on
       where the masthead currently is: unopened it is sticky under the 45px
       utility strip, and while the drawer is open it is fixed at y=0 (see
       glo.js). Two rules rather than one measurement, because both positions
       are known exactly. */
    padding: calc(45px + var(--head) + 12px) 0 40px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); visibility: hidden;
    transition: transform .26s ease, visibility .26s;
    box-shadow: -8px 0 30px rgba(0,0,0,.4);
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  .nav > ul { display: block; }
  .nav > ul > li { border-top: 1px solid rgba(255,255,255,.12); }
  .nav > ul > li:first-child { border-top: 0; }
  .nav-top {
    display: flex; width: 100%; justify-content: space-between;
    padding: 15px 22px; font-size: .92rem; border-radius: 0;
  }
  .nav-top[aria-current="page"]::after, .nav-top[data-current="true"]::after {
    display: none;
  }
  .nav-top[aria-expanded="true"] .caret { transform: rotate(180deg); }
  .nav-sub {
    position: static; min-width: 0; padding: 0; margin: 0;
    background: rgba(0,0,0,.28); border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .nav li:hover > .nav-sub { display: none; }
  .nav-sub[data-open="true"] { display: block; }
  .nav-sub a { color: #e4e4e4; padding: 12px 22px 12px 36px; font-size: .9rem; }
  .nav-sub a:hover, .nav-sub a:focus-visible { background: rgba(255,255,255,.08);
    color: var(--green-bright); }
  .nav-sub a[aria-current="page"] { color: var(--green-bright); }
  .nav-util { display: block; border-top: 1px solid rgba(255,255,255,.12);
              padding: 18px 22px; }
  .nav-util ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .nav-util a { color: #fff; display: inline-flex; align-items: center; gap: 10px;
                font-size: .95rem; }
  .nav-util svg { width: 16px; height: 16px; fill: var(--green-bright); flex: none; }

  /* The masthead is sticky, so the scroll lock cannot be html{overflow:hidden}
     - that takes the scroll offset away and the bar snaps to the top of the
       document with the drawer opening under nothing. glo.js fixes the body
     at -scrollY instead; this is only the part the stylesheet owns. */
  body.nav-open { overflow: hidden; }
  .masthead { background: rgba(30,30,30,.94); }
  /* sticky -> fixed while the drawer is open; see glo.js */
  body.nav-open .masthead {
    position: fixed; top: 0; left: 0; right: 0; margin-bottom: 0;
    background: var(--dark);
  }
  body.nav-open .nav { padding-top: calc(var(--head) + 12px); }
}

@media (max-width: 899px) {
  .rail { margin-top: 8px; }
  .rail-form { max-width: 520px; }
}

@media (max-width: 700px) {
  :root { --gutter: 18px; }
  .masthead > .shell { gap: 12px; }
  .hero-home { min-height: 0; padding-bottom: 8px; }
  .hero-home .shell { padding-top: calc(var(--head) + 60px); padding-bottom: 56px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .band { padding: 44px 0; }
  .band-about .about-copy { margin: 40px 0; padding: 26px 22px; }
  .contact-card { padding-block: 36px 40px; }
  .inline-media { float: none; width: auto; margin: 0 0 1.4em; }
  .foot-brand img { width: 240px; height: 51px; }
}

/* The narrowest phone still in use is 320px, and there the 190px logo plus a
   labelled burger do not fit inside the gutters. The word "Menu" goes; the
   button keeps its accessible name from the visually-hidden span. */
@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .brand img { width: 150px; height: 39px; }
  .nav-toggle { padding: 9px 11px; }
  .nav-toggle > span:last-child { position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .topbar .shell { gap: 14px; justify-content: center; font-size: .8rem; }
}
