:root {
  --ink: #243742;
  --ink-deep: #172831;
  --ink-soft: #60727b;
  --paper: #fffaf5;
  --white: #ffffff;
  --blue: #cfe9f4;
  --blue-strong: #9fcfe1;
  --pink: #e3adb3;
  --pink-soft: #f7e3e5;
  --yellow: #f6e7aa;
  --mint: #dceee0;
  --sand: #f4ecdf;
  --line: rgba(36, 55, 66, 0.14);
  --line-strong: rgba(36, 55, 66, 0.24);
  --shadow-sm: 0 12px 34px rgba(36, 55, 66, 0.09);
  --shadow-lg: 0 28px 80px rgba(36, 55, 66, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shell: 1240px;
  --header-height: 82px;
  --transition: 180ms ease;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input {
  font: inherit;
}

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink-deep);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.2rem, 6.4vw, 6.5rem);
}

h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.35rem);
}

h3 {
  font-size: 1.1rem;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--yellow);
  color: var(--ink-deep);
}

:focus-visible {
  outline: 3px solid #2c83a8;
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink-deep);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

.eyebrow {
  margin-bottom: 14px;
  color: #50798b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.button--primary {
  background: var(--ink-deep);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(23, 40, 49, 0.14);
}

.button--primary:hover {
  background: #0f2028;
  box-shadow: 0 16px 30px rgba(23, 40, 49, 0.2);
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-deep);
}

.button--secondary:hover {
  border-color: var(--ink-deep);
  background: var(--white);
}

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

.button--light:hover {
  background: var(--yellow);
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  line-height: 1.4;
  transition: gap var(--transition), opacity var(--transition);
}

.text-link:hover {
  gap: 11px;
  opacity: 0.72;
}

.text-button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.icon-button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.announcement-bar {
  background: var(--ink-deep);
  color: var(--white);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.announcement-bar__inner {
  display: grid;
  min-height: 36px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 24px;
  text-align: center;
}

.announcement-bar__inner span + span {
  position: relative;
}

.announcement-bar__inner span + span::before {
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  content: "";
  transform: translateY(-50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 245, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 250, 245, 0.96);
  box-shadow: 0 10px 35px rgba(36, 55, 66, 0.07);
}

.site-header__inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  width: 83px;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  width: 76px;
  max-height: 61px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.8vw, 40px);
}

.primary-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 0.88rem;
  font-weight: 690;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.menu-button {
  display: none;
}

.cart-button {
  position: relative;
}

.cart-button__count {
  position: absolute;
  top: 0;
  right: -2px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding-inline: 5px;
  border: 2px solid var(--paper);
  border-radius: var(--radius-pill);
  background: var(--pink);
  color: var(--ink-deep);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1;
}

.mobile-menu {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(23, 40, 49, 0.55);
  backdrop-filter: blur(6px);
}

.mobile-menu__panel {
  width: min(86vw, 390px);
  min-height: 100%;
  padding: 20px 24px 36px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  animation: panel-in 220ms ease both;
}

.mobile-menu__header {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__header img {
  width: 68px;
  max-height: 56px;
  object-fit: contain;
}

.mobile-menu nav {
  display: grid;
  margin-block: 30px;
}

.mobile-menu nav a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 720;
}

.mobile-menu nav a::after {
  content: "↗";
  font-weight: 500;
}

.mobile-menu p {
  max-width: 30ch;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(700px, calc(100vh - 120px));
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blue);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -120px;
  left: -70px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.35);
}

.hero::after {
  right: 32%;
  bottom: -160px;
  width: 320px;
  height: 320px;
  background: rgba(246, 231, 170, 0.56);
}

.hero__content {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 7vw, 92px);
}

.hero h1 {
  max-width: 9ch;
  margin-bottom: 26px;
}

.hero__lead {
  max-width: 52ch;
  margin-bottom: 30px;
  color: #425e6b;
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  line-height: 1.7;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin: 42px 0 0;
}

.hero__facts div {
  display: grid;
  gap: 0;
}

.hero__facts dt {
  font-size: 0.98rem;
  font-weight: 800;
}

.hero__facts dd {
  color: #567380;
  font-size: 0.82rem;
}

.hero__media {
  position: relative;
  min-height: 560px;
  padding: 26px 26px 26px 0;
}

.hero__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
}

.hero__badge {
  position: absolute;
  right: clamp(34px, 4vw, 58px);
  bottom: clamp(42px, 6vw, 72px);
  display: grid;
  min-width: 176px;
  gap: 1px;
  padding: 17px 20px;
  border: 1px solid rgba(36, 55, 66, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero__badge > span {
  position: absolute;
  top: -14px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}

.hero__badge strong {
  font-size: 0.86rem;
}

.hero__badge small {
  color: var(--ink-soft);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.benefits article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.52);
}

.benefits__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: #50798b;
  font-size: 0.72rem;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(36, 55, 66, 0.07);
}

.benefits h2 {
  margin-bottom: 7px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.benefits p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.section {
  padding-block: clamp(96px, 12vw, 160px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.collection-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(36, 55, 66, 0.08);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.collection-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-sm);
}

.collection-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.collection-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 55, 66, 0.07), transparent 32%);
  content: "";
  pointer-events: none;
}

.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 350ms ease;
}

.collection-card:hover .collection-card__image img {
  transform: scale(1.035);
}

.collection-card--blue .collection-card__image {
  background: #e7f5fa;
}

.collection-card--yellow .collection-card__image {
  background: #fff6cf;
}

.collection-card--pink .collection-card__image {
  background: #fbeaec;
}

.collection-card--mint .collection-card__image {
  background: #eaf5ec;
}

.collection-card__body {
  position: relative;
  min-height: 128px;
  padding: 22px 58px 22px 23px;
}

.collection-card__body > span:first-child {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.collection-card h3 {
  margin: 5px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.collection-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: transform var(--transition), background var(--transition);
}

.collection-card:hover .collection-card__arrow {
  background: var(--ink-deep);
  color: var(--white);
  transform: rotate(12deg);
}

.feature {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature--blue {
  background: var(--blue);
}

.feature__media {
  min-height: 590px;
  padding: 26px;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.feature__content {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(50px, 7vw, 92px);
}

.feature__content h2 {
  max-width: 8ch;
  margin-bottom: 24px;
}

.feature__content > p:not(.eyebrow) {
  max-width: 50ch;
  margin-bottom: 26px;
  color: #425e6b;
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 680;
}

.check-list li::before {
  position: absolute;
  top: 0.12em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  content: "✓";
  font-size: 0.69rem;
  font-weight: 900;
}

.flashcard-story {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: clamp(56px, 9vw, 110px);
  padding-block: clamp(100px, 14vw, 180px);
}

.flashcard-story__copy {
  padding-left: clamp(0px, 3vw, 36px);
}

.flashcard-story__copy h2 {
  max-width: 9.2ch;
  margin-bottom: 26px;
}

.flashcard-story__copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.flashcard-story__gallery {
  position: relative;
  display: grid;
  min-height: 660px;
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: 1fr auto;
  gap: 18px;
}

.flashcard-story__image {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand);
}

.flashcard-story__image--tall {
  grid-row: 1 / 3;
}

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

.flashcard-story__image--tall img {
  object-position: center 28%;
}

.flashcard-story__note {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--pink);
  color: var(--ink-deep);
}

.flashcard-story__note strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.flashcard-story__note span {
  color: rgba(23, 40, 49, 0.72);
}

.section--products {
  padding-top: 0;
}

.section-heading--products {
  align-items: end;
}

.section-heading--products h2 {
  max-width: none;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 42px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(36, 55, 66, 0.07);
  border-radius: var(--radius-md);
  background: #f8f5ef;
}

.product-card__media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 17px;
  transition: transform 320ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__tag {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--ink-deep);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__tag--pink {
  background: var(--pink-soft);
}

.product-card__tag--yellow {
  background: #fff0a9;
}

.quick-view-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 40px;
  padding: 9px 15px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-deep);
  font-size: 0.75rem;
  font-weight: 780;
  box-shadow: 0 8px 24px rgba(36, 55, 66, 0.12);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}

.quick-view-button:hover {
  background: var(--ink-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 3px 0;
}

.product-card__category {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.product-card h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 220ms ease, background-position 0s 220ms;
}

.product-card h3 a:hover {
  background-position: 0 100%;
  background-size: 100% 1px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--ink-deep);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.add-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 780;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.add-button:hover {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.product-grid__empty {
  padding: 60px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  text-align: center;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: start;
  gap: clamp(50px, 8vw, 105px);
  padding-bottom: clamp(100px, 14vw, 180px);
}

.about-section__intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  padding: 20px 0 0 clamp(0px, 3vw, 36px);
}

.about-section__intro h2 {
  max-width: 7.5ch;
  margin-bottom: 26px;
}

.about-section__intro > p:not(.eyebrow) {
  max-width: 44ch;
  margin-bottom: 27px;
  color: var(--ink-soft);
}

.mosaic {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.mosaic__item {
  aspect-ratio: 1.08 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand);
}

.mosaic__item--wide {
  aspect-ratio: 2.16 / 1;
  grid-column: 1 / -1;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.mosaic__item:hover img {
  transform: scale(1.025);
}

.testimonials {
  padding: clamp(54px, 7vw, 84px);
  border-radius: var(--radius-lg);
  background: var(--pink);
}

.testimonials__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.testimonials__heading h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.testimonials .eyebrow {
  color: rgba(23, 40, 49, 0.68);
}

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

.testimonial-grid figure {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  margin: 0;
  padding: 31px;
  border: 1px solid rgba(36, 55, 66, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
}

.stars {
  margin-bottom: 28px;
  color: var(--ink-deep);
  font-size: 0.94rem;
  letter-spacing: 0.12em;
}

.testimonial-grid blockquote {
  margin-bottom: 28px;
  color: var(--ink-deep);
  font-size: 1.05rem;
  line-height: 1.65;
}

.testimonial-grid figcaption {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 800;
}

.testimonial-grid figcaption::before {
  content: "— ";
}

.newsletter {
  margin-top: clamp(96px, 12vw, 160px);
  background: var(--ink-deep);
  color: var(--white);
}

.newsletter__inner {
  display: grid;
  min-height: 390px;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
  padding-block: 72px;
}

.newsletter .eyebrow {
  color: var(--blue-strong);
}

.newsletter h2 {
  max-width: 9ch;
  margin-bottom: 16px;
  color: var(--white);
}

.newsletter__inner > div > p:last-child {
  max-width: 40ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
}

.newsletter__form {
  display: grid;
  gap: 10px;
}

.newsletter__form > label {
  font-size: 0.78rem;
  font-weight: 750;
}

.newsletter__input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter input {
  min-width: 0;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  outline: 0;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.newsletter input:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.newsletter__form small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.site-footer {
  background: var(--blue);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.78fr);
  gap: 44px;
  padding-block: 72px 58px;
}

.footer-brand img {
  width: 104px;
  max-height: 85px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 32ch;
  margin: 18px 0 23px;
  color: #4e6975;
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.site-footer nav h2 {
  margin: 0 0 7px;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.site-footer nav a {
  color: #4e6975;
  font-size: 0.82rem;
  transition: color var(--transition), transform var(--transition);
}

.site-footer nav a:hover {
  color: var(--ink-deep);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(36, 55, 66, 0.22);
  border-radius: 50%;
  font-weight: 850;
  transition: background var(--transition), color var(--transition);
}

.social-links a:hover {
  background: var(--ink-deep);
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(36, 55, 66, 0.14);
  color: #55727e;
  font-size: 0.72rem;
}

.drawer-scrim {
  position: fixed;
  z-index: 89;
  inset: 0;
  background: rgba(23, 40, 49, 0.48);
  backdrop-filter: blur(5px);
  animation: fade-in 180ms ease both;
}

.cart-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  display: grid;
  width: min(100%, 470px);
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 0;
  background: var(--paper);
  box-shadow: -20px 0 70px rgba(23, 40, 49, 0.2);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 240ms ease, visibility 240ms;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer__header {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header .eyebrow {
  margin-bottom: 5px;
}

.cart-drawer__header h2 {
  margin-bottom: 0;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.cart-drawer__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 15px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-item__image {
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f0e9;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.cart-item__details {
  min-width: 0;
}

.cart-item__details h3 {
  margin-bottom: 6px;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.cart-item__price {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 30px 32px 30px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}

.quantity-control button {
  display: grid;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-control button:hover {
  background: var(--blue);
}

.quantity-control span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.cart-item__remove {
  align-self: start;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--ink-soft);
  font-size: 0.7rem;
  cursor: pointer;
}

.cart-item__remove:hover {
  border-color: currentColor;
  color: var(--ink-deep);
}

.cart-empty {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 34px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--pink-soft);
  font-size: 1.7rem;
}

.cart-empty h3 {
  max-width: 15ch;
  margin-bottom: 11px;
  font-size: 1.4rem;
}

.cart-empty p {
  max-width: 34ch;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cart-drawer__footer {
  padding: 22px 24px 25px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 800;
}

.cart-total strong {
  font-size: 1.25rem;
}

.cart-drawer__footer > p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.5;
}

.cart-drawer__footer .text-button {
  display: block;
  margin: 15px auto 0;
}

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(23, 40, 49, 0.56);
  backdrop-filter: blur(7px);
}

.product-dialog {
  width: min(calc(100% - 36px), 920px);
  max-height: calc(100dvh - 36px);
  overflow: visible;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.product-dialog[open] {
  animation: dialog-in 210ms ease both;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
}

.product-dialog__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
  border-radius: inherit;
}

.product-dialog__media {
  min-height: 520px;
  background: #f5f0e9;
}

.product-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.product-dialog__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 6vw, 70px);
}

.product-dialog__content h2 {
  margin-bottom: 13px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.product-dialog__price {
  margin-bottom: 24px;
  font-size: 1.25rem;
  font-weight: 850;
}

.product-dialog__content > p:not(.eyebrow, .product-dialog__price) {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.product-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-dialog {
  width: min(calc(100% - 36px), 680px);
  max-height: min(760px, calc(100dvh - 36px));
  padding: 30px;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.search-dialog[open] {
  animation: dialog-in 210ms ease both;
}

.search-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.search-dialog__header .eyebrow {
  margin-bottom: 5px;
}

.search-dialog__header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.search-field {
  display: grid;
  min-height: 58px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
}

.search-field:focus-within {
  border-color: var(--ink-deep);
  box-shadow: 0 0 0 3px rgba(159, 207, 225, 0.45);
}

.search-field svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  min-width: 0;
  height: 56px;
  border: 0;
  outline: 0;
  background: transparent;
}

.search-dialog__hint {
  margin: 14px 5px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.search-result {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.search-result:hover {
  border-color: var(--line-strong);
  background: var(--white);
  transform: translateX(3px);
}

.search-result img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 4px;
  border-radius: 12px;
  background: #f5f0e9;
}

.search-result strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.search-result small {
  color: var(--ink-soft);
}

.search-result > span:last-child {
  font-size: 1.2rem;
}

.search-results__empty {
  padding: 36px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink-soft);
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 48px));
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--ink-deep);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity var(--transition), transform var(--transition);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript-message {
  position: fixed;
  z-index: 200;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff1ad;
  color: var(--ink-deep);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

@keyframes panel-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (hover: hover) {
  .quick-view-button {
    opacity: 0;
    transform: translateY(7px);
  }

  .product-card:hover .quick-view-button,
  .quick-view-button:focus-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .primary-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: center;
  }

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

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

  .feature {
    grid-template-columns: 1fr 1fr;
  }

  .feature__content {
    padding: 54px;
  }

  .flashcard-story {
    gap: 54px;
  }

  .about-section {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .announcement-bar__inner {
    width: 100%;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: 40px;
    padding-inline: 18px;
    overflow-x: auto;
    text-align: left;
    scrollbar-width: none;
  }

  .announcement-bar__inner::-webkit-scrollbar {
    display: none;
  }

  .site-header__inner {
    min-height: var(--header-height);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: none;
    padding: 62px 48px 46px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero__media {
    min-height: 500px;
    padding: 0 22px 22px;
  }

  .hero__facts {
    margin-top: 32px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .feature__media {
    min-height: 440px;
    padding-bottom: 0;
  }

  .feature__content {
    max-width: none;
    padding: 54px 48px 64px;
  }

  .feature__content h2 {
    max-width: 10ch;
  }

  .flashcard-story {
    grid-template-columns: 1fr;
  }

  .flashcard-story__copy {
    max-width: 630px;
    padding-left: 0;
  }

  .flashcard-story__copy h2 {
    max-width: 11ch;
  }

  .flashcard-story__gallery {
    min-height: 620px;
  }

  .section-heading--products {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-filters {
    justify-content: flex-start;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-section__intro {
    position: static;
    max-width: 670px;
    padding: 0;
  }

  .about-section__intro h2 {
    max-width: 10ch;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid figure {
    min-height: 235px;
  }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsletter h2 {
    max-width: 12ch;
  }

  .site-footer__inner {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .site-footer__inner nav:last-child {
    grid-column: 2 / 3;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-account {
    display: none;
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand {
    width: 72px;
  }

  .brand img {
    width: 66px;
  }

  .hero {
    margin-top: 14px;
    border-radius: 25px;
  }

  .hero__content {
    padding: 48px 27px 38px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero__lead {
    margin-bottom: 25px;
  }

  .hero__facts {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero__facts div {
    padding: 13px 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.36);
  }

  .hero__facts dt {
    font-size: 0.83rem;
  }

  .hero__facts dd {
    font-size: 0.69rem;
  }

  .hero__media {
    min-height: 390px;
    padding: 0 14px 14px;
  }

  .hero__image-wrap {
    border-radius: 18px;
  }

  .hero__badge {
    right: 26px;
    bottom: 28px;
    min-width: 158px;
    padding: 14px 17px;
  }

  .benefits article {
    padding: 23px;
  }

  .section {
    padding-block: 92px;
  }

  .section-heading {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .section-heading h2 {
    max-width: 13ch;
  }

  .collection-grid {
    gap: 12px;
  }

  .collection-card__body {
    min-height: 114px;
    padding: 18px 47px 18px 17px;
  }

  .collection-card__body > span:first-child {
    font-size: 0.67rem;
  }

  .collection-card h3 {
    font-size: 1.05rem;
  }

  .collection-card__arrow {
    right: 12px;
    bottom: 16px;
    width: 31px;
    height: 31px;
  }

  .feature {
    border-radius: 25px;
  }

  .feature__media {
    min-height: 330px;
    padding: 14px 14px 0;
  }

  .feature__media img {
    border-radius: 17px;
  }

  .feature__content {
    padding: 45px 28px 54px;
  }

  .flashcard-story {
    gap: 44px;
    padding-block: 100px;
  }

  .flashcard-story__gallery {
    min-height: 520px;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 11px;
  }

  .flashcard-story__image,
  .flashcard-story__note {
    border-radius: 18px;
  }

  .flashcard-story__note {
    min-height: 125px;
    padding: 18px;
  }

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

  .product-card__media {
    border-radius: 18px;
  }

  .product-card__media img {
    padding: 9px;
  }

  .product-card__tag {
    top: 9px;
    left: 9px;
    padding: 5px 8px;
    font-size: 0.58rem;
  }

  .quick-view-button {
    right: 8px;
    bottom: 8px;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.66rem;
  }

  .product-card__body {
    padding-top: 13px;
  }

  .product-card__category {
    font-size: 0.62rem;
  }

  .product-card h3 {
    font-size: 0.88rem;
  }

  .product-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .add-button {
    width: 100%;
  }

  .mosaic {
    gap: 10px;
  }

  .mosaic__item {
    border-radius: 17px;
  }

  .testimonials {
    width: calc(100% - 28px);
    padding: 42px 20px 20px;
    border-radius: 25px;
  }

  .testimonials__heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .testimonial-grid figure {
    padding: 25px;
    border-radius: 18px;
  }

  .newsletter__input-row {
    grid-template-columns: 1fr;
  }

  .newsletter__input-row .button {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer__inner nav:last-child {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .product-dialog {
    overflow-y: auto;
  }

  .product-dialog__grid {
    grid-template-columns: 1fr;
  }

  .product-dialog__media {
    min-height: 330px;
  }

  .product-dialog__content {
    padding: 34px 25px 30px;
  }

  .search-dialog {
    padding: 23px 18px;
  }
}

@media (max-width: 520px) {
  .announcement-bar__inner {
    gap: 28px;
  }

  .hero__content .button {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .hero__facts div {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 7px;
  }

  .hero__media {
    min-height: 310px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
  }

  .collection-card__image {
    aspect-ratio: 1;
  }

  .collection-card__body {
    min-height: 100%;
    align-self: stretch;
  }

  .flashcard-story__gallery {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .flashcard-story__image--tall {
    aspect-ratio: 4 / 5;
    grid-row: auto;
  }

  .flashcard-story__image:not(.flashcard-story__image--tall) {
    aspect-ratio: 1;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__media {
    aspect-ratio: 1.08 / 1;
  }

  .product-card__footer {
    align-items: center;
    flex-direction: row;
  }

  .add-button {
    width: auto;
  }

  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic__item,
  .mosaic__item--wide {
    aspect-ratio: 1.35 / 1;
    grid-column: auto;
  }

  .testimonials {
    padding-inline: 14px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .site-footer__inner nav:last-child {
    grid-column: auto;
  }

  .cart-item {
    grid-template-columns: 76px 1fr;
    padding-inline: 18px;
  }

  .cart-item__image {
    width: 76px;
  }

  .cart-item__remove {
    grid-column: 2;
    justify-self: start;
  }

  .product-dialog__actions {
    width: 100%;
  }

  .product-dialog__actions .button {
    width: 100%;
  }

  .search-result {
    grid-template-columns: 56px 1fr;
  }

  .search-result img {
    width: 56px;
    height: 56px;
  }

  .search-result > span:last-child {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
