:root {
  color-scheme: light;
  --ink: #4f3528;
  --muted: #826b5d;
  --paper: #fffaf0;
  --paper-deep: #f6e7cc;
  --orange: #c86d2c;
  --orange-dark: #9f4f1f;
  --line: rgba(126, 85, 53, 0.18);
  --shadow: 0 18px 52px rgba(104, 66, 35, 0.17);
  --serif: "幼圆", "YouYuan", "方正姚体", "FZYaoti", "华文楷体", "STKaiti", serif;
  --sans: "幼圆", "YouYuan", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background-color: #f3dfb9;
  background-image: url("assets/cozy-room-background.jpg");
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  width: min(94vw, 1460px);
  min-height: 82px;
  margin: 18px auto 0;
  padding: 10px 22px;
  border: 1px solid rgba(145, 98, 58, 0.18);
  border-radius: 24px 20px 26px 21px;
  background: rgba(255, 250, 239, 0.9);
  box-shadow: 0 12px 34px rgba(105, 66, 37, 0.14), inset 0 0 30px rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
}

.site-header::after {
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(157, 105, 63, 0.14);
  border-radius: 19px;
  content: "";
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}

.brand-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 3px solid #fff4dc;
  border-radius: 50%;
  color: #643c2b;
  background: #f2b86f;
  box-shadow: 0 4px 12px rgba(115, 66, 35, 0.24);
  overflow: hidden;
}

.avatar-hair {
  position: absolute;
  inset: 5px 7px 15px;
  border-radius: 50% 50% 44% 44%;
  background: #6f422f;
}

.avatar-face {
  position: relative;
  top: 6px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 48% 48% 50% 50%;
  background: #ffe3c3;
  font: 700 15px var(--sans);
}

.brand strong {
  display: block;
  font: 700 clamp(18px, 1.6vw, 24px) var(--serif);
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #9a7b67;
  font: 11px Georgia, serif;
  letter-spacing: 0.03em;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.8vw, 30px);
}

.site-nav a {
  position: relative;
  padding: 15px 10px;
  color: #705648;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 2px;
  border-radius: 10px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--orange-dark);
  font-weight: 700;
}

.header-note {
  position: relative;
  z-index: 1;
  justify-self: end;
  margin: 0;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(168, 112, 67, 0.25);
  color: #9b765e;
  font: 14px var(--serif);
  white-space: nowrap;
}

.header-note span {
  color: #df9b38;
  margin-right: 8px;
}

.menu-button {
  display: none;
}

main {
  width: min(94vw, 1460px);
  margin: 0 auto;
}

.welcome {
  position: relative;
  max-width: 820px;
  margin: 42px auto 25px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #b77a4f;
  font: 700 10px Georgia, serif;
  letter-spacing: 0.25em;
}

.welcome h1 {
  margin: 0;
  font: 700 clamp(26px, 3vw, 40px) var(--serif);
  letter-spacing: 0.05em;
}

.welcome h1 span {
  color: #df8d64;
}

.welcome > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.welcome-vine {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 75%;
  margin: 14px auto 0;
  color: #84914a;
}

.welcome-vine span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #d5b999);
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(620px, 3.1fr) minmax(195px, 0.78fr);
  align-items: start;
  gap: 18px;
}

.side-column {
  min-width: 0;
}

.quote-hanger {
  position: relative;
  min-height: 430px;
  padding-top: 59px;
}

.quote-hanger::before,
.quote-hanger::after {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 0;
  width: 2px;
  height: 73px;
  border-radius: 999px;
  background: #9a734b;
  content: "";
  transform-origin: top;
}

.quote-hanger::before {
  transform: rotate(43deg);
}

.quote-hanger::after {
  transform: rotate(-43deg);
}

.hanger-pin {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 17px;
  height: 17px;
  border: 3px solid #f2ce89;
  border-radius: 50%;
  background: #a96330;
  box-shadow: 0 3px 7px rgba(91, 52, 25, 0.28);
  transform: translateX(-50%);
}

.paper-note,
.roadmap-mini {
  position: relative;
  border: 1px solid rgba(147, 100, 61, 0.18);
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(130, 105, 76, 0.1) 25px 26px),
    #fff9e8;
  box-shadow: 0 13px 28px rgba(103, 65, 34, 0.15);
}

.quote-note {
  z-index: 2;
  width: 94%;
  min-height: 305px;
  margin: 0 auto;
  padding: 35px 22px 27px;
  border-radius: 4px 5px 9px 3px;
  clip-path: polygon(0.8% 0.7%, 24% 0, 49% 0.8%, 73% 0.2%, 99.2% 1%, 100% 24%, 99.3% 51%, 100% 76%, 99% 99%, 73% 99.5%, 51% 98.8%, 25% 100%, 0.7% 99%, 0 75%, 0.8% 49%, 0 24%);
  transform: rotate(-0.8deg);
}

.wooden-clip {
  position: absolute;
  top: -5px;
  z-index: 2;
  width: 23px;
  height: 40px;
  border: 1px solid rgba(112, 65, 29, 0.24);
  border-radius: 7px 7px 5px 5px;
  background: linear-gradient(90deg, #c8894a, #e1ad6c 52%, #b77339);
  box-shadow: 0 4px 8px rgba(91, 51, 24, 0.2), inset 0 0 0 2px rgba(255, 225, 174, 0.2);
}

.wooden-clip::after {
  position: absolute;
  top: 15px;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #82502e;
  box-shadow: inset 0 1px 2px rgba(255, 225, 184, 0.45);
  content: "";
}

.clip-left { left: 18%; transform: rotate(-3deg); }
.clip-right { right: 18%; transform: rotate(3deg); }

.quote-note-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(163, 110, 67, 0.25);
}

.note-kicker {
  margin: 0;
  color: #a45d31;
  font: 700 16px var(--serif);
}

.quote-date {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(172, 106, 58, 0.22);
  border-radius: 999px;
  color: #ad7047;
  background: rgba(255, 244, 220, 0.66);
  font: 700 10px Georgia, serif;
  letter-spacing: 0.08em;
}

.quote-note blockquote {
  margin: 22px 0 0;
  font: 700 clamp(18px, 1.45vw, 21px)/1.8 var(--serif);
}

.quote-source {
  margin: 13px 0 0;
  color: #8f7561;
  font-size: 12px;
  line-height: 1.55;
}

.pressed-flower {
  position: absolute;
  right: 21px;
  bottom: 19px;
  width: 34px;
  height: 40px;
  opacity: 0.7;
}

.pressed-flower::before {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: #829052;
  content: "";
  transform: rotate(8deg);
  transform-origin: bottom;
}

.pressed-flower i {
  position: absolute;
  width: 15px;
  height: 9px;
  border-radius: 100% 0 100% 0;
  background: #a2ac6d;
}

.pressed-flower i:nth-child(1) { top: 8px; left: 3px; transform: rotate(28deg); }
.pressed-flower i:nth-child(2) { top: 17px; right: 0; transform: rotate(145deg); }
.pressed-flower i:nth-child(3) { top: 27px; left: 6px; transform: rotate(18deg) scale(0.78); }

.content-board {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(143, 96, 58, 0.16);
  border-radius: 22px;
  background: rgba(255, 251, 241, 0.72);
  box-shadow: var(--shadow), inset 0 0 35px rgba(255, 255, 255, 0.72);
}

.content-board::before {
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(150, 103, 66, 0.12);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.entry-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 500px;
}

.featured-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 500px;
  border: 7px solid rgba(255, 252, 243, 0.92);
  border-radius: 19px;
  color: var(--ink);
  background: #dca469;
  box-shadow: 0 12px 25px rgba(94, 56, 30, 0.2);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featured-card:hover img,
.featured-card:focus-visible img {
  transform: scale(1.025);
}

.featured-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 249, 233, 0.98) 0 35%, rgba(255, 246, 225, 0.87) 50%, rgba(255, 246, 225, 0.18) 78%, transparent 100%);
}

.featured-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 78%;
  min-width: 0;
  padding: 54px 18px 38px clamp(24px, 3.5vw, 47px);
}

.featured-label {
  margin-bottom: 15px;
  color: #aa6941;
  font: 700 10px Georgia, serif;
  letter-spacing: 0.14em;
}

.featured-copy > strong {
  font: 800 clamp(38px, 3.4vw, 52px)/1.05 var(--serif);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 2px white;
}

.featured-ribbon {
  margin: 20px 0 23px;
  padding: 9px 21px;
  border-radius: 5px 25px 5px 25px;
  color: white;
  background: linear-gradient(100deg, #d77431, #e8954c);
  box-shadow: 0 6px 13px rgba(162, 78, 27, 0.24);
  font: 700 16px var(--serif);
  transform: rotate(-2deg);
}

.featured-ribbon b {
  margin-left: 8px;
}

.featured-description {
  max-width: 280px;
  color: #765c4d;
  font-size: 14px;
  line-height: 1.8;
}

.primary-action,
.module-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  padding: 11px 19px;
  border-radius: 999px;
  color: white;
  background: var(--orange);
  box-shadow: 0 6px 14px rgba(149, 72, 24, 0.2);
  font-size: 14px;
  font-weight: 700;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.module-card {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 27px 44px 22px 22px;
  flex-direction: column;
  align-items: flex-start;
  border: 5px solid rgba(255, 253, 247, 0.9);
  border-radius: 17px;
  box-shadow: 0 8px 18px rgba(95, 61, 35, 0.13);
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.module-card:hover,
.module-card:focus-visible {
  transform: translateY(-3px) rotate(-0.25deg);
  box-shadow: 0 14px 25px rgba(95, 61, 35, 0.17);
}

.theme-sage { background: linear-gradient(135deg, #eff0d1, #dfe3b8); }
.theme-blue { background: linear-gradient(135deg, #e7eef1, #cfdfe7); }
.theme-lavender { background: linear-gradient(135deg, #eee4f0, #dfd0e6); }
.theme-apricot { background: linear-gradient(135deg, #fff0ce, #f5dca9); }

.module-status {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(101, 77, 56, 0.15);
  border-radius: 999px;
  color: #8a715d;
  background: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.module-status.online {
  color: #58724b;
  border-color: rgba(82, 115, 70, 0.2);
  background: rgba(239, 248, 226, 0.82);
}

.module-icon {
  margin-bottom: 8px;
  color: #7b674e;
  font: 24px var(--serif);
}

.module-card > strong {
  font: 700 clamp(20px, 1.65vw, 24px) var(--serif);
}

.module-description {
  margin-top: 7px;
  color: #75685e;
  font-size: 12px;
  line-height: 1.65;
}

.module-action {
  margin-top: auto;
  padding: 7px 13px;
  color: #68513d;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  font-size: 11px;
}

.module-doodle {
  position: absolute;
  right: 13px;
  bottom: -17px;
  width: 86px;
  height: 105px;
  border: 3px solid rgba(99, 79, 56, 0.18);
  border-radius: 45% 45% 12px 12px;
  transform: rotate(8deg);
}

.module-doodle::before,
.module-doodle::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(99, 79, 56, 0.13);
  content: "";
}

.module-doodle::before { width: 36px; height: 36px; top: 15px; left: 12px; }
.module-doodle::after { width: 15px; height: 15px; top: 8px; right: 8px; }

.about-note {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 20px 9% -46px;
  padding: 18px 26px;
  border: 1px solid rgba(132, 87, 50, 0.16);
  background: #fff7e4;
  box-shadow: 0 10px 22px rgba(96, 61, 34, 0.14);
  text-align: center;
  transform: rotate(0.4deg);
}

.about-note::before,
.about-note::after {
  position: absolute;
  top: -9px;
  width: 57px;
  height: 22px;
  background: rgba(222, 177, 128, 0.48);
  content: "";
}

.about-note::before { left: -17px; transform: rotate(-10deg); }
.about-note::after { right: -17px; transform: rotate(10deg); }

.about-note > span {
  color: #d9865c;
  font-size: 23px;
}

.about-note h2 {
  margin: 0 0 4px;
  font: 700 20px var(--serif);
}

.about-note p {
  margin: 0;
  color: #816c5d;
  font-size: 12px;
  line-height: 1.55;
}

.shelf-decoration {
  position: relative;
  height: 104px;
  margin-bottom: 13px;
  border-bottom: 12px solid #9e6338;
  box-shadow: 0 11px 9px -9px rgba(76, 44, 24, 0.35);
}

.calendar-column {
  margin-top: -24px;
}

.vase {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 66px;
  height: 82px;
  border-radius: 42% 42% 30% 30%;
  background: linear-gradient(90deg, #d9b774, #f0d69c 55%, #bd914d);
  transform: scale(0.78);
  transform-origin: right bottom;
}

.vase span,
.vase i {
  position: absolute;
  bottom: 60px;
  left: 30px;
  width: 5px;
  height: 98px;
  border-radius: 5px;
  background: #66814e;
  transform-origin: bottom;
}

.vase span { transform: rotate(-26deg); }
.vase i:nth-child(2) { transform: rotate(15deg) scale(0.88); }
.vase i:nth-child(3) { transform: rotate(37deg) scale(0.76); }
.vase i:nth-child(4) { transform: rotate(-48deg) scale(0.68); }

.book-stack {
  position: absolute;
  left: 8px;
  bottom: 0;
  transform: scale(0.8);
  transform-origin: left bottom;
}

.book-stack i {
  display: block;
  width: 90px;
  height: 20px;
  margin-top: 3px;
  border-radius: 3px 8px 8px 3px;
  background: #83966a;
  box-shadow: inset -6px 0 rgba(255, 255, 255, 0.3);
  transform: rotate(-2deg);
}

.book-stack i:nth-child(2) { width: 105px; background: #cf9866; transform: rotate(2deg); }
.book-stack i:nth-child(3) { width: 82px; background: #7f96a0; transform: rotate(-1deg); }

.calendar-card {
  position: relative;
  padding: 22px 13px 12px;
  border: 1px solid rgba(133, 86, 48, 0.2);
  border-radius: 7px 7px 12px 12px;
  background: #fff8e8;
  box-shadow: 0 15px 28px rgba(94, 58, 31, 0.17);
  transform: rotate(1.3deg);
}

.calendar-rings {
  position: absolute;
  top: -18px;
  left: 12%;
  right: 12%;
  display: flex;
  justify-content: space-between;
}

.calendar-rings i {
  width: 9px;
  height: 31px;
  border: 2px solid #8b715e;
  border-radius: 9px;
  background: #f8e6ca;
}

.calendar-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px 8px;
  border-bottom: 1px dashed #d7b992;
}

.calendar-card header p {
  margin: 0;
  color: #9b7d68;
  font: 11px Georgia, serif;
  letter-spacing: 0.16em;
}

.calendar-card header h2 {
  margin: 1px 0 0;
  font: 700 24px var(--serif);
}

.today-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #b45f32;
}

.today-badge strong {
  font: 700 29px Georgia, serif;
}

.today-badge span {
  font-size: 10px;
  writing-mode: vertical-rl;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-top: 7px;
  text-align: center;
}

.calendar-weekdays span {
  color: #aa8c73;
  font-size: 9px;
}

.calendar-days span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font: 10px Georgia, serif;
}

.calendar-days .today {
  color: white;
  background: #d4763d;
  box-shadow: 0 3px 7px rgba(158, 73, 26, 0.22);
}

.calendar-wish {
  margin: 8px 0 0;
  color: #997967;
  font: 12px var(--serif);
  text-align: center;
}

.roadmap-mini {
  margin-top: 17px;
  padding: 19px 16px 15px;
  transform: rotate(-1.2deg);
}

.roadmap-mini .note-kicker {
  margin-bottom: 8px;
}

.paperclip {
  position: absolute;
  top: -13px;
  right: 17px;
  width: 17px;
  height: 45px;
  border: 3px solid #b88148;
  border-radius: 12px;
  transform: rotate(22deg);
}

.roadmap-mini h2 {
  margin: 0;
  font: 700 21px var(--serif);
}

.roadmap-mini ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #806a5b;
  font-size: 12px;
  line-height: 1.75;
}

.roadmap-mini li span {
  display: inline-block;
  width: 18px;
  color: #b36a3a;
}

footer {
  width: min(94vw, 1100px);
  margin: 88px auto 0;
  padding: 35px 15px 28px;
  border-top: 1px solid rgba(129, 84, 48, 0.15);
  color: #8f7562;
  text-align: center;
}

footer p {
  margin: 0 0 9px;
  font: 16px var(--serif);
}

footer small {
  font-size: 10px;
  letter-spacing: 0.05em;
}

footer small a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

footer small a:hover,
footer small a:focus-visible {
  color: #b36a3a;
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid rgba(198, 105, 44, 0.55);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-note {
    display: none;
  }

  .home-layout {
    grid-template-columns: 180px minmax(560px, 1fr);
  }

  .calendar-column {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 55px;
  }

  .shelf-decoration {
    display: none;
  }

  .calendar-card,
  .roadmap-mini {
    width: min(100%, 360px);
    margin: 0 auto;
  }
}

@media (max-width: 1020px) {
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    min-height: 445px;
  }

  .module-grid {
    min-height: 430px;
  }
}

@media (max-width: 860px) {
  body {
    background-position: center top;
    background-attachment: scroll;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    top: 8px;
    width: calc(100vw - 20px);
    min-height: 70px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 18px;
  }

  .brand-avatar {
    width: 46px;
    height: 46px;
  }

  .brand {
    width: auto;
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    border-radius: 12px;
    color: var(--ink);
    background: #f7e6ca;
  }

  .menu-button > span:not(.sr-only) {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 250, 239, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 11px 8px;
  }

  .welcome {
    margin-top: 34px;
  }

  .home-layout {
    display: flex;
    flex-direction: column;
  }

  .content-board {
    order: 1;
    width: 100%;
  }

  .quote-column {
    display: block;
    order: 2;
    width: 100%;
    margin-top: 58px;
  }

  .quote-hanger {
    width: min(100%, 460px);
    min-height: 390px;
    margin: 0 auto;
  }

  .quote-note {
    width: 94%;
  }

  .calendar-column {
    order: 3;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  main,
  footer {
    width: calc(100vw - 20px);
  }

  .welcome {
    padding: 0 8px;
  }

  .welcome h1 {
    font-size: clamp(25px, 8vw, 32px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .welcome > p:not(.eyebrow) {
    line-height: 1.7;
  }

  .featured-card {
    min-height: 520px;
  }

  .featured-card img {
    height: 58%;
    top: auto;
    object-position: 66% center;
  }

  .featured-shade {
    background: linear-gradient(180deg, #fff8e8 0 50%, rgba(255, 248, 232, 0.72) 65%, transparent 83%);
  }

  .featured-copy {
    width: 100%;
    min-width: 0;
    padding: 31px 25px;
  }

  .featured-copy > strong {
    font-size: 44px;
  }

  .featured-ribbon {
    margin: 13px 0;
  }

  .featured-description {
    max-width: 95%;
  }

  .primary-action {
    margin-top: 14px;
  }

  .module-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .module-card {
    min-height: 175px;
  }

  .about-note {
    margin: 18px 4% -44px;
    padding: 17px 15px;
  }

  .about-note > span {
    display: none;
  }

  .quote-column,
  .calendar-column {
    grid-template-columns: 1fr;
  }

  .quote-column {
    display: flex;
    flex-direction: column;
  }

  .quote-hanger {
    width: 100%;
    min-height: 385px;
    padding-top: 55px;
  }

  .quote-note {
    width: 90%;
  }

  .calendar-card,
  .roadmap-mini {
    width: min(92%, 370px);
  }

  .roadmap-mini {
    margin-top: 25px;
  }

  footer {
    margin-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
