:root {
  --ink: #2f2924;
  --muted: #6c6257;
  --rust: #963b2d;
  --rust-dark: #752e24;
  --paper: #f6f1e6;
  --paper-deep: #eee6d5;
  --paper-warm: #e9ddc5;
  --line: #b8aa94;
  --line-soft: #d5c9b6;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #e8dfce;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(#7a6652 0.45px, transparent 0.45px);
  background-size: 5px 5px;
  opacity: .08;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: var(--rust-dark); }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
::selection { background: #c58066; color: #fff; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 14px;
  z-index: 20;
  padding: 10px 14px;
  color: white;
  background: var(--rust-dark);
}
.skip-link:focus { top: 12px; }
.page-shell {
  width: min(100%, 1340px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.8vw, 74px);
  background: var(--paper);
  box-shadow: 0 0 50px #4c392523;
}

.utility-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0 15px;
  border-bottom: 1px solid var(--line);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.utility-label { color: var(--muted); }
.utility-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 11px 22px; }
.connection-status { color: var(--muted); font-size: .63rem; letter-spacing: .065em; }
.text-button {
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid var(--rust);
  color: var(--rust-dark);
  background: transparent;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.text-button:hover { color: var(--ink); border-color: var(--ink); }
.language-switch { display: flex; align-items: center; gap: 7px; color: var(--line); }
.language-switch button {
  min-width: 32px;
  min-height: 30px;
  padding: 1px 5px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
}
.language-switch button[aria-pressed="true"] { color: var(--rust-dark); border-bottom: 2px solid var(--rust); }

.masthead { position: relative; padding: 36px 0 35px; text-align: center; }
.masthead-flourish { margin-bottom: 12px; color: var(--rust); font-size: .8rem; }
.masthead-kicker {
  margin: 0 0 5px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(.8rem, 1.25vw, 1rem);
  font-style: italic;
  letter-spacing: .035em;
}
.masthead h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 8.2vw, 7.8rem);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1.03;
}
.masthead h1 em { color: var(--rust); font-weight: 400; }
.masthead-subtitle {
  margin: 13px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-style: italic;
}
.edition-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 45px;
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.edition-bar span:last-child { text-align: right; }
.edition-center { color: var(--rust); text-align: center; }
#edition-date:focus { outline: 2px solid var(--rust); outline-offset: 4px; }

.archive-panel {
  margin: 16px 0 26px;
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--line);
  background: #f0e7d7;
  box-shadow: 0 10px 25px #4b382318;
}
.archive-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.archive-panel h2 { margin: 4px 0 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; letter-spacing: -.045em; }
.eyebrow { margin: 0; color: var(--rust); font-size: .67rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.icon-button:hover { background: var(--paper); }
.archive-intro { max-width: 720px; margin: 11px 0 22px; color: var(--muted); line-height: 1.6; }
.archive-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-height: 440px; overflow-y: auto; padding-right: 4px; }
.archive-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 80px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
}
.archive-option:hover, .archive-option.is-selected { border-color: var(--rust); background: #fff9ee; }
.archive-option strong, .archive-option small { display: block; }
.archive-option strong { font-family: var(--serif); font-size: 1.17rem; font-weight: 600; }
.archive-option small { margin-top: 4px; color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.archive-option > span:last-child { max-width: 100px; color: var(--rust-dark); font-size: .68rem; font-weight: 800; text-align: right; text-transform: uppercase; }
.archive-footnote { margin: 15px 0 0; color: var(--muted); font-size: .75rem; }
.page-status { min-height: 300px; padding: 80px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.page-status p { margin: 0 auto 18px; max-width: 620px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; }
.empty-state { margin: 14px 0; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; font-style: italic; line-height: 1.5; }
.source-unavailable { color: var(--muted); font-size: .74rem; font-style: italic; }

.topline {
  padding: 16px 0 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: .98rem;
  font-style: italic;
  text-align: center;
}
.front-page {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(265px, .8fr);
  min-height: 470px;
  border-bottom: 1px solid var(--ink);
}
.lead-story { display: flex; flex-direction: column; padding: clamp(28px, 3.7vw, 56px) clamp(27px, 3.6vw, 52px) 34px 0; }
.story-meta, .card-topline, .term-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--rust);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.story-meta > span:last-child { color: var(--muted); font-size: .6rem; }
.lead-story h2 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.04;
  overflow-wrap: break-word;
}
.story-deck {
  max-width: 690px;
  margin: 0;
  color: #4e463e;
  font-family: var(--serif);
  font-size: clamp(1.11rem, 1.6vw, 1.37rem);
  line-height: 1.52;
}
.lead-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: auto; padding-top: 28px; }
.lead-ornament { display: flex; gap: 7px; color: #ac8c68; font-size: .9rem; }
.lead-ornament span:nth-child(2) { font-size: .6rem; align-self: center; }
.source-line { margin: 0; text-align: right; }
.source-link {
  color: var(--rust-dark);
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.45;
  text-decoration-color: #a8816c;
  text-underline-offset: 3px;
}
.source-link:hover { text-decoration-color: currentColor; }

.weather { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 48px) 0 34px clamp(25px, 3vw, 44px); border-left: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 16px; padding: 0 0 14px; border-bottom: 1px solid var(--ink); }
.section-number { flex: none; color: var(--rust); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.12; }
.section-heading p { margin: 0 0 2px auto; color: var(--muted); font-family: var(--serif); font-size: 1rem; font-style: italic; text-align: right; }
.compact-heading { gap: 9px; padding: 0 0 12px; }
.compact-heading h2 { font-size: clamp(1.6rem, 2.45vw, 2.18rem); }
.weather-place { margin: 24px 0 4px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.weather-main { display: flex; align-items: center; gap: 24px; margin: 10px 0 2px; }
.weather-main strong { font-family: var(--serif); font-size: clamp(4.5rem, 7vw, 7rem); font-weight: 400; letter-spacing: -.09em; line-height: 1; }
.weather-icon { position: relative; width: 78px; height: 72px; flex: none; }
.weather-icon .sun { position: absolute; top: 4px; left: 21px; width: 47px; height: 47px; border: 2px solid var(--rust); border-radius: 50%; background: #d3aa6a; }
.weather-icon .cloud { position: absolute; bottom: 7px; left: 4px; width: 66px; height: 28px; border: 2px solid #806f5b; border-radius: 19px 19px 12px 12px; background: var(--paper); }
.weather-icon .cloud::before { content: ""; position: absolute; left: 12px; top: -17px; width: 28px; height: 28px; border: 2px solid #806f5b; border-bottom: 0; border-radius: 50% 50% 0 0; background: var(--paper); }
.weather-condition { margin: 3px 0 0; font-family: var(--serif); font-size: 1.3rem; }
.weather-details { margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.sample-caption { color: var(--muted); font-size: .7rem; font-style: italic; line-height: 1.5; }
.weather .sample-caption { margin: auto 0 0; padding-top: 25px; }

.paper-section { margin-top: 66px; }
.paper-section .section-heading { margin-bottom: 22px; }
.ai-grid, .ideas-grid, .terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-card { display: flex; flex-direction: column; min-height: 290px; padding: 16px 26px 0; border-left: 1px solid var(--line); }
.ai-card:first-child { padding-left: 0; border-left: 0; }
.ai-card:last-child { padding-right: 0; }
.card-topline { padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.card-topline span:last-child { color: var(--line); font-family: var(--serif); font-size: 1.1rem; font-weight: 400; letter-spacing: 0; }
.ai-card h3 { margin: 19px 0 10px; font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.45rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.ai-card p { margin: 0; color: #51483f; font-family: var(--serif); font-size: 1.03rem; line-height: 1.55; }
.card-source { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: auto; padding-top: 20px; }
.card-source > span { color: var(--muted); font-size: .59rem; font-weight: 800; letter-spacing: .1em; }

.day-section { margin-top: 72px; }
.day-grid { display: grid; grid-template-columns: 1.55fr 1fr; border-bottom: 1px solid var(--line); }
.agenda-today { padding-right: 35px; }
.agenda-tomorrow { padding-left: 35px; border-left: 1px solid var(--line); }
.subheading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; padding: 5px 0 12px; border-bottom: 1px solid var(--line-soft); }
.subheading-row h3 { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -.045em; }
.small-label { color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.agenda-item { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.agenda-item:last-child { border-bottom: 0; }
.agenda-item time { color: var(--rust-dark); font-family: var(--serif); font-size: .98rem; white-space: nowrap; }
.agenda-item strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.22; }
.agenda-title-link { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.agenda-title-link:hover { color: var(--rust-dark); }
.agenda-title-link .external-arrow { color: var(--rust); font-family: var(--sans); font-size: .76rem; }
.agenda-item span { display: block; margin-top: 4px; color: var(--muted); font-size: .73rem; }
.agenda-source { display: inline-block; margin: 16px 0 20px; }
.agenda-caption { margin: 10px 0 0; }
.todo-panel { margin-top: 25px; padding: 20px 23px 17px; border: 1px solid var(--line); background: #f0e8d9; }
.todo-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.todo-panel h3 { margin: 5px 0 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -.045em; }
.todo-panel-head .source-link { flex: none; margin-bottom: 3px; }
.todo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; margin: 17px 0 0; padding: 0; list-style: none; }
.todo-list li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-soft); font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; }
.todo-index { flex: none; color: var(--rust); font-family: var(--sans); font-size: .63rem; font-weight: 800; letter-spacing: .08em; }
.todo-panel .sample-caption { margin: 7px 0 0; }

.walking-section { margin-top: 73px; }
.walking-feature { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 2fr); border: 1px solid var(--line); background: #f0e7d7; }
.walking-goal { display: flex; flex-direction: column; justify-content: center; min-height: 220px; padding: 25px 28px; border-right: 1px solid var(--line); background: #e6d6ba; }
.walking-goal-kicker, .walking-goal-frequency { color: var(--rust-dark); font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.walking-goal strong { margin: 8px 0 3px; font-family: var(--serif); font-size: clamp(4.5rem, 7vw, 7.8rem); font-weight: 500; letter-spacing: -.095em; line-height: 1; white-space: nowrap; }
.walking-goal strong span { font-size: .36em; letter-spacing: -.035em; }
.walking-story { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(26px, 3.2vw, 42px); }
.walking-story h3 { margin: 12px 0 12px; font-family: var(--serif); font-size: clamp(2rem, 3.1vw, 3.1rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.13; }
.walking-description { max-width: 720px; margin: 0; color: #51483f; font-family: var(--serif); font-size: 1.03rem; line-height: 1.55; }
.walking-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.walking-caption { margin: 10px 0 0; }

.ideas-section { margin-top: 73px; }
.ideas-grid { gap: 14px; }
.idea-card { display: flex; flex-direction: column; min-height: 235px; padding: 21px 22px; border: 1px solid var(--line); background: #eee5d4; }
.idea-number { color: var(--rust); font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.idea-card h3 { margin: 24px 0 9px; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.idea-card p { margin: 0 0 18px; color: #554a40; font-size: .87rem; line-height: 1.5; }
.idea-card .source-link { margin-top: auto; }

.reflection-section { margin-top: 77px; }
.reflection-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, .8fr); border: 1px solid var(--line); background: #efe6d7; }
.reflection-copy { padding: clamp(27px, 3.4vw, 45px); }
.reflection-copy h3 { margin: 18px 0 13px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 600; letter-spacing: -.052em; line-height: 1.08; }
.reflection-copy > p:last-child { max-width: 690px; margin: 0; color: #51483f; font-family: var(--serif); font-size: 1.15rem; line-height: 1.64; }
.reflection-aside { display: flex; flex-direction: column; padding: clamp(27px, 3.2vw, 42px); border-left: 1px solid var(--line); background: #e9ddc9; }
.reflection-flourish { margin-bottom: 30px; color: var(--rust); font-size: 1.5rem; line-height: 1; }
.reflection-prompt { margin: 13px 0 27px; font-family: var(--serif); font-size: clamp(1.45rem, 2.35vw, 2.05rem); font-style: italic; letter-spacing: -.035em; line-height: 1.27; }
.reflection-source { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: auto 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; line-height: 1.5; }
.reflection-source .source-link { font-size: .72rem; }

.terms-section { margin-top: 77px; }
.terms-grid { gap: 0; border: 1px solid var(--line); background: #f0e8d9; }
.term-card { display: flex; flex-direction: column; min-height: 355px; padding: 24px 22px 25px; border-left: 1px solid var(--line); }
.term-card:first-child { border-left: 0; }
.term-topline { align-items: start; min-height: 24px; }
.term-asterisk { color: #bc9a6d; font-size: 1rem; }
.term-card h3 { margin: 23px 0 14px; font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.35rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.12; }
.term-definition { margin: 0; font-family: var(--serif); font-size: 1.03rem; line-height: 1.55; }
.term-example { margin: 15px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.term-example span { color: var(--rust-dark); font-weight: 800; }
.term-footer { display: flex; flex-direction: column; gap: 9px; margin-top: auto; padding-top: 23px; }
.term-footer > span { color: var(--muted); font-size: .68rem; font-weight: 750; }

.desk-section { display: grid; grid-template-columns: .85fr 2.15fr; gap: 40px; margin: 78px 0 55px; padding: 26px 0 0; border-top: 3px double var(--ink); }
.desk-section h2 { margin: 7px 0 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 600; letter-spacing: -.055em; }
.desk-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.desk-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 78px; padding: 12px 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.desk-link:hover { border-color: var(--rust); background: #fff9ed; color: var(--rust-dark); }
.desk-link strong, .desk-link small { display: block; }
.desk-link strong { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; }
.desk-link small { margin-top: 3px; color: var(--muted); font-size: .74rem; }
.desk-arrow { color: var(--rust); font-size: 1.3rem; }

.site-footer { padding: 0 0 37px; border-top: 1px solid var(--ink); text-align: center; }
.footer-rule { width: 28px; margin: -12px auto 0; color: var(--rust); background: var(--paper); font-size: 1.25rem; }
.site-footer p { max-width: 750px; margin: 14px auto 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.site-footer .footer-credit { margin-top: 15px; color: var(--ink); font-family: var(--serif); font-size: .9rem; font-style: italic; }

.login-page .page-shell { display: flex; flex-direction: column; }
.login-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.login-utility { color: var(--muted); }
.login-main { display: grid; flex: 1; place-items: center; padding: 55px 0 75px; }
.login-card { width: min(100%, 550px); padding: clamp(28px, 5vw, 55px); border: 3px double var(--ink); background: #f0e7d7; }
.login-card h2 { margin: 13px 0 15px; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.07; }
.login-intro { margin: 0 0 27px; font-family: var(--serif); font-size: 1.17rem; line-height: 1.5; }
.login-error { padding: 12px 15px; border-left: 3px solid var(--rust); color: var(--rust-dark); background: #f8e3d8; font-size: .82rem; line-height: 1.5; }
.login-card form { display: flex; flex-direction: column; gap: 11px; }
.login-card label { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.login-card input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #fffaf0; font: inherit; }
.login-card input:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
.login-card button { display: flex; justify-content: space-between; align-items: center; min-height: 49px; margin-top: 7px; padding: 10px 15px; border: 1px solid var(--rust-dark); color: #fff9ef; background: var(--rust-dark); cursor: pointer; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.login-card button:hover { background: var(--ink); }

.public-page .page-shell { display: flex; flex-direction: column; }
.public-main { flex: 1; padding: clamp(45px, 6vw, 90px) 0 85px; }
.public-article { width: min(100%, 810px); margin: 0 auto; }
.public-article h2 { margin: 13px 0 28px; font-family: var(--serif); font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.065em; line-height: 1.05; }
.public-article h3 { margin: 35px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: -.035em; }
.public-article p { margin: 0 0 18px; color: #51483f; font-family: var(--serif); font-size: 1.12rem; line-height: 1.67; }
.public-article p.eyebrow { color: var(--rust); font-family: var(--sans); font-size: .67rem; line-height: 1.3; }
.public-article a { text-underline-offset: 3px; }
.public-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; padding-top: 22px; border-top: 3px double var(--ink); }
.public-links a { display: flex; justify-content: space-between; gap: 20px; min-width: 160px; padding: 12px 14px; border: 1px solid var(--line); color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.public-links a:hover { border-color: var(--rust); color: var(--rust-dark); background: #fff9ee; }
.public-links a span { color: var(--rust); }
.public-article p.public-contact { margin-top: 28px; font-size: .95rem; }

@media (max-width: 960px) {
  .page-shell { padding-inline: 32px; }
  .section-heading { flex-wrap: wrap; column-gap: 12px; }
  .section-heading p { flex-basis: 100%; margin: -2px 0 0 31px; text-align: left; }
  .front-page { grid-template-columns: minmax(0, 1.55fr) minmax(245px, .8fr); }
  .lead-story h2 { font-size: clamp(2.5rem, 4.7vw, 3.4rem); }
  .weather-main { gap: 13px; }
  .weather-icon { transform: scale(.8); transform-origin: left center; width: 65px; }
  .ai-card { padding-inline: 17px; }
  .agenda-item { grid-template-columns: 105px 1fr; gap: 10px; }
  .term-card { padding-inline: 17px; }
}

@media (max-width: 700px) {
  .page-shell { padding-inline: 22px; }
  .utility-row { align-items: flex-start; padding-top: 15px; }
  .utility-label { max-width: 160px; line-height: 1.5; }
  .utility-actions { gap: 12px; }
  .masthead { padding: 28px 0 29px; }
  .masthead h1 { font-size: clamp(3.05rem, 11vw, 5rem); }
  .masthead-subtitle { font-size: .9rem; }
  .edition-bar { grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 8px 0; line-height: 1.35; }
  .edition-center { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .front-page { display: block; }
  .lead-story { min-height: 320px; padding: 32px 0 29px; }
  .lead-story h2 { font-size: clamp(2.2rem, 6.8vw, 3rem); }
  .weather { min-height: 280px; padding: 28px 0; border-top: 1px solid var(--line); border-left: 0; }
  .weather-place { margin-top: 16px; }
  .weather-main strong { font-size: 5.4rem; }
  .weather .sample-caption { padding-top: 15px; }
  .ai-grid, .ideas-grid, .terms-grid { grid-template-columns: 1fr; }
  .ai-card { min-height: 0; padding: 24px 0; border-top: 1px solid var(--line); border-left: 0; }
  .ai-card:first-child { padding-top: 2px; border-top: 0; }
  .ai-card:last-child { padding-bottom: 0; }
  .ai-card h3 { font-size: 2rem; }
  .card-source { padding-top: 16px; }
  .day-grid { grid-template-columns: 1fr; }
  .agenda-today { padding-right: 0; }
  .agenda-tomorrow { padding: 22px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .todo-list { grid-template-columns: 1fr; }
  .walking-feature { grid-template-columns: 1fr; }
  .walking-goal { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .walking-goal strong { font-size: 5.8rem; }
  .ideas-grid { gap: 10px; }
  .idea-card { min-height: 175px; }
  .idea-card h3 { margin-top: 18px; }
  .term-card { min-height: 0; padding: 23px; border-top: 1px solid var(--line); border-left: 0; }
  .term-card:first-child { border-top: 0; }
  .term-footer { padding-top: 18px; }
  .reflection-layout { grid-template-columns: 1fr; }
  .reflection-aside { border-top: 1px solid var(--line); border-left: 0; }
  .reflection-flourish { margin-bottom: 18px; }
  .reflection-prompt { margin-bottom: 20px; }
  .desk-section { grid-template-columns: 1fr; gap: 18px; }
  .archive-options { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .page-shell { padding-inline: 17px; }
  .utility-row { flex-wrap: wrap; gap: 8px; }
  .utility-label { max-width: none; width: 100%; }
  .utility-actions { width: 100%; justify-content: flex-start; gap: 8px 15px; }
  .login-actions { width: 100%; justify-content: space-between; }
  .connection-status { width: 100%; }
  .masthead h1 { font-size: 3.03rem; }
  .edition-bar { font-size: .58rem; }
  .edition-bar span:last-child { max-width: 115px; }
  .topline { font-size: .86rem; }
  .lead-story h2 { font-size: 2.2rem; }
  .story-deck { font-size: 1.05rem; }
  .lead-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .source-line { text-align: left; }
  .paper-section, .day-section, .walking-section, .ideas-section, .reflection-section, .terms-section { margin-top: 52px; }
  .section-heading h2 { font-size: 2.4rem; }
  .agenda-item { grid-template-columns: 104px 1fr; }
  .todo-panel { padding: 18px 17px 16px; }
  .todo-panel-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .walking-goal { min-height: 145px; padding: 20px 22px; }
  .walking-goal strong { font-size: 5.1rem; }
  .walking-story { padding: 25px 22px; }
  .reflection-copy, .reflection-aside { padding: 25px 22px; }
  .desk-links { grid-template-columns: 1fr; }
  .desk-section { margin-top: 55px; }
}

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