:root {
  color-scheme: light;
  --paper: #f2f3ee;
  --ink: #142f3b;
  --sea: #174d61;
  --slate: #4b626a;
  --rule: #b9c6c5;
  --yellow: #f3ea69;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #1175a2; outline-offset: 5px; }
.hero a:focus-visible, footer a:focus-visible { outline-color: white; }
.skip { position: fixed; top: -10rem; left: 1rem; z-index: 10; background: var(--yellow); padding: 12px; }
.skip:focus { top: 12px; }
.shell { width: min(1200px, calc(100% - clamp(40px, 7vw, 96px))); margin: 0 auto; }
.mast { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.74rem; font-weight: 690; letter-spacing: -.065em; text-decoration: none; line-height: 1; white-space: nowrap; }
.brand-icon { position: relative; width: 32px; height: 31px; display: inline-flex; align-items: flex-start; justify-content: center; gap: 3px; overflow: hidden; }
.brand-icon i { display: block; width: 5px; height: 27px; background: currentColor; transform: skew(-19deg); }
.brand-icon i:first-child { margin-top: 10px; height: 17px; }
.brand-icon i:nth-child(2) { margin-top: 5px; height: 22px; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 42px); }
nav a, footer > a { font-size: .93rem; font-weight: 560; text-decoration: none; padding: 8px 0; }
nav a:hover, footer > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { isolation: isolate; position: relative; overflow: hidden; min-height: clamp(480px, 40.9vw, 596px); padding: clamp(37px, 5.3vw, 77px) clamp(27px, 5.4vw, 77px) 48px; background: #294851; color: #fcfff9; display: grid; align-items: center; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image { background: url('./assets/rainfield.webp') center 51% / cover no-repeat; }
.hero-shade { background: linear-gradient(90deg,rgba(6,24,35,.86) 0%,rgba(8,30,40,.77) 24%,rgba(8,29,41,.46) 50%,rgba(8,35,48,.06) 78%),linear-gradient(0deg,rgba(5,22,32,.24),transparent 28%); }
.hero-copy { max-width: 43rem; }
.tag, .eyebrow, .strip, .hero-caption, .readout-head, .sample-label, .figcaption, .note-time { font: 500 .77rem/1.45 var(--mono); }
.tag, .eyebrow, .readout-head { text-transform: uppercase; letter-spacing: .12em; }
.tag { color: var(--yellow); display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.yellow-line { height: 2px; width: 32px; background: currentColor; flex: none; }
h1 { font-size: clamp(5.15rem, 8.45vw, 8.75rem); letter-spacing: -.073em; font-weight: 510; line-height: .84; margin: 0 0 28px; }
h1 em { font-family: "Instrument Serif", "Baskerville", Georgia, serif; font-weight: 400; letter-spacing: -.052em; display: inline-block; padding-right: .12em; }
.dek { max-width: 34rem; text-wrap: pretty; font-size: clamp(1.03rem, 1.38vw, 1.32rem); line-height: 1.47; margin: 0 0 29px; }
.cta { display: inline-block; padding: 14px 22px; font-size: .97rem; font-weight: 650; text-decoration: none; background: var(--yellow); color: #18323b; }
.cta:hover { background: #fff78c; }
.hero-caption { position: absolute; right: 21px; bottom: 20px; color: #f6faf9; display: flex; align-items: center; gap: 8px; background: #18303ba6; padding: 5px 8px; font-size: .75rem; }
.hero-trace { position: absolute; inset: auto 0 0; width: 100%; height: 48px; pointer-events: none; }
.hero-trace polyline, .hero-trace line { fill: none; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.hero-trace polyline { stroke: #e0f5ec; }
.hero-trace line { stroke: var(--yellow); }
.hero-caption { bottom: 53px; }
.aperture { box-sizing: content-box; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 2px #324953; background: currentColor; }
.strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--rule); color: var(--slate); }
.strip > span:first-child { display: flex; align-items: center; gap: 9px; }
.strip .concept { margin-left: auto; }
.slant { width: 26px; height: 9px; background: repeating-linear-gradient(112deg,transparent 0 3px,currentColor 3px 4px); }
.section { margin-inline: auto; scroll-margin-top: 1.5rem; padding-block: clamp(55px, 6.3vw, 101px); }
.intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 50px; margin-bottom: 29px; }
.eyebrow { margin: 0 0 10px; font-weight: 650; color: #49616a; }
h2 { margin: 0; font-size: clamp(2.9rem, 5.1vw, 5.05rem); line-height: .98; letter-spacing: -.07em; font-weight: 535; }
h2 > span { color: #488194; }
.intro > p, .notes-heading > p:last-child, .guide-columns p, .note-list p { font-size: 1.045rem; line-height: 1.55; color: #425862; text-wrap: pretty; }
.intro > p { margin: 0 0 1px; max-width: 34.5rem; }
.operation, .calculation p:not(.eyebrow), .scope-note { color: #425862; font-size: 1.045rem; line-height: 1.55; text-wrap: pretty; }
.operation { border-top: 1px solid var(--rule); margin: 0; padding: 16px 0 20px; max-width: 78ch; }
.calculation { display: grid; grid-template-columns: minmax(190px,.7fr) minmax(0,1.3fr); gap: clamp(25px,6vw,96px); margin-top: clamp(32px,4vw,60px); border-top: 1px solid var(--rule); padding-top: 23px; }
.calculation h3 { max-width: 17ch; }
.calculation p:not(.eyebrow) { max-width: 63ch; margin: 0; }
.calculation p + p { padding-top: 12px; }
.calculation strong, .scope-note strong { color: var(--ink); }
.scope-note { max-width: 77ch; margin: 23px 0 0; }
.instrument { background: var(--ink); color: #f3f7f2; padding: 0 1px 1px; }
.instrument-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 15px 22px; border-bottom: 1px solid #42626e; }
.instrument-top strong { font-size: 1.04rem; font-weight: 550; }
.meter-icon { width: 21px; height: 12px; border-block: 2px solid var(--yellow); position: relative; }
.meter-icon::after { content: ''; position: absolute; width: 13px; height: 2px; left: 0; top: 3px; background: var(--yellow); }
.sample-label { margin-left: auto; color: var(--yellow); }
.screen-grid { display: grid; grid-template-columns: minmax(0, 68fr) minmax(240px, 32fr); }
.display { color: var(--ink); background: #e8efeb; padding: clamp(18px, 2.6vw, 42px); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; color: #314d57; font-size: .875rem; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend-bar { width: 9px; height: 11px; background: #517d89; }
.legend-after { width: 9px; height: 11px; background: #51928d; }
.legend-line { width: 14px; height: 2px; background: #142f3b; }
.chart-frame { position: relative; margin-top: 20px; }
.axis-name, .y-scale, .x-scale, .slider-ends, .slider-label output { font: 500 .78rem/1 var(--mono); }
.axis-name { color: #425960; height: 22px; }
.chart { height: clamp(135px, 13.7vw, 220px); margin-left: 27px; display: grid; grid-template-columns: repeat(12,1fr); border-bottom: 1px solid #637e84; background: repeating-linear-gradient(to top,transparent 0 calc(25% - 1px),#b7cac8 calc(25% - 1px) 25%); border-left: 1px solid #a8b9b8; }
.bar-slot { position: relative; display: flex; align-items: end; justify-content: center; }
.bar-slot.active { background: #dce5ab; }
.bar-slot.active::before { content: ''; position: absolute; inset: 0 auto 0 50%; border-left: 1px dashed #294750; }
.bar { position: relative; width: 57%; min-height: 1px; background: #537d89; }
.bar-slot.after .bar { background: #51928d; }
.bar-slot.active .bar { background: #193f4d; }
.y-scale { position: absolute; inset: 22px auto 21px 0; display:flex; flex-direction: column; justify-content: space-between; text-align: right; width: 17px; color: #465b61; }
.y-scale > span { transform: translateY(50%); }
.y-scale > span:first-child { transform: translateY(-50%); }
.x-scale { display: flex; justify-content: space-between; margin: 9px 0 0 27px; color: #465b61; }
.slider-panel { border-top: 1px solid #b2c5c3; margin-top: 23px; padding-top: 15px; }
.slider-label, .slider-ends { display: flex; justify-content: space-between; align-items: center; }
.slider-label label { font-size: .95rem; font-weight: 620; }
.slider-label output { font-size: .9rem; }
.slider-ends { color: #52646a; }
input[type="range"] { accent-color: var(--ink); width: 100%; display: block; cursor: pointer; margin: 3px 0; height: 25px; }
.readout { padding: clamp(21px, 2.5vw, 42px); align-self: stretch; }
.readout-head { color: #c6d7d7; margin: 0 0 21px; }
.readout dl { margin: 0; }
.readout dl > div + div { margin-top: 17px; }
.readout dt { font-size: .9rem; color: #d8e3e3; }
.readout dd { margin: 3px 0 0; font-size: clamp(2.7rem, 4vw, 4rem); letter-spacing: -.07em; line-height: 1; font-variant-numeric: tabular-nums; }
.readout dd small { font: 500 .95rem var(--mono); color: #c2d5d5; letter-spacing: -.05em; }
.after-noon { border-top: 1px solid #4b6570; padding-top: 15px; }
.after-noon dd, .after-noon dd small { color: #a6ddce; }
.phase { display: flex; gap: 8px; align-items: center; margin: 23px 0 6px; border-top: 1px solid #4b6570; padding-top: 16px; font-size: .96rem; color: var(--yellow); }
.phase-dot { width: 7px; height: 7px; background: currentColor; }
#window { margin: 0; font: 400 .78rem/1.5 var(--mono); color: #d1e0e2; }
.figcaption { margin: 12px 0 0; color: var(--slate); font-size: .78rem; }
.figcaption span { margin-inline: 4px; }
.notes, .guide { border-top: 1px solid var(--rule); }
.notes-heading { display: grid; grid-template-columns: 1fr .84fr; align-items: end; column-gap: 36px; }
.notes-heading .eyebrow { grid-column: 1 / -1; }
.notes-heading > p:last-child { max-width: 34rem; margin: 0; }
.note-list { max-width: 1100px; margin: 38px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 7vw, 95px); }
.note-list article { min-width: 0; display: grid; grid-template-columns: 64px 1fr; align-content: start; column-gap: 16px; padding: 22px 0 0; }
.note-list .onset { grid-column: 1; grid-row: 3; }
.note-list .finish { grid-column: 2; grid-row: 3; }
.note-list .peak-note { grid-column: 1 / -1; grid-row: 1; background: #e6ece4; padding: 24px clamp(20px, 4.2vw, 64px); }
.peak-note p { max-width: 64ch; }
.time-rule { grid-column: 1 / -1; grid-row: 2; position: relative; margin: 26px 0 14px; height: 36px; border-top: 1px solid #42616c; }
.time-rule span { position: absolute; top: 11px; color: #3d5c65; font: 500 .76rem/1 var(--mono); transform: translateX(-50%); }
.time-rule span::before { content: ''; position: absolute; left: 50%; top: -16px; height: 9px; border-left: 1px solid currentColor; }
.time-rule span:first-child { left: 16.6667%; }
.time-rule span:nth-child(2) { left: 50%; color: var(--ink); font-weight: 700; }
.time-rule span:last-child { right: 0; transform: none; }
.time-rule span:last-child::before { left: auto; right: 0; }
.note-time { color: #335f6f; margin-top: 2px; font-size: .93rem; }
h3 { margin: 0; font-size: 1.4rem; font-weight: 570; line-height: 1.14; letter-spacing: -.035em; }
.note-list p { margin: 7px 0 10px; }
.note-list a { font-size: .91rem; font-weight: 620; text-underline-offset: 4px; }
.guide { padding-top: clamp(50px, 5.4vw, 80px); }
.guide > h2 + p { margin-top: 15px; padding: 0; border: none; font-size: 1.1rem; color: var(--slate); line-height: 1.55; }
.guide-columns { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0,1.45fr); gap: 24px clamp(32px, 7vw, 95px); margin-block: 37px; }
.guide-columns article { position: relative; padding-left: 52px; }
.guide-columns .rule-icon { position: absolute; left: 0; top: 0; }
.guide-columns .worked { grid-column: 2; grid-row: 1 / span 2; padding: clamp(24px, 4vw, 50px); background: #e5ece7; align-self: stretch; }
.guide-columns .worked .rule-icon { position: relative; margin-bottom: 18px; }
.guide-columns .worked h3 { font-size: clamp(1.8rem,3vw,2.8rem); }
.guide-columns .equation { display: block; padding: 16px 0; margin: 14px 0; border-block: 1px solid #a8bdba; font: 550 clamp(1.1rem,2.4vw,2.1rem)/1.3 var(--mono); color: var(--ink); }
.guide-columns p { margin: 8px 0 0; }
.rule-icon { height: 32px; width: 39px; margin-bottom: 18px; color: #3d6d79; }
.icon-bars { display: flex; align-items: end; gap: 3px; }
.icon-bars i { width: 4px; height: 9px; background: currentColor; }
.icon-bars i:nth-child(2) { height: 18px; }.icon-bars i:nth-child(3) { height: 26px; }.icon-bars i:nth-child(4) { height: 17px; }.icon-bars i:nth-child(5) { height: 12px; }
.icon-fill { width: 31px; height: 27px; margin-top: 5px; display:flex; flex-direction:column; justify-content:end; gap:3px; padding:3px; border: 2px solid currentColor; border-top: none; }
.icon-fill i { height:2px; background:currentColor; }
.icon-clock { position: relative; width: 28px; height: 28px; margin-top: 4px; border: 2px solid currentColor; border-radius: 50%; }
.icon-clock i { position:absolute; top:4px; left:11px; width:8px; height:9px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; }
details { border-block: 1px solid var(--rule); }
summary { font-size: 1.02rem; cursor: pointer; font-weight: 570; padding: 16px 4px; }
.table-wrap { padding: 4px 0 20px; }
table { width:100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding-bottom: 8px; font: 500 .81rem var(--mono); color: var(--slate); }
th, td { padding: 9px 5px; border-bottom: 1px solid #c8d3d0; text-align: right; }
th:first-child, td:first-child { text-align: left; }
footer { background: #183642; color: #f4f6f0; padding: 33px clamp(18px, 4vw, 64px); display:flex; align-items: center; justify-content: space-between; gap: 18px; }
footer p { font: .8rem/1.4 var(--mono); color: #c5d7d9; margin:10px 0 0; }
.closing { --bar-height: 280px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-content: center; align-items: center; gap: 24px clamp(30px, 6vw, 84px); padding: clamp(45px,6vw,82px) clamp(28px,5.5vw,76px); color: #f4f7ed; background: var(--ink); border-bottom: 1px solid #4b6570; }
.closing-copy { align-self: center; }
.closing .eyebrow { color: var(--yellow); }
.closing h2 { font-size: clamp(3.5rem, 6.8vw, 6.25rem); line-height: .95; max-width: 11ch; }
.closing-copy p:not(.eyebrow) { max-width: 42ch; font-size: clamp(1.02rem,1.45vw,1.27rem); color: #dbe6e3; line-height: 1.55; margin: 23px 0 0; text-wrap: pretty; }
.comparison { margin: 0; min-width: 0; }
.bars { display: flex; align-items: start; justify-content: center; gap: 48px; }
.bar-group { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--bar-height) auto; justify-items: center; align-items: end; width: 72px; }
.stick { width: 100%; }
.peak-stick { height: var(--peak-share, 72.7273%); background: var(--yellow); }
.late-stick { display: flex; flex-direction: column-reverse; height: var(--bar-height); }
.late-stick i { flex: 0 0 var(--share); background: #8ad3c3; }
.late-stick i:nth-child(2n) { background: #509f98; }
.late-stick i:nth-child(3) { background: #b9e6d7; }
.late-stick i:nth-child(5) { background: #d9efe7; }
.bar-label { display: block; width: 115px; margin-top: 12px; text-align: center; font: 500 .79rem/1.45 var(--mono); color: #dce9e6; }
.bar-label strong, .bar-label b { display: block; font-family: var(--body); color: #fff; font-size: 1.2rem; }
.bar-label span { display: block; }
.event-total { margin: 23px 0 0; padding: 12px 0; border-block: 1px solid #6b858b; font: 500 .86rem/1.45 var(--mono); color: #dce9e6; }
.closing-action { grid-column: 2; }
.closing-action .cta { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; }
.scope-caption, .closing .credit { font: 500 .78rem/1.5 var(--mono); color: #c9d9d6; }
.scope-caption { margin: 12px 0 0; }
.closing .credit { grid-column: 2; margin: 0; padding-top: 14px; border-top: 1px solid #6b858b; color: #abcfca; font: 500 .75rem/1.5 var(--mono); }
.credit p { margin: 0; }
.credit p:first-child { text-transform: uppercase; letter-spacing: .09em; }
.credit p + p { margin-top: 4px; }
.closing a:focus-visible { outline-color: white; }
@media (min-width: 1280px) {
  .hero { min-height: 560px; padding-block: 48px; }
  h1 { font-size: 112px; }
  .closing { min-height: 640px; }
}
@media (max-width: 800px) {
  .intro { grid-template-columns: 1fr; gap: 15px; }
  .screen-grid { grid-template-columns: minmax(0,1.8fr) minmax(172px,1fr); }
  .notes-heading { grid-template-columns: 1fr 1fr; }
  .note-list { column-gap: 32px; }
  .note-list article { grid-template-columns: 52px 1fr; gap: 8px; }
  .guide-columns { grid-template-columns: .95fr 1.05fr; column-gap: 28px; }
  .closing { grid-template-columns: 1fr .9fr; column-gap: 30px; }
}
@media (max-width: 600px) {
  .mast { min-height: 98px; flex-wrap: wrap; align-content:center; gap: 0; }
  .brand { min-height: 44px; font-size: 1.48rem; gap: 7px; }
  .brand-icon { width: 26px; height: 26px; transform: scale(.88); transform-origin: left center; margin-right: -3px; }
  nav { width: 100%; gap: 20px; }
  nav a, footer > a, .note-list a, .guide-columns .worked a { min-height: 44px; display: inline-flex; align-items: center; }
  nav a { font-size: .86rem; padding: 5px 0; }
  .hero { min-height: 495px; align-items: start; padding: 35px 20px 94px; }
  .hero-shade { background: linear-gradient(90deg,rgba(6,24,35,.76),rgba(8,29,41,.44)),linear-gradient(0deg,rgba(5,22,32,.16),transparent 28%); }
  h1 { font-size: clamp(56px, 16.41vw, 78px); margin-bottom: 25px; }
  .tag { font-size: .75rem; gap: 8px; margin-bottom: 28px; }
  .yellow-line { width: 20px; }
  .dek { font-size: 1.04rem; margin-bottom: 24px; }
  .cta { display: inline-flex; align-items: center; min-height: 48px; padding: 13px 16px; }
  .hero .cta { width: 100%; justify-content: center; }
  .hero-caption { bottom: 48px; right: 12px; }
  .hero-trace { height: 36px; }
  .strip { font-size: .75rem; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; padding: 8px 0; }
  .strip .concept { width: 100%; margin: 0; }
  .strip > span:first-child { gap: 5px; }
  .slant { width: 15px; }
  .section { padding-block: 49px; }
  .calculation { grid-template-columns: 1fr; gap: 14px; }
  .calculation h3 { max-width: none; }
  h2 { font-size: clamp(2.8rem, 10.8vw, 4rem); }
  .screen-grid { display: flex; flex-direction: column; }
  .instrument-top { padding: 12px; gap: 7px; }
  .sample-label { font-size: .75rem; }
  .display, .readout { padding: 16px; }
  .readout-head { margin-bottom: 12px; }
  .readout dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .readout dl > div + div { margin: 0; }
  .after-noon { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 12px 0 0; }
  .readout .after-noon dd { font-size: 1.9rem; }
  input[type="range"] { height: 44px; }
  .readout dd { font-size: 2.52rem; }
  .readout dd small { font-size: .79rem; }
  .phase { margin-top: 14px; padding-top: 10px; }
  .legend { gap: 13px; font-size: .81rem; }
  .notes-heading { display: block; }
  .notes-heading > p:last-child { margin-top: 14px; }
  .note-list { display: block; position: relative; margin-top: 25px; }
  .note-list::before { content: ''; position: absolute; left: 51px; top: 27px; bottom: 17px; width: 1px; background: #89a29f; }
  .note-list article, .note-list .peak-note { position: relative; grid-template-columns: 64px 1fr; gap: 6px; padding: 16px 0; background: transparent; }
  .note-time { font-size: .78rem; }
  .note-list article::before { content: ''; position: absolute; left: 48px; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: #326772; }
  .note-list .peak-note::before { background: var(--yellow); outline: 1px solid #54737a; }
  .time-rule { display: none; }
  .guide-columns { display:block; margin-block: 22px; }
  .guide-columns article, .guide-columns article:first-child { position: relative; padding: 18px 0 18px 50px; border-left:0; border-top:1px solid var(--rule); }
  .guide-columns .rule-icon { position:absolute; top: 14px; left: 1px; }
  .guide-columns .worked { padding: 22px 17px; }
  .guide-columns .worked .rule-icon { position: static; }
  .guide-columns .worked a { display: inline-flex; padding-block: 8px; line-height: 1.3; }
  .closing { --bar-height: 200px; display: block; padding: 35px 20px 24px; }
  .closing h2 { max-width: none; font-size: clamp(2.8rem,10.5vw,3.8rem); }
  .closing-copy p:not(.eyebrow) { margin-top: 15px; }
  .comparison { margin: 35px 0 20px; }
  .closing-action .cta { width: 100%; }
  .closing .credit { margin-top: 25px; }
  footer { flex-wrap: wrap; }
  table { font-size: .85rem; }
}
@media (max-width: 350px) {
  nav { gap: 12px; }
  nav a { font-size: .8rem; }
  h1 { font-size: 56px; }
  .legend { gap: 8px 12px; }
  .readout dd { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.chart { cursor: crosshair; }
tr.selected { background: #e1e9bc; }
