/* acervus.eu placeholder -- tokens from Brand Guidelines v1.0. Nothing outside this list. */
:root {
  --ink: #101215;
  --ground: #fbfbfa;
  --teal: #21c3a2;
  --teal-deep: #0e9e82;
  --body: #45484c;
  --muted: #6a6e73;
  --rule: #d5d6d8;
  --field: #e6e7e9;
  --panel: #f2f3f5;
  --tint: #d2f4eb;
  --warn: #e0a21b;
  --fail: #c1462f;

  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* M-NAV */
.nav {
  height: 56px;
  border-bottom: 1px solid var(--rule);
}

.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-mark svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-mark span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}

.mono-label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Statement section */
.statement {
  padding: 64px 0;
}

.statement .mono-label {
  margin: 0 0 16px;
  display: block;
}

h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: start;
}

.statement p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0;
}

.topology {
  width: 100%;
  max-width: 240px;
  height: auto;
  justify-self: end;
}

.topo-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--muted);
}

.topo-caption {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  fill: var(--muted);
}

/* Status band (ink) */
.status-band {
  background: var(--ink);
  color: var(--field);
  padding: 56px 0;
}

.status-band .mono-label {
  color: var(--teal);
  margin: 0 0 32px;
  display: block;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}

.status-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.5;
  border-top: 1px solid #2a2d31;
  padding-top: 16px;
}

.status-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 4px;
}

.status-dot--on {
  background: var(--teal);
}

.status-dot--off {
  background: #8e9296;
}

.status-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-item-label {
  letter-spacing: 0.1em;
  color: var(--field);
}

.status-item-value {
  color: #b6b9bc;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0;
}

.status-item-value a {
  color: var(--teal);
}

.status-note {
  margin: 32px 0 0;
  font-size: 13.5px;
  color: #8e9296;
  max-width: 62ch;
}

/* Sections: what it is / is not, contact */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
}

.section--contact {
  border-bottom: none;
}

.section .mono-label {
  margin: 0 0 24px;
  display: block;
}

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

.hairline-list li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
}

.hairline-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.section p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 0 12px;
}

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

/* Footer */
.footer {
  padding: 48px 0 64px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col .mono-label {
  margin: 0 0 12px;
  display: block;
}

.footer-col p {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.back-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 24px 0;
}

/* 404 */
.notfound {
  padding: 96px 0;
}

.notfound .mono-label {
  display: block;
  margin: 0 0 16px;
}

.notfound h1 {
  font-size: 34px;
  max-width: none;
}

.notfound p {
  max-width: 56ch;
  margin: 0 0 32px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 34px;
    max-width: none;
  }

  .status-list,
  .two-col,
  .footer-cols,
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .statement,
  .status-band,
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .topology {
    justify-self: center;
    margin: 40px auto 0;
  }
}
