@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/museomoderno-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/museomoderno-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/museomoderno-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/museomoderno-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/museomoderno-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/museomoderno-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/museomoderno-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/museomoderno-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/museomoderno-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/museomoderno-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/museomoderno-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/museomoderno-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/museomoderno-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/museomoderno-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/museomoderno-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/museomoderno-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/museomoderno-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'MuseoModerno'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/museomoderno-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend Deca'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lexend-deca-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #fbf6ef;
  --fg-light-base-body: #2e2427;
  --fg-light-base-heading: #2e2427;
  --fg-light-base-muted: #5d4f53;
  --fg-light-base-link: #a3235c;
  --fg-light-base-inverse: #3b2f33;
  --bg-light-card: #f5ece1;
  --fg-light-card-body: #2e2427;
  --fg-light-card-heading: #2e2427;
  --fg-light-card-muted: #5d4f53;
  --fg-light-card-link: #a3235c;
  --fg-light-card-inverse: #3b2f33;
  --bg-light-elevated: #fffdf9;
  --fg-light-elevated-body: #2e2427;
  --fg-light-elevated-heading: #2e2427;
  --fg-light-elevated-muted: #5d4f53;
  --fg-light-elevated-link: #a3235c;
  --fg-light-elevated-inverse: #3b2f33;
  --brand-light-accent: #a3235c;
  --brand-light-accent-hover: #7f1a47;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #a3235c;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #8c777c;
  --border-light-subtle: #e2d3cb;
}
.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 {
  --font-heading: 'MuseoModerno', 'Trebuchet MS', sans-serif;
  --font-body: 'Lexend Deca', 'Segoe UI', sans-serif;
  --accent: var(--brand-light-accent);
  --accent-deep: var(--brand-light-accent-hover);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --gutter: clamp(1rem, 5vw, 4.5rem);
  --measure: 40rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.005em;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--fg-heading);
  overflow-wrap: normal;
}

strong, b { font-weight: 500; }

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

.ink { stroke: var(--fg-heading); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.ink-soft { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ink-accent { stroke: var(--accent); stroke-width: 1.25; vector-effect: non-scaling-stroke; }

/* Masthead */
.site-header {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 2rem var(--gutter) 0;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg-heading);
}
.brand:hover { color: var(--accent-deep); }
.brand .site-logo { width: 2.75rem; height: 2.75rem; flex: none; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.masthead-nav {
  width: 100%;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: center;
}

.site-nav { display: none; }
.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0 1.5rem;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
  color: var(--fg-heading);
  overflow-wrap: normal;
}
.site-nav a:hover { color: var(--accent-deep); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.35em; }

.site-menu { position: relative; }
.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--fg-heading);
  white-space: nowrap;
}
.site-menu > summary:hover { color: var(--accent-deep); }
.menu-icon {
  position: relative;
  display: inline-block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.site-menu[open] > summary .menu-icon { box-shadow: none; }
.site-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
}
.site-menu[open] > ul {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  width: min(20rem, calc(100vw - 2rem));
  transform: translateX(-50%);
  background: var(--bg-light-elevated);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  padding: 0.5rem 0;
  text-align: left;
}
.site-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  color: var(--fg-heading);
}
.site-menu li a:hover { color: var(--accent-deep); text-decoration: underline; }

@media (min-width: 960px) {
  .site-menu { display: none; }
  .site-nav { display: block; }
}

/* Frame */
.page-frame { padding: 0 var(--gutter) 4rem; }

.breadcrumbs { max-width: 64rem; margin: 1.5rem auto 0; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--fg-muted); }

/* Body copy */
.prose { max-width: var(--measure); margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 2.75rem 0 0.75rem; }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
}
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 1.5rem; }
.prose th, .prose td { text-align: left; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
.prose th { font-weight: 500; }

figure.photo-hero, figure.photo-inline { margin: 2rem 0; }
figure.photo-hero img, figure.photo-inline img { display: block; width: 100%; border-radius: 1.25rem; }

/* Home */
.lead {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0 1rem;
  text-align: center;
}
.lead h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 auto;
  max-width: 18ch;
}
.lead-lines { max-width: 34rem; margin: 1.5rem auto 0; }
.lead-lines .display-line { margin: 0 0 0.5rem; font-size: 1.1rem; }
.lead-art { display: block; width: min(100%, 34rem); height: auto; margin: 2.5rem auto 0; }

.primer-icons {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 5rem);
  margin: 2.5rem auto 2.5rem;
  padding-top: 2rem;
  max-width: var(--measure);
  border-top: 1px solid var(--rule);
}
.primer-icons svg { width: 2.5rem; height: 2.5rem; }

.home-prose figure.photo-hero:first-child { margin-top: 2rem; }
.home-prose figure.photo-hero img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 40rem; }
.home-prose ul { list-style: none; padding: 0; display: grid; gap: 1rem; }
.home-prose ul li {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 2px solid var(--accent);
}
@media (min-width: 720px) {
  .home-prose ul { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
}

/* Topic hub */
.hub-band { max-width: 64rem; margin: 2rem auto 0; text-align: center; }
.hub-rules { display: block; width: 100%; height: 3rem; }
.hub-icons { display: flex; justify-content: center; gap: 1.75rem; margin: 1.75rem 0 0.5rem; }
.hub-icons svg { width: 2.25rem; height: 2.25rem; }
.hub-title h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 400; margin: 0.5rem auto 2.5rem; max-width: 22ch; }
.hub-grid { max-width: 64rem; margin: 0 auto; display: grid; gap: 3rem; }
.hub-prose { margin: 0; max-width: none; }
.hub-items { border-radius: 1.25rem; padding: 1.5rem; align-self: start; }
.hub-items ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0;
}
.hub-items li { border-top: 1px solid var(--rule); }
.hub-items a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.35;
  text-decoration: none;
}
.hub-items a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr) 18rem; }
  .hub-items ul { grid-template-columns: 1fr; }
  .hub-items { position: static; }
}

/* Article */
.article-title { max-width: var(--measure); margin: 2.5rem auto 0; }
.article-title h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 400; margin: 0; }
.article-column {
  max-width: var(--measure);
  margin: 0 auto;
  position: relative;
}
.depth-diagram { display: block; width: min(100%, 20rem); height: auto; margin: 1.75rem 0 1rem; }
.article-prose { line-height: 1.85; }
@media (min-width: 1100px) {
  .article-column::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: -3rem;
    border-left: 1px solid var(--accent);
  }
  .article-prose blockquote { margin-left: -4.6rem; padding-left: 4.6rem; border-left: 0; position: relative; }
  .article-prose blockquote::before { content: ""; position: absolute; left: 1.5rem; top: 0.4rem; bottom: 0.4rem; border-left: 3px solid var(--accent); }
}

/* About */
.letter-sheet {
  max-width: 46rem;
  margin: 2.5rem auto 0;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--rule-soft);
  border-radius: 1.5rem;
}
.bed-art { float: right; width: clamp(7rem, 30vw, 11rem); height: auto; margin: 0 0 1rem 1.5rem; }
.letter-title h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); font-weight: 400; margin: 0 0 1.5rem; }
.letter-prose { max-width: none; }
.letter-prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 4.4em;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 0;
  color: var(--accent);
}

/* Contact */
.contact-title { max-width: 64rem; margin: 2.5rem auto 2rem; }
.contact-title h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 400; margin: 0; max-width: 20ch; }
.contact-split { max-width: 64rem; margin: 0 auto; display: grid; gap: 2.5rem; }
.contact-prose { margin: 0; }
.contact-card {
  position: relative;
  align-self: start;
  border-radius: 1.75rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 2.25rem) 2rem;
  border: 1px solid var(--rule-soft);
}
.card-dropper { position: absolute; top: -1.5rem; right: 1.5rem; width: 2.5rem; height: auto; }
.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.35rem; }
.field-label { font-weight: 400; font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 300;
  color: var(--fg-body);
  background: var(--bg-light-elevated);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.contact-form .send {
  justify-self: start;
  font: inherit;
  font-weight: 400;
  color: var(--brand-light-on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 2rem;
  cursor: pointer;
}
.contact-form .send:hover { background: var(--accent-deep); color: var(--brand-light-on-accent); }
@media (min-width: 880px) {
  .contact-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; }
}

/* Thank you */
.thanks { max-width: 36rem; margin: 0 auto; padding-top: 3rem; text-align: center; }
.peel-art { display: block; width: 9rem; height: auto; margin: 0 auto 1.5rem; }
.thanks-title h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 400; margin: 0 0 1.5rem; }
.thanks-prose { text-align: left; }
.thanks-back { margin-top: 2rem; font-family: var(--font-heading); font-size: 1.15rem; }

/* Footer */
.site-footer {
  padding: 2.5rem var(--gutter) 3rem;
  text-align: center;
  border-top: 1px solid var(--rule-soft);
}
.foot-rule { display: block; width: 15rem; max-width: 100%; height: auto; margin: 0 auto 1rem; }
.foot-rule path:first-child { stroke: var(--rule); }
.foot-brand { font-family: var(--font-heading); font-size: 1.1rem; text-decoration: none; }
.foot-brand:hover { text-decoration: underline; }

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