@font-face { font-family: 'Unna'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/unna-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Unna'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/unna-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Unna'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/unna-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Unna'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/unna-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/brygada-1918-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f7f1e6;
  --fg-light-base-body: #2a211b;
  --fg-light-base-heading: #2a211b;
  --fg-light-base-muted: #64554a;
  --fg-light-base-link: #a5431a;
  --fg-light-base-inverse: #3a2c22;
  --bg-light-card: #fffbf4;
  --fg-light-card-body: #2a211b;
  --fg-light-card-heading: #2a211b;
  --fg-light-card-muted: #64554a;
  --fg-light-card-link: #a5431a;
  --fg-light-card-inverse: #3a2c22;
  --bg-light-elevated: #efe4d2;
  --fg-light-elevated-body: #2a211b;
  --fg-light-elevated-heading: #2a211b;
  --fg-light-elevated-muted: #64554a;
  --fg-light-elevated-link: #a5431a;
  --fg-light-elevated-inverse: #3a2c22;
  --brand-light-accent: #a5431a;
  --brand-light-accent-hover: #7e3010;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #a5431a;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #8a7663;
  --border-light-subtle: #e0d3bf;
}
.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; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-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-ring); }

:root {
  --pw-head: 'Unna', 'Iowan Old Style', Georgia, serif;
  --pw-text: 'Brygada 1918', Georgia, serif;
  --pw-ink: var(--fg-light-base-heading);
  --pw-muted: var(--fg-light-base-muted);
  --pw-accent: var(--brand-light-accent);
  --pw-accent-deep: var(--brand-light-accent-hover);
  --pw-on-accent: var(--brand-light-on-accent);
  --pw-rule: var(--border-light-default);
  --pw-hair: var(--border-light-subtle);
  --pw-paper: var(--bg-light-card);
  --pw-ground: var(--bg-light-base);
  --pw-tint: var(--bg-light-elevated);
  --pw-tape: #f0d9a8;
  --pw-gutter: clamp(1.1rem, 4.5vw, 3rem);
}

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

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

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

h1, h2, h3 {
  font-family: var(--pw-head);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 20ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h3 { font-weight: 700; }

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a.text-role-link:hover { color: var(--pw-accent-deep); text-decoration-thickness: 2px; }

/* ---------- masthead ---------- */

.pw-mast {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--pw-rule);
  box-shadow: 0 4px 0 -1px var(--pw-ground), 0 5px 0 -1px var(--pw-accent);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.pw-mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 78rem;
  margin-inline: auto;
  padding: 0.7rem var(--pw-gutter);
  min-height: 4.25rem;
}

.pw-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
  overflow-wrap: normal;
}

.pw-brand:hover { color: var(--pw-accent-deep); }

.pw-brand .site-logo { flex: none; width: 2.6rem; height: 2.6rem; }

.pw-wordmark {
  font-family: var(--pw-head);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.05;
  overflow-wrap: normal;
}

.pw-toggle { flex: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.2rem 0.4rem;
  border-bottom: 2px solid var(--pw-accent);
  color: var(--pw-ink);
  font-family: var(--pw-text);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.site-menu > summary:hover { color: var(--pw-accent-deep); }

.menu-icon {
  display: block;
  width: 1.05rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 70% 2px no-repeat;
}

.site-menu[open] .menu-icon { background-size: 100% 2px; }

.site-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--pw-gutter) 1.4rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 4.75rem);
  overflow-y: auto;
  background: var(--pw-paper);
  border-bottom: 1.5px solid var(--pw-rule);
}

.site-menu > ul > li { border-top: 1px solid var(--pw-hair); }
.site-menu > ul > li:first-child { border-top: 0; }

.site-menu a {
  display: block;
  padding: 0.7rem 0;
  color: var(--pw-ink);
  font-family: var(--pw-head);
  font-size: 1.3rem;
  line-height: 1.15;
  text-decoration: none;
}

.site-menu a:hover { color: var(--pw-accent-deep); }

.site-menu ul ul { list-style: none; margin: 0 0 0.6rem; padding: 0 0 0 1rem; border-left: 2px solid var(--pw-accent); }
.site-menu ul ul a { padding: 0.4rem 0; font-family: var(--pw-text); font-size: 1rem; }

.pw-mast-nav { display: none; }

@media (min-width: 1024px) {
  .pw-mast-row { padding-top: 1.1rem; padding-bottom: 0.6rem; }
  .pw-brand .site-logo { width: 3rem; height: 3rem; }
  .pw-wordmark { font-size: 1.6rem; white-space: nowrap; }

  .pw-toggle { display: none; }

  .pw-mast-nav {
    display: block;
    max-width: 78rem;
    margin-inline: auto;
    padding: 0 var(--pw-gutter) 0.5rem;
  }

  .site-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem 1.6rem;
    border-top: 1px dashed var(--pw-rule);
  }

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

  .site-nav > ul > li > a,
  .site-nav-group > summary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0 0.4rem;
    border-bottom: 2px solid transparent;
    color: var(--pw-ink);
    font-family: var(--pw-text);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
  }

  .site-nav > ul > li > a:hover,
  .site-nav-group > summary:hover { color: var(--pw-accent-deep); border-bottom-color: var(--pw-accent); }

  .site-nav a[aria-current="page"] { border-bottom-color: var(--pw-accent); }

  .site-nav-group > summary { list-style: none; cursor: pointer; }
  .site-nav-group > summary::-webkit-details-marker { display: none; }
  .site-nav-group > summary::after {
    content: "\25BE";
    font-size: 0.85rem;
    line-height: 1;
    color: var(--pw-accent-deep);
  }

  .site-nav-group[open] > summary { border-bottom-color: var(--pw-accent); }

  .site-nav-group > ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    position: absolute;
    left: -0.9rem;
    top: calc(100% + 0.4rem);
    z-index: 30;
    width: 22rem;
    background: var(--pw-paper);
    border: 1px solid var(--pw-rule);
    border-top: 3px solid var(--pw-accent);
    box-shadow: 0 12px 26px -16px rgba(60, 36, 18, 0.5);
  }

  .site-nav-group > ul a {
    display: block;
    padding: 0.45rem 0.9rem;
    color: var(--pw-ink);
    font-size: 1rem;
    line-height: 1.35;
    text-decoration: none;
  }

  .site-nav-group > ul > li:first-child a { font-family: var(--pw-head); font-style: italic; font-size: 1.2rem; border-bottom: 1px solid var(--pw-hair); }

  .site-nav-group > ul a:hover { background: var(--pw-ground); color: var(--pw-accent-deep); }
}

/* ---------- page column ---------- */

.breadcrumbs {
  max-width: 78rem;
  margin-inline: auto;
  padding: 1.2rem var(--pw-gutter) 0;
  font-size: 0.93rem;
}

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

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

main {
  display: block;
  max-width: 74rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem) var(--pw-gutter) clamp(2.75rem, 6vw, 5rem);
}

.pw-prose { max-width: 66ch; }
.pw-prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.3rem 0 0.65rem; }
.pw-prose h3 { font-size: 1.35rem; margin: 1.6rem 0 0.4rem; }
.pw-prose p,
.pw-prose ul,
.pw-prose ol { margin: 0 0 1.05rem; }
.pw-prose li { margin-bottom: 0.4rem; }
.pw-prose ul { padding-left: 1.2rem; }
.pw-prose ul li::marker { color: var(--pw-accent); }

.photo-hero,
.photo-inline { margin: 0 0 1.9rem; }

.photo-hero img,
.photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  border: 1.5px solid var(--pw-rule);
}

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

.table-scroll { overflow-x: auto; margin: 0 0 1.3rem; background: var(--pw-paper); border-radius: 0.6rem; }
.table-scroll table { border-collapse: collapse; width: 100%; }
.table-scroll th,
.table-scroll td { text-align: left; vertical-align: top; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--pw-hair); }
.table-scroll th { font-family: var(--pw-head); font-size: 1.08rem; }

.accent-block {
  margin: 0 0 1.3rem;
  padding: 0.9rem 1.15rem;
  background: var(--pw-paper);
  border-radius: 0 0.6rem 0.6rem 0;
  border-left: 4px solid var(--pw-accent);
}

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

/* ---------- drawn parts ---------- */

.pw-grid path { fill: none; stroke: var(--pw-hair); stroke-width: 1.5; }
.pw-axis { fill: none; stroke: var(--pw-ink); stroke-width: 2.5; stroke-linecap: round; }
.pw-ticks { fill: none; stroke: var(--pw-ink); stroke-width: 2; stroke-linecap: round; }
.pw-band { fill: var(--pw-accent); opacity: 0.12; }
.pw-trend { fill: none; stroke: var(--pw-accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pw-dots circle { fill: var(--pw-paper); stroke: var(--pw-accent); stroke-width: 3; }
.pw-dots circle:last-child { fill: var(--pw-accent); }
.pw-dot-end { fill: var(--pw-accent); }
.pw-tape-body { fill: none; stroke: var(--pw-tape); stroke-width: 22; stroke-linecap: butt; }
.pw-tape-ticks { fill: none; stroke: var(--pw-ink); stroke-width: 9; stroke-dasharray: 1.4 7.6; opacity: 0.7; }
.pw-tape-edge { fill: none; stroke: var(--pw-rule); stroke-width: 1.5; }
.pw-tape-tab { fill: var(--pw-accent); }
.pw-ink { fill: none; stroke: var(--pw-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pw-ink-thin { fill: none; stroke: var(--pw-ink); stroke-width: 1.75; stroke-linecap: round; }
.pw-fill-accent { fill: var(--pw-accent); opacity: 0.85; }
.pw-accent-line { fill: none; stroke: var(--pw-accent); stroke-width: 3; stroke-linecap: round; }

/* ---------- home: progress-chart opening ---------- */

.pw-home { max-width: 78rem; }

.pw-cover { background: transparent; padding-top: clamp(0.5rem, 3vw, 2.5rem); }

.pw-cover h1 { max-width: 24ch; }

.pw-ruler { display: block; width: 100%; height: 2.6rem; margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.5rem, 3.5vw, 2.5rem); }
.pw-ruler-body { fill: none; stroke: var(--pw-tape); stroke-width: 26; }
.pw-ruler-ticks { fill: none; stroke: var(--pw-ink); stroke-width: 12; stroke-dasharray: 1.5 10.5; opacity: 0.65; }
.pw-ruler-edge { fill: none; stroke: var(--pw-rule); stroke-width: 1.2; }

.pw-home-cols { display: grid; gap: 2.5rem; }

.pw-home-main { min-width: 0; background: transparent; }

.pw-lines { margin-bottom: 2.25rem; max-width: 50ch; }

.display-line { margin: 0 0 0.75rem; font-size: clamp(1.15rem, 1.8vw, 1.32rem); line-height: 1.55; }
.display-line:first-child { font-family: var(--pw-head); font-style: italic; font-size: clamp(1.35rem, 2.3vw, 1.65rem); line-height: 1.35; color: var(--pw-accent-deep); }

.pw-notes { max-width: 66ch; }
.pw-notes h2 { padding-top: 0.9rem; border-top: 1px dashed var(--pw-rule); }

.pw-log { background: transparent; }

.pw-log-chart { margin: 0 0 1.5rem; background: transparent; }
.pw-log-art { display: block; width: 100%; max-width: 17rem; height: auto; }
.pw-ledger { fill: none; stroke: var(--pw-hair); stroke-width: 1.5; }
.pw-margin-line { fill: none; stroke: var(--pw-accent); stroke-width: 1.5; opacity: 0.6; }

.pw-log-links { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--pw-ink); background: transparent; }
.pw-log-links li { border-bottom: 1px solid var(--pw-hair); }

.pw-log-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.15rem;
  font-family: var(--pw-head);
  font-size: 1.3rem;
  line-height: 1.2;
  text-decoration: none;
}

.pw-log-link:hover { text-decoration: underline; }

.pw-log-icon { flex: none; width: 2.6rem; height: 2.6rem; }

@media (min-width: 900px) {
  .pw-home-cols { grid-template-columns: minmax(0, 1fr) 17rem; column-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .pw-log { padding-left: clamp(1.5rem, 3vw, 2.25rem); border-left: 1px dashed var(--pw-rule); }
}

/* ---------- topic hub: plan shelf ---------- */

.pw-hub { max-width: 60rem; }

.pw-hub-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px dashed var(--pw-rule);
  background: transparent;
}

.pw-hub-art { width: 11rem; height: auto; }

.pw-shelf-items { margin: 1.75rem 0 2.25rem; background: transparent; }

.pw-shelf-items > ul { list-style: none; margin: 0; padding: 0; }

.pw-shelf-items > ul > li { border-bottom: 1px solid var(--pw-hair); }

.pw-shelf-items > ul > li > a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.25rem;
  font-family: var(--pw-head);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
  text-decoration: none;
}

.pw-shelf-items > ul > li > a::before {
  content: "";
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--pw-ink);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 52%, var(--pw-ink) 53% 57%, transparent 58%),
    conic-gradient(var(--pw-accent) 0 25%, var(--pw-tint) 25% 55%, var(--pw-tape) 55% 80%, var(--pw-paper) 80%);
}

.pw-shelf-items > ul > li:nth-child(3n+2) > a::before {
  width: 1.3rem;
  margin-inline: 0.55rem;
  border-radius: 0.25rem 0.25rem 0.5rem 0.5rem;
  background: linear-gradient(var(--pw-paper) 0 45%, var(--pw-accent) 45%);
}

.pw-shelf-items > ul > li:nth-child(3n) > a::before {
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 70%, transparent 0 36%, var(--pw-ink) 37% 43%, transparent 44%) top / 100% 70% no-repeat,
    var(--pw-paper);
}

.pw-shelf-items > ul > li > a:hover { color: var(--pw-accent-deep); text-decoration: underline; }

@media (min-width: 760px) {
  .pw-hub-head { flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; }
}

/* ---------- article: reading page with margin column ---------- */

.pw-article { max-width: 76rem; }

.pw-article-head {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px dashed var(--pw-rule);
  background: transparent;
}

.pw-article-cols { display: grid; gap: 2rem; }

.pw-steps { background: transparent; }

.pw-steps h2 { display: flex; align-items: flex-end; gap: 0.75rem; }

.pw-steps h2::before {
  content: "";
  flex: none;
  width: 1.6rem;
  height: 1.25rem;
  margin-bottom: 0.25rem;
  border-left: 2px solid var(--pw-ink);
  border-bottom: 2px solid var(--pw-ink);
  background:
    linear-gradient(var(--pw-accent), var(--pw-accent)) 3px 100% / 4px 90% no-repeat,
    linear-gradient(var(--pw-accent), var(--pw-accent)) 10px 100% / 4px 60% no-repeat,
    linear-gradient(var(--pw-accent), var(--pw-accent)) 17px 100% / 4px 35% no-repeat;
}

.pw-margin {
  display: none;
  padding: 1.25rem 1rem;
  border-left: 4px solid var(--pw-accent);
  border-radius: 0 0.9rem 0.9rem 0;
}

.pw-margin-art { display: block; width: 100%; height: auto; }

@media (min-width: 1180px) {
  .pw-article-cols { grid-template-columns: minmax(0, 66ch) 10rem; column-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .pw-margin { display: block; }
}

/* ---------- about ---------- */

.pw-about { max-width: 50rem; }

.pw-about-head { background: transparent; margin-bottom: 1.75rem; }

.pw-about-tape { display: block; width: min(100%, 30rem); height: auto; margin-top: 0.6rem; }

.pw-about-body { max-width: 64ch; }

/* ---------- contact: question card ---------- */

.pw-contact { display: grid; gap: 2rem; max-width: 72rem; }

.pw-contact-title { margin-bottom: 1.25rem; }

.pw-card {
  position: relative;
  align-self: start;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  padding-top: 4.5rem;
  border: 1.5px solid var(--pw-rule);
  border-radius: 1rem;
}

.pw-plate { position: absolute; top: 0.9rem; right: 1rem; width: 5rem; height: auto; }

.pw-form { display: grid; gap: 1.1rem; }

.pw-field { display: grid; gap: 0.3rem; align-content: start; }

.pw-label { font-family: var(--pw-head); font-weight: 700; font-size: 1.2rem; }

.pw-input {
  width: 100%;
  font: inherit;
  color: var(--pw-ink);
  padding: 0.6rem 0.8rem;
  background: var(--pw-ground);
  border: 1.5px solid var(--pw-rule);
  border-radius: 0.5rem;
}

.pw-input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--pw-accent); }

.pw-area { resize: vertical; min-height: 9rem; }

.pw-submit {
  justify-self: start;
  padding: 0.75rem 1.4rem;
  font-family: var(--pw-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--pw-on-accent);
  background: var(--pw-accent);
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

.pw-submit:hover { background: var(--pw-accent-deep); color: var(--pw-on-accent); }

@media (min-width: 640px) {
  .pw-form { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 1.25rem; }
  .pw-submit { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .pw-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(2rem, 5vw, 4rem); }
}

/* ---------- thank you ---------- */

.pw-thanks { max-width: 46rem; }

.pw-uptick { display: block; width: 6.5rem; height: auto; margin-bottom: 1rem; }

.pw-thanks-title { background: transparent; margin-bottom: 1.25rem; }

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

.pw-footer { border-top: 1.5px solid var(--pw-rule); }

.pw-footer-inner {
  max-width: 78rem;
  margin-inline: auto;
  padding: 1.75rem var(--pw-gutter) 2.25rem;
}

.pw-footer-name {
  margin: 0 0 0.3rem;
  font-family: var(--pw-head);
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.1;
}

.pw-footer-line { margin: 0; font-size: 0.97rem; }

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