/* ==========================================================================
   Sifted: Design Tokens
   Palette, type, spacing and the blob-animation system live here so future
   spinoff brands can swap tokens without touching component rules below.
   ========================================================================== */

:root {
  /* Color — "Sherbet" palette */
  --paper: #FCFAF5;
  --ink: #1A1512;
  --raspberry: #C81E72;
  --raspberry-hover: #A0175B;
  --tangerine: #FF6B35;
  --tangerine-text: #C2410C; /* legible tint of Tangerine for text on light bg, ~5.2:1 on #fff */
  --golden: #FFC93C;
  --golden-text: #B8862A; /* legible tint of Golden for text on light bg */
  --bone: #F1E7DA;
  --bone-muted: #C9BEB0;

  /* Bright tints, for the blob/blend treatment only */
  --raspberry-bright: #F76FB0;
  --tangerine-bright: #FF9466;
  --golden-bright: #FFD166;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", -apple-system, sans-serif;

  /* Layout */
  --container-width: 1240px;
  --gutter: 20px;
  --radius-pill: 100px;
  --radius-card: 20px;
  --radius-sm: 10px;

  /* Motion */
  --ease-drift: cubic-bezier(0.45, 0, 0.55, 1);
}

@media (min-width: 641px) {
  :root {
    --gutter: 24px;
  }
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--raspberry);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Shared layout + typography
   ========================================================================== */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--raspberry);
  margin: 0 0 12px;
}

.eyebrow--on-ink {
  color: var(--raspberry-bright);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  line-height: 1.15;
  color: var(--ink);
}

.section-heading--on-ink {
  color: var(--bone);
}

/* ==========================================================================
   Blob / kinetic color-mix treatment
   ========================================================================== */

.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.85;
  animation-play-state: paused;
}

.is-inview .blob {
  animation-play-state: running;
}

.blob--raspberry {
  background: radial-gradient(circle at 35% 35%, var(--raspberry) 0%, transparent 72%);
  mix-blend-mode: multiply;
}
.blob--tangerine {
  background: radial-gradient(circle at 40% 40%, var(--tangerine) 0%, transparent 72%);
  mix-blend-mode: multiply;
}
.blob--golden {
  background: radial-gradient(circle at 40% 40%, var(--golden) 0%, transparent 72%);
  mix-blend-mode: multiply;
}
.blob--raspberry-bright {
  background: radial-gradient(circle at 40% 40%, var(--raspberry-bright) 0%, transparent 72%);
  mix-blend-mode: screen;
}
.blob--tangerine-bright {
  background: radial-gradient(circle at 40% 40%, var(--tangerine-bright) 0%, transparent 72%);
  mix-blend-mode: screen;
}
.blob--golden-bright {
  background: radial-gradient(circle at 40% 40%, var(--golden-bright) 0%, transparent 72%);
  mix-blend-mode: screen;
}

@keyframes blob-drift-a {
  0%   { transform: translate(-6%, -4%) scale(1) rotate(0deg); }
  50%  { transform: translate(6%, 4%) scale(1.12) rotate(12deg); }
  100% { transform: translate(-6%, -4%) scale(1) rotate(0deg); }
}
@keyframes blob-drift-b {
  0%   { transform: translate(5%, -6%) scale(1.05) rotate(0deg); }
  50%  { transform: translate(-8%, 5%) scale(0.92) rotate(-14deg); }
  100% { transform: translate(5%, -6%) scale(1.05) rotate(0deg); }
}
@keyframes blob-drift-c {
  0%   { transform: translate(-4%, 6%) scale(0.95) rotate(0deg); }
  50%  { transform: translate(7%, -5%) scale(1.15) rotate(10deg); }
  100% { transform: translate(-4%, 6%) scale(0.95) rotate(0deg); }
}

.blob--drift-a { animation: blob-drift-a 14s var(--ease-drift) infinite; }
.blob--drift-b { animation: blob-drift-b 18s var(--ease-drift) infinite; }
.blob--drift-c { animation: blob-drift-c 11s var(--ease-drift) infinite; }

/* Placement per context */
.blob-field--hero .blob--raspberry     { width: 55%; height: 55%; top: -10%; left: -8%; }
.blob-field--hero .blob--tangerine     { width: 50%; height: 50%; top: 20%; left: 45%; }
.blob-field--hero .blob--golden        { width: 45%; height: 45%; top: 45%; left: 5%; }

.blob-field--panel .blob--raspberry-bright { width: 65%; height: 65%; top: -12%; left: -10%; }
.blob-field--panel .blob--tangerine-bright { width: 60%; height: 60%; top: 25%; left: 40%; }
.blob-field--panel .blob--golden-bright    { width: 55%; height: 55%; top: 40%; left: -5%; }

.blob-field--card .blob        { width: 75%; height: 75%; top: 10%; left: 5%; }
.blob-field--card .blob:last-child { top: 25%; left: 35%; width: 60%; height: 60%; }

.blob-field--how .blob--raspberry { width: 40%; height: 90%; top: -10%; left: -5%; }
.blob-field--how .blob--tangerine { width: 40%; height: 90%; top: 10%; left: 70%; }

.blob-field--newsletter .blob--golden     { width: 45%; height: 90%; top: -10%; left: 65%; }
.blob-field--newsletter .blob--raspberry  { width: 40%; height: 80%; top: 5%; left: -8%; }

.blob-field--how .blob,
.blob-field--newsletter .blob {
  animation: none;
}

@media (min-width: 641px) {
  .blob {
    filter: blur(40px);
  }
  .blob-field--how .blob--drift-a,
  .blob-field--newsletter .blob--drift-a { animation: blob-drift-a 14s var(--ease-drift) infinite; }
  .blob-field--how .blob--drift-b,
  .blob-field--newsletter .blob--drift-b { animation: blob-drift-b 18s var(--ease-drift) infinite; }
  .blob-field--how .blob--drift-c,
  .blob-field--newsletter .blob--drift-c { animation: blob-drift-c 11s var(--ease-drift) infinite; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

@media (min-width: 481px) {
  .btn {
    white-space: nowrap;
    padding-left: 28px;
    padding-right: 28px;
  }
}

.btn--small {
  padding: 10px 20px;
  min-height: 44px;
  font-size: 0.85rem;
}

.btn--primary {
  background: var(--raspberry);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--bone);
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--raspberry-hover);
  }
  .btn--outline:hover {
    background: var(--ink);
    color: var(--bone);
  }
  .btn--dark:hover {
    background: #000;
  }
}

.pill {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.pill--raspberry {
  background: var(--raspberry);
  color: #fff;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.announcement {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 12px;
}

@media (min-width: 481px) {
  .announcement {
    font-size: 0.8rem;
    padding: 10px var(--gutter);
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "logo actions"
    "links links";
  align-items: center;
  /* Row-gap would still apply between the two template rows even while
     the links row is display:none, adding phantom height. Kill it here
     and let the open panel's own margin/padding provide the spacing. */
  gap: 0 16px;
}

.nav__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav__links {
  grid-area: links;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(26, 21, 18, 0.15);
}
.nav__links[hidden] {
  display: none;
}

.nav__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

@media (hover: hover) {
  .nav__links a:hover {
    color: var(--raspberry);
  }
}

.nav__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.nav__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (min-width: 901px) {
  .nav__inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: none;
    gap: 16px;
  }
  .nav__logo,
  .nav__actions {
    grid-area: auto;
  }

  .nav__menu-toggle {
    display: none;
  }

  /* Desktop nav always shows the links row regardless of the panel's
     collapsed/expanded state used at mobile widths. */
  .nav__links,
  .nav__links[hidden] {
    display: flex;
    flex-direction: row;
    grid-area: auto;
    gap: 32px;
    justify-content: center;
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }
  .nav__links a {
    display: inline;
    min-height: 0;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px var(--gutter) 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__copy {
  max-width: none;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.75rem + 3vw, 3.75rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 16px;
}

.gradient-text {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(90deg, var(--raspberry) 0%, var(--tangerine) 55%, var(--golden) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subhead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 480px;
  margin-bottom: 20px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.hero .pill {
  margin-bottom: 14px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.hero__trust li {
  position: relative;
  padding-left: 18px;
}
.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--raspberry);
}

.hero__image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

@media (min-width: 641px) {
  .hero__inner {
    padding-top: 56px;
    padding-bottom: 64px;
    gap: 40px;
  }
  .hero__headline {
    font-size: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
    margin-bottom: 24px;
  }
  .hero .pill {
    margin-bottom: 20px;
  }
  .hero__subhead {
    margin-bottom: 32px;
  }
  .hero__ctas {
    margin-bottom: 28px;
  }
}

@media (min-width: 901px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding-top: 88px;
    padding-bottom: 96px;
    gap: 64px;
  }
  .hero__copy {
    max-width: 560px;
  }
  .hero__image {
    aspect-ratio: 4 / 5;
  }
}

/* ==========================================================================
   The Line (product grid)
   ========================================================================== */

.line {
  background: #fff;
  padding: 64px var(--gutter);
}

.line__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.line__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 56px;
}

.line__intro {
  max-width: none;
  text-align: left;
  font-size: 1rem;
  color: var(--ink);
}

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

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

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  isolation: isolate;
}

.product-card__eyebrow {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-card__eyebrow--raspberry { color: var(--raspberry); }
.product-card__eyebrow--tangerine { color: var(--tangerine-text); }
.product-card__eyebrow--golden { color: var(--golden-text); }

.product-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card__more {
  border-top: 1px solid rgba(26, 21, 18, 0.15);
}
.product-card__more:first-of-type {
  margin-top: 20px;
}
.product-card__more:last-of-type {
  border-bottom: 1px solid rgba(26, 21, 18, 0.15);
}

.product-card__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.product-card__more summary::-webkit-details-marker {
  display: none;
}
.product-card__more summary::marker {
  content: "";
}
.product-card__more summary::after {
  content: "+";
  color: var(--raspberry);
  font-weight: 600;
  font-size: 1rem;
}
.product-card__more[open] summary::after {
  content: "-";
}

.product-card__use,
.product-card__inci {
  margin: 0;
  padding: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.85;
}



.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.product-card__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.add-to-cart-confirm {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--ink);
  color: var(--bone);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.add-to-cart-confirm.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.line__bundle {
  text-align: center;
  margin-top: 64px;
}

@media (min-width: 901px) {
  .line {
    padding: 96px var(--gutter);
  }
  .line__header {
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
  }
  .line__intro {
    max-width: 320px;
    text-align: right;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.how {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding: 64px var(--gutter);
}

.how__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.how .section-heading {
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

.step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}
.step__badge--raspberry {
  background: linear-gradient(135deg, var(--raspberry) 0%, var(--raspberry-bright) 100%);
  color: #fff;
}
.step__badge--tangerine {
  background: linear-gradient(135deg, var(--tangerine) 0%, var(--tangerine-bright) 100%);
  color: var(--ink);
}
.step__badge--golden {
  background: linear-gradient(135deg, var(--golden) 0%, var(--golden-bright) 100%);
  color: var(--ink);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--bone);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step__desc {
  font-size: 0.95rem;
  color: var(--bone-muted);
}

@media (min-width: 901px) {
  .how {
    padding: 96px var(--gutter);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: left;
  }
  .step__badge {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter {
  position: relative;
  background: var(--tangerine);
  overflow: hidden;
  isolation: isolate;
  padding: 88px var(--gutter);
}

.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  color: var(--ink);
  margin-bottom: 12px;
}

.newsletter__subline {
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 32px;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.newsletter__input {
  flex: 1;
  max-width: none;
  min-height: 48px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
}
.newsletter__input::placeholder {
  color: rgba(26, 21, 18, 0.5);
}

.newsletter__message {
  margin-top: 16px;
  font-weight: 600;
  color: var(--ink);
}

.newsletter__fine {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink);
}
.newsletter__fine a {
  text-decoration: underline;
}

@media (min-width: 561px) {
  .newsletter__form {
    flex-direction: row;
  }
  .newsletter__input {
    max-width: 320px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 72px var(--gutter) 32px;
}

.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(241, 231, 218, 0.15);
}

.footer__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.footer__tagline {
  color: var(--bone-muted);
  max-width: 340px;
  font-size: 0.95rem;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.footer__col-title {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-muted);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  /* 44px tap target: block + padding, cancelled with a matching negative
     margin so the visible list spacing (the ul's own gap) doesn't change. */
  display: block;
  padding: 14px 0;
  margin: -14px 0;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

@media (hover: hover) {
  .footer__col a:hover {
    color: var(--bone);
    opacity: 1;
    text-decoration: underline;
  }
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--bone-muted);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

/* footer__legal's links are direct flex children (gap-spaced), so a
   canceling negative margin would fight the gap. Padding is left
   additive here instead, so the copyright row gets a little taller. */
.footer__legal a {
  display: inline-flex;
  align-items: center;
  padding: 12px 6px;
}

@media (hover: hover) {
  .footer__legal a:hover {
    color: var(--bone);
  }
}

@media (min-width: 561px) {
  .footer__bottom {
    justify-content: space-between;
  }
}

@media (min-width: 901px) {
  .footer__inner {
    grid-template-columns: 1.4fr 2fr;
    gap: 48px;
  }
  .footer__columns {
    gap: 32px;
  }
  .footer__col a {
    display: inline;
    padding: 0;
    margin: 0;
  }
  .footer__legal a {
    display: inline;
    padding: 0;
  }
}

/* ==========================================================================
   Typographic media tiles
   Every image slot (hero + product cards) is a typographic tile over the blob
   art. To use a real photo, add <img class="media__img"> as the first child
   and add .has-photo to the tile (see README, "Adding photos").
   ========================================================================== */

.media__type {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--bone);
}

.media__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media.has-photo .media__type {
  display: none;
}

.media__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.media__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.1;
}

.media__size {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: -8px;
}

.media__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.media__tags li {
  border: 1px solid rgba(241, 231, 218, 0.6);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.product-card__image .media__type {
  gap: 8px;
}
.product-card__image .media__num {
  margin-bottom: auto;
}

.media__type--hero {
  justify-content: flex-end;
  gap: 20px;
  color: var(--ink);
}
.media__type--hero .media__name {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
}
.media__list {
  width: 100%;
  font-weight: 600;
  font-size: 0.95rem;
}
.media__list li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
}
.media__list .media__num {
  min-width: 2ch;
}

.product-card__note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin: -8px 0 20px;
}

/* ==========================================================================
   Content pages (FAQ, legal, 404)
   ========================================================================== */

.page {
  background: var(--paper);
  padding: 48px var(--gutter) 64px;
}
.page--center {
  text-align: center;
}
.page__inner {
  max-width: 720px;
  margin: 0 auto;
}
.page__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page__lede {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.page__updated {
  font-size: 0.85rem;
  opacity: 0.7;
}
.prose {
  margin-top: 32px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 36px 0 10px;
}
.prose p {
  margin-bottom: 14px;
}
.prose a:not(.btn) {
  color: var(--raspberry);
  text-decoration: underline;
}
.prose__cta {
  margin-top: 32px;
}

.faq {
  border-bottom: 1px solid rgba(26, 21, 18, 0.15);
}
.faq__item summary {
  font-size: 1rem;
  min-height: 44px;
  gap: 16px;
}
.faq__answer {
  padding-bottom: 8px;
  font-size: 0.95rem;
}

@media (min-width: 641px) {
  .page {
    padding-top: 80px;
    padding-bottom: 96px;
  }
  .page--center {
    padding-top: 120px;
    padding-bottom: 140px;
  }
}

/* Hero "Shop the Line" button: fixed to the size it had with the price
   ("Shop the Line: $22 each"), with the label scaled up to fill it. */
.hero__ctas .btn--primary {
  width: 13.84rem;
  height: 3.52rem;
  padding: 0 8px;
  white-space: nowrap;
  font-size: 1.8rem;
  line-height: 1;
}

@media (min-width: 481px) {
  .hero__ctas .btn--primary {
    width: 14.84rem;
    font-size: 1.95rem;
  }
}
