/* APPCA design system
   Layout idea: editorial broadsheet. Strong serif headlines, ruled rows instead of repeated cards,
   split image/text bands, one dark band per page at most. Light theme by choice. */
:root {
  --ink: #092D4C;          /* primary text, dark bands */
  --ink-2: #3d5163;        /* secondary text */
  --paper: #f6f8f8;        /* page background */
  --surface: #ffffff;      /* raised surfaces */
  --line: #d7e0e3;         /* rules */
  --accent: #00777A;       /* APPCA jade: buttons, links */
  --accent-ink: #005A5D;   /* hover */
  --accent-tint: #E2F2F1;  /* soft fills */
  --steel: #5f7f97;        /* secondary accent, illustrations */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.3rem, 4.2vw, 3.4rem);
  --step-5: clamp(2.6rem, 5.6vw, 4.6rem);
  --space-s: 1rem;
  --space-m: 1.75rem;
  --space-l: 3rem;
  --space-xl: clamp(4rem, 8vw, 7rem);
  --radius: 4px;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; }
.prose p + p, .prose p + h3, .prose h3 + p { margin-top: 1rem; }
.measure { max-width: 62ch; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 2 * clamp(1rem, 4vw, 2.5rem)); margin-inline: auto; }
.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-l); }
.section--white { background: var(--surface); }
.section--tint { background: var(--accent-tint); }
.section--dark { background: var(--ink); color: #e9eef0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .muted, .section--dark .lead { color: #b9c6cd; }
.section--dark a:not(.btn) { color: #6FD0CB; }
.rule-top { border-top: 1px solid var(--line); }

.kicker { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: block; }
.section--dark .kicker { color: #6FD0CB; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .02em; padding: .95rem 1.35rem; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent-tint); color: var(--ink); border-color: var(--accent-tint); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; }
.brand-text span { font-size: .72rem; color: var(--ink-2); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; display: flex; gap: 1.1rem; margin: 0; padding: 0; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; padding-block: .4rem; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .7rem; font: 600 .85rem var(--font-body); color: var(--ink); cursor: pointer; }
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 76px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1rem, 4vw, 2.5rem) 1.5rem; display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { max-width: 46ch; margin-bottom: 2rem; }
.hero-figure { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 2rem); }
.hero-figure figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: .75rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.trio { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: var(--step-1); }
.trio span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: .6rem; vertical-align: middle; }

.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-4); max-width: 20ch; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 60ch; }
.crumbs { font-size: var(--step--1); color: var(--ink-2); margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink-2); }

/* Layout primitives */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split--rev > :first-child { order: 2; }
.stack > * + * { margin-top: 1.25rem; }
.stack-l > * + * { margin-top: 2rem; }

/* Audience tags */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line); background: var(--surface); padding: .45rem .85rem; border-radius: 999px; font-size: var(--step--1); }

/* Ruled rows (priorities, benefits) */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(180px, 4fr) 7fr; gap: 1.5rem 3rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.row h3 { font-size: var(--step-2); }
.section--dark .rows { border-top-color: #fff; }
.section--dark .row { border-bottom-color: #24445f; }

/* Working groups */
.wg-feature { display: grid; grid-template-columns: 7fr 5fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wg-feature-body { padding: clamp(1.75rem, 4vw, 3rem); }
.wg-feature-art { background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.wg-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 3rem; }
.wg-list li { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.wg-list h3 { font-size: var(--step-1); font-family: var(--font-display); margin-bottom: .5rem; }
.wg-list h3 a { color: var(--ink); text-decoration: none; }
.wg-list h3 a:hover { color: var(--accent); }
.status { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .03em; padding: .3rem .6rem; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); }
.status--draft { background: #f1ece1; color: #6b5420; }

.wg-detail { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.wg-detail:first-child { border-top: 0; }
.wg-detail h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ticks { list-style: none; padding: 0; margin: .75rem 0 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 1px; background: var(--accent); }
.section--dark .ticks li::before { background: #6FD0CB; }
.wg-index { position: sticky; top: 100px; }
.wg-index ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.wg-index a { display: block; padding: .45rem 0 .45rem 1rem; color: var(--ink-2); text-decoration: none; font-size: var(--step--1); }
.wg-index a:hover { color: var(--accent); }

/* Formats band */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.formats > div { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.formats > div + div { padding-left: 1.5rem; }
.formats > div:last-child { border-right: 0; }
.formats h3 { font-size: var(--step-1); margin-bottom: .5rem; }

/* Empty state */
.empty { border: 1px dashed #b9c4c0; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }

/* Insights */
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: 500 var(--step--1) var(--font-body); padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; }
.search input { width: min(320px, 80vw); }
.insight-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); }
.insight-lead { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.insight-lead h3 { font-size: var(--step-3); margin: .5rem 0 1rem; }
.insight-lead h3 a, .insight-item h3 a { color: var(--ink); text-decoration: none; }
.insight-lead h3 a:hover, .insight-item h3 a:hover { color: var(--accent); }
.insight-list { list-style: none; padding: 0; margin: 0; }
.insight-item { border-top: 1px solid var(--line); padding-block: 1.25rem; }
.insight-item h3 { font-size: var(--step-1); margin: .35rem 0 .4rem; }
.meta { font-size: .8rem; color: var(--ink-2); display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.meta .cat { color: var(--accent); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: .74rem; }
.archive { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 3rem; }
.no-results { padding: 2rem 0; color: var(--ink-2); }

.article { padding-block: clamp(3rem, 6vw, 5rem); }
.article header { max-width: 760px; margin-inline: auto; margin-bottom: 2.5rem; }
.article h1 { font-size: var(--step-4); margin: .75rem 0 1.25rem; }
.article-body { max-width: 680px; margin-inline: auto; font-size: 1.12rem; line-height: 1.75; }
.article-body h2 { font-size: var(--step-2); margin: 2.25rem 0 .75rem; }
.article-body p + p { margin-top: 1.1rem; }
.note { background: #f1ece1; border-left: 3px solid #a98a3f; padding: 1rem 1.25rem; font-size: var(--step--1); border-radius: 0 var(--radius) var(--radius) 0; }

/* Event detail */
.event-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding-block: 1.25rem; margin-block: 2rem; }
.event-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.event-meta dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: var(--step-1); }
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; font-family: var(--font-display); color: var(--accent-ink); margin-bottom: .75rem; }
.agenda { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.agenda li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.banner { background: #f1ece1; color: #5a4718; border-bottom: 1px solid #e2d6bb; padding: .8rem 0; font-size: var(--step--1); }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: var(--step--1); font-weight: 600; }
.field .hint { font-size: .8rem; color: var(--ink-2); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid #b8c2c0; border-radius: var(--radius); padding: .8rem .9rem; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.error-msg { color: #b3261e; font-size: .82rem; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem 1rem; margin-top: .5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3rem; accent-color: var(--accent); width: 1rem; height: 1rem; }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.is-shown { display: block; }
.form-status.ok { background: var(--accent-tint); color: var(--accent-ink); border: 1px solid #a9d8d5; }
.form-status.warn { background: #fbf1e4; color: #6e4510; border: 1px solid #ecd3ae; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }

/* Membership categories */
.cat-table { width: 100%; border-collapse: collapse; }
.cat-table th, .cat-table td { text-align: left; vertical-align: top; padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid var(--line); }
.cat-table thead th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--ink); font-weight: 600; }
.cat-table tbody th { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; width: 24%; }
.table-wrap { overflow-x: auto; }

.journeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.journeys a { display: block; padding: 1.25rem 1.25rem 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.journeys a strong { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; }
.journeys a span { color: var(--accent); font-size: var(--step--1); font-weight: 600; }
.journeys a:hover strong { color: var(--accent); }

/* Map figure */
.apac-map .land { fill: #e3e8e6; }
.apac-map .grid { stroke: #d3dad7; stroke-width: .6; fill: none; }
.apac-map .hub { fill: var(--accent); }
.apac-map .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .35; }
.apac-map .link { stroke: var(--steel); stroke-width: .8; fill: none; opacity: .55; }
.apac-map text { font: 500 13px var(--font-body); fill: var(--ink-2); }

/* CTA band */
.cta-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; }
.cta-band h2 { max-width: 18ch; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c6cd; padding-block: 4rem 2rem; font-size: var(--step--1); }
.site-footer a { color: #e9eef0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-grid h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text span { color: #b9c6cd; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #24445f; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.newsletter { display: flex; gap: .5rem; margin-top: .75rem; }
.newsletter input { background: #123a5c; border-color: #2c5476; color: #fff; }
.newsletter input::placeholder { color: #8fa2ae; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .split--even, .insight-grid, .wg-feature, .wg-detail, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .formats { grid-template-columns: 1fr 1fr; }
  .formats > div { padding: 1.25rem 1rem 1.25rem 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .wg-index { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; gap: .5rem; }
  .formats, .cols-2, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .empty { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
  .newsletter { flex-direction: column; }
}

/* Review fixes */
.section-head { margin-bottom: 2.5rem; align-items: end; }
.split--index { grid-template-columns: 3fr 9fr; }
.wg-list h3 a, .insight-item h3 a, .insight-lead h3 a { display: inline-block; padding-block: .3rem; }
.site-footer ul a { display: inline-block; padding-block: .45rem; }
.footer-base a { display: inline-block; padding-block: .5rem; }
.footer-grid ul { gap: 0; }
.link-arrow { padding-block: .5rem; }
.crumbs a { display: inline-block; padding-block: .35rem; }
.check { padding-block: .25rem; }
.hero-figure { max-width: 620px; }
@media (max-width: 960px) {
  .split--index { grid-template-columns: 1fr; }
  .wg-index { display: none; }
  .section-head { margin-bottom: 1.75rem; }
  .hero-figure { margin-top: .5rem; }
}
@media (max-width: 640px) {
  .section { padding-block: 3.5rem; }
  .hero { padding-block: 2.5rem 3rem; }
  .hero h1 { font-size: 2.45rem; }
  .page-hero h1 { font-size: 2.1rem; }
  h2 { font-size: 2rem; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .trio { font-size: 1.05rem; flex-direction: column; }
  .cat-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cat-table, .cat-table tbody, .cat-table tr, .cat-table th, .cat-table td { display: block; width: 100% !important; }
  .cat-table tr { border-top: 1px solid var(--ink); padding-block: 1rem; }
  .cat-table th, .cat-table td { border: 0; padding: .35rem 0; }
  .cat-table td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
  .wg-feature-art { padding: 1.5rem; }
  .wg-feature-art svg { max-width: 220px; }
  .form-panel { padding: 1.25rem; }
  .event-meta { grid-template-columns: 1fr 1fr; }
  .agenda li { grid-template-columns: 64px 1fr; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; width: 100%; max-width: 100%; scrollbar-width: none; }
  .toolbar > * { max-width: 100%; min-width: 0; }
  .chip { white-space: nowrap; }
}

[id] { scroll-margin-top: 96px; }
.hero-figure figcaption { display: block; }
.trio { font-size: 1.15rem; }
.meta .status { font-size: .68rem; padding: .18rem .5rem; }
@media (max-width: 640px) { .meta .status { order: 3; } }

/* Photography */
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--accent-tint); }
.hero-photo { margin: 0; }
.photo--hero { aspect-ratio: 4 / 4.4; object-position: 60% center; }
.photo--tall { aspect-ratio: 4 / 3; }
.photo--band { aspect-ratio: 21 / 8; object-position: center 40%; }
.photo-band { margin-top: clamp(2rem, 4vw, 3rem); }
.photo--format { aspect-ratio: 16 / 9; margin-bottom: 1rem; }
.wg-feature-art--photo { padding: 0; background: var(--ink); }
.photo--fill { height: 100%; min-height: 320px; border-radius: 0; aspect-ratio: auto; }
.section--dark .photo--tall { aspect-ratio: 4 / 3.4; }
@media (max-width: 960px) {
  .photo--hero { aspect-ratio: 3 / 2; }
  .photo--band { aspect-ratio: 16 / 9; }
  .photo--fill { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  .photo--band { aspect-ratio: 4 / 3; }
  .photo-band { width: 100%; }
  .photo-band .photo { border-radius: 0; }
}

/* Logo lockup, mirrors the APPCA logo: symbol, rule, bold acronym, spaced name */
.brand { gap: .9rem; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { border-left: 1.5px solid currentColor; padding-left: .9rem; gap: .2rem; }
.brand-text strong { font-family: Arial, Helvetica, var(--font-body); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1; }
.brand-text span { font-family: Arial, Helvetica, var(--font-body); font-size: .56rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; color: currentColor; }
.site-header .brand { color: var(--ink); }
.footer-brand .brand-text span { color: #fff; }
@media (max-width: 640px) { .brand-mark { width: 40px; height: 40px; } .brand-text strong { font-size: 1.35rem; } .brand-text span { display: block; font-size: .5rem; } }

/* UX review fixes */
.page-hero:has(+ .photo-band) { border-bottom: 0; padding-bottom: 0; }
.photo-band { background: var(--surface); padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); margin-top: 0; }
.formats { gap: 0 2rem; }
.formats > div, .formats > div + div { padding: 1.5rem 0 0; border-right: 0; }
.formats .photo--format { aspect-ratio: 3 / 2; }
.wg-detail { grid-template-columns: 1fr; gap: 1.75rem; }
.wg-detail > .stack { max-width: 62ch; }
.wg-detail .cols-2 { gap: 2.5rem; }
.draft-line { margin-top: .75rem; }
.split--contact h4 a { color: var(--ink); text-decoration: none; }
.split--contact h4 a::after { content: " \2192"; color: var(--accent); }
.split--contact h4 a:hover { color: var(--accent); }
@media (max-width: 960px) {
  .formats { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .formats > div, .formats > div + div { padding: 1.25rem 0 0 !important; border-bottom: 0; }
  .split--contact > .form-panel { order: -1; }
  .split--contact .photo { display: none; }
}
@media (max-width: 640px) {
  .formats h3 { font-size: 1.05rem; }
  .formats .photo--format { margin-bottom: .6rem; }
  .photo-band { padding-top: 1.5rem; }
  .photo-band .wrap { width: 100%; }
}
@media (max-width: 960px) { .split--contact > .stack-l > p.muted:first-child { display: none; } }

.row h3.h-sm, h3.h-sm { font-size: var(--step-1); }

/* Raster APPCA logo */
.brand-logo { height: 58px; width: auto; display: block; }
.brand-logo--footer { height: 64px; }
@media (max-width: 640px) { .brand-logo { height: 46px; } .brand-logo--footer { height: 56px; } }
.brand-logo { height: 68px; }
.site-header .wrap { min-height: 92px; }
.brand-logo--footer { height: 80px; }
[id] { scroll-margin-top: 108px; }
@media (max-width: 1240px) { .nav { inset: 92px 0 auto 0; } }
@media (max-width: 640px) { .brand-logo { height: 54px; } .site-header .wrap { min-height: 76px; } .nav { inset: 76px 0 auto 0; } .brand-logo--footer { height: 64px; } }
/* Menu scrolls when taller than the screen (phones in landscape) */
@media (max-width: 1240px) { .nav { max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; } }
@media (max-width: 640px) { .nav { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); } }
@media (max-width: 1240px) { .nav.is-open { box-shadow: 0 18px 30px -12px rgba(9, 45, 76, .28); } }
