/* Hand-written additions to the generated pages. */

/* Fonts, served from assets/fonts/ (Archivo, Public Sans, IBM Plex Mono;
   latin and latin-ext subsets from Google Fonts). */
/* Archivo latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../assets/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../assets/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Public Sans latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/public-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Public Sans latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/public-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Mono latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Desktop copy between 760px and 900px wide: the boards hide the nav links
   and show a menu button there; js/site.js opens the links as a panel
   styled like the mobile menu. */
@media (min-width: 760px) and (max-width: 900px) {
  .v-desktop header.nav-open {
    position: relative;
  }
  .v-desktop header.nav-open .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
    padding: 0 32px;
    background: #FFFFFF;
    border-bottom: 1px solid #DADAD4;
    box-shadow: 0 12px 24px rgba(21, 23, 26, 0.12);
  }
  .v-desktop header.nav-open .nav-links .navlink {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0;
    border-top: 1px solid #ECECE7;
    font-size: 17px;
  }
}

/* Analytics notice bar (js/site.js) in the footer colours. At 900px wide and
   below it sits above the fixed call/quote bar. */
.ga-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  padding: 8px 16px;
  background: #15171A;
  color: #B9BDC3;
  border-top: 1px solid #33373D;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.ga-notice a {
  color: #FFFFFF;
}
.ga-notice button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #5A5F66;
  border-radius: 4px;
  background: transparent;
  color: #FFFFFF;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ga-notice button:hover,
.ga-notice button:focus-visible {
  border-color: #FFFFFF;
}
@media (max-width: 900px) {
  .ga-notice {
    bottom: 52px;
  }
}
@media print {
  .ga-notice {
    display: none;
  }
}

/* Content pages (written by convert.py from markdown): one layout for every
   width. The top bar, header, footer and call bar come from the Main board
   with its CSS; below 760px they take the phone boards' sizes, and up to
   900px the header's menu button opens the links as a panel (js/site.js). */
.content-page {
  font-family: 'Public Sans', system-ui, sans-serif;
  color: #15171A;
  background: #FFFFFF;
}
.content-page .cp-col {
  max-width: 760px;
}
.content-page .cp-hero {
  background: #F3F3F0;
  border-bottom: 1px solid #DADAD4;
}
.content-page .cp-hero .cp-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 0 44px;
}
.content-page .cp-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #565A60;
}
.content-page .cp-crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: #8A8E94;
}
.content-page .cp-crumbs a {
  color: #565A60;
  text-decoration: none;
}
.content-page .cp-crumbs a:hover {
  color: #C8102E;
}
.content-page .cp-h1 {
  margin: 0;
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.content-page .cp-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: #3C4046;
}
.content-page .cp-article {
  padding: 40px 0 72px;
  font-size: 17px;
  line-height: 1.65;
  color: #3C4046;
}
.content-page .cp-article > :first-child {
  margin-top: 0;
}
.content-page .cp-article h2 {
  margin: 48px 0 0;
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #15171A;
  scroll-margin-top: 24px;
}
.content-page .cp-article p,
.content-page .cp-article ul,
.content-page .cp-article ol {
  margin: 16px 0 0;
}
.content-page .cp-article ul,
.content-page .cp-article ol {
  padding-left: 22px;
}
.content-page .cp-article li + li {
  margin-top: 8px;
}
.content-page .cp-article strong {
  font-weight: 600;
  color: #15171A;
}
.content-page .cp-article a {
  color: #15171A;
  text-decoration: underline;
  text-decoration-color: #C8102E;
  text-underline-offset: 3px;
}
.content-page .cp-article a:hover {
  color: #C8102E;
}
.content-page .cp-note {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid #C8102E;
  background: #FAFAF8;
  font-size: 15px;
}
.content-page .cp-note p {
  margin: 0;
}
.content-page .cp-table {
  margin-top: 20px;
  overflow-x: auto;
}
.content-page .cp-table table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid #DADAD4;
  font-size: 15px;
  line-height: 1.5;
}
.content-page .cp-table th,
.content-page .cp-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #DADAD4;
  text-align: left;
  vertical-align: top;
}
.content-page .cp-table thead th {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #565A60;
}
.content-page .cp-table tbody th {
  font-weight: 600;
  color: #15171A;
}
/* Drawings: white, 1px border, caption and disclaimer as on the Residential page. */
.content-page .cp-figure {
  margin: 32px 0 0;
  background: #FFFFFF;
  border: 1px solid #DADAD4;
  border-radius: 6px;
  overflow: hidden;
}
.content-page .cp-figure-art {
  padding: 24px;
  background: #FFFFFF;
}
.content-page .cp-figure-art svg {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 900px;
  margin: 0 auto;
}
.content-page .cp-figure-small .cp-figure-art svg {
  max-width: 520px;
}
.content-page .cp-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border-top: 1px solid #DADAD4;
}
.content-page .cp-fig-title {
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #15171A;
}
.content-page .cp-fig-note {
  font-size: 13px;
  line-height: 1.5;
  color: #8A8E94;
}
/* FAQ rows, styled like the FAQs page. */
.content-page .cp-faq-list {
  margin-top: 20px;
  border-top: 1px solid #DADAD4;
}
.content-page .cp-faq {
  border-bottom: 1px solid #DADAD4;
  scroll-margin-top: 24px;
}
.content-page .cp-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 0;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  color: #15171A;
}
.content-page .cp-faq summary::-webkit-details-marker {
  display: none;
}
.content-page .cp-faq summary::after {
  content: '+';
  flex: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  color: #565A60;
}
.content-page .cp-faq[open] summary::after {
  content: '\2013';
}
.content-page .cp-faq summary:focus-visible {
  outline: 2px solid #15171A;
  outline-offset: 2px;
}
.content-page .cp-faq h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.content-page .cp-faq-a {
  padding: 0 0 20px;
  font-size: 16px;
}
.content-page .cp-faq-a > :first-child {
  margin-top: 0;
}
/* Quote box, like the Residential page's. */
.content-page .cp-quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding: 28px;
  border-radius: 6px;
  background: #F3F3F0;
}
.content-page .cp-quote-title {
  margin: 0;
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #15171A;
}
.content-page .cp-quote-note {
  margin: -4px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #565A60;
}
.content-page .cp-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.content-page .cp-article .cp-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.content-page .cp-article .cp-btn-accent,
.content-page .cp-article .cp-btn-accent:hover {
  background: #C8102E;
  color: #FFFFFF;
}
.content-page .cp-article .cp-btn-line {
  border: 1px solid #15171A;
  background: #FFFFFF;
  color: #15171A;
}
.content-page [hidden] {
  display: none !important;
}
/* "- [ ] item" checklists. */
.content-page .cp-article .cp-checklist {
  padding-left: 0;
  list-style: none;
}
.content-page .cp-checklist li {
  position: relative;
  padding-left: 32px;
}
.content-page .cp-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border: 2px solid #15171A;
  border-radius: 3px;
  box-sizing: border-box;
}
/* List of the pages under an index page (guides). */
.content-page .cp-article .cp-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.content-page .cp-article .cp-cards li + li {
  margin-top: 0;
}
.content-page .cp-article .cp-cards a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid #DADAD4;
  border-radius: 6px;
  color: #15171A;
  text-decoration: none;
}
.content-page .cp-article .cp-cards a:hover {
  border-color: #15171A;
}
.content-page .cp-card-title {
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.content-page .cp-card-desc {
  font-size: 16px;
  line-height: 1.55;
  color: #3C4046;
}
/* Project photo grid ("projects" in pages.json): photo, then name and suburb. */
.content-page .cp-article .cp-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.content-page .cp-article .cp-projects li + li {
  margin-top: 0;
}
.content-page .cp-project img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #F3F3F0;
}
.content-page .cp-project-name {
  display: block;
  margin-top: 12px;
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #15171A;
}
.content-page .cp-project-place {
  display: block;
  margin-top: 4px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #565A60;
}
/* Pages with projects: from 1024px the text runs beside a column of the first projects
   (the aside), and the grid below spans the page width without them. */
.content-page .cp-article .cp-split-main > :first-child {
  margin-top: 0;
}
.content-page .cp-aside {
  display: none;
}
@media (min-width: 1024px) {
  .content-page .cp-split {
    display: flex;
    align-items: flex-start;
    gap: 48px;
  }
  .content-page .cp-split-main {
    flex: 1 1 0;
    min-width: 0;
  }
  .content-page .cp-aside {
    display: block;
    flex: 0 0 clamp(280px, 30vw, 368px);
  }
  .content-page .cp-article .cp-aside .cp-projects {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }
  .content-page .cp-gallery .cp-in-aside {
    display: none;
  }
}
/* A project card opens its photo (js/commercial.js); without the script the photo links to the file. */
.content-page .cp-project-open {
  display: block;
  border-radius: 6px;
  cursor: zoom-in;
}
.content-page .cp-projects.is-live .cp-project {
  cursor: zoom-in;
}
.content-page .cp-project-open:focus-visible,
.content-page .cp-project.is-hot .cp-project-open {
  outline: 3px solid #C8102E;
  outline-offset: 3px;
}
/* Project map (_build/projects_map.py): pins grow and ring when hot or focused; the card for a pin
   is a preview by it where a mouse can hover, else a button under the map. */
.content-page .pm {
  position: relative;
  max-width: 600px;
  margin: 28px auto 0;
}
/* The team card beside the map ("projectsCard"): under the map below 1024px, beside it from
   1024px, where the map takes 57% of the row and the card's content is centred on its height. */
.content-page .pm-team {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin: 28px auto 0;
  padding: 28px;
  border-radius: 6px;
  box-sizing: border-box;
  background: #F3F3F0;
  font-size: 16px;
  line-height: 1.55;
}
.content-page .cp-article .pm-team-title {
  margin: 0;
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #15171A;
}
@media (min-width: 1024px) {
  .content-page .pm-row {
    display: flex;
    align-items: stretch;
    gap: 32px;
    margin-top: 28px;
  }
  .content-page .pm-row .pm {
    flex: 0 0 48%;
    max-width: none;
    margin: 0;
  }
  .content-page .pm-team {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    margin: 0;
  }
}
.content-page .pm-frame {
  position: relative;
}
.content-page .cp-article .pm-credit {
  position: absolute;
  right: 6px;
  bottom: 6px;
  margin: 0;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  line-height: 1.4;
  color: #565A60;
}
.content-page .cp-article .pm-credit a {
  color: #565A60;
  text-decoration-color: currentColor;
}
.content-page .pm-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.content-page .pm-pin {
  outline: none;
}
.content-page .pm-mark {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.15s ease-out;
}
.content-page .pm-pin.is-hot .pm-mark,
.content-page .pm-pin:focus-visible .pm-mark {
  transform: scale(1.3);
}
.content-page .pm-pin.is-hot .pm-ring,
.content-page .pm-pin:focus-visible .pm-ring {
  stroke-opacity: 1;
}
.content-page .pm-pin:focus-visible .pm-ring {
  stroke: #15171A;
}
.content-page .pm-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: #15171A;
  color: #FFFFFF;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.content-page .pm-card[hidden] {
  display: none;
}
.content-page .pm-card:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 3px;
}
.content-page .pm-card-img {
  display: block;
  flex: 0 0 auto;
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  background: #3C4046;
}
.content-page .pm-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.content-page .pm-card-name {
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.content-page .pm-card-place {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #B9BDC3;
}
.content-page .pm-card-cue {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #C8102E;
  text-underline-offset: 3px;
}
.content-page .pm-card.is-preview {
  position: absolute;
  z-index: 5;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 176px;
  margin: 0;
  padding: 8px;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(21, 23, 26, 0.25);
}
.content-page .pm-card.is-preview .pm-card-img {
  width: 160px;
  height: 120px;
}
.content-page .pm-card.is-preview .pm-card-cue {
  display: none;
}
@media (max-width: 759.98px) {
  .content-page .pm-small {
    display: none;
  }
  .content-page .pm-perth {
    font-size: 30px;
  }
  .content-page .pm-ocean {
    font-size: 22px;
    letter-spacing: 6px;
  }
  .content-page .pm-mark {
    transform: scale(1.4);
  }
  .content-page .pm-pin.is-hot .pm-mark,
  .content-page .pm-pin:focus-visible .pm-mark {
    transform: scale(1.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .content-page .pm-mark {
    transition: none;
  }
}
/* "Related" block at the end of a content page. */
.content-page .cp-related {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #DADAD4;
}
.content-page .cp-article .cp-related h2 {
  margin: 0;
  font-size: 22px;
}
.content-page .cp-article .cp-related ul {
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.content-page .cp-article .cp-related li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #ECECE7;
}
.content-page .cp-rel-kind {
  min-width: 84px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #565A60;
}
/* Glossary: A-Z jump bar, search box (js/glossary.js) and a section per term. */
.content-page .gl-tools {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #DADAD4;
  border-radius: 6px;
  background: #FAFAF8;
}
.content-page .cp-article .gl-jump ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.content-page .cp-article .gl-jump li + li {
  margin-top: 0;
}
.content-page .gl-jump a,
.content-page .gl-jump span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.content-page .cp-article .gl-jump a {
  border: 1px solid #DADAD4;
  background: #FFFFFF;
  color: #15171A;
  text-decoration: none;
}
.content-page .cp-article .gl-jump a:hover {
  border-color: #15171A;
  color: #C8102E;
}
.content-page .cp-article .gl-jump a.gl-dim,
.content-page .gl-jump span {
  color: #B9BDC3;
}
.content-page .gl-search-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #15171A;
}
.content-page .gl-search-input {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid #8A8E94;
  border-radius: 4px;
  box-sizing: border-box;
  background: #FFFFFF;
  font: inherit;
  font-size: 17px;
  color: #15171A;
}
.content-page .gl-search-input:focus-visible {
  outline: 2px solid #15171A;
  outline-offset: 2px;
}
.content-page .cp-article .gl-status {
  margin: 8px 0 0;
  font-size: 14px;
  color: #565A60;
}
.content-page .cp-article .gl-status:empty {
  display: none;
}
.content-page .gl-group {
  margin-top: 44px;
  scroll-margin-top: 24px;
}
.content-page .cp-article .gl-letter {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #15171A;
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: #C8102E;
}
.content-page .gl-term {
  padding: 22px 0;
  border-bottom: 1px solid #DADAD4;
  scroll-margin-top: 24px;
}
.content-page .cp-article .gl-term h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}
.content-page .cp-article .gl-term p {
  margin-top: 8px;
}
.content-page .gl-term:last-child {
  border-bottom: 0;
}
.content-page .gl-term:target h2 {
  color: #C8102E;
}
.content-page .cp-article .gl-why {
  font-size: 16px;
  color: #565A60;
}
.content-page .gl-why-label {
  font-weight: 600;
  color: #15171A;
}
@media (max-width: 900px) {
  .content-page header {
    position: relative;
  }
  .content-page header.nav-open .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
    padding: 0 32px;
    background: #FFFFFF;
    border-bottom: 1px solid #DADAD4;
    box-shadow: 0 12px 24px rgba(21, 23, 26, 0.12);
  }
  .content-page header.nav-open .nav-links .navlink {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0;
    border-top: 1px solid #ECECE7;
    font-size: 17px;
  }
}
@media (max-width: 759.98px) {
  .content-page .topbar {
    display: none;
  }
  .content-page .wrap {
    padding: 0 16px;
  }
  .content-page header .wrap {
    min-height: 64px !important;
  }
  .content-page header img {
    height: 40px !important;
  }
  .content-page header .menu-btn {
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0 !important;
  }
  .content-page header.nav-open .nav-links {
    padding: 0 16px;
  }
  .content-page .cp-hero .cp-col {
    gap: 14px;
    padding: 28px 0;
  }
  .content-page .cp-h1 {
    font-size: 32px;
  }
  .content-page .cp-lead {
    font-size: 18px;
  }
  .content-page .cp-article {
    padding: 32px 0 48px;
  }
  .content-page .cp-article h2 {
    margin-top: 40px;
    font-size: 24px;
  }
  .content-page .cp-figure-art {
    padding: 12px;
  }
  .content-page .cp-article .cp-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .content-page .cp-project-name {
    margin-top: 8px;
    font-size: 15px;
  }
  .content-page .cp-project-place {
    font-size: 12px;
  }
  .content-page .cp-quote,
  .content-page .pm-team {
    padding: 22px 18px;
  }
  .content-page .cp-article .cp-btn {
    justify-content: center;
    width: 100%;
  }
  .content-page .gl-tools {
    padding: 16px;
  }
  .content-page .cp-article .gl-jump li[aria-hidden] {
    display: none;
  }
  .content-page .gl-jump a {
    min-width: 36px;
    height: 36px;
  }
}
@media (max-width: 359.98px) {
  .content-page .cp-article .cp-projects {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Drawings that open full size (data-lightbox, js/site.js): the overlay on
   the body, the drawing at up to 95% of the width and 90% of the height. */
[data-lightbox] {
  cursor: zoom-in;
}
[data-lightbox]:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 3px;
}
html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 23, 26, 0.92);
  animation: lightbox-in 0.2s ease-out;
}
.lightbox[hidden] {
  display: none;
}
.lightbox > svg {
  display: block;
  height: auto;
  max-width: 95vw;
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: 4px;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox {
    animation: none;
  }
}
@media print {
  .lightbox {
    display: none !important;
  }
}

/* Project photos at full size (js/commercial.js): the photo fitted to the
   viewport with its name, suburb and count, previous and next at the sides
   (under the photo on phones), close at the top right. */
.pl-box {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(21, 23, 26, 0.94);
  font-family: 'Public Sans', system-ui, sans-serif;
  color: #FFFFFF;
  animation: lightbox-in 0.2s ease-out;
}
.pl-box[hidden] {
  display: none;
}
.pl-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  box-sizing: border-box;
}
.pl-figure {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.pl-img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 144px);
  max-height: calc(100vh - 200px);
  border-radius: 4px;
  background: #3C4046;
}
.pl-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.pl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pl-name {
  font-family: Archivo, 'Public Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.pl-place,
.pl-count {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #B9BDC3;
}
.pl-count {
  white-space: nowrap;
}
.pl-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(21, 23, 26, 0.6);
  color: #FFFFFF;
  cursor: pointer;
}
.pl-btn:hover,
.pl-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}
.pl-close {
  top: 12px;
  right: 12px;
}
.pl-prev,
.pl-next {
  top: 50%;
  transform: translateY(-50%);
}
.pl-prev {
  left: 12px;
}
.pl-next {
  right: 12px;
}
@media (max-width: 759.98px) {
  .pl-stage {
    padding: 72px 16px 88px;
  }
  .pl-img {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 240px);
  }
  .pl-prev,
  .pl-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .pl-prev {
    left: 16px;
  }
  .pl-next {
    right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pl-box {
    animation: none;
  }
}
@media print {
  .pl-box {
    display: none !important;
  }
}
