@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfaf6;
  --linen: #f4f1ea;
  --rule: #e0dbd0;
  --ink: #1c1a17;
  --ink-2: #48443e;
  --ink-3: #6e6960;
  --brass: #7a5c24;
  --field: #211e19;
  --field-2: #2c2821;
  --field-rule: #453f34;
  --field-ink: #f4f1ea;
  --field-muted: #b5ad9e;
  --wash-sage: #e7ede3;
  --wash-sand: #efe7d7;
  --wash-clay: #efe3db;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --gap: clamp(4rem, 9vw, 7.5rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
p, ul, dl, address { margin: 0 0 1rem; }
address { font-style: normal; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  text-underline-offset: 0.22em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--brass); }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; color: var(--paper); }

/* Header */

.site-header { border-bottom: 1px solid var(--rule); }
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
}
.wordmark:hover { color: inherit; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* Type */

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .num { color: var(--brass); margin-right: 0.75em; }

.display { font-size: clamp(3rem, 9.4vw, 7.75rem); line-height: 0.98; letter-spacing: -0.03em; }
.page-title { font-size: clamp(2.75rem, 7.5vw, 5.75rem); line-height: 1; letter-spacing: -0.028em; }
.lede {
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.muted { color: var(--ink-2); }
.nowrap { white-space: nowrap; }

/* Buttons */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg, .arrow svg { width: 0.85em; height: 0.85em; flex: none; transition: transform 0.15s ease; }
.btn:hover svg, .arrow:hover svg { transform: translate(2px, 0); }
.btn:hover svg.out, .arrow:hover svg.out { transform: translate(2px, -2px); }

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

/* Hero */

.hero { padding-top: clamp(3.5rem, 9vw, 7.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-body { margin-top: clamp(2rem, 4vw, 3.5rem); max-width: 40rem; }
.hero-body p:last-of-type { margin-bottom: 0; }
.hero-body .lede + p { margin-top: 1.25rem; }

.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
}
.strip > div { padding: 1.25rem 1.25rem 1.25rem 0; border-bottom: 1px solid var(--rule); }
.strip dt { margin-bottom: 0.4rem; }
.strip dd { margin: 0; font-family: var(--serif); font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.01em; }

/* Sections */

.section { padding-top: var(--gap); }
.section:last-child, main > .section:last-of-type { padding-bottom: var(--gap); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.875rem); }
.section-body > :last-child { margin-bottom: 0; }
.prose { max-width: 40rem; }
.prose p { color: var(--ink-2); }
.prose p.lede { color: var(--ink); }
.prose h3 { font-size: 1.75rem; margin: 3rem 0 1rem; }
.prose > :last-child { margin-bottom: 0; }

/* Entries (what we do) */

.entries { border-top: 1px solid var(--ink); }
.entry { display: grid; gap: 0.75rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.entry h3 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.1; }
.entry p { margin: 0; color: var(--ink-2); max-width: 34rem; }
.entry .arrow { justify-self: start; margin-top: 0.5rem; }

/* Dark field */

.field { background: var(--field); color: var(--field-ink); margin-top: var(--gap); }
.field .wrap { padding-top: var(--gap); padding-bottom: var(--gap); }
.field .eyebrow { color: var(--field-muted); }
.field .eyebrow .num { color: #c9a868; }
.field h2.eyebrow { font-family: var(--sans); }
.field h3 { font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: 0.98; letter-spacing: -0.028em; margin-bottom: 1.75rem; }
.field p { color: #d8d2c6; max-width: 34rem; }
.field a:hover { color: #e3c88f; }
.field a:focus-visible { outline-color: var(--field-ink); }
.field .btn { background: var(--field-ink); border-color: var(--field-ink); color: var(--field); }
.field .btn:hover { background: #fff; border-color: #fff; color: var(--field); }
.field .btn.ghost { background: transparent; color: var(--field-ink); border-color: var(--field-rule); }
.field .btn.ghost:hover { background: transparent; border-color: var(--field-ink); color: var(--field-ink); }
.feature { display: grid; gap: 3rem; align-items: center; }

.plate {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem;
  border: 1px solid var(--field-rule);
  border-radius: 8px;
  background: var(--field-2);
}
.plate .eyebrow { margin: 0; display: flex; justify-content: space-between; gap: 1rem; }
.plate ul { margin: 0; padding: 0; list-style: none; }
.plate li {
  padding: 0.5rem 0 0.35rem;
  border-top: 1px solid var(--field-rule);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.plate li:last-child { border-bottom: 1px solid var(--field-rule); }

/* Wash cards */

.cards { display: grid; gap: 1rem; margin: 1.5rem 0 0; }
.card { display: flex; flex-direction: column; justify-content: space-between; min-height: 15rem; padding: 1.75rem; border-radius: 8px; background: var(--wash-sage); }
.card.sand { background: var(--wash-sand); }
.card.clay { background: var(--wash-clay); }
.card .eyebrow { color: var(--ink-2); }
.card h4 { font-size: clamp(2.75rem, 5vw, 3.75rem); margin-bottom: 0.75rem; }
.card p { margin: 0; color: var(--ink-2); }

.bands { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.bands li { padding: 1.5rem 0.75rem 1.5rem 0; }
.bands li + li { padding-left: clamp(0.75rem, 2.5vw, 2rem); border-left: 1px solid var(--rule); }
.bands .n { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.125rem, 6.5vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.bands .u { display: block; margin-top: 0.6rem; }

/* Ledger */

.ledger { margin: 0; border-top: 1px solid var(--ink); }
.ledger > div { display: grid; gap: 0.3rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.ledger dt, .strip dt, .bands .u {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ledger dt { padding-top: 0.3rem; }
.ledger dd { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.ledger address { margin: 0; }
.note { margin-top: 1.5rem; color: var(--ink-2); max-width: 40rem; }

/* Contact */

.big-link {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.big-address { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.015em; }

/* Footer */

.site-footer { background: var(--field); color: var(--field-muted); font-size: 0.9375rem; }
.site-footer .wrap { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-mark { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.025em; color: var(--field-ink); margin: 0; }
.site-footer p { margin: 0; line-height: 1.7; }
.site-footer strong { color: var(--field-ink); font-weight: 500; }
.site-footer a { color: var(--field-ink); }
.site-footer a:hover { color: #e3c88f; }
.site-footer a:focus-visible { outline-color: var(--field-ink); }
.site-footer ul { margin: 0; padding: 0; list-style: none; line-height: 1.9; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer .eyebrow { color: var(--field-muted); margin-bottom: 0.75rem; }
.footer-base { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--field-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }

/* Wider screens */

@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .ledger > div { grid-template-columns: 13rem 1fr; }
  .footer-grid { grid-template-columns: 1.1fr 1.5fr 0.6fr; }
  .footer-mark { grid-column: 1 / -1; }
}

@media (min-width: 60rem) {
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip > div { border-bottom: 0; }
  .strip > div + div { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .hero-split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .hero-split .hero-body { grid-column: 7 / -1; max-width: none; }
  .section.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .section.split > .section-head { grid-column: 1 / 5; margin-bottom: 0; }
  .section.split > .section-body { grid-column: 5 / -1; }
  .entry { grid-template-columns: 5fr 6fr; column-gap: 2rem; align-items: start; padding: 2.5rem 0; }
  .entry .arrow { grid-column: 2; }
  .feature { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .plate { justify-self: end; }
  .footer-grid { grid-template-columns: 1.7fr 1.2fr 1.4fr 0.7fr; }
  .footer-mark { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero > :nth-child(2) { animation-delay: 0.08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}

@media print {
  .site-nav, .skip, .actions { display: none; }
  .field, .site-footer { background: none; color: var(--ink); }
}

.hero-split > h1 { grid-column: 1 / -1; }
.site-footer p { overflow-wrap: anywhere; }
.site-footer .footer-mark { line-height: 1.05; font-size: clamp(1.875rem, 2.7vw, 2.375rem); }
.hero + .section { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
.card { justify-content: flex-start; min-height: 0; }
.card h4 { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

/* Hero image */

.hero-figure { margin: 0 auto clamp(2rem, 4vw, 3.5rem); }
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 60% 50%;
  border-radius: 2px;
  background: var(--wash-sand);
}
@media (min-width: 40rem) {
  .hero-figure img { aspect-ratio: 21 / 9; }
}

/* Logo plates and channel cards */

.plate.light { background: var(--linen); border-color: var(--linen); align-items: stretch; }
.plate.light .eyebrow { color: var(--ink-3); }
.plate img { display: block; width: 62%; height: auto; margin: 0 auto; }
.logo-panel { display: flex; align-items: center; justify-content: center; margin: 0 0 2.5rem; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border-radius: 8px; background: var(--linen); }
.logo-panel img { display: block; width: clamp(9rem, 22vw, 14rem); height: auto; }

.card h3 { margin-top: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 0.75rem; font-size: clamp(1.75rem, 2.5vw, 2.125rem); line-height: 1.08; }
.card.channel p { margin-bottom: 1.75rem; }
.card .links { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; justify-items: start; }
@media (min-width: 40rem) and (max-width: 59.99rem) {
  .cards:has(.channel) { grid-template-columns: 1fr; }
}
.plate img { align-self: center; flex: none; }

/* Inner-page banners */

.hero:has(+ .banner) { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.banner { margin-bottom: 0; }
@media (min-width: 40rem) {
  .banner img { aspect-ratio: 5 / 2; }
}
.banner + .section { padding-top: clamp(3rem, 6vw, 5rem); }

/* Over Their Lives dimension colours */

.card.body { background: #e07a5f; }
.card.body .eyebrow, .card.body p { color: var(--ink); }
.card.soul { background: #7b2869; }
.card.spirit { background: #3d5a80; }
.card.soul, .card.spirit { color: var(--paper); }
.card.soul .eyebrow, .card.soul p, .card.spirit .eyebrow, .card.spirit p { color: #f1ebe6; }

/* Channel cards with artwork */

.card.channel { padding: 0; overflow: hidden; }
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--linen); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.75rem 1.75rem; }
.card-body .eyebrow { margin-bottom: 0.6rem; }
.card.channel h3 { margin-top: 0; }
@media (min-width: 40rem) and (max-width: 59.99rem) {
  .card.channel { flex-direction: row; }
  .card.channel .card-img { width: 40%; align-self: stretch; }
}

/* Monogram */

.mono { display: block; flex: none; width: 2.25rem; height: 2.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.75rem; }
.footer-mark .mono { width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; }
.footer-mark span { display: block; }
.card-img { aspect-ratio: 4 / 3; }

@media (max-width: 30rem) {
  .site-nav { width: 100%; }
  .site-nav ul { flex-wrap: nowrap; justify-content: space-between; gap: 0.5rem; }
  .site-nav a { font-size: 0.875rem; }
}
