:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --paper-deep: #edf0e8;
  --ink: #26332f;
  --muted: #5c6963;
  --green: #536e5d;
  --green-dark: #3e5949;
  --sage: #dfe7dc;
  --sand: #d1a877;
  --line: #d8ded5;
  --white: #fffefa;
  --shadow: 0 18px 48px rgba(39, 54, 45, 0.09);
  --radius: 18px;
  --content-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #314c3b;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #b9854c;
  outline-offset: 4px;
  border-radius: 4px;
}

button {
  font: inherit;
}

.wrap {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(247, 247, 242, 0.96);
  border-bottom: 1px solid rgba(216, 222, 213, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1400px, calc(100% - 48px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--green-dark);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #798d7e;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.5vw, 24px);
}

.primary-nav a {
  color: #46544d;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--green-dark);
}

.primary-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--sand);
  padding-block: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.menu-lines {
  position: relative;
  margin: auto;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

/* Type and shared elements */
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: #293832;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6.3vw, 5.2rem);
  font-weight: 680;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 650;
}

p {
  margin-bottom: 1.15em;
}

.lead {
  max-width: 760px;
  color: #526159;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.eyebrow {
  margin-bottom: 14px;
  color: #657b69;
  font-size: 0.73rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green-dark);
  color: white;
}

.button-primary:hover {
  background: #304a39;
  color: white;
}

.button-secondary {
  border-color: #c8d1c8;
  background: rgba(255, 254, 250, 0.7);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #9daea0;
  background: white;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 730;
  text-decoration: none;
}

.text-link span,
.button span {
  font-size: 1.15em;
}

/* Home page */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(38px, 6vw, 80px);
  padding-top: clamp(58px, 8vw, 112px);
  padding-bottom: clamp(64px, 9vw, 116px);
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(3rem, 6.1vw, 5.45rem);
}

.hero-copy .lead {
  max-width: 590px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #879e83;
  box-shadow: 0 0 0 4px #e7ede2;
}

.artwork,
.card-image,
.diagram-card {
  position: relative;
  overflow: hidden;
  background-color: #e7eeea;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.artwork > svg,
.card-image > svg,
.diagram-card > svg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.hero-art {
  min-height: 430px;
  aspect-ratio: 1.42;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1800&q=85");
}

.artwork figcaption,
.diagram-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(250, 250, 245, 0.9);
  color: #4b5c53;
  font-size: 0.72rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.section {
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 670px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 475px;
  margin: 0 0 4px;
  color: var(--muted);
}

.card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1fr);
  min-height: 248px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(39, 54, 45, 0.035);
}

.card-image {
  display: block;
  min-height: 100%;
  background-position: center;
  transition: filter 180ms ease;
}

.card-image:hover {
  filter: saturate(1.08);
}

.card-copy {
  align-self: center;
  padding: 25px clamp(20px, 2.5vw, 32px);
}

.card-copy .eyebrow {
  margin-bottom: 9px;
  font-size: 0.66rem;
}

.card-copy h3 {
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
}

.card-copy > p:not(.eyebrow) {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-image:has(+ .card-copy a[href="border-crossing-masterplanning.html"]) {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1000&q=85");
}

.card-image:has(+ .card-copy a[href="checkpoint-architecture.html"]) {
  background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1000&q=85");
}

.card-image:has(+ .card-copy a[href="traffic-and-circulation.html"]) {
  background-image: url("https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=1000&q=85");
}

.card-image:has(+ .card-copy a[href="passenger-facilities.html"]) {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=85");
}

.card-image:has(+ .card-copy a[href="resilient-border-infrastructure.html"]) {
  background-image: url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1000&q=85");
}

.editorial-section {
  padding-block: clamp(64px, 9vw, 112px);
  background: #e9eee6;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.editorial-grid > div > p:not(.eyebrow) {
  color: #536159;
}

.editorial-art {
  min-height: 360px;
  aspect-ratio: 1.5;
  border-radius: 22px;
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1500&q=85");
}

.closing-cta {
  padding-block: clamp(66px, 9vw, 110px);
  text-align: center;
}

.closing-cta h2 {
  max-width: 760px;
  margin-inline: auto;
}

.closing-cta > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 25px;
  color: var(--muted);
}

body:has(svg[aria-label^="Detailed conceptual aerial 3D masterplan"]) .article-hero-art {
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1800&q=85");
}

body:has(svg[aria-label^="Conceptual checkpoint building"]) .article-hero-art {
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85");
}

body:has(svg[aria-label^="Conceptual circulation plan"]) .article-hero-art {
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1800&q=85");
}

body:has(svg[aria-label^="Conceptual passenger hall"]) .article-hero-art {
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=85");
}

body:has(svg[aria-label^="Conceptual climate-responsive facility"]) .article-hero-art {
  background-image: linear-gradient(180deg, rgba(35, 48, 42, 0.02), rgba(35, 48, 42, 0.12)), url("https://images.unsplash.com/photo-1510798831971-661eb04b3739?auto=format&fit=crop&w=1800&q=85");
}

.diagram-card:has(svg[aria-label^="Conceptual section diagram relating"]) {
  background-image: url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1400&q=85");
}

.diagram-card:has(svg[aria-label^="Conceptual building section showing canopy"]) {
  background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1400&q=85");
}

.diagram-card:has(svg[aria-label^="Conceptual diagram of a direct accessible pedestrian route"]) {
  background-image: url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1400&q=85");
}

.diagram-card:has(svg[aria-label^="Conceptual passenger journey diagram"]) {
  background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1400&q=85");
}

.diagram-card:has(svg[aria-label^="Conceptual rainwater section"]) {
  background-image: url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1400&q=85");
}

/* Long-form articles */
.article {
  padding-top: 34px;
  padding-bottom: clamp(70px, 9vw, 120px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #748078;
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: #526c5a;
  text-decoration: none;
}

.article-heading {
  margin-bottom: 38px;
}

.article-heading h1 {
  max-width: 900px;
  font-size: clamp(2.55rem, 5.5vw, 4.6rem);
}

.article-heading .lead {
  max-width: 820px;
  margin-bottom: 0;
}

.article-hero-art {
  min-height: 360px;
  aspect-ratio: 1.83;
  margin: 0 0 58px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.article-body {
  width: min(760px, 100%);
  margin-inline: auto;
  color: #47564e;
  font-size: 1.015rem;
  line-height: 1.82;
}

.article-body h2 {
  margin-top: 2.15em;
  margin-bottom: 0.65em;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.article-body p {
  margin-bottom: 1.2em;
}

.article-body a:not(.button) {
  font-weight: 650;
}

.article-body > p:first-child {
  color: #3e4d45;
  font-size: 1.08rem;
}

.diagram-card {
  min-height: 260px;
  aspect-ratio: 2.45;
  margin: 34px 0 40px;
  border: 1px solid #dce2d9;
  border-radius: 15px;
}

.table-wrap {
  overflow-x: auto;
  margin: 28px 0 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #edf1e9;
  color: #34463b;
  font-size: 0.84rem;
}

td {
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.faq {
  margin: 24px 0 42px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 18px 38px 18px 0;
  color: #314239;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 15px;
  right: 4px;
  content: "+";
  color: #718675;
  font-size: 1.35rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-cta {
  margin-top: 58px;
  padding: clamp(25px, 5vw, 42px);
  border: 1px solid #d8e0d5;
  border-radius: 18px;
  background: #edf1e9;
}

.article-cta h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.article-cta p {
  margin-bottom: 20px;
  color: var(--muted);
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  margin: 48px 0 64px;
}

.contact-card {
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-card h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.contact-message > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-email {
  overflow-wrap: anywhere;
  margin: 8px 0 14px;
}

.contact-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
}

.contact-details {
  background: #edf1e9;
}

.contact-facts {
  margin: 24px 0 0;
}

.contact-facts div {
  padding: 14px 0;
  border-top: 1px solid #d6ded3;
}

.contact-facts dt {
  margin-bottom: 4px;
  color: #728077;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-facts dd {
  margin: 0;
  color: #344239;
  overflow-wrap: anywhere;
}

.contact-body {
  margin-top: 20px;
}

/* Footer */
.site-footer {
  padding: 58px 0 22px;
  background: #293832;
  color: #e8eee7;
}

.site-footer h2 {
  margin-bottom: 17px;
  color: #f3f5ef;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: #e2e9df;
}

.site-footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 1fr 0.85fr;
  gap: 36px;
  padding-bottom: 42px;
}

.footer-brand .brand {
  color: white;
}

.footer-brand .brand-mark {
  color: #a5b69f;
}

.footer-brand > p,
.footer-company p,
.footer-grid > div > a,
.footer-links a,
.footer-preferences {
  color: #c0ccc1;
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-brand > p {
  margin-top: 14px;
}

.footer-company p {
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-preferences {
  padding: 0;
  margin-top: 14px;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 233, 223, 0.2);
  color: #aebbb1;
  font-size: 0.76rem;
}

/* Cookie notice and preferences */
.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 1050px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 22px;
  margin-inline: auto;
  border: 1px solid #d7ded5;
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.98);
  box-shadow: 0 16px 50px rgba(30, 42, 35, 0.2);
}

.cookie-banner[hidden],
.preferences-panel[hidden] {
  display: none;
}

.cookie-copy {
  max-width: 470px;
}

.cookie-copy strong {
  color: #2e4036;
}

.cookie-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 0.8rem;
}

.cookie-text-button {
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.preferences-panel {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid #d7ded5;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(30, 42, 35, 0.25);
}

.preferences-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preferences-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.preferences-panel > p {
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.preference-row span {
  display: grid;
  gap: 3px;
}

.preference-row small {
  color: var(--muted);
}

.preference-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

/* Responsive layout */
@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .primary-nav {
    gap: 12px;
  }

  .primary-nav a {
    font-size: 0.78rem;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .split-card {
    grid-template-columns: minmax(125px, 0.7fr) minmax(0, 1fr);
  }

  .card-copy {
    padding: 22px 20px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 14px 22px rgba(39, 54, 45, 0.08);
  }

  .menu-toggle[aria-expanded="true"] + .primary-nav,
  .primary-nav.is-open,
  .primary-nav[data-open="true"] {
    display: grid;
    gap: 0;
  }

  .primary-nav a {
    padding: 12px 2px;
    border-bottom: 1px solid #e5e9e1;
    font-size: 0.92rem;
  }

  .primary-nav a[aria-current="page"] {
    box-shadow: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    min-height: 350px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .card-list {
    grid-template-columns: 1fr;
  }

  .split-card {
    min-height: 230px;
    grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1fr);
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-art {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
  }

  .wrap {
    width: min(100% - 34px, var(--content-width));
  }

  .header-inner {
    width: calc(100% - 34px);
  }

  .brand {
    gap: 8px;
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 66px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-art {
    min-height: 250px;
    aspect-ratio: 1.15;
    border-radius: 17px;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .section {
    padding-block: 58px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .split-card {
    grid-template-columns: 1fr;
  }

  .card-image {
    min-height: 210px;
    aspect-ratio: 1.8;
  }

  .card-copy {
    padding: 22px;
  }

  .editorial-section {
    padding-block: 58px;
  }

  .editorial-art {
    min-height: 240px;
    aspect-ratio: 1.3;
    border-radius: 16px;
  }

  .article {
    padding-top: 24px;
  }

  .breadcrumbs {
    margin-bottom: 26px;
  }

  .article-heading {
    margin-bottom: 28px;
  }

  .article-heading h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.5rem);
  }

  .article-hero-art {
    min-height: 240px;
    aspect-ratio: 1.25;
    margin-bottom: 38px;
    border-radius: 16px;
  }

  .diagram-card {
    min-height: 190px;
    aspect-ratio: 1.45;
    margin-block: 26px;
  }

  .artwork figcaption,
  .diagram-card figcaption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 9px;
    font-size: 0.66rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-block: 34px 46px;
  }

  .contact-card {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding-top: 42px;
  }

  .footer-bottom {
    display: grid;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    padding: 17px;
  }

  .cookie-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .cookie-actions .button {
    flex: 1 1 100%;
  }

  .cookie-text-button {
    padding-left: 0;
  }

  .preferences-panel {
    right: 10px;
    bottom: 10px;
  }

  th,
  td {
    min-width: 130px;
    padding: 11px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}