/* Virtus editorial modernism: warm paper, compact typographic hierarchy, marginalia, precise rules, no decorative motion. */
:root {
  --paper: #f2efe7;
  --ink: #1a1814;
  --soft: #5b564c;
  --rule: rgba(26, 24, 20, 0.18);
  --hair: rgba(26, 24, 20, 0.1);
  --brass: #8a6f3d;
  --brass-text: #755e33;
  --black: #000000;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 120ms linear, text-decoration-color 120ms linear;
}

a:hover {
  color: var(--brass-text);
  text-decoration-color: var(--brass-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  padding: 22px 0 18px;
  border-bottom: 2px solid var(--ink);
}

.brand-link {
  display: inline-block;
  flex: 0 0 auto;
  padding: 2px;
  background: var(--black);
  text-decoration: none;
}

.brand-lockup {
  width: auto;
  height: 34px;
}

.masthead-meta {
  margin: 0;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.42;
  text-align: right;
}

.masthead-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.site-nav {
  border-bottom: 1px solid var(--rule);
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 3.5vw, 38px);
  margin: 0;
  padding: 13px 0 12px;
  list-style: none;
}

.site-nav a {
  display: block;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.79rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 0.42em;
}

main {
  padding: 58px 0 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 64ch);
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}

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

.margin-note {
  margin: 0;
  padding-top: 0.52rem;
  border-top: 2px solid var(--brass);
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.48;
}

.margin-note strong {
  display: block;
  margin-bottom: 0.36rem;
  color: var(--ink);
  font-weight: 600;
}

.prose {
  min-width: 0;
  max-width: 64ch;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
p,
blockquote,
table,
ol {
  max-width: 64ch;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.65rem, 3.1vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: -0.012em;
}

h2,
h3 {
  margin: 2.45rem 0 0.72rem;
  font-size: 1.09rem;
  line-height: 1.35;
}

p {
  margin: 0 0 1.1rem;
}

.standfirst {
  margin-bottom: 1.7rem;
  color: var(--soft);
  font-size: 1.06rem;
}

.opening::first-letter {
  float: left;
  margin: 0.07em 0.11em 0 0;
  color: var(--ink);
  font-size: 3.35rem;
  font-weight: 600;
  line-height: 0.82;
}

.movement {
  padding-top: 2.2rem;
  border-top: 1px solid var(--hair);
}

.movement:first-child {
  padding-top: 0;
  border-top: 0;
}

blockquote {
  margin: 2rem 0;
  padding: 0.12rem 0 0.12rem 1.15rem;
  border-left: 2px solid var(--brass);
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.55;
}

blockquote p {
  margin: 0;
}

.footnote-ref {
  color: var(--brass-text);
  font-family: var(--sans);
  font-size: 0.72em;
  font-weight: 600;
  text-decoration: none;
}

.footnotes {
  margin-top: 2.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.55;
}

.footnotes h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
}

.footnotes ol {
  margin: 0;
  padding-left: 1.2rem;
}

.footnotes li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

.table-wrap {
  width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--rule);
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
}

caption {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--rule);
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: left;
}

th,
td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
  overflow-wrap: anywhere;
  text-align: left;
}

th {
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

.team-entry,
.product-block {
  padding: 1.35rem 0;
  border-top: 1px solid var(--hair);
}

.team-entry:first-child,
.product-block:first-child {
  border-top-color: var(--rule);
}

.team-entry h2,
.product-block h2 {
  margin: 0 0 0.15rem;
}

.team-role,
.product-label {
  margin: 0 0 0.75rem;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.team-contact {
  margin: 0.65rem 0 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.loading-note {
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.8rem;
}

.field {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(26, 24, 20, 0.48);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 44px;
  padding: 0.55rem 0.12rem;
}

textarea {
  min-height: 190px;
  padding: 0.65rem 0.12rem;
  border-top: 1px solid var(--hair);
  resize: vertical;
}

.contact-line {
  padding: 0.72rem 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-family: var(--sans);
  font-size: 0.8rem;
}

.field-error,
.form-status {
  margin: 0.38rem 0 0;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.45;
}

.field-error:not(:empty),
.form-status[data-state="error"] {
  padding-left: 0.6rem;
  border-left: 2px solid var(--brass);
  color: var(--ink);
}

button {
  min-height: 44px;
  padding: 0.62rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.79rem;
  font-weight: 600;
  transition: background-color 120ms linear, color 120ms linear;
}

button:hover {
  background: var(--ink);
  color: var(--paper);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 2px solid var(--ink);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 170px));
  gap: 10px 48px;
  margin-bottom: 32px;
  font-family: var(--sans);
  font-size: 0.77rem;
}

.footer-links a {
  width: fit-content;
}

.compliance {
  max-width: 64ch;
  margin-bottom: 1.35rem;
  color: var(--soft);
  font-size: 1rem;
}

.copyright {
  margin: 0;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.74rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 859px) {
  .site {
    width: min(100% - 32px, 720px);
  }

  main {
    padding-top: 42px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 64ch);
    gap: 13px;
    margin-bottom: 44px;
  }

  .margin-note {
    padding: 0.25rem 0 0.25rem 0.8rem;
    border-top: 0;
    border-left: 2px solid var(--brass);
  }

  .margin-note strong {
    display: inline;
    margin-right: 0.4rem;
  }
}

@media (max-width: 520px) {
  .site {
    width: min(100% - 28px, 480px);
  }

  .masthead {
    min-height: 82px;
    gap: 12px;
  }

  .masthead-meta {
    font-size: 0.68rem;
  }

  .site-nav ul {
    justify-content: space-between;
    gap: 6px;
  }

  .site-nav a {
    font-size: 0.68rem;
  }

  main {
    padding: 34px 0 58px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
  }

  th,
  td {
    padding: 0.62rem;
  }
}

@media print {
  .site {
    width: 100%;
  }

  .site-nav {
    display: none;
  }

  a {
    text-decoration: none;
  }
}
