@font-face {
  font-family: Cormorant;
  src: url(/assets/display.woff2);
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(/assets/italic.woff2);
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Source;
  src: url(/assets/text.woff2);
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #193b57;
  --muted: #4c6374;
  --accent: #305b80;
  --paper: #faf8f3;
  --surface: #fffdf9;
  --line: #ccd9e0;
  --rose: #80545e;
  --serif: Cormorant, Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font:
    17px/1.5 Source,
    system-ui,
    sans-serif;
}
main {
  flex: 1;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 {
  font-size: clamp(3.1rem, 5.2vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
}
p + p {
  margin-top: 0.75em;
}
a,
.textbutton {
  color: var(--accent);
  text-underline-offset: 0.23em;
}
a:hover,
.textbutton:hover {
  color: var(--rose);
}
button,
.button {
  font:
    600 1rem Source,
    sans-serif;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: white;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  background: var(--accent);
  color: white;
}
.secondary {
  background: var(--surface);
  color: var(--ink);
}
.textbutton {
  background: none;
  border: none;
  padding: 0.4rem 0.1rem;
  text-decoration: underline;
  font-size: 1rem;
}
.textbutton:hover {
  background: none;
}
.wrap {
  max-width: 1296px;
  padding-inline: clamp(20px, 5vw, 80px);
  margin: auto;
}
.top,
.foot,
.brand,
.identity,
.section-line,
.chart-head,
.actions,
.switch {
  display: flex;
  align-items: center;
}
.top,
.foot,
.section-line,
.chart-head {
  justify-content: space-between;
  gap: 18px;
}
.top {
  min-height: 88px;
}
.brand {
  gap: 15px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.mark {
  font: 500 3.25rem/0.82 var(--serif);
  letter-spacing: -0.085em;
  border-right: 1px solid #abb8c0;
  padding-right: 18px;
}
.wordmark strong {
  font: 600 1.5rem/1.1 var(--serif);
  display: block;
}
.wordmark small {
  display: block;
  letter-spacing: 0.035em;
  margin-top: 3px;
  font-size: 0.77rem;
}
.identity,
.actions,
.switch {
  gap: 16px;
}
.sample,
.status {
  display: inline-flex;
  background: #edf1f3;
  color: #34546a;
  border: 1px solid #ccd9e0;
  border-radius: 4px;
  padding: 0.15rem 0.58rem;
  font-size: 0.83rem;
  white-space: nowrap;
}
.portal-id,
.meta,
.muted,
small {
  color: var(--muted);
}
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
nav {
  border-top: 1px solid var(--line);
}
.nav {
  display: flex;
  gap: 30px;
  overflow: auto;
}
.nav a {
  padding: 0.75rem 0.05rem 0.63rem;
  white-space: nowrap;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav a[aria-current] {
  color: var(--ink);
  border-color: var(--rose);
  font-weight: 600;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--rose);
  font-size: 0.73rem;
  margin-bottom: 9px;
}
.hero,
.art-panel {
  background-color: var(--paper);
  background-image:
    linear-gradient(
      90deg,
      #faf8f3 10%,
      rgba(250, 248, 243, 0.97) 32%,
      rgba(250, 248, 243, 0.42) 60%,
      rgba(250, 248, 243, 0.06)
    ),
    url(/assets/toile.webp);
  background-size: cover;
  background-position: center 59%;
}
.hero {
  border-bottom: 1px solid var(--line);
  padding: 36px 0 38px;
}
.hero-sub {
  margin-top: 12px;
  font-size: 1.08rem;
}
.hero-sub span {
  color: var(--rose);
  padding: 0 6px;
}
.content {
  padding-block: 32px 56px;
}
.section-line {
  flex-wrap: wrap;
}
.section-line .kicker {
  margin: 0;
}
.section-line .meta,
.card .section-line a {
  font-size: 0.9rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin: 15px 0 30px;
  padding-block: 17px;
}
.metrics > div {
  padding-inline: 24px;
  border-left: 1px solid var(--line);
}
.metrics > div:first-child {
  border: 0;
  padding-left: 0;
}
.metrics span,
.row small,
th small {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}
.metrics strong {
  display: block;
  font: 500 clamp(2.3rem, 3.6vw, 3.5rem)/1.18 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.035em;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-block: 22px;
}
.card,
.panel,
.tax-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: clamp(20px, 2.4vw, 34px);
  min-width: 0;
}
.card .section-line + h2 {
  margin: 10px 0 18px;
}
.card h2 {
  font-size: clamp(1.9rem, 2.55vw, 2.5rem);
}
.rows {
  margin-top: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.row > span:first-child {
  flex: 1;
  min-width: 0;
}
.row strong {
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.row small {
  margin-top: 3px;
}
.arrow {
  color: var(--rose);
}
.chart-head {
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}
.legend {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 4px 0 8px;
  background: var(--accent);
  border-radius: 1px;
}
.legend i + i {
  background: #ba9097;
}
.chart {
  width: 100%;
  display: block;
  margin-top: 18px;
}
.rbar {
  fill: var(--accent);
}
.ebar {
  fill: #ba9097;
}
.gridline {
  stroke: var(--line);
  stroke-width: 1;
  fill: none;
}
.axis {
  font:
    12px Source,
    sans-serif;
  fill: var(--muted);
}
details {
  margin-top: 10px;
  font-size: 0.88rem;
}
summary {
  cursor: pointer;
  color: var(--accent);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
td,
th {
  font-weight: 400;
  text-align: left;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
td:last-child {
  text-align: right;
}
th small {
  font-size: 0.82rem;
}
.entry {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: 52px;
}
.art-panel {
  background-image:
    linear-gradient(
      180deg,
      rgba(250, 248, 243, 0.96),
      rgba(250, 248, 243, 0.69) 49%,
      rgba(250, 248, 243, 0.04) 80%
    ),
    url(/assets/toile.webp);
  background-position: 58% center;
  min-height: 530px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: clamp(25px, 4vw, 55px);
}
.art-text p:last-child {
  margin-top: 18px;
}
.entry h1 {
  font-size: clamp(4rem, 6vw, 6.8rem);
}
.entry-form h2 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 3.4vw, 3.8rem);
}
.personas {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.personas button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 16px 4px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
.personas button:hover {
  background: #edf1f3;
}
.personas strong {
  font: 600 1.55rem var(--serif);
}
.personas small {
  display: block;
  font-weight: 400;
}
.personas b {
  color: var(--rose);
  font-size: 1.35rem;
}
.narrow {
  max-width: 860px;
}
.narrow .kicker {
  margin-top: 30px;
}
.narrow h1 + p,
.narrow .status {
  margin-top: 14px;
}
.panel,
.queuegroup,
.stack {
  margin-top: 22px;
}
.stack {
  display: grid;
  gap: 15px;
}
.stack button {
  justify-self: start;
}
.stack label {
  display: grid;
  gap: 4px;
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid #9badb9;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 3px;
  max-width: 100%;
}
textarea {
  min-height: 84px;
}
.switch {
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.doc a {
  font-size: 0.9rem;
}
.notice {
  background: #e6eee9;
  color: #284e3b;
  padding-block: 10px;
}
.error {
  color: #833f49;
  background: #f6e8e7;
  padding: 10px;
}
.empty {
  color: var(--muted);
  padding: 16px 0;
}
.foot {
  min-height: 75px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer {
  border-top: 1px solid var(--line);
}
:focus-visible {
  outline: 3px solid #976b45;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -10000px;
}
.skip:focus {
  left: 5px;
  top: 3px;
  background: white;
  z-index: 1;
}
@media (max-width: 800px) {
  .split,
  .entry {
    grid-template-columns: 1fr;
  }
  .entry {
    gap: 24px;
    padding-block: 24px;
  }
  .art-panel {
    min-height: 260px;
    background-position: center 60%;
  }
  .entry h1 {
    font-size: 3.6rem;
  }
  .art-text p:last-child {
    margin-top: 7px;
  }
  .hero {
    background-image:
      linear-gradient(
        90deg,
        var(--paper) 12%,
        rgba(250, 248, 243, 0.91) 48%,
        rgba(250, 248, 243, 0.45)
      ),
      url(/assets/toile.webp);
  }
  .nav {
    gap: 22px;
  }
  .identity {
    gap: 8px;
  }
  .metrics > div {
    padding-inline: 14px;
  }
  .chart {
    max-height: 245px;
  }
}
@media (max-width: 540px) {
  .top {
    min-height: 72px;
  }
  .mark {
    font-size: 2.55rem;
    padding-right: 10px;
  }
  .brand {
    gap: 9px;
  }
  .wordmark strong {
    font-size: 1.13rem;
  }
  .wordmark small {
    font-size: 0.65rem;
  }
  .identity {
    flex-direction: column;
    gap: 0;
    align-items: flex-end;
  }
  .sample {
    font-size: 0.7rem;
  }
  .portal-id,
  .identity .textbutton {
    font-size: 0.8rem;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }
  .metrics > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .metrics strong {
    font-size: 2.55rem;
  }
  .foot {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
  .section-line {
    gap: 8px;
  }
  .row {
    gap: 8px;
  }
  .row .arrow {
    display: none;
  }
  .hero {
    padding-block: 26px;
  }
  .hero-sub {
    font-size: 0.94rem;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .nav {
    gap: 18px;
  }
  .content {
    padding-block: 24px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .status {
    white-space: normal;
  }
  .switch {
    gap: 8px;
  }
}
