/* Gower Street Angels: an exact match of evantic.ai's look, measured 29 Nov 2026, with the chapter's content.
   Column 800px, padding 24px (40px top and bottom from 768px), JetBrains Mono 16/24 black on white,
   labels 12px bold uppercase tracked 0.2em, sections 56px apart, footer rule 1px black, 10px uppercase tracked 0.25em.
   The chapter's own touches: the GWST logotype in the header, charcoal text, the member numbers in plum #361A54, and four small behaviours in site.js. */

/* JetBrains Mono, the typeface Evantic uses, shipped with the site (SIL Open Font License, see fonts/OFL.txt) */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono-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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("fonts/jetbrains-mono-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; }

:root { color-scheme: light; --ink: #1A1A1A; --paper: #fff; --plum: #361A54; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); transition: background-color 0.6s ease; }
body { margin: 0; background: var(--paper); transition: background-color 0.6s ease; color: var(--ink); font-family: var(--mono); font-weight: 400; font-size: 16px; line-height: 24px; }
::selection { background: var(--plum); color: #fff; }
h1, h2, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.col { max-width: 800px; margin: 0 auto; padding: 24px; }
@media (min-width: 768px) { .col { padding: 40px 24px; } }

/* Header: a 90px logo row holding the GWST logotype, then the one-line descriptor and a paragraph */
.logo-row { display: flex; align-items: center; height: 90px; margin-bottom: 28px; overflow: hidden; }
.logo { display: block; }
.logo img { display: block; height: 48px; width: auto; filter: invert(0.1); }   /* the GWST logotype as supplied, with the white cut out; 48px tall in the 90px row */
.head { margin-bottom: 40px; }
.head h1 { font-size: 16px; line-height: 24px; font-weight: 400; }
.head p { margin-top: 16px; }

/* Sections */
.section { margin-bottom: 56px; }   /* sections 56px apart; before the first title only the header's 40px applies, as on Evantic */
.label { margin-bottom: 24px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.label.wide { margin-bottom: 32px; }
.section p + p { margin-top: 16px; }
.section p + ul, .section ul + p { margin-top: 16px; }
b, strong { font-weight: 700; }

/* Lists, as Evantic sets them */
.dashes { padding-left: 16px; }
.dashes li { display: flex; gap: 12px; }
.dashes li + li { margin-top: 12px; }
.dashes li::before { content: "\2014"; flex: none; }
.names { display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding-left: 16px; opacity: 0.9; }
.names li { display: flex; gap: 12px; }
.names li::before { content: "\2022"; flex: none; }
.people { display: grid; grid-template-columns: 1fr; gap: 24px 48px; padding-left: 16px; }
.people li { display: flex; flex-direction: column; }
.people b { font-weight: 700; }
.people small { font-size: 12px; line-height: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(26, 26, 26, 0.6); }
.people small a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }   /* the LinkedIn link after each role */
.people small a:hover { color: var(--ink); }
.people.one { gap: 24px; }
.section .people + p { margin-top: 40px; }   /* more specific than the general list-then-paragraph rule, so it wins */
@media (min-width: 640px) { .names, .people { grid-template-columns: 1fr 1fr; } .people.one { grid-template-columns: 1fr; } }

/* The logo grid, used here for words and numbers instead of logos: 4 columns of 170px, gaps 40px by 24px */
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.wall li { font-weight: 700; }
.wall small { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.6; }
.wall .num { display: block; font-size: 32px; line-height: 40px; color: var(--plum); }
.num-btn { text-align: left; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 6px; }   /* the 17: hover or tap for the list */
.section .wall + .countries { margin-top: 24px; font-size: 12px; line-height: 20px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.6; }
@media (min-width: 768px) { .wall { grid-template-columns: repeat(4, 170px); } }

/* Calls to action: set like the labels, with a rule under them */
.cta { display: inline-block; margin-top: 24px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.cta:hover { opacity: 0.6; }

/* Forms */
.form { margin-top: 32px; }
.field + .field { margin-top: 28px; }
.field label, .field-group legend { display: block; margin-bottom: 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.field label small, .field-group legend small { font-weight: 400; letter-spacing: 0.05em; opacity: 0.6; }
.field-group { border: 0; margin: 0; padding: 0; min-width: 0; }   /* a group of tick boxes under one heading */
.field-group legend { padding: 0; margin-bottom: 12px; }
.field-group .field-check + .field-check { margin-top: 8px; }
.hint { margin-top: 8px; font-size: 12px; line-height: 16px; opacity: 0.6; }
.input { display: block; width: 100%; margin: 0; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; }
.input::placeholder { color: var(--ink); opacity: 0.35; }
.input:focus { outline: none; box-shadow: 0 1px 0 0 var(--ink); }
textarea.input { min-height: 72px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.5'%3E%3Cpath d='M4 9l8 8 8-8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; background-size: 18px 18px; cursor: pointer; }
select.input:invalid { color: rgba(26, 26, 26, 0.35); }
select.input option { color: var(--ink); }
.field-check { display: flex; align-items: flex-start; gap: 12px; }
.field-check input { flex: none; width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--ink); cursor: pointer; }
.field-check label { margin: 0; font-size: 14px; line-height: 22px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.form-submit { margin-top: 36px; }
.btn { display: inline-block; padding: 12px 24px; border: 1px solid var(--ink); background: #fff; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); outline: none; }

/* Footer */
.foot { display: flex; flex-direction: column; gap: 40px; margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--ink); font-size: 10px; line-height: 16px; letter-spacing: 0.25em; text-transform: uppercase; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot .clocks { flex: 0 0 100%; }   /* local time in five member cities, filled by site.js */
.foot .clocks:empty { display: none; }
.foot a:hover { opacity: 0.6; }
@media (min-width: 768px) { .foot { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; } }

/* The moment: while the Membership section is in view, the page turns lavender (site.js adds the class) */
html.is-moment { --paper: #CE97FE; }
@media (prefers-reduced-motion: reduce) { html, body { transition: none; } }
