:root {
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #29332c;
  --muted: #69736b;
  --sage: #8ea38e;
  --sage-dark: #4e6654;
  --sage-pale: #dce7db;
  --coral: #d97966;
  --coral-dark: #b95b4a;
  --rose-pale: #f2d6cf;
  --gold: #c9a86b;
  --line: rgba(41, 51, 44, 0.15);
  --shadow: 0 24px 70px rgba(41, 51, 44, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(247, 243, 234, 0.87);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(41, 51, 44, 0.07);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-pale);
}

.brand-mark svg {
  width: 30px;
  fill: none;
  stroke: var(--sage-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav > a {
  color: #4d574f;
  font-size: 14px;
  font-weight: 600;
}

nav > a:hover {
  color: var(--coral-dark);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button:focus-visible,
.filter-chip:focus-visible,
.activity-card:focus-visible,
.modal-close:focus-visible,
.text-button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(217, 121, 102, 0.35);
  outline-offset: 3px;
}

.button-small {
  min-height: 42px;
  padding: 0 19px;
  font-size: 13px;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #17201a;
  box-shadow: 0 9px 24px rgba(41, 51, 44, 0.18);
}

.button-coral {
  background: var(--coral);
  color: white;
  box-shadow: 0 10px 25px rgba(185, 91, 74, 0.2);
}

.button-coral:hover {
  background: var(--coral-dark);
}

.button-coral svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
}

.hero-wash {
  position: absolute;
  width: 760px;
  height: 760px;
  top: -240px;
  right: -170px;
  border-radius: 50%;
  background: rgba(220, 231, 219, 0.65);
  filter: blur(1px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 84px;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 98px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero h1 em {
  position: relative;
  color: var(--coral-dark);
  font-weight: 400;
}

.hero-intro {
  max-width: 570px;
  margin: 28px 0 29px;
  color: #566159;
  font-size: 17px;
  line-height: 1.75;
}

.sampler-card {
  max-width: 630px;
  border: 1px solid rgba(78, 102, 84, 0.17);
  border-radius: 22px;
  padding: 20px 21px 15px;
  background: rgba(255, 253, 248, 0.91);
  box-shadow: 0 16px 45px rgba(41, 51, 44, 0.09);
}

.sampler-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.mini-number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 24px;
}

.sampler-heading h2 {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.sampler-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.signup-form {
  display: grid;
  grid-template-columns: 0.78fr 1.15fr auto;
  gap: 9px;
}

.signup-form label {
  display: grid;
  gap: 5px;
}

.signup-form label > span {
  padding-left: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(41, 51, 44, 0.16);
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: var(--ink);
  font-size: 13px;
}

.signup-form input.invalid {
  border-color: var(--coral-dark);
  background: #fff9f7;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 650;
}

.form-message:empty {
  display: none;
}

.privacy-note {
  margin: 10px 4px 0;
  color: #7b837d;
  font-size: 10px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  color: #69736b;
  font-size: 11px;
  font-weight: 650;
}

.trust-row i {
  display: inline-grid;
  width: 17px;
  height: 17px;
  margin-right: 4px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-size: 10px;
  font-style: normal;
}

.hero-art {
  position: relative;
  min-height: 570px;
}

.paper-stack {
  position: absolute;
  inset: 5px 5px 0 0;
}

.paper {
  position: absolute;
  width: 300px;
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  border: 9px solid white;
  border-radius: 3px;
  background: white;
  box-shadow: var(--shadow);
}

.paper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paper-back {
  top: 61px;
  right: 0;
  transform: rotate(8deg);
}

.paper-middle {
  top: 20px;
  left: 74px;
  transform: rotate(-9deg);
}

.paper-front {
  top: 86px;
  left: 10px;
  transform: rotate(-1deg);
}

.made-for-badge {
  position: absolute;
  right: -5px;
  bottom: 18px;
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  box-shadow: 0 15px 35px rgba(185, 91, 74, 0.23);
  transform: rotate(8deg);
}

.made-for-badge svg {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
}

.made-for-badge text {
  fill: white;
  font-family: var(--sans);
  font-size: 8.6px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.made-for-badge span {
  font-size: 27px;
}

.art-caption {
  position: absolute;
  right: 0;
  bottom: -12px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.scallop {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 21px;
  background: radial-gradient(circle at 21px -1px, transparent 21px, var(--paper) 22px) 0 0 / 42px 22px repeat-x;
}

.library-section {
  background: var(--paper);
  padding: 106px 0 116px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.membership-story h2 {
  max-width: 710px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 59px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  border: 1px solid rgba(41, 51, 44, 0.15);
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: #5b655d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  color: white;
}

.search-box {
  position: relative;
  flex: 0 0 235px;
}

.search-box svg {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(41, 51, 44, 0.15);
  border-radius: 999px;
  padding: 0 17px 0 40px;
  background: #faf8f2;
  color: var(--ink);
  font-size: 12px;
}

.result-count {
  min-height: 20px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.activity-card {
  position: relative;
  border: 0;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  background: #f2efe6;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(41, 51, 44, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(41, 51, 44, 0.12);
}

.activity-image {
  position: relative;
  height: 285px;
  overflow: hidden;
  background: #e8e4db;
}

.activity-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41, 51, 44, 0.12), transparent 35%);
  pointer-events: none;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 250ms ease;
}

.activity-card:hover img {
  transform: scale(1.025);
}

.activity-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 1;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 253, 248, 0.92);
  color: #4e5c51;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.activity-body {
  min-height: 123px;
  padding: 17px 17px 19px;
  background: white;
}

.activity-meta {
  margin: 0 0 6px;
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.activity-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.empty-state {
  margin-top: 24px;
  border: 1px dashed rgba(78, 102, 84, 0.3);
  border-radius: 18px;
  padding: 48px 20px;
  text-align: center;
}

.empty-state span {
  color: var(--coral);
  font-size: 30px;
}

.empty-state h3 {
  margin: 7px 0 3px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.text-button {
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--coral-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.membership-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--sage-dark);
  color: white;
}

.membership-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -270px;
  left: -220px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255, 255, 255, 0.018), 0 0 0 124px rgba(255, 255, 255, 0.014);
}

.membership-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 95px;
  align-items: center;
}

.eyebrow-light {
  color: #d6e5d7;
}

.membership-story > p:not(.eyebrow) {
  max-width: 490px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.member-quote {
  display: flex;
  gap: 14px;
  max-width: 500px;
  margin-top: 38px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.member-quote span {
  height: 40px;
  color: #f0b09f;
  font-family: var(--serif);
  font-size: 48px;
  line-height: 0.85;
}

.member-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.55;
}

.membership-card {
  border-radius: 27px;
  padding: 34px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 38px 90px rgba(18, 32, 22, 0.28);
}

.member-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-label {
  margin: 0;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.plan-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--rose-pale);
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.membership-card h3 {
  max-width: 560px;
  margin: 19px 0 9px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.07;
}

.plan-intro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.membership-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin: 27px 0 30px;
  padding: 0;
  list-style: none;
}

.membership-card li {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.membership-card li > span {
  padding-top: 1px;
  color: var(--coral-dark);
  font-family: var(--serif);
  font-size: 15px;
}

.membership-card li strong,
.membership-card li small {
  display: block;
}

.membership-card li strong {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.membership-card li small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 18px;
  padding: 17px 18px;
  background: var(--sage-pale);
}

.pricing-note small,
.pricing-note strong {
  display: block;
}

.pricing-note small {
  margin-bottom: 3px;
  color: var(--sage-dark);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.pricing-note strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.button-light {
  min-height: 46px;
  flex: 0 0 auto;
  background: white;
  color: var(--sage-dark);
  box-shadow: 0 6px 18px rgba(41, 51, 44, 0.08);
}

.checkout-note {
  margin: 11px 2px 0;
  color: #7a827c;
  font-size: 9px;
  text-align: right;
}

.site-footer {
  padding: 28px 0;
  background: #243028;
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand .brand-mark {
  background: rgba(255,255,255,0.1);
}

.footer-brand .brand-mark svg {
  stroke: #d8e4d8;
}

.footer-brand small,
.footer-inner > p {
  color: rgba(255,255,255,0.54);
}

.footer-inner > p {
  max-width: 480px;
  margin: 0;
  font-size: 9px;
  text-align: right;
}

.modal {
  width: min(820px, calc(100% - 30px));
  max-height: calc(100vh - 36px);
  border: 0;
  border-radius: 25px;
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(13, 24, 16, 0.35);
}

.modal::backdrop {
  background: rgba(22, 31, 25, 0.71);
  backdrop-filter: blur(5px);
}

.modal-shell {
  position: relative;
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(41, 51, 44, 0.12);
}

.preview-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 520px;
}

.preview-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 42px;
  background: #e7eee5;
}

.preview-visual img {
  max-height: 435px;
  border: 8px solid white;
  box-shadow: 0 22px 48px rgba(41, 51, 44, 0.2);
}

.preview-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.preview-details .eyebrow {
  margin-bottom: 10px;
}

.preview-details h2,
.download-modal h2,
.member-modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.preview-details > p {
  margin: 17px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
}

.detail-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #566159;
  font-size: 12px;
}

.detail-list i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.download-modal,
.member-modal {
  padding: 58px;
  text-align: center;
}

.download-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-size: 31px;
}

.download-modal > p,
.member-modal > p {
  max-width: 550px;
  margin: 15px auto 24px;
  color: var(--muted);
}

.download-button {
  background: var(--coral);
  color: white;
}

.download-button:hover {
  background: var(--coral-dark);
}

.download-footnote {
  display: block;
  margin-top: 13px;
  color: #7c847f;
  font-size: 10px;
}

.member-modal {
  text-align: left;
}

.member-modal .eyebrow {
  justify-content: center;
}

.member-modal h2,
.member-modal > p {
  text-align: center;
}

.member-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.member-preview-grid article {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  background: #fbf9f3;
}

.member-preview-grid span {
  color: var(--coral-dark);
  font-family: var(--serif);
  font-size: 24px;
}

.member-preview-grid h3 {
  margin: 8px 0 5px;
  font-family: var(--serif);
  font-size: 17px;
}

.member-preview-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.member-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 10px;
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--sage-pale);
}

.member-action-row p {
  margin: 0;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 340px;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

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

.reveal {
  animation: rise-in 650ms ease both;
}

.reveal-delay {
  animation-delay: 100ms;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 35px;
  }

  .paper {
    width: 245px;
  }

  .hero-art {
    min-height: 490px;
  }

  .paper-middle {
    left: 30px;
  }

  .activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .membership-grid {
    gap: 42px;
  }
}

@media (max-width: 820px) {
  nav > a {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-art {
    min-height: 565px;
    margin: 0 auto;
    width: min(520px, 100%);
  }

  .paper {
    width: 295px;
  }

  .paper-middle {
    left: 90px;
  }

  .section-heading,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 24px;
  }

  .section-heading > p {
    max-width: 620px;
  }

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

  .membership-story {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header .brand small {
    display: none;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .button-small {
    min-height: 39px;
    padding: 0 15px;
  }

  .hero-grid {
    padding-top: 43px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-intro {
    margin-top: 21px;
    font-size: 15px;
  }

  .sampler-card {
    border-radius: 18px;
    padding: 17px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form .button {
    width: 100%;
  }

  .hero-art {
    min-height: 430px;
    width: 100%;
  }

  .paper {
    width: 215px;
    border-width: 6px;
  }

  .paper-back {
    top: 55px;
  }

  .paper-middle {
    top: 15px;
    left: 20%;
  }

  .paper-front {
    top: 76px;
    left: 2%;
  }

  .made-for-badge {
    right: -3px;
    bottom: 0;
    width: 96px;
    height: 96px;
  }

  .made-for-badge text {
    font-size: 7.2px;
  }

  .art-caption {
    display: none;
  }

  .library-section,
  .membership-section {
    padding: 78px 0;
  }

  .section-heading h2,
  .membership-story h2 {
    font-size: 41px;
  }

  .library-toolbar {
    display: grid;
  }

  .filter-group {
    flex-wrap: nowrap;
    margin-right: -14px;
    padding: 0 14px 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .search-box {
    width: 100%;
    flex-basis: auto;
  }

  .activity-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .activity-image {
    height: 210px;
  }

  .activity-body {
    min-height: 132px;
    padding: 14px;
  }

  .activity-body h3 {
    font-size: 17px;
  }

  .activity-body p {
    display: none;
  }

  .membership-card {
    border-radius: 21px;
    padding: 23px 19px;
  }

  .membership-card ul {
    grid-template-columns: 1fr;
  }

  .pricing-note,
  .member-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-light {
    width: 100%;
  }

  .checkout-note {
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner > p {
    text-align: left;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-visual {
    min-height: 370px;
    padding: 30px;
  }

  .preview-visual img {
    max-height: 310px;
  }

  .preview-details,
  .download-modal,
  .member-modal {
    padding: 38px 24px;
  }

  .preview-details h2,
  .download-modal h2,
  .member-modal h2 {
    font-size: 32px;
  }

  .member-preview-grid {
    grid-template-columns: 1fr;
  }
}

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

  .activity-image {
    height: 315px;
  }

  .activity-body {
    min-height: auto;
  }

  .activity-body p {
    display: block;
  }
}
