/* ==========================================================================
   Carried Away — Main Stylesheet
   Consumes tokens.css. Organized: reset → base → layout → chrome →
   components → page scaffolding → utilities → responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* No italics on the site except the hero headline (.hero__title em).
   Elements that italicize by default stay upright. */
em,
i,
cite,
address,
dfn,
blockquote,
q {
  font-style: normal;
}

/* Main headings: Cormorant SC in sentence case — the face sets the
   lowercase letters as small capitals. */
h1, h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
  text-wrap: balance;
}

/* Smaller headings: Cormorant Garamond semibold, sentence case. */
h3 {
  font-family: var(--font-heading);
  font-size: var(--type-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  text-wrap: balance;
}

/* Minor headings: Jost, uppercase with light tracking. */
h4, h5, h6 {
  font-family: var(--font-ui);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-primary);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background-color: var(--color-persimmon);
  color: var(--color-purple);
}

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

.skip-link {
  font-family: var(--font-ui);
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--space-2xs) var(--space-sm);
  background-color: var(--color-purple);
  color: var(--color-ivory);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transform: translateY(-120%);
  transition: transform var(--duration-fast) var(--ease-out);
  z-index: calc(var(--z-menu) + 10);
}

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

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

/* Push content below the fixed header. The header is opaque on every page,
   including home, so no page opts out of the offset. */
.site-main {
  min-height: 60vh;
  padding-top: var(--header-height);
}

.section--alt {
  background-color: var(--bg-alt);
}

/* --------------------------------------------------------------------------
   4. Site chrome — header & nav
   Markup for these is injected by js/main.js from a single template.
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line);
  transition: background-color var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

/* ---------- Row 1: centered wordmark ---------- */

.header-logo-row {
  height: var(--logo-row-height);
  display: flex;
  align-items: center;
  transition: height var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled .header-logo-row {
  height: calc(var(--logo-row-height) - 2.25rem);
}

.header-logo-row__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* Wordmark — Cormorant, light, wide-tracked uppercase. */
.site-logo {
  display: block;
  width: clamp(190px, 30vw, 380px);
  transition: width var(--duration-base) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-logo:hover {
  opacity: 0.8;
}

.site-header.is-scrolled .site-logo {
  width: clamp(160px, 20vw, 260px);
}

/* Balances the mobile menu button so the wordmark stays optically centered. */
.header-logo-row__spacer {
  display: none;
  width: 2.75rem;
  flex-shrink: 0;
}

/* ---------- Row 2: primary nav ---------- */

.header-nav-row {
  height: var(--nav-row-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
  border-top: 1px solid var(--color-line);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}

.site-nav__link {
  font-family: var(--font-ui);
  position: relative;
  font-size: var(--type-nav);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  padding-block: var(--space-2xs);
  transition: color var(--duration-fast) var(--ease-out);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: var(--color-persimmon);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-base) var(--ease-out);
}

.site-nav__link:hover {
  color: var(--color-purple-deep);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__link[aria-current='page'] {
  color: var(--color-purple-deep);
}

.site-nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

/* ---------- Buttons ----------
   .btn is tracked uppercase text over a hairline rule. .btn--primary is the
   one filled treatment: a square oxblood block with ivory lettering, used
   sparingly so calls to action stay noticeable. Corners stay square. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.55em 0;
  font-family: var(--font-ui);
  font-size: var(--type-button);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-purple);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-purple);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.btn:hover {
  color: var(--color-oxblood);
  border-bottom-color: var(--color-oxblood);
}

/* Primary — filled oxblood call to action. */
.btn--primary {
  padding: 0.95em 1.8em;
  color: var(--color-ivory);
  background-color: var(--color-oxblood);
  border-bottom: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.btn--primary:hover {
  color: var(--color-ivory);
  background-color: var(--color-oxblood-deep);
}

/* Quiet — plum rule, oxblood on hover. */
.btn--quiet {
  color: var(--color-purple);
  border-bottom-color: var(--color-line-strong);
}

.btn--quiet:hover {
  color: var(--color-purple);
  border-bottom-color: var(--color-oxblood);
}

/* Disabled — pre-launch placeholder for a CTA/link with nowhere to go yet. */
.is-disabled {
  color: var(--color-purple-muted);
  border-bottom-color: var(--color-line);
  cursor: default;
  pointer-events: none;
}

/* Sits inline in the nav row, so it runs tighter than a standalone button.
   No horizontal padding: the surrounding .site-nav gap alone spaces it
   from "About", matching the rhythm between every other nav item instead
   of adding extra room on top of the gap. */
.site-nav__cta {
  flex-shrink: 0;
  padding: 0.7em 1.3em;
  font-size: var(--type-nav);
  letter-spacing: var(--tracking-caps);
}

.site-nav__cta::after {
  display: none;
}

/* ---------- Mobile menu toggle ---------- */

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: -0.6rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle__box {
  position: relative;
  width: 22px;
  height: 14px;
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-purple);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.nav-toggle__bar:nth-child(1) { top: 0; }
.nav-toggle__bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__bar:nth-child(3) { bottom: 0; }

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Site chrome — footer
   -------------------------------------------------------------------------- */

/* Deep plum ground with ivory type. */
.site-footer {
  --text-primary: var(--color-ivory);
  --text-secondary: #D9D0E2;
  --text-muted: #B4A8C2;
  --color-line: rgba(255, 252, 248, 0.18);
  background-color: var(--color-purple);
  color: var(--text-primary);
  padding-block: var(--space-2xl) var(--space-lg);
  margin-top: var(--section-y);
  border-top: none;
}

/* Home ends on the stone intro block — butt the footer against it so there
   is no stray white band between the two. */
body.is-home .site-footer {
  margin-top: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-line);
}

.site-footer__brand {
  width: min(190px, 100%);
  margin-bottom: var(--space-sm);
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 30ch;
  line-height: var(--leading-snug);
}

.site-footer__heading {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-persimmon);
  margin-bottom: var(--space-sm);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.site-footer__link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__link:hover {
  color: var(--color-persimmon);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}

.site-footer__mark {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.site-footer__mark::before,
.site-footer__mark::after {
  content: '';
  width: clamp(16px, 4vw, 38px);
  height: 1px;
  background-color: var(--color-line);
}

.site-footer__legal {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
}

/* --------------------------------------------------------------------------
   6. Components
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-purple-soft);
}

/* Micro-label — category tags, dates, prices. Tracked-out uppercase at the
   smallest size. No pill, no fill, no border: it reads as set type. */
.label {
  font-family: var(--font-ui);
  display: inline-block;
  font-size: var(--type-label);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-purple-muted);
}

.label--sage {
  color: var(--color-purple);
}

.label--ink {
  color: var(--color-purple);
}

/* Structural rules. The site's boxes are made of these, never of borders
   wrapped all the way around an element. */
.rule {
  width: 100%;
  height: 1px;
  background-color: var(--color-line);
  border: none;
}

.rule--ink {
  background-color: var(--color-line-strong);
}

/* --------------------------------------------------------------------------
   6b. Editorial layout patterns
   Magazine structure, not dashboard structure: asymmetric grids, hairline
   separators, and imagery sitting free on white with text stacked beneath.
   Nothing here is a card — no fill, no border box, no radius, no shadow.
   -------------------------------------------------------------------------- */

/* ---------- Section heading with a rule across the top ---------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line-strong);
  margin-bottom: var(--space-xl);
}

.section-head__title {
  font-size: var(--type-h2);
}

/* ---------- Asymmetric feature grid ----------
   A massive left-aligned feature spanning two columns, with secondary items
   stacked vertically to the right. Collapses to a single column on narrow
   viewports, feature first. */

.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.feature-grid__aside {
  display: flex;
  flex-direction: column;
}

/* Secondary items divide with hairlines rather than sitting in boxes. */
.feature-grid__aside > * + * {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-line);
}

/* ---------- Media ----------
   Images sit directly on the page ground. The stone tint is only a
   placeholder ground for when no image file is present yet. */

.media {
  display: block;
  width: 100%;
  background-color: var(--color-ivory-deep);
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--duration-base) var(--ease-out);
}

.media--portrait { aspect-ratio: 4 / 5; }
.media--square   { aspect-ratio: 1 / 1; }
.media--wide     { aspect-ratio: 3 / 2; }

a:hover > .media img {
  opacity: 0.88;
}

/* ---------- Item — a listing entry, deliberately not a card ---------- */

.item {
  display: block;
}

.item__body {
  padding-top: var(--space-sm);
}

.item__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xs);
}

.item__title {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--type-h3);
  line-height: var(--leading-snug);
  color: var(--text-primary);
  margin-bottom: var(--space-3xs);
}

.item--feature .item__title {
  font-size: var(--type-h2);
}

.item__note {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 48ch;
}

.item--feature .item__note {
  font-size: var(--text-base);
}

.item__cta {
  margin-top: var(--space-sm);
}

/* ---------- Listing grid — free-standing entries, no containers ---------- */

.listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

.listing--two {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- Editorial two-column text block ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-line-strong);
}

.split__lead {
  font-family: var(--font-heading);
  font-size: var(--type-h2);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-heading);
}

.split__body > * + * {
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   7. Page scaffolding — placeholder headers for pages still to be built
   -------------------------------------------------------------------------- */

.page-header {
  padding-block: clamp(3rem, 8vh, 5.5rem) clamp(2rem, 5vh, 3.5rem);
  border-bottom: 1px solid var(--color-line);
}

.page-header__eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.page-title {
  font-size: var(--type-h1);
  margin-bottom: var(--space-md);
}

.page-intro {
  font-family: var(--font-body);
  font-size: var(--type-subhead);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  max-width: 46ch;
  font-weight: var(--weight-regular);
}

/* Story-style header: the page's real heading reads bold, larger than the
   line beneath it. Scoped to .page-header--story so the standard
   .page-title on other pages (Bags, Edits, Journal) is untouched. */
.page-header--story .page-title {
  font-weight: var(--weight-semibold);
}

/* Running prose copy — story/about pages. Pairs with .container--narrow.
   Body text is --font-body (Montserrat) site-wide, same as everything
   that isn't a heading or the logo — see the type note in tokens.css. */
.body-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.body-text:last-child {
  margin-bottom: 0;
}

/* Temporary marker for unbuilt sections. Remove as pages get built out. */
.placeholder {
  font-family: var(--font-ui);
  padding-block: var(--space-2xl);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

/* --------------------------------------------------------------------------
   8. Home hero
   -------------------------------------------------------------------------- */

/* Copy on the left, the photograph filling the right half on desktop. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-height));
  background-color: var(--bg-page);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(3rem, 8vh, 6rem) var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
  opacity: 0;
  animation: riseIn 1.1s var(--ease-out) forwards 0.15s;
}

.hero__title {
  font-size: var(--type-h1);
  font-weight: var(--weight-medium);
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: var(--space-md);
}

/* The one italic on the site. */
.hero__title em {
  font-style: italic;
  font-weight: var(--weight-medium);
}

.hero__tagline {
  font-size: var(--type-subhead);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  max-width: 36ch;
  margin-bottom: var(--space-lg);
  font-weight: var(--weight-regular);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
}

.hero__link {
  font-family: var(--font-ui);
  font-size: var(--type-button);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-purple);
  padding-block: 0.55em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.hero__link:hover {
  border-bottom-color: var(--color-oxblood);
}

.hero__media {
  position: relative;
  min-height: 100%;
  background-color: var(--color-ivory-deep);
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Weighted toward the bottom of the photo so the bag, not the
     face, sits in frame. */
  object-position: center center;
}

/* ---------- How it works strip ----------
   Full-width persimmon band directly under the hero, plum type. */
.steps-band {
  background-color: var(--color-persimmon);
  color: var(--color-purple);
  padding-block: clamp(3rem, 8vh, 4.5rem);
}

.steps-band__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: band-step;
}

.steps-band__step {
  counter-increment: band-step;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-purple);
}

.steps-band__title {
  font-family: var(--font-heading);
  font-size: var(--type-h3);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-heading);
  text-transform: none;
  color: var(--color-purple);
  margin-bottom: var(--space-2xs);
}

.steps-band__title::before {
  content: counter(band-step) '.';
  margin-right: 0.35em;
}

.steps-band__text {
  font-size: var(--type-subhead);
  max-width: 32ch;
  font-weight: var(--weight-regular);
}

.steps-band__action {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

/* ---------- Email capture ---------- */

.capture {
  width: 100%;
  max-width: 460px;
}

.capture__label {
  font-family: var(--font-ui);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-weight: var(--weight-medium);
}

.capture__field {
  display: flex;
  align-items: stretch;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--color-line-strong);
  padding-bottom: var(--space-2xs);
  transition: border-color var(--duration-base) var(--ease-out);
}

.capture__field:focus-within {
  border-bottom-color: var(--color-purple);
}

.capture__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--text-primary);
  padding: var(--space-3xs) 2px;
}

.capture__input::placeholder {
  color: var(--text-muted);
}

.capture__submit {
  font-family: var(--font-ui);
  font-size: var(--type-button);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-purple);
  white-space: nowrap;
  padding: var(--space-3xs) 2px;
  transition: color var(--duration-fast) var(--ease-out),
              letter-spacing var(--duration-base) var(--ease-out);
}

.capture__submit::after {
  content: '\2192';
  margin-left: 0.4em;
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-out);
}

.capture__submit:hover {
  color: var(--color-oxblood);
}

.capture__submit:hover::after {
  transform: translateX(4px);
}

.capture__note {
  font-family: var(--font-ui);
  margin-top: var(--space-sm);
  min-height: 1.3em;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.capture__note.is-success {
  color: var(--color-purple);
}

.capture__note.is-error {
  color: var(--color-purple);
}

/* ---------- Intro strip below hero ---------- */

/* A deep plum statement band with ivory type. */
.intro {
  --text-primary: var(--color-ivory);
  --text-secondary: var(--color-ivory-soft);
  --color-line-strong: var(--color-ivory);
  position: relative;
  background-color: var(--color-purple);
  color: var(--text-primary);
  padding-block: clamp(4.5rem, 12vh, 7rem);
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro__line {
  width: 1px;
  height: clamp(32px, 5vh, 48px);
  background-color: var(--color-line-strong);
  margin-bottom: clamp(1.6rem, 3.5vh, 2.4rem);
}

.intro__title {
  font-size: var(--type-h2);
  font-weight: var(--weight-medium);
  max-width: 22ch;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.intro__text {
  font-family: var(--font-body);
  font-size: var(--type-subhead);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  max-width: 48ch;
  font-weight: var(--weight-regular);
}

/* --------------------------------------------------------------------------
   9. Animations
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   10. Utilities
   -------------------------------------------------------------------------- */

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

.text-center { text-align: center; }
.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .site-nav {
    gap: clamp(0.75rem, 1.6vw, 1.4rem);
  }

  .site-nav__link {
    letter-spacing: var(--tracking-wide);
  }
}

@media (max-width: 940px) {
  /* Below this width the eight nav items no longer fit on one centered row,
     so the nav row is dropped and the menu moves into a drawer. */
  :root {
    --nav-row-height: 0rem;
    --header-height: var(--logo-row-height);
  }

  .header-nav-row {
    border-top: none;
    padding: 0;
  }

  .nav-toggle,
  .header-logo-row__spacer {
    display: flex;
  }

  .header-logo-row__inner {
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--header-height) var(--gutter) var(--space-2xl);
    background-color: var(--color-ivory);
    z-index: var(--z-menu);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1.25rem);
    transition: opacity var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out),
                visibility 0s linear var(--duration-base);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav__link {
    font-family: var(--font-ui);
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--color-purple);
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link[aria-current='page'] {
    color: var(--color-purple);
  }

  .site-nav__cta {
    margin-top: var(--space-sm);
    padding: 0.7em 1.6em;
    font-size: var(--text-sm);
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .site-footer__brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  /* Feature collapses to one column, the feature block leading. */
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

  /* Once stacked, the aside needs its own rule above it. */
  .feature-grid__aside {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 560px) {
  .listing,
  .listing--two {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2xs);
  }

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

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .capture__field {
    flex-wrap: wrap;
  }

  .capture__submit {
    margin-left: auto;
  }
}

/* --------------------------------------------------------------------------
   12. Motion & print preferences
   -------------------------------------------------------------------------- */

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

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

  .hero__content {
    opacity: 1;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* --------------------------------------------------------------------------
   13. Built-out pages — shared patterns
   Added 2026-10-22 for Bags, Edits, Style, Journal, How It Works and
   Borrow. Same laws as above: hairlines, square corners, no fills behind
   cards, no shadows, no italics.
   -------------------------------------------------------------------------- */

/* ---------- Photo slots ----------
   Every <img> in a .media frame carries onerror="…classList.add('is-empty')…",
   so a photo that hasn't been added yet leaves a quiet stone frame with a
   label instead of a broken-image icon. Drop the file in with the right
   name and it appears. */
.media {
  position: relative;
}

.media.is-empty::after {
  content: 'Photo coming';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
}

.media--tall { aspect-ratio: 3 / 4; }

/* ---------- Price line beneath a bag ---------- */
.item__price {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-top: var(--space-2xs);
}

.item__price .label {
  margin-right: var(--space-2xs);
}

.item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* ---------- Section lead paragraph ---------- */
.lead {
  font-family: var(--font-body);
  font-size: var(--type-subhead);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: var(--space-xl);
  font-weight: var(--weight-regular);
}

/* ---------- Pricing tiers: three columns divided by hairlines ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-line-strong);
}

.tier {
  padding: var(--space-lg) var(--space-lg) var(--space-lg) 0;
}

.tier + .tier {
  padding-left: var(--space-lg);
  border-left: 1px solid var(--color-line);
}

.tier__name {
  display: block;
  margin-bottom: var(--space-sm);
}

.tier__price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-medium);
  line-height: 1;
  color: var(--color-purple-deep);
}

.tier__term {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-2xs);
  margin-bottom: var(--space-sm);
}

/* The longer rental, set beneath the headline price. */
.tier__alt {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.tiers--two {
  grid-template-columns: repeat(2, 1fr);
}

.tier__bags {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.tier__bags li + li {
  margin-top: var(--space-3xs);
}

.fine-print {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-lg);
  max-width: 70ch;
}

/* ---------- Numbered steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.step {
  counter-increment: step;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line-strong);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  color: var(--color-purple);
  margin-bottom: var(--space-sm);
}

.step__title {
  font-size: var(--type-h3);
  margin-bottom: var(--space-2xs);
}

.step__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* ---------- Simple definition rows (what's included, etc.) ---------- */
.rows > * {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--color-line);
}

.rows > *:first-child {
  border-top: 1px solid var(--color-line-strong);
}

.rows dt {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.rows dd {
  color: var(--text-secondary);
}

/* ---------- FAQ — native <details>, hairline separated ---------- */
.faq {
  border-top: 1px solid var(--color-line-strong);
}

.faq details {
  border-bottom: 1px solid var(--color-line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding-block: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--font-ui);
  color: var(--color-purple);
  transition: transform var(--duration-base) var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--text-secondary);
  padding-bottom: var(--space-md);
  max-width: 65ch;
}

/* ---------- Persimmon call-to-action band ----------
   Persimmon is too light for the soft plum tints, so all type on it is
   full plum. */
.band {
  --text-secondary: var(--color-purple);
  --text-muted: var(--color-purple-deep);
  background-color: var(--color-persimmon);
  padding-block: clamp(3.5rem, 10vh, 6rem);
  text-align: center;
}

.band__title {
  font-size: var(--type-h2);
  margin-bottom: var(--space-sm);
}

.band__text {
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto var(--space-md);
  font-size: var(--type-subhead);
  font-weight: var(--weight-regular);
}

/* ---------- Edit block: image beside its story and bag list ---------- */
.edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-line-strong);
}

.edit + .edit {
  margin-top: var(--section-y);
}

.edit--flip .edit__media {
  order: 2;
}

.edit__title {
  font-size: var(--type-h2);
  margin: var(--space-2xs) 0 var(--space-sm);
}

.edit__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--type-subhead);
  font-weight: var(--weight-regular);
}

.edit__list {
  border-top: 1px solid var(--color-line);
  margin-bottom: var(--space-md);
}

.edit__list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-xs);
  border-bottom: 1px solid var(--color-line);
  font-size: var(--text-sm);
}

.edit__list a:hover {
  color: var(--color-oxblood);
}

/* ---------- Article (journal post, style guide) ---------- */
.article > h2 {
  font-size: var(--type-h2);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line);
}

.article > h3 {
  font-size: var(--type-h3);
  margin: var(--space-lg) 0 var(--space-2xs);
}

.article > p,
.article > ul {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.article > ul li {
  padding-left: 1.2em;
  position: relative;
}

.article > ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.5em;
  height: 1px;
  background-color: var(--color-purple);
}

.article > ul li + li {
  margin-top: var(--space-2xs);
}

.article strong {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.article a {
  color: var(--color-purple);
  border-bottom: 1px solid var(--color-persimmon);
}

.article a:hover {
  color: var(--color-oxblood);
}

.article .media {
  margin: var(--space-lg) 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

/* Journal index entry that isn't published yet. */
.item.is-upcoming {
  pointer-events: none;
}

.item.is-upcoming .item__title {
  color: var(--text-muted);
}

/* ---------- Booking form ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-xl);
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xs);
}

.field__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line-strong);
  border-radius: 0;
  padding: var(--space-2xs) 2px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

select.field__input {
  background-image: linear-gradient(45deg, transparent 50%, var(--color-purple) 50%),
                    linear-gradient(135deg, var(--color-purple) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.5rem;
}

textarea.field__input {
  min-height: 6rem;
  resize: vertical;
}

.field__input:focus {
  border-bottom-color: var(--color-purple);
}

.was-validated .field__input:invalid {
  border-bottom-color: var(--color-purple);
  border-bottom-width: 2px;
}

.field__hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2xs);
  min-height: 1.2em;
}

.check {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.check input {
  margin-top: 0.3em;
  accent-color: var(--color-purple);
}

.form__submit {
  font-size: var(--text-sm);
}

.form__note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  min-height: 1.4em;
}

.form__note.is-success,
.form__note.is-error {
  color: var(--color-purple-deep);
}

/* ---------- Responsive for section 13 ---------- */
@media (max-width: 1100px) {
  .site-footer__top {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .tiers,
  .edit,
  .form {
    grid-template-columns: 1fr;
  }

  .tier,
  .tier + .tier {
    padding: var(--space-lg) 0;
    border-left: none;
  }

  .tier + .tier {
    border-top: 1px solid var(--color-line);
  }

  .edit--flip .edit__media {
    order: 0;
  }

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

@media (max-width: 560px) {
  .steps,
  .rows > * {
    grid-template-columns: 1fr;
  }

  .rows > * {
    gap: var(--space-3xs);
  }

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

.rows--spaced {
  margin-top: var(--space-xl);
}

/* Keep the top of a tall photo (a bag's handle or flower) in a shorter crop. */
.media--top img {
  object-position: center 20%;
}

.listing--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 860px) {
  .listing--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .listing--four {
    grid-template-columns: 1fr;
  }
}

/* A link inside running text: sage hairline, sentence case. */
.text-link {
  color: var(--color-purple);
  border-bottom: 1px solid currentColor;
  transition: color var(--duration-fast) var(--ease-out);
}

.text-link:hover {
  color: var(--color-oxblood);
}

/* Pages that close on a stone band butt the footer against it. */
main:has(> .band:last-child) + .site-footer {
  margin-top: 0;
}

/* Retail value and scarcity, set small and muted under a bag's notes. */
.item__value {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--text-muted);
  margin-top: var(--space-2xs);
}

.item__term {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ---------- Journal additions ---------- */
/* Numbered lists inside articles, matching the hairline bullet style. */
.article > ol {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  counter-reset: step;
}

.article > ol li {
  counter-increment: step;
  padding-left: 1.6em;
  position: relative;
}

.article > ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  color: var(--color-purple);
  font-weight: var(--weight-medium);
}

.article > ol li + li {
  margin-top: var(--space-2xs);
}

/* Side-by-side photo pairs cropped to the right-hand frame. */
.media--right img {
  object-position: right center;
}

/* --------------------------------------------------------------------------
   14. Home — bag carousel and responsive hero
   Added 2026-11-04 with the Sunset Runway redesign.
   -------------------------------------------------------------------------- */

/* A full-bleed row of bags gliding right to left. Without JS (or with
   reduced motion) it is a plain row the visitor scrolls by hand; main.js
   clones the items and adds .is-moving to start the loop. */
.carousel {
  padding-bottom: var(--section-y);
}

.carousel__viewport {
  overflow-x: auto;
  scrollbar-width: none;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  display: flex;
  width: max-content;
  padding-left: var(--gutter);
}

/* Spacing is a right margin rather than a flex gap, so both halves of the
   looping track are exactly the same width. */
.carousel__item {
  width: clamp(200px, 22vw, 290px);
  flex-shrink: 0;
  margin-right: clamp(1rem, 2vw, 1.75rem);
}

.carousel__name {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

.carousel__price {
  display: block;
  margin-top: var(--space-3xs);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.carousel__item a:hover .carousel__name {
  color: var(--color-oxblood);
}

.carousel__viewport.is-moving {
  overflow: hidden;
}

/* The track holds two identical sets, so moving it by half loops cleanly. */
.carousel__viewport.is-moving .carousel__track {
  padding-left: 0;
  animation: carouselGlide 48s linear infinite;
}

.carousel__viewport.is-moving:hover .carousel__track,
.carousel__viewport.is-moving:focus-within .carousel__track {
  animation-play-state: paused;
}

@keyframes carouselGlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* Photo first on narrow screens, the copy beneath it. */
  .hero__media {
    order: -1;
    aspect-ratio: 4 / 5;
    max-height: 70svh;
    width: 100%;
  }

  .hero__content {
    padding-top: var(--space-xl);
  }

  .steps-band__list {
    grid-template-columns: 1fr;
  }
}

/* Email signup inside the closing band. */
.band__capture {
  margin-inline: auto;
  text-align: left;
}

.carousel__head {
  margin-top: var(--section-y);
}

/* --------------------------------------------------------------------------
   15. The Bags — collection page
   Built 2026-11-05. Bag copy comes from js/bags-data.js; js/main.js
   renders the feature and the grid into the empty mounts.
   -------------------------------------------------------------------------- */

/* Unfinished copy: anything still marked [TODO …] is flagged on the page. */
.todo {
  color: var(--color-oxblood);
  background-color: var(--color-ivory-deep);
  outline: 1px dashed var(--color-oxblood);
  outline-offset: 2px;
}

/* Header without its own rule; the pricing key below supplies the lines. */
.page-header--flush {
  border-bottom: none;
  padding-bottom: var(--space-lg);
}

/* ---------- Pricing key ---------- */
.price-key {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-xl);
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.price-key__tier {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3xs) var(--space-md);
}

.price-key__name {
  font-family: var(--font-ui);
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-purple);
}

/* The one persimmon touch: a small square marker, never text. */
.price-key__name::before {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.6em;
  background-color: var(--color-persimmon);
}

.price-key__prices {
  color: var(--text-primary);
}

.price-key__note {
  margin-top: var(--space-sm);
}

/* ---------- Feature: one bag, image ~60% / text ~40% ---------- */
.bag-feature {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

/* The image column stretches to the text column's height, so neither
   side leaves empty space beneath it. */
.bag-feature__media {
  position: relative;
  min-height: 30rem;
}

.bag-feature__media img {
  position: absolute;
  inset: 0;
}

.bag-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: var(--space-md);
}

.bag-feature__name {
  font-size: var(--type-h2);
  margin: var(--space-2xs) 0 var(--space-sm);
}

.bag-feature__story {
  font-size: var(--type-subhead);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-xl);
}

.filter {
  font-family: var(--font-ui);
  font-size: var(--type-nav);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-purple);
  padding: 0.6em 1.25em;
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.filter:hover {
  border-color: var(--color-oxblood);
  color: var(--color-oxblood);
}

.filter[aria-pressed='true'] {
  background-color: var(--color-purple);
  border-color: var(--color-purple);
  color: var(--color-ivory);
}

.collection__empty {
  color: var(--text-secondary);
}

/* ---------- Bag grid and cards ---------- */
.bag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

/* Cards in a row share a height; the CTA is pinned to the bottom. */
.bag-card {
  display: flex;
  flex-direction: column;
}

.bag-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--space-sm);
}

.bag-card__name {
  margin: var(--space-2xs) 0 var(--space-2xs);
}

.bag-card__hook {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.bag-card__details {
  width: 100%;
  font-size: var(--text-sm);
}

.bag-card__details > div {
  padding-block: var(--space-2xs);
  border-top: 1px solid var(--color-line);
}

.bag-card__details dt {
  font-size: var(--type-label);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-primary);
}

.bag-card__details dd {
  color: var(--text-secondary);
}

.bag-card__facts {
  width: 100%;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-top: var(--space-2xs);
  border-top: 1px solid var(--color-line);
}

.bag-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3xs) var(--space-sm);
  margin: var(--space-sm) 0 var(--space-md);
  font-size: var(--text-sm);
}

.bag-card__tier {
  font-size: var(--type-label);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.bag-card__cta {
  margin-top: auto;
}

/* The feature uses the same detail blocks without the pinned CTA. */
.bag-feature .bag-card__cta {
  margin-top: 0;
}

/* ---------- Helper and compact steps ---------- */
.helper-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  font-family: var(--font-ui);
  font-weight: var(--weight-medium);
}

.steps--three {
  --steps: 3;
}

@media (max-width: 960px) {
  .bag-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .price-key {
    grid-template-columns: 1fr;
  }

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

  .bag-feature__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .steps--three {
    --steps: 1;
  }
}

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

/* --------------------------------------------------------------------------
   16. Cleaner blocks (2026-11-10)
   Fewer hairlines, more colour blocking.
   -------------------------------------------------------------------------- */

/* A section without its rules: no line over the heading, the tiers, the
   steps or the split. */
.section--clean .section-head,
.section--clean .tiers,
.section--clean .split,
.section--clean .step {
  border-top: none;
  padding-top: 0;
}

.section--clean .tiers {
  gap: var(--space-xl);
}

.section--clean .tier,
.section--clean .tier + .tier {
  padding: 0;
  border-left: none;
}

.tier__hold {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin: calc(var(--space-sm) * -1) 0 var(--space-md);
}

.bag-card__hold {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-3xs);
}

/* Home: the carousel sits straight under the hero. */
.carousel--under-hero {
  padding-block: clamp(1.5rem, 4vh, 2.5rem);
}

/* ---------- How It Works: plum pricing block with tier cards ---------- */
.pricing-block {
  --text-primary: var(--color-ivory);
  --text-secondary: var(--color-ivory-soft);
  background-color: var(--color-purple);
  color: var(--text-primary);
  padding-block: var(--section-y);
}

.pricing-block__head {
  margin-bottom: var(--space-xl);
}

.pricing-block__title {
  font-size: var(--type-h2);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.pricing-block__lead {
  font-size: var(--type-subhead);
  color: var(--text-secondary);
  max-width: 46ch;
}

.tier-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}

/* Plum type on both cards; persimmon and ivory carry it equally well. */
.tier-card {
  --text-primary: var(--color-purple);
  --text-secondary: var(--color-purple);
  --text-muted: var(--color-purple);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-purple);
}

.tier-card--persimmon { background-color: var(--color-persimmon); }
.tier-card--ivory     { background-color: var(--color-ivory); }

.tier-card .label {
  color: var(--color-purple);
}

.tier-card .tier__bags a:hover {
  color: var(--color-oxblood);
}

.tier-card--persimmon .tier__bags a:hover {
  color: var(--color-ivory);
}

/* ---------- How It Works: the details as tinted tiles ---------- */
.detail-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.detail-tiles > div {
  background-color: var(--color-ivory-deep);
  padding: var(--space-lg);
}

.detail-tiles dt {
  font-family: var(--font-heading);
  font-size: var(--type-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2xs);
}

.detail-tiles dd {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

/* ---------- About: photo beside the story ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about__photo {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.about__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about__text {
  max-width: 62ch;
}

@media (max-width: 960px) {
  .detail-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .tier-cards,
  .detail-tiles,
  .about { grid-template-columns: 1fr; }

  .about__photo {
    position: static;
    max-width: 26rem;
  }
}

/* A section that follows a flush page header closely. */
.section--tight-top {
  padding-top: var(--space-sm);
}

/* Tier explainer: retail band, then a line on what the tier feels like. */
.tier__value {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}

.tier__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 40ch;
  margin-bottom: var(--space-md);
}

/* ---------- The Bags: one group per tier ---------- */
.tier-group + .tier-group {
  padding-top: 0;
}

.tier-group__head {
  max-width: 46rem;
  margin-bottom: var(--space-xl);
}

.tier-group__title {
  font-size: var(--type-h2);
  margin-bottom: var(--space-sm);
}

.tier-group__price {
  font-size: var(--type-subhead);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   17. How It Works refresh (2026-11-10)
   -------------------------------------------------------------------------- */

/* Steps band with larger ivory type. */
.steps-band--ivory {
  color: var(--color-ivory);
}

.steps-band--ivory .steps-band__step {
  border-top-color: var(--color-ivory);
}

.steps-band--ivory .steps-band__title {
  color: var(--color-ivory);
  font-size: clamp(1.875rem, 1.6rem + 1vw, 2.5rem);
}

.steps-band--ivory .steps-band__text {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

/* Pricing: less plum, bigger ivory cards, persimmon as a top accent. */
.pricing-block {
  padding-block: clamp(2.5rem, 6vh, 4rem);
}

.pricing-block__head {
  margin-bottom: var(--space-lg);
}

.tier-cards {
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.tier-card {
  background-color: var(--color-ivory);
  border-top: 6px solid var(--color-persimmon);
  padding: clamp(2rem, 4.5vw, 3.5rem);
}

.tier-card .tier__name {
  font-size: var(--type-eyebrow);
}

.tier-card .tier__price {
  font-size: clamp(3.5rem, 2.8rem + 2.5vw, 5rem);
}

.tier-card .tier__alt {
  font-size: var(--type-subhead);
  margin-bottom: var(--space-sm);
}

.tier-card .tier__hold {
  font-size: var(--text-base);
  margin: 0 0 var(--space-md);
}

.tier-card .tier__value {
  font-size: var(--text-base);
}

.tier-card .tier__desc {
  font-size: var(--type-subhead);
  line-height: var(--leading-snug);
  max-width: 34ch;
  margin-bottom: 0;
}

.pricing-block__action {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

/* Ivory button for plum grounds, where oxblood would disappear. */
.btn--ivory {
  padding: 0.95em 1.8em;
  color: var(--color-purple);
  background-color: var(--color-ivory);
  border-bottom: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.btn--ivory:hover {
  color: var(--color-purple);
  background-color: var(--color-persimmon);
}

/* Gift band: pale persimmon with a photo. */
.gift-band {
  background-color: var(--color-persimmon-pale);
  padding-block: var(--section-y);
}

.gift-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.gift-band__title {
  font-size: var(--type-h2);
  margin-bottom: var(--space-md);
  max-width: 18ch;
}

.gift-band__text {
  font-size: var(--type-subhead);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  max-width: 44ch;
  margin-bottom: var(--space-sm);
}

.gift-band__note {
  font-family: var(--font-ui);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

@media (max-width: 760px) {
  .gift-band__inner { grid-template-columns: 1fr; }
  .gift-band__media { max-width: 24rem; }
}

/* --------------------------------------------------------------------------
   18. Booqable (2026-11-10)
   The cart sits at the right of the logo row; each bag card carries its
   Booqable date picker and Add to cart button. Booqable's own design
   settings should match too (Jost, oxblood buttons, ivory text).
   -------------------------------------------------------------------------- */

.header-logo-row__inner {
  position: relative;
}

.header-cart {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 940px) {
  .header-cart {
    position: static;
    transform: none;
    min-width: 2.75rem;
  }
}

/* Brand the widgets: Jost type, oxblood buttons with ivory text. Booqable
   exposes stable bq-* class names; the rest of its classes are generated. */
.booqable-product-button,
.booqable-product-button *,
.booqable-cart-button,
.booqable-cart-button * {
  font-family: var(--font-ui) !important;
}

.booqable-product-button .bq-button,
.booqable-cart-button .bq-cart-button {
  background: var(--color-oxblood) !important;
  color: #FFFCF8 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.booqable-product-button .bq-button {
  min-height: 2.9rem;
  padding-inline: 1.5em !important;
  font-size: var(--type-button) !important;
  font-weight: var(--weight-medium) !important;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.booqable-product-button .bq-button *,
.booqable-cart-button .bq-cart-button * {
  color: #FFFCF8 !important;
  fill: currentColor !important;
}

.booqable-product-button .bq-button:hover,
.booqable-cart-button .bq-cart-button:hover {
  background: var(--color-oxblood-deep) !important;
}

/* Each bag is one of a kind, so the quantity box is hidden. */
.booqable-product-button .bq-quantity,
.booqable-product-button .InputField-ivdXyf {
  display: none !important;
}

/* The price is already on the card; keep Booqable's line quiet. */
.booqable-product-button .bq-price-details {
  color: var(--text-secondary) !important;
}

.booqable-product-button a,
.booqable-product-button .bq-link {
  color: var(--color-purple) !important;
}

.bag-card__booking {
  width: 100%;
}

/* --------------------------------------------------------------------------
   19. Mobile menu fix (2026-11-20)
   The header's backdrop blur made it the containing box for the fixed menu
   drawer, so the drawer was squeezed into the header's height and the top
   and bottom links (Home, The Bags, How It Works, Rent a bag) were cut off.
   On phones the blur is dropped so the drawer fills the screen, and the
   logo row (menu button, wordmark, cart) stays above the open drawer.
   -------------------------------------------------------------------------- */
@media (max-width: 940px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-logo-row {
    position: relative;
    z-index: calc(var(--z-menu) + 1);
  }
}
