@font-face { font-family: 'Baskervville'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/baskervville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Baskervville'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/baskervville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Baskervville'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/baskervville-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/anuphan-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/anuphan-latin-600-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f8f4e1;
  --fg-light-base-body: #24210f;
  --fg-light-base-heading: #24210f;
  --fg-light-base-muted: #5a5438;
  --fg-light-base-link: #5a6510;
  --fg-light-base-inverse: #24210f;
  --bg-light-card: #efe8c9;
  --fg-light-card-body: #24210f;
  --fg-light-card-heading: #24210f;
  --fg-light-card-muted: #5a5438;
  --fg-light-card-link: #5a6510;
  --fg-light-card-inverse: #24210f;
  --bg-light-elevated: #fffdf4;
  --fg-light-elevated-body: #24210f;
  --fg-light-elevated-heading: #24210f;
  --fg-light-elevated-muted: #5a5438;
  --fg-light-elevated-link: #5a6510;
  --fg-light-elevated-inverse: #24210f;
  --brand-light-accent: #5a6510;
  --brand-light-accent-hover: #3c4909;
  --brand-light-on-accent: #fffdf4;
  --focus-light-ring: #5a6510;
  --border-light-default: #8a8160;
  --border-light-subtle: #ddd3a8;
}
.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; }
: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); }

/* Peel & Shield: a clinical field journal on ruled cream paper */

:root {
  --font-heading: 'Baskervville', Georgia, 'Times New Roman', serif;
  --font-body: 'Anuphan', 'Segoe UI', Tahoma, sans-serif;
  --paper: #f8f4e1;
  --sheet: #fffdf4;
  --band: #efe8c9;
  --ink: #24210f;
  --ink-soft: #423d26;
  --ink-muted: #5a5438;
  --olive: #5a6510;
  --olive-deep: #3c4909;
  --gold: #e2cf6a;
  --gold-wash: #f1e6a6;
  --rule: #ddd3a8;
  --rule-strong: #8a8160;
  --margin-rule: #cf9a8e;
  --line: 2rem;
  --measure: 64ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.25rem;
  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 2.6vw, 1.875rem);
  --step-3: clamp(1.875rem, 4vw, 2.625rem);
  --step-4: clamp(2.375rem, 6.4vw, 4.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: var(--step-4);
  margin: 0;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h2 {
  font-size: var(--step-2);
  margin: 2.75rem 0 0.8rem;
  text-wrap: balance;
}

h3 {
  font-size: var(--step-1);
  margin: 2rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1.15rem;
}

a {
  color: var(--olive);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--olive-deep);
  text-decoration-color: currentColor;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--sheet);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 3px 0 -1px var(--gold-wash);
}

.header-inner {
  max-width: 76rem;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}

.brand .site-logo {
  display: block;
  width: 11.5rem;
  max-width: 100%;
  height: auto;
}

.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-narrow {
  flex: none;
}

.nav-wide {
  display: none;
}

.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
}

.site-nav > ul > li {
  position: relative;
  flex: none;
}

.site-nav > ul > li > a,
.site-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav-group > summary {
  list-style: none;
}

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

.site-nav-group > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
}

.site-nav > ul > li > a:hover,
.site-nav-group > summary:hover,
.site-nav-group[open] > summary {
  background: linear-gradient(transparent 62%, var(--gold-wash) 62%);
}

.site-nav-group > ul {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  width: max-content;
  max-width: 22rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  box-shadow: 0.35rem 0.35rem 0 var(--band);
}

.site-nav-group > ul a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: var(--step--1);
  line-height: 1.4;
  text-decoration: none;
}

.site-nav-group > ul li + li a {
  border-top: 1px solid var(--rule);
}

.site-nav-group > ul a:hover {
  background: var(--band);
}

.site-menu {
  position: relative;
}

.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule-strong);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}

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

.menu-label {
  white-space: nowrap;
}

.menu-icon {
  flex: none;
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-menu[open] > summary {
  background: var(--gold-wash);
}

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(20rem, calc(100vw - 2rem));
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  box-shadow: 0.35rem 0.35rem 0 var(--band);
}

.site-menu ul a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.site-menu ul a:hover {
  background: var(--band);
}

.site-menu ul ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem 0.9rem;
}

.site-menu ul ul a {
  font-weight: 400;
  font-size: var(--step--1);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

@media (min-width: 64rem) {
  .nav-wide {
    display: block;
    flex: none;
  }

  .nav-narrow {
    display: none;
  }

  .brand .site-logo {
    width: 12.5rem;
  }
}

/* ---------- frame ---------- */

.page-frame {
  flex: 1 0 auto;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5.5rem);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: var(--step--1);
}

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

/* The ruled page: faint lines on the writing grid, a rose margin rule at the left. */
.ruled {
  position: relative;
  background-color: var(--sheet);
  background-image:
    linear-gradient(90deg, transparent 2.25rem, var(--margin-rule) 2.25rem, var(--margin-rule) calc(2.25rem + 1px), transparent calc(2.25rem + 1px)),
    repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--line) - 1px), var(--rule) calc(var(--line) - 1px), var(--rule) var(--line));
  border: 1px solid var(--rule);
}

.prose {
  max-width: var(--measure);
}

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

.prose ul,
.prose ol {
  list-style: none;
  padding: 0;
}

.prose ul > li,
.prose ol > li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.55rem;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.72em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border: 1px solid var(--olive);
  border-radius: 50%;
}

.prose ol {
  counter-reset: entry;
}

.prose ol > li {
  counter-increment: entry;
}

.prose ol > li::before {
  content: counter(entry) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--olive);
}

.accent-block {
  margin: 2rem 0;
  padding: 1rem 1.25rem 1rem 3rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--step-1);
  line-height: var(--line);
  color: var(--ink-soft);
}

.prose blockquote {
  margin: 2rem 0;
}

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

.accent-block {
  background-color: var(--sheet);
  background-image:
    linear-gradient(90deg, transparent 2rem, var(--margin-rule) 2rem, var(--margin-rule) calc(2rem + 1px), transparent calc(2rem + 1px)),
    repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--line) - 1px), var(--rule) calc(var(--line) - 1px), var(--rule) var(--line));
  border: 1px solid var(--rule);
}

.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
}

.table-scroll table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--step--1);
}

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

.table-scroll th {
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--band);
}

.table-scroll tr:last-child td {
  border-bottom: 0;
}

figure {
  margin: 2.25rem 0;
}

figure img {
  display: block;
  width: 100%;
  border: 0.5rem solid var(--sheet);
  outline: 1px solid var(--rule-strong);
}

figcaption {
  font-size: var(--step--1);
  margin-top: 0.6rem;
  color: var(--ink-muted);
}

section[data-section][style] {
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 5vw, 3.5rem);
  outline: 1px solid var(--rule-strong);
  outline-offset: -1px;
}

section[data-section][style] > .bg-surface-card {
  max-width: 34rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--rule-strong);
}

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

/* ---------- home: cover spread, then the entries step down the page ---------- */

.home-cover {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem) calc(var(--line) * 1.5) 3.5rem;
}

.cover-words h1 {
  max-width: 17ch;
  line-height: 1.08;
}

.cover-lines {
  margin-top: var(--line);
  max-width: 38rem;
}

.display-line {
  margin: 0;
  line-height: var(--line);
  font-size: var(--step-0);
  color: var(--ink-soft);
}

.display-line:first-child {
  font-size: var(--step-1);
  color: var(--ink);
  background-image: linear-gradient(transparent 58%, var(--gold-wash) 58%, var(--gold-wash) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
}

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

.display-line:first-child + .display-line {
  display: block;
}

.home-body {
  --lvl: 0;
  counter-reset: stage;
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.home-body > .photo-hero {
  max-width: 54rem;
  margin: 0 0 clamp(2rem, 5vw, 3.25rem);
}

.home-body > .photo-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-body > p:first-of-type {
  font-size: var(--step-1);
  line-height: 1.6;
}

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

.home-body > h2 {
  counter-increment: stage;
  position: relative;
  padding-left: 3.75rem;
  margin-top: 3.25rem;
  min-height: 2.75rem;
}

.home-body > h2::before {
  content: counter(stage);
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--olive);
  border-radius: 50%;
}

.home-body > h2 ~ :not(h2):not(figure) {
  padding-left: 3.75rem;
}

.home-body > h2 ~ figure {
  margin-left: 3.75rem;
}

.home-body > h2:nth-of-type(2),
.home-body > h2:nth-of-type(2) ~ * {
  --lvl: 1;
}

.home-body > h2:nth-of-type(3),
.home-body > h2:nth-of-type(3) ~ * {
  --lvl: 2;
}

.home-body > h2:nth-of-type(4),
.home-body > h2:nth-of-type(4) ~ * {
  --lvl: 3;
}

.home-body > h2:nth-of-type(n + 5),
.home-body > h2:nth-of-type(n + 5) ~ * {
  --lvl: 4;
}

@media (min-width: 56rem) {
  .home-cover {
    padding-left: 4.5rem;
  }

  .home-body > h2,
  .home-body > h2 ~ * {
    margin-left: calc(var(--lvl) * 3.5rem);
  }

  .home-body > h2 ~ figure {
    margin-left: calc(var(--lvl) * 3.5rem + 3.75rem);
  }

  .home-body > h2:not(:first-of-type)::after {
    content: "";
    position: absolute;
    left: calc(1.375rem - 3.5rem);
    top: -2.6rem;
    width: 3.5rem;
    height: 2.4rem;
    border-left: 1px dashed var(--rule-strong);
    border-bottom: 1px dashed var(--rule-strong);
  }
}

/* ---------- topic hub: the chapter index ---------- */

.hub-head,
.article-head,
.contact-head,
.thanks-head {
  padding-top: clamp(1.75rem, 5vw, 3.25rem);
  margin-bottom: 1.75rem;
}

.hub-head h1 {
  max-width: 20ch;
}

.hub-body .photo-hero img {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.hub-chapters {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 3px double var(--rule-strong);
}

.hub-chapters ul {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: chapter;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.hub-chapters li {
  counter-increment: chapter;
  margin: 0;
}

.hub-chapters a {
  display: block;
  height: 100%;
  min-height: 9rem;
  padding: 1rem 1.25rem 1.25rem 3rem;
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: var(--line);
  color: var(--ink);
  text-decoration: none;
  background-color: var(--sheet);
  background-image:
    linear-gradient(90deg, transparent 2rem, var(--margin-rule) 2rem, var(--margin-rule) calc(2rem + 1px), transparent calc(2rem + 1px)),
    repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--line) - 1px), var(--rule) calc(var(--line) - 1px), var(--rule) var(--line));
  border: 1px solid var(--rule-strong);
}

.hub-chapters a::before {
  content: "Chapter " counter(chapter);
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-0);
  color: var(--olive);
}

.hub-chapters a:hover {
  box-shadow: 0.35rem 0.35rem 0 var(--gold-wash);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

/* ---------- article: one narrow journal column ---------- */

.article {
  max-width: 44rem;
  margin: 0 auto;
}

.article-head h1 {
  font-size: var(--step-3);
  max-width: 24ch;
}

.article-head {
  padding-bottom: 1rem;
  border-bottom: 3px double var(--rule-strong);
}

.article-body .photo-hero img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-body > p:first-of-type {
  font-size: var(--step-1);
  line-height: 1.6;
}

/* ---------- about: foreword beside the text ---------- */

.about-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: clamp(1.75rem, 5vw, 3.25rem);
}

.about-head h1 {
  font-size: var(--step-3);
  max-width: 16ch;
}

.about-text .signoff {
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-strong);
  max-width: 18rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
}

@media (min-width: 56rem) {
  .about-columns {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(3rem, 6vw, 5rem);
  }

  .about-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
  }
}

/* ---------- contact: letter beside the lined card ---------- */

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

.contact-head h1 {
  font-size: var(--step-3);
}

.contact-form {
  align-self: start;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2rem) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field-label {
  font-weight: 600;
  font-size: var(--step--1);
}

.field-note {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: var(--line);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 1px;
}

.form-button {
  justify-self: start;
  min-height: 3rem;
  padding: 0.6rem 1.6rem;
  font: inherit;
  font-weight: 600;
  color: #fffdf4;
  background: var(--olive);
  border: 0;
  box-shadow: 0.3rem 0.3rem 0 var(--gold);
  cursor: pointer;
}

.form-button:hover {
  background: var(--olive-deep);
}

@media (min-width: 36rem) {
  .contact-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .field-wide,
  .form-button {
    grid-column: 1 / -1;
  }
}

@media (min-width: 60rem) {
  .contact-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    padding-top: clamp(1.75rem, 5vw, 3.25rem);
  }

  .contact-split .contact-head {
    padding-top: 0;
  }
}

/* ---------- thank you: the short note ---------- */

.thanks {
  max-width: 40rem;
  margin: 0 auto;
}

.thanks-rule {
  height: 0;
  margin: 0 0 1.75rem;
  border: 0;
  border-top: 3px double var(--rule-strong);
}

.thanks-links {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.thanks-links a {
  display: block;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
}

.thanks-links a:hover {
  box-shadow: 0.35rem 0.35rem 0 var(--gold-wash);
}

@media (min-width: 36rem) {
  .thanks-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: auto;
  border-top: 3px double var(--rule-strong);
}

.footer-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter);
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--step-2);
}

.footer-line {
  margin: 0 0 0.75rem;
  max-width: 52ch;
}

.footer-client {
  margin: 0;
  font-size: var(--step--1);
}

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