/* package fonts (woff2, copied into dist/assets/fonts) */
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/quicksand-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/quicksand-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/quicksand-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/quicksand-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/quicksand-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/lexend-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/lexend-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lexend-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/lexend-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lexend-latin-900-normal.woff2") format("woff2"); }
/* generated block: satellite design tokens (light) */
:root {
  --bg-light-base: #efefec;
  --fg-light-base-body: #272c2a;
  --fg-light-base-heading: #1f2422;
  --fg-light-base-muted: #4f5652;
  --fg-light-base-link: #272c2a;
  --fg-light-base-inverse: #1f2422;
  --bg-light-card: #d3ddd0;
  --fg-light-card-body: #272c2a;
  --fg-light-card-heading: #1f2422;
  --fg-light-card-muted: #4f5652;
  --fg-light-card-link: #272c2a;
  --fg-light-card-inverse: #1f2422;
  --bg-light-elevated: #fafaf8;
  --fg-light-elevated-body: #272c2a;
  --fg-light-elevated-heading: #1f2422;
  --fg-light-elevated-muted: #4f5652;
  --fg-light-elevated-link: #272c2a;
  --fg-light-elevated-inverse: #1f2422;
  --brand-light-accent: #272c2a;
  --brand-light-accent-hover: #465049;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #272c2a;
  --border-light-default: #66716b;
  --border-light-subtle: #c3cbc4;
}
.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); }
/* component rules: semantic carriers and renderer-owned behaviours */
.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); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* package stylesheet (verbatim; model-owned rules win by source order) */
/* Pain Procedure Checklist: ergonomic workspace minimalism */

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

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

body {
  margin: 0;
  font-family: 'Lexend', 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

h1, h2, h3, h4 {
  font-family: 'Quicksand', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--fg-heading);
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; margin: 2.4rem 0 0.7rem; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1.2rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

img { display: block; }
figure { margin: 0 0 1.75rem; }

.photo-hero img, .photo-inline img {
  width: 100%;
  border-radius: 22px;
}

.photo-inline { margin: 1.75rem 0; }

/* ---------- Header: a desk shelf, wordmark row over a ruled link row ---------- */

.desk-bar {
  padding: 0 1rem;
  border-bottom: 4px solid var(--brand-light-accent);
}

.desk-bar-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  text-decoration: none;
  color: var(--fg-heading);
}

.brand .site-logo { width: 34px; height: 34px; }

.brand-name {
  font-family: 'Lexend', 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.desk-nav { display: contents; }

.desk-links {
  display: none;
  flex: 1 0 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-light-default);
  counter-reset: shelf;
}

.desk-links li { margin: 0; counter-increment: shelf; }

.desk-links li + li { border-left: 1px solid var(--border-light-subtle); }

.desk-links a,
.site-menu > ul a {
  position: relative;
  display: inline-block;
  min-height: 48px;
  padding: 0.8rem 1.1rem 0.8rem 2.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  text-decoration-color: var(--border-light-default);
}

.desk-links li:first-child a { padding-left: 1.5rem; }

.desk-links a::before,
.site-menu > ul a::before {
  content: counter(shelf, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.desk-links li:first-child a::before { left: 0; }

.desk-links a:hover,
.site-menu > ul a:hover { text-decoration-color: currentColor; }

.site-menu { flex: 1 0 100%; }

.site-menu > summary {
  position: absolute;
  right: 0;
  top: calc((4.5rem - 44px) / 2);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  border-bottom: 2px solid currentColor;
  cursor: pointer;
  list-style: none;
}

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

.site-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
  border-top: 1px solid var(--border-light-default);
  counter-reset: shelf;
}

.site-menu > ul li {
  margin: 0;
  counter-increment: shelf;
  border-bottom: 1px solid var(--border-light-subtle);
}

.site-menu > ul a { display: block; padding-left: 1.5rem; }
.site-menu > ul a::before { left: 0; }

.desk-links a:focus-visible,
.site-menu > summary:focus-visible,
.site-menu > ul a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--brand-light-accent);
  outline-offset: 2px;
}

@media (max-width: 63.99rem) {
  .brand { padding-right: 7.5rem; }
}

@media (min-width: 64rem) {
  .desk-links { display: flex; }
  .site-menu { display: none; }
}

/* ---------- Workspace ---------- */

.workspace {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

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

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

/* section backgrounds the renderer emits */
section[data-section] {
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  padding: clamp(1.25rem, 4vw, 3rem);
  margin: 2rem 0;
}

section[data-section] > .bg-surface-card {
  max-width: 40rem;
  padding: 1.5rem 1.75rem;
  border-radius: 20px;
}

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

/* body lists read as sage checklists */
.article-body ul,
.home-body ul,
.hub-body ul {
  list-style: none;
  padding: 1.25rem 1.5rem;
  background: var(--bg-light-card);
  border-radius: 18px;
}

.article-body ul li,
.home-body ul li,
.hub-body ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
}

.article-body ul li:last-child,
.home-body ul li:last-child,
.hub-body ul li:last-child { margin-bottom: 0; }

.article-body ul li::before,
.home-body ul li::before,
.hub-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--border-light-default);
  border-radius: 6px;
  background: var(--bg-light-elevated);
}

/* ---------- Home ---------- */

.home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.home-body { display: contents; }

.home-body > * { grid-column: 1; max-width: 44rem; }

.home-body > .photo-hero {
  grid-row: 1;
  max-width: none;
  margin: 0;
}

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

.hero-card {
  grid-row: 2;
  grid-column: 1;
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 0;
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 28px;
  border: 1px solid var(--border-light-subtle);
  max-width: 38rem;
}

.home:has(.photo-hero) .hero-card { margin: -3rem 0.75rem 0; }

.hero-name h1 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
}

.hero-headline {
  font-family: 'Quicksand', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}

.tip-tiles {
  grid-row: 3;
  grid-column: 1;
  list-style: none;
  margin: 1.5rem 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.tip {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--border-light-subtle);
}

.tip p { margin: 0; font-size: 0.98rem; }

.tip-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: var(--bg-light-card);
  position: relative;
}

.tip-icon::after {
  content: "";
  position: absolute;
  background: var(--brand-light-accent);
}

.tip-icon-check::after { left: 0.7rem; top: 0.45rem; width: 0.55rem; height: 1rem; background: none; border: solid var(--brand-light-accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.tip-icon-ask::after { left: 0.62rem; top: 0.62rem; width: 1rem; height: 1rem; border-radius: 50%; }
.tip-icon-note::after { left: 0.5rem; top: 0.95rem; width: 1.25rem; height: 0.35rem; border-radius: 999px; }

@media (min-width: 48rem) {
  .tip-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-card { padding: 2.25rem 2.5rem 2.5rem; }
  .home:has(.photo-hero) .hero-card { margin: -9rem 0 0 2.5rem; }
}

/* ---------- Article ---------- */

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.article-rail {
  padding: 1.75rem;
  border-radius: 24px;
  align-self: start;
}

.rail-note { margin: 1rem 0 0; font-size: 0.95rem; }

.article-body { max-width: 42rem; }
.article-body > h2:first-child,
.article-body > .photo-hero + h2 { margin-top: 0.5rem; }

@media (min-width: 60rem) {
  .article { grid-template-columns: 19rem minmax(0, 1fr); gap: 3rem; }
  .article-rail { position: sticky; top: 1.5rem; }
  .article-rail h1 { font-size: 2rem; }
}

/* ---------- Topic hub ---------- */

.hub-head { max-width: 44rem; margin-bottom: 1.5rem; }
.hub-body { max-width: 44rem; }

.hub-cards { margin-top: 3rem; }

.hub-cards > ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

.hub-cards > ul li { margin: 0; }

.hub-cards > ul a {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 9rem;
  height: 100%;
  padding: 1.35rem;
  background: var(--bg-light-elevated);
  border: 1px solid var(--border-light-subtle);
  border-radius: 20px;
  font-family: 'Quicksand', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  text-decoration: none;
}

.hub-cards > ul a:hover { border-color: var(--border-light-default); text-decoration: underline; }

.hub-cards > ul a::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background: var(--bg-light-card);
  border: 3px solid var(--brand-light-accent);
}

.hub-cards > ul li:nth-child(3n + 1) a::before { border-radius: 50%; }
.hub-cards > ul li:nth-child(3n + 2) a::before { border-radius: 8px; }
.hub-cards > ul li:nth-child(3n) a::before { height: 0.9rem; margin-top: 0.55rem; border-radius: 999px; }

/* ---------- About ---------- */

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

.about-body { display: contents; }
.about-body > * { grid-column: 1; }
.about-body > .photo-hero { grid-row: 1; }
.about-head { grid-row: 2; margin-bottom: 1rem; }

.about-body > .photo-hero img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }

@media (min-width: 60rem) {
  .about-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about-body > * { grid-column: 2; max-width: 34rem; }
  .about-head { grid-column: 2; grid-row: 1; }
  .about-body > .photo-hero {
    grid-column: 1;
    grid-row: 1 / span 12;
    align-self: start;
    position: sticky;
    top: 1.5rem;
  }
  .about-body > .photo-hero img { aspect-ratio: 4 / 5; }
}

/* ---------- Contact ---------- */

.contact-head { margin-bottom: 1.5rem; }

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

.contact-body { max-width: 40rem; }

.form-tint {
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 32px;
  align-self: start;
}

.form-card {
  padding: 1.75rem;
  border-radius: 24px;
}

.form-card h2 { margin: 0 0 1.25rem; font-size: 1.35rem; }

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

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

.field label { font-weight: 500; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-elevated);
  border: 1.5px solid var(--border-light-default);
  border-radius: 14px;
}

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

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

.form-submit {
  min-height: 52px;
  padding: 0 1.75rem;
  justify-self: start;
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

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

@media (min-width: 60rem) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 3rem; }
}

/* ---------- Thank you ---------- */

.thanks {
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.thanks-card {
  max-width: 36rem;
  width: 100%;
  padding: 2.5rem 2rem;
  border-radius: 32px;
  border: 1px solid var(--border-light-subtle);
  text-align: center;
}

.thanks-check {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--bg-light-card);
  position: relative;
}

.thanks-check::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 0.95rem;
  width: 0.9rem;
  height: 1.7rem;
  border: solid var(--brand-light-accent);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

.thanks-break { margin: 1rem auto 1.5rem; max-width: 28rem; }
.thanks-body { text-align: left; }
.thanks-body h2 { font-size: 1.2rem; margin-top: 1.5rem; }

/* ---------- Not found ---------- */

.lost { padding: 3rem 0 1rem; }

.lost-card {
  max-width: 38rem;
  padding: 2rem 1.75rem;
  border-left: 6px solid var(--brand-light-accent);
  border-radius: 0 24px 24px 0;
}

.lost-body { margin-top: 1rem; }

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

.desk-foot { padding: 2.5rem 1rem; margin-top: 2rem; }

.desk-foot-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.foot-line { margin: 0; max-width: 36rem; font-size: 0.95rem; }

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.foot-links li { margin: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

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

/* Pinned header per 03-ia/chrome-plan.json; it unpins while the phone menu is open */
header.desk-bar { position: sticky; top: 0; z-index: 40; }
header.desk-bar:has(.site-menu[open]) { position: static; }
html { scroll-padding-top: 144px; }
