@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-400-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-400-regular.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-500-regular.woff2") format("woff2");
}

:root {
  --color--100: #0d0d0d;
  --color--200: #1a1a1a;
  --color--300: #242424;
  --color--400: #2e2e2e;
  --color--600: #999;
  --color--700: #b8b8b8;
  --color--800: #d6d6d6;
  --color--900: white;
  --color--primary: #ffb88f;
  --font--primary: "Instrument Serif", Georgia, serif;
  --font--secondary: Inter, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background-color: var(--color--100);
  color: var(--color--900);
  font-family: var(--font--secondary);
  font-size: 1rem;
  line-height: 1.5;
}

body.is-ready .hero-animate,
body.is-ready .post-item,
body.is-ready .split-block,
body.is-ready .seo-home,
body.is-ready .about-images-wrapper,
body.is-ready .article-hero,
body.is-ready .legal-body {
  animation: rise 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

img {
  border: 0;
  max-width: 100%;
  display: block;
}

a {
  color: var(--color--900);
  letter-spacing: -0.01em;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s, opacity 0.25s, color 0.3s, background-color 0.3s;
  display: inline-block;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3 {
  font-family: var(--font--primary);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

.section {
  z-index: 1;
  background-color: var(--color--100);
  transform-style: preserve-3d;
  margin-bottom: -1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  overflow: visible;
  transform: translateZ(2px);
}

.nav {
  z-index: 5;
  background-color: transparent;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: sticky;
  top: 0;
}

.nav-container {
  z-index: 0;
  flex: 1;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  display: flex;
}

.inset-nav-container {
  z-index: 0;
  background-color: var(--color--300);
  border-radius: 1rem;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  min-height: 4rem;
  margin: 1rem 1rem 0;
  padding: 0 1.25rem 0 1.75rem;
  display: flex;
}

.logo-wrapper {
  margin-right: 3rem;
  display: flex;
}

.logo {
  color: var(--color--900);
  letter-spacing: -0.04em;
  padding-left: 0;
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
}

.nav-menu {
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  display: flex;
  gap: 0.25rem;
}

.links-wrapper {
  display: flex;
  gap: 0.25rem;
}

.navigation-link {
  opacity: 1;
  color: var(--color--700);
  white-space: nowrap;
  border-radius: 100rem;
  align-items: center;
  height: 100%;
  padding: 0.5rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s, background-color 0.3s;
  display: inline-block;
}

.navigation-link:hover,
.navigation-link.is-active {
  background-color: var(--color--400);
  opacity: 1;
  color: var(--color--900);
}

.menu-button {
  display: none;
  margin-right: -0.75rem;
  padding: 0.125rem 0 0;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
}

.menu-icon {
  width: 1.75rem;
  height: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon-line {
  background-color: var(--color--900);
  width: 1.75rem;
  height: 0.125rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

.nav.is-open .menu-icon-line.top {
  transform: translateY(0.3125rem) rotate(45deg);
}

.nav.is-open .menu-icon-line.bottom {
  transform: translateY(-0.3125rem) rotate(-45deg);
}

.section.sticky {
  z-index: 0;
  transform-style: preserve-3d;
  position: sticky;
  top: 5.2rem;
  transform: translateZ(-1px);
}

.container {
  flex: 1;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  padding: 7.5rem 6rem;
  position: relative;
}

.container.no-bottom {
  padding-bottom: 0;
}

.text-box {
  max-width: 43.75rem;
}

.text-box.wide {
  max-width: 52rem;
}

.text-box.centre {
  margin-left: auto;
  margin-right: auto;
}

.post-content .text-box {
  max-width: 64rem;
}

.post-content .rich-text p,
.post-content .rich-text ul,
.post-content .rich-text ol {
  max-width: none;
}

.text-align-centre {
  text-align: center;
}

.heading {
  font-family: var(--font--primary);
  font-weight: 400;
}

.heading.extra-large {
  font-family: var(--font--primary);
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 1.1;
}

.heading.large {
  font-size: 3rem;
  line-height: 1.1;
}

.heading.medium {
  font-size: 1.875rem;
  line-height: 1.15;
}

.paragraph {
  font-family: var(--font--secondary);
  color: var(--color--700);
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.paragraph.large {
  color: var(--color--700);
  font-size: 1.375rem;
  line-height: 1.4;
}

.paragraph.small {
  font-size: 0.8125rem;
}

.text-color-600 {
  color: var(--color--600);
}

.spacer-16 {
  height: 1rem;
}

.spacer-24 {
  height: 1.5rem;
}

.spacer-40 {
  height: 2.5rem;
}

.spacer-80 {
  height: 5rem;
}

.form-block {
  width: 100%;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.email-form-wrapper {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}

.text-field {
  border: 0.0625rem solid var(--color--400);
  background-color: var(--color--300);
  color: var(--color--900);
  border-radius: 0.75rem;
  min-height: 3.375rem;
  margin-bottom: 0;
  padding: 0.5rem 8.25rem 0.5rem 1.25rem;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s;
}

.text-field:focus {
  border-color: var(--color--600);
}

.text-field::placeholder {
  color: var(--color--600);
}

.button {
  background-color: var(--color--primary);
  color: var(--color--100);
  text-align: center;
  letter-spacing: -0.02em;
  border-radius: 0.75rem;
  min-height: 3.375rem;
  padding: 0.9375rem 1.5rem;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  transition: transform 0.3s, opacity 0.3s;
}

.button:hover {
  opacity: 0.88;
}

.button:active {
  transform: scale(0.98);
}

.button.in-input {
  border-radius: 0.5rem;
  min-height: 2.875rem;
  margin-right: 0.25rem;
  padding: 0.25rem 1rem;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.button.in-input:active {
  transform: translateY(-50%) scale(0.98);
}

.button.full-width {
  width: 100%;
}

.form-success,
.form-error {
  display: none;
  border-radius: 0.75rem;
  min-height: 3.375rem;
  padding: 0.9375rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.form-success.is-visible,
.form-error.is-visible {
  display: flex;
}

.form-success {
  background-color: var(--color--primary);
  color: var(--color--100);
}

.form-error {
  background-color: var(--color--900);
  color: var(--color--200);
  margin-top: 0.75rem;
}

.form-block.is-success .email-form-wrapper {
  display: none;
}

.inset-container {
  z-index: 1;
  background-color: var(--color--200);
  border-radius: 2rem;
  position: relative;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.navigation-wrapper {
  display: flex;
  gap: 0.25rem;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.posts-grid.related {
  grid-template-columns: 1fr 1fr;
}

.post-item {
  display: flex;
  overflow: hidden;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-item.is-hidden {
  display: none;
}

.post-item-content {
  background-color: var(--color--300);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0.75rem;
  transition: transform 0.3s, background-color 0.3s;
  gap: 1.25rem;
}

.post-item-content:hover {
  background-color: var(--color--400);
}

.image-wrapper {
  border-radius: 0.75rem;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.post-item-image {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.5rem;
  width: 100%;
  max-height: 56vh;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-item-content:hover .post-item-image {
  transform: scale(1.04);
}

.content {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 1rem 0.5rem;
  gap: 1rem;
}

.post-details-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.post-details-wrapper.is-centre {
  justify-content: center;
}

.post-detail {
  color: var(--color--600);
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
}

.inset-container.cta {
  background-color: var(--color--100);
  background-image: linear-gradient(135deg, #99999980, var(--color--100) 30%, var(--color--100) 70%, #99999980);
  margin-top: 1rem;
  overflow: hidden;
}

.noise-layer {
  opacity: 0.33;
  object-fit: cover;
  border-radius: 2rem;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-shell {
  background-color: var(--color--100);
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  align-items: start;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-meta {
  color: var(--color--600);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-disclosure {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.footer-kicker {
  margin: 0;
  padding-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color--primary);
  line-height: 1.4;
}

.footer-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2rem;
}

.footer-point {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.15rem 0.85rem;
  padding-bottom: 1.1rem;
  border-bottom: 0.0625rem dashed var(--color--400);
}

.footer-mark {
  font-family: var(--font--primary);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color--primary);
}

.footer-point h3 {
  margin: 0 0 0.4rem;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color--900);
}

.footer-point p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color--600);
  max-width: 46ch;
}

.footer-colophon {
  grid-column: 2;
  margin: 0;
  padding: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--color--600);
  max-width: 72ch;
}

.footer-colophon span {
  color: var(--color--primary);
}

.section.posts {
  background-color: var(--color--100);
  transform-style: preserve-3d;
  transform: translateZ(2px);
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.split-block.with-divider {
  border-bottom: 0.0625rem solid var(--color--400);
  margin-bottom: 6rem;
  padding-bottom: 6rem;
}

.split-block h2 {
  font-size: 3rem;
  line-height: 1.1;
}

.rich-text {
  text-align: left;
  line-height: 1.5;
}

.rich-text p {
  max-width: 56ch;
  margin: 0 0 2rem;
  font-size: 1.25rem;
  color: var(--color--800);
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.rich-text h2 {
  margin: 5.5rem 0 2rem;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--color--900);
}

.rich-text h3 {
  margin: 4.5rem 0 1.5rem;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--color--900);
}

.rich-text a {
  color: var(--color--primary);
  font-weight: 500;
}

.rich-text code {
  font-size: 0.95em;
  color: var(--color--primary);
}

.rich-text blockquote {
  background-color: var(--color--primary);
  font-family: var(--font--primary);
  color: var(--color--100);
  letter-spacing: -0.02em;
  border: 0;
  border-radius: 0.75rem;
  margin: 2rem 0;
  padding: 2rem;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
}

.rich-text ul,
.rich-text ol {
  max-width: 56ch;
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  color: var(--color--800);
  font-size: 1.25rem;
}

.rich-text li {
  margin-bottom: 0.75rem;
}

.figure-block {
  margin: 3rem 0;
}

.figure-block img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.5rem;
}

.figure-block figcaption {
  color: var(--color--600);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.about-images-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 4rem auto;
  gap: 0.5rem;
}

.about-images-wrapper img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12%;
}

.about-image-1 {
  width: 14%;
  transform: rotate(-17deg);
}

.about-image-2 {
  width: 26%;
  transform: rotate(12deg);
}

.about-image-3 {
  width: 16%;
  transform: rotate(-23deg);
}

.about-image-4 {
  width: 32%;
  transform: rotate(-3deg);
}

.about-image-5 {
  width: 16%;
  transform: rotate(21deg);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.text-link {
  font-size: 1.25rem;
  display: inline-flex;
  color: var(--color--900);
}

.text-link:hover {
  color: var(--color--primary);
}

.horizontal-inputs-wrapper {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.horizontal-inputs-wrapper .text-field {
  padding-right: 1.25rem;
}

.text-area {
  min-height: 10.125rem;
  padding: 1rem 1.25rem;
  resize: vertical;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.message-form {
  max-width: none;
  width: 100%;
}

.message-form .email-form-wrapper {
  flex-direction: column;
  align-items: stretch;
}

.related-title-wrapper {
  text-align: center;
  display: flex;
  justify-content: center;
}

.legal-body .rich-text p,
.legal-body .rich-text li {
  font-size: 1.125rem;
}

.seo-home {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.seo-home .split-block:last-child {
  margin-bottom: 0;
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.bento-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 36rem;
}

.bento-card {
  background-color: var(--color--300);
  border-radius: 1.5rem;
  padding: 2rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s;
}

.bento-card:hover {
  background-color: var(--color--400);
}

.bento-card.tall {
  flex: 1.45;
  justify-content: space-between;
}

.bento-card.short {
  flex: 1;
}

.bento-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color--primary);
  flex-shrink: 0;
}

.bento-copy {
  margin-top: 1.5rem;
}

.bento-card.tall .bento-copy {
  margin-top: auto;
}

.bento-card h2 {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--color--900);
}

.bento-card p {
  color: var(--color--700);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 38ch;
  font-weight: 400;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  background-color: var(--color--300);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 12px 40px #00000080;
  animation: rise 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-copy {
  color: var(--color--700);
  font-size: 0.9375rem;
  max-width: 42rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.button.ghost {
  background-color: var(--color--400);
  color: var(--color--900);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.post-item:nth-child(1) { animation-delay: 0.05s; }
.post-item:nth-child(2) { animation-delay: 0.12s; }
.post-item:nth-child(3) { animation-delay: 0.19s; }
.post-item:nth-child(4) { animation-delay: 0.26s; }
.post-item:nth-child(5) { animation-delay: 0.33s; }
.post-item:nth-child(6) { animation-delay: 0.4s; }

.article-shell {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 64rem);
  justify-content: center;
  gap: 3rem;
  align-items: start;
}

.article-rail {
  position: sticky;
  top: 6.5rem;
}

.article-toc {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.article-toc-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color--600);
  margin-bottom: 0.5rem;
}

.article-toc a {
  color: var(--color--600);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--color--primary);
  background-color: var(--color--300);
}

.article-col {
  min-width: 0;
  width: 100%;
}

.rich-text h2 {
  scroll-margin-top: 6.5rem;
}

.callout {
  background-color: var(--color--300);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  border: 0.0625rem solid var(--color--400);
}

.callout strong {
  display: block;
  font-family: var(--font--primary);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--color--primary);
}

.callout p {
  max-width: none;
  margin: 0;
  font-size: 1.05rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 2.5rem;
  border-radius: 1rem;
  border: 0.0625rem solid var(--color--400);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--color--600);
  font-size: 0.8125rem;
  padding: 0.75rem 1rem;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 0.0625rem solid var(--color--400);
  vertical-align: top;
}

.data-table thead th {
  background-color: var(--color--300);
  color: var(--color--primary);
  font-weight: 500;
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background-color: var(--color--300);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.chart-card {
  background-color: var(--color--300);
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin: 0 0 2.5rem;
}

.chart-card h3,
.chart-card .chart-title {
  font-family: var(--font--primary);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
  color: var(--color--900);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-track {
  fill: var(--color--400);
}

.chart-bar {
  fill: var(--color--primary);
  transform-origin: left center;
}

.chart-label {
  fill: var(--color--700);
  font-size: 11px;
  font-family: Inter, sans-serif;
}

.chart-ring {
  fill: none;
  stroke: var(--color--400);
  stroke-width: 14;
}

.chart-ring-value {
  fill: none;
  stroke: var(--color--primary);
  stroke-width: 14;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 80px 80px;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.chart-card.is-in .chart-ring-value {
  stroke-dashoffset: var(--ring);
}

.chart-card.is-in .chart-bar {
  animation: barGrow 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 1.75rem 3.25rem;
  max-width: none;
  font-size: 1.125rem;
  color: var(--color--800);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--color--primary);
  color: var(--color--100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.95rem;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 2.35rem;
  bottom: 0.2rem;
  width: 0.125rem;
  background-color: var(--color--400);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::after {
  display: none;
}

.check-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  border: 0.0625rem solid var(--color--400);
  border-radius: 1rem;
  overflow: hidden;
}

.rich-text .check-list,
.rich-text .steps {
  max-width: none;
  padding-left: 0;
}

.check-list li {
  margin: 0;
  border-bottom: 0.0625rem solid var(--color--400);
  max-width: none;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list label {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  color: var(--color--800);
  font-size: 1.05rem;
}

.check-list input {
  margin-top: 0.3rem;
  accent-color: var(--color--primary);
  width: 1.05rem;
  height: 1.05rem;
}

.check-list label.is-done {
  color: var(--color--600);
  text-decoration: line-through;
}

.widget-card {
  background-color: var(--color--300);
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin: 0 0 2.5rem;
}

.widget-card h3 {
  font-family: var(--font--primary);
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
}

.widget-lead {
  color: var(--color--600);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.widget-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.widget-row label {
  font-size: 0.875rem;
  color: var(--color--700);
}

.widget-row input[type="range"] {
  width: 100%;
  accent-color: var(--color--primary);
}

.widget-row select,
.widget-row input[type="number"],
.widget-row input[type="text"] {
  background-color: var(--color--200);
  border: 0.0625rem solid var(--color--400);
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  color: var(--color--900);
  width: 100%;
}

.widget-out {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  background-color: var(--color--200);
  border-radius: 0.85rem;
  font-size: 1.15rem;
}

.widget-out strong {
  color: var(--color--primary);
  font-family: var(--font--primary);
  font-size: 1.75rem;
  font-weight: 400;
}

.tabs {
  margin: 0 0 2.5rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tab-list button {
  background-color: var(--color--300);
  color: var(--color--700);
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.tab-list button.is-active {
  background-color: var(--color--primary);
  color: var(--color--100);
}

.tab-panel {
  display: none;
  background-color: var(--color--300);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel p {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
}

.accordion {
  margin: 0 0 2.5rem;
  border: 0.0625rem solid var(--color--400);
  border-radius: 1rem;
  overflow: hidden;
}

.acc-item + .acc-item {
  border-top: 0.0625rem solid var(--color--400);
}

.acc-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--color--900);
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.acc-item button::after {
  content: "+";
  color: var(--color--primary);
  font-size: 1.25rem;
  line-height: 1;
}

.acc-item.is-open button::after {
  content: "–";
}

.acc-panel {
  display: none;
  padding: 0 1.2rem 1.1rem;
  color: var(--color--700);
  font-size: 1rem;
}

.acc-item.is-open .acc-panel {
  display: block;
}

.quiz-card .quiz-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quiz-card button[data-quiz-reply] {
  background-color: var(--color--200);
  border: 0.0625rem solid var(--color--400);
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.quiz-card button[data-quiz-reply]:hover,
.quiz-card button.is-picked {
  border-color: var(--color--primary);
  color: var(--color--primary);
}

.quiz-out {
  margin: 1rem 0 0;
  color: var(--color--800);
}

.sorter-items,
.sorter-bins {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.sorter-items button,
.sorter-bins button {
  border: 0;
  border-radius: 0.75rem;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}

.sorter-items button {
  background-color: var(--color--200);
  color: var(--color--900);
}

.sorter-items button.is-used {
  opacity: 0.35;
  pointer-events: none;
}

.sorter-bins button {
  background-color: var(--color--400);
  color: var(--color--900);
  min-width: 7rem;
}

.sorter-bins button.is-hot {
  outline: 0.125rem solid var(--color--primary);
}

.svg-scene {
  margin: 0 0 2.5rem;
  background-color: var(--color--300);
  border-radius: 1.25rem;
  padding: 1.25rem;
  overflow: hidden;
}

.svg-scene svg {
  width: 100%;
  height: auto;
  display: block;
}

.droplet {
  fill: var(--color--primary);
  opacity: 0.85;
}

.svg-scene.is-in .droplet {
  animation: dropFall 2.4s ease-in-out infinite;
}

.svg-scene.is-in .leaf-sway {
  transform-origin: 60px 90px;
  animation: sway 3.2s ease-in-out infinite;
}

.svg-scene.is-in .steam {
  animation: steamUp 2.8s ease-in-out infinite;
}

.svg-scene.is-in .sun-pulse {
  transform-origin: 320px 48px;
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes dropFall {
  0% { transform: translateY(-8px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(28px); opacity: 0; }
}

@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}

@keyframes steamUp {
  0% { transform: translateY(6px); opacity: 0.15; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-18px); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.mix-preview {
  display: flex;
  height: 1.1rem;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0 1rem;
}

.mix-preview span {
  display: block;
  height: 100%;
}

.thirds-board {
  position: relative;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #2a2a2a, #3a2a22 45%, #ffb88f55);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.thirds-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.thirds-subject {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color--primary);
  border: 0.2rem solid var(--color--100);
  transform: translate(-50%, -50%);
  cursor: grab;
}

.grade-preview {
  height: 8rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #1c1c1c, #ffb88f 55%, #fff3);
}

.heat-pan {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .svg-scene.is-in .droplet,
  .svg-scene.is-in .leaf-sway,
  .svg-scene.is-in .steam,
  .svg-scene.is-in .sun-pulse,
  .chart-card.is-in .chart-bar {
    animation: none;
  }
}

@media screen and (max-width: 991px) {
  .container {
    padding: 6rem 4rem;
  }

  .heading.extra-large {
    font-size: 2.75rem;
  }

  .heading.large,
  .split-block h2,
  .rich-text h2 {
    font-size: 2.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-button {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 100%;
    background-color: var(--color--300);
    border-radius: 1rem;
    flex-direction: column;
    padding: 0.75rem 2.5rem 2.5rem;
    backdrop-filter: blur(0.375rem);
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .links-wrapper {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }

  .inset-nav-container {
    position: relative;
  }

  .split-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .footer-disclosure {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-colophon {
    grid-column: 1;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-col {
    min-height: 0;
  }

  .bento-card.tall,
  .bento-card.short {
    min-height: 16rem;
  }

  .about-images-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .about-images-wrapper img {
    width: 28% !important;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-rail {
    position: static;
  }

  .article-toc {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 4rem 3rem;
  }

  .heading.extra-large {
    font-size: 2.25rem;
  }

  .heading.medium {
    font-size: 1.5rem;
  }

  .posts-grid,
  .posts-grid.related {
    grid-template-columns: 1fr;
  }

  .email-form-wrapper {
    flex-direction: column;
  }

  .text-field {
    padding-right: 1.25rem;
  }

  .button.in-input {
    position: static;
    transform: none;
    width: 100%;
    margin: 0.75rem 0 0;
    min-height: 3.375rem;
  }

  .button.in-input:active {
    transform: scale(0.98);
  }

  .horizontal-inputs-wrapper {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .section.sticky {
    position: relative;
    top: auto;
    transform: none;
  }

  .rich-text p,
  .rich-text li {
    font-size: 1rem;
  }

  .rich-text h2 {
    margin-top: 3.5rem;
  }

  .rich-text h3 {
    margin-top: 3rem;
    font-size: 1.5rem;
  }

  .rich-text blockquote {
    font-size: 1.35rem;
    padding: 1.5rem;
  }

  .split-block.with-divider {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
  }

  .spacer-80 {
    height: 3.5rem;
  }

  .about-images-wrapper img {
    width: 42% !important;
  }

  .widget-card,
  .chart-card,
  .svg-scene {
    padding: 1.15rem;
  }
}

@media screen and (max-width: 479px) {
  .container {
    padding: 3rem 1.5rem;
  }

  .inset-nav-container {
    padding-left: 1.25rem;
    padding-right: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .section {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-points {
    grid-template-columns: 1fr;
  }

  .inset-container,
  .post-item-image,
  .noise-layer {
    border-radius: 1.5rem;
  }

  .heading.extra-large {
    font-size: 2.1rem;
  }
}
