/* Warm mineral neutrals carry the interface. Copper marks an action,
   spruce identifies a healthy reading. The illustrated atlas has its own light. */
:root {
  --night: #141413;
  --ground: #1b1b19;
  --walnut: #28221e;
  --pine: #1c2723;
  --board: #222825;
  --raised: #302d29;
  --ink: #f6eee2;
  --muted: #d0c7b9;
  --minor: #b6aea2;
  --line: #4b4640;
  --control-line: #95877a;
  --ember: #f3a169;
  --copper: #f4bf96;
  --sage: #acd5be;
  --action-face: #27241fed;
  --action-ink: var(--ink);
  --action-focus: #ffe0af;
}

::selection { background:#784c36; color:var(--ink); }
.ed-directory, .ed-service {
  --ed-paper:var(--ink);
  --ed-text:var(--muted);
  --ed-muted:var(--minor);
  --ed-line:var(--line);
  --ed-orange:var(--ember);
}
.work-gallery, .work-case {
  --work-bg:var(--ground);
  --work-text:var(--ink);
  --work-muted:var(--muted);
  --work-accent:var(--copper);
  --work-rule:var(--line);
}

.landing .landing-copy h1, .chapter-ink h2,
.ed-service .ed-hero h1, .ed-directory .ed-index-hero h1 { color:var(--ink); }

.ops-board {
  --panel:var(--board);
  --panel-dark:#191e1b;
  --soft:var(--muted);
  --signal:var(--ember);
  --secondary:var(--sage);
}

.catalogue-search { background:var(--board); }
.catalogue-search input::placeholder, .catalogue-count,
.ed-directory .ed-route p { color:var(--muted); }
.ed-service .ed-record { --ed-signal:var(--copper); }
.ed-network .ed-record, .ed-software .ed-record { --ed-signal:var(--sage); }
.category-rail { background:#1c201ef2; }
.category-picker, .category-picker nav { background:var(--board); }
.topbar a[aria-current="page"]:not(.nav-contact),
.category-picker nav a[aria-current] { color:var(--copper); }

/* Warm solid controls share a baseline across the studio and the atlas. */
:is(.button.ember,.button.dark,.button.outline,.topbar .nav-contact,.landing-contact,
    .chapter-link,.lake-arrival,.dispatch-links .workshop-entry,.ink-link,.text-link,
    .work-site-link,.brief-preview,.contact-email button,.field-solutions,
    .portfolio-case-link,.ed-related a,.field-credits a,.ed-parent) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.48rem;
  min-height:44px;
  max-width:100%;
  padding:9px 14px;
  border:0;
  border-radius:4px;
  background:var(--action-face);
  color:var(--action-ink);
  font:560 .89rem/1.22 var(--font-site);
  text-align:center;
  text-shadow:none;
  text-decoration:none;
  transition:background-color .14s ease-out, color .14s ease-out;
}
.button.ember, .topbar .nav-contact {
  --action-face:#f4a16a;
  --action-ink:#231b17;
}
.portfolio-case-link { width:fit-content; }
.ed-parent { min-height:36px; font-size:.82rem; }
@media (max-width:760px) { .ed-hero .ed-parent { display:none; } }
.portfolio-toolbar, .landing .landing-hero .actions, .landing .lake-actions,
.landing .dispatch-links, .contact-page .brief-actions { gap:8px; align-items:center; }
.landing .lake-actions .chapter-link, .landing .dispatch-links .chapter-link { margin:0; }
.contact-email .ink-link { overflow-wrap:anywhere; }
.contact-email #copy-address { color:var(--action-ink); text-decoration:none; min-height:44px; }
.category-wide a:is(:hover,:focus-visible,[aria-current]) { border-color:transparent; color:var(--copper); }
.category-wide a[aria-current] { font-weight:680; }

.portfolio-controls button, .portfolio-controls select, .desk-modes button,
.lab-actions button, .ed-transport, .cell-transport, .catalogue-clear,
.ops-board .control-heading button, .ops-board .chart-foot button {
  color:var(--action-ink);
  background:var(--action-face);
  border:0;
  border-radius:4px;
  text-decoration:none;
}
.ed-transport, .cell-transport, .ops-board .control-heading button,
.ops-board .chart-foot button { padding:5px 9px; }
.portfolio-index button {
  border:0;
  background:var(--ground);
  color:var(--muted);
  border-radius:4px;
}
.portfolio-index button[aria-pressed="true"],
.desk-modes button[aria-pressed="true"] {
  border-color:var(--ember);
  color:#ffdbb9;
  background:#3b2d23;
}
.portfolio-controls button[aria-disabled="true"], .lab-actions button:disabled {
  border-color:#56524c;
  color:#aaa69d;
  background:#252521;
}
.foot-nav a:hover, .guide-row:hover h3, .work-return a,
.trail a:hover, .category-rail a:hover {
  color:var(--copper);
  text-decoration:none;
}
.work-return a, .trail a { color:var(--copper); }
.work-return a:hover, .trail a:hover { color:var(--ink); }

@media (max-width:1100px) {
  .foot-nav {
    display:grid;
    flex:none;
    max-width:100%;
    grid-template-columns:repeat(4,minmax(0,max-content));
    gap:4px clamp(8px,2vw,20px);
    align-items:start;
  }
  .foot-nav a { display:flex; align-items:center; min-height:24px; }
}
@media (max-width:385px) {
  .foot-nav { grid-template-columns:repeat(3,minmax(0,max-content)); column-gap:14px; }
}

@media (hover:hover) {
  :is(.button.ember,.button.dark,.button.outline,.topbar .nav-contact,.landing-contact,
      .chapter-link,.lake-arrival,.dispatch-links .workshop-entry,.ink-link,.text-link,
      .work-site-link,.brief-preview,.contact-email button,.field-solutions,
      .ed-related a,.field-credits a,.ed-parent):hover,
  .portfolio-project:hover .portfolio-case-link,
  :is(.portfolio-controls,.desk-modes,.lab-actions) button:enabled:not([aria-disabled="true"]):hover,
  :is(.ed-transport,.cell-transport,.catalogue-clear):hover {
    border-color:var(--copper);
    color:#fff2dc;
    background:#46362a;
    text-decoration:none;
  }
}

:is(a,button,select,input,textarea,summary,[tabindex]):focus-visible {
  outline-color:var(--action-focus);
}
@media (max-width:900px) {
  .topbar .menu-toggle {
    border:0;
    border-radius:0;
    padding:5px 0 5px 12px;
    min-width:54px;
    justify-content:flex-end;
    min-height:44px;
    background:transparent;
    color:var(--ink);
    text-shadow:0 1px 4px #0a1c22;
  }
  .topbar .menu-toggle[aria-expanded="true"] {color:var(--copper)}
}
@media (max-width:760px) {
  .landing .landing-hero .button, .landing .landing-contact,
  .landing .chapter-ink .chapter-link, .landing .lake-arrival,
  .landing .chapter-dispatch .workshop-entry {
    min-height:44px;
    padding:8px 12px;
    font-size:.84rem;
  }
  .service-index-title .chapter-link { padding-inline:10px; }
  .landing .chapter-link .glyph { width:15px; height:15px; }
}
@media (prefers-reduced-motion:reduce) {
  :is(a,button,.portfolio-case-link) { transition-duration:0s; }
}
/* Full-width sections let the atlas show through between reading surfaces. */
body:has(> .regional-atlas) :is(.ed-case,.ed-scope,.ed-contact,.work-case,
    .work-card-copy,.work-gallery,.work-intro > p,.portfolio-project,
    .business-section,.guides,.guide-row,.concept-page,.article,.brief) {background:transparent}
body:has(> .regional-atlas) .ed-directory .ed-route p { color:#f6eddf; }
body :is(button,.dmr-selector label,.portfolio-index button,[role="button"]) {
  border-width:0;
}
body :is(button,a,summary,[tabindex]):focus-visible {
  outline:2px solid var(--action-focus);
  outline-offset:2px;
}
@media (forced-colors:active) {
  :is(.button,.nav-contact,.landing-contact,.chapter-link,.lake-arrival,
      .workshop-entry,.ink-link,.text-link,.work-site-link,.brief-preview,
      .portfolio-case-link,.ed-related a,.field-credits a,.ed-parent,.menu-toggle,button,select) { border:1px solid ButtonText; }
  :is(a,button,select,input,textarea,summary,[tabindex]):focus-visible { outline-color:Highlight; }
}

/* Leave enough room for the full service names when the menu first opens
   into a horizontal row. The outer gutters grow back with the viewport. */
@media (min-width:901px) and (max-width:1100px) {
  .topbar > .topbar-in {
    padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));
    column-gap:12px;
  }
  .topbar #primary-nav { gap:clamp(8px,1vw,12px); }
  .topbar #primary-nav > a,.topbar .solutions-nav > a { white-space:nowrap; }
}
.landing .landing-copy h1,.landing .chapter-ink h2 { text-wrap:balance; }
@media (min-width:761px) and (max-width:1100px) {
  .landing .chapter-network .chapter-ink,.landing .chapter-dispatch .chapter-ink { width:min(23rem,47%); }
  .landing .chapter-ink h2 { font-size:clamp(2.25rem,4.6vw,3.25rem); }
}
@media (orientation:portrait) and (min-width:761px) and (max-width:1100px) {
  .landing .landing-frame { align-items:start; padding-top:clamp(38px,calc(6 * var(--scene-vh, 1svh)),84px); }
}
@media (orientation:landscape) and (max-height:540px) and (max-width:1100px) {
  .landing .landing-frame { min-height:max(285px,calc(calc(100 * var(--scene-vh, 1svh)) - 60px)); padding-block:14px 20px; align-items:center; }
  .landing .landing-copy { width:min(49%,32rem); }
  .landing .landing-hero .actions { margin-top:10px; }
  .landing .landing-hero h1 { font-size:clamp(2.15rem,5vw,3.2rem); margin-block:0 .22em; }
  .landing .chapter-ink h2 { margin-block:0 .25em; font-size:clamp(1.95rem,4.2vw,2.65rem); }
  .landing .landing-lede,.landing .chapter-ink > p { max-width:41ch; font-size:1rem; line-height:1.4; }
  .landing .chapter-ink .route-reading { margin-top:5px; }
}
@media (max-width:360px) {
  .landing .lake-actions { column-gap:6px; }
  .landing .lake-actions .chapter-link,.landing .lake-actions .lake-arrival { padding-inline:8px; }
  .landing .lake-actions .glyph { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  /* The shared reduced-motion rule gives every property a tiny duration.
     A layout breakpoint must switch the open menu's padding immediately. */
  .topbar,.topbar * { transition-property:none; }
}

/* A small reading surface follows each caption and leaves the surrounding
   shoreline visible. The gradient is painted once, without a backdrop filter. */
:root {
  --reading-surface:linear-gradient(142deg,rgba(28,52,56,.97),rgba(15,30,34,.96) 58%,rgba(23,35,38,.94));
  --reading-radius:16px;
  --reading-pad:clamp(19px,2.4vw,35px);
  --caption-wash:radial-gradient(ellipse 50% 50% at center,
    rgb(8 25 32 / var(--caption-opacity,.82)) 5%,
    rgb(8 25 32 / calc(var(--caption-opacity,.82) * .76)) 30%,
    rgb(8 25 32 / calc(var(--caption-opacity,.82) * .38)) 54%,
    rgb(8 25 32 / calc(var(--caption-opacity,.82) * .10)) 76%,
    rgb(8 25 32 / 0) 97%);
}
body:has(> .regional-atlas) :is(.chapter-ink,.contact-invitation,
  .work-case-head,.work-story,.work-evidence,.work-next,.dmr-work,.reader,
  .brief-grid > header,.contact-page form,.brief-result,.ed-hero-copy,.ed-case-intro,.ed-scope-grid dl) {
  background:var(--reading-surface);
  border:0;
  border-radius:var(--reading-radius);
  padding:var(--reading-pad);
  color:var(--ink);
  text-shadow:none;
}
body:has(.regional-atlas) :is(.landing-copy,.chapter-ink,.contact-invitation)::before {content:none}
.landing .landing-copy {display:block;min-height:0;max-width:min(100%,40rem)}
.landing .landing-copy h1 {font-size:clamp(2rem,4.4vw,4.6rem);line-height:1.01;margin:0 0 .25em;letter-spacing:-.053em}
.landing .landing-copy .landing-lede,.landing .chapter-ink >p {color:#e3e7df;text-shadow:none}
.landing .landing-copy .actions,.landing .dispatch-links,.landing .lake-actions,.contact-page .brief-actions {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.8rem),1fr));gap:8px;align-items:stretch;
}
.landing .landing-copy .actions {margin-top:1rem}
.landing .landing-copy .actions > a,.landing .dispatch-links > a,.landing .lake-actions > :is(a,button),.brief-actions button {
  display:flex;align-items:center;justify-content:center;text-align:center;margin:0;min-height:44px;line-height:1.2;
}
body:has(.regional-atlas) .start-in {display:flex;align-items:flex-start;flex-direction:column}
body:has(.regional-atlas) .start-in > .contact-invitation {
  display:grid;gap:.75rem;grid-template-columns:minmax(0,1fr);width:fit-content;max-width:min(100%,38rem);min-width:0;
}
body:has(.regional-atlas) .start-in .contact-invitation h2 {inline-size:max-content;max-inline-size:100%;font-size:clamp(1.7rem,3.4vw,3.5rem);line-height:1.06;margin:0;text-wrap:balance}
.start-in .contact-invitation p,.start-in .contact-invitation .button {margin:0;width:100%}
.start-in .contact-invitation p {overflow-wrap:anywhere}
.start-in .contact-invitation .button {justify-self:stretch}
body:has(.regional-atlas) a[href^="mailto:"]:not(.button) {display:inline-block;background:transparent;padding:0;border:0;color:#a8d8ff;text-decoration:none;text-shadow:none;font-weight:550}
body:has(.regional-atlas) a[href^="mailto:"]:not(.button):hover {color:#d6ebff}
body:has(.regional-atlas) .portfolio-controls button[data-step] {flex:0 0 auto;width:auto;min-width:4rem;min-height:44px;padding:7px 12px;font:580 .88rem/1.2 var(--font-site)}
.portfolio-compact .portfolio-toolbar {flex-wrap:wrap}
body:has(.regional-atlas) .work-case-head {margin-inline:0}
body:has(.regional-atlas) .contact-page :is(.brief-grid > header,form,.brief-result) {margin-inline:0;width:100%;max-width:100%}
body:has(.regional-atlas) .contact-page form {background:#182b30}
.contact-page :is(input,select,textarea){max-width:100%;font-size:1rem}
body:has(.regional-atlas) .contact-page :is(input,textarea,select) {background-color:#122227;color:#f3eee4;border-color:#586a6c;border-radius:6px}
body:has(.regional-atlas) .contact-page .brief-actions>* {margin:0}
.contact-page .brief-result pre {white-space:pre-wrap;overflow-wrap:anywhere}
body:has(.regional-atlas) .dmr-work {padding:var(--reading-pad)}
@media (max-width:760px) {
  :root {--reading-radius:13px;--reading-pad:clamp(13px,4vw,20px)}
  .landing .landing-copy {width:min(100%,24rem);min-height:0}
  .landing .chapter-ink h2 {font-size:clamp(1.5rem,6vw,2.1rem);margin:0 0 .3em}
  .landing .landing-frame {align-items:start}
  body:has(.regional-atlas) .landing-copy .actions,body:has(.regional-atlas) .chapter-ink :is(.lake-actions,.dispatch-links) {
    grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
  }
  .landing .chapter-ink :is(.dispatch-links,.lake-actions) > :is(a,button),.landing .landing-copy .actions a {padding-inline:7px}
  body:has(.regional-atlas) #harbourfront .contact-invitation {width:fit-content}
  body:has(.regional-atlas) .chapter-work .chapter-ink {width:min(100%,24rem)}
}
body:has(.regional-atlas) .topbar-in > .brand {
  background:transparent; border:0; border-radius:0; padding:0;
  min-block-size:44px; color:#fff7ea;
  text-shadow:0 1px 3px #07191e,0 0 9px #142731;
}
body:has(.regional-atlas) .contact-page .brief-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
body:has(.regional-atlas) .contact-page .brief-actions button {width:100%;padding-inline:8px;align-self:stretch}
@media (max-width:760px) {
  .station-page .field-stage {display:flex;flex-direction:column;align-items:stretch;justify-content:center}
  .station-page .field-copy {padding-bottom:10px}
  .station-page .field-credits {position:static;padding:0 var(--edge) 18px;margin:0}
}

/* Keep each caption in the open part of its landscape at the chapter stop. */
.landing .landing-hero,.landing .atlas-chapter,.landing #harbourfront {overflow-x:clip}
.landing .landing-frame {
  display:grid;grid-template-columns:minmax(0,1fr);align-items:start;
  padding-block-start:clamp(113px,calc(36svh - 58px),425px);
}
.landing .landing-copy {
  position:relative;isolation:isolate;display:block;padding:0;
  width:min(36%,24.75rem);margin-inline-start:clamp(0px,6vw,7rem);
}
@media(min-width:1041px) and (min-aspect-ratio:3/2){
  .landing .landing-copy {margin-inline-start:8.8vw}
}
.landing .landing-copy h1 {font-size:clamp(2.1rem,2.65vw,3.15rem);line-height:1.045;letter-spacing:-.054em}
.landing .landing-copy .landing-lede,.landing .atlas-chapter .chapter-ink >p {
  max-width:43ch;font-size:clamp(1rem,1.01vw,1.08rem);line-height:1.45;
  color:#fff8ee;text-shadow:0 1px 3px #11232a;
}
.landing .landing-copy .actions {width:auto;max-width:23rem;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr)}
.landing .landing-copy .actions >a,.landing .dispatch-links >a {padding-inline:10px}
/* Specify both radii so the wash reaches zero at every edge of its box. */
body.landing :is(.landing-copy,.chapter-dispatch .chapter-ink)::before {
  content:"";pointer-events:none;position:absolute;inset:-55% -34%;
  z-index:-1;background:var(--caption-wash);
}
.landing .landing-copy {--caption-opacity:.32}
.landing .chapter-dispatch .chapter-ink {--caption-opacity:.92}
body.landing .atlas-chapter:is(.chapter-network,.chapter-dispatch) .chapter-ink,
body.landing #harbourfront .start-in .contact-invitation {
  position:relative;isolation:isolate;background:none;border:0;border-radius:0;padding:0;
  text-shadow:0 1px 3px #10252c,0 2px 10px #10252c;
}
.landing .atlas-chapter .chapter-ink h2,.landing #harbourfront .contact-invitation h2 {
  margin:0 0 .33em;font-size:clamp(1.52rem,2.1vw,2.15rem);line-height:1.11;letter-spacing:-.047em;
}
.landing .chapter-dispatch .chapter-ink h2 {
  text-shadow:0 1px 4px #11232a,0 2px 13px #10252c;
}
.landing .chapter-network {align-items:end;padding-bottom:clamp(36px,calc(8.5 * var(--scene-vh, 1svh)),90px)}
.landing .chapter-network .chapter-ink {width:min(100%,26.8rem);margin-inline-start:30%}
.landing .chapter-dispatch {align-items:center;padding-block:clamp(45px,calc(9 * var(--scene-vh, 1svh)),120px) 0}
.landing .chapter-dispatch .chapter-ink {width:min(100%,27rem);margin-inline-start:2%}
.landing .chapter-ink :is(.lake-actions,.dispatch-links) {width:min(100%,22rem);margin-top:.7rem}
.landing .chapter-ink .route-reading {margin:.2rem 0 0;min-height:44px}
.landing .chapter-ink .route-reading >span {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
.landing .chapter-ink .route-reading :is(small,strong) {color:#fff5de;margin:0;text-shadow:0 1px 3px #14292f}
.landing .chapter-work {align-items:start;padding-block-start:clamp(66px,calc(9 * var(--scene-vh, 1svh)),116px)}
.landing .chapter-work > .wrap {max-width:1240px}
body.landing .chapter-work .chapter-ink {
  width:min(100%,34rem);
  padding:clamp(14px,1.7vw,26px);
  background:var(--reading-surface);
  border-radius:14px;
}
@media(min-width:1000px){
  body.landing .chapter-work .chapter-ink {width:calc((100% - clamp(14px,2vw,30px)) / 2)}
}
.landing .portfolio-compact {max-width:none}
.landing .portfolio-compact .portfolio-project {grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(10px,1vw,17px);padding:0;background:transparent}
.landing .portfolio-compact .portfolio-caption {padding:0}
.landing .portfolio-compact .portfolio-caption strong {font-weight:570;font-size:clamp(1rem,1.16vw,1.15rem)}
.landing .portfolio-compact .portfolio-screen {aspect-ratio:1.65}
.landing .portfolio-compact .portfolio-toolbar {gap:6px 8px;margin-top:clamp(9px,1vw,15px)}
.landing .portfolio-compact .portfolio-toolbar >a {margin:0}
.landing #harbourfront {align-items:center;padding-block:clamp(70px,calc(17 * var(--scene-vh, 1svh)),190px) 0}
body.landing #harbourfront .start-in .contact-invitation {
  width:fit-content;max-width:100%;margin-inline-start:clamp(0px,7.5%,6rem);
  justify-items:start;gap:.65rem;
}
.landing #harbourfront .contact-invitation h2 {margin:0;font-size:clamp(1.65rem,2.25vw,2.35rem)}
body.landing #harbourfront .contact-invitation p {margin:0}
body.landing #harbourfront .contact-invitation .button {margin-top:.2rem;text-shadow:none}
@media(max-width:1040px){
  .landing .landing-copy {margin-inline-start:6%;width:min(53%,23rem)}
  .landing .chapter-network .chapter-ink {margin-inline-start:20%}
}
@media(max-width:760px){
  .landing .landing-frame {padding-block-start:clamp(18px,calc(4 * var(--scene-vh, 1svh)),38px)}
  .landing .landing-copy {width:min(100%,23rem);margin:0;--caption-opacity:.48}
  .landing .landing-copy h1 {font-size:clamp(1.85rem,7.3vw,2.65rem)}
  .landing .landing-copy .landing-lede {line-height:1.36;max-width:35ch}
  .landing .landing-copy .actions {width:min(100%,21rem);margin-top:10px}
  .landing .chapter-network {padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .landing .chapter-network .chapter-ink,.landing .chapter-dispatch .chapter-ink {width:min(100%,25rem);margin:0}
  .landing .chapter-dispatch {align-items:end;padding-bottom:clamp(34px,calc(11 * var(--scene-vh, 1svh)),110px)}
  .landing .atlas-chapter .chapter-ink h2 {font-size:clamp(1.35rem,5vw,1.65rem)}
  .landing .chapter-ink :is(.lake-actions,.dispatch-links) {margin-top:8px}
  .landing .chapter-work {padding-top:clamp(55px,calc(12 * var(--scene-vh, 1svh)),108px)}
  body.landing .chapter-work .chapter-ink {width:min(100%,25rem)}
  .landing #harbourfront {padding-block:clamp(120px,calc(50 * var(--scene-vh, 1svh)),480px) 0}
  body.landing #harbourfront .start-in .contact-invitation {margin-inline:auto}
}
@media(max-width:360px){
  .landing .portfolio-compact .portfolio-toolbar {display:grid;grid-template-columns:minmax(0,1fr) auto}
  .landing .portfolio-compact .portfolio-controls {gap:2px}
  body.landing .portfolio-compact .portfolio-controls button[data-step] {min-width:3rem;padding-inline:7px}
  .landing .portfolio-compact .portfolio-toolbar >a {padding-inline:6px}
}
@media(orientation:landscape) and (max-height:540px){
  .landing .landing-frame {padding-block-start:14px}
  .landing .landing-copy {width:min(55%,27rem);margin:0}
  .landing .landing-copy h1 {font-size:clamp(1.85rem,3.6vw,2.3rem)}
  .landing .chapter-network .chapter-ink {margin-inline-start:7%}
}


/* Keep the disclosure beside its trigger and leave the panorama in view. */
@media (max-width:900px) {
  body:has(> .regional-atlas) .topbar #primary-nav.open {
    inset:auto max(var(--edge),env(safe-area-inset-right,0px)) auto auto;
    inset-block-start:calc(100% + 4px);
    inline-size:min(14rem,calc(100% - 2 * var(--edge)));
    max-block-size:min(22rem,calc(100svh - 80px));
    padding:6px;
    gap:1px;
    border:0;
    border-radius:14px;
    background:linear-gradient(144deg,#203a40,#13292e 60%,#101f25);
    box-shadow:0 12px 32px #05151aba;
    overscroll-behavior:contain;
  }
  body:has(> .regional-atlas) .topbar #primary-nav.open > a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:7px 13px;
    border:0;
    border-radius:8px;
    color:#fff5e8;
    text-shadow:none;
  }
  body:has(> .regional-atlas) .topbar #primary-nav.open > a:is(:hover,:focus-visible,[aria-current]) {
    background:#2b464b;
    color:#ffd3aa;
    outline-offset:-2px;
  }
}
@media (max-width:760px) {
  .landing .foot-in > div,.landing .foot-nav {position:relative}
  .landing .foot-in::before {
    content:"";
    position:absolute;
    z-index:-1;
    pointer-events:none;
    inset:-24px 0 0;
    background:linear-gradient(to bottom,#0c222900,#0c2229bd 42%,#0b2129ee 100%);
  }
  .landing .foot-in :is(.brand,p,.foot-nav a) {
    color:#fff5e8;
    text-shadow:0 1px 4px #07171b;
  }
  .landing .foot-nav a {min-block-size:36px}
}
