@layer reset, base, layout, parts, pages;

@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/big-shoulders-display-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/big-shoulders-display-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url(/fonts/big-shoulders-display-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Stencil Display"; src: url(/fonts/big-shoulders-stencil-display-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #ece5d6;
  --sheet: #faf8f3;
  --ink: #17201b;
  --muted: #454c46;
  --red: #8a2416;
  --on-red: #ffffff;
  --rule: rgb(23 32 27 / 0.82);
  --hair: rgb(23 32 27 / 0.22);
  --pine: #d9b77a;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  /* 1.25 scale from an 18px body */
  --s-1: 0.8rem;
  --s0: 1.125rem;
  --s1: 1.406rem;
  --s2: 1.758rem;
  --s3: 2.197rem;
  --s4: 2.747rem;
  --s5: 3.433rem;
  --s6: 4.292rem;
  --gut: 32px;
  --max: 1240px;
  --radius: 2px;
}
/* Outside the layers, so it overrides the unlayered :root above. */
@media (max-width: 720px) { :root { --gut: 16px; } }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
  ul[class], ol[class] { list-style: none; padding: 0; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  button { font: inherit; color: inherit; }
  table { border-collapse: collapse; }
}

@layer base {
  html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  body { background: var(--paper); color: var(--ink); font-family: var(--text); font-size: var(--s0); line-height: 1.55; text-rendering: optimizeLegibility; overflow-x: hidden; }
  h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; letter-spacing: 0.005em; font-weight: 800; text-wrap: balance; }
  h1 { font-size: clamp(2.6rem, 2rem + 3.2vw, var(--s6)); }
  h2 { font-size: clamp(var(--s3), 1.6rem + 1.4vw, var(--s4)); font-weight: 700; }
  h3 { font-size: var(--s2); font-weight: 700; }
  h4 { font-size: var(--s1); font-weight: 600; }
  p, li, dd { text-wrap: pretty; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
  a:hover { color: var(--red); }
  :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
  strong { font-weight: 700; }
  abbr { text-decoration: none; }
  .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nb { white-space: nowrap; }
  .skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
  .skip:focus { top: 8px; }
}

@layer layout {
  .wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
  .band { border-top: 1px solid var(--rule); padding-block: 56px 64px; }
  .band-tight { padding-block: 40px 48px; }
  .prose { max-width: 68ch; }
  .prose > * + * { margin-top: 1em; }
  .prose h2 { margin-top: 1.6em; font-size: var(--s3); }
  .prose h3 { margin-top: 1.4em; }
  .prose ul, .prose ol { padding-left: 1.2em; }
  .prose li + li { margin-top: 0.35em; }
  .lede { font-size: var(--s1); line-height: 1.45; color: var(--ink); }
  .muted { color: var(--muted); }
  @media (max-width: 720px) {
    .band { padding-block: 40px 48px; }
  }
}

@layer parts {
  /* Header */
  .site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .bar { max-width: var(--max); margin-inline: auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; min-height: 68px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
  .brand .mark { width: 40px; height: 28px; }
  .brand-long, .brand-short { font-family: var(--stencil); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
  .brand-long { font-size: 1.5rem; }
  .brand-short { font-size: 1.6rem; display: none; }
  .nav { margin-left: auto; }
  .nav-list { display: flex; gap: 4px; }
  .nav-item { position: relative; display: flex; align-items: center; }
  .nav-link { display: block; padding: 22px 2px 22px 8px; text-decoration: none; font-weight: 600; font-size: 1.02rem; }
  .nav-more { border: 0; background: none; padding: 6px 6px; cursor: pointer; }
  .nav-more svg { width: 10px; height: 6px; }
  .menu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--sheet); border: 1px solid var(--rule); padding: 10px 0 12px; box-shadow: 0 10px 24px rgb(23 32 27 / 0.12); }
  .menu ul { padding: 0; margin: 0; list-style: none; }
  .menu li a { display: flex; align-items: center; gap: 12px; padding: 6px 18px; text-decoration: none; }
  .menu li a:hover { background: var(--paper); }
  .nav-wide .menu { left: auto; right: 0; min-width: 520px; }
  .nav-wide .menu ul { columns: 3; column-gap: 0; }
  .menu-all { display: block; margin: 8px 18px 0; padding-top: 8px; border-top: 1px solid var(--hair); font-weight: 600; text-decoration: none; }
  @media (hover: hover) and (min-width: 1081px) {
    .nav-item:hover > .menu { display: block; }
  }
  .nav-item:focus-within > .menu, .nav-more[aria-expanded="true"] + .menu { display: block; }
  .menu-toggle { display: none; margin-left: auto; border: 0; background: none; font-weight: 700; font-size: 1.05rem; padding: 10px 4px; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

  .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); background: var(--red); color: var(--on-red); font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.03em; text-decoration: none; border: 2px solid var(--red); transition: background-color .15s, color .15s; }
  .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-red); }
  .btn-quote { flex: none; min-height: 42px; font-size: 1.1rem; padding: 0 16px; }

  @media (max-width: 1080px) {
    .bar { gap: 14px; }
    .brand-long { display: none; }
    .brand-short { display: inline; }
    .menu-toggle { display: inline-block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); max-height: calc(100vh - 68px); overflow-y: auto; margin: 0; }
    .nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--hair); }
    .nav-link { padding: 14px 0; flex: 1; font-size: 1.15rem; }
    .nav-more { padding: 14px 10px; }
    .menu { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 12px; min-width: 0; width: 100%; }
    .nav-item:focus-within > .menu { display: none; }
    .nav-more[aria-expanded="true"] + .menu { display: block; }
    .nav-wide .menu { min-width: 0; }
    .nav-wide .menu ul { columns: 2; }
    .menu li a { padding: 6px 0; }
    .menu-all { margin: 8px 0 0; }
  }

  /* Breadcrumbs */
  .crumbs { max-width: var(--max); margin: 0 auto; padding: 16px var(--gut) 0; font-size: 0.95rem; color: var(--muted); }
  .crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--hair); }
  .crumbs a { text-decoration: none; }
  .crumbs a:hover { text-decoration: underline; }

  /* Ruled rows */
  .rows { border-top: 1px solid var(--rule); }
  .rows li { border-bottom: 1px solid var(--hair); }
  .row { display: grid; grid-template-columns: 1fr; grid-template-areas: "name" "note"; align-items: center; padding: 14px 0; text-decoration: none; }
  .row-name { grid-area: name; font-family: var(--display); font-weight: 700; font-size: var(--s2); line-height: 1.05; align-self: end; }
  .row-note { grid-area: note; color: var(--muted); align-self: start; }
  .row:hover .row-name { color: var(--red); }
  .rows-thumbs .row { grid-template-columns: 132px 1fr; grid-template-areas: "pic name" "pic note"; column-gap: 20px; }
  .row-pic { grid-area: pic; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sheet); border: 1px solid var(--hair); }
  .row-pic img { width: 100%; height: 100%; object-fit: cover; }
  .row-pic .gen-tag { left: 4px; bottom: 4px; padding: 0 5px; font-size: 0.62rem; }
  .row-pic .sheet { border: 0; padding: 6px; height: 100%; display: grid; place-items: center; }
  .row-pic .sheet svg { width: 100%; height: 100%; }
  .row-pic figcaption, .row-pic .sheet text { display: none; }
  @media (max-width: 600px) { .rows-thumbs .row { grid-template-columns: 96px 1fr; column-gap: 14px; } }
  .rows-plain .row { grid-template-columns: minmax(180px, 0.38fr) 1fr; grid-template-areas: "name note"; align-items: baseline; }
  .rows-plain .row-name { font-size: var(--s1); align-self: baseline; }
  @media (max-width: 720px) {
      .row-name { font-size: var(--s1); }
    .rows-plain .row { grid-template-columns: 1fr; grid-template-areas: "name" "note"; }
  }

  /* Drawings on a sheet */
  .sheet { background: var(--sheet); border: 1px solid var(--rule); padding: 18px 18px 14px; }
  .sheet-big .ink .t { font-size: 27px; }
  .sheet figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted); font-style: italic; }
  .ink { width: 100%; height: auto; }
  .ink .m { fill: #f3e6c9; stroke: var(--ink); stroke-width: 1.2; }
  .ink .lead { fill: #ead3a2; }
  .ink .lead-soft { fill: #f0dfb9; stroke-width: .8; }
  .ink .hid { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 5 4; }
  .ink .dim, .ink .lead { stroke: var(--ink); }
  .ink .dim { stroke-width: 1; }
  .ink .lead { stroke-width: 1.2; }
  .ink line.lead { stroke-width: 1; fill: none; }
  .ink .ground { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 2 3; }
  .ink .t { font-family: var(--text); font-size: 20px; fill: var(--ink); }
  .ink .lbl { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .12em; fill: var(--muted); }
  .ink .co { fill: var(--sheet); stroke: var(--red); stroke-width: 1.6; }
  .ink .co-t { font-family: var(--display); font-weight: 800; font-size: 19px; fill: var(--red); }
  .ink .ghost { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 8 6; opacity: .7; }
  .ink .ghost-t { font-family: var(--text); font-size: 19px; fill: var(--muted); }
  .ink .fp { fill: #f7efdc; stroke: var(--ink); stroke-width: 1.6; }
  .ink .go { stroke: var(--ink); stroke-width: 2.2; }
  .ink .no { stroke: var(--red); stroke-width: 2; stroke-dasharray: 4 4; opacity: .7; }
  .ink .ah-go { fill: var(--ink); }
  .ink .ah-no { fill: var(--red); }
  .members { width: 100%; margin-top: 14px; font-size: 0.95rem; border-top: 1px solid var(--rule); }
  .members th { text-align: left; font-weight: 600; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--rule); }
  .members td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
  .members td:first-child { font-family: var(--display); font-weight: 800; color: var(--red); width: 2.4em; }
  .members td:nth-child(2) { font-weight: 600; white-space: nowrap; padding-right: 14px; }
  @media (max-width: 560px) {
    .sheet { padding: 12px 10px 10px; }
    .members td:nth-child(2) { white-space: normal; }
  }

  /* Data tables */
  .table-wrap { overflow-x: auto; border-top: 1px solid var(--rule); }
  .spec { width: 100%; font-size: 1rem; }
  .spec th, .spec td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
  .spec thead th { font-weight: 600; border-bottom: 1px solid var(--rule); color: var(--muted); }
  .spec td:first-child, .spec th[scope="row"] { font-family: var(--display); font-weight: 700; font-size: 1.3rem; white-space: nowrap; }
  .spec a { font-weight: 600; }
  @media (max-width: 720px) {
    .spec.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .spec.stack tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--hair); }
    .spec.stack td, .spec.stack th { display: block; border: 0; padding: 2px 0; }
    .spec.stack td[data-k]::before { content: attr(data-k) ": "; color: var(--muted); font-weight: 600; }
  }

  /* Sources */
  .sources { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--muted); max-width: 68ch; }
  .sources-h { font-size: var(--s1); color: var(--ink); margin-bottom: 6px; }
  .sources ol { padding-left: 1.2em; }
  .sources a { overflow-wrap: anywhere; }
  .reviewed { margin-top: 8px; font-style: italic; }

  /* Quote request */
  .quote { max-width: var(--max); margin: 0 auto; padding: 56px var(--gut) 72px; border-top: 3px double var(--rule); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); align-items: start; }
  .quote h2 { font-size: clamp(var(--s3), 1.6rem + 1.6vw, var(--s5)); }
  .quote-note p { margin-top: 14px; }
  .quote-small { color: var(--muted); font-size: 1rem; }
  .fill { margin-top: 18px; border-top: 1px solid var(--rule); }
  .fill div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
  .fill dt { font-weight: 600; }
  .quote-form { background: var(--sheet); border: 1px solid var(--rule); padding: 24px 26px; min-height: 600px; }
  @media (max-width: 900px) {
    .quote { grid-template-columns: 1fr; padding-top: 40px; }
    .quote-form { padding: 18px 14px; }
  }

  /* Margin note beside an article */
  .margin-note { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; font-size: 1rem; }
  .margin-note h2 { font-size: var(--s1); margin-bottom: 6px; }
  .margin-note p + p { margin-top: 8px; }
  .margin-note .btn { margin-top: 12px; min-height: 44px; font-size: 1.1rem; }

  /* Crayon size mark on a photograph */
  .ph { position: relative; overflow: hidden; background: #c9ad80; }
  .ph img { width: 100%; height: 100%; object-fit: cover; }
  .gen { position: relative; display: block; width: 100%; height: 100%; }
  .gen-tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; background: rgb(20 28 24 / .72); color: #f3ecdd; font-size: 0.72rem; line-height: 1.5; letter-spacing: .01em; border-radius: 2px; pointer-events: none; }
  .grid > * { min-width: 0; }

  /* FAQ */
  .qa { border-top: 1px solid var(--rule); }
  .qa details { border-bottom: 1px solid var(--hair); }
  .qa summary { cursor: pointer; padding: 16px 32px 16px 0; font-family: var(--display); font-weight: 700; font-size: var(--s2); line-height: 1.1; list-style: none; position: relative; }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--red); }
  .qa details[open] summary::after { content: "–"; }
  .qa .a { padding: 0 0 18px; max-width: 68ch; }
  .qa .a p + p { margin-top: 10px; }

  /* Footer */
  .site-footer { background: var(--ink); color: #e6dfcf; margin-top: 0; }
  .site-footer a { color: #f4efe3; text-decoration: none; }
  .site-footer a:hover { color: #fff; text-decoration: underline; }
  .foot-in { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 56px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gut); }
  .foot-brand .brand { color: #f4efe3; }
  .foot-brand .brand-short { display: none; }
  .foot-brand .brand-long { display: inline; font-size: 1.3rem; }
  .foot-brand p { margin-top: 14px; font-size: 1rem; }
  .foot-plain { margin-top: 18px; display: grid; gap: 4px; }
  .foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; font-size: 0.95rem; }
  .foot-col ul, .foot-plain { list-style: none; padding: 0; }
  .foot-col h2 { font-size: var(--s1); margin-bottom: 8px; }
  .foot-col li + li { margin-top: 3px; }
  .foot-wide { grid-column: 1 / -1; }
  .foot-wide ul { columns: 6; column-gap: 20px; }
  @media (max-width: 1000px) {
    .foot-in { grid-template-columns: 1fr; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-wide ul { columns: 2; }
  }
}

@layer pages {
  /* Home: first screen */
  .hero-photo { position: relative; margin: 0; height: min(42vh, 420px); min-height: 280px; background: #b99a6c; }
  .hero-photo figcaption { position: absolute; right: 12px; bottom: 10px; padding: 2px 8px; background: rgb(20 28 24 / .72); color: #f3ecdd; font-size: 0.78rem; line-height: 1.5; border-radius: 2px; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
  .hero-text { padding-block: 30px 48px; align-items: start; }
  .hero-text .copy { grid-column: 1 / span 6; }
  .hero-text h1 { font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.9rem); line-height: .98; max-width: 21ch; }
  .hero-text .lede { margin-top: 18px; max-width: 46ch; }
  .tagline { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: var(--s1); color: var(--muted); }
  .actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .actions .btn { min-height: 54px; padding: 0 28px; font-size: 1.4rem; }
  .actions a:not(.btn) { font-weight: 600; }
  .supplied { grid-column: 7 / span 5; margin-top: 10px; }
  .supplied h2 { font-size: var(--s1); color: var(--muted); font-weight: 600; margin-bottom: 8px; }
  .supplied ul { border-top: 1px solid var(--rule); list-style: none; padding: 0; }
  .supplied li { border-bottom: 1px solid var(--hair); }
  .supplied a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; text-decoration: none; font-weight: 600; font-size: 1.08rem; }
  .supplied a::after { content: "→"; color: var(--red); }
  @media (max-width: 900px) {
    .hero-photo { height: auto; aspect-ratio: 1 / 1; min-height: 0; max-height: 520px; width: 100%; }
    .hero-photo img { object-position: 22% 55%; }
      .hero-text .copy, .supplied { grid-column: 1 / -1; }
    .supplied { margin-top: 32px; }
    .actions .btn { width: 100%; }
  }

  .range { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gut); margin-top: 32px; }
  .range-item { grid-column: span 4; }
  .range-item:nth-child(1), .range-item:nth-child(2) { grid-column: span 6; }
  .range-item .ph { aspect-ratio: 16 / 11; }
  .range-draw .sheet { aspect-ratio: 16 / 11; display: grid; place-items: center; padding: 14px; }
  .range-draw .sheet svg { max-height: 100%; width: 100%; }
  .range-draw figcaption, .range-draw table, .range-draw .table-wrap { display: none; }
  .range-item h3 { margin-top: 14px; }
  .range-item h3 a { text-decoration: none; }
  .range-item p { margin-top: 6px; color: var(--muted); }
  @media (max-width: 900px) { .range-item, .range-item:nth-child(1), .range-item:nth-child(2) { grid-column: 1 / -1; } }

  .spec-sheet { align-items: start; margin-top: 28px; }
  .spec-sheet .sheet { grid-column: 1 / span 6; position: sticky; top: 92px; }
  .spec-sheet .lines { grid-column: 8 / span 5; }
  .lines dt { font-family: var(--display); font-weight: 700; font-size: var(--s2); padding-top: 14px; border-top: 1px solid var(--rule); }
  .lines dd { margin: 6px 0 20px; }
  @media (max-width: 900px) { .spec-sheet .sheet, .spec-sheet .lines { grid-column: 1 / -1; position: static; } .spec-sheet .lines { margin-top: 28px; } }

  .two { align-items: start; }
  .two > :first-child { grid-column: 1 / span 6; }
  .two > :last-child { grid-column: 8 / span 5; }
  .two-flip > :first-child { grid-column: 1 / span 5; }
  .two-flip > :last-child { grid-column: 7 / span 6; }
  @media (max-width: 900px) { .two > :first-child, .two > :last-child { grid-column: 1 / -1; } .two > :last-child { margin-top: 28px; } }

  .intro { padding-block: 24px 40px; }
  .intro h1 { max-width: 20ch; }
  .intro .lede { margin-top: 18px; max-width: 60ch; }
  .svc-head { padding-block: 24px 40px; align-items: center; }
  .svc-title { grid-column: 1 / span 6; }
  .svc-title h1 { max-width: 16ch; }
  .svc-title .lede { margin-top: 18px; max-width: 46ch; }
  .svc-photo { grid-column: 7 / span 6; aspect-ratio: 16 / 11; }
  .svc-body { padding-bottom: 8px; }
  .svc-body .prose { max-width: 70ch; }
  @media (max-width: 900px) { .svc-title, .svc-photo { grid-column: 1 / -1; } .svc-photo { margin-top: 24px; } }

  /* Product page head: photograph left, drawing right */
  .product-head { padding-block: 20px 48px; align-items: start; }
  .product-head .ph-col { grid-column: 1 / span 6; }
  .product-head .ph { aspect-ratio: 4 / 3.4; }
  .product-head .sheet-col { grid-column: 7 / span 6; }
  .product-head h1 { margin-top: 26px; }
  .product-head .for { margin-top: 16px; }
  .product-head .for li { padding: 8px 0; border-bottom: 1px solid var(--hair); }
  .product-head .for li:first-child { border-top: 1px solid var(--rule); }
  .guide-link { margin-top: 14px; font-weight: 600; }
  .product-drawn .drawn-title { grid-column: 1 / -1; padding-bottom: 28px; }
  .product-drawn .drawn-title h1 { margin-top: 18px; }
  .product-drawn .drawn-title .lede { margin-top: 14px; max-width: 62ch; }
  .product-drawn .sheet-col { grid-column: 1 / span 7; }
  .product-drawn .for-col { grid-column: 8 / span 5; }
  .product-drawn .for-col h2 { font-size: var(--s2); }
  @media (max-width: 900px) { .product-drawn .sheet-col, .product-drawn .for-col { grid-column: 1 / -1; } .product-drawn .sheet-col { margin-top: 0; } .product-drawn .for-col { margin-top: 24px; } }
  @media (max-width: 900px) { .product-head .ph-col, .product-head .sheet-col { grid-column: 1 / -1; } .product-head .sheet-col { margin-top: 28px; } }

  .choices { counter-reset: none; }
  .choice { border-top: 1px solid var(--rule); padding-block: 28px 32px; align-items: start; }
  .choice h2 { grid-column: 1 / span 4; font-size: var(--s3); }
  .choice .prose { grid-column: 5 / span 8; }
  @media (max-width: 900px) { .choice h2, .choice .prose { grid-column: 1 / -1; } .choice .prose { margin-top: 14px; } }

  /* Size page */
  .size-head { padding-block: 20px 40px; align-items: start; }
  .size-head .sheet { grid-column: 1 / span 7; }
  .size-head .size-text { grid-column: 9 / span 4; }
  .size-head h1 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, var(--s5)); }
  .size-big { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 3rem + 5vw, 7.5rem); line-height: .9; color: var(--ink); white-space: nowrap; }
  .size-big small { display: block; font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 6px; white-space: normal; }
  .listed { margin-top: 18px; border-top: 1px solid var(--rule); }
  .listed li { padding: 8px 0; border-bottom: 1px solid var(--hair); }
  @media (max-width: 900px) { .size-head .sheet, .size-head .size-text { grid-column: 1 / -1; } .size-head .size-text { order: -1; margin-bottom: 24px; } }
  .wide-photo { aspect-ratio: 16 / 7; }
  @media (max-width: 720px) { .wide-photo { aspect-ratio: 4 / 3; } }

  /* State page */
  .state-head .ph { aspect-ratio: 16 / 6; }
  .state-head .wrap { padding-top: 28px; }
  .state-head h1 { max-width: 18ch; }
  @media (max-width: 720px) { .state-head .ph { aspect-ratio: 4 / 3; } }
  .figures { margin-top: 28px; }

  /* Guide */
  .article { padding-block: 20px 40px; align-items: start; }
  .article .col { grid-column: 1 / span 8; }
  .article aside.margin { grid-column: 10 / span 3; position: sticky; top: 100px; margin-top: 120px; }
  .article h1 { font-size: clamp(2.4rem, 1.6rem + 2.8vw, var(--s5)); max-width: 18ch; }
  .article .answer { font-size: var(--s1); line-height: 1.45; margin-top: 18px; }
  .article .head-photo { margin-top: 26px; aspect-ratio: 16 / 7; }
  .article .prose { margin-top: 28px; }
  .article .prose .sheet { margin: 1.6em 0; }
  @media (max-width: 1000px) { .article .col, .article aside.margin { grid-column: 1 / -1; } .article aside.margin { position: static; margin-top: 32px; } }

  /* Hub */
  .hub-list { padding-bottom: 48px; }

  /* Contact */
  .contact-top { padding-block: 16px 24px; }
  .contact-top h1 { font-size: clamp(2.4rem, 1.8rem + 2vw, var(--s5)); }
  .contact-top p { margin-top: 10px; max-width: 60ch; }
  .contact-quote { border-top: 0; padding-top: 8px; }
  .quote-first { border-top: 0; padding-top: 20px; }
  .quote-first h1 { font-size: clamp(2.4rem, 1.8rem + 2vw, var(--s5)); }
  @media (max-width: 900px) {
    .quote-first { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding-top: 12px; }
    .quote-first .quote-note { display: contents; }
    .quote-first .quote-note > h1 { order: 1; }
    .quote-first .quote-note > p:first-of-type { order: 2; margin-top: 0; }
    .quote-first .quote-form { order: 3; }
    .quote-first .fill, .quote-first .quote-small { order: 4; }
  }

  /* State */
  .state-head { padding-block: 24px 48px; align-items: start; }
  .state-text { grid-column: 1 / span 6; }
  .state-text h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); max-width: 18ch; }
  .state-text .lede { margin-top: 18px; }
  .state-text p + p { margin-top: 14px; }
  .state-side { grid-column: 8 / span 5; }
  @media (max-width: 900px) { .state-text, .state-side { grid-column: 1 / -1; } .state-side { margin-top: 28px; } }

  /* FAQ, legal */
  .faq { border-top: 1px solid var(--rule); }
  .faq > div { padding: 16px 0; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); }
  .faq dt { font-family: var(--display); font-weight: 700; font-size: var(--s1); line-height: 1.15; }
  .faq dd a { font-weight: 600; }
  @media (max-width: 720px) { .faq > div { grid-template-columns: 1fr; gap: 6px; } }
  .faq-page { margin-bottom: 56px; }
  .legal { max-width: 70ch; padding-block: 24px 72px; }
  .legal h2 { margin-top: 28px; font-size: var(--s2); }
  .legal p { margin-top: 12px; }
  .small { font-size: .95rem; color: var(--muted); }
  .credits { padding-block: 56px 72px; }
  .credits > * { max-width: 70ch; }
  .credits h2 { font-size: var(--s2); }
  .credits h3 { margin-top: 32px; }
  .credits p, .credits ul { margin-top: 12px; }
  .credits ul { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
  .credits li { padding: 8px 0; border-bottom: 1px solid var(--hair); }

  .state-more { padding-bottom: 48px; align-items: start; }
  .state-more > .prose { grid-column: 1 / span 8; }
  @media (max-width: 900px) { .state-more > .prose { grid-column: 1 / -1; } }
  .close { margin-top: 24px; padding-left: 14px; border-left: 4px solid var(--red); font-style: italic; }

  /* 404 */
  .lost { padding-block: 60px 100px; }
}

/* 1DB's embedded form, styled as the site's own. Outside the layers on purpose: the form
   injects its own unlayered base styles, and unlayered rules beat any layer. */
lead-form { display: block; color: var(--ink); background: var(--sheet); font-family: var(--text); }
lead-form, lead-form .lf-form { --lf-gap: 14px; --lf-radius: 2px; --lf-accent: #8a2416; --lf-error: #8a2416; }
lead-form .lf-title { font-family: var(--display); font-weight: 800; font-size: var(--s3); line-height: 1; margin: 0 0 12px; }
lead-form .lf-progress { color: var(--muted); font-size: 0.95rem; }
lead-form .lf-field { margin: 0 0 14px; border: 0; padding: 0; }
lead-form .lf-group { border-top: 1px solid var(--hair); padding-top: 10px; }
lead-form legend, lead-form .lf-label { display: block; font-weight: 600; margin-bottom: 6px; }
lead-form .lf-req { color: var(--red); }
lead-form .lf-input { display: block; width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
lead-form .lf-input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
lead-form .lf-check-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 14px 8px 0; padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; cursor: pointer; }
lead-form .lf-check { width: 18px; height: 18px; accent-color: #8a2416; flex: none; }
lead-form .lf-error { color: var(--red); font-size: 0.95rem; margin-top: 4px; }
lead-form .lf-status { color: var(--muted); margin-top: 8px; }
lead-form .lf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 2px solid var(--red); border-radius: var(--radius); background: var(--red); color: var(--on-red); font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .03em; cursor: pointer; }
lead-form .lf-button:hover { background: var(--ink); border-color: var(--ink); }
lead-form .lf-secondary { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 8px 0; }
lead-form .lf-success { font-size: var(--s1); padding: 12px 0; }
lead-form .addr-suggest { background: #fff; border: 1px solid var(--rule); }
@media (max-width: 560px) { lead-form .lf-button { width: 100%; } }

