/* Front Range Hair Notes */
:root {
  --paper: #f6efe6;
  --paper-deep: #ecdfcf;
  --ink: #2a1c22;
  --ink-soft: #5e4a52;
  --plum: #5a2648;
  --clay: #b9582f;
  --sage: #6f8064;
  --rule: #d8c6b2;
  --display: "Rozha One", Georgia, serif;
  --text: "Lexend Deca", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 300;
}
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; color: var(--plum); }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 2.2em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .3em; color: var(--ink); }

.frame { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* top band */
.topband { border-bottom: 3px double var(--rule); background: var(--paper); }
.topband .frame { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-top: 18px; padding-bottom: 14px; }
.wordmark { font-family: var(--display); font-size: 1.45rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.wordmark em { font-style: normal; color: var(--clay); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .9rem; }
.tabs a { color: var(--ink-soft); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.tabs a:hover, .tabs a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--clay); }

/* opening */
.opening { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: 48px 0 24px; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sage); font-weight: 500; margin: 0 0 .8em; }
.standfirst { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.opening svg { width: 100%; height: auto; max-width: 420px; justify-self: center; }

.plainnote { border-left: 4px solid var(--clay); background: var(--paper-deep); padding: 14px 18px; margin: 8px 0 32px; font-size: .97rem; }
.plainnote p { margin: 0; }

/* two-column sheet */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding-bottom: 56px; }
.sheet > article { min-width: 0; }
.sheet > article > :first-child { margin-top: 0; }
.glance { align-self: start; position: sticky; top: 20px; border: 1px solid var(--rule); border-radius: 2px; padding: 18px 18px 8px; background: #fbf7f2; font-size: .92rem; }
.glance h2 { font-size: 1.15rem; margin: 0 0 .6em; color: var(--ink); }
.glance dl { margin: 0; }
.glance dt { font-family: var(--display); font-size: 1.6rem; color: var(--clay); line-height: 1.1; }
.glance dd { margin: 2px 0 14px; color: var(--ink-soft); }
.glance ol { padding-left: 1.2em; margin: 0 0 12px; }

/* page header on inner pages */
.pagehead { padding: 44px 0 10px; max-width: 760px; }

/* chapter list */
.chapters { list-style: none; padding: 0; margin: 20px 0; counter-reset: ch; }
.chapters li { counter-increment: ch; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.chapters li::before { content: counter(ch, decimal-leading-zero); font-family: var(--display); font-size: 1.7rem; color: var(--clay); line-height: 1; }
.chapters a { font-family: var(--display); font-size: 1.25rem; text-decoration: none; }
.chapters p { margin: .2em 0 0; color: var(--ink-soft); }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: .55em 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 11px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

.terms { margin: 0; }
.terms dt { font-weight: 600; margin-top: 1.1em; color: var(--ink); }
.terms dd { margin: .2em 0 0; }

.aside-box { background: #fbf7f2; border: 1px dashed var(--clay); padding: 14px 18px; margin: 24px 0; }
.aside-box p:first-child { margin-top: 0; }
.aside-box p:last-child { margin-bottom: 0; }

.season { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.season section { border-top: 4px solid var(--sage); background: #fbf7f2; padding: 12px 16px 6px; }
.season section:nth-child(2) { border-top-color: var(--clay); }
.season section:nth-child(3) { border-top-color: var(--plum); }
.season h3 { margin-top: 0; }

.sources { font-size: .85rem; color: var(--ink-soft); border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 10px; }

/* footer */
.basefoot { border-top: 3px double var(--rule); padding: 24px 0 40px; font-size: .88rem; color: var(--ink-soft); }
.basefoot .frame { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.basefoot address { font-style: normal; }
.basefoot .label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); font-weight: 500; }

@media (max-width: 820px) {
  .opening { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; }
  .opening svg { max-width: 300px; }
  .sheet { grid-template-columns: 1fr; gap: 24px; }
  .glance { position: static; }
  .season { grid-template-columns: 1fr; }
}
