/* N2L: one editorial identity. Theme overrides change semantic colours only. */
:root {
 color-scheme:light;
 --bg:#f7f5ef; --fg:#171714; --muted:#625f56; --rule:#c7c2b6;
 --well:#ede9de; --band:#fed34c; --accent:#fed34c; --on-accent:#171714;
 --urgent:#9c3e22; --focus:#795800; --participation-accent:#39766f;
 --font:"Helvetica Neue",Helvetica,Arial,sans-serif; --font-meta:var(--font);
 --w-body:400; --w-strong:500; --w-title:500; --w-display:500;
 --meta-case:none; --meta-track:0; --meta-size:0.875rem;
 --text-body:1rem; --text-nav:0.9375rem; --text-subheading:clamp(1.1875rem,1.05rem + .6vw,1.375rem);
 --text-heading-sm:clamp(1.375rem,1.15rem + 1vw,1.6875rem);
 --text-heading-lg:clamp(2.125rem,1.5rem + 2.6vw,2.75rem);
 --display-size:clamp(2.5rem,1.2rem + 3.6vw,4rem); --display-leading:1.05;
 --title-size:1.375rem; --label-size:2rem; --label-color:var(--fg);
 --space-8:8px; --space-12:12px; --space-16:16px; --space-20:20px; --space-24:24px; --space-32:32px; --space-48:48px; --space-section:clamp(40px,6vw,72px);
 --page:1280px; --column:52rem; --measure:34em; --radius:0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: var(--w-body);
  font-size: var(--text-body);
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; }

strong, b { font-weight: var(--w-strong); }

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

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

hr { height: 1px; margin-block: var(--space-48); border: 0; background: var(--rule); }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: clamp(22px, 4.3vw, 56px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.masthead, .site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(20px, 2.2vw, 32px);
}
.masthead { flex-wrap: wrap; gap: var(--space-12) var(--space-20); }
.site-header { gap: var(--space-24); }

.wordmark { display: flex; gap: 6px; }
.wordmark:hover, .wordmark:focus-visible { text-decoration: none; }
.wordmark span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fg);
  border-radius: var(--radius);
  font-size: 24px;
  line-height: 1;
  font-weight: var(--w-title);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) clamp(16px, 2.8vw, 40px);
  font-size: var(--text-nav);
  line-height: 1.3;
}

.masthead > .site-nav, .site-header > .site-nav { margin-left: auto; }

.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0 -10px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--fg);
  cursor: pointer;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--well); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}

.site-footer {
  margin-top: clamp(56px, 8vw, 112px);
  padding-bottom: var(--space-48);
}
.site-footer .runinfo {
  max-width: var(--measure);
  margin-bottom: var(--space-24);
  color: var(--muted);
  font-family: var(--font-meta);
  font-size: var(--meta-size);
  text-transform: var(--meta-case);
  letter-spacing: var(--meta-track);
}
.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8) var(--space-24);
  padding-top: var(--space-24);
  border-top: 1px solid var(--rule);
}

.masthead ~ main {
  max-width: var(--column);
  padding-block: clamp(32px, 5vw, 72px) 0;
}

.masthead ~ main p a,
.masthead ~ main li a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.masthead ~ main h1 {
  font-size: var(--display-size);
  line-height: var(--display-leading);
  font-weight: var(--w-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.masthead ~ main h1::after {
  content: "";
  display: block;
  width: min(264px, 45%);
  height: 4px;
  margin-top: var(--space-24);
  background: var(--accent);
}

.masthead ~ main h1 + p { margin-top: clamp(24px, 2.4vw, 32px); }

.masthead ~ main h2 {
  margin-top: var(--space-section);
  font-size: var(--text-heading-lg);
  line-height: 1.1;
  font-weight: var(--w-title);
  text-wrap: balance;
}

.masthead ~ main h2 + h3 { margin-top: var(--space-24); }

.masthead ~ main h3 {
  margin-top: clamp(32px, 4vw, 56px);
  font-size: var(--text-heading-sm);
  line-height: 1.2;
  font-weight: var(--w-title);
  color: var(--muted);
  letter-spacing: 0.01em;
}

.masthead ~ main p {
  max-width: var(--measure);
  margin-top: var(--space-24);
  line-height: 1.5;
  text-wrap: pretty;
}

.masthead ~ main p.lede {
  font-size: var(--text-subheading);
  line-height: 1.4;
}

.masthead ~ main p > em:only-child {
  font-style: normal;
  color: var(--muted);
}

.masthead ~ main p:has(> em:only-child) + p {
  margin-top: var(--space-12);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.masthead ~ main p:has(> em:only-child) + p strong { color: var(--fg); }

.masthead ~ main :is(p > strong:first-child, p.headline > strong) > a {
  font-size: var(--text-subheading);
  line-height: 1.27;
  font-weight: var(--w-title);
  text-decoration: none;
}
.masthead ~ main :is(p > strong:first-child, p.headline > strong) > a:hover,
.masthead ~ main :is(p > strong:first-child, p.headline > strong) > a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.masthead ~ main :is(p > strong:first-child:has(> a), p.headline > strong) {
  display: block;
  margin-bottom: 6px;
}
.masthead ~ main :is(p > strong:first-child:has(> a), p.headline > strong) + br { display: none; }

.masthead ~ main :is(p:has(> strong:first-child > a), p.headline) {
  max-width: none;
  margin-top: 0;
  padding-block: var(--space-24);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.5;
  
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}
.masthead ~ main :is(p:has(> strong:first-child > a), p.headline) > strong > a { color: var(--fg); }

.masthead ~ main h2 + :is(p:has(> strong:first-child > a), p.headline),
.masthead ~ main h3 + :is(p:has(> strong:first-child > a), p.headline) {
  margin-top: clamp(16px, 2.2vw, 32px);
  border-top: 1px solid var(--rule);
}

/* News rows that carry a publisher thumbnail: the image takes a fixed first column and spans
   both lines, the headline and the source/date text sit in the second column, so a wrapped
   title never flows back under the image. */
.masthead ~ main p.headline:has(> .headline-image) {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: var(--space-16);
  align-items: start;
}
.masthead ~ main p.headline > .headline-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  margin: 0;
  object-fit: cover;
  border-radius: var(--radius);
}
.masthead ~ main p.headline:has(> .headline-image) > strong { grid-column: 2; }

.urgent { color: var(--urgent); }

.masthead ~ main ul,
.masthead ~ main ol {
  max-width: var(--measure);
  margin-top: var(--space-24);
  padding-left: 1.2em;
}
.masthead ~ main li + li { margin-top: var(--space-12); }

.masthead ~ main h2:has(+ ul > li > strong:first-child) {
  max-width: 36rem;
  margin-bottom: 0;
  padding: var(--space-24) var(--space-16) var(--space-16);
  background: var(--band);
}
.masthead ~ main ul:has(> li > strong:first-child) {
  max-width: 36rem;
  margin-top: 0;
  padding-left: 0;
  border-top: 1px solid var(--rule);
  background: var(--band);
  list-style: none;
}
.masthead ~ main ul:has(> li > strong:first-child) > li {
  margin-top: 0;
  padding: var(--space-24) var(--space-16);
  border-bottom: 1px solid var(--rule);
}

.masthead ~ main ul:has(> li > strong:first-child) > li > strong:first-child {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-subheading);
  line-height: 1.27;
  font-weight: var(--w-title);
}

.masthead ~ main .sections {
  max-width: none;
  margin-top: var(--space-section);
  padding-left: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.masthead ~ main .sections li {
  margin-top: 0;
  border-bottom: 1px solid var(--rule);
}
.masthead ~ main .sections a {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding-block: var(--space-24);
  font-size: var(--text-heading-sm);
  line-height: 1.2;
  font-weight: var(--w-title);
  text-decoration: none;
}
.masthead ~ main .sections a::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.masthead ~ main .sections a::after {
  content: "\2192";
  margin-left: auto;
  transition: transform 120ms ease-out;
}
.masthead ~ main .sections a:hover,
.masthead ~ main .sections a:focus-visible { text-decoration: underline; }
.masthead ~ main .sections a:hover::after,
.masthead ~ main .sections a:focus-visible::after { transform: translateX(var(--space-16)); }

@media (prefers-reduced-motion: reduce) {
  .masthead ~ main .sections a::after { transition: none; }
}

.masthead ~ main p.issue {
  max-width: none;
  margin-top: var(--space-section);
  padding-top: var(--space-24);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--font-meta);
  font-size: var(--meta-size);
  text-transform: var(--meta-case);
  letter-spacing: var(--meta-track);
}

.masthead ~ main table {
  width: 100%;
  margin-top: var(--space-24);
  border-collapse: collapse;
}
.masthead ~ main th,
.masthead ~ main td {
  padding: var(--space-12) var(--space-16) var(--space-12) 0;
  border-bottom: 1px solid var(--rule);
  font-weight: var(--w-body);
  text-align: left;
  vertical-align: top;
}

.site-header ~ .site-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-32);
  margin-top: clamp(48px, 6vw, 96px);
  padding-block: var(--space-24) var(--space-48);
  border-top: 1px solid var(--rule);
}

.page-head { padding-block: clamp(40px, 6vw, 88px) 0; }
.page-head h1 {
  font-size: var(--display-size);
  line-height: var(--display-leading);
  font-weight: var(--w-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.page-head .mark { width: 264px; max-width: 40%; height: 4px; margin-top: var(--space-24); background: var(--accent); }
.summary { max-width: var(--measure); margin-top: var(--space-24); color: var(--muted); text-wrap: pretty; }
.empty { margin-top: var(--space-32); color: var(--muted); }
.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-8) var(--space-24);
  margin-top: var(--space-24);
  font-family: var(--font-meta);
  font-size: var(--meta-size);
  text-transform: var(--meta-case);
  letter-spacing: var(--meta-track);
}
.groups { display: flex; flex-wrap: wrap; gap: var(--space-8) var(--space-24); }
.groups a { gap: 8px; }
.groups .count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; padding-inline: 6px; color: var(--muted); background: var(--well); font-variant-numeric: tabular-nums; }
.view-switch { display: inline-flex; align-items: baseline; gap: var(--space-12); }
.view-switch[hidden] { display: none; }
.view-switch .sep { color: var(--muted); }
.view-option {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.view-option:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.view-option[aria-pressed="true"] {
  cursor: default;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}

html[data-view="condensed"] .freshness:not(.stale) { display: none; }
html[data-view="condensed"] .competition { padding-block: var(--space-16); }
.v-short { display: none; }
html[data-view="condensed"] .v-short { display: inline; }
html[data-view="condensed"] .v-full { display: none; }

.state-group { padding-top: clamp(40px, 5vw, 72px); }
.state-group h2 {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  margin-bottom: var(--space-24);
  font-size: var(--label-size);
  line-height: 1.15;
  font-weight: var(--w-title);
  color: var(--label-color);
  letter-spacing: 0.02em;
}
.state-group h2 .count {
  font-family: var(--font-meta);
  font-size: var(--meta-size);
  letter-spacing: var(--meta-track);
  color: var(--muted);
}

.list { display: block; width: 100%; border-top: 1px solid var(--rule); border-collapse: collapse; border-spacing: 0; }
.list thead, .list tbody { display: block; }
.col { display: block; padding: 0; text-align: left; font-weight: inherit; vertical-align: top; }
.competition, .competition-column-row {
  display: grid;
  grid-template-columns: minmax(140px,.8fr) minmax(0,1.7fr) minmax(0,.95fr) minmax(0,.95fr);
  gap: var(--space-8) var(--space-32);
  padding-block: var(--space-24);
  border-bottom: 1px solid var(--rule);
}
.competition p { line-height: 1.5; }
.competition .name { font-size: var(--title-size); line-height: 1.27; font-weight: var(--w-title); }
.competition .name a { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.competition .name a:hover { text-decoration-color: currentColor; }
.external-link-mark { white-space: nowrap; font-size: .8em; }
.competition .sub { color: var(--muted); }
.competition .prize-pool { margin-top: 8px; font-size: .875rem; overflow-wrap: anywhere; }
.competition .prize-pool-label { display: block; font-weight: 600; }
.competition .fee { margin-top: 8px; font-weight: 600; }
.deadline.soon { color: var(--urgent); }
.freshness {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-meta);
  font-size: var(--meta-size);
  text-transform: var(--meta-case);
  letter-spacing: var(--meta-track);
}
.competition[data-canadian="no"] .canadian { color: var(--urgent); }

:root[data-theme="dark"] {
 color-scheme:dark;
 --bg:#171714; --fg:#f7f5ef; --muted:#bcb7aa; --rule:#4e4b43;
 --well:#26251f; --band:#fed34c; --urgent:#f3ad87; --focus:#fed34c; --participation-accent:#80b8ae;
}

@media (max-width: 960px) {
  .competition { grid-template-columns: 180px minmax(0, 1fr); }
  .col-who, .col-prize { grid-column: 2; }
}

@media (max-width: 600px) {
  
  .masthead, .site-header { flex-wrap: wrap; }
  .masthead > .theme-toggle, .site-header > .theme-toggle { order: 1; margin-left: auto; }
  .masthead > .site-nav, .site-header > .site-nav { order: 2; flex-basis: 100%; margin-left: 0; }
  .wordmark { gap: 5px; }
  .wordmark span { width: 36px; height: 36px; font-size: 20px; }
  .site-nav { font-size: var(--text-body); }
  .masthead .site-nav { gap: var(--space-8) var(--space-16); }
  .masthead ~ main :is(p:has(> strong:first-child > a), p.headline) { padding-block: 18px; }
  .masthead ~ main h2:has(+ ul > li > strong:first-child) { padding: var(--space-20) var(--space-16) var(--space-12); }
  .masthead ~ main ul:has(> li > strong:first-child) > li { padding-block: 18px; }
  .masthead ~ main .sections a { padding-block: 18px; }
  .colophon { flex-direction: column; }
  .site-header ~ .site-footer { flex-direction: column; gap: var(--space-8); }
  .competition { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 18px; }
  .col-who, .col-prize { grid-column: auto; }
  .competition .name { font-size: 1.1875rem; line-height: 1.3; }
}

@media (max-width: 480px) {
  .masthead ~ main p.headline:has(> .headline-image) { grid-template-columns: 48px minmax(0, 1fr); }
  .masthead ~ main p.headline > .headline-image { width: 48px; height: 48px; }
}

/* Shared chrome and the wider homepage. */
[hidden]{display:none!important}
.skip-link{position:absolute;left:22px;top:-100px;background:var(--bg);padding:12px;z-index:10}
.skip-link:focus{top:8px}
.place-line{padding:14px 0 10px;border-bottom:1px solid var(--rule);color:var(--muted);font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.masthead,.site-header{border-bottom:1px solid var(--rule);gap:20px;padding-block:22px}
.wordmark{gap:0;min-height:44px}
.wordmark span{width:38px;height:42px;font-weight:500}
.wordmark span+span{border-left:0}
.site-nav a{display:inline-flex;align-items:center;min-height:44px}
.site-nav{gap:8px 24px}
.theme-toggle{border:1px solid var(--rule);margin:0}
.home{padding-top:0}
.home h1{font-size:clamp(44px,6.5vw,78px);line-height:.98;letter-spacing:-.05em;font-weight:500}
.home h2{font-size:34px;line-height:1.1;letter-spacing:-.035em;font-weight:500}
.home p{max-width:34em}
.home-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:end;padding:46px 0 32px}
.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-bottom:16px}
.home-lede{font-size:18px;line-height:1.5}
.home-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px;font-size:14px}
.home-actions a{display:inline-flex;align-items:center;min-height:44px}
.primary-action{background:var(--accent);color:var(--on-accent);padding:13px 18px;min-height:48px!important}
.home-photo img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
.home-photo figcaption{display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding-top:10px;font-size:11px;color:var(--muted)}
.home-events{padding-top:42px;scroll-margin-top:20px}
.section-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.quiet{color:var(--muted);font-size:14px}
.audience-switch{display:flex;gap:6px;padding-bottom:12px;border-bottom:1px solid var(--fg)}
.audience-switch button{font:inherit;font-size:16px;min-height:44px;border:1px solid transparent;background:none;color:inherit;padding:8px 14px;cursor:pointer}
.audience-switch button[aria-pressed="true"]{border-color:var(--rule);background:var(--well)}
.audience-switch:not([hidden])~div .preview-label{display:none}
.preview-label{font-size:20px;margin:20px 0 12px}
.all-events{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.source-note{margin-top:12px}
.event-list p{padding:22px 0;border-bottom:1px solid var(--rule);color:var(--muted)}
.event-list p>strong>a{font-size:20px;color:var(--fg);font-weight:500}
.event-list p>strong{display:block}
.event-list p>strong+br{display:none}
.event-row,.masthead~main p.event-row,.event[data-event-row],.masthead~main p.event[data-event-row]{display:grid;grid-template-columns:70px minmax(0,1fr);gap:24px;max-width:none;margin:0;padding:22px 0;border-bottom:1px solid var(--rule);color:var(--muted);font-size:14px}
.event-date{display:flex;flex-direction:column;font-size:12px;text-transform:uppercase;line-height:1.4;font-variant-numeric:tabular-nums}
.event-date strong{font-size:30px;color:var(--fg);line-height:1.2;font-weight:400}
.event-body{min-width:0}
.event-body>strong{display:block;color:var(--fg);font-size:20px;line-height:1.3;font-weight:500;margin-bottom:6px}
.event-time,.event-place,.event-description,.event-attendance,.event-duration{display:block;margin-top:4px}
.event-description{max-width:44em;color:var(--fg)}
.event-place{max-width:44em}
.event-audiences{display:flex;align-items:center;gap:12px;font-size:16px;white-space:nowrap}
.event-audiences a{min-height:44px;display:inline-flex;align-items:center;padding-inline:10px}
.event-audiences>span{color:var(--muted)}
.event-audiences [aria-current]{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:.35em}
.methodology{margin-top:20px;color:var(--muted);font-size:14px;max-width:40em}
.methodology summary{cursor:pointer;min-height:44px;padding:12px 0}
.methodology p{margin-top:6px!important}
.home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:48px;border-top:1px solid var(--fg);margin-top:44px;padding-top:42px}
.home-bottom h2{font-size:28px;margin-bottom:18px}
.home-headline{display:block;border-top:1px solid var(--rule);padding:16px 0;font-size:18px;line-height:1.3}
.home-headline span{display:block;color:var(--muted);font-size:12px;margin-top:7px}
.opportunity-band{background:var(--band);color:var(--on-accent);padding:28px}
.opportunity-band .eyebrow{color:var(--on-accent)}
.competition-columns .competition-column-row{font-size:12px;color:var(--muted);padding-block:12px}
.competition-columns th{font-weight:400;text-align:left}
.groups a,.view-option{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:960px){.competition-columns{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)} }
@media(max-width:700px){
.home-intro{grid-template-columns:1fr;gap:22px;padding-top:30px}
.home h1{font-size:56px}.home-lede{font-size:17px}
.home h2{font-size:30px}.home-bottom{grid-template-columns:1fr;gap:30px}
.home-photo img{height:auto;max-height:none}
.masthead,.site-header{flex-wrap:wrap;gap:12px;padding-block:16px}
.masthead>.site-nav,.site-header>.site-nav{order:2;flex-basis:100%;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;font-size:13px}
.site-nav a{min-height:44px;display:flex;align-items:center}
.site-nav:has(>a:nth-child(5)){grid-template-columns:repeat(6,minmax(0,1fr))}
.site-nav:has(>a:nth-child(5))>a{grid-column:span 2}
.site-nav:has(>a:nth-child(5))>a:nth-last-child(-n+2){grid-column:span 3}
.masthead>.theme-toggle,.site-header>.theme-toggle{order:1;margin-left:auto}
.event-row,.masthead~main p.event-row,.event[data-event-row],.masthead~main p.event[data-event-row]{grid-template-columns:48px minmax(0,1fr);gap:14px}
.event-body>strong{font-size:18px}.place-line{font-size:10px}.home-actions{gap:12px}
}

.home .event-list p{max-width:none}
.site-header~.site-footer .colophon{width:100%;border-top:0;padding-top:0}

/* The homepage story shares the same layout in both colour themes. */
.home-story{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:48px;padding-top:36px;border-top:1px solid var(--fg)}
.home-story p+p{margin-top:16px}
.home-story h2{margin-bottom:20px}
@media(max-width:700px){.home-story{grid-template-columns:1fr;gap:12px}}

.site-footer .copyright{font-size:12px;color:var(--muted)}

/* Community news: a shared editorial layout in both colour themes. */
.masthead ~ main.news-page { max-width: none; padding-top: 44px; }
.news-intro { display: block; }
.masthead ~ main.news-page h1 { font-size: clamp(42px, 5.2vw, 64px); letter-spacing: -.045em; }
.masthead ~ main.news-page h1::after { display: none; }
.masthead ~ main.news-page .news-intro .lede { max-width: 35em; margin-top: 18px; font-size: 18px; color: var(--muted); }
.masthead ~ main.news-page .news-issue { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 20px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); text-align: left; }
.news-issue > span { display: block; }
.news-issue > span + span::before { content: "·"; margin-inline: 10px; }
.news-issue > span:first-child { color: var(--fg); }
.news-jump { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; padding-block: 8px; border-top: 1px solid var(--rule); }
.news-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; }
.news-jump a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.news-columns section { min-width: 0; scroll-margin-top: 24px; }
.masthead ~ main.news-page .news-section-title { margin: 0; padding: 17px 0; border-top: 4px solid var(--accent); border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.4; letter-spacing: .045em; text-transform: uppercase; text-wrap: initial; }
.news-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
.news-story { min-width: 0; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.masthead ~ main.news-page .news-story h3 { margin: 0; font-size: 23px; line-height: 1.25; font-weight: 500; letter-spacing: -.022em; color: var(--fg); text-wrap: pretty; }
.news-story h3 a:hover, .news-story h3 a:focus-visible { text-decoration-thickness: 2px; text-underline-offset: .16em; }
.masthead ~ main.news-page .news-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 13px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.news-meta time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.news-story-lead { grid-column: 1 / -1; padding-block: 30px 32px; }
.masthead ~ main.news-page .news-story-lead h3 { max-width: 22ch; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.035em; }
.masthead ~ main.news-page .news-kicker { margin: 0 0 16px; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.news-ventures { padding-left: 28px; border-left: 1px solid var(--rule); }
.masthead ~ main.news-page .news-ventures .news-story h3 { font-size: 22px; }
@media (max-width: 1000px) {
  .news-columns { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; }
  .news-stories { grid-template-columns: minmax(0, 1fr); }
  .news-ventures { padding-left: 24px; }
}
@media (max-width: 700px) {
  .masthead ~ main.news-page { padding-top: 30px; }
  .news-columns { grid-template-columns: minmax(0, 1fr); }
  .masthead ~ main.news-page .news-issue { flex-direction: column; gap: 0; }
  .news-issue > span + span::before { content: none; }
  .masthead ~ main.news-page .news-intro .lede { font-size: 17px; }
  .masthead ~ main.news-page .news-issue { text-align: left; }
  .news-jump { gap: 0 20px; margin-top: 22px; }
  .news-jump a { font-size: 12px; }
  .news-columns { gap: 40px; }
  .news-ventures { padding-left: 0; border-left: 0; }
  .news-story { padding-block: 21px; }
  .masthead ~ main.news-page .news-story h3 { font-size: 22px; }
  .masthead ~ main.news-page .news-story-lead h3 { font-size: 36px; }
}

/* Audience controls share the competitions banner placement. */
.masthead ~ main.events-page { max-width: none; }
.masthead ~ main.events-page > :not(.event-banner) { max-width: var(--column); }
.event-banner { padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.masthead ~ main .event-banner .event-intro { max-width: none; }
.masthead ~ main .event-banner .event-issue { max-width: none; margin-top: 14px; font-size: 14px; color: var(--muted); }
.event-banner-controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-top: 22px; }
.event-banner-controls .methodology { margin: 0; }
.event-banner-controls .event-audiences { margin-left: auto; }
@media (max-width: 700px) {
  .event-banner-controls { flex-direction: column; align-items: flex-start; gap: 8px; }
  .event-banner-controls .event-audiences { margin-left: 0; }
}

/* Openly licensed local photography; the same composition in both themes. */
.local-photo { min-width: 0; }
.local-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 58%; background: var(--well); }
.local-photo figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 0; padding-top: 9px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.local-photo .photo-place { color: var(--fg); }
.local-photo .photo-crop { color: var(--muted); white-space: nowrap; }
/* Compact caption links lead to full attribution on a separate page. */
.photo-credit-ref { display: inline-flex; align-items: center; min-height: 28px; margin-left: 8px; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit-entry { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.photo-credit-entry a { text-decoration: underline; text-underline-offset: 2px; }
.photo-credit-entry:target { outline: 2px solid var(--focus); outline-offset: 10px; }
.event-banner-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 32px 48px; align-items: start; }
.event-banner-copy { min-width: 0; }
.event-banner-scene .local-photo img { aspect-ratio: 2 / 1; }
.event-banner-scene .local-photo figcaption { display: block; }
.news-place-photo { margin-top: 20px; }
.news-university .news-place-photo img { aspect-ratio: 3 / 1; object-position: center 62%; }
.home-region { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.region-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) {
  .event-banner-scene { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
}
@media (max-width: 700px) {
  .event-banner-scene, .region-photos { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .event-banner-scene .local-photo img { aspect-ratio: 2.4 / 1; }
  .event-banner-scene .local-photo figcaption { display: flex; }
  .news-university .news-place-photo img { aspect-ratio: 2.4 / 1; }
}

/* Reviewed story previews give context without changing headline order. */
.masthead ~ main.news-page .news-summary { max-width: 42em; margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.masthead ~ main.news-page .news-story-lead .news-summary { max-width: 38em; margin-top: 18px; font-size: 18px; }
.masthead ~ main.news-page .news-ventures .news-summary { font-size: 15px; }

/* About N2L: the same editorial identity and regional photography. */
.masthead ~ main.about-page { max-width: none; padding-top: 44px; }
.about-intro, .about-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; }
.masthead ~ main.about-page h1 { font-size: clamp(42px, 5.2vw, 64px); letter-spacing: -.045em; }
.masthead ~ main.about-page .about-intro .lede { margin-top: 0; font-size: 22px; line-height: 1.4; }
.masthead ~ main.about-page .about-purpose { margin-top: 18px; color: var(--muted); font-size: 18px; }
.about-photo { margin-top: 36px; }
.about-photo img { aspect-ratio: 3 / 1; object-position: center 55%; }
.about-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.masthead ~ main.about-page .about-section h2 { margin: 0; max-width: 18ch; font-size: 34px; line-height: 1.12; letter-spacing: -.035em; }
.masthead ~ main.about-page .about-section p { margin-top: 0; }
.masthead ~ main.about-page .about-section p + p { margin-top: 18px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 18px; }
.about-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.colophon { align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-left: auto; font-size: 14px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links [aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .35em; }
@media (max-width: 700px) {
  .masthead ~ main.about-page { padding-top: 30px; }
  .about-intro, .about-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .masthead ~ main.about-page .about-intro .lede { font-size: 20px; }
  .masthead ~ main.about-page .about-purpose { font-size: 17px; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .masthead ~ main.about-page .about-section h2 { font-size: 30px; }
  .colophon { align-items: flex-start; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; width: 100%; }
  .footer-links a:nth-child(even) { justify-self: end; }
}

/* Promo banners use N2L's shared type, colour and event rows. One shows at a time, the highest-priority active window; `hidden` must beat the flex display. */
.promo-banner{display:flex;justify-content:space-between;align-items:center;gap:16px 32px;margin:24px 0 0;padding:18px 24px;background:var(--accent);color:var(--on-accent)}
.promo-banner[hidden]{display:none}
.promo-banner>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 20px}
.promo-banner-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;flex-basis:100%}
.promo-banner strong{font-size:22px;line-height:1.2}
.promo-banner>div>span:last-child{font-size:14px}
.promo-banner>a{display:inline-flex;align-items:center;gap:16px;min-height:44px;font-size:15px;white-space:nowrap;text-decoration:none;text-underline-offset:4px}
.promo-banner>a:is(:hover,:focus-visible){text-decoration:none}
.promo-banner>a:focus-visible{outline-color:currentColor}
.promo-banner>a:is(:hover,:focus-visible)>.promo-banner-link-text{text-decoration:underline}
.masthead~main.events-page>.promo-banner{max-width:none}
.event-body .tech-week-badge{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;padding:6px 12px;border:1px solid var(--rule);box-shadow:inset 3px 0 var(--accent);font-size:12px;color:var(--fg);text-decoration:none}
.masthead~main.tech-week-page{max-width:none;padding-top:40px}
.masthead~main.events-page.tech-week-page>*{max-width:none}
.tech-week-intro{display:grid;grid-template-columns:1fr 1.1fr;gap:32px 64px;align-items:end}
.masthead~main.tech-week-page .eyebrow{margin:0 0 18px;font-size:11px}
.masthead~main.tech-week-page h1{font-size:clamp(48px,6vw,76px);line-height:1;letter-spacing:-.045em}
.masthead~main.tech-week-page h1::after{display:none}
.masthead~main.tech-week-page .lede{margin-top:0;font-size:23px;line-height:1.35}
.masthead~main.tech-week-page .tech-week-intro p:not(.lede):not(.eyebrow){font-size:16px;color:var(--muted);margin-top:16px}
.tech-week-dateline{display:flex;flex-wrap:wrap;gap:8px 32px;margin-top:32px;padding:14px 20px;background:var(--accent);color:var(--on-accent);font-size:14px}
.masthead~main.tech-week-page h2{margin-top:0;font-size:30px;letter-spacing:-.025em}
.tech-week-start{margin-top:36px}
.tech-week-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:22px}
.tech-week-picks article{padding-top:16px;border-top:1px solid var(--rule)}
.tech-week-pick-date{font-size:12px;color:var(--muted)}
.masthead~main.tech-week-page .tech-week-picks h3{margin:10px 0 0;color:var(--fg);font-size:20px;letter-spacing:-.015em;line-height:1.25}
.masthead~main.tech-week-page .tech-week-picks p{font-size:14px;color:var(--muted);margin-top:12px}
.tech-week-days{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:36px;padding:12px 0;border-top:1px solid var(--fg);border-bottom:1px solid var(--rule)}
.tech-week-days a{display:inline-flex;gap:12px;align-items:center;min-height:44px;padding:8px 14px;background:var(--well);font-size:15px}
.tech-week-days a span{font-size:23px;font-variant-numeric:tabular-nums}
.tech-week-day{display:grid;grid-template-columns:230px minmax(0,1fr);gap:0 40px;margin-top:36px;scroll-margin-top:24px}
.masthead~main.tech-week-page .tech-week-day h2{grid-column:1;grid-row:1 / span 20;font-size:24px;line-height:1.2;max-width:12ch;padding-top:22px}
.tech-week-day-state{display:block;margin-top:12px;color:var(--muted);font-size:13px;letter-spacing:0}
.tech-week-event{grid-column:2;min-width:0;scroll-margin-top:24px;border-bottom:1px solid var(--rule)}
.masthead~main.tech-week-page .tech-week-event>p{border-bottom:0;padding-bottom:10px}
.tech-week-attendance{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;padding:0 0 12px 94px;font-size:13px;color:var(--muted)}
.tech-week-attendance a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.tech-week-notes{margin-top:48px;border-top:1px solid var(--rule);padding-top:28px}
.masthead~main.tech-week-page .tech-week-notes h2{font-size:22px}
.masthead~main.tech-week-page .tech-week-notes p{max-width:60em;font-size:14px;color:var(--muted);margin-top:16px}
@media(max-width:1000px){.tech-week-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-week-day{grid-template-columns:180px minmax(0,1fr);gap:0 24px}}
@media(max-width:700px){
.promo-banner{align-items:flex-start;flex-direction:column;gap:8px;padding:16px 20px}
.tech-week-intro{grid-template-columns:minmax(0,1fr);gap:24px}
.masthead~main.tech-week-page{padding-top:28px}
.masthead~main.tech-week-page .lede{font-size:20px}
.tech-week-day{display:block}
.masthead~main.tech-week-page .tech-week-day h2{max-width:none;font-size:26px;padding:0 0 12px;border-bottom:2px solid var(--accent)}
.tech-week-day-state{display:inline;margin-left:12px}
.tech-week-attendance{padding-left:62px}
.tech-week-days{gap:8px}.tech-week-days a{gap:8px;padding:8px 10px}
}
@media(max-width:420px){.tech-week-picks{grid-template-columns:minmax(0,1fr)}}

/* News leads with a timely selection across the community and University. */
.news-overview{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;margin-top:32px;padding:28px 0 32px;border-top:4px solid var(--accent);border-bottom:1px solid var(--rule)}
.news-feature{min-width:0}
.masthead~main.news-page .news-feature .news-kicker{margin:0 0 16px;color:var(--muted);font-size:11px;letter-spacing:.09em;text-transform:uppercase}
.masthead~main.news-page .news-feature .headline{margin:0;font-size:clamp(30px,3.1vw,44px);line-height:1.12;letter-spacing:-.035em;text-wrap:pretty}
.masthead~main.news-page .news-feature-secondary .headline{font-size:30px}
.news-feature-secondary{padding-left:32px;border-left:1px solid var(--rule)}
.masthead~main.news-page .news-feature .news-summary{margin-top:16px;font-size:18px;line-height:1.5}
.masthead~main.news-page .news-feature-secondary .news-summary{font-size:16px}
.news-guide-link{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;max-width:100%;margin-top:24px;padding:12px 16px;background:var(--accent);color:var(--on-accent);font-size:14px;line-height:1.4}
.news-page .news-jump{margin-top:12px;border-top:0}
.news-columns>.news-university{grid-column:1;grid-row:1}
.news-columns>.news-ventures{grid-column:2;grid-row:1}
.news-columns:not(:has(>.news-university)){grid-template-columns:minmax(0,1fr)}
.news-columns:not(:has(>.news-university))>.news-ventures{grid-column:1;padding-left:0;border-left:0}
.news-columns:not(:has(>.news-ventures)){grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){
.news-overview{grid-template-columns:minmax(0,1fr);gap:26px;margin-top:26px;padding-top:24px}
.masthead~main.news-page .news-feature .headline{font-size:32px}
.masthead~main.news-page .news-feature-secondary .headline{font-size:26px}
.news-feature-secondary{padding:24px 0 0;border-left:0;border-top:1px solid var(--rule)}
.masthead~main.news-page .news-feature .news-summary{font-size:16px}
.news-columns>.news-university,.news-columns>.news-ventures{grid-column:auto;grid-row:auto}
.news-ventures>.news-place-photo{display:none}
}

/* Data-rendered events pages (2026-09-13). Rows reuse the plain paragraph shape the hand-drafted
   issues produced, so only these two markers are new. */
.event-new{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.event-runinfo{margin-top:28px;font-size:14px;color:var(--muted)}

/* Event labels describe collection membership and participation separately. */
.event-labels{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:10px}
.event-collection,.event-eligibility,.event-audience{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:5px 10px;border-left:3px solid var(--accent);background:var(--well);color:var(--fg);font-size:12px;line-height:1.5;text-decoration:none}
.event-eligibility,.event-audience{border-left-color:var(--participation-accent)}
.masthead ~ main a.event-collection{ text-decoration:none; }
.event-back-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;white-space:nowrap;font-size:14px}

/* Live event discovery pairs a full-width header with a readable event list. */
.masthead ~ main.events-page:has(> [data-events-view="directory"]) { padding-top: 36px; }
.masthead ~ main.events-page > .events-directory { max-width: none; }
.event-listings { max-width: var(--column); }
.event-region { padding-bottom: 24px; }
.event-banner-compact { border-bottom: 0; padding-bottom: 0; }
.masthead ~ main .event-banner-compact h1 { font-size: clamp(42px, 5.2vw, 64px); }
.masthead ~ main .event-banner-compact h1::after { margin-top: 16px; }
.event-banner-compact .event-banner-scene { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "copy photo" "browse browse"; gap: 20px 32px; }
.event-banner-compact .event-banner-copy { grid-area: copy; }
.event-banner-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-top: 12px; }
.masthead ~ main .event-banner-intro .event-intro { margin: 0; }
.event-banner-compact .local-photo { grid-area: photo; }
.event-banner-compact .local-photo figcaption { display: flex; align-items: baseline; gap: 0 8px; }
.event-banner-compact .photo-credit-ref { margin-left: 0; }
.event-browse { grid-area: browse; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; min-width: 0; padding-block: 5px; border-block: 1px solid var(--rule); }
.events-summary { display: flex; flex-wrap: wrap; gap: 0 12px; }
.masthead ~ main .events-summary p { margin: 0; font-size: 14px; color: var(--muted); }
.event-listing-notes { margin-top: 28px; }
.event-jumps { display: flex; flex-wrap: wrap; gap: 0 18px; padding-block: 0; }
.masthead ~ main .event-jumps a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.masthead ~ main .event-jumps a:hover, .masthead ~ main .event-jumps a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.event-jumps [hidden] { display: none; }
.masthead ~ main [data-events-view="directory"] h2:not(.visually-hidden) { margin-top: 24px; font-size: 32px; }
.masthead ~ main [data-event-group] h3 { margin-top: 12px; }
.masthead ~ main [data-event-group] h4 { margin-top: 24px; }
.masthead ~ main [data-event-group] h4 + p.event[data-event-row] { padding-top: 10px; }
[data-event-group], [data-event-group] [id] { scroll-margin-top: 24px; }
@media (max-width: 900px) {
  .event-banner-compact .event-banner-scene { grid-template-columns: minmax(0, 1fr) 240px; gap: 16px 24px; }
  .event-browse { padding-bottom: 12px; }
}
@media (max-width: 700px) {
  .masthead ~ main.events-page:has(> [data-events-view="directory"]) { padding-top: 24px; }
  .masthead ~ main .event-banner-compact h1::after { margin-top: 12px; }
  .event-banner-compact .event-banner-scene { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "browse" "photo"; gap: 16px; }
  .event-banner-compact .event-banner-scene .local-photo img { aspect-ratio: 3.5 / 1; }
  .masthead ~ main [data-events-view="directory"] h2:not(.visually-hidden) { margin-top: 20px; font-size: 28px; }
}

.home-intro .home-actions a { gap: 8px; }

/* Category navigation follows the same order as the news sections at every width. */
.news-content { display: flex; flex-direction: column; }
.news-content > .news-overview { order: 1; }
.news-content > .news-jump { order: 2; }
.news-content > .news-columns { order: 3; }
@media (max-width: 700px) {
  .news-content > .news-jump { order: 0; }
  .news-page .news-overview { margin-top: 12px; }
  .news-page .news-columns { margin-top: 24px; }
}

.news-meta .news-source-link { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; }
.news-meta time { align-self: center; }

/* Preview variant banner. Fixed colours in both themes: the preview build must
   read unmistakably as a preview however the reader's theme is set. The ink
   field keeps it distinct from the site's own yellow promo and call-to-action
   chrome. */
.preview-banner {
  background-color: #1a1a1a;
  background-image: repeating-linear-gradient(45deg, #ffb000 0 6px, transparent 6px 12px);
  background-size: 100% 6px;
  background-position: bottom;
  background-repeat: no-repeat;
  color: #f7f3ea;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 12px clamp(22px, 4.3vw, 56px) 18px;
}
.preview-banner-text { max-width: var(--page); margin-inline: auto; }
.preview-banner-label {
  display: inline-block;
  margin-right: 0.6em;
  color: #ffb000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.preview-banner a { color: #ffb000; text-decoration: underline; text-underline-offset: 0.15em; }

/* Contact shares the site's typography and quiet, ruled form fields. */
.masthead ~ main.contact-page { max-width: 760px; padding-top: 44px; }
.contact-intro .lede { max-width: 34ch; margin-top: 18px; }
.contact-form { margin-top: 40px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-field { margin-bottom: 24px; min-width: 0; }
.contact-field label { display: block; margin-bottom: 8px; font-size: 16px; }
.contact-optional, .contact-help { color: var(--muted); }
.contact-field input, .contact-field textarea { display: block; width: 100%; box-sizing: border-box; border: 1px solid var(--rule); border-radius: 0; padding: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; line-height: 1.5; }
.contact-field textarea { resize: vertical; min-height: 180px; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible, .contact-submit:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.masthead ~ main.contact-page .contact-help { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.contact-status { font-size: 16px; min-height: 1.5em; margin: 16px 0; }
.contact-status:empty { display: none; }
.contact-submit { margin-top: 24px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--fg); border-radius: 0; background: var(--fg); color: var(--bg); font: inherit; font-size: 16px; cursor: pointer; }
.contact-submit:disabled { opacity: .55; cursor: default; }
@media (max-width: 700px) { .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; } .contact-form { margin-top: 28px; } }
