@font-face { font-family: 'Libre Bodoni'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Bodoni'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-bodoni-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'IBM Plex Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-condensed-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f2f4f4;
  --fg-light-base-body: #161d1f;
  --fg-light-base-heading: #161d1f;
  --fg-light-base-muted: #4c5859;
  --fg-light-base-link: #096b64;
  --fg-light-base-inverse: #34403f;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #161d1f;
  --fg-light-card-heading: #161d1f;
  --fg-light-card-muted: #4c5859;
  --fg-light-card-link: #096b64;
  --fg-light-card-inverse: #34403f;
  --bg-light-elevated: #cfdcdb;
  --fg-light-elevated-body: #161d1f;
  --fg-light-elevated-heading: #161d1f;
  --fg-light-elevated-muted: #4c5859;
  --fg-light-elevated-link: #096b64;
  --fg-light-elevated-inverse: #34403f;
  --brand-light-accent: #096b64;
  --brand-light-accent-hover: #07514c;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #096b64;
  --border-light-default: #6a7677;
  --border-light-subtle: #a9c2bf;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* UWS Laser Skin Journal: report sheets on cool grey with a grey-teal index rail on the right. Libre Bodoni over condensed Plex. */

:root {
  --font-heading: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  --measure: 64ch;
  --gutter: clamp(1rem, 4vw, 3rem);
  --content-max: 60rem;
  --rail: 17rem;
  --unit: 0.5rem;
  --hair: 1px solid var(--border-light-subtle);
  --line: 1px solid var(--border-light-default);
  --beam: 3px solid var(--brand-light-accent);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: calc(var(--unit) * 6) 0 calc(var(--unit) * 1.5);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: calc(var(--unit) * 4) 0 var(--unit);
}

p,
ul,
ol {
  margin: 0 0 calc(var(--unit) * 2);
}

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

li + li {
  margin-top: calc(var(--unit) * 0.75);
}

a.text-role-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a.text-role-link:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus-light-ring);
  outline-offset: 2px;
}

strong {
  font-weight: 600;
}

main {
  display: block;
}

/* ---------- Shell: sheet on the left, index rail on the right ---------- */

.beam-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--unit) * 2);
  padding: calc(var(--unit) * 1.5) var(--gutter);
  border-bottom: 4px solid var(--brand-light-accent);
}

.beam-brand {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--unit) * 1.25);
  min-width: 0;
  text-decoration: none;
}

.beam-brand .site-logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.beam-wordmark {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
}

.beam-sheet {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.beam-sheet > main {
  flex: 1 0 auto;
}

/* Rail index (desktop) */

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav > ul > li {
  border-top: 1px solid var(--fg-muted);
}

.site-nav > ul > li:last-child {
  border-bottom: 1px solid var(--fg-muted);
}

.site-nav > ul > li > a,
.site-nav-group > summary {
  display: block;
  padding: calc(var(--unit) * 1.5) 0 calc(var(--unit) * 1.5) calc(var(--unit) * 1.75);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.site-nav > ul > li > a:hover,
.site-nav-group > summary:hover {
  border-left-color: var(--fg-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.site-nav-group > summary {
  list-style: none;
  cursor: pointer;
  color: var(--fg-heading);
}

.site-nav-group > summary::-webkit-details-marker {
  display: none;
}

.site-nav-group[open] > summary {
  border-left-color: var(--fg-body);
}

.site-nav-group > ul {
  padding: 0 0 var(--unit) calc(var(--unit) * 3);
}

.site-nav-group > ul a {
  display: block;
  padding: calc(var(--unit) * 0.75) 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

/* Phone menu */

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--unit) * 1.25);
  min-height: 2.75rem;
  padding: 0 calc(var(--unit) * 1.5);
  border: 1px solid var(--fg-muted);
  color: var(--fg-heading);
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.site-menu .menu-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  transform: rotate(45deg) scale(0.8);
}

.site-menu[open] .menu-icon {
  background: currentColor;
}

.site-menu .menu-label {
  font-size: 1rem;
}

.site-menu > ul {
  list-style: none;
}

.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: var(--unit) var(--gutter) calc(var(--unit) * 3);
  background: var(--bg-light-elevated);
  border-bottom: 4px solid var(--brand-light-accent);
}

.site-menu li {
  margin: 0;
}

.site-menu > ul a {
  display: block;
  padding: calc(var(--unit) * 1.4) 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  border-bottom: 1px solid var(--fg-muted);
  text-decoration: none;
}

.site-menu > ul ul {
  list-style: none;
  margin: 0;
  padding-left: calc(var(--unit) * 2);
}

@media (max-width: 25rem) {
  .beam-wordmark {
    font-size: 1rem;
  }

  .site-menu .menu-label {
    font-size: 0.92rem;
  }
}

@media (min-width: 64rem) {
  .beam-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--rail);
  }

  .site-header {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: calc(var(--unit) * 5);
    padding: calc(var(--unit) * 4) calc(var(--unit) * 3);
    border-bottom: 0;
    border-left: 6px solid var(--brand-light-accent);
  }

  .beam-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--unit) * 1.5);
  }

  .beam-brand .site-logo {
    width: 3rem;
    height: 3rem;
  }

  .beam-wordmark {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .beam-sheet {
    grid-column: 1;
    grid-row: 1;
  }

  .site-nav {
    display: block;
  }

  .site-menu {
    display: none;
  }
}

/* ---------- Shared body blocks ---------- */

.breadcrumbs {
  margin-inline: auto;
  max-width: var(--content-max);
  padding: calc(var(--unit) * 2.5) var(--gutter) 0;
  font-size: 0.92rem;
}

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

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--fg-muted);
}

.photo-hero,
.photo-inline {
  margin: 0 0 calc(var(--unit) * 3);
}

.photo-hero img,
.photo-inline img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-inline {
  padding-bottom: var(--unit);
  border-bottom: var(--beam);
}

section[data-section][style] {
  background-size: cover;
  background-position: center;
  margin: calc(var(--unit) * 4) 0;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
}

section[data-section][style] > .bg-surface-card {
  max-width: 38rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 6px solid var(--brand-light-accent);
}

section[data-section][style] > .bg-surface-card > :first-child {
  margin-top: 0;
}

blockquote.accent-block {
  margin: calc(var(--unit) * 3) 0;
  padding: calc(var(--unit) * 2) calc(var(--unit) * 2.5);
  border-left: 6px solid var(--brand-light-accent);
  background: var(--bg-light-base);
}

blockquote.accent-block > :last-child {
  margin-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
  margin: calc(var(--unit) * 3) 0;
}

.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

.table-scroll th,
.table-scroll td {
  padding: var(--unit) calc(var(--unit) * 1.5);
  border-bottom: var(--hair);
  text-align: left;
  vertical-align: top;
}

.table-scroll th {
  font-weight: 600;
  border-bottom: var(--line);
}

/* ---------- Home: masthead, lead entry beside the entry register ---------- */

.pg-home {
  margin-inline: auto;
  width: 100%;
  max-width: var(--content-max);
  padding: 0 var(--gutter) calc(var(--unit) * 8);
}

.home-head {
  padding: clamp(2rem, 6vw, 4.5rem) 0 calc(var(--unit) * 4);
  border-bottom: var(--line);
}

.home-title h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  max-width: 17ch;
}

.home-lines {
  margin-top: calc(var(--unit) * 3);
  max-width: 44rem;
}

.home-lines .display-line {
  margin: 0;
  padding: var(--unit) 0 var(--unit) calc(var(--unit) * 2);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  border-left: var(--beam);
}

.home-lines .display-line + .display-line {
  margin-top: var(--unit);
}

.home-grid {
  display: grid;
  gap: calc(var(--unit) * 4);
  padding-top: calc(var(--unit) * 4);
}

.home-lead {
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
}

.home-lead > * {
  max-width: var(--measure);
}

.home-lead > figure {
  max-width: none;
}

.home-lead > :first-child {
  margin-top: 0;
}

.home-lead > figure + p,
.home-lead > p:first-child {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.home-register {
  align-self: start;
}

.register-group {
  margin: 0 0 var(--unit);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.register-list + .register-group {
  margin-top: calc(var(--unit) * 4);
}

.register-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--beam);
}

.register-list > li {
  margin: 0;
  border-bottom: var(--hair);
}

.register-list a {
  display: block;
  padding: calc(var(--unit) * 1.25) 0;
  line-height: 1.35;
  text-decoration: none;
}

.register-list a:hover {
  text-decoration: underline;
}

@media (min-width: 50rem) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
  }
}

/* ---------- Topic hub: abstract then stepped sections ---------- */

.pg-dossier {
  margin-inline: auto;
  width: 100%;
  max-width: var(--content-max);
  padding: calc(var(--unit) * 3) var(--gutter) calc(var(--unit) * 8);
}

.dossier-title {
  padding: calc(var(--unit) * 3) 0;
  border-bottom: var(--line);
}

.dossier-title h1 {
  max-width: 20ch;
}

.dossier-steps {
  padding-top: calc(var(--unit) * 4);
}

.dossier-steps > * {
  max-width: var(--measure);
}

.dossier-steps > figure,
.dossier-steps > section {
  max-width: none;
}

.dossier-steps > figure + p,
.dossier-steps > p:first-child {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.55;
  padding-bottom: calc(var(--unit) * 3);
  border-bottom: var(--hair);
}

.dossier-steps > h2 {
  padding-left: calc(var(--unit) * 2);
  border-left: var(--beam);
}

.dossier-steps > h2 + * {
  margin-top: calc(var(--unit) * 1.5);
}

.dossier-steps ul {
  list-style: none;
  padding: 0;
}

.dossier-steps ul > li {
  margin: 0;
  padding: var(--unit) 0;
  border-bottom: var(--hair);
}

@media (min-width: 52rem) {
  .dossier-steps > h2:nth-of-type(2),
  .dossier-steps > h2:nth-of-type(2) ~ * {
    margin-left: 2.5rem;
  }

  .dossier-steps > h2:nth-of-type(3),
  .dossier-steps > h2:nth-of-type(3) ~ * {
    margin-left: 5rem;
  }

  .dossier-steps > h2:nth-of-type(n + 4),
  .dossier-steps > h2:nth-of-type(n + 4) ~ * {
    margin-left: 7.5rem;
  }
}

/* ---------- Article: one-column report ---------- */

.pg-report {
  margin-inline: auto;
  width: 100%;
  max-width: calc(var(--measure) + 6rem);
  padding: calc(var(--unit) * 3) var(--gutter) calc(var(--unit) * 8);
}

.report-title {
  padding: calc(var(--unit) * 3) 0;
}

.report-title h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.report-body {
  counter-reset: report-section;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border-top: var(--beam);
}

.report-body > * {
  max-width: var(--measure);
}

.report-body > figure {
  max-width: none;
}

.report-body > :first-child {
  margin-top: 0;
}

.report-body > p:first-of-type {
  padding: calc(var(--unit) * 2) calc(var(--unit) * 2.5);
  font-size: 1.12rem;
  line-height: 1.5;
  border: var(--hair);
  border-left: 6px solid var(--brand-light-accent);
}

.report-body > h2 {
  counter-increment: report-section;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: baseline;
  padding-top: calc(var(--unit) * 2);
  border-top: var(--hair);
}

.report-body > h2::before {
  content: counter(report-section, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-link);
}

.report-body figcaption {
  margin-top: var(--unit);
  font-size: 0.92rem;
  color: var(--fg-muted);
}

/* ---------- About: title column beside the methods note ---------- */

.pg-editor {
  margin-inline: auto;
  width: 100%;
  max-width: var(--content-max);
  padding: calc(var(--unit) * 4) var(--gutter) calc(var(--unit) * 8);
  display: grid;
  gap: calc(var(--unit) * 3);
}

.editor-title {
  align-self: start;
  padding-top: calc(var(--unit) * 2);
  border-top: var(--beam);
}

.editor-title h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.editor-note {
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
}

.editor-note > * {
  max-width: var(--measure);
}

.editor-note > :first-child {
  margin-top: 0;
}

.editor-note > h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  padding-top: calc(var(--unit) * 2);
  border-top: var(--hair);
}

@media (min-width: 56rem) {
  .pg-editor {
    grid-template-columns: minmax(15rem, 4fr) minmax(0, 7fr);
    gap: calc(var(--unit) * 5);
  }
}

/* ---------- Contact: report form with a side note ---------- */

.pg-form {
  margin-inline: auto;
  width: 100%;
  max-width: var(--content-max);
  padding: calc(var(--unit) * 4) var(--gutter) calc(var(--unit) * 8);
}

.form-title {
  padding-bottom: calc(var(--unit) * 3);
  border-bottom: var(--line);
}

.form-grid {
  display: grid;
  gap: calc(var(--unit) * 4);
  padding-top: calc(var(--unit) * 3);
}

.form-sheet {
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border-top: var(--beam);
}

.form-aside {
  align-self: start;
  font-size: 0.98rem;
}

.form-aside > :first-child {
  margin-top: 0;
}

.form-aside h2 {
  font-size: 1.3rem;
  margin-top: calc(var(--unit) * 3);
}

.report-form {
  display: grid;
  gap: calc(var(--unit) * 2.5);
}

.report-field {
  display: grid;
  gap: calc(var(--unit) * 0.75);
}

.report-field label {
  font-weight: 600;
  font-size: 0.98rem;
}

.report-field input,
.report-field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: calc(var(--unit) * 1.25) calc(var(--unit) * 1.5);
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-card);
  border: var(--line);
  border-radius: 0;
}

.report-field textarea {
  resize: vertical;
}

.report-field input:focus-visible,
.report-field textarea:focus-visible {
  outline: 2px solid var(--focus-light-ring);
  outline-offset: 1px;
}

.report-submit {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0 calc(var(--unit) * 3);
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.report-submit:hover {
  background: var(--brand-light-accent-hover);
}

@media (min-width: 60rem) {
  .form-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }
}

/* ---------- Thank you: filed slip ---------- */

.pg-filed {
  margin-inline: auto;
  width: 100%;
  max-width: calc(var(--measure) + 6rem);
  padding: calc(var(--unit) * 5) var(--gutter) calc(var(--unit) * 8);
}

.filed-slip {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-left: 6px solid var(--brand-light-accent);
}

.filed-slip > * {
  max-width: var(--measure);
}

.filed-title h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: calc(var(--unit) * 3);
}

.filed-next {
  margin: calc(var(--unit) * 4) 0 0;
  padding-top: calc(var(--unit) * 2);
  border-top: var(--hair);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.beam-footer {
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--content-max) - 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--unit) * 3) 0 calc(var(--unit) * 4);
  border-top: var(--line);
}

.beam-strap {
  margin: 0 0 var(--unit);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
}

.beam-footer-line {
  margin: 0;
  max-width: 44rem;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
