/* Partners In Procurement
   Procurement file, set at enterprise scale.
   Archivo for display and text. JetBrains Mono for file metadata.
   White pages, near-black bands, one warm signal. No radius, no shadow. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --paper: #ffffff;
  --black: #101010;
  --muted: #3a3a3a;
  --line: #c8c8c8;
  --signal: #c65312;
  --display: "Archivo", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Courier New", monospace;
  --measure: 42rem;
  --wrap: 76rem;
}

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

html {
  color-scheme: light;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  overflow-wrap: break-word;
}

::selection {
  background: #d9d9d9;
  color: var(--ink);
}

:focus {
  outline: none;
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

.letterhead {
  height: 8px;
  background: var(--signal);
}

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

.site-header {
  background: var(--black);
  color: #f5f5f5;
}

.site-header :focus-visible,
.hero :focus-visible,
.bleed-band :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding: 0.85rem 0 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  min-height: 44px;
}

.brand img {
  width: 42px;
  height: 41px;
  display: block;
}

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-meta {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4e4e4;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--signal);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.langs {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #fff;
}

.langs a {
  color: #fff;
  text-decoration: none;
}

.langs-current {
  border-bottom: 2px solid var(--signal);
  line-height: 1.2;
}

.filebar {
  border-top: 1px solid #2a2a2a;
  padding: 0.55rem 0 0.7rem;
}

.filebar dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin: 0;
}

.filebar div {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  min-height: 1.6rem;
}

.filebar dt,
.filebar dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filebar dt {
  color: #d0d0d0;
  font-weight: 400;
}

.filebar dd {
  color: #fff;
  font-weight: 500;
}

main {
  padding: 0;
}

main:focus {
  outline: none;
}

main > .wrap {
  padding-bottom: 1rem;
}

main > .wrap > .crumb:first-child,
main > .wrap > .kicker:first-child,
main > .wrap > p.kicker:first-child {
  margin-top: 2.75rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.05rem, 6.4vw, 5.35rem);
  margin: 0 0 1.15rem;
  max-width: 14em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  margin: 3.4rem 0 0.85rem;
  line-height: 1.02;
  max-width: 18em;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--ink);
  text-underline-offset: 0.16em;
}

.lede {
  font-size: 1.3rem;
  line-height: 1.4;
  max-width: 40rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.kicker {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.fine,
caption {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.measure {
  max-width: var(--measure);
}

.hero,
.bleed-band {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  color: #f4f4f4;
  background: var(--black);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before,
.bleed-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.66);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  padding: 3.4rem 0 2.8rem;
}

.photo-centre {
  object-position: center 40%;
}

.photo-ottawa {
  object-position: center 62%;
}

.photo-wellington {
  object-position: center 68%;
}

.photo-meeting {
  object-position: center 50%;
}

.photo-senate {
  object-position: center 45%;
}

.hero .kicker,
.bleed-band .kicker {
  color: #f3f3f3;
}

.hero .crumb,
.hero .crumb [aria-hidden="true"] {
  color: #f2f2f2;
}

.hero h1,
.bleed-band h2 {
  color: #fff;
}

.hero p,
.bleed-band p,
.hero .lede,
.hero .fine {
  color: #f3f3f3;
}

.hero a,
.bleed-band a {
  color: #fff;
}

.photo-credit {
  margin: 2rem 0 0;
  max-width: 40rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #f2f2f2;
}

.hero .record-panel {
  margin-top: 2.6rem;
  padding-top: 1.15rem;
  border-top: 4px solid var(--signal);
}

.hero .record {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.5rem;
  margin: 0;
}

.hero .record div {
  display: block;
  border: 0;
  padding: 0;
}

.hero .record dt {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eeeeee;
}

.hero .record dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #fff;
}

.hero .record dd.stat-long {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero .fine {
  margin: 1.15rem 0 0;
  max-width: 38rem;
  font-size: 0.95rem;
}

.photo-break {
  width: 100vw;
  margin: 2.5rem 0 0;
  margin-left: calc(50% - 50vw);
}

.photo-break img {
  display: block;
  width: 100%;
  height: min(68vh, 38rem);
  max-width: none;
  object-fit: cover;
}

.audiences {
  display: grid;
  margin: 0;
  padding: 3.5rem 0 1rem;
}

.audiences article {
  padding: 0 0 2rem;
}

.audiences h2 {
  margin-top: 0.35rem;
}

.num {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--signal);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  max-width: 28rem;
}

.link-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-top: 1px solid var(--ink);
  text-decoration-thickness: 1px;
}

.rule {
  max-width: 44rem;
  margin: 3rem 0 0;
  padding: 1.15rem 0 1.2rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.rule .kicker {
  margin-bottom: 0.55rem;
}

.rule-text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.stamp {
  border: 3px solid var(--signal);
  padding: 1.15rem 1.25rem 1.3rem;
  max-width: 36rem;
}

.stamp .kicker {
  color: var(--signal);
}

blockquote {
  margin: 3.5rem 0 3rem;
  padding: 0;
  border: 0;
  max-width: 48rem;
}

blockquote p {
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0;
}

blockquote footer {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bleed-band .hero-copy {
  padding-top: 5.5rem;
  padding-bottom: 5rem;
}

.bleed-band h2 {
  margin-top: 0;
}

.files {
  padding-top: 2.4rem;
}

.files > p {
  max-width: var(--measure);
}

.layout {
  display: block;
  margin-top: 2.5rem;
}

.toc {
  margin: 0 0 2rem;
}

.toc-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0.55rem 0 0;
  padding: 0;
}

.toc li {
  counter-increment: toc;
  border-top: 1px solid var(--line);
}

.toc a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.35rem 0;
  text-decoration-thickness: 1px;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--signal);
  flex: 0 0 auto;
}

.crumb {
  margin: 0 0 1.1rem;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
}

.crumb [aria-hidden="true"] {
  color: var(--muted);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 1rem 0 1.35rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
  line-height: 1.45;
  border-top: 2px solid var(--ink);
}

caption {
  caption-side: top;
  text-align: left;
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1.25rem 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 700;
}

thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}

th[scope="row"] {
  width: 34%;
  padding-right: 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case {
  padding-top: 0.25rem;
}

.case h2 {
  margin-top: 0.35rem;
}

.case + .case {
  margin-top: 3.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--ink);
}

.redaction {
  display: flex;
  gap: 0.45rem;
  max-width: 22rem;
  margin: 2rem 0 0;
}

.redaction span {
  display: block;
  height: 0.95rem;
  background: var(--ink);
  flex: 1;
}

.redaction span:nth-child(2) {
  flex: 1.7;
}

.redaction span:nth-child(3) {
  flex: 0.55;
}

.steps {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  max-width: 44rem;
}

.steps > li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  column-gap: 0.85rem;
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 1.2rem;
}

.steps > li > :not(.step-num) {
  grid-column: 2;
}

.step-num {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  margin: 0.15rem 0 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.steps h3 {
  margin-bottom: 0.35rem;
}

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

.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-grid h2:first-child {
  margin-top: 0;
}

label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.15rem 0 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  max-width: 36rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.6rem 0.7rem;
  min-height: 44px;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

button {
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  margin-top: 1.35rem;
  cursor: pointer;
}

button:hover {
  background: var(--signal);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--black);
  color: #f3f3f3;
  margin-top: 4rem;
  padding: 2.25rem 0 2.75rem;
}

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

.footer-grid {
  display: grid;
  gap: 1.6rem 2rem;
}

address {
  font-style: normal;
}

.footer-name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.creds {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.band,
.band-stone,
.band-navy {
  background: transparent;
}

@media (min-width: 40rem) {
  .hero .record {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 52rem) {
  .wrap,
  .hero-copy {
    width: min(var(--wrap), calc(100% - 3rem));
  }

  .audiences {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  .audiences article + article {
    border-left: 1px solid var(--ink);
    padding-left: 2.5rem;
  }

  .audiences article:first-child {
    padding-right: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 1fr 0.9fr;
  }
}

@media (max-width: 51.99rem) {
  .audiences article + article {
    border-top: 1px solid var(--ink);
    padding-top: 1.75rem;
  }
}

@media (min-width: 64rem) {
  .layout {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    column-gap: 3.5rem;
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 1rem;
    margin: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
  }

  .contact-grid > :last-child {
    border-left: 1px solid var(--ink);
    padding-left: 2.5rem;
  }
}

@media (max-width: 42rem) {
  .table-wrap {
    overflow: visible;
  }

  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap th,
  .table-wrap td,
  .table-wrap caption {
    display: block;
    width: 100%;
    max-width: none;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tr {
    border-bottom: 1px solid var(--ink);
    padding: 0.85rem 0 0.95rem;
  }

  .table-wrap th,
  .table-wrap td,
  .table-wrap caption {
    border-bottom: 0;
    padding: 0.15rem 0;
  }

  .table-wrap caption {
    margin: 0 0 0.65rem;
  }

  .table-wrap th[scope="row"] {
    width: 100%;
    padding-right: 0;
    padding-bottom: 0.2rem;
  }

  .table-wrap td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero .record {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  .skip,
  .letterhead,
  .site-header,
  .toc,
  form,
  .site-footer,
  .photo-credit {
    display: none;
  }

  .hero::before,
  .bleed-band::before {
    display: none;
  }

  body,
  .hero,
  .bleed-band,
  .hero p,
  .bleed-band p,
  .hero h1,
  .bleed-band h2 {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}
