@font-face {
  font-family: "Source Sans";
  src: url("/source-sans.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}
:root {
  --denim: #203e53;
  --footer: #1c3445;
  --ink: #213743;
  --body: #354c57;
  --muted: #4d6069;
  --paper: #fffdf9;
  --tint: #eef3f4;
  --line: #bccacf;
  --brick: #a33f25;
  --hero: #e4eef0;
  --gutter: clamp(1.3rem, 5.5vw, 6.5rem);
  --page: 79rem;
  --sans: "Source Sans", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1.075rem/1.52 var(--sans); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.032em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 4.8vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.95rem, 3vw, 2.7rem); line-height: 1.1; }
p { color: var(--body); }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #347ab1; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 5; background: white; padding: .6rem 1rem; }
.skip:focus { top: .4rem; }
[hidden] { display: none !important; }
.masthead { background: var(--paper); border-bottom: 1px solid #cbd6d8; }
.masthead-inner, .footer-inner {
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: auto; padding: 1.05rem var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--denim); font: 750 1.42rem/.96 var(--sans); letter-spacing: -.035em; }
.brand-symbol { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; background: var(--brick); border-radius: .38rem; flex: none; }
.brand-symbol i { position: relative; display: block; width: 1.16rem; height: .79rem; border: 2px solid #ffffff; border-top: 0; margin-top: .48rem; }
.brand-symbol i::before { content: ""; position: absolute; width: .95rem; height: .95rem; border-top: 2px solid #ffffff; border-left: 2px solid #ffffff; transform: rotate(45deg); left: -.11rem; top: -.42rem; }
.brand-symbol i::after { content: ""; position: absolute; height: .43rem; width: .19rem; bottom: 0; left: .36rem; background: #ffffff; }
.masthead nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.masthead nav a, .site-footer nav a { font-size: 1rem; font-weight: 600; text-decoration: none; }
.masthead nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.nav-tool { border: 1px solid #71818a; border-radius: .28rem; padding: .52rem 1rem; }
.nav-tool span { margin-left: .55rem; }
.hero { background: var(--hero); color: var(--denim); display: grid; grid-template-columns: 1fr 1fr; }
.hero-copy {
  align-self: center; width: 100%; max-width: calc(var(--page) / 2 + var(--gutter)); justify-self: end;
  padding: clamp(2.8rem, 4.9vw, 5.2rem) clamp(1.8rem, 4.5vw, 4rem) clamp(2.8rem, 4.9vw, 5.2rem) var(--gutter);
}
.hero h1 { max-width: 10.5em; font-weight: 750; }
.hero-copy p { color: var(--body); max-width: 41ch; margin: 1.1rem 0 1.35rem; font-size: clamp(1.12rem, 1.4vw, 1.28rem); line-height: 1.48; }
.hero-copy small { display: block; color: var(--muted); margin-top: .8rem; font-size: .92rem; }
.hero-photo { display: block; min-height: 100%; position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 56% 54%; }
.button, .secondary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; border: 1px solid transparent; border-radius: .32rem; padding: .8rem 1.2rem; font-weight: 650; text-decoration: none; line-height: 1.25; }
.button { background: var(--brick); color: white; }
.button:hover { background: #82321d; }
.hero-action span, .inline-action span { font-size: 1.2em; }
.spread { width: min(100%, calc(var(--page) + 2 * var(--gutter))); margin: auto; padding: clamp(2.5rem, 4.8vw, 4.7rem) var(--gutter); display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); gap: clamp(2.2rem, 7.8vw, 8rem); }
.section-intro p { margin-top: 1.1rem; max-width: 33ch; font-size: 1.14rem; }
.guide-list { border-top: 2px solid #718994; }
.guide-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1.1rem 0 1.18rem; text-decoration: none; }
.guide-list strong { display: block; font: 650 clamp(1.27rem,1.8vw,1.6rem)/1.22 var(--sans); letter-spacing: -.015em; }
.guide-list small { display: block; margin-top: .3rem; color: var(--muted); font-size: 1rem; }
.guide-list b { font-size: 1.25rem; font-weight: 400; padding: .2rem; }
.guide-list a:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.example-band { background: var(--tint); }
.inline-action { display: inline-flex; align-items: baseline; gap: .55rem; font-weight: 650; margin-top: 1.25rem; }
.sample { background: var(--paper); padding: clamp(1.25rem,3.5vw,2.8rem); border-top: 3px solid var(--denim); }
.sample h3 { display:flex; align-items:baseline; flex-wrap:wrap; gap:.8rem; font-size: 1.8rem; }
.sample h3 span { font: 600 .95rem/1.3 "Source Sans",Arial,sans-serif; letter-spacing: normal; color: var(--muted); }
.sample dl, .result-sheet dl { margin: 1.1rem 0; }
.sample dl div, .result-sheet dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
dd { font-variant-numeric: tabular-nums; font-weight: 600; }
.sample .sum { border: 0; padding: .95rem 0 0; }
.sum dd { font: 700 clamp(2rem,3vw,2.7rem)/1 var(--sans); letter-spacing: -.05em; }
.sample small, .micro { color: var(--muted); font-size: .93rem; }
.about-text p + p { margin-top: 1rem; }
.source-links { display:flex; flex-wrap:wrap; column-gap:1.6rem; row-gap:.5rem; margin-top:1.2rem; }
.source-links a { font-weight: 600; font-size:.98rem; }
.site-footer { color: var(--paper); background: var(--footer); }
.footer-inner { padding-top: 2.35rem; padding-bottom: 2.35rem; align-items: flex-start; }
.footer-name { font: 700 1.5rem/1.2 var(--sans); text-decoration: none; }
.footer-inner p { color:#dae3e7; margin-top:.6rem; max-width:56ch; font-size:.96rem; }
.footer-inner nav { margin-top: .2rem; }
.calculator-shell, .reading { width:min(100%,calc(var(--page) + 2 * var(--gutter))); margin:auto; padding: clamp(2.5rem,5vw,5rem) var(--gutter); }
.tool-intro { max-width: 46rem; }
.tool-intro h1, .reading h1 { font-size: clamp(2.45rem,4.1vw,3.65rem); }
.intro { font-size:clamp(1.14rem,1.6vw,1.37rem); margin-top:1rem; line-height:1.46; }
.tool-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:clamp(1.8rem,6vw,6.4rem); align-items:start; margin-top:2.6rem; }
form { border-top:2px solid var(--denim); padding:1.25rem 0 0; }
fieldset { border:0; padding:0; margin:0 0 1.2rem; }
legend { font:700 1.45rem/1.2 var(--sans); margin-bottom:.6rem; }
label { display:block; font-weight:600; margin:.85rem 0 .35rem; }
.radio { display:flex; align-items:center; gap:.65rem; margin:.4rem 0; font-weight:400; }
input[type=radio] { width:1.12rem; height:1.12rem; margin:0; accent-color:var(--denim); }
input[type=number] { display:block; width:100%; border:1px solid #81949b; border-radius:1px; min-height:46px; padding:.45rem .8rem; color:var(--ink); background:#fff; font-variant-numeric:tabular-nums; }
.input-hint { max-width: 54ch; margin: .3rem 0 .7rem; font-size: 1rem; }
.result-note { margin-top: .8rem; color: inherit; font-size: .99rem; }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: .8rem; }
form .button { margin-top:1.4rem; }
#error { color:#8e3020; margin-top:.45rem; }
.result-sheet { color:var(--paper); background:var(--denim); padding:clamp(1.5rem,3vw,2.9rem); }
.result-sheet h2, .method h2 { font-size:2.1rem; }
.result-sheet dl div { border-color:#78939e; }
.total span { display:block; color:#e9f1f4; }
.total strong { display:block; font:700 clamp(2rem,3.6vw,3.5rem)/1.12 var(--sans); letter-spacing:-.045em; overflow-wrap:anywhere; }
.secondary { background:transparent; border-color:#cadadd; color:inherit; margin-top:1.45rem; }
.secondary:hover { background:#2c526b; }
.method { max-width:50rem; margin:3.5rem 0 0; padding-top:1.75rem; border-top:1px solid var(--line); }
.method p, .method a { display:block; margin-top:.75rem; }
.reading { max-width:53rem; padding-inline:clamp(1.3rem,5vw,4rem); }
.backlink { display:inline-block; color:var(--muted); font-weight:600; margin-bottom:2rem; }
.reading .intro { padding-bottom:1.9rem; margin-bottom:2rem; border-bottom:1px solid var(--line); }
.reading h2 { font-size:clamp(1.55rem,2.5vw,2rem); margin:1.9rem 0 .7rem; }
.reading > p { font-size:1.14rem; line-height:1.62; }
.reading-tool { background:var(--tint); border-left:3px solid var(--denim); padding:1.2rem 1.65rem; margin:2.4rem 0; }
.reading-tool h2 { font-size:1.65rem; margin:0 0 .55rem; }
.reading-tool .inline-action { margin-top:.65rem; }
.reading ul { padding-inline-start:1.25rem; }
.reading li + li { margin-top:.55rem; }
.top,.notice,.section.soft { padding:1rem var(--gutter); }
.top { display:flex; justify-content:space-between; }
@media (max-width: 760px) {
  .masthead-inner { padding-block:.85rem; }
  .brand { font-size:1.13rem; gap:.5rem; }
  .brand-symbol { width:2.15rem; height:2.15rem; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { max-width:none; padding:2.25rem var(--gutter) 1.9rem; }
  .hero h1 { max-width:12em; font-size:clamp(2.45rem,8.2vw,3.7rem); }
  .hero-copy p { margin:.95rem 0 1.25rem; max-width:46ch; }
  .hero-photo { min-height:0; height:clamp(12rem,49vw,20rem); }
  .hero-photo img { object-position:50% 55%; }
  .spread,.tool-layout { grid-template-columns:1fr; gap:1.55rem; }
  .section-intro p { max-width:45ch; margin-top:.65rem; }
  .footer-inner { flex-wrap:wrap; }
}
@media (max-width: 490px) {
  .masthead-inner { gap:.65rem; }
  .masthead nav { gap:.9rem; }
  .masthead nav a { font-size:.95rem; }
  .masthead nav a { display:inline-flex; align-items:center; min-height:44px; }
  .nav-tool { border:0; padding:0; }
  .nav-tool span { display:none; }
  .guide-list a { padding:1rem 0; }
}
@media (max-width: 355px) {
  .brand-symbol { display:none; }
  .masthead nav { gap:.65rem; }
}
@media print {
  .masthead,.site-footer,.top,footer,.notice,.button,.secondary,.skip,.section.soft,.backlink { display:none !important; }
  body { background:white; color:black; font-size:11pt; }
  .tool-layout { display:block; }
  .calculator-shell,.reading { max-width:none; padding:0; }
  .result-sheet { margin-top:1rem; color:black; background:white; border:1px solid #555; break-inside:avoid; }
  .total span,.result-sheet dt { color:black; }
  .method { margin-top:1rem; }
  .hero,.example-band { color:black; background:white; }
  .hero-copy p,.hero-copy small { color:black; }
}
