@font-face {
  font-family: Onest;
  src: url(fonts/Onest.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url(fonts/Lora.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.7 Onest,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--soft);
}
.wrap {
  width: min(1150px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 650;
}
.brand img {
  width: 32px;
  height: 32px;
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: var(--muted);
}
.header nav a:hover {
  color: var(--accent);
}
.header-action {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 5px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin: 0 0 25px;
}
h2 {
  font-size: 33px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
p {
  margin: 0 0 15px;
}
.lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 480px;
}
.button {
  border: 0;
  background: var(--accent);
  color: var(--on);
  border-radius: 5px;
  padding: 13px 20px;
  min-height: 46px;
  font-size: 12px;
  display: inline-flex;
  gap: 26px;
  justify-content: center;
  align-items: center;
}
.button:hover {
  filter: brightness(0.94);
}
.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.section-head p {
  font-size: 12px;
  color: var(--muted);
  max-width: 300px;
  margin: 0;
}
.section-head .eyebrow {
  margin-bottom: 12px;
  font-size: 9px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 30px;
  padding: 9px 16px;
  font-size: 11px;
}
.filters button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--on);
  background: var(--accent);
}
.filters button:hover {
  border-color: var(--accent);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.card-content {
  padding: 22px;
}
.card-content p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 0.3px;
  color: var(--muted);
  margin-bottom: 12px;
}
.card button.open {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  padding: 5px 0;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}
.section {
  padding-block: 75px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
}
.split > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 22px;
}
.stack {
  display: grid;
  gap: 23px;
}
.stack article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.stack article:last-child {
  border-bottom: 0;
  padding: 0;
}
.stack article p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.stack article h3 {
  font-size: 15px;
  margin-bottom: 7px;
}
.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  padding-block: 75px;
}
details {
  border-bottom: 1px solid var(--line);
}
details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 28px 20px 0;
  font-size: 12px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  color: var(--accent);
}
details[open] summary::after {
  content: "−";
}
details p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 20px 20px 0;
}
.closing {
  border-block: 1px solid var(--line);
  padding-block: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.closing p {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 0;
}
.footer {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer p,
.footer > a:last-child {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.footer .brand {
  font-size: 24px;
}
.feedback {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  min-height: 1.7em;
  margin: 15px 0;
}
.empty {
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  padding: 30px;
  width: min(650px, calc(100% - 32px));
  max-height: 85vh;
}
dialog::backdrop {
  background: #151b22a0;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 27px;
}
.close-dialog {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  width: 32px;
  height: 32px;
  font-size: 20px;
  flex-shrink: 0;
}
.dialog-content p,
.dialog-content li {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.dialog-content h3 {
  font-size: 17px;
  margin: 22px 0 9px;
}
.dialog-content ol,
.dialog-content ul {
  padding-left: 22px;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--card);
  color: var(--ink);
  min-width: 0;
}
.label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.notice {
  padding: 15px;
  border: 1px solid var(--accent);
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .split {
    gap: 40px;
  }
  .grid {
    gap: 18px;
  }
  .card-content {
    padding: 18px;
  }
  .header nav {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    height: 78px;
  }
  .header nav {
    display: none;
  }
  .brand {
    font-size: 26px;
  }
  .header-action {
    font-size: 10px;
    padding: 8px 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -1.9px;
  }
  h2 {
    font-size: 28px;
  }
  .lead {
    font-size: 13px;
  }
  .section {
    padding-block: 45px;
  }
  .section-head {
    display: block;
    margin-bottom: 23px;
  }
  .section-head > p {
    margin-top: 16px;
    max-width: none;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    font-size: 10px;
    padding: 8px 12px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 45px;
  }
  .closing {
    flex-direction: column;
    align-items: start;
    gap: 22px;
  }
  .closing p {
    font-size: 23px;
  }
  .closing .button {
    width: 100%;
    justify-content: space-between;
  }
  .footer {
    min-height: 115px;
    padding-block: 25px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer .brand {
    width: 100%;
  }
  .footer p,
  .footer > a:last-child {
    font-size: 9px;
  }
  .footer > a:last-child {
    margin-left: auto;
  }
  dialog {
    padding: 23px;
  }
  .dialog-head h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

:root {
  --bg: #f8f6f1;
  --ink: #272827;
  --muted: #777a72;
  --accent: #b94730;
  --on: #fffaf2;
  --soft: #f1e2d5;
  --line: #dcded5;
  --card: #fffdf8;
}
.measure-hero {
  padding-block: 60px 28px;
}
.measure-hero > div:not(.ruler) {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.measure-hero h1 {
  font-size: 70px;
  line-height: 1.09;
  margin: 0;
  letter-spacing: -3.4px;
}
.measure-hero h1 span {
  color: var(--accent);
}
.measure-hero .lead {
  font-size: 13px;
  margin: 0 0 3px;
}
.ruler {
  display: flex;
  align-items: end;
  justify-content: space-between;
  position: relative;
  height: 85px;
  border-bottom: 1px solid #aaa99d;
  margin-top: 35px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0px,
    var(--line) 1px,
    transparent 1px,
    transparent 2%
  );
  background-size: 100% 28px;
  background-repeat: no-repeat;
  background-position: bottom;
}
.ruler span {
  font-size: 8px;
  color: var(--muted);
  padding-bottom: 35px;
  background: var(--bg);
}
.ruler i {
  height: 43px;
  border-left: 1px solid #aaa99d;
}
.calculator {
  padding-block: 10px 25px;
}
.category-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px 7px 0 0;
  overflow: hidden;
}
.category-tabs button {
  border: 0;
  border-right: 1px solid var(--line);
  background: #eeefe7;
  color: var(--muted);
  min-height: 68px;
  font-size: 12px;
}
.category-tabs button:last-child {
  border-right: 0;
}
.category-tabs button span {
  font-size: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.category-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.converter {
  background: var(--card);
  border-inline: 1px solid var(--line);
  padding: 35px;
  display: grid;
  grid-template-columns: 1fr 55px 1fr;
  gap: 30px;
  align-items: center;
}
.converter .label {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.source-value,
.target-value {
  min-width: 0;
}
.source-value input,
.target-value output {
  font-size: 51px;
  letter-spacing: -2px;
  font-weight: 400;
  line-height: 1.3;
  width: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  min-height: 70px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.source-value input {
  min-width: 0;
  max-width: 100%;
}
.target-value output {
  color: var(--accent);
}
.converter select {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  width: 100%;
  padding: 12px 0;
  font-size: 12px;
}
.swap {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  background: var(--bg);
  font-size: 23px;
  color: var(--ink);
}
.converter-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 35px;
  border: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
  background: #f0f0e8;
}
.converter-bottom > span {
  font-size: 11px;
  color: var(--muted);
}
.converter-bottom button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 10px;
  white-space: nowrap;
}
.reference-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.reference-row {
  padding: 20px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.reference-row strong {
  font-size: 24px;
  display: block;
  letter-spacing: -1px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.reference-row span {
  font-size: 10px;
  color: var(--muted);
}
.measure-band {
  background: #e8e9e0;
  border-block: 1px solid var(--line);
}
.measure-band h2 span {
  color: var(--muted);
}
.sources {
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 30px;
}
.sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sources p {
  margin: 0;
}
@media (max-width: 1000px) {
  .measure-hero h1 {
    font-size: 59px;
  }
  .converter {
    gap: 20px;
    padding: 28px;
  }
  .source-value input,
  .target-value output {
    font-size: 44px;
  }
}
@media (max-width: 760px) {
  .measure-hero {
    padding-block: 45px 22px;
  }
  .measure-hero > div:not(.ruler) {
    display: block;
  }
  .measure-hero h1 {
    font-size: 52px;
    letter-spacing: -2.5px;
  }
  .measure-hero .lead {
    font-size: 12px;
    margin-top: 22px;
  }
  .ruler {
    height: 65px;
    margin-top: 20px;
  }
  .ruler span {
    font-size: 7px;
  }
  .category-tabs button {
    min-height: 63px;
    font-size: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }
  .category-tabs button span {
    font-size: 19px;
    margin: 0;
  }
  .converter {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 24px;
  }
  .source-value input,
  .target-value output {
    font-size: 45px;
    min-height: 58px;
  }
  .swap {
    width: 36px;
    height: 36px;
    justify-self: center;
    transform: rotate(90deg);
    font-size: 20px;
  }
  .converter-bottom {
    padding: 18px 22px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .converter-bottom > span {
    font-size: 10px;
  }
  .converter-bottom button {
    font-size: 10px;
  }
  .reference-table {
    grid-template-columns: repeat(2, 1fr);
  }
  .reference-row {
    padding: 17px;
  }
  .reference-row strong {
    font-size: 22px;
  }
  .reference-row span {
    font-size: 9px;
  }
}

/* Individually composed, locally hosted edition. */
:root{--bg:#f4f3f8;--ink:#242433;--muted:#5c5c73;--accent:#313078;--card:#fbfbfd;--soft:#e0e0eb;--line:#cfcfdd;--on:#fffdf8;--paper:#f4f3f8;--blue:#313078}
h1,h2{font-family:Lora,Georgia,serif;font-weight:450}
.hero-title h1 em,.measure-hero h1 span,.rhythm-hero h1 span,h1 em,h1 span{color:var(--accent)}
.brand{gap:9px;white-space:nowrap;font-size:clamp(20px,2.3vw,28px);letter-spacing:-.7px}
.brand img{width:32px;height:32px;flex:none}
.brand-name{min-width:0;overflow-wrap:break-word}
.header{column-gap:14px}.hero-copy,.hero>div,.photo-hero>div,.rhythm-hero>div{min-width:0}
@media(max-width:760px){.header{height:auto;min-height:88px;padding-block:16px;flex-wrap:wrap;row-gap:12px}.header .brand,.footer .brand{min-width:0;max-width:100%;font-size:21px;white-space:normal;gap:9px}.brand img{width:28px;height:28px}.footer{height:auto;min-height:105px;padding-block:24px;flex-wrap:wrap;column-gap:14px;row-gap:12px}.footer .brand{flex-basis:100%}.hero-title h1{font-size:clamp(34px,10.5vw,48px);letter-spacing:-.04em;overflow-wrap:break-word}}
