:root {
  --ink: #183c36;
  --ink-soft: #3e5b55;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --coral: #ef795f;
  --sun: #eab94f;
  --teal: #8cb8ac;
  --line: rgba(24, 60, 54, 0.2);
  --shadow: 0 28px 80px rgba(24, 60, 54, 0.14);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(140, 184, 172, 0.12), transparent 28%),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 78%, rgba(234, 185, 79, 0.95) 0 7%, transparent 7.2%),
    radial-gradient(circle at 84% 24%, rgba(239, 121, 95, 0.95) 0 11%, transparent 11.2%),
    linear-gradient(135deg, #183c36 0 55%, #1f4941 55% 100%);
  color: var(--paper);
}

.topbar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.wordmark {
  justify-self: start;
  color: inherit;
  font-family: var(--display);
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.wordmark span {
  color: var(--sun);
  font-style: italic;
}

.city-links {
  display: flex;
  gap: 26px;
}

.city-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.city-link:hover,
.city-link:focus-visible {
  color: var(--sun);
}

.year-mark {
  justify-self: end;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 92px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 7.5vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero h1 > span:last-child {
  display: block;
  margin: 25px 0 0 12%;
  color: var(--sun);
  font-size: 0.46em;
  font-style: italic;
  letter-spacing: -0.025em;
}

.ampersand {
  color: var(--coral);
  font-style: italic;
}

.hero-intro {
  max-width: 525px;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.26rem);
}

.route-line {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(520px, 54%);
  margin: 32px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-track {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.route-track::before,
.route-track::after,
.route-track i {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--sun);
  content: "";
}

.route-track::before { left: 0; }
.route-track::after { right: 0; }
.route-track i { left: 46%; background: var(--coral); }

.hero-facts {
  display: flex;
  gap: 34px;
  margin-top: 34px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-facts strong {
  margin-right: 7px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-postcards {
  position: absolute;
  top: 122px;
  right: max(4vw, calc((100vw - 1180px) / 2));
  z-index: 2;
  width: min(35vw, 430px);
  height: 530px;
}

.hero-postcard {
  position: absolute;
  margin: 0;
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 10px 14px;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(5, 22, 18, 0.36);
}

.hero-postcard img {
  display: block;
  width: 100%;
  height: calc(100% - 54px);
  border-radius: 3px;
  object-fit: cover;
}

.hero-postcard figcaption {
  padding: 9px 7px 0;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1;
}

.hero-postcard figcaption span {
  display: block;
  margin-bottom: 5px;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-postcard-guangzhou {
  right: 115px;
  bottom: 4px;
  width: 235px;
  height: 315px;
  transform: rotate(-7deg);
  animation: postcard-float-one 7s ease-in-out infinite;
}

.hero-postcard-shanghai {
  top: 0;
  right: 0;
  width: 270px;
  height: 355px;
  transform: rotate(6deg);
  animation: postcard-float-two 8s ease-in-out infinite;
}

@keyframes postcard-float-one {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-5.5deg) translateY(-9px); }
}

@keyframes postcard-float-two {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(4.5deg) translateY(8px); }
}

.hero-stamp {
  position: absolute;
  right: max(5vw, 40px);
  bottom: 52px;
  z-index: 3;
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.hero-stamp strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 0.6;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.orbit-one { right: -250px; top: -260px; width: 680px; height: 680px; }
.orbit-two { left: -280px; bottom: -420px; width: 720px; height: 720px; }

.city-chapters {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 16px;
}

.chapter-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: 60px;
  align-items: end;
}

.chapter-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.93;
}

.chapter-heading > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 54px;
}

.chapter-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  padding: 0;
  text-align: left;
  box-shadow: 0 22px 55px rgba(24, 60, 54, 0.16);
}

.chapter-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 28, 24, 0.06) 18%, rgba(9, 28, 24, 0.9) 100%);
  content: "";
}

.chapter-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

.chapter-number,
.chapter-copy,
.chapter-arrow {
  position: absolute;
  z-index: 1;
}

.chapter-number {
  top: 24px;
  left: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.chapter-copy {
  right: 80px;
  bottom: 30px;
  left: 30px;
}

.chapter-copy small,
.chapter-copy strong,
.chapter-copy em {
  display: block;
}

.chapter-copy small {
  color: var(--sun);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chapter-copy strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.chapter-copy em {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-style: normal;
}

.chapter-arrow {
  right: 28px;
  bottom: 30px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.15rem;
}

.timeline-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.trip-notes h2 {
  max-width: 700px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.tap-note {
  max-width: 230px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.day-strip-wrap {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  margin: 52px 0 24px;
}

.day-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.day-strip::-webkit-scrollbar {
  display: none;
}

.strip-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.strip-arrow:hover,
.strip-arrow:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.day-tab {
  min-width: 134px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 16px 17px;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.day-tab:hover {
  transform: translateY(-2px);
}

.day-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.day-tab span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-tab strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.day-tab small {
  display: block;
  margin-top: 4px;
  color: currentColor;
  font-size: 0.68rem;
  opacity: 0.66;
}

.day-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  min-height: 680px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid rgba(24, 60, 54, 0.08);
  box-shadow: var(--shadow);
}

.photo-panel {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #d8ddd8;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 160ms ease, transform 700ms ease;
}

.photo-panel.is-changing img {
  opacity: 0.28;
  transform: scale(1.025);
}

.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 35, 30, 0.78), transparent 54%);
}

.photo-location {
  position: absolute;
  right: 36px;
  bottom: 42px;
  left: 36px;
  color: white;
}

.photo-location span {
  display: block;
  margin-bottom: 8px;
  color: var(--sun);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.photo-location strong {
  display: block;
  max-width: 580px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.photo-credit {
  position: absolute;
  top: 22px;
  right: 22px;
  border-radius: 999px;
  background: rgba(18, 45, 39, 0.72);
  color: white;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 8px 11px;
  text-decoration: none;
  text-transform: uppercase;
}

.photo-expand {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(18, 45, 39, 0.72);
  color: white;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-expand:hover,
.photo-expand:focus-visible {
  background: var(--coral);
}

.photo-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border: 0;
  background: #071713;
  color: white;
  padding: 0;
}

.photo-dialog::backdrop {
  background: rgba(3, 14, 11, 0.92);
  backdrop-filter: blur(10px);
}

.photo-dialog[open] {
  display: grid;
  place-items: center;
}

.photo-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dialog-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(7, 23, 19, 0.72);
  color: white;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.dialog-caption {
  position: fixed;
  right: 90px;
  bottom: 34px;
  left: 34px;
  z-index: 2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
}

.dialog-caption span {
  display: block;
  color: var(--sun);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dialog-caption strong {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.day-content {
  display: flex;
  flex-direction: column;
  padding: 48px;
}

.day-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-meta > span:not(:last-child)::after {
  margin-left: 12px;
  color: var(--coral);
  content: "·";
}

.city-badge {
  border-radius: 999px;
  background: rgba(140, 184, 172, 0.22);
  padding: 7px 10px;
}

.day-content > h3 {
  margin: 26px 0 12px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.day-summary {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.stops {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0;
}

.stop-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 9px 14px;
  font-size: 0.78rem;
}

.stop-button:hover,
.stop-button:focus-visible,
.stop-button[aria-pressed="true"] {
  border-color: var(--coral);
  background: var(--coral);
  color: white;
}

.place-story {
  border-top: 1px solid var(--line);
  padding-top: 27px;
}

.story-kicker {
  color: var(--coral);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.place-story h4 {
  margin: 9px 0 9px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
}

.place-story p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.story-facts {
  display: grid;
  grid-template-columns: minmax(120px, 0.65fr) minmax(180px, 1.35fr);
  gap: 10px;
  margin-top: 20px;
}

.story-facts p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--sun);
  padding-left: 12px;
}

.story-facts span {
  color: var(--coral);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-facts strong {
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 650;
  line-height: 1.4;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.story-highlights li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.25;
}

.story-facts[hidden],
.story-highlights[hidden] {
  display: none;
}

.day-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 34px;
}

.day-controls button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-controls button:hover,
.day-controls button:focus-visible {
  color: var(--coral);
}

#day-progress {
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.trip-notes {
  background: var(--sun);
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
}

.notes-title-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.trip-notes h2 {
  max-width: 800px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(24, 60, 54, 0.35);
}

.note-grid article {
  min-height: 260px;
  padding: 26px 34px 20px 0;
  border-right: 1px solid rgba(24, 60, 54, 0.35);
}

.note-grid article:not(:first-child) {
  padding-left: 34px;
}

.note-grid article:last-child {
  border-right: 0;
}

.note-grid span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.note-grid h3 {
  margin: 52px 0 12px;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
}

.note-grid p {
  max-width: 280px;
  margin: 0;
  color: rgba(24, 60, 54, 0.78);
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .hero { min-height: 640px; }
  .hero-postcards { display: none; }
  .hero-stamp { display: none; }
  .hero-copy { padding-top: 100px; }
  .hero h1 { max-width: 850px; }
  .hero-intro { max-width: 620px; }
  .route-line { width: min(620px, 80%); }
  .day-card { grid-template-columns: 1fr; }
  .photo-panel { min-height: 500px; }
  .notes-title-wrap { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 700px) {
  .hero { min-height: 620px; }
  .topbar {
    grid-template-columns: 1fr auto;
    width: min(100% - 32px, 1180px);
  }
  .city-links { display: none; }
  .hero-copy { width: min(100% - 32px, 980px); padding: 105px 0 80px; }
  .hero h1 { font-size: clamp(3.45rem, 18vw, 5.4rem); }
  .hero h1 > span:last-child { margin: 24px 0 0 7%; font-size: 0.42em; }
  .hero-intro { margin: 38px 0 0; }
  .route-line { width: 100%; margin: 30px 0 0; gap: 12px; }
  .hero-facts { flex-wrap: wrap; gap: 14px 24px; }
  .city-chapters { width: min(100% - 28px, 1180px); padding-top: 76px; }
  .chapter-heading { display: block; }
  .chapter-heading > p { margin-top: 20px; }
  .chapter-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .chapter-card { min-height: 340px; }
  .timeline-section { width: min(100% - 28px, 1180px); padding: 76px 0; }
  .section-heading { display: block; }
  .tap-note { margin-top: 20px; }
  .day-strip-wrap { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .strip-arrow { display: none; }
  .day-tab { min-width: 118px; }
  .day-card { border-radius: 22px; }
  .photo-panel { min-height: 390px; }
  .photo-location { right: 22px; bottom: 28px; left: 22px; }
  .photo-credit { top: 16px; right: 16px; }
  .photo-expand { top: 16px; left: 16px; }

  .story-facts { grid-template-columns: 1fr; }
  .day-content { padding: 30px 22px; }
  .day-meta { flex-wrap: wrap; gap: 8px; }
  .day-meta > span:not(:last-child)::after { margin-left: 8px; }
  .day-controls { margin-top: 36px; }
  .trip-notes { padding-top: 74px; padding-bottom: 74px; }
  .note-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .note-grid article,
  .note-grid article:not(:first-child) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 60, 54, 0.35);
    padding: 24px 0 32px;
  }
  .note-grid article:last-child { border-bottom: 0; }
  .note-grid h3 { margin-top: 25px; }
  footer { flex-direction: column; }
}

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