:root {
  color-scheme: light;
  --ink: #211f1a;
  --muted: #5c5a53;
  --paper: #faf9f5;
  --dark: #191714;
  --accent: #ffbf85;
  --line: #d8d6cb;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration: underline; }
a:focus-visible, video:focus-visible, summary:focus-visible { outline: 3px solid #ec8b31; outline-offset: 4px; }
.wrap { width: min(1220px, 89%); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; background: white; color: black; padding: .5rem; z-index: 3; }
.skip:focus { top: .5rem; }
header, .hero, .resources { background: var(--dark); color: #faf7ee; }
nav, .brand, .navlinks, .actions, .button, .resource-links { display: flex; align-items: center; }
nav { min-height: 61px; justify-content: space-between; gap: 1rem; }
nav a, .button, .resource-links a, footer a { text-decoration: none; }
.brand { gap: 12px; font: 600 20px var(--serif); letter-spacing: -.5px; }
.orbit { position: relative; width: 22px; height: 22px; border: 1px solid var(--accent); border-radius: 50%; transform: rotate(-25deg); }
.orbit::after { content: ''; position: absolute; inset: 5px -5px; border: 1px solid var(--accent); border-radius: 50%; }
.navlinks { gap: clamp(16px, 3vw, 40px); font-size: .84rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid #45382c; }
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(80deg, rgba(20,15,12,.80), transparent 66%),
                    linear-gradient(0deg, rgba(17,13,11,.76), transparent 54%),
                    url('media/waterfront-guitar.jpg');
  background-position: 61% 52%;
  background-size: cover;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 73vh;
  min-height: clamp(410px, 73svh, 800px);
  padding-block: 56px clamp(56px, 6vh, 80px);
}
.hero-text { max-width: 650px; }
.kicker { margin: 0 0 14px; color: #8a4626; font-size: .70rem; font-weight: 700; text-transform: uppercase; letter-spacing: .165em; }
.hero .kicker, .resources .kicker { color: var(--accent); }
.hero .kicker { font-size: clamp(.94rem, 1.3vw, 1.2rem); letter-spacing: .1em; }
.signal { display: inline-block; vertical-align: middle; width: 25px; height: 1px; background: currentColor; margin-right: 7px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(72px, 8.6vw, 136px); letter-spacing: -.075em; line-height: 1.05; }
h1 em { color: #ffce9a; font-weight: 400; }
.paper-title { max-width: 550px; margin-top: 14px; font: 400 clamp(22px, 2.15vw, 34px)/1.18 var(--serif); text-wrap: balance; }
.authors { color: #e5dbce; font-size: .92rem; margin-top: 16px; }
.actions { gap: 11px; flex-wrap: wrap; margin-top: 29px; }
.button { width: fit-content; gap: 11px; min-height: 44px; padding: 9px 17px; border: 1px solid transparent; border-radius: 5px; font-size: .88rem; font-weight: 650; }
.primary { background: var(--accent); color: #24160e; }
.primary span { font-size: .73em; }
.secondary { border-color: #b39d88; background: #231c15aa; }
.still-label { position: absolute; bottom: 18px; right: 0; font-size: .69rem; color: #f1e4d5; }
.still-label span { display: inline-block; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; margin-right: 6px; }
.still-label b { margin: 0 4px; color: var(--accent); }
.section, .resources { padding-block: clamp(48px, 5.5vw, 82px); }
h2 { font-size: clamp(38px, 4vw, 62px); letter-spacing: -.056em; line-height: 1.06; text-wrap: balance; }
.intro { margin-top: 15px; max-width: 750px; color: var(--muted); }
.examples, .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2.2vw, 36px); margin-top: 29px; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #251f18; border-radius: 5px; }
figcaption { padding-top: 12px; }
h3 { font-size: 1.52rem; line-height: 1.2; letter-spacing: -.035em; }
figcaption p, .steps p { margin-top: 6px; color: var(--muted); font-size: .91rem; }
.text-link { display: inline-block; margin-top: 25px; font-size: .90rem; font-weight: 600; }
.method { background: #eeede6; }
.diagram { background: white; padding: clamp(7px, 1.6vw, 24px); margin-top: 28px; border: 1px solid var(--line); border-radius: 5px; }
.diagram img { width: 100%; height: auto; display: block; }
.steps > div { border-top: 1px solid #c6c3b6; padding-top: 17px; }
.results { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 8%; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-size: .76rem; font-weight: 550; vertical-align: bottom; }
th:not(:first-child), td { text-align: right; }
.ours { background: #f5e4ce; font-weight: 700; }
.resources h2 { font-size: clamp(34px, 3vw, 50px); }
.resource-links { flex-wrap: wrap; gap: 10px 26px; margin: 23px 0; }
.resource-links a { color: var(--accent); }
details { padding: 12px 0; border-block: 1px solid #514a3f; }
summary { cursor: pointer; width: fit-content; }
pre { overflow: auto; font-size: .84rem; }
footer { padding-top: 23px; font-size: .83rem; color: #ddd6c9; }
@media (max-width: 720px) {
  .wrap { width: 90%; }
  .examples, .steps, .results { grid-template-columns: 1fr; gap: 26px; }
  .hero-art {
    background-image: linear-gradient(0deg, rgba(20,15,12,.93) 0%, rgba(20,15,12,.74) 28%, transparent 67%),
                      url('media/waterfront-guitar.jpg');
    background-position: 68% center;
  }
  .hero-inner { padding-block: clamp(185px, 28vh, 300px) 48px; }
  .hero-text { max-width: 480px; }
  .paper-title { max-width: 390px; }
  .still-label { bottom: 12px; }
  .actions { margin-top: 21px; }
}
@media (max-width: 380px) {
  .navlinks { gap: 12px; font-size: .77rem; }
  h1 { font-size: 65px; }
  .button { padding-inline: 12px; font-size: .80rem; }
}
