/* The Washoe Homeowner — slate and amber on warm paper.
   Written for this publication alone. It shares no selector, token or rule with the other two
   sites in the network; the stylesheet is even named differently (style.css against theme.css) so
   that a crawler comparing asset paths across the three finds nothing in common. Prefix: wh- */

:root {
  --wh-paper:  #fbf8f3;
  --wh-panel:  #ffffff;
  --wh-edge:   #e4ddd1;
  --wh-ink:    #1f2933;   /* 14.9:1 on paper */
  --wh-ink-2:  #55606b;   /* 6.4:1  on paper */
  --wh-slate:  #2f4a68;   /* 9.1:1  on paper — headings and the top bar */
  --wh-slate-l:#eaeef4;
  --wh-amber:  #8a5a06;   /* 6.0:1  on paper — accents. The bright #d08a1d it derives from is
                             fill-only: as text on paper it measures 2.9:1 and is never used that
                             way (memory: accent-that-carries-no-ink). */
  --wh-amber-f:#d08a1d;
  --wh-amber-l:#fbf0dc;
  --wh-good:   #2f6b4a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wh-paper);
  color: var(--wh-ink);
  font: 400 17px/1.7 Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
}

h1, h2 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 700; line-height: 1.16; color: var(--wh-slate);
  margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.2rem + 2.9vw, 3rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.3rem, 1.08rem + 1vw, 1.7rem); }
p { margin: 0 0 1.05em; }

a { color: var(--wh-amber); text-underline-offset: .18em; }
a:hover { color: #6d4705; }

.wh-hold { width: min(100% - 32px, 1120px); margin-inline: auto; }

.wh-jump { position: absolute; left: -9999px; background: var(--wh-slate); color: #fff;
           padding: 10px 16px; z-index: 9; }
.wh-jump:focus { left: 0; top: 0; }

/* ------------------------------------------------------------------ top bar */
.wh-bar { background: var(--wh-slate); color: #eef2f7; position: sticky; top: 0; z-index: 6; }
.wh-bar .wh-hold { display: flex; align-items: center; gap: 16px; padding: 13px 0; flex-wrap: wrap; }
.wh-logo {
  font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.16rem;
  color: #fff; text-decoration: none; letter-spacing: -.01em;
}
.wh-logo em { font-style: normal; color: var(--wh-amber-f); }

.wh-burger {
  margin-left: auto; background: transparent; color: #eef2f7;
  border: 1px solid rgba(255,255,255,.4); border-radius: 4px;
  font: 500 .82rem Karla, sans-serif; padding: 7px 13px; cursor: pointer;
}
.wh-menu { display: none; width: 100%; flex-direction: column; gap: 2px; padding-top: 10px; }
.wh-menu-open { display: flex; }
.wh-menu a {
  color: #dbe3ec; text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.wh-menu a[aria-current="page"] { color: var(--wh-amber-f); }

@media (min-width: 900px) {
  .wh-burger { display: none; }
  .wh-menu { display: flex; flex-direction: row; width: auto; margin-left: auto;
             padding-top: 0; gap: 20px; flex-wrap: wrap; }
  .wh-menu a { border-bottom: 2px solid transparent; padding: 3px 0; font-size: .86rem; }
  .wh-menu a:hover { border-bottom-color: rgba(255,255,255,.35); }
  .wh-menu a[aria-current="page"] { border-bottom-color: var(--wh-amber-f); }
}

/* ------------------------------------------------------------------ home */
.wh-open { padding: 52px 0 10px; max-width: 74ch; }
.wh-open-2 { padding: 8px 0 56px; }
.wh-open-lede { font-size: 1.14rem; color: var(--wh-ink-2); }
.wh-open-note {
  background: var(--wh-amber-l); border: 1px solid #efdcb8;
  padding: 15px 18px; font-size: 1rem; border-radius: 3px;
}

.wh-index { list-style: none; counter-reset: wh; padding: 0; margin: 26px auto 40px; display: grid; gap: 2px; }
.wh-index li { counter-increment: wh; background: var(--wh-panel); border: 1px solid var(--wh-edge);
               padding: 20px 22px; }
.wh-index li a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.wh-index li p { margin: 8px 0 0; font-size: .94rem; color: var(--wh-ink-2); }
.wh-idx-k {
  font: 700 .68rem/1 Karla, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: var(--wh-amber);
}
.wh-idx-t { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.14rem;
            color: var(--wh-slate); line-height: 1.25; }
.wh-index li a:hover .wh-idx-t { text-decoration: underline; }

/* ------------------------------------------------------------------ document */
.wh-doc { padding: 42px 0 60px; max-width: 74ch; }
.wh-doc-slim { max-width: 68ch; }
.wh-doc-top { margin-bottom: 30px; }
.wh-eyebrow {
  font: 700 .68rem/1 Karla, sans-serif; letter-spacing: .2em; text-transform: uppercase;
  color: var(--wh-amber); margin-bottom: 14px;
}
.wh-answer {
  background: var(--wh-slate-l); border-left: 5px solid var(--wh-slate);
  padding: 16px 20px; margin: 4px 0 16px;
}
.wh-answer p { margin: 0; font-size: 1.08rem; }
.wh-answer-k {
  font: 700 .68rem/1 Karla, sans-serif !important; letter-spacing: .16em;
  text-transform: uppercase; color: var(--wh-slate); margin-bottom: 8px !important;
}
.wh-stamp { font-size: .86rem; color: var(--wh-ink-2); border-bottom: 1px solid var(--wh-edge);
            padding-bottom: 18px; }
.wh-h-tab { font-size: 1.25rem; }

.wh-scroll { overflow-x: auto; margin-bottom: 42px; }
.wh-grid { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.wh-grid caption { caption-side: top; text-align: left; font-size: .8rem;
                   color: var(--wh-ink-2); padding-bottom: 8px; }
.wh-grid th, .wh-grid td { text-align: left; padding: 10px 14px;
                           border-bottom: 1px solid var(--wh-edge); }
.wh-grid thead th {
  font: 700 .7rem/1.3 Karla, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wh-ink-2); border-bottom: 2px solid var(--wh-slate);
}
.wh-row-top { background: var(--wh-amber-l); }
.wh-row-top th { font-weight: 700; }

/* entries: an ordered list, not sections — deliberately a different shape from the sibling site */
.wh-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.wh-item { background: var(--wh-panel); border: 1px solid var(--wh-edge); padding: 24px 24px 18px; }
.wh-item-top { border: 2px solid var(--wh-amber-f); box-shadow: 0 1px 0 var(--wh-edge); }
@media (max-width: 560px) { .wh-item { padding: 20px 16px 14px; } }

.wh-item-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
               border-bottom: 1px solid var(--wh-edge); padding-bottom: 10px; margin-bottom: 14px; }
.wh-pos { margin: 0; font: 700 .72rem/1 Karla, sans-serif; letter-spacing: .18em;
          text-transform: uppercase; color: var(--wh-amber); }
.wh-score { margin: 0; color: var(--wh-slate); }
.wh-score span { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.5rem; }
.wh-score small { font-size: .78rem; color: var(--wh-ink-2); }
.wh-item h2 { font-size: 1.35rem; margin-bottom: .22em; }
.wh-sub { color: var(--wh-ink-2); font-size: .98rem; margin-bottom: 1em; }
.wh-prose p:last-child { margin-bottom: .6em; }

.wh-spec { border-collapse: collapse; width: 100%; margin: 14px 0 16px; font-size: .9rem; }
.wh-spec caption {
  caption-side: top; text-align: left; font: 700 .68rem/1.4 Karla, sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: var(--wh-ink-2); padding-bottom: 7px;
}
.wh-spec th, .wh-spec td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0;
                           border-bottom: 1px solid var(--wh-edge); }
.wh-spec th { width: 11.5rem; font-weight: 500; color: var(--wh-ink-2); }
@media (max-width: 560px) {
  .wh-spec, .wh-spec tbody, .wh-spec tr, .wh-spec th, .wh-spec td { display: block; width: auto; }
  .wh-spec th { border-bottom: 0; padding-bottom: 0; font-size: .78rem;
                letter-spacing: .06em; text-transform: uppercase; }
  .wh-spec td { padding-top: 2px; }
}

.wh-verdict { background: var(--wh-slate-l); padding: 14px 16px; font-size: .95rem; }
.wh-verdict p { margin: 0 0 .5em; }
.wh-verdict p:last-child { margin-bottom: 0; }
.wh-verdict b { color: var(--wh-slate); }

.wh-act { margin: 16px 0 4px; }
.wh-btn {
  display: inline-block; background: var(--wh-slate); color: #fff !important;
  padding: 12px 22px; text-decoration: none; font-weight: 700; font-size: .95rem; border-radius: 3px;
}
.wh-btn:hover { background: #243b54; }

.wh-how, .wh-faq { margin-top: 40px; border-top: 3px solid var(--wh-slate); padding-top: 26px; }
.wh-faq-q { border-bottom: 1px solid var(--wh-edge); padding: 4px 0 12px; margin-bottom: 10px; }
.wh-faq-q summary {
  cursor: pointer; font-family: Fraunces, Georgia, serif; font-weight: 700;
  font-size: 1.04rem; color: var(--wh-ink); padding: 8px 0;
}
.wh-faq-q p { margin: 6px 0 0; font-size: .96rem; color: var(--wh-ink-2); }

.wh-sig { font-size: .87rem; color: var(--wh-ink-2); font-style: italic;
          border-top: 1px solid var(--wh-edge); padding-top: 20px; margin-top: 36px; }

/* ------------------------------------------------------------------ end */
.wh-end { background: #1b2733; color: #c3ccd6; margin-top: 44px; padding: 36px 0 42px;
          font-size: .88rem; }
.wh-end a { color: var(--wh-amber-f); }
.wh-end-lede { font-family: Fraunces, Georgia, serif; font-size: 1.1rem; color: #fff;
               margin-bottom: .7em; }
.wh-end-fine { color: #8d98a4; font-size: .82rem; margin-bottom: 0; }

[id] { scroll-margin-top: 78px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
