/* GSH of Alabama, LLC. - shared stylesheet. Plain CSS, no build step.
   Design system: ink / steel / concrete neutrals, logo green, safety amber (sparingly).
   Type: Barlow Condensed (display), IBM Plex Sans (body, labels, figures with tabular numerals). No monospace font.
   Fonts are self-hosted in /assets/fonts (SIL Open Font License, see the OFL-*.txt files). */

@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/ibm-plex-sans-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #1B2126;
  --steel: #3D4A54;
  --concrete: #F1F0EC;
  --rule: #D5D2CA;
  --rule-strong: #8A9095;
  --green: #1F6B3B;
  --green-dark: #134726;
  --amber: #E8A317;
  --paper: #FFFFFF;
  --on-dark: #D9DEE2;
  --focus: var(--green-dark);

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2.5vw, 32px);
  --pad-l: clamp(56px, 6vw, 96px);
  --pad-m: clamp(40px, 4vw, 64px);
  --pad-s: 32px;
  --measure: 68ch;
  --radius: 2px;
  --header-h: 72px;
}
@media (min-width: 1024px) { :root { --header-h: 88px; } }
@media (min-width: 1280px) { :root { --header-h: 96px; } }
@media (min-width: 1920px) { :root { --container: 1440px; } }
@media (min-width: 2560px) { :root { --container: 1600px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-dark { --focus: var(--amber); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1, h2 { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: .01em; }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.fig { font-family: var(--f-body); font-weight: 400; font-size: 1em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; background: var(--paper); color: var(--ink); padding: 12px 16px; z-index: 200; font-weight: 600; }
.skip:focus { top: 8px; }

/* layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: var(--pad-m); }
.section.tight { padding-block: var(--pad-s); }
.section.alt { background: var(--concrete); }
.section:not(.alt) + .section:not(.alt) { border-top: 1px solid var(--rule); }
.split { display: grid; gap: var(--gap) clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.split.middle { align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.flip > :first-child { order: 2; }
}
.cols { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .cols.c2, .cols.c3, .cols.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 3-up grids go straight from 1 to 3 columns, so a 2 + 1 orphan row never happens */
@media (min-width: 600px) and (max-width: 767px) { .cols.c3 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) { .cols.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); } }
@media (min-width: 1024px) { .cols.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* text helpers */
.eyebrow { font: 600 .875rem/1.3 var(--f-body); color: var(--steel); margin: 0 0 .75rem; font-variant-numeric: tabular-nums; }
.subhead { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; color: var(--green-dark); letter-spacing: 0; }
.lead-dark { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.5; color: var(--ink); max-width: 60ch; }
.small { font-size: .9rem; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.more::after { content: "\2192"; margin-left: .4em; font-family: var(--f-body); transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }
.ext::after { content: "\2197"; margin-left: .3em; font-size: .85em; }

/* buttons: square, 48px, condensed caps */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 24px; border-radius: var(--radius); border: 2px solid var(--green); background: var(--green); color: #fff; font: 600 1.0625rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; text-decoration: none; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.on-dark .btn.secondary { color: #fff; border-color: #fff; }
.on-dark .btn.secondary:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }


/* ---------- header / primary nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand picture { display: block; }
.brand img { height: 48px; width: auto; }
/* SBA WOSB certification mark beside the GSH logo, separated by a hairline drawn on the brand link */
.brand { position: relative; padding-right: 14px; }
.brand::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; border-right: 1px solid var(--rule); }
.wosb-head { flex: none; height: 26px; width: auto; margin-left: -2px; }
.wosb-head { height: 28px; }
.brand img { height: 48px; }
@media (max-width: 479px) { .bar .menu-btn { font-size: 0; gap: 0; padding: 0 10px; } .brand { padding-right: 0; } .brand::after { display: none; } .bar { gap: 10px; } }
@media (max-width: 359px) { .brand img { height: 42px; } .wosb-head { height: 24px; } .bar { gap: 8px; } }
@media (min-width: 1024px) { .brand img { height: 64px; } .wosb-head { height: 30px; } .brand { padding-right: 16px; } }
@media (min-width: 1280px) { .brand img { height: 72px; } .wosb-head { height: 38px; } .brand { padding-right: 22px; } .bar { gap: 22px; } }
@media (min-width: 1920px) { .brand img { height: 84px; } .wosb-head { height: 44px; } :root { --header-h: 108px; } }
@media (min-width: 2560px) { .brand img { height: 96px; } .wosb-head { height: 50px; } :root { --header-h: 120px; } }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 10px; background: none; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); font: 600 1rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.menu-btn .bars { display: inline-grid; gap: 4px; }
.menu-btn .bars i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.site-header.open .menu-btn .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-btn .bars i:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav, .nav ul { list-style: none; margin: 0; padding: 0; }
.nav-top { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; margin: 0; padding: 0; color: var(--ink); font: 600 1.125rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; text-align: left; }
.nav-top:hover { color: var(--green-dark); }
.chev { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; flex: none; }
.has-sub.open > .nav-top .chev { transform: translateY(2px) rotate(-135deg); }
.mega a { display: flex; align-items: center; min-height: 40px; padding: 4px 0; color: var(--ink); text-decoration: none; line-height: 1.3; }
.mega a:hover { color: var(--green-dark); text-decoration: underline; }
.mega .indent a { padding-left: 16px; position: relative; font-size: .95em; color: var(--steel); }
.mega .indent a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; border-top: 1px solid var(--rule-strong); }
.mega a[aria-current="page"], .mega .indent a[aria-current="page"] { color: var(--green); font-weight: 600; }
.mega-h { font: 600 .75rem/1.2 var(--f-body); color: var(--steel); margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.mega-note { font: 600 .875rem/1.6 var(--f-body); color: var(--steel); margin: 10px 0 0; font-variant-numeric: tabular-nums; }
/* a single-column panel stacks its groups */
.mega:not(.wide) .mega-col + .mega-col { margin-top: 16px; }
.mega-foot { grid-column: 1 / -1; margin: 0; padding-top: 8px; border-top: 1px solid var(--rule); }
.mega-foot a { font-weight: 600; }
.drawer-actions { display: none; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .primary { margin-left: auto; align-self: stretch; }
  .nav { display: flex; align-items: stretch; height: 100%; gap: 4px; }
  .nav > li { position: relative; display: flex; align-items: stretch; }
  .nav-top { width: auto; padding: 0 10px; position: relative; font-size: 1rem; }
  .nav-top[aria-current="page"]::after, .nav > li.is-current > .nav-top::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--green); }
  .nav > li.nav-contact { align-items: center; margin-left: 8px; }
  .nav .nav-contact .btn { font-size: 1rem; letter-spacing: .05em; padding: 0 20px; }
  .mega { display: none; position: absolute; top: 100%; left: 0; z-index: 70; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--green); padding: 20px 24px 16px; min-width: 260px; box-shadow: 0 16px 32px -24px rgba(27,33,38,.45); }
  .mega.wide { display: none; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 8px 32px; min-width: 600px; }
  /* every panel opens directly under the header rule; its text edge lines up with its label's text start.
     (--np = the label's side padding; panel side padding is 24px) */
  .nav { --np: 10px; }
  .nav > li.has-sub { position: relative; }
  .nav > li.has-sub > .mega { left: calc(var(--np) - 25px); right: auto; top: 100%; }
  .mega { max-width: calc(100vw - 32px); }
  .mega.wide { min-width: min(600px, calc(100vw - 32px)); }
  .mega:not(.wide) { min-width: 330px; }
  .has-sub.open > .mega { display: block; }
  .has-sub.open > .mega.wide { display: grid; }
  /* no-JS fallback */
  html:not(.js) .has-sub:hover > .mega, html:not(.js) .has-sub:focus-within > .mega { display: block; }
  html:not(.js) .has-sub:hover > .mega.wide, html:not(.js) .has-sub:focus-within > .mega.wide { display: grid; }
}
@media (min-width: 1280px) { .nav .nav-contact .btn { font-size: 1.125rem; } .nav { --np: 16px; } .nav-top { padding: 0 16px; font-size: 1.125rem; } .nav-top[aria-current="page"]::after, .nav > li.is-current > .nav-top::after { left: 16px; right: 16px; } }

/* mobile drawer */
@media (max-width: 1023px) {
  .primary { display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--drawer-top, var(--header-h)); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--rule); z-index: 59; }
  .site-header.open .primary { display: flex; flex-direction: column; }
  html:not(.js) .primary { display: block; position: static; }
  html:not(.js) .menu-btn { display: none; }
  .nav { padding: 0 var(--gutter); }
  .nav > li { border-bottom: 1px solid var(--rule); }
  .nav-top { min-height: 56px; justify-content: space-between; font-size: 1.25rem; }
  .nav-top[aria-current="page"], .nav > li.is-current > .nav-top { color: var(--green); }
  .mega { display: none; padding: 0 0 16px 12px; }
  .has-sub.open > .mega { display: block; }
  .mega-col + .mega-col { margin-top: 12px; }
  .mega a { min-height: 44px; }
  .nav > li.nav-contact { display: none; }
  .drawer-actions { display: grid; gap: 12px; padding: 24px var(--gutter) 32px; margin-top: auto; background: var(--concrete); }
}
html.nav-open { overflow: hidden; }

/* ---------- title band (interior pages) ---------- */
.title-band { background: var(--ink); color: var(--on-dark); padding-block: clamp(28px, 4vw, 56px); }
.title-band h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); margin: 0; max-width: 24ch; }
.title-band h1::before { content: ""; display: block; width: 48px; height: 3px; background: var(--amber); margin-bottom: 16px; }

/* ---------- home hero (split) ---------- */
.hero { background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-media { margin: 0; position: relative; background: #2a3238; }
.hero-media img { width: 100%; height: auto; max-height: 760px; object-fit: contain; object-position: center; margin-inline: auto; }
.hero-text { padding: 32px var(--gutter) 40px; }
.hero h1 { color: #fff; font-size: clamp(2.75rem, 1.6rem + 4vw, 5.25rem); line-height: .98; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem); line-height: 1.5; max-width: 36ch; color: var(--on-dark); }
.hero .eyebrow { color: var(--on-dark); }
.hero .eyebrow::before { content: ""; display: inline-block; width: 24px; height: 3px; background: var(--amber); vertical-align: middle; margin-right: 10px; }
@media (min-width: 900px) {
  /* text panel sits on the contained grid; the photo bleeds to the right edge (capped at its 2000px source) */
  .hero { grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--container) * .42)) minmax(0, calc(var(--container) * .58)) minmax(0, 1fr); }
  .hero-text { grid-column: 2; grid-row: 1; align-self: center; padding: 48px clamp(24px, 3vw, 56px) 48px 0; }
  .hero-media { grid-column: 3 / 5; grid-row: 1; display: flex; align-items: center; justify-content: center; }
  /* the whole photo is always shown (never cropped); on very wide screens it is letterboxed on the dark band */
}

@media (min-width: 1280px) {
}

/* ---------- ruled columns (replace cards) ---------- */
.ruled { border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; }
.ruled.green { border-top-color: var(--green); }
.ruled h2, .ruled h3 { font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); }
.ruled h2 a, .ruled h3 a { color: inherit; text-decoration: none; }
.ruled h2 a:hover, .ruled h3 a:hover { color: var(--green-dark); text-decoration: underline; }
.ruled > .more { margin-top: auto; }
.ruled .thumb { margin: 0 0 16px; }
.ruled .thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* lists */
.plain { list-style: none; padding: 0; margin: 0; }
.ruled-list { list-style: none; padding: 0; margin: 0 0 1.4em; border-bottom: 1px solid var(--rule); }
.ruled-list li { padding: 12px 0 12px 22px; border-top: 1px solid var(--rule); position: relative; }
.ruled-list li::before { content: ""; position: absolute; left: 0; top: calc(12px + .7em); width: 10px; height: 2px; background: var(--green); }
@media (min-width: 760px) { .ruled-list.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-bottom: 0; } .ruled-list.two-col li { border-bottom: 1px solid var(--rule); margin-bottom: -1px; } }
.link-index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.link-index li { border-bottom: 1px solid var(--rule); }
.link-index a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.link-index a::after { content: "\2192"; color: var(--green); }
.link-index a.ext::after { content: "\2197"; }
.link-index a:hover { color: var(--green-dark); }
.link-index a[aria-current="page"] { color: var(--green); }
.link-index a[aria-current="page"]::after { content: ""; }
.index-h { font: 600 .875rem/1.3 var(--f-body); color: var(--steel); margin: 0 0 10px; font-variant-numeric: tabular-nums; }

/* tables (past performance) */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-top: 3px solid var(--ink); }
.pp { width: 100%; border-collapse: collapse; margin: 0; font-size: .97em; }
.pp th, .pp td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.pp thead th { font: 600 .875rem/1.3 var(--f-body); color: var(--steel); padding-top: 14px; font-variant-numeric: tabular-nums; }
.pp tbody th { font-weight: 600; white-space: nowrap; width: 1%; padding-right: clamp(16px, 3vw, 40px); }
.pp tbody tr:nth-child(even) { background: var(--concrete); }
.section.alt .pp tbody tr:nth-child(even) { background: var(--paper); }
.pp tbody tr > :first-child { padding-left: 12px; }
.pp thead tr > :first-child { padding-left: 12px; }
@media (max-width: 599px) { .pp tbody th { white-space: normal; width: auto; } .pp, .pp tbody, .pp tr, .pp th, .pp td { display: block; } .pp thead { display: none; } .pp tbody th { padding-bottom: 0; border-bottom: 0; } .pp td { padding-top: 4px; padding-left: 12px; } }

/* identifiers / facts */
.facts { margin: 0; border-top: 3px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 600 .9375rem/1.6 var(--f-body); color: var(--steel); font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; }
.facts dd.code { font-family: var(--f-body); font-weight: 400; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.aside-box { border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 32px); background: var(--paper); }
.section:not(.alt) .aside-box.tint { background: var(--concrete); border-color: transparent; }
.aside-box h2, .aside-box h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }

/* figures and photos */
figure { margin: 0; }
figcaption { font-size: .875rem; line-height: 1.45; color: var(--steel); margin-top: 8px; }
.photo img { width: 100%; }
.photo.crop img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo.native { background: var(--concrete); border: 1px solid var(--rule); padding: 16px; width: fit-content; max-width: 100%; }
.photo.native img { width: auto; }
.archive img { filter: saturate(.9) contrast(1.05); }

/* galleries: fixed column counts per item count so rows never end in a gap */
.gallery { display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; }
.gallery figure, .gallery .shot { min-width: 0; }
.gallery .shot { display: block; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .gallery.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery.g3, .gallery.g6 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .gallery.g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .gallery.g3, .gallery.g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) { .gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 5 items: one feature + four */
.gallery.g5 > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .gallery.g5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gallery.g5 > :first-child { grid-column: span 2; grid-row: span 2; } .gallery.g5 > :first-child img { height: 100%; aspect-ratio: auto; } .gallery.g5 > :first-child, .gallery.g5 > :first-child .shot { display: flex; flex-direction: column; } }
/* small archive images: shown at native size, centred on a concrete frame */
.gallery .frame { background: var(--concrete); display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border: 1px solid var(--rule); overflow: hidden; }
.gallery .frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
.section.alt .gallery .frame { background: var(--paper); }

/* people */
.people { display: grid; gap: var(--gap) clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; border-top: 3px solid var(--ink); padding-top: 20px; }
.person .face { display: block; width: 120px; border: 1px solid var(--rule); }
.person .face img { width: 120px; height: 120px; object-fit: cover; }
.person h3 { margin-bottom: .15em; }
.person h3 a { text-decoration: none; color: inherit; }
.person h3 a:hover { color: var(--green-dark); text-decoration: underline; }
@media (max-width: 419px) { .person { grid-template-columns: minmax(0, 1fr); } }
.role { font: 600 .875rem/1.3 var(--f-body); color: var(--steel); margin: 0 0 .8rem; font-variant-numeric: tabular-nums; }
.bio { display: grid; gap: var(--gap) clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bio { grid-template-columns: 200px minmax(0, 1fr); } }
.portrait { background: var(--concrete); border: 1px solid var(--rule); padding: 10px; width: fit-content; height: fit-content; }
.portrait img { width: auto; }

/* closing contact row (replaces the gradient CTA band) */
.cta { border-top: 1px solid var(--rule); padding-block: clamp(28px, 3vw, 40px); }
.cta .wrap { display: grid; gap: 8px 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.cta h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.cta p { margin: 0; color: var(--steel); max-width: 60ch; }
.cta .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: auto minmax(0, 1fr) auto; } .cta .btn { margin-top: 0; } .cta h2 { padding-right: 32px; border-right: 1px solid var(--rule); } }
.section.alt + .cta { border-top: 0; }


/* news */
.news-layout { display: grid; gap: var(--gap) clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .news-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; } .news-layout > aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.post { padding: 20px 0 24px; border-top: 1px solid var(--rule); }
.post:first-of-type { border-top: 3px solid var(--ink); }
.post h2 { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); text-transform: none; font-weight: 600; letter-spacing: .005em; margin-bottom: .4em; max-width: 40ch; }
.post h2 a { color: inherit; text-decoration: none; }
.post h2 a:hover { color: var(--green-dark); text-decoration: underline; }
.post p { max-width: var(--measure); }
.date { font: 600 .875rem/1.4 var(--f-body); color: var(--steel); margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.date a { color: var(--steel); }
.release h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem); text-transform: none; font-weight: 700; max-width: 30ch; }
.release { max-width: var(--measure); }
.pr-contact { font: 400 .9375rem/1.7 var(--f-body); border-top: 3px solid var(--ink); padding-top: 14px; margin: 0; font-variant-numeric: tabular-nums; }
.deck { font-size: 1.125rem; }
blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--green); color: var(--ink); font-style: italic; }
.post-nav { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-weight: 600; }
@media (min-width: 700px) { .post-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-nav a:last-child:not(:first-child) { text-align: right; } }
.post-nav a { text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { padding: 12px 0; border-top: 1px solid var(--rule); }
.mini-list a { text-decoration: none; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mini-list a:hover { color: var(--green-dark); text-decoration: underline; }
.mini-list .date { margin: 0 0 4px; }

/* forms */
.form { display: grid; gap: 18px; margin-top: 8px; max-width: 760px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: inherit; font-weight: 400; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.grid2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form .btn { justify-self: start; min-width: 160px; }
.form-status { margin: 0; font-size: .95rem; color: var(--steel); min-height: 1.5em; }
.form-status.err { color: #8a2c0d; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.phone-big { font: 600 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1.2 var(--f-body); font-variant-numeric: tabular-nums; }
.phone-big a { text-decoration: none; color: var(--green); }
.phone-big a:hover { text-decoration: underline; }
.addr h3 { font: 600 .875rem/1.3 var(--f-body); color: var(--steel); margin: 20px 0 6px; font-variant-numeric: tabular-nums; }
.addr h3:first-of-type { margin-top: 0; }

/* ---------- footer ---------- */
.foot-upper { background: var(--concrete); border-top: 1px solid var(--rule); padding-block: clamp(32px, 4vw, 56px); }
.foot-upper .wrap { display: grid; gap: 28px clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .foot-upper .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.foot-logo { height: 64px; width: auto; margin-bottom: 14px; }
.tag { font: 700 1.5rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.foot-ids { margin: 0; font: 400 .875rem/1.5 var(--f-body); border-top: 3px solid var(--ink); font-variant-numeric: tabular-nums; }
.foot-ids div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.foot-ids dt { color: var(--steel); font-weight: 600; }
.foot-ids dd { margin: 0; color: var(--ink); }
.foot-lower { background: var(--ink); color: var(--on-dark); padding-top: clamp(32px, 4vw, 48px); font-size: .95rem; }
.foot-grid { display: grid; gap: 28px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
.foot-lower h2 { font: 600 .75rem/1.3 var(--f-body); color: #fff; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18); font-variant-numeric: tabular-nums; }
.foot-lower p { margin: 0 0 1em; }
.foot-lower a { color: #fff; text-decoration: none; }
.foot-lower a:hover { text-decoration: underline; color: #fff; }
.foot-lower .plain a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-lower .tel a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.legal { margin-top: 32px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.14); font: 400 .875rem/1.5 var(--f-body); color: var(--on-dark); font-variant-numeric: tabular-nums; }

/* lightbox */
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog#lightbox::backdrop { background: rgba(27,33,38,.9); }
#lightbox img { max-width: 94vw; max-height: 84vh; margin: 0 auto; }
.lb-close { position: absolute; right: 0; top: -48px; width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta, .foot-lower { display: none; } .title-band, .hero { background: none; color: #000; } .title-band h1, .hero h1 { color: #000; } }
.h-small { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); }
.h-small a { color: inherit; text-decoration: none; }
.h-small a:hover { color: var(--green-dark); text-decoration: underline; }
.p-title { font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .5em; }
.after-facts { margin-top: 12px; }
.after-gallery { margin-top: 24px; }
.aside-box h3 + p { margin-bottom: 1em; }
.aside-box .aside-h2 { margin-top: 28px; }
.form-h { margin-top: 32px; }
@media (min-width: 900px) { .sticky-fig, .section-nav { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (min-width: 1024px) { .gallery.g4.two-only { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related-one { max-width: 420px; }
.section-nav .link-index { border-top: 0; }
.photo.native + * , .split > div > .photo { margin-top: 24px; }
.intro-split { margin-top: var(--pad-m); padding-top: var(--pad-m); border-top: 1px solid var(--rule); }
.index-h a { color: inherit; text-decoration: none; } .index-h a:hover { text-decoration: underline; }
.band-label { font: 600 .875rem/1.3 var(--f-body); color: var(--on-dark); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.title-band h1.h1-long { max-width: 34ch; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.1; }
.pr-contact { margin-bottom: 1.25em; }
/* home (restored 2024 order) */
.home-intro .wosb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; text-align: center; padding-bottom: var(--pad-s); border-bottom: 1px solid var(--rule); }
.wosb-line { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; max-width: 46ch; margin: 0; }
.wosb-logo { width: clamp(220px, 24vw, 290px); height: auto; }
.partner-cta { display: grid; gap: 16px 40px; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: var(--pad-s); border-bottom: 1px solid var(--rule); margin-bottom: var(--pad-s); }
.partner-cta h2 { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); margin-bottom: .3em; }
@media (min-width: 900px) { .partner-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.since { font: 600 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); margin-bottom: .4em; }
.h2-size { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 700; text-transform: uppercase; }
.home-close .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 48px; text-align: center; }
.bbb { display: inline-flex; min-height: 44px; }
.bbb img { width: 200px; height: auto; }
