@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@500;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

:root {
  --ink: #382339;
  --muted: #68566a;
  --paper: #fffdf0;
  --soft: #fff4c7;
  --line: #d9b9c8;
  --brand: #b91058;
  --pink: #dc3e78;
  --orange: #ef6b2e;
  --green: #438f58;
  --blue: #277da1;
  --yellow: #f0c62f;
  --violet: #6d3b8c;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdf0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  position: relative;
  z-index: 5;
  border-top: 8px solid var(--orange);
  border-bottom: 0;
  background: #171934;
  box-shadow: none;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  height: 20px;
  content: "";
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center 43%;
  background-size: 520px auto;
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: 112px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.site-logo {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.site-logo__symbol {
  display: grid;
  width: 62px;
  height: 62px;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  place-items: center;
  color: var(--yellow);
  font-size: 47px;
  line-height: 1;
  transform: rotate(-8deg);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo__text small {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}

.site-logo__text strong {
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  font-size: 29px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
}

.site-nav a:last-child {
  padding: 9px 14px;
  border: 3px solid #fff;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--pink), 9px 9px 0 var(--orange);
}

#hippie-page {
  overflow: hidden;
  background-color: #f8efd3;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center top;
  background-size: 620px auto;
  background-attachment: fixed;
}

.breadcrumb {
  width: min(calc(100% - 40px), var(--max));
  margin: 40px auto 14px;
  padding: 7px 14px;
  border: 3px solid var(--violet);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--yellow);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 9px;
  color: #aaa69e;
}

.breadcrumb a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  padding: 38px 5%;
  place-items: center;
  color: #fff;
  background-color: var(--violet);
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: cover;
  border-top: 8px solid #171934;
  border-bottom: 8px solid #171934;
  box-shadow: none;
}

.hero__image {
  position: absolute;
  inset: 38px 5%;
  background-image: url("images/hand.gif");
  background-position: center;
  background-size: cover;
  border: 7px solid #fff6bb;
  box-shadow: 12px 12px 0 var(--orange), -12px -12px 0 var(--pink);
  image-rendering: auto;
}

.hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(35, 18, 45, 0.7);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 2;
  color: var(--yellow);
  font-size: 64px;
  line-height: 1;
  text-shadow: 4px 4px 0 var(--pink);
}

.hero::before {
  top: 8px;
  left: 2%;
  content: "✿";
  transform: rotate(-13deg);
}

.hero::after {
  right: 2%;
  bottom: 7px;
  content: "☮";
  transform: rotate(11deg);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 940px);
  padding: 78px 0 84px;
  text-align: center;
}

.hero__eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  font-size: 58px;
  line-height: 1.35;
  letter-spacing: 0;
  text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--orange), 12px 12px 0 var(--violet);
}

.hero-title__main,
.hero-title__sub {
  display: block;
}

.hero-title__sub {
  white-space: nowrap;
}

.hero-title__sub > span {
  display: inline;
}

.hero__content > p:last-child {
  max-width: 730px;
  margin: 0 auto;
  font-size: 19px;
}

.hero__content > p:nth-last-child(2) {
  max-width: 730px;
  margin: 0 auto;
  font-size: 19px;
}

.hero__message {
  display: inline-block;
  margin: 25px auto 0 !important;
  padding: 5px 18px;
  border: 3px solid var(--yellow);
  color: var(--yellow);
  font-size: 15px !important;
  font-weight: 700;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) 270px;
  gap: 54px;
  width: min(calc(100% - 64px), 1220px);
  margin: 0 auto;
  padding: 95px 30px 90px;
  background: var(--paper);
  box-shadow: 14px 0 0 rgba(23, 25, 52, 0.9), -14px 0 0 rgba(23, 25, 52, 0.9);
}

.article h2,
.side-panel h2 {
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  letter-spacing: 0;
}

.article h2 {
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.45;
  color: var(--brand);
}

.article h3 {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.55;
}

.article p {
  margin: 0 0 1.25em;
}

.quick-answer {
  padding: 32px 34px 28px;
  border: 5px solid var(--brand);
  border-radius: 8px;
  background-color: var(--soft);
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  box-shadow: 10px 10px 0 var(--orange);
}

.quick-answer h2 {
  font-size: 27px;
}

.toc {
  margin: 40px 0 10px;
  padding: 28px 32px;
  border: 4px solid var(--blue);
  border-radius: 8px;
  background-color: #eef8f0;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center 72%;
  background-size: 720px auto;
  background-blend-mode: screen;
}

.toc h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 28px;
  margin: 0;
  padding-left: 1.5em;
}

.content-section {
  padding: 68px 0;
  border-bottom: 7px solid var(--yellow);
  scroll-margin-top: 24px;
}

.section-label {
  display: inline-block;
  padding: 2px 12px;
  color: #fff;
  border: 2px solid #fff;
  background-color: var(--brand);
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: 280px auto;
  box-shadow: 4px 4px 0 var(--orange);
  text-shadow: 2px 2px 0 #171934;
}

.note {
  margin-top: 32px;
  padding: 24px 28px 20px;
  border: 4px solid var(--orange);
  border-radius: 8px;
  background-color: #fff1d8;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: right center;
  background-size: 460px auto;
  background-blend-mode: screen;
  box-shadow: 8px 8px 0 var(--yellow);
}

.note p {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 129px;
  width: 2px;
  content: "";
  background: var(--blue);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  padding-bottom: 34px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 7px;
  left: 123px;
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  content: "";
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--brand);
}

.timeline time {
  padding-top: 1px;
  color: var(--violet);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.timeline p {
  margin-bottom: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 30px;
  background: var(--brand);
  border: 6px solid var(--brand);
  box-shadow: 10px 10px 0 var(--orange);
  transform: rotate(-0.35deg);
}

.value-grid section {
  padding: 25px 26px 20px;
  background: #fffbe3;
}

.value-grid section:nth-child(2),
.value-grid section:nth-child(5) {
  background: #e9f6ec;
}

.value-grid section:nth-child(3),
.value-grid section:nth-child(6) {
  background: #f3eaf8;
}

.value-grid h3::before {
  content: "●";
  margin-right: 9px;
  color: var(--pink);
  font-size: 12px;
}

.value-grid p {
  margin-bottom: 0;
}

.feature,
.summer {
  display: grid;
  align-items: center;
  gap: 50px;
}

.feature {
  grid-template-columns: minmax(0, 1fr) 210px;
}

.feature figure img {
  filter: drop-shadow(9px 9px 0 rgba(239, 107, 46, 0.55));
}

.feature figure,
.image-strip figure {
  margin: 0;
}

.feature figure {
  text-align: center;
}

.feature figure img {
  margin: 0 auto 14px;
}

figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  margin-top: 32px;
}

.image-strip figure {
  padding: 14px 10px 10px;
  text-align: center;
  border: 3px solid var(--violet);
  background: var(--soft);
  box-shadow: 5px 5px 0 var(--pink);
}

.image-strip img {
  width: auto;
  max-height: 90px;
  margin: 0 auto 10px;
}

.summer {
  grid-template-columns: minmax(0, 1fr) 230px;
  margin-top: 30px;
  padding-right: 28px;
  padding-left: 28px;
  border: 6px solid var(--green);
  border-radius: 8px;
  background-color: #eaf6dd;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  box-shadow: 12px 12px 0 var(--blue);
}

.summer > img {
  max-height: 370px;
  margin: 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.archive-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.archive-links a {
  display: flex;
  min-height: 84px;
  padding: 16px 18px;
  border: 3px solid var(--brand);
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--yellow);
  text-decoration: none;
}

.archive-links a:nth-child(even) {
  transform: rotate(0.45deg);
}

.archive-links a:nth-child(odd) {
  transform: rotate(-0.45deg);
}

.archive-links a:hover {
  border-color: var(--green);
  background: var(--soft);
}

.archive-links strong {
  color: var(--brand);
}

.archive-links span {
  color: var(--muted);
  font-size: 14px;
}

.faq details {
  border-top: 3px solid var(--brand);
}

.faq details:last-child {
  border-bottom: 3px solid var(--brand);
}

.faq summary {
  position: relative;
  padding: 21px 44px 21px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 19px;
  right: 8px;
  content: "+";
  color: var(--orange);
  font-size: 27px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 30px 20px 0;
}

.sources {
  padding-right: 25px;
  padding-left: 25px;
  font-size: 15px;
  background-color: #eef6e7;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center bottom;
  background-size: 720px auto;
  background-blend-mode: screen;
}

.sources h2 {
  font-size: 23px;
}

.sources ul {
  padding-left: 1.4em;
}

.sources p {
  color: var(--muted);
}

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

.side-panel__inner {
  position: sticky;
  top: 20px;
  padding: 25px 23px;
  border: 4px solid var(--green);
  border-radius: 8px;
  background-color: var(--soft);
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  box-shadow: 8px 8px 0 var(--blue);
}

.side-panel h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.side-panel__inner a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.service-note {
  margin-top: 24px;
  padding: 23px;
  border: 4px solid var(--brand);
  background: #fff;
  box-shadow: 8px 8px 0 var(--orange);
}

.service-note p {
  font-size: 14px;
  line-height: 1.75;
}

.service-note a {
  display: inline-block;
  padding: 9px 13px;
  color: #fff;
  background: var(--brand);
  box-shadow: 4px 4px 0 var(--yellow);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding: 42px 20px;
  color: #fff;
  border-top: 20px solid transparent;
  border-image: url("images/psychedelic-tie-dye.webp") 80 round;
  background: #171934;
  box-shadow: none;
}

.site-footer > div {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: #fff;
}

.copyright {
  margin-top: 22px !important;
  color: #b7b7b2;
}

.hippie-nav {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 14px;
  padding: 12px 14px;
  border: 3px solid #171934;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--orange);
}

.hippie-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
}

.hippie-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.hippie-nav [aria-current="page"] {
  color: var(--brand);
  text-decoration-thickness: 3px;
}

.subpage-hero {
  position: relative;
  display: grid;
  min-height: 470px;
  padding: 46px 5%;
  place-items: center;
  color: #fff;
  background-color: var(--violet);
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: cover;
  border-top: 8px solid #171934;
  border-bottom: 8px solid #171934;
}

.subpage-hero__image {
  position: absolute;
  inset: 38px 5%;
  background-position: center;
  background-size: cover;
  border: 7px solid #fff6bb;
  box-shadow: 12px 12px 0 var(--orange), -12px -12px 0 var(--pink);
}

.subpage-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(35, 18, 45, 0.74);
}

.subpage-hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 920px);
  padding: 75px 0;
  text-align: center;
}

.subpage-hero__kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 2px 12px;
  border: 2px solid #fff;
  color: #fff;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center;
  background-size: 280px auto;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 2px 2px 0 #171934;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  font-size: 42px;
  line-height: 1.4;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--orange), 9px 9px 0 var(--violet);
}

.subpage-hero__content > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
}

.subpage-layout {
  padding-top: 72px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 28px;
  border: 6px solid var(--brand);
  background: var(--brand);
  box-shadow: 10px 10px 0 var(--orange);
}

.topic-grid section {
  padding: 24px 25px 20px;
  background: #fffbe3;
}

.topic-grid section:nth-child(3n + 2) {
  background: #e9f6ec;
}

.topic-grid section:nth-child(3n) {
  background: #f3eaf8;
}

.topic-grid p {
  margin-bottom: 0;
}

.fact-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 18px 20px 18px 52px;
  border: 3px solid var(--blue);
  background: #eef8f0;
}

.fact-list li::before {
  position: absolute;
  top: 15px;
  left: 17px;
  content: "☮";
  color: var(--brand);
  font-size: 22px;
}

.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 42px;
  margin-top: 30px;
}

.media-feature figure {
  margin: 0;
  text-align: center;
}

.media-feature img {
  max-height: 330px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(8px 8px 0 rgba(239, 107, 46, 0.55));
}

.history-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.history-gallery figure {
  margin: 0;
  padding: 14px;
  border: 3px solid var(--violet);
  background: var(--soft);
  box-shadow: 5px 5px 0 var(--pink);
  text-align: center;
}

.history-gallery img {
  max-height: 150px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.term-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.term-list > div {
  padding: 20px 22px 16px;
  border: 3px solid var(--brand);
  background: #fffbe3;
  box-shadow: 5px 5px 0 var(--yellow);
}

.term-list dt {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
}

.term-list dd {
  margin: 0;
}

.related-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-nav a {
  display: flex;
  min-height: 92px;
  padding: 16px;
  border: 3px solid var(--brand);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--yellow);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.related-nav a:hover {
  border-color: var(--green);
  background: var(--soft);
}

.page-sources {
  padding: 28px 25px;
  background-color: #eef6e7;
  background-image: url("images/psychedelic-tie-dye.webp");
  background-position: center bottom;
  background-size: 720px auto;
  background-blend-mode: screen;
}

.page-sources h2 {
  font-size: 23px;
}

.page-sources li {
  margin-bottom: 7px;
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 82px;
  }

  .site-logo {
    flex-basis: auto;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 450px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .subpage-hero h1 {
    font-size: 42px;
  }

  .side-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .side-panel__inner {
    position: static;
  }

  .service-note {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
    line-height: 1.8;
  }

  #hippie-page {
    background-attachment: scroll;
    background-size: 430px auto;
  }

  .site-header__inner {
    width: min(calc(100% - 28px), var(--max));
    min-height: 82px;
    gap: 12px;
  }

  .site-logo {
    flex-basis: auto;
  }

  .site-logo__symbol {
    width: 42px;
    height: 42px;
    border-width: 3px;
    font-size: 31px;
  }

  .site-logo__text small {
    font-size: 9px;
  }

  .site-logo__text strong {
    font-size: 19px;
  }

  .site-nav {
    flex: 0 0 auto;
  }

  .site-nav a:last-child {
    max-width: 113px;
    padding: 7px 8px;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .breadcrumb {
    width: calc(100% - 28px);
    margin: 25px auto 9px;
  }

  .hippie-nav {
    width: calc(100% - 28px);
    margin-bottom: 10px;
  }

  .hippie-nav ul {
    gap: 5px 14px;
  }

  .subpage-hero {
    min-height: 500px;
    padding: 30px 14px;
  }

  .subpage-hero__image {
    inset: 30px 14px;
    box-shadow: 7px 7px 0 var(--orange), -7px -7px 0 var(--pink);
  }

  .subpage-hero__content {
    width: calc(100% - 40px);
    padding: 58px 0;
  }

  .subpage-hero h1 {
    font-size: 30px;
    line-height: 1.55;
    text-shadow: 2px 2px 0 var(--pink), 4px 4px 0 var(--orange), 6px 6px 0 var(--violet);
  }

  .subpage-hero__content > p:last-child {
    font-size: 17px;
  }

  .hero {
    min-height: 430px;
  }

  .hero__image {
    inset: 30px 14px;
    background-position: 53% center;
    box-shadow: 7px 7px 0 var(--orange), -7px -7px 0 var(--pink);
  }

  .hero__content {
    width: calc(100% - 32px);
    padding: 60px 0 68px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.5;
    text-shadow: 2px 2px 0 var(--pink), 4px 4px 0 var(--orange), 6px 6px 0 var(--violet);
  }

  .hero-title__sub {
    white-space: normal;
  }

  .hero-title__sub > span {
    display: inline-block;
  }

  .hero__content > p:last-child {
    font-size: 17px;
  }

  .page-layout {
    width: calc(100% - 28px);
    padding: 40px 16px 60px;
  }

  .article h2 {
    font-size: 27px;
  }

  .quick-answer {
    padding: 25px 20px 20px;
    box-shadow: 6px 6px 0 var(--orange);
  }

  .toc {
    margin-top: 28px;
    padding: 23px 20px;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 52px 0;
  }

  .note {
    padding: 20px 19px 16px;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 0 0 32px 35px;
  }

  .timeline li::before {
    left: 1px;
  }

  .timeline time {
    text-align: left;
  }

  .value-grid,
  .topic-grid,
  .feature,
  .summer,
  .archive-links,
  .term-list,
  .related-nav,
  .side-panel {
    grid-template-columns: 1fr;
  }

  .media-feature {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .media-feature figure {
    order: -1;
  }

  .history-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-list li {
    padding-right: 15px;
  }

  .value-grid section {
    padding: 22px 20px 18px;
  }

  .feature,
  .summer {
    gap: 28px;
  }

  .feature figure {
    order: -1;
  }

  .feature figure img {
    max-height: 290px;
  }

  .image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summer > img {
    max-height: 320px;
    order: -1;
  }

  .summer {
    padding-right: 18px;
    padding-left: 18px;
    box-shadow: 7px 7px 0 var(--blue);
  }

  .faq summary {
    padding-right: 35px;
  }

  .site-footer nav {
    flex-direction: column;
    gap: 7px;
  }
}

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