:root {
  --floor: #DFE2DE;
  --floor-2: #ECEEEA;
  --ink: #1D2B33;
  --ink-2: #4A5A63;
  --wood: #C99A5B;
  --brand: #6A4526;
  --mark: #F0C419;
  --white: #FFFFFF;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --pallet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Crect y='0' width='48' height='3' fill='%23C99A5B'/%3E%3Crect x='1' y='3' width='7' height='5' fill='%236A4526'/%3E%3Crect x='20.5' y='3' width='7' height='5' fill='%236A4526'/%3E%3Crect x='40' y='3' width='7' height='5' fill='%236A4526'/%3E%3Crect y='8' width='48' height='2.5' fill='%23B48548'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--floor);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--wood); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(3.4rem, 9vw, 7rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h3 { font-size: 1.75rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

.btn {
  display: inline-block;
  background: var(--mark);
  color: var(--ink);
  font-weight: 600;
  padding: .8em 1.4em;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: inset 0 -3px 0 rgba(29, 43, 51, .25);
}
.btn:hover { background: #F5D24A; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); padding: .55em 1em; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* Header */
.top { padding: 18px 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { width: 220px; }

/* Hero */
.hero { position: relative; padding: 48px 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: end; position: relative; z-index: 1; }
.hero-copy { padding-bottom: 96px; }
.lead { font-size: 1.25rem; max-width: 34em; color: var(--ink-2); margin-bottom: 1.6em; }

.ledger {
  margin: 0 0 -1px;
  background: var(--white);
  padding: 24px 24px 0;
  border-top: 6px solid var(--ink);
}
.ledger figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ledger-title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.ledger-note { font-size: .875rem; color: var(--ink-2); font-style: italic; }
.ledger-table { width: 100%; border-collapse: collapse; }
.ledger-table thead th { font-size: .8125rem; font-weight: 600; color: var(--ink-2); text-align: right; padding: 4px 0 6px 12px; border-bottom: 2px solid var(--ink); }
.ledger-table thead th:first-child { text-align: left; padding-left: 0; }
.ledger-table tbody th, .ledger-table td { padding: 14px 0 14px 12px; border-bottom: 1px solid var(--floor); vertical-align: bottom; }
.ledger-table tbody tr:last-child > * { border-bottom: 0; }
.ledger-table tbody th { font-weight: 500; text-align: left; padding-left: 0; }
.val { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack {
  display: block;
  width: 48px;
  height: calc(var(--n) * 12px);
  background: var(--pallet) bottom / 48px 12px repeat-y;
  transform-origin: bottom;
  animation: stack-up .7s cubic-bezier(.2, .8, .2, 1) both;
}
.ledger-table tr:nth-child(2) .stack { animation-delay: .12s; }
.ledger-table tr:nth-child(3) .stack { animation-delay: .24s; }
.ledger-table tr:nth-child(4) .stack { animation-delay: .36s; }
.neg .stack { opacity: .35; }
.neg .val { color: var(--brand); }
@keyframes stack-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.floor {
  height: 28px;
  background: repeating-linear-gradient(-45deg, var(--mark) 0 18px, var(--ink) 18px 36px);
}

/* Photo bands */
.band { display: block; background: var(--ink); }
.band img { width: 100%; height: clamp(220px, 38vw, 560px); object-fit: cover; }

/* Names */
.names { padding: 88px 0 24px; }
.names-in { display: grid; grid-template-columns: 1fr 480px; gap: 56px; align-items: center; }
.names p { font-size: 1.125rem; max-width: 36em; }
.names-img img { border-bottom: 6px solid var(--wood); }

/* Kinds */
.kinds { padding: 72px 0 0; }
.kind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.kind-list li { background: var(--white); padding: 24px 20px 20px; }
.kind-list svg { width: 100%; max-width: 150px; height: auto; margin-bottom: 16px; }
.kind-list h3 { margin-bottom: .25em; }
.kind-list p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.kind-own { background: transparent !important; box-shadow: inset 0 0 0 2px var(--wood); }

/* Areas */
.areas { padding: 64px 0 88px; }
.sub { color: var(--ink-2); margin-bottom: 28px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 3px solid var(--ink);
}
.tablist [role="tab"] {
  font: 600 1rem var(--body);
  color: var(--ink);
  background: var(--floor-2);
  border: 0;
  padding: .75em 1.2em;
  cursor: pointer;
  border-radius: 2px 2px 0 0;
}
.tablist [role="tab"]:hover { background: var(--white); }
.tablist [aria-selected="true"] { background: var(--ink); color: var(--white); }
.panel { background: var(--white); padding: 32px; max-width: 100%; }
.panel p { max-width: 38em; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--floor-2); padding: .35em .8em; font-size: .9375rem; border-left: 4px solid var(--wood); }

/* FAQ */
.faq { padding: 0 0 88px; }
details { border-top: 2px solid var(--ink); padding: 18px 0; }
details:last-of-type { border-bottom: 2px solid var(--ink); }
summary { font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style-position: outside; }
details p { margin: 12px 0 0; }

/* CTA */
.cta { background: var(--ink); color: var(--white); padding: 80px 0; }
.cta-in { max-width: 760px; }
.cta p { color: #C9D3D8; font-size: 1.125rem; margin-bottom: 1.6em; }

/* Footer */
.foot { padding: 48px 0 56px; font-size: .9375rem; color: var(--ink-2); }
.foot-logo img { width: 180px; margin-bottom: 12px; }
.foot-sites { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 16px 0 12px; padding-top: 14px; border-top: 1px solid currentColor; }
.foot-sites h2 { flex-basis: 100%; margin: 0 0 2px; font-size: .9375rem; font-weight: 600; font-family: inherit; }
.foot-sites a { font-weight: 600; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.fine { font-size: .8125rem; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 0; }
  .names-in { grid-template-columns: 1fr; gap: 32px; }
  .kind-list { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .logo img { width: 160px; }
  .ledger { padding: 18px 16px 0; }
  .ledger-table td:nth-child(2), .ledger-table th:nth-child(2) { display: none; }
  .ledger-table tbody th { font-size: .9375rem; }
  .val { font-size: 1.35rem; }
  .tablist [role="tab"] { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .stack { animation: none; }
}
