:root {
  --sky: #b6ecff;
  --sun: #ffd447;
  --mint: #9af2cf;
  --berry: #ff6f91;
  --ink: #153047;
  --paper: #fffdf7;
  --pill-purple-top: #a974ff;
  --pill-purple-bottom: #7d57df;
  --pill-purple-border: rgba(255, 241, 255, 0.34);
  --pill-purple-shadow: rgba(49, 20, 104, 0.26);
  --font-display: "cooper-black-std", serif;
}

body.happyhatters-interior-page {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.68), transparent 34%),
    linear-gradient(180deg, #9fe9ff 0%, #dff9ff 28%, #fff7d0 72%, #fffdf7 100%);
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

.site--interior {
  min-height: 100vh;
}

.site-content--interior {
  padding: 0 1.5rem 3rem;
}

.interior-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 1.5rem 0;
}

body.admin-bar .interior-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .interior-header {
    top: 46px;
  }
}

.interior-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  border: 3px solid rgba(21, 48, 71, 0.12);
  border-radius: 1.6rem;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 16px 32px rgba(21, 48, 71, 0.14);
  backdrop-filter: blur(8px);
}

.interior-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.interior-header__brand img {
  display: block;
  width: auto;
  height: 3rem;
}

.interior-header__brand-copy {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 3px solid rgba(21, 48, 71, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 242, 199, 0.98) 100%);
  box-shadow: 0 10px 20px rgba(21, 48, 71, 0.12);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.interior-header__nav {
  flex: 1 1 22rem;
}

.info-pages-menu,
.interior-footer__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-pages-menu a,
.interior-footer__menu a {
  display: block;
  padding: 0.7rem 1rem;
  border: 3px solid rgba(21, 48, 71, 0.12);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 242, 199, 0.98) 100%);
  box-shadow: 0 10px 20px rgba(21, 48, 71, 0.1);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.info-pages-menu a:hover,
.info-pages-menu a:focus,
.interior-footer__menu a:hover,
.interior-footer__menu a:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(21, 48, 71, 0.14);
}

.current-menu-item > a,
.current_page_item > a,
.current_page_parent > a {
  background: linear-gradient(180deg, var(--pill-purple-top) 0%, var(--pill-purple-bottom) 100%);
  border-color: var(--pill-purple-border);
  box-shadow: 0 14px 28px var(--pill-purple-shadow);
  color: #fff;
}

.interior-main {
  max-width: 1180px;
  margin: 0 auto;
}

.story-page {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 0;
}

.story-page__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-page__cloud,
.story-page__sun {
  position: absolute;
  border-radius: 999px;
}

.story-page__cloud {
  background: rgba(255, 255, 255, 0.54);
  filter: blur(2px);
}

.story-page__cloud--one {
  top: 5rem;
  left: 3%;
  width: 10rem;
  height: 3.75rem;
}

.story-page__cloud--two {
  top: 12rem;
  right: 6%;
  width: 12rem;
  height: 4.2rem;
}

.story-page__sun {
  top: 1rem;
  right: 12%;
  width: 7rem;
  height: 7rem;
  background:
    radial-gradient(circle at center, rgba(255, 229, 0, 0.92) 0 36%, rgba(255, 215, 0, 0.78) 36% 58%, rgba(255, 215, 0, 0) 58% 100%);
  box-shadow: 0 0 0 1.5rem rgba(255, 212, 71, 0.16);
}

.story-page__hero {
  position: relative;
  max-width: 42rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.story-page__eyebrow {
  margin: 0 0 0.75rem;
  color: #a14c61;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  line-height: 0.95;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.46);
}

.story-page__panel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
  border: 3px solid rgba(21, 48, 71, 0.12);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 244, 214, 0.96) 100%);
  box-shadow: 0 20px 44px rgba(21, 48, 71, 0.16);
}

.story-page__content {
  font-size: 1.06rem;
  line-height: 1.75;
}

.story-page__content > :first-child {
  margin-top: 0;
}

.story-page__content > :last-child {
  margin-bottom: 0;
}

.story-page__content h2,
.story-page__content h3,
.story-page__content h4 {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.05;
}

.story-page__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.story-page__content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.story-page__content p,
.story-page__content ul,
.story-page__content ol,
.story-page__content table,
.story-page__content blockquote {
  margin: 0 0 1.1rem;
}

.story-page__content ul,
.story-page__content ol {
  padding-left: 1.4rem;
}

.story-page__content li + li {
  margin-top: 0.45rem;
}

.story-page__content a {
  color: #6a37d4;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.story-page__content strong {
  color: #10233d;
}

.story-page__content blockquote {
  padding: 1rem 1.25rem;
  border-left: 4px solid rgba(169, 116, 255, 0.8);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.story-page__content table {
  width: 100%;
  border-collapse: collapse;
}

.story-page__content th,
.story-page__content td {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(21, 48, 71, 0.12);
  text-align: left;
  vertical-align: top;
}

.story-page__content th {
  font-weight: 800;
}

.story-page__content hr {
  margin: 1.6rem 0;
  border: 0;
  border-top: 2px dashed rgba(21, 48, 71, 0.18);
}

.story-page__meta {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(21, 48, 71, 0.1);
  font-size: 0.95rem;
}

.story-page__meta a {
  color: var(--ink);
}

.interior-footer {
  padding: 2rem 1.5rem 2.5rem;
}

.interior-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border: 3px solid rgba(21, 48, 71, 0.12);
  border-radius: 1.75rem;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 14px 28px rgba(21, 48, 71, 0.1);
}

.interior-footer__copyright {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .interior-header__inner,
  .interior-footer__inner {
    justify-content: center;
  }

  .interior-header__brand {
    width: 100%;
    justify-content: center;
  }

  .interior-header__nav,
  .interior-footer__nav {
    width: 100%;
  }

  .info-pages-menu,
  .interior-footer__menu {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-content--interior,
  .interior-header,
  .interior-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .interior-header__inner,
  .interior-footer__inner,
  .story-page__panel {
    padding: 1.25rem;
  }

  .interior-header__brand {
    flex-direction: column;
  }

  .interior-header__brand img {
    height: 2.5rem;
  }

  .info-pages-menu a,
  .interior-footer__menu a,
  .interior-header__brand-copy {
    width: 100%;
    text-align: center;
  }

  .story-page {
    padding-top: 2rem;
  }

  .story-page__sun {
    right: 4%;
    width: 5.5rem;
    height: 5.5rem;
  }
}
