:root {
  --paper: #f3efe6;
  --paper-deep: #e7e1d4;
  --ink: #1c1915;
  --muted: #5f584e;
  --line: #d8d0c2;
  --accent: #c4623a;
  --accent-deep: #8d3d24;
  --max: 72rem;
  --measure: 40rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.72;
}

.mark {
  width: 2.15rem;
  height: auto;
  flex: none;
  color: var(--paper);
}

.mark rect:last-child {
  fill: currentColor;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: rgba(243, 239, 230, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--paper);
}

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 1.25rem 0 4.25rem;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0 0 2rem;
  list-style: none;
  border-bottom: 1px solid rgba(243, 239, 230, 0.14);
}

.proof strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640;
  font-size: clamp(2.4rem, 6.2vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.proof span {
  display: block;
  max-width: 16ch;
  margin-top: 0.55rem;
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.95rem;
}

h1,
h2,
.legal h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  max-width: 22ch;
  margin: 1.6rem 0 0;
  font-size: clamp(2.05rem, 4vw, 3.15rem);
}

.lede {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  color: rgba(243, 239, 230, 0.78);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 500;
}

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

.button-line {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(243, 239, 230, 0.45);
}

.button-line:hover {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--paper);
}

.cta {
  margin-top: 1.35rem;
}

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

.cta .button:hover {
  background: var(--accent-deep);
  color: var(--paper);
}

.cta .button-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.cta .button-line:hover {
  background: transparent;
  color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px var(--accent-deep);
}

.section {
  scroll-margin-top: 2.5rem;
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.intro {
  max-width: var(--measure);
  margin: 0 0 2rem;
  color: var(--muted);
}

.vchart {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 36rem;
  align-items: start;
}

.vplot {
  position: relative;
  height: 14rem;
  border-bottom: 1px solid var(--line);
}

.vfill {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(4.5rem, 72%);
  height: var(--level);
  border-radius: 0.45rem 0.45rem 0 0;
  transform: translateX(-50%);
  transform-origin: bottom center;
}

.js .vfill {
  transform: translateX(-50%) scaleY(0);
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .is-in .vfill {
  transform: translateX(-50%) scaleY(1);
}

.vbar:nth-child(2) .vfill {
  transition-delay: 0.12s;
}

.vbar:nth-child(3) .vfill {
  transition-delay: 0.24s;
}

.vfill-a {
  background: var(--ink);
}

.vfill-b {
  background: var(--accent-deep);
}

.vfill-c {
  background: var(--accent);
}

.vbar strong {
  display: block;
  margin-top: 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.vbar span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.activity {
  margin: 2.5rem 0 0;
  max-width: 22rem;
}

.activity img {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
}

.activity figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.js .rise {
  opacity: 0;
  transform: translateY(18px);
}

.js .rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js .vfill {
    transform: translateX(-50%);
    transition: none;
  }

  .js .rise {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

.chart-note {
  max-width: var(--measure);
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding-top: 0.9rem;
  border-top: 2px solid var(--ink);
}

.timeline li:nth-child(2) {
  border-color: #8a8175;
}

.timeline li:nth-child(3) {
  border-color: var(--accent-deep);
}

.timeline li:nth-child(4) {
  border-color: var(--accent);
}

.timeline span {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.timeline p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.panel {
  background: var(--paper-deep);
  padding: 1.5rem 1.4rem 1.35rem;
}

.panel h3,
.service h3 {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.panel p,
.service p,
.record-copy p {
  margin: 0;
  color: var(--muted);
}

.moves {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.moves li + li {
  margin-top: 0.55rem;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.service {
  padding: 1.6rem 1.4rem 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.service:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.service:nth-child(even) {
  padding-left: 2rem;
}

.service span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.system {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.system li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.system li:not(:last-child)::after {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--accent);
}

.system li:last-child {
  color: var(--accent-deep);
}

.approach {
  max-width: 44rem;
}

.approach p {
  margin: 0;
  font-size: 1.2rem;
}

.record-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.byline {
  margin: -0.6rem 0 1.25rem;
  color: var(--muted);
}

.facts {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.award figure {
  margin: 0;
}

.award img {
  width: 100%;
  background: #111;
  border: 1px solid var(--line);
}

.award figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-line {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.contact-line a {
  color: var(--ink);
  text-decoration-thickness: 1px;
}

.contact-note {
  max-width: var(--measure);
  margin: 1rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  gap: 1.1rem;
}

.legal {
  padding: 3.5rem 0 4.5rem;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
}

.updated {
  margin: 0 0 2rem;
  color: var(--muted);
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.45rem;
}

.legal p,
.legal li {
  max-width: 40rem;
}

.legal ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.legal a {
  color: var(--accent-deep);
}

@media (max-width: 800px) {
  .proof,
  .timeline,
  .split,
  .services,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .proof {
    gap: 1.35rem;
  }

  .service:nth-child(odd),
  .service:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .site-header .wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
    gap: 0.35rem;
  }

  .system li {
    font-size: 1.1rem;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  h1 {
    font-size: 2rem;
  }
}
