:root {
  --paper: #f3efe6;
  --paper-light: #fbf8f1;
  --ink: #20252b;
  --ink-soft: #4d5358;
  --terracotta: #c85c3f;
  --terracotta-dark: #963b25;
  --cobalt: #4e668e;
  --cobalt-dark: #34496d;
  --mustard: #e1b84b;
  --moss: #77866c;
  --cloud: #e5e7e4;
  --rule: #b6b2a8;
  --white: #fffdf8;
  --danger: #a52e2e;
  --success: #42663d;
  --shadow: 0 15px 34px rgb(32 37 43 / 10%);
  --shadow-small: 0 6px 16px rgb(32 37 43 / 9%);
  --radius: 0.3rem;
  --content: 74rem;
  --reading: 48rem;
  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, Charter, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 2.75rem, rgb(200 92 63 / 11%) 2.75rem 2.81rem, transparent 2.81rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: var(--cobalt-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta-dark);
}

:focus-visible {
  outline: 0.2rem solid var(--terracotta);
  outline-offset: 0.22rem;
}

::selection {
  color: var(--ink);
  background: var(--mustard);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin-bottom: var(--space-4);
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 600;
}

h4 {
  margin-bottom: var(--space-2);
  font-size: 1.1rem;
}

p,
li,
dd {
  text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.45rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-6) 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: var(--space-3);
  left: var(--space-3);
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell,
.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
}

.narrow {
  max-width: 40rem;
}

.measure {
  max-width: 65ch;
}

.lede {
  max-width: 62ch;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.eyebrow,
.kicker,
.meta-label,
.folio,
.stamp,
.tab-label,
.card-number {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow,
.kicker {
  margin-bottom: var(--space-3);
  color: var(--terracotta-dark);
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.88rem;
}

.quiet-link {
  color: inherit;
  text-decoration-color: var(--rule);
}

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--ink);
  background: rgb(243 239 230 / 96%);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.brand::before {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.65rem;
  border: 0.12rem solid var(--ink);
  background:
    radial-gradient(circle at center, var(--terracotta) 0 0.18rem, transparent 0.2rem),
    linear-gradient(45deg, transparent 46%, var(--ink) 47% 53%, transparent 54%);
  content: "";
  flex: 0 0 auto;
  transform: rotate(-6deg);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle:hover {
  color: var(--white);
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: clamp(0.55rem, 1.7vw, 1.35rem);
  list-style: none;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--terracotta-dark);
  box-shadow: inset 0 -0.18rem var(--terracotta);
}

.header-note {
  border-bottom: 1px solid var(--rule);
  background: var(--cloud);
}

.header-note .container {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
  gap: 0.65rem;
  font-size: 0.78rem;
}

.header-note strong {
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs {
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  list-style: none;
}

.breadcrumbs li + li {
  margin-top: 0;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.45rem;
  content: "/";
  color: var(--ink-soft);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

main {
  min-height: 60vh;
}

.page-hero,
.home-hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--ink);
}

.home-hero {
  overflow: hidden;
}

.home-hero::after,
.pattern-dots::after {
  position: absolute;
  z-index: -1;
  width: 14rem;
  height: 14rem;
  background-image: radial-gradient(var(--ink) 0.07rem, transparent 0.08rem);
  background-size: 0.75rem 0.75rem;
  content: "";
  opacity: 0.12;
}

.home-hero::after {
  top: 2rem;
  right: -4rem;
  transform: rotate(8deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy p {
  max-width: 58ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--space-5);
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 24rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  object-fit: cover;
  transform: rotate(1.2deg);
}

.hero-visual .caption-card {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: min(17rem, 88%);
  padding: 1rem;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow-small);
  font-size: 0.78rem;
  transform: rotate(-1.5deg);
}

.page-hero h1 {
  max-width: 22ch;
}

.page-hero .lede {
  margin-bottom: 0;
}

.folio {
  display: inline-flex;
  margin-bottom: var(--space-4);
  color: var(--ink-soft);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
}

.section:last-child {
  border-bottom: 0;
}

.section-compact {
  padding-block: clamp(2.2rem, 5vw, 4rem);
}

.section-ink {
  color: var(--paper-light);
  background: var(--ink);
}

.section-ink a {
  color: #d9e2f2;
}

.section-ink .eyebrow,
.section-ink .kicker {
  color: #f2a48f;
}

.section-cloud {
  background: var(--cloud);
}

.section-paper-light {
  background: var(--paper-light);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(16rem, 0.45fr);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  gap: var(--space-5);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 0;
}

.split,
.split-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
}

.split-wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.grid-2,
.grid-3,
.grid-4,
.card-grid,
.method-grid,
.research-grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2,
.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.research-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button {
  color: var(--white);
  background: var(--ink);
}

.button:hover {
  color: var(--white);
  background: var(--terracotta-dark);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--mustard);
}

.button-light {
  border-color: var(--paper-light);
  color: var(--ink);
  background: var(--paper-light);
}

.text-button {
  padding-inline: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--cobalt-dark);
  background: transparent;
}

.text-button::after,
.arrow-link::after {
  margin-left: 0.45rem;
  content: "\2192";
}

.paper-card,
.research-card,
.method-card,
.review-sheet,
.note-card,
.form-panel,
.comparison-card {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.paper-card,
.research-card,
.method-card,
.note-card,
.comparison-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.paper-card::before,
.review-sheet::before,
.note-card::before {
  position: absolute;
  top: -0.45rem;
  left: 50%;
  width: 4.5rem;
  height: 0.9rem;
  background: rgb(225 184 75 / 56%);
  content: "";
  transform: translateX(-50%) rotate(-1deg);
}

.research-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  box-shadow: var(--shadow-small);
}

.research-card:nth-child(3n + 2) {
  transform: translateY(1rem) rotate(0.35deg);
}

.research-card:nth-child(3n + 3) {
  transform: rotate(-0.35deg);
}

.research-card .arrow-link {
  margin-top: auto;
  padding-top: var(--space-4);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.method-card {
  min-height: 100%;
  border-top-width: 0.35rem;
}

.method-card:nth-child(4n + 1) {
  border-top-color: var(--terracotta);
}

.method-card:nth-child(4n + 2) {
  border-top-color: var(--cobalt);
}

.method-card:nth-child(4n + 3) {
  border-top-color: var(--mustard);
}

.method-card:nth-child(4n) {
  border-top-color: var(--moss);
}

.card-number {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--ink-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag,
.status,
.method-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 100vmax;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tag {
  color: var(--cobalt-dark);
  background: rgb(78 102 142 / 8%);
}

.status::before {
  margin-right: 0.35rem;
  content: "\25CF";
  font-size: 0.65em;
}

.status-light {
  color: var(--success);
}

.status-moderate {
  color: #775b0a;
}

.status-substantial {
  color: var(--terracotta-dark);
}

.status-varies {
  color: var(--cobalt-dark);
}

.stamp {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  border: 0.15rem double currentColor;
  color: var(--terracotta-dark);
  transform: rotate(-1.2deg);
}

.stamp-dark {
  color: var(--paper-light);
}

.review-sheet {
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.review-sheet-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-bottom: 1px solid var(--ink);
  gap: var(--space-3);
}

.review-sheet-header h2,
.review-sheet-header h3 {
  margin-bottom: 0;
}

.review-list {
  margin: 0;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.72fr) minmax(6.5rem, 0.3fr) minmax(14rem, 1fr);
  align-items: start;
  border-bottom: 1px solid var(--rule);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row dt,
.review-row dd {
  margin: 0;
  padding: 1rem;
}

.review-row dt {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-row dd {
  border-left: 1px solid var(--rule);
}

.review-row .review-value {
  font-weight: 700;
}

.criteria-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.criteria-index li {
  position: relative;
  min-height: 7.5rem;
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 3.2rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.criteria-index .card-number {
  position: absolute;
  top: 1.35rem;
  left: 1rem;
}

.criteria-index strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.criteria-index p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.timeline,
.workflow-lane,
.cadence-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline {
  position: relative;
  counter-reset: workflow-step;
}

.timeline::before {
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 1.35rem;
  width: 1px;
  background: var(--ink);
  content: "";
}

.timeline > li {
  position: relative;
  margin: 0;
  padding: 0 0 var(--space-5) 4rem;
  counter-increment: workflow-step;
}

.timeline > li::before {
  position: absolute;
  z-index: 1;
  top: -0.05rem;
  left: 0;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  content: counter(workflow-step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 0.45rem;
}

.timeline p {
  max-width: 62ch;
}

.week-board {
  border: 1px solid var(--ink);
  background: var(--paper-light);
  overflow: hidden;
}

.week-board-header,
.week-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.35fr) repeat(4, minmax(10rem, 1fr));
}

.week-board-header {
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.week-board-header > *,
.week-row > * {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid var(--rule);
}

.week-board-header > *:last-child,
.week-row > *:last-child {
  border-right: 0;
}

.week-row {
  border-bottom: 1px solid var(--rule);
}

.week-row:last-child {
  border-bottom: 0;
}

.week-day {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.week-cell strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
}

.week-cell p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.workflow-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.workflow-lane {
  min-width: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.workflow-lane h3 {
  min-height: 6rem;
  margin: 0;
  padding: 1.25rem;
  color: var(--paper-light);
  background: var(--ink);
  font-size: 1.25rem;
}

.workflow-lane li {
  margin: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}

.workflow-lane li::before {
  margin-right: 0.45rem;
  color: var(--terracotta-dark);
  content: "\2192";
  font-weight: 700;
}

.cadence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.cadence-card {
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.cadence-card .tab-label {
  display: inline-flex;
  margin-bottom: var(--space-4);
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--ink);
  background: var(--mustard);
}

.cadence-card:nth-child(2) .tab-label {
  color: var(--white);
  background: var(--cobalt);
}

.cadence-card:nth-child(3) .tab-label {
  color: var(--white);
  background: var(--terracotta-dark);
}

.comparison-table-wrap {
  max-width: 100%;
  border: 1px solid var(--ink);
  overflow-x: auto;
  background: var(--paper-light);
}

.comparison-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table thead th {
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  font-family: var(--serif);
  font-size: 1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
  gap: 0.55rem;
}

.filter-button {
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 100vmax;
  color: var(--ink);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: var(--paper-light);
  background: var(--ink);
}

.review-catalog-card[hidden] {
  display: none;
}

.editorial-note,
.independence-note,
.warning-note,
.fact-note,
.fiction-note {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--ink);
  border-left-width: 0.45rem;
  background: var(--paper-light);
}

.editorial-note,
.independence-note {
  border-left-color: var(--cobalt);
}

.warning-note {
  border-left-color: var(--terracotta-dark);
}

.fact-note {
  border-left-color: var(--moss);
}

.fiction-note {
  border-left-color: var(--mustard);
}

.editorial-note .meta-label,
.independence-note .meta-label,
.warning-note .meta-label,
.fact-note .meta-label,
.fiction-note .meta-label {
  display: block;
  margin-bottom: 0.65rem;
}

.photo-panel {
  margin: 0;
}

.photo-panel img {
  width: 100%;
  max-height: 45rem;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-small);
  object-fit: cover;
}

.photo-panel figcaption {
  margin-top: 0.7rem;
  padding-left: 1rem;
  border-left: 0.2rem solid var(--terracotta);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.portrait-crop img {
  aspect-ratio: 4 / 5;
}

.landscape-crop img {
  aspect-ratio: 3 / 2;
}

.form-panel {
  padding: clamp(1.4rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-small);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.68rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta-dark);
  box-shadow: 0 0 0 0.14rem rgb(200 92 63 / 24%);
  outline: 0;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
}

.checkbox-field input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.18rem;
  accent-color: var(--terracotta-dark);
}

.checkbox-field label {
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-4);
  gap: 0.75rem;
}

.form-status {
  margin-top: var(--space-3);
  padding: 0.85rem 1rem;
  border-left: 0.3rem solid var(--cobalt);
  background: var(--cloud);
  font-size: 0.9rem;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  border-left-color: var(--danger);
  color: #701f1f;
  background: #f8e4e0;
}

.form-status[data-state="success"] {
  border-left-color: var(--success);
  color: #244921;
  background: #e4eddf;
}

.prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 0.5rem 1.5rem;
  list-style: none;
}

.prohibited-list li {
  position: relative;
  margin: 0;
  padding-left: 1.4rem;
}

.prohibited-list li::before {
  position: absolute;
  left: 0;
  color: var(--danger);
  content: "\00D7";
  font-weight: 800;
}

.glossary-index {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
  gap: 0.5rem;
}

.glossary-index a {
  display: inline-grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--mono);
  font-weight: 700;
  text-decoration: none;
}

.glossary-index a:hover {
  background: var(--mustard);
}

.details-list {
  border-top: 1px solid var(--ink);
}

.details-list details {
  border-bottom: 1px solid var(--ink);
}

.details-list summary {
  position: relative;
  min-height: 3.75rem;
  padding: 1rem 3.2rem 1rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.details-list summary::-webkit-details-marker {
  display: none;
}

.details-list summary::after {
  position: absolute;
  top: 0.78rem;
  right: 0;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid var(--ink);
  content: "+";
  font-family: var(--mono);
}

.details-list details[open] summary::after {
  content: "\2212";
  background: var(--mustard);
}

.details-content {
  max-width: 65ch;
  padding-bottom: 1.4rem;
}

.definition-list {
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
}

.definition-list dt,
.definition-list dd {
  margin: 0;
  padding: 1rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.definition-list dt {
  font-family: var(--serif);
  font-weight: 700;
}

.definition-list dd {
  border-right: 0;
}

.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.source-list li:first-child {
  border-top: 1px solid var(--rule);
}

.source-list li + li {
  margin-top: 0;
}

.source-list a {
  overflow-wrap: anywhere;
}

.contact-card {
  padding: var(--space-4);
  border: 1px solid var(--ink);
  background: var(--paper-light);
}

.contact-card address {
  font-style: normal;
}

.contact-card a,
.site-footer a {
  overflow-wrap: anywhere;
}

.no-winner {
  display: flex;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid var(--ink);
  background: var(--mustard);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.no-winner::before {
  margin-right: 0.75rem;
  content: "\2194";
  font-family: var(--mono);
  font-size: 1.35rem;
}

.site-footer {
  color: var(--paper-light);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) repeat(2, minmax(10rem, 0.55fr));
  padding-block: clamp(3rem, 7vw, 5.5rem);
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer h2,
.site-footer h3 {
  font-size: 1.15rem;
}

.site-footer .brand {
  margin-bottom: var(--space-3);
  color: var(--paper-light);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #e6e9ef;
}

.footer-bottom {
  padding-block: 1rem;
  border-top: 1px solid rgb(243 239 230 / 30%);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding-block: var(--space-7);
  text-align: center;
}

.error-code {
  display: block;
  color: var(--terracotta-dark);
  font-family: var(--mono);
  font-size: clamp(5rem, 20vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.error-page h1 {
  max-width: none;
  margin-top: var(--space-4);
  font-size: clamp(2rem, 6vw, 4rem);
}

.noscript-note {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: var(--mustard);
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 64rem) {
  body {
    background:
      linear-gradient(90deg, transparent 0 1rem, rgb(200 92 63 / 10%) 1rem 1.05rem, transparent 1.05rem),
      var(--paper);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    background: var(--paper-light);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"],
  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    width: min(calc(100% - 2rem), var(--content));
    margin-inline: auto;
    padding-block: 0.5rem;
    gap: 0;
  }

  .site-nav a {
    width: 100%;
    min-height: 3rem;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    box-shadow: none;
  }

  .grid-4,
  .method-grid,
  .workflow-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .week-board {
    overflow-x: auto;
  }

  .week-board-header,
  .week-row {
    min-width: 54rem;
  }
}

@media (max-width: 48rem) {
  .hero-grid,
  .split,
  .split-wide,
  .section-heading,
  .grid-2,
  .grid-3,
  .card-grid,
  .research-grid,
  .cadence-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 18rem;
  }

  .section-heading {
    align-items: start;
  }

  .research-card:nth-child(3n + 2),
  .research-card:nth-child(3n + 3) {
    transform: none;
  }

  .criteria-index {
    grid-template-columns: 1fr;
  }

  .review-row {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .review-row dt,
  .review-row dd {
    padding: 0;
  }

  .review-row dd {
    margin-top: 0.4rem;
    border-left: 0;
  }

  .review-row .review-value {
    margin-top: 0.65rem;
  }

  .form-grid,
  .prohibited-list,
  .definition-list {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .definition-list dt {
    padding-bottom: 0.35rem;
    border-right: 0;
    border-bottom: 0;
  }

  .definition-list dd {
    padding-top: 0.35rem;
  }
}

@media (max-width: 36rem) {
  .site-shell,
  .container {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .header-row {
    min-height: 4.4rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand::before {
    width: 1rem;
    height: 1rem;
    margin-right: 0.45rem;
  }

  .grid-4,
  .method-grid,
  .workflow-lanes {
    grid-template-columns: 1fr;
  }

  .workflow-lane h3 {
    min-height: auto;
  }

  .hero-actions,
  .button-row,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .button-row .button,
  .form-actions .button {
    width: 100%;
  }

  .hero-visual .caption-card {
    right: 0;
  }

  .review-sheet-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    --paper: #fff;
    --paper-light: #fff;
    --ink: #000;
    --ink-soft: #333;
    --rule: #777;
  }

  @page {
    margin: 1.5cm;
  }

  body {
    min-width: 0;
    color: #000;
    background: #fff;
    font-size: 10.5pt;
  }

  .site-header,
  .header-note,
  .breadcrumbs,
  .hero-actions,
  .button-row,
  .filter-bar,
  .form-panel,
  .photo-panel,
  .site-footer,
  .skip-link,
  .no-print {
    display: none !important;
  }

  main,
  .section,
  .page-hero,
  .home-hero {
    border: 0;
  }

  .section,
  .page-hero,
  .home-hero {
    padding-block: 1.2rem;
  }

  h1 {
    max-width: none;
    font-size: 26pt;
  }

  h2 {
    font-size: 20pt;
  }

  h3 {
    font-size: 14pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href^="http"]::after,
  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-family: var(--sans);
    font-size: 8pt;
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  .review-sheet,
  .paper-card,
  .method-card,
  .research-card,
  .editorial-note,
  .independence-note,
  .warning-note,
  .fact-note,
  .fiction-note,
  .comparison-table-wrap,
  .week-board {
    box-shadow: none;
    break-inside: avoid;
  }

  .review-row {
    grid-template-columns: 28% 18% 54%;
  }

  .review-row dd {
    border-left: 1px solid #777;
  }

  .week-board {
    overflow: visible;
  }

  .week-board-header,
  .week-row {
    min-width: 0;
  }

  .section-ink {
    color: #000;
    background: #fff;
  }

  .stamp-dark {
    color: #000;
  }
}
