@import url("/examples/going-solo/example-brand.css");
@font-face {
  font-family:"Letter Serif";
  font-display:swap;
  src:url('/fonts/InstrumentSerif-Regular.ttf');
}

html {
  scroll-padding-top:1rem;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:#1e1713;
  color:#f6eee5;
  font-family:system-ui,sans-serif;
  line-height:1.55;
}

a,summary {
  color:inherit;
  text-underline-offset:.24em;
}

a:focus-visible,summary:focus-visible {
  outline:3px solid #e88c42;
  outline-offset:4px;
}

.skip {
  position:absolute;
  top:-100px;
}

.skip:focus {
  top:4px;
  background:#fff;
  color:#201913;
}

header {
  padding:1rem max(5vw,1rem);
  border-bottom:1px solid #58463b;
  display:flex;
  justify-content:space-between;
}

header a:first-child {
  font-weight:700;
}

.lead,.notes,.sheet {
  width:min(100% - 2.5rem,52rem);
  margin:0 auto;
  padding:clamp(2rem,6vw,4.75rem) 0;
}

.kicker {
  font:600 .78rem/1.4 system-ui,sans-serif;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#d6b19d;
}

.lead h1,.sheet h1,.sheet h2,.notes h2 {
  font-family:'Letter Serif',Georgia,serif;
  line-height:1.04;
  letter-spacing:-.035em;
  font-weight:400;
  margin:.35em 0;
}

.lead h1 {
  font-size:clamp(3.4rem,8vw,6.5rem);
  max-width:12ch;
}

.lead h1 em {
  color:#ffc09c;
}

.lead>p:not(.kicker),.notes>p:not(.kicker) {
  max-width:61ch;
  font-size:1.1rem;
}

.lead nav {
  display:flex;
  gap:1.5rem;
  flex-wrap:wrap;
}

.sheet {
  background:#30231e;
  color:#f5eee7;
  padding:clamp(1.2rem,5vw,3.5rem);
  margin-block:1.5rem;
}

.sheet :is(h1,h2) {
  font-size:clamp(2.75rem,6vw,5rem);
}

.sheet .kicker {
  color:#f2b79a;
}

.original {
  color:#c3b2a8;
}

.original del {
  display:block;
}

.sheet>p {
  max-width:62ch;
}

.sheet figure {
  margin:2rem 0;
  border-block:1px solid #795e50;
  padding-block:1.4rem;
}

.sheet figcaption {
  font-weight:650;
}

.sheet small {
  display:block;
  font-weight:400;
}

.bar-row {
  display:grid;
  grid-template-columns:5rem minmax(0,1fr) 4.25rem;
  gap:.5rem;
  align-items:center;
  margin-top:1rem;
  font-size:.9rem;
}

.bar {
  width:var(--length);
  height:.75rem;
}

.gain {
  background:#83bda3;
}

.loss {
  background:#e68e76;
}

.bar-row strong {
  text-align:right;
}

.notes {
  border-top:1px solid #58463b;
}

.notes h2 {
  font-size:clamp(2.25rem,4vw,3.3rem);
}

summary {
  cursor:pointer;
  font-weight:650;
}

.records {
  list-style:none;
  padding:0;
}

.records li+li {
  border-top:1px solid #58463b;
}

.records a {
  padding:.8rem 0;
  display:grid;
  grid-template-columns:minmax(7rem,1fr) 2fr;
  gap:1rem;
}

.records span {
  color:#d6b19d;
}

table {
  width:100%;
  border-collapse:collapse;
  font-variant-numeric:tabular-nums;
}

caption {
  text-align:left;
  margin:1rem 0;
}

td,th {
  text-align:right;
  padding:.4rem .2rem;
  border-bottom:1px solid #71594c;
}

th:first-child {
  text-align:left;
}

th:target {
  background: #593725;
  outline: 2px solid #ffae79;
  outline-offset: -2px;
}
