/* Trailblazing Women — exhibition portal
   Gallery white. Quiet type. The paintings remain the event. */

:root {
  --paper: #ffffff;
  --ink: #2c2b28;
  --ink-soft: #5c5a55;
  --gold: #b8956c;
  --gold-deep: #9a7848;
  --warm: #f6f3ec;
  --line: #e4e1da;
  --line-strong: #d2cec4;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 40rem;
  --page: 72rem;
  --wide: 86rem;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 200;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(calc(100% - 3rem), var(--page));
  margin-inline: auto;
}

.wrap-wide {
  width: min(calc(100% - 3rem), var(--wide));
  margin-inline: auto;
}

/* Header
   ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 2.65rem;
  width: auto;
}

.brand:hover {
  opacity: 0.82;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem 0;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}

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

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--gold);
}

/* Typography helpers
   ---------------------------------- */

.kicker {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

.display em {
  font-style: italic;
}

.group-head h2,
.anchor-copy h3,
.artist-page h2,
.first-body h2,
.step h2,
.story h2,
.path h2,
.look-text h2,
.look-prompt,
.portal-body h2,
.question p,
.count strong {
  font-weight: 400;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  max-width: 36rem;
}

.essay {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.essay p {
  margin: 0 0 1.15rem;
}

.essay p:last-child {
  margin-bottom: 0;
}

.star-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
  margin: 2.5rem 0;
}

.star-rule span {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

.star-rule svg {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

/* Pigment plates
   ---------------------------------- */

.plate {
  --swatch: #cfc8bb;
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  background: var(--swatch);
  overflow: hidden;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plate.is-placeholder img {
  display: none;
}

.plate.is-placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(44, 43, 40, 0.35);
}

.plate-caption {
  margin: 0.85rem 0 0;
}

.pigment-name {
  display: block;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.entry-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0.3rem 0 0.35rem;
}

.entry-first {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.spectrum {
  list-style: none;
  display: flex;
  gap: 0.28rem;
  padding: 0;
  margin: 0 0 3rem;
}

.spectrum a {
  display: block;
  width: 100%;
  height: 0.55rem;
  background: var(--swatch, #ccc);
  text-decoration: none;
}

.spectrum a:hover {
  transform: scaleY(1.6);
  transform-origin: center;
}

.spectrum li {
  flex: 1;
}

/* Entrance
   ---------------------------------- */

.entrance {
  padding: 5.75rem 0 6.25rem;
}

.mast {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 42rem);
  gap: 4.5rem;
  align-items: center;
}

.mast-copy {
  padding: 0.75rem 0;
}

.mast-number {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(5.5rem, 11vw, 10rem);
  line-height: 0.72;
  letter-spacing: -0.06em;
  color: #e6e1d6;
  margin: 0 0 -0.2rem;
}

.entrance .display {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.entrance .lede {
  margin: 1.7rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.entrance-note {
  margin: 1.85rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.lockup {
  margin: 0;
  width: 100%;
  max-width: 42rem;
  justify-self: end;
  background: var(--warm);
  padding: 1.5rem 1.7rem 1.35rem;
}

.lockup img {
  width: 100%;
  height: auto;
}

/* Collection as colour journey
   ---------------------------------- */

.journey {
  padding: 1rem 0 3rem;
}

.group {
  padding: 3.5rem 0 1rem;
  border-top: 1px solid var(--line);
}

.group-head {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) 1.3fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.group-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}

.group-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: 0.98rem;
}

.triad {
  --triad-gap: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem var(--triad-gap);
}

.work {
  text-decoration: none;
  color: inherit;
  display: block;
}

.work:hover {
  color: var(--ink);
}

.work:hover .plate {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.anchor {
  --triad-gap: 1.15rem;
  --anchor-plate: calc((100% - 2 * var(--triad-gap)) / 3 * 1.4);
  display: grid;
  grid-template-columns: minmax(0, var(--anchor-plate)) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.anchor .work {
  width: 100%;
}

.anchor-copy .kicker {
  margin-bottom: 0.6rem;
}

.anchor-copy h3 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.anchor-copy .pigment-name {
  margin-bottom: 1.1rem;
}

.anchor-copy p {
  color: var(--ink-soft);
  max-width: 28rem;
}

.continue {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  text-align: left;
}

/* Statement band
   ---------------------------------- */

.statement {
  padding: 6.5rem 0;
  border-top: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 42rem);
  gap: 4.5rem;
}

.statement .display {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.statement .lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}

.counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.count {
  padding: 1.7rem 1.35rem 1.55rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.count:nth-child(3n) {
  border-right: 0;
}

.count:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.count strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
}

.count span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.close {
  padding: 0;
}

.artist-note {
  padding: 5rem 0 6.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 42rem);
  gap: 4.5rem;
  align-items: start;
}

.artist-note .display {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.artist-note .lede {
  margin: 0;
}

.artist-note .kicker {
  display: inline-block;
  text-decoration: none;
}

.artist-page {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 6rem;
}

.artist-page h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.artist-page .essay + h2,
.artist-page .kicker + h2 {
  margin-top: 0;
}

.artist-page .block {
  margin-bottom: 2.75rem;
}

.method-list,
.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.method-list li,
.cred-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.method-list li:last-child,
.cred-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.method-list strong,
.cred-list strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.artist-photo {
  position: sticky;
  top: calc(var(--header) + 1.25rem);
  aspect-ratio: 4 / 5;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.path {
  display: flex;
  flex-direction: column;
  min-height: 11.25rem;
  padding: 1.6rem 1.45rem 1.55rem;
  background: var(--warm);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.path:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.path h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 400;
  margin: 0 0 0.7rem;
}

.path p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Inner pages
   ---------------------------------- */

.page-head {
  padding: 4.5rem 0 2.5rem;
}

.page-head .display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 14ch;
}

.page-head .lede {
  margin-top: 1.25rem;
}

/* Firsts
   ---------------------------------- */

.first-list {
  list-style: none;
  margin: 0;
  padding: 0 0 6rem;
}

.first-list li {
  border-top: 1px solid var(--line);
}

.first-list a {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  text-decoration: none;
}

.first-list a:hover {
  color: var(--ink);
}

.first-num {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
}

.first-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.first-body p {
  margin: 0;
  color: var(--ink-soft);
}

.first-pigment {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: right;
  max-width: 12rem;
}

/* Material process
   ---------------------------------- */

.process {
  padding-bottom: 5rem;
}

.step {
  display: grid;
  grid-template-columns: 8rem 1fr 0.9fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.step-no {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.step h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 0.8rem;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.material-close {
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--line);
}

.look-prompt {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}

.look-copy {
  max-width: var(--measure);
  color: var(--ink-soft);
}

/* Stories index
   ---------------------------------- */

.story-list {
  padding-bottom: 6rem;
}

.story {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.story:hover {
  color: var(--ink);
}

.story h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.story .pigment-name {
  margin-top: 0.7rem;
}

.story p {
  margin: 0;
  color: var(--ink-soft);
}

/* Learn
   ---------------------------------- */

.questions {
  padding-bottom: 3rem;
}

.question {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.question span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  padding-top: 0.45rem;
}

.question p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  margin: 0;
  max-width: 42rem;
}

.match {
  padding: 3rem 0 6rem;
  border-top: 1px solid var(--line);
}

.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.match ol,
.match ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.match li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.match .name {
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* Portrait portal
   ---------------------------------- */

.portal-back,
.portal-hop {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}

.portal-hop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  min-width: 0;
}

.portal-hop a {
  text-decoration: none;
  white-space: nowrap;
}

.portal {
  padding: 2.5rem 0 4rem;
}

.portal-ident {
  text-align: center;
  margin-bottom: 2.75rem;
  padding-top: 1.25rem;
}

.portal-ident .kicker {
  margin-bottom: 1.75rem;
}

.portal-ident .display {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.portal-ident .pigment-name {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
}

.portal-ident .entry-first {
  max-width: 40rem;
  margin: 1.7rem auto 0;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  font-family: Montserrat, var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: #55534e;
}

.artwork-stage {
  width: min(52rem, 100%);
  margin: 0 auto 4.5rem;
  box-shadow: 0 2.25rem 4.5rem rgba(44, 43, 40, 0.12);
}

.story-block {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(18rem, 2fr);
  gap: 3.75rem;
  align-items: start;
  padding: 0 0 4.5rem;
}

.content-label {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.content-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

.content-body p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.content-body p:last-child {
  margin-bottom: 0;
}

.look {
  padding: 5rem 0;
  background: var(--warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.look-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 22rem) minmax(16rem, 1fr);
  gap: 3rem;
  align-items: center;
}

.look-image {
  position: relative;
  margin: 0;
  width: min(22rem, 100%);
  max-width: 22rem;
  max-height: 22rem;
  box-shadow: 0 1.25rem 2.75rem rgba(44, 43, 40, 0.08);
}

.look-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.look-image.is-placeholder .look-tag {
  display: none;
}

.look-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.look-card {
  background: var(--paper);
  padding: 2.4rem 2.1rem 2.5rem;
  border: 1px solid var(--line);
  box-shadow: 0 1rem 2.25rem rgba(44, 43, 40, 0.04);
}

.look-card .kicker {
  margin-bottom: 0.85rem;
}

.look-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.look-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.portrait-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.sequence {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.75rem 0 2rem;
}

.sequence a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  max-width: 45%;
  color: inherit;
}

.sequence .next {
  text-align: right;
  margin-left: auto;
  align-items: end;
}

.sequence-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.sequence-name {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Footer
   ---------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
}

.portrait-footer .footer-inner {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.site-footer p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.7;
}

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

/* Responsive
   ---------------------------------- */

@media (max-width: 980px) {
  .group-head,
  .anchor,
  .statement-grid,
  .step,
  .story,
  .look-grid,
  .story-block,
  .match-grid,
  .artist-note,
  .artist-page,
  .mast {
    grid-template-columns: 1fr;
  }

  .artist-photo {
    position: static;
  }

  .content-label {
    padding-top: 0;
    border-top: 0;
    padding-bottom: 0.7rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .story-block {
    gap: 1.25rem;
    padding-bottom: 3.25rem;
  }

  .look-grid {
    gap: 2rem;
  }

  .look-image {
    justify-self: start;
  }

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

  .first-list a {
    grid-template-columns: 3rem 1fr;
  }

  .first-pigment {
    grid-column: 2;
    text-align: left;
    max-width: none;
  }

  .anchor {
    gap: 1.5rem;
  }

  .anchor .work {
    max-width: var(--anchor-plate);
  }

  .mast {
    gap: 3.5rem;
  }

  .lockup {
    justify-self: center;
    max-width: 32rem;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1.2rem;
    flex-direction: column;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  :root {
    --header: 4rem;
  }

  .wrap,
  .wrap-wide {
    width: calc(100% - 2rem);
  }

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

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

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

  .count:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .count:nth-child(2n) {
    border-right: 0;
  }

  .count:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .count:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .entrance {
    padding: 3.25rem 0 4rem;
  }

  .mast {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .lockup {
    justify-self: center;
    max-width: 28rem;
    padding: 1.1rem 1.15rem 1rem;
  }

  .page-head {
    padding-top: 2.75rem;
  }

  .portal-hop {
    gap: 0.75rem;
    font-size: 0.6rem;
  }

  .sequence {
    padding-top: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .sequence,
  .site-footer {
    display: none;
  }

  body {
    font-size: 11pt;
  }
}
