@font-face { font-family: 'Arvo'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/arvo-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Arvo'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/arvo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Arvo'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/arvo-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Arvo'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/arvo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/maven-pro-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/maven-pro-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/maven-pro-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/maven-pro-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/maven-pro-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/maven-pro-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #fcfaf7;
  --fg-light-base-body: #2a211c;
  --fg-light-base-heading: #2a211c;
  --fg-light-base-muted: #5b4d44;
  --fg-light-base-link: #9e3a1c;
  --fg-light-base-inverse: #3b2f28;
  --bg-light-card: #f8e6d9;
  --fg-light-card-body: #2a211c;
  --fg-light-card-heading: #2a211c;
  --fg-light-card-muted: #5b4d44;
  --fg-light-card-link: #9e3a1c;
  --fg-light-card-inverse: #3b2f28;
  --bg-light-elevated: #f1dccf;
  --fg-light-elevated-body: #2a211c;
  --fg-light-elevated-heading: #2a211c;
  --fg-light-elevated-muted: #5b4d44;
  --fg-light-elevated-link: #9e3a1c;
  --fg-light-elevated-inverse: #3b2f28;
  --brand-light-accent: #9e3a1c;
  --brand-light-accent-hover: #7a2b13;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #9e3a1c;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #86705f;
  --border-light-subtle: #e2cbbb;
}
.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-head: 'Arvo', Rockwell, 'Roboto Slab', Georgia, serif;
  --font-body: 'Maven Pro', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --line: var(--border-light-default);
  --wash: var(--border-light-subtle);
  --accent: var(--brand-light-accent);
  --accent-strong: var(--brand-light-accent-hover);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 72rem;
  --step-size: clamp(0.75rem, 5vw, 4.5rem);
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--fg-heading);
  line-height: 1.2;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }

p, li { max-width: 64ch; }
p { margin: 0 0 1.1rem; }

main a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
main a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }

figure { margin: 2rem 0; }
figure img { display: block; border-radius: 1.25rem; }

/* Header */

header.site-header { position: relative; overflow-wrap: normal; border-bottom: 2px solid var(--line); }

.masthead {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg-heading);
  text-decoration: none;
  overflow-wrap: normal;
}
.brand:hover { color: var(--accent-strong); }
.brand .site-logo { width: 2.5rem; height: 2.5rem; flex: none; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  max-width: 12rem;
}

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg-heading);
  white-space: nowrap;
}
.site-menu > summary:hover { color: var(--accent-strong); border-color: var(--accent-strong); }
.menu-icon {
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  margin: 0;
  padding: 1rem var(--gutter) 1.5rem;
  list-style: none;
  background: var(--bg-light-elevated);
  border-bottom: 2px solid var(--line);
}
.site-menu > ul li { max-width: none; border-top: 1px solid var(--wash); }
.site-menu > ul li:first-child { border-top: 0; }
.site-menu a { display: block; padding: 0.7rem 0; font-weight: 600; text-decoration: none; color: var(--fg-link); }
.site-menu a:hover { color: var(--accent-strong); text-decoration: underline; }

@media (min-width: 64rem) {
  .site-menu { position: relative; }
  .site-menu > ul {
    left: auto;
    right: 0;
    top: calc(100% + 0.6rem);
    min-width: 17rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--line);
    border-radius: 1rem;
  }
  .site-menu a { white-space: nowrap; padding: 0.55rem 0; }
  .masthead { flex-wrap: nowrap; }
  .brand-name { max-width: none; white-space: nowrap; font-size: 1.25rem; }
  .brand .site-logo { width: 2.75rem; height: 2.75rem; }
}

/* Page frame and breadcrumbs */

.page { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) 4rem; }

.breadcrumbs { font-size: 0.9rem; margin: 1.25rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; }
.breadcrumbs li { max-width: none; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.5rem; color: var(--fg-muted); }
.breadcrumbs a { color: var(--fg-link); }
.breadcrumbs a:hover { color: var(--accent-strong); }

/* Home: decade line */

.cover {
  margin: 1.5rem calc(-1 * var(--gutter)) 0;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) 2rem;
  border-radius: 0 0 2rem 2rem;
}
.cover-inner {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: end;
}
.cover-title h1 { max-width: 14ch; }
.cover-lines .display-line { font-size: 1.15rem; margin: 0 0 0.8rem; max-width: 40ch; }
.cover-lines .display-line:first-child { font-weight: 600; }

.lifeline { position: relative; margin-top: 2.5rem; padding-top: 6rem; }
.pin { position: absolute; bottom: 2.1rem; width: clamp(3rem, 9vw, 5.5rem); height: auto; }
.pin-shoe { left: 6%; }
.pin-bike { left: 40%; }
.pin-gauge { left: 74%; }
.lifeline-decades {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 4px solid var(--fg-heading);
}
.lifeline-decades li {
  position: relative;
  padding: 0.6rem 0 0 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg-heading);
  border-left: 2px solid var(--line);
}

.home-body { --step: 0; margin-top: 2.5rem; }
.home-body > * { padding-left: calc(var(--step) * var(--step-size)); }
.home-body > h2:nth-of-type(2), .home-body > h2:nth-of-type(2) ~ * { --step: 1; }
.home-body > h2:nth-of-type(3), .home-body > h2:nth-of-type(3) ~ * { --step: 2; }
.home-body > h2:nth-of-type(4), .home-body > h2:nth-of-type(4) ~ * { --step: 3; }
.home-body > p:first-child { font-size: 1.2rem; max-width: 58ch; }
.home-body > h2 {
  position: relative;
  max-width: none;
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--line);
}
.home-body > h2::before {
  content: "";
  position: absolute;
  top: -9px;
  left: calc(var(--step) * var(--step-size));
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}
.home-body .photo-hero img { border-radius: 2rem; }

/* Topic hub: stepped shelf */

.shelf-head {
  margin: 1.5rem 0 0;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 1.75rem;
  border-left: 10px solid var(--accent);
}
.shelf-icons { width: clamp(8rem, 20vw, 11rem); height: auto; display: block; margin-bottom: 1rem; }
.shelf-title h1 { max-width: 20ch; }

.shelf-body { --step: 0; margin-top: 2rem; }
.shelf-body > * { margin-left: calc(var(--step) * var(--step-size) * 0.8); }
.shelf-body > h2:nth-of-type(2), .shelf-body > h2:nth-of-type(2) ~ * { --step: 1; }
.shelf-body > h2:nth-of-type(3), .shelf-body > h2:nth-of-type(3) ~ * { --step: 2; }
.shelf-body > h2:nth-of-type(4), .shelf-body > h2:nth-of-type(4) ~ * { --step: 3; }
.shelf-body > h2 {
  display: inline-block;
  max-width: 40ch;
  padding: 0 1rem 0.5rem 0;
  border-bottom: 4px solid var(--accent);
}

.shelf-steps { margin-top: 3rem; }
.shelf-steps ul { list-style: none; margin: 0; padding: 0; }
.shelf-steps li {
  max-width: 34rem;
  margin: 0 0 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--line);
  border-radius: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.shelf-steps li:nth-child(2) { margin-left: calc(var(--step-size) * 0.8); }
.shelf-steps li:nth-child(3) { margin-left: calc(var(--step-size) * 1.6); }
.shelf-steps li:nth-child(n+4) { margin-left: calc(var(--step-size) * 2.4); }
.shelf-steps a { text-decoration: none; color: var(--fg-link); }
.shelf-steps a:hover { color: var(--accent-strong); text-decoration: underline; }

/* Article: journal column with a side strip */

.column-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.column-title h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 22ch; margin-bottom: 1.75rem; }
.column-text { min-width: 0; }
.column-text p, .column-text li { max-width: 62ch; }
.measure-strip {
  display: flex;
  gap: 1rem;
  justify-content: space-around;
  padding: 1rem;
  border-radius: 1.25rem;
  border-top: 6px solid var(--accent);
}
.measure-strip svg { width: 3.5rem; height: auto; }

/* About: editor's letter */

.letter-sheet { max-width: 42rem; margin: 2.5rem auto 0; }
.letter-gauge { width: 5rem; height: auto; display: block; margin-bottom: 1.25rem; }
.letter-title h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); margin-bottom: 1.75rem; }
.letter-body > p:first-child { font-size: 1.2rem; }
.letter-sign {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fg-heading);
}

/* Contact: letters desk */

.desk-title h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin: 2rem 0 1.5rem; }
.desk-grid { display: grid; gap: 2rem 3rem; align-items: start; }
.desk-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-radius: 1.5rem;
}
.field { display: grid; gap: 0.35rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 2px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.65rem 0.8rem;
  width: 100%;
  box-sizing: border-box;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.desk-submit {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  color: var(--brand-light-on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
}
.desk-submit:hover { background: var(--accent-strong); }
.desk-notes > h2:first-of-type { margin-top: 2rem; }

/* Thank you: letter received */

.note-card {
  max-width: 38rem;
  margin: 3rem auto 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 1.75rem;
}
.note-shoe { width: 6rem; height: auto; display: block; margin-bottom: 1rem; }
.note-title h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 1.25rem; }

/* Footer */

.site-footer { border-top: 4px solid var(--fg-heading); }
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
}
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--fg-heading); text-decoration: none; }
.footer-brand:hover { color: var(--accent-strong); text-decoration: underline; }
.footer-client { margin: 0; }
.footer-client a { color: var(--fg-link); font-weight: 600; }
.footer-client a:hover { color: var(--accent-strong); }

@media (min-width: 48rem) {
  .cover-inner { grid-template-columns: 1.15fr 1fr; }
  .desk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (min-width: 64rem) {
  .column-grid { grid-template-columns: minmax(0, 1fr) 9rem; gap: 4rem; }
  .measure-strip { flex-direction: column; align-items: center; position: sticky; top: 2rem; padding: 1.5rem 1rem; }
}

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