/* ==========================================================================
   Dos Rios Partners: the front desk (Contact and News)
   Contact opens on the two rivers at night, framed on Austin, with the firm's
   imprint set in an engraver's cartouche out in the Gulf. News is a register
   of announcements set along a river line. Loaded after rivers.css.
   ========================================================================== */

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.drp-desk main { display: block; }

.desk-eyebrow {
  margin: 0 0 14px;
  font: 600 12.5px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* the old Overview address, now a redirect to Contact */
.nw-moved { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; color: var(--ink); }

/* ==========================================================================
   Contact: the map and the cartouche
   ========================================================================== */
.cm-hero {
  position: relative;
  background: var(--night-deep);
  color: #F3F6F8;
  overflow: hidden;
}
.cm-stage { position: relative; width: 100%; aspect-ratio: 390 / 430; max-height: 72vh; }
.cm-map { display: block; width: 100%; height: 100%; }
.cm-map .sea { fill: var(--night-deep); }

/* the two rivers: drawn in from source to mouth, then a slow pulse of light runs down each */
.cm-map .r-base,
.cm-map .r-glow,
.cm-map .r-core,
.cm-map .r-flow { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cm-map .r-base { stroke: #9CC4DE; stroke-width: calc(1.4px * var(--k, 1)); opacity: 0.4; }
.cm-map .r-glow { stroke: #9CCBEE; stroke-width: calc(9px * var(--k, 1)); opacity: 0.32; }
.cm-map .r-core { stroke: #DDF0FB; stroke-width: calc(1.8px * var(--k, 1)); opacity: 0.95; }
.cm-map .r-flow { stroke: #fff; stroke-width: calc(3px * var(--k, 1)); stroke-dasharray: 80 2000; stroke-dashoffset: 80; }
.cm-map .r-glow,
.cm-map .r-core { stroke-dasharray: 1000 1000; stroke-dashoffset: 1000; animation: cm-draw 2.8s cubic-bezier(0.45, 0, 0.25, 1) 0.15s forwards; }
.cm-map .east .r-glow,
.cm-map .east .r-core { animation-delay: 0.75s; }
.cm-map .r-flow { animation: cm-flow 11s linear 4s infinite both; }
.cm-map .east .r-flow { animation-delay: 4.9s; }

.cm-map .cm-lamp { opacity: 0; animation: cm-fade 1.6s ease 0.2s forwards; }

/* Austin */
.cm-map .mk { transform: scale(var(--k, 1)); }
.cm-map .a-dot { fill: #F3F6F8; }
.cm-map .a-ring { fill: none; stroke: #F3F6F8; stroke-width: 1.3px; opacity: 0.75; }
.cm-map .a-halo { fill: none; stroke: #DCEEF8; stroke-width: 1.2px; opacity: 0; transform-box: fill-box; transform-origin: center; }
.cm-map .a-name {
  fill: #F3F6F8;
  font: 600 15px var(--sans);
  letter-spacing: 0.02em;
  stroke: var(--night-deep);
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke;
}
.cm-map .a-halo { animation: cm-halo 7s ease-out 3.2s infinite; }

/* the leader: an engraver's hairline from Austin to the cartouche, set by desk.js */
.cm-map .cm-leader {
  display: none;
  fill: none;
  stroke: #CFE3F0;
  stroke-width: calc(1.1px * var(--k, 1));
  stroke-linecap: round;
  stroke-dasharray: 1000 1000;
  stroke-dashoffset: 1000;
  opacity: 0.75;
  animation: cm-draw 0.9s cubic-bezier(0.5, 0, 0.3, 1) 0.5s forwards;
}
.cm-map .cm-leader-base { display: none; fill: none; stroke: #CFE3F0; stroke-width: calc(1px * var(--k, 1)); opacity: 0.28; }
.cm-stage.has-leader .cm-leader,
.cm-stage.has-leader .cm-leader-base { display: inline; }

/* the cartouche */
.cm-card-wrap { position: relative; z-index: 2; padding: 0 var(--gutter) 40px; margin-top: -84px; }
.cartouche {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  padding: 34px 30px 30px;
  background: rgba(9, 21, 38, 0.88);
  text-align: center;
  /* fallback frame: a plain double rule (desk.js replaces it with the drawn one) */
  border: 1px solid rgba(183, 211, 226, 0.6);
  box-shadow: inset 0 0 0 6px rgba(9, 21, 38, 0.88), inset 0 0 0 7px rgba(183, 211, 226, 0.45), 0 24px 60px rgba(0, 0, 0, 0.35);
}
.cartouche.has-frame { border-color: transparent; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.cartouche .ct-frame { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); pointer-events: none; overflow: visible; }
.ct-frame path { fill: none; stroke-linejoin: miter; }
.ct-frame .ct-outer { stroke: rgba(205, 227, 240, 0.78); stroke-width: 1.2px; }
.ct-frame .ct-inner { stroke: rgba(205, 227, 240, 0.5); stroke-width: 0.8px; }
.ct-frame .ct-gem { fill: rgba(205, 227, 240, 0.8); }
/* the engraver's frame draws itself around text that is already there */
.ct-frame .ct-base { opacity: 0.35; }
.ct-frame .ct-ink { stroke-dasharray: 1000 1000; stroke-dashoffset: 1000; animation: cm-draw 1.3s cubic-bezier(0.5, 0, 0.25, 1) 0.05s forwards; }
.ct-frame .ct-inner.ct-ink { animation-duration: 1.5s; animation-delay: 0.25s; }

.cartouche > p, .cartouche > h1, .cartouche > address { position: relative; }
.cartouche > .ct-orn { animation: ct-in 0.8s ease 0.2s both; }

.ct-eyebrow {
  margin: 0 0 12px;
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--river);
}
.cartouche h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: #F6F8FA;
}
.ct-orn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto 16px; max-width: 220px; }
.ct-orn:before, .ct-orn:after { content: ""; flex: 1; height: 1px; background: rgba(183, 211, 226, 0.45); }
.ct-orn span { width: 6px; height: 6px; background: var(--river); transform: rotate(45deg); }
.ct-firm { margin: 0 0 6px; font: italic 400 19px/1.3 var(--serif); color: #E7EEF3; }
.ct-imprint, .ct-lines { margin: 0; font-style: normal; font-size: 15.5px; line-height: 1.65; color: #C2D2DE; }
.ct-lines { margin-top: 2px; }
.ct-k { color: #8FA8BC; }
.cartouche a { color: #EAF4FA; text-decoration: none; border-bottom: 1px solid rgba(183, 211, 226, 0.4); }
.cartouche a:hover { border-bottom-color: #EAF4FA; }
.cartouche a:focus-visible { outline: 2px solid var(--river); outline-offset: 3px; }
.ct-sep { display: none; }

@media only screen and (min-width: 600px) {
  .cartouche { padding: 40px 44px 36px; container-type: inline-size; }
  .ct-sep { display: inline; color: #6F8799; }
  .ct-br { display: none; }
}
/* a narrow cartouche sets the telephone and the inbox on their own lines */
@container (max-width: 336px) {
  .ct-lines .ct-sep { display: none; }
  .ct-lines .ct-br { display: inline; }
}

@media only screen and (min-width: 900px) {
  .cm-hero { height: clamp(640px, calc(100vh - var(--header-h)), 900px); }
  .cm-stage { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
  .cm-card-wrap {
    position: absolute;
    left: 0; right: 0; bottom: clamp(36px, 7vh, 72px);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    pointer-events: none;
  }
  /* right of centre, out in the Gulf; desk.js moves the map to meet it */
  .cartouche { pointer-events: auto; margin: 0 0 0 calc(50% + 24px); width: clamp(360px, 30vw, 500px); max-width: calc(50% - 24px); }
  .cm-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(9, 21, 38, 0.55) 0%, rgba(9, 21, 38, 0) 18%),
      linear-gradient(0deg, rgba(9, 21, 38, 0.5) 0%, rgba(9, 21, 38, 0) 20%);
  }
}

/* the map key, lower left on wide screens */
.cm-key { display: none; }
.cm-key .swatch-home { position: relative; width: 14px; height: 14px; margin: 0 8px; border-radius: 50%; box-sizing: border-box; border: 1.3px solid #F3F6F8; }
.cm-key .swatch-home:after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #F3F6F8; }
@media only screen and (min-width: 900px) {
  .cm-key { display: block; z-index: 2; bottom: clamp(36px, 7vh, 72px); padding-bottom: 0; }
  .cm-key li:last-child { margin-bottom: 0; }
}

@keyframes cm-draw { to { stroke-dashoffset: 0; } }
@keyframes cm-fade { to { opacity: 1; } }
@keyframes cm-flow {
  0% { stroke-dashoffset: 80; }
  40% { stroke-dashoffset: -1000; }
  100% { stroke-dashoffset: -1000; }
}
@keyframes cm-halo {
  0% { opacity: 0.9; transform: scale(1); }
  28% { opacity: 0; transform: scale(4.2); }
  100% { opacity: 0; transform: scale(4.2); }
}
@keyframes ct-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact: routes to Kevin and Joseph
   ========================================================================== */
.cm-routes { padding: clamp(64px, 8vw, 116px) 0; background: #fff; }
.cm-routes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; }
.cm-routes-lead h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 13em;
}
.cm-routes-lead p { margin: 0 0 16px; max-width: 34em; font-size: 17.5px; line-height: 1.65; color: var(--slate); }
.cm-routes-lead .desk-eyebrow { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.cm-routes-lead .text-links { margin-top: 30px; }

.cm-people { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.cm-person {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.cm-photo { display: block; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.cm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(0.9); transition: transform 0.6s ease; }
.cm-person:hover .cm-photo img { transform: scale(1.03); }
.cm-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; }
.cm-name a { color: var(--ink); text-decoration: none; }
.cm-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cm-role { margin: 6px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.cm-lines { margin: 0 0 14px; }
.cm-lines > div { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 10px; padding: 3px 0; align-items: baseline; }
.cm-lines dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cm-lines dd { margin: 0; font-size: 16.5px; overflow-wrap: anywhere; }
.cm-lines a { color: var(--ink); }
.cm-more { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: 14.5px; }
.cm-more a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(16, 46, 86, 0.35); }
.cm-more a:hover { border-bottom-color: var(--ink); }

@media only screen and (max-width: 599px) {
  .cm-person { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .cm-lines > div { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 0; }
  .cm-lines dt { font-size: 11.5px; }
  .cm-lines dd { font-size: 16px; overflow-wrap: normal; }
}
@media only screen and (min-width: 600px) {
  .cm-person { grid-template-columns: 150px minmax(0, 1fr); gap: 30px; }
}
@media only screen and (min-width: 1000px) {
  .cm-routes-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; align-items: start; }
  .cm-routes-lead { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ==========================================================================
   Contact: the letter
   ========================================================================== */
.cm-write { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper); border-top: 1px solid var(--rule); }
.cm-write-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.cm-write-lead h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; color: var(--ink); }
.cm-write-lead p { margin: 0 0 14px; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--slate); }
.cm-write-lead .cm-note { color: var(--muted); font-size: 15.5px; }

.letter {
  position: relative;
  margin: 0;
  padding: 30px 22px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(16, 46, 86, 0.04), 0 18px 40px rgba(16, 46, 86, 0.06);
}
.letter:before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(16, 46, 86, 0.1);
  pointer-events: none;
}
.letter > * { position: relative; }
.letter-to { display: flex; gap: 18px; align-items: baseline; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); }
.letter-k { flex: none; font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.letter-sub { font-family: var(--sans); font-size: 14.5px; color: var(--muted); }

.letter-topic { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.letter-topic legend { padding: 0; margin: 0 0 10px; font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.topic-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-opts label { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.topic-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic-opts span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.2;
  color: var(--slate);
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.topic-opts label:hover span { border-color: var(--ink); }
.topic-opts input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.topic-opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.letter-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; }
.letter .fld { display: block; margin: 0 0 18px; }
.letter .fld-k { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.letter .fld-k em { font-weight: 400; font-style: normal; color: var(--muted); }
html body .letter input[type="text"],
html body .letter textarea {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 10px 2px 9px;
  border: 0;
  border-bottom: 1px solid #AEB9C3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 400 17px/1.5 var(--sans);
  color: var(--slate);
  transition: border-color 0.2s ease, background 0.2s ease;
}
html body .letter textarea {
  min-height: 150px;
  resize: vertical;
  /* ruled like letter paper */
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(16, 46, 86, 0.1) 31px, rgba(16, 46, 86, 0.1) 32px);
  background-attachment: local;
  line-height: 32px;
  padding-top: 0;
}
html body .letter input[type="text"]:focus,
html body .letter textarea:focus { outline: none; border-bottom-color: var(--ink); background-color: rgba(183, 211, 226, 0.12); }
.letter .is-missing input { border-bottom-color: #A33A2B; }
.letter-err { min-height: 0; margin: 0; font-size: 15px; color: #8E2E21; }
.letter-err:not(:empty) { margin: 0 0 14px; }
.letter-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.letter-send {
  display: inline-block;
  margin: 0;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: 600 15px/1.2 var(--sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.letter-send:hover { background: #fff; color: var(--ink); }
.letter-alt { margin: 0; font-size: 15px; color: var(--muted); }
.letter-alt a { color: var(--ink); }

@media only screen and (min-width: 700px) {
  .letter { padding: 40px 44px 38px; }
  .letter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media only screen and (min-width: 1000px) {
  .cm-write-grid { grid-template-columns: 0.9fr 1.1fr; gap: 96px; align-items: start; }
}

/* ==========================================================================
   News: the register
   ========================================================================== */
.nw-head {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(9, 21, 38, 0.94) 0%, rgba(9, 21, 38, 0.7) 45%, rgba(9, 21, 38, 0.25) 100%),
    var(--night-deep) url('../img/night-towns-lit.jpg') 62% 70% / cover no-repeat;
  color: #F3F6F8;
}
.nw-head .desk-eyebrow { color: var(--river); }
.nw-head h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  color: #F6F8FA;
}
.nw-head .nw-lede { margin: 0; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: #C2D2DE; }
.nw-key { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14px; color: #C2D2DE; }
.nw-key li { display: inline-flex; align-items: center; gap: 10px; margin: 0; }

/* marks: the fund in river light, active investments in lamplight, the history in ink */
.nw-dot { display: inline-block; flex: none; width: 13px; height: 13px; border-radius: 50%; box-sizing: border-box; }
.nw-dot.fund { background: var(--river-hi); box-shadow: 0 0 0 3px rgba(183, 211, 226, 0.28); }
.nw-dot.active { background: var(--brass); box-shadow: 0 0 0 3px rgba(221, 190, 132, 0.25); }
.nw-dot.history { background: transparent; border: 1.5px solid #C2D2DE; }
.nw-dot.other { width: 9px; height: 9px; background: #8FA2B3; }

.nw-body { padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 128px); background: #fff; }
.nw-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 72px; }
.nw-group + .nw-group { margin-top: clamp(56px, 7vw, 96px); }
.nw-group-head h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; color: var(--ink); }
.nw-group-head p { margin: 0; max-width: 24em; color: var(--muted); font-size: 16px; }

.nw-list { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; }
/* the river line the entries sit along */
.nw-list:before {
  content: "";
  position: absolute;
  left: 6px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(183, 211, 226, 0.2), var(--river) 12%, var(--river) 88%, rgba(183, 211, 226, 0.2));
  border-radius: 1px;
}
.nw-item { position: relative; margin: 0; padding: 0 0 30px; }
.nw-item + .nw-item { padding-top: 26px; border-top: 1px solid var(--rule); }
.nw-item .nw-dot { position: absolute; left: -34px; top: 6px; background-clip: padding-box; }
.nw-item + .nw-item .nw-dot { top: 32px; }
.nw-item .nw-dot.history { background: #fff; border-color: var(--ink); }
.nw-item .nw-dot.fund { background: var(--ink); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--river); }
.nw-item .nw-dot.active { background: #C9A35E; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(181, 142, 69, 0.5); }
.nw-item .nw-dot.other { left: -32px; background: #8FA2B3; box-shadow: 0 0 0 3px #fff; }
.nw-item .nw-dot.other { top: 8px; }
.nw-item + .nw-item .nw-dot.other { top: 34px; }

.nw-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 6px; font-size: 13.5px; }
.nw-co { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
a.nw-co { text-decoration: none; border-bottom: 1px solid rgba(16, 46, 86, 0.3); }
a.nw-co:hover { border-bottom-color: var(--ink); }
.nw-status { color: var(--muted); }
.nw-status.is-active { color: #8A6A2E; }
.nw-title { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; color: var(--ink); }
.nw-title a { color: var(--ink); text-decoration: none; }
.nw-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.nw-pdf { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; }
.nw-pdf a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(16, 46, 86, 0.35); }
.nw-pdf a:hover { border-bottom-color: var(--ink); }
.nw-fmt { display: inline-block; padding: 2px 6px; border: 1px solid var(--rule); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }

/* entries ink in along the line as they arrive (desk.js adds .reveal; without it all show) */
.nw-list.reveal .nw-item .nw-dot { transform: scale(0.2); opacity: 0; transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.4s ease; }
.nw-list.reveal .nw-item > :not(.nw-dot) { opacity: 0; transform: translateY(8px); transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s; }
.nw-list.reveal .nw-item.is-in .nw-dot { transform: none; opacity: 1; }
.nw-list.reveal .nw-item.is-in > :not(.nw-dot) { opacity: 1; transform: none; }

.nw-foot { margin: clamp(56px, 7vw, 88px) 0 0; padding-top: 28px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 72px; }
.nw-foot h2 { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--ink); }
.nw-foot p { margin: 0; max-width: 40em; color: var(--slate); font-size: 16.5px; }
.nw-foot .text-links { margin-top: 14px; }

@media only screen and (min-width: 1000px) {
  .nw-group, .nw-foot { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); }
  .nw-group-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ---------- reduced motion: everything in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .cm-map .r-glow, .cm-map .r-core, .cm-map .cm-leader,
  .ct-frame .ct-ink { animation: none; stroke-dashoffset: 0; }
  .cm-map .r-flow, .cm-map .a-halo { display: none; animation: none; }
  .cm-map .cm-lamp { animation: none; opacity: 1; }
  .cartouche > .ct-orn { animation: none; }
  .nw-list.reveal .nw-item .nw-dot,
  .nw-list.reveal .nw-item > :not(.nw-dot) { opacity: 1; transform: none; transition: none; }
  .cm-person:hover .cm-photo img { transform: none; }
}
