:root {
  color-scheme: light;
  --cream: #f5f2e9;
  --paper: #fffdf7;
  --ink: #324339;
  --forest: #415d49;
  --forest-dark: #2f4938;
  --sage: #e3eadc;
  --sage-mid: #a1b095;
  --blush: #f0dfd7;
  --terra: #a36c53;
  --muted: #6c766a;
  --line: #dedfd2;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .4;
  background-image: radial-gradient(#b5ad982a .6px, transparent .6px);
  background-size: 6px 6px;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button { touch-action: manipulation; }
button:disabled { cursor: wait; }
button, a { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
button:focus-visible, a:focus-visible { outline: 3px solid #ab755b; outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em { color: #658067; font-weight: 400; }
a { color: inherit; }
::selection { color: var(--forest-dark); background: #d4deca; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.small-icon { width: 16px; height: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell { max-width: 1220px; margin: 0 auto; padding: 0 44px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; min-height: 48px; }
.brand-initials { font-family: var(--serif); font-size: 36px; line-height: 1; letter-spacing: -.08em; white-space: nowrap; }
.brand-initials span { padding: 0 7px; font-family: var(--sans); font-size: 19px; font-weight: 300; color: var(--terra); vertical-align: 4px; }
.brand-caption { font-size: 9px; font-weight: 650; letter-spacing: .17em; line-height: 1.5; }
.boston-clock { display: flex; align-items: center; gap: 9px; border: 1px solid #d8ddd0; border-radius: 40px; padding: 9px 15px; color: #626f60; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #82966d; box-shadow: 0 0 0 3px #82966d13; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .17em; line-height: 1.55; }
.handwritten { font-family: var(--serif); font-style: italic; font-size: 16px; font-weight: 400; color: #8b765e; }
.button { border: 1px solid transparent; min-height: 50px; padding: 13px 24px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; border-radius: 8px; font-size: 13px; font-weight: 550; line-height: 1.4; text-decoration: none; }
.button .icon { width: 19px; height: 19px; }
.primary { color: #fffdf7; background: var(--forest); border-color: var(--forest); }
.primary:hover { background: var(--forest-dark); border-color: var(--forest-dark); transform: translateY(-1px); }
.primary:active, .secondary:active { transform: translateY(1px); }
.secondary { background: transparent; color: var(--ink); border-color: #ccd1c2; }
.secondary:hover { background: #edf0e7; border-color: #899a7f; }
.compact { min-height: 46px; padding: 11px 19px; font-size: 12px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 3px; border: 0; background: transparent; color: #596b55; font-size: 11px; line-height: 1.4; text-underline-offset: 4px; }
.text-button:hover { color: var(--forest-dark); text-decoration: underline; }

/* A small paper invitation, rather than a grand declaration. */
.gate-view { min-height: calc(100svh - 165px); display: grid; place-items: center; padding: 34px 0 42px; }
.gate-composition { position: relative; width: min(100%, 696px); isolation: isolate; }
.entry-paper { position: relative; width: 100%; padding: 25px 52px 28px; background: var(--paper); border: 1px solid #dbddcf; border-radius: 5px; box-shadow: 0 8px 32px #43503a06, 0 2px 3px #43503a03; text-align: center; }
.entry-paper::before { content: ""; position: absolute; inset: 8px -7px -8px 6px; z-index: -1; border: 1px solid #dedccf; border-radius: 4px; background: #ece9dd; transform: rotate(-1.15deg); }
.paper-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #e9e8df; }
.paper-topline .eyebrow { font-size: 9px; letter-spacing: .18em; color: #6b7b61; }
.edition { font-family: var(--serif); font-size: 11px; font-style: italic; color: #898273; }
.desk-illustration { width: 266px; max-width: 100%; margin: 16px auto 7px; }
.desk-illustration svg { display: block; width: 100%; height: auto; }
.soft-eyebrow { color: #748266; font-size: 9px; letter-spacing: .2em; margin-bottom: 10px; }
.gate-view h1 { font-size: clamp(44px, 5.6vw, 67px); line-height: 1.04; letter-spacing: -.055em; }
.gate-view h1 em { color: #70836a; }
.gate-copy { color: #758070; font-size: 13px; line-height: 1.8; margin: 20px 0 24px; }
.gate-buttons { display: flex; gap: 10px; justify-content: center; }
.gate-buttons .primary { min-width: 184px; }
.gate-buttons .secondary { min-width: 88px; }
.gate-signature { margin-top: 22px; font-size: 14px; }
.margin-note { position: absolute; right: -114px; top: 35px; width: 145px; z-index: 2; color: #9b7c60; transform: rotate(8deg); pointer-events: none; }
.margin-note span { display: block; max-width: 132px; font: italic 17px/1.25 var(--serif); }
.drawn-arrow { display: block; width: 69px; height: 56px; margin-left: -18px; transform: rotate(20deg); fill: none; stroke: #a4876a; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.tiny-sticker { position: absolute; left: -60px; bottom: 60px; width: 116px; height: 116px; padding: 19px 7px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d1b5a2; border-radius: 50%; box-shadow: inset 0 0 0 4px #f4e3d6; background: #ecd5c5; color: #8d654c; transform: rotate(-12deg); pointer-events: none; }
.tiny-sticker span { font-size: 6.5px; font-weight: 650; letter-spacing: .11em; }
.tiny-sticker .icon { width: 24px; height: 24px; }
.gate-footer { min-height: 61px; padding: 17px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: .16em; color: #7b806f; }
.gate-footer span:nth-child(2) { font-size: 7.5px; letter-spacing: .15em; text-align: center; }
.wrong-paper { width: min(100%, 650px); padding: 45px 44px 42px; isolation: isolate; }
.wrong-badge { display: inline-block; padding: 7px 13px; border: 1px dashed #bd9a85; color: #9b755c; font-size: 8px; letter-spacing: .15em; transform: rotate(-4deg); border-radius: 4px; }
.wrong-monogram { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 25px 0 18px; font: italic 54px/1 var(--serif); color: #718169; }
.wrong-monogram span { color: #b98970; font-size: 35px; transform: rotate(15deg); }
.wrong-paper .handwritten { margin-top: 25px; font-size: 14px; }

/* The study edition. */
.study-view { max-width: 1056px; margin: 0 auto; padding: 43px 0 0; }
.welcome-line { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 31px; }
.welcome-line .eyebrow { color: #73816a; margin-bottom: 14px; font-size: 9px; }
.welcome-line h1 { font-size: clamp(41px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -.047em; }
.intro-copy { margin-top: 17px; color: var(--muted); font-size: 13px; }
.date-note { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; padding: 20px 0 0; text-align: right; }
.date-note > span:first-child { font-size: 8px; letter-spacing: .14em; color: #7e866f; font-weight: 600; }
#date-label { font-family: var(--serif); font-size: 24px; letter-spacing: -.03em; white-space: nowrap; }
.date-note .handwritten { font-size: 14px; color: #a1846c; margin-top: 9px; }
.weather-card { display: grid; grid-template-columns: 262px minmax(0, 1fr); border: 1px solid var(--line); background: var(--paper); border-radius: 14px; overflow: hidden; min-height: 224px; }
.weather-overview { padding: 24px 28px 21px; border-right: 1px solid #e2e4d8; background: #f1f2e8; }
.weather-location { display: flex; align-items: center; gap: 6px; }
.weather-location .icon { width: 14px; height: 14px; color: #6e8066; }
.weather-location h2 { font: 600 11px/1.5 var(--sans); letter-spacing: .03em; }
.weather-reading { display: flex; align-items: center; gap: 12px; min-height: 86px; margin-top: 8px; }
.weather-icon { width: 42px; height: 42px; fill: none; stroke: #8b9a71; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#temperature { font: 61px/1 var(--serif); letter-spacing: -.065em; font-variant-numeric: lining-nums tabular-nums; min-width: 62px; }
.temperature-units { display: flex; flex-direction: column; margin-left: auto; }
.unit { min-width: 44px; min-height: 44px; background: transparent; border: 0; color: #8b9383; padding: 5px; border-radius: 5px; font-size: 12px; font-weight: 600; }
.unit.active, .unit[aria-pressed="true"] { color: var(--forest-dark); background: #e4e9db; }
.unit:hover { background: #e7ebdf; }
.weather-condition { font-size: 12px; color: #53654f; margin-top: 1px; min-height: 19px; }
.weather-range { font-size: 10px; color: #79816d; line-height: 1.7; margin-top: 5px; min-height: 17px; }
.weather-note { display: flex; flex-direction: column; padding: 25px 29px 14px; }
.weather-note .eyebrow { color: #7b866a; font-size: 8px; display: flex; align-items: center; gap: 6px; }
.weather-message { margin: 12px 0 15px; font-family: var(--serif); font-size: 21px; line-height: 1.45; letter-spacing: -.018em; max-width: 620px; }
.weather-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.weather-tags > * { display: inline-flex; align-items: center; gap: 5px; border-radius: 4px; color: #748064; background: #eef1e7; padding: 3px 7px; font-size: 9px; line-height: 1.6; }
.weather-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.weather-bottom p { color: #838a7b; font-size: 9px; line-height: 1.6; }
.weather-bottom a { text-underline-offset: 3px; }
.weather-bottom .text-button { font-size: 10px; flex-shrink: 0; }
.is-refreshing .icon, #weather-refresh.is-refreshing .icon { animation: turn 1.5s linear infinite; }
.weather-card[aria-busy="true"] .weather-icon { opacity: .65; }

.checkin { margin-top: 39px; }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.section-topline .eyebrow { color: #7a856e; font-size: 8px; }
.small-muted { color: #89907e; font-size: 10px; }
.checkin h2 { margin-top: 12px; font-size: 34px; letter-spacing: -.04em; line-height: 1.25; }
.section-subtitle { font-size: 12px; color: var(--muted); margin-top: 7px; }
.progress-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
.progress-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-height: 164px; text-align: left; padding: 19px 20px 18px; border: 1px solid #dddccf; border-radius: 10px; background: #fffdf6; color: var(--ink); }
.progress-option:hover { transform: translateY(-3px); border-color: #9fad91; background: #f8faf2; box-shadow: 0 5px 16px #37462a06; }
.progress-option.selected, .progress-option[aria-pressed="true"] { border-color: #6f8562; background: #e6ecdd; box-shadow: inset 0 0 0 1px #6f8562; }
.option-illustration { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: #f4ecd8; color: #9d8961; margin-bottom: 8px; }
.progress-option:nth-child(2) .option-illustration { background: #e9ecdf; color: #758968; }
.progress-option:nth-child(3) .option-illustration { background: #f4e3d7; color: #b78866; }
.progress-option:nth-child(4) .option-illustration { background: #e8ece1; color: #7d926e; }
.option-illustration .icon { width: 22px; height: 22px; }
.progress-option strong { font-size: 13px; font-weight: 600; line-height: 1.4; }
.progress-option > span:not(.option-illustration):not(.option-dot) { font-size: 10px; color: #7e8775; line-height: 1.6; }
.option-dot { position: absolute; top: 18px; right: 17px; width: 13px; height: 13px; border: 1px solid #d4d9ca; border-radius: 50%; background: #fffdf9; }
.selected .option-dot, [aria-pressed="true"] .option-dot { border-color: #718866; background: #718866; box-shadow: inset 0 0 0 3px #e5ecdc; }
.saved-note { margin-top: 12px; color: #828a78; font-size: 9px; line-height: 1.7; }

.boost-card { display: grid; grid-template-columns: minmax(0, 1fr) 177px; gap: 24px; padding: 30px 33px 29px; background: var(--sage); border: 1px solid #d2ddc8; border-radius: 13px; margin-top: 28px; min-height: 266px; }
.boost-topline { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-bottom: 17px; }
.boost-topline .eyebrow { font-size: 8px; color: #6f8263; }
.boost-badge { font-size: 8px; padding: 4px 8px; border-radius: 4px; border: 1px solid #bccbaf; color: #607853; background: #eef3e7; line-height: 1.5; max-width: 100%; overflow-wrap: anywhere; }
.boost-card h2 { font-size: clamp(28px, 3.3vw, 39px); line-height: 1.15; letter-spacing: -.045em; color: #34513d; }
.boost-message { font-size: 13px; line-height: 1.8; margin-top: 13px; color: #586e50; max-width: 640px; }
.boost-aside { margin-top: 9px; font-size: 11px; line-height: 1.7; color: #728464; }
.boost-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 21px; }
.boost-actions .handwritten { color: #7c8b70; font-size: 14px; }
.boost-art { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 17px; }
.round-seal { width: 145px; height: 145px; border: 1px dashed #8f9f7c; outline: 1px solid #a7b597; outline-offset: -7px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #7a8e68; transform: rotate(10deg); background: #eaf0e1; }
.round-seal > span { font-size: 7px; font-weight: 600; letter-spacing: .12em; }
.round-seal .icon { width: 17px; height: 17px; margin: 5px 0 4px; }
.round-seal strong { font: italic 23px/1.05 var(--serif); text-align: center; margin-bottom: 8px; }
.boost-art-caption { font: italic 11px/1.4 var(--serif); color: #8a987a; transform: rotate(5deg); }

.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.timer-card, .pocket-card { border: 1px solid #dddfd0; border-radius: 12px; padding: 26px 28px; min-height: 324px; }
.timer-card { background: #fffdf7; }
.timer-card > .section-topline > .icon { color: #8c9a7c; width: 18px; height: 18px; }
.timer-card h2, .pocket-card h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.035em; margin-top: 14px; }
.timer-modes { display: inline-flex; align-items: center; background: #f1f2e9; border-radius: 7px; padding: 3px; margin-top: 19px; gap: 3px; }
.timer-modes button { min-height: 44px; padding: 9px 13px; font-size: 10px; line-height: 1.3; border-radius: 5px; color: #879079; background: transparent; border: 1px solid transparent; }
.timer-modes button.active, .timer-modes button[aria-pressed="true"] { color: #49613e; background: #fffdf7; border-color: #dbe1cf; box-shadow: 0 1px 2px #3b503208; }
.timer-modes button:hover { color: var(--forest-dark); }
.timer-display { font-family: var(--serif); font-size: 65px; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: lining-nums tabular-nums; padding-top: 15px; color: #3f5b43; }
.timer-display span { color: #a6b19a; }
.timer-note { font-size: 11px; color: #85917b; margin-top: 4px; line-height: 1.6; }
.timer-actions { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.timer-actions .button { min-width: 129px; }
.timer-card.is-done { background: #edf3e6; border-color: #a4b796; }
.timer-card.is-done .timer-display, .timer-display.is-done { color: #61864d; }
.pocket-card { display: flex; flex-direction: column; background: #f0e1d7; border-color: #e1cfc1; position: relative; }
.pocket-card::before { content: ""; position: absolute; top: -8px; left: 47%; width: 63px; height: 18px; background: #d8ccaf96; border-left: 1px solid #ccbd9d44; border-right: 1px solid #ccbd9d44; transform: rotate(-5deg); }
.pocket-card .eyebrow { color: #a0856b; }
.note-number { font: italic 14px/1 var(--serif); color: #b59b81; }
.pocket-card h2 { color: #795b46; }
.pocket-note { font-family: var(--serif); font-size: 26px; line-height: 1.4; letter-spacing: -.025em; color: #8c6f57; margin: 25px 0 22px; max-width: 360px; min-height: 110px; }
.pocket-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: auto; }
.pocket-footer .handwritten { font-size: 14px; color: #aa8a70; }
.note-button { width: 46px; height: 46px; border: 1px solid #ccb39c; border-radius: 50%; color: #9f7a5b; background: #f5e8de; display: grid; place-items: center; }
.note-button:hover { transform: translateX(2px); background: #f9efe7; border-color: #a58768; }
.note-button .icon { width: 20px; height: 20px; }
.study-footer { text-align: center; margin-top: 44px; padding: 29px 0 30px; border-top: 1px solid var(--line); }
.study-footer .brand-initials { font-size: 30px; }
.study-footer .brand-initials span { font-size: 15px; vertical-align: 3px; }
.study-footer > p:not(.footer-fine) { font: italic 14px/1.5 var(--serif); color: #7f8b73; margin-top: 12px; }
.footer-fine { color: #8b927f; font-size: 8px; line-height: 1.9; margin-top: 12px; }
.study-footer .text-button { margin-top: 10px; color: #8d927f; font-size: 9px; }
.noscript-note { position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 200; padding: 16px 20px; border: 1px solid #d0ad90; border-radius: 8px; background: #fff5e6; color: #76523b; font-size: 14px; text-align: center; }
.confetti-layer { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: -18px; left: var(--x, 50%); width: 7px; height: 11px; border-radius: 2px; background: var(--color, #b5c3a1); opacity: 0; animation: confetti-fall 2.8s ease-in var(--delay, 0s) both; }
.view-enter { animation: rise-in .45s ease-out both; }
.reveal { animation: rise-in .4s ease-out both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes confetti-fall { 0% { opacity: 0; transform: translateY(-20px) rotate(var(--rotation, 0deg)); } 10% { opacity: 1; } 85% { opacity: .8; } 100% { opacity: 0; transform: translateY(104vh) rotate(calc(var(--rotation, 0deg) + 290deg)); } }

@media (min-width: 1100px) and (min-height: 900px) {
  .gate-view { padding-top: 45px; padding-bottom: 55px; }
  .entry-paper { padding-top: 29px; padding-bottom: 34px; }
  .desk-illustration { width: 296px; margin-top: 18px; }
  .gate-copy { margin-top: 23px; }
}
@media (max-width: 1000px) {
  .site-shell { padding: 0 32px; }
  .gate-composition { max-width: 660px; }
  .margin-note { display: none; }
  .tiny-sticker { left: -30px; width: 102px; height: 102px; bottom: 50px; }
  .tiny-sticker span { font-size: 6px; }
  .progress-option { padding-left: 15px; padding-right: 15px; }
  .weather-card { grid-template-columns: 244px minmax(0, 1fr); }
  .weather-overview { padding-left: 22px; padding-right: 22px; }
  .weather-message { font-size: 19px; }
  .boost-card { grid-template-columns: minmax(0, 1fr) 140px; padding: 27px; }
  .round-seal { width: 131px; height: 131px; }
  .timer-card, .pocket-card { padding: 24px; }
  .pocket-note { font-size: 24px; }
}
@media (max-width: 760px) {
  .site-shell { padding: 0 24px; }
  .site-header { min-height: 88px; }
  .brand { gap: 12px; }
  .brand-caption { font-size: 7.5px; max-width: 84px; line-height: 1.7; }
  .brand-initials { font-size: 32px; }
  .brand-initials span { padding: 0 5px; font-size: 16px; }
  .boston-clock { font-size: 10px; padding: 8px 11px; }
  .gate-view { min-height: calc(100svh - 148px); padding: 27px 9px 37px; }
  .entry-paper { padding: 22px 24px 28px; }
  .desk-illustration { width: 248px; }
  .gate-view h1 { font-size: clamp(43px, 8.5vw, 62px); }
  .gate-copy { margin: 18px 0 22px; }
  .tiny-sticker { display: none; }
  .paper-topline .eyebrow { font-size: 8px; }
  .edition { font-size: 10px; }
  .gate-footer { min-height: 60px; gap: 10px; font-size: 7px; }
  .gate-footer span:nth-child(2) { font-size: 6.5px; letter-spacing: .09em; }
  .wrong-paper { padding: 35px 24px 34px; }
  .study-view { padding-top: 30px; }
  .welcome-line { gap: 14px; padding-bottom: 26px; }
  .welcome-line h1 { font-size: 47px; }
  .date-note { padding-top: 35px; }
  #date-label { font-size: 18px; }
  .date-note .handwritten { font-size: 12px; }
  .intro-copy { font-size: 12px; max-width: 270px; }
  .weather-card { grid-template-columns: 208px minmax(0, 1fr); }
  .weather-overview { padding: 22px 19px; }
  .weather-reading { gap: 9px; min-height: 77px; }
  .weather-icon { width: 34px; height: 34px; }
  #temperature { font-size: 54px; min-width: 51px; }
  .unit { min-width: 44px; }
  .weather-note { padding: 22px 22px 12px; }
  .weather-message { font-size: 18px; }
  .weather-bottom { flex-wrap: wrap; gap: 0; }
  .progress-options { grid-template-columns: 1fr 1fr; }
  .progress-option { min-height: 155px; padding: 18px; }
  .progress-option strong { font-size: 14px; }
  .progress-option > span:not(.option-illustration):not(.option-dot) { font-size: 11px; }
  .checkin { margin-top: 30px; }
  .checkin h2 { font-size: 31px; }
  .boost-card { grid-template-columns: minmax(0, 1fr) 119px; gap: 20px; padding: 25px; }
  .round-seal { width: 116px; height: 116px; }
  .round-seal strong { font-size: 19px; }
  .round-seal .icon { width: 14px; height: 14px; }
  .round-seal > span { font-size: 6px; }
  .boost-art-caption { font-size: 10px; text-align: center; }
  .boost-actions .handwritten { font-size: 13px; }
  .extras-grid { gap: 15px; }
  .timer-card, .pocket-card { padding: 21px; }
  .timer-card h2, .pocket-card h2 { font-size: 24px; }
  .timer-modes button { padding: 8px 8px; font-size: 9px; }
  .timer-display { font-size: 58px; }
  .timer-actions { gap: 12px; }
  .timer-actions .button { min-width: 112px; }
  .pocket-note { font-size: 23px; }
}
@media (max-width: 560px) {
  .site-shell { padding: 0 19px; }
  .site-header { min-height: 82px; gap: 10px; }
  .brand-caption { font-size: 7px; max-width: 72px; letter-spacing: .1em; }
  .brand { gap: 9px; }
  .brand-initials { font-size: 29px; }
  .brand-initials span { font-size: 15px; }
  .boston-clock { font-size: 9px; gap: 7px; padding: 8px 9px; }
  .gate-view { min-height: calc(100svh - 143px); padding: 29px 2px 38px; }
  .entry-paper { padding: 18px 19px 26px; }
  .entry-paper::before { inset: 6px -4px -6px 4px; }
  .paper-topline { padding-bottom: 13px; gap: 7px; }
  .paper-topline .eyebrow { font-size: 7px; letter-spacing: .14em; }
  .edition { font-size: 8px; }
  .desk-illustration { width: 243px; margin: 19px auto 13px; }
  .soft-eyebrow { font-size: 8px; letter-spacing: .15em; }
  .gate-view h1 { font-size: clamp(43px, 11.2vw, 56px); }
  .gate-copy { font-size: 12px; margin: 18px 0 21px; }
  .gate-buttons { gap: 8px; }
  .gate-buttons .primary { min-width: 0; padding: 13px 20px; }
  .gate-buttons .secondary { min-width: 75px; }
  .gate-signature { font-size: 13px; margin-top: 20px; }
  .gate-footer { padding: 16px 0 23px; font-size: 6.5px; }
  .gate-footer span:nth-child(2) { font-size: 5.5px; letter-spacing: .07em; }
  .wrong-paper { padding: 29px 20px; }
  .wrong-monogram { margin: 27px 0 21px; }
  .study-view { padding-top: 25px; }
  .welcome-line { align-items: flex-start; position: relative; padding-bottom: 24px; }
  .welcome-line .eyebrow { font-size: 7.5px; margin-bottom: 12px; }
  .welcome-line h1 { font-size: 43px; }
  .welcome-line > div:first-child { min-width: 0; }
  .intro-copy { max-width: 270px; font-size: 11px; margin-top: 14px; }
  .date-note { padding-top: 2px; gap: 3px; position: absolute; top: 0; right: 0; }
  .date-note > span:first-child { font-size: 6px; letter-spacing: .06em; }
  #date-label { font-size: 13px; }
  .date-note .handwritten { display: none; }
  .weather-card { grid-template-columns: 1fr; border-radius: 10px; }
  .weather-overview { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 18px 20px 16px; border-right: 0; border-bottom: 1px solid #e0e5d4; }
  .weather-location { grid-column: 1; grid-row: 1; }
  .weather-location h2 { font-size: 12px; }
  .weather-reading { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; min-height: 79px; gap: 9px; }
  .weather-icon { width: 32px; height: 32px; }
  #temperature { font-size: 51px; }
  .temperature-units { margin-left: 2px; }
  .unit { min-width: 44px; font-size: 11px; }
  .weather-condition { grid-column: 1; grid-row: 2; font-size: 11px; margin-top: 4px; }
  .weather-range { grid-column: 1; grid-row: 3; font-size: 9px; margin-top: 2px; max-width: 150px; }
  .weather-note { padding: 19px 20px 10px; }
  .weather-message { margin-top: 11px; font-size: 21px; line-height: 1.4; }
  .weather-tags { min-height: 23px; }
  .weather-bottom { flex-wrap: nowrap; padding-top: 7px; }
  .weather-bottom p { font-size: 8px; }
  .checkin { margin-top: 28px; }
  .section-topline { gap: 8px; }
  .section-topline .eyebrow { font-size: 7px; letter-spacing: .13em; }
  .small-muted { font-size: 8px; text-align: right; max-width: 132px; }
  .checkin h2 { margin-top: 12px; font-size: 29px; }
  .section-subtitle { font-size: 11px; }
  .progress-options { gap: 10px; margin-top: 18px; }
  .progress-option { min-height: 151px; padding: 16px; border-radius: 9px; }
  .progress-option strong { font-size: 13px; }
  .progress-option > span:not(.option-illustration):not(.option-dot) { font-size: 9px; }
  .option-illustration { width: 37px; height: 37px; margin-bottom: 8px; }
  .option-illustration .icon { width: 21px; height: 21px; }
  .option-dot { top: 16px; right: 15px; width: 12px; height: 12px; }
  .saved-note { font-size: 8px; margin-top: 10px; }
  .boost-card { display: block; padding: 23px 22px; margin-top: 23px; border-radius: 10px; }
  .boost-topline { margin-bottom: 15px; gap: 9px; }
  .boost-topline .eyebrow { font-size: 7px; }
  .boost-badge { font-size: 7px; }
  .boost-card h2 { font-size: 32px; }
  .boost-message { font-size: 12px; margin-top: 12px; }
  .boost-aside { font-size: 10px; }
  .boost-actions { margin-top: 19px; gap: 13px; }
  .boost-actions .button { font-size: 11px; padding: 11px 15px; }
  .boost-actions .handwritten { font-size: 12px; }
  .boost-art { display: none; }
  .extras-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .timer-card, .pocket-card { min-height: 0; padding: 23px; }
  .timer-card h2, .pocket-card h2 { font-size: 28px; margin-top: 12px; }
  .timer-modes { margin-top: 17px; }
  .timer-modes button { font-size: 10px; padding: 9px 15px; }
  .timer-display { font-size: 65px; padding-top: 15px; }
  .timer-note { font-size: 11px; }
  .timer-actions { gap: 20px; }
  .pocket-note { min-height: 95px; max-width: 100%; font-size: 27px; margin: 22px 0 20px; }
  .pocket-footer .handwritten { font-size: 14px; }
  .study-footer { margin-top: 31px; padding: 25px 0; }
}
@media (max-width: 370px) {
  .site-shell { padding: 0 14px; }
  .brand-caption { display: none; }
  .gate-view h1 { font-size: 42px; }
  .desk-illustration { width: 220px; }
  .gate-buttons .primary { padding-left: 14px; padding-right: 14px; font-size: 12px; }
  .gate-buttons .secondary { min-width: 65px; padding-left: 17px; padding-right: 17px; }
  .gate-footer span:nth-child(2) { max-width: 140px; }
  .date-note { display: none; }
  .weather-reading { gap: 5px; }
  .weather-icon { width: 26px; }
  #temperature { font-size: 47px; }
  .weather-overview { padding-left: 17px; padding-right: 17px; }
  .progress-option { padding: 14px; }
}
/* Readable stationery: the quiet details should still be easy to read. */
.gate-copy, .intro-copy, .boost-message { font-size: 15px; }
.gate-copy, .intro-copy { color: #626f5d; }
.boost-aside, .section-subtitle { font-size: 14px; }
.timer-note { font-size: 13px; }
.boost-aside, .boost-topline .eyebrow { color: #586e50; }
.section-subtitle, .timer-note { color: #626f5d; }
.progress-option strong { font-size: 15px; }
.progress-option > span:not(.option-illustration):not(.option-dot) { font-size: 12px; color: #626f5d; }
.eyebrow, .paper-topline .eyebrow, .soft-eyebrow, .welcome-line .eyebrow,
.weather-note .eyebrow, .section-topline .eyebrow, .boost-topline .eyebrow { font-size: 9px; }
.paper-topline .eyebrow, .soft-eyebrow, .welcome-line .eyebrow,
.weather-note .eyebrow, .section-topline .eyebrow { color: #63715b; }
.brand-caption { font-size: 9px; }
.edition, .wrong-badge, .date-note > span:first-child { font-size: 10px; }
.tiny-sticker span, .round-seal > span { font-size: 9px; letter-spacing: .08em; }
.small-muted, .saved-note, .weather-range, .weather-bottom p,
.footer-fine, .study-footer .text-button { font-size: 11px; color: #65715e; }
.weather-tags > *, .boost-badge { font-size: 10px; }
.weather-tags > * { color: #596b4d; }
.boost-badge { color: #526c46; }
.weather-bottom .text-button, .text-button, .timer-modes button { font-size: 12px; }
.boost-actions .button { font-size: 13px; }
.boost-art-caption { font-size: 12px; color: #627356; }
.pocket-card .eyebrow, .pocket-footer .handwritten { color: #765a45; }
.boston-clock { font-size: 11px; }
.weather-message { font-size: 21px; }
.weather-bottom { flex-wrap: wrap; }
.gate-footer, .gate-footer span:nth-child(2) { font-size: 10px; letter-spacing: .09em; color: #65715e; }

@media (max-width: 760px) {
  .brand-caption { max-width: 91px; }
  .boost-topline { gap: 10px; }
  .round-seal > span { font-size: 9px; letter-spacing: .04em; }
  .timer-modes { max-width: 100%; }
  .timer-modes button { padding-left: 9px; padding-right: 9px; }
  .boost-message { font-size: 16px; line-height: 1.7; }
}
@media (max-width: 560px) {
  .brand-caption { max-width: 78px; letter-spacing: .07em; }
  .boston-clock { padding-left: 8px; padding-right: 8px; }
  .gate-copy { line-height: 1.65; }
  .gate-footer { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 15px 0 19px; }
  .gate-footer span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; max-width: none; text-align: left; font-size: 10px; }
  .gate-footer span:last-child { grid-column: 2; grid-row: 1; }
  .welcome-line { flex-direction: column; gap: 17px; }
  .welcome-line > div:first-child { width: 100%; }
  .intro-copy { max-width: 340px; font-size: 15px; line-height: 1.65; }
  .date-note { display: flex; position: static; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; padding: 0; text-align: left; }
  .date-note > span:first-child { font-size: 10px; letter-spacing: .07em; }
  #date-label { font-size: 16px; }
  .weather-overview { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
  .weather-location, .weather-condition, .weather-range { min-width: 0; overflow-wrap: break-word; }
  .weather-location h2 { white-space: normal; line-height: 1.45; }
  .weather-reading { min-width: 0; gap: 7px; }
  .weather-condition { font-size: 12px; }
  .weather-range { max-width: 150px; font-size: 11px; line-height: 1.5; }
  .weather-bottom { flex-wrap: wrap; column-gap: 12px; }
  .weather-bottom p { font-size: 11px; flex: 1 1 170px; }
  .weather-bottom .text-button { margin-left: auto; }
  .section-topline { align-items: flex-start; flex-wrap: wrap; row-gap: 4px; }
  .small-muted { font-size: 11px; max-width: 151px; }
  .progress-option { min-height: 168px; }
  .progress-option strong { font-size: 15px; }
  .progress-option > span:not(.option-illustration):not(.option-dot) { font-size: 12px; line-height: 1.5; }
  .boost-aside, .section-subtitle { font-size: 14px; }
  .boost-badge { font-size: 10px; }
  .boost-actions .button { font-size: 13px; }
  .timer-modes button { font-size: 12px; padding-left: 15px; padding-right: 15px; }
  .timer-note { font-size: 13px; }
  .footer-fine, .saved-note { font-size: 11px; }
}
@media (max-width: 370px) {
  .weather-overview { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .weather-reading { flex-wrap: wrap; max-width: 150px; }
  .weather-range { max-width: 125px; }
  .section-topline .small-muted { max-width: none; text-align: left; }
  .date-note { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .confetti-layer { display: none; }
  .progress-option:hover, .primary:hover, .note-button:hover { transform: none; }
}
