/* ═══════════════════════════════════════════════════════════
   BERRY — Design System & Styles
   Warm earthy palette · Cormorant Garamond + Work Sans
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root, [data-theme="light"] {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    7rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Warm earthy palette — derived from handmade leather/textile craft */
  --color-bg:              #f8f5ef;   /* warm parchment */
  --color-surface:         #faf8f3;
  --color-surface-2:       #fdfcf9;
  --color-surface-offset:  #f2ede4;
  --color-surface-offset-2:#ede7dc;
  --color-divider:         #ddd5c8;
  --color-border:          #d0c8b8;

  --color-text:            #2a2218;   /* deep espresso */
  --color-text-muted:      #7a6f62;
  --color-text-faint:      #b8b0a4;
  --color-text-inverse:    #faf8f3;

  --color-primary:         #8b5e3c;   /* warm terracotta-amber */
  --color-primary-hover:   #6e4828;
  --color-primary-active:  #543517;
  --color-primary-light:   #f2e8de;

  --color-accent-sage:     #6b7c5a;   /* soft sage for secondary touches */

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(42, 34, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(42, 34, 24, 0.08);
  --shadow-lg: 0 12px 40px rgba(42, 34, 24, 0.12);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Work Sans', 'Helvetica Neue', sans-serif;
}

[data-theme="dark"] {
  --color-bg:              #1a1610;
  --color-surface:         #201d17;
  --color-surface-2:       #26221b;
  --color-surface-offset:  #1e1b15;
  --color-surface-offset-2:#242019;
  --color-divider:         #2e2a22;
  --color-border:          #3d3830;

  --color-text:            #e8e0d4;
  --color-text-muted:      #9e9485;
  --color-text-faint:      #5c5549;
  --color-text-inverse:    #1a1610;

  --color-primary:         #c9895e;
  --color-primary-hover:   #e0a070;
  --color-primary-active:  #f0b882;
  --color-primary-light:   #3a2a1e;

  --color-accent-sage:     #8fa47a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #1a1610;
    --color-surface:         #201d17;
    --color-surface-2:       #26221b;
    --color-surface-offset:  #1e1b15;
    --color-surface-offset-2:#242019;
    --color-divider:         #2e2a22;
    --color-border:          #3d3830;
    --color-text:            #e8e0d4;
    --color-text-muted:      #9e9485;
    --color-text-faint:      #5c5549;
    --color-text-inverse:    #1a1610;
    --color-primary:         #c9895e;
    --color-primary-hover:   #e0a070;
    --color-primary-active:  #f0b882;
    --color-primary-light:   #3a2a1e;
    --color-accent-sage:     #8fa47a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  }
}

/* ─── BASE RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  font-weight: 300;
}

/* ── Wave dividers ─────────────────────────────── */
.wave-divider {
  display: block;
  line-height: 0;
}
.wave-divider svg {
  width: 100%;
  height: clamp(24px, 3vw, 48px);
  display: block;
}
.wave-divider--down { margin-bottom: -2px; }
.wave-divider--up   { margin-top: -2px; }

/* ── Story strip pull quote ────────────────────────── */
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-bg);
  margin-bottom: var(--space-5);
}
.story-body {
  font-size: var(--text-sm);
  color: rgba(248,245,239,0.65);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Terracotta rule lines on section headers ────────── */
.section-header {
  position: relative;
  padding-bottom: var(--space-3);
}
.section-header::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.45;
  margin: var(--space-4) auto 0;
}

/* ── Paper grain overlay ──────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }

a, button, [role="button"], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              opacity var(--transition-interactive);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: color-mix(in srgb, var(--color-primary) 20%, transparent);
  color: var(--color-text);
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive);
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-color: var(--color-text);
}
.btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-small {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
}

/* ─── PHOTO PLACEHOLDERS ─────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface-offset);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.photo-placeholder--hero {
  min-height: 480px;
}
.placeholder-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ─── SITE HEADER ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-10);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}

.logo { color: var(--color-text); text-decoration: none; }

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.header-nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
}
.header-nav a:hover { color: var(--color-text); }
.header-nav .nav-cta {
  color: var(--color-text);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--color-text);
}
.header-nav .nav-cta:hover { color: var(--color-primary); border-color: var(--color-primary); }

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
}
.theme-toggle:hover { color: var(--color-text); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--space-16), 8vw, var(--space-32)) clamp(var(--space-10), 6vw, var(--space-20));
  gap: var(--space-6);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.hero-title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 42ch;
  line-height: 1.7;
}

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image .photo-placeholder--hero {
  height: 100%;
  min-height: 85vh;
}

/* ─── STORY STRIP ────────────────────────────────────────── */
.story-strip {
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-10);
  background: var(--color-text);
  color: var(--color-text-inverse);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}
.section-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── BAGS SECTION ───────────────────────────────────────── */
.bags-section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-10);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.bags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.bag-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive);
}
.bag-card:hover {
  box-shadow: var(--shadow-md);
}

.bag-number {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}

.bag-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-6);
  gap: var(--space-3);
}

.bag-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.bag-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
}

.bag-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-1);
}
.bag-specs li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
  max-width: none;
}
.bag-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border);
}
.bag-specs__dim {
  color: var(--color-text-faint) !important;
  font-style: italic;
}

.bag-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.bag-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how-section {
  background: var(--color-surface-offset);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-10);
  text-align: center;
}
.how-section .section-title {
  margin-bottom: var(--space-12);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  max-width: var(--content-default);
  margin: 0 auto;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
}

.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 28ch;
  margin: 0 auto;
}

/* ─── FORM SECTION ───────────────────────────────────────── */
.form-section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-10);
}

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.form-intro {
  margin-bottom: var(--space-12);
}
.form-intro .section-title {
  text-align: left;
  margin-bottom: var(--space-3);
}
.form-intro p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.required { color: var(--color-primary); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.form-group input::placeholder { color: var(--color-text-faint); }

/* Select wrapper */
.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  padding-right: var(--space-10);
  cursor: pointer;
}
.select-arrow {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
}

/* Bag option selector */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.bag-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.bag-option {
  cursor: pointer;
}
.bag-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bag-option-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive);
}
.bag-option:hover .bag-option-inner {
  border-color: var(--color-text-muted);
}
.bag-option input:checked + .bag-option-inner {
  border-color: var(--color-text);
  background: var(--color-primary-light);
}

.bag-option-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
}
.bag-option-price {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Add-on block */
.addon-block {
  margin-top: calc(var(--space-2) * -1);
}

.addon-option {
  cursor: pointer;
  display: block;
}
.addon-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.addon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive);
}
.addon-option:hover .addon-inner {
  border-color: var(--color-text-muted);
}
.addon-option input:checked + .addon-inner {
  border-color: var(--color-text);
  background: var(--color-primary-light);
}

.addon-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.addon-headline {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.addon-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
  flex-shrink: 0;
}

.addon-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
}

.addon-expand-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color var(--transition-interactive);
}
.addon-option:hover .addon-expand-hint {
  color: var(--color-text-muted);
}
.addon-option input:checked ~ * .addon-expand-hint,
.addon-option input:checked + .addon-inner .addon-expand-hint {
  display: none;
}

/* Expand photo */
.addon-photo {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.addon-photo.is-open {
  max-height: 480px;
}
.addon-photo .photo-placeholder {
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: unset;
  border-top: none;
}

/* Chain photo placeholder tint */
.photo-placeholder--chain {
  background: color-mix(in srgb, var(--color-primary-light) 60%, var(--color-surface-offset));
}

/* Chain carousel dot — slightly larger to signal it's special */
.carousel-dot--chain {
  width: 8px;
  height: 8px;
  background: color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.carousel-dot--chain.active {
  background: var(--color-primary);
}

/* Notice */
.form-notice {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  border-left: 2px solid var(--color-divider);
  padding-left: var(--space-4);
}

/* Form feedback */
.form-feedback {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}
.form-feedback.success {
  background: #e8f0e4;
  color: #2e5c10;
  border: 1px solid #c4d9bc;
}
.form-feedback.error {
  background: #f5e8e8;
  color: #7a1e1e;
  border: 1px solid #e0c4c4;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-text);
  color: var(--color-text-inverse);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-10);
}
.footer-inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
.footer-logo { color: var(--color-text-inverse); text-decoration: none; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  opacity: 0.7;
}
.footer-contact {
  font-size: var(--text-sm);
  opacity: 0.55;
}
.footer-contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-contact a:hover { opacity: 1; }
.footer-copy {
  font-size: var(--text-xs);
  opacity: 0.35;
  margin-top: var(--space-4);
}
.footer-designer {
  font-size: var(--text-xs);
  opacity: 0.35;
  margin-top: var(--space-1);
}
.footer-designer a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.footer-designer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ─── MOBILE BAG SHEET ──────────────────────────────────────── */
.bag-sheet-overlay,
.bag-sheet { display: none; }

@media (max-width: 640px) {
  .bag-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(42,34,24,0.45);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .bag-sheet-overlay.is-open {
    opacity: 1;
    pointer-events: all;
  }

  .bag-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-radius: 1.25rem 1.25rem 0 0;
    z-index: 201;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 82vh;
    overflow: hidden;
  }
  .bag-sheet.is-open {
    transform: translateY(0);
  }

  /* Drag handle */
  .bag-sheet-handle {
    width: 2.5rem;
    height: 4px;
    background: var(--color-divider);
    border-radius: 2px;
    margin: var(--space-3) auto var(--space-1);
    flex-shrink: 0;
  }

  .bag-sheet-close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-5);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: var(--space-1);
  }

  .bag-sheet-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-4) var(--space-6) var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .bag-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .bag-sheet-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-text);
    margin: 0;
  }
  .bag-sheet-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    display: block;
    margin-top: var(--space-1);
  }
  .bag-sheet-description {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
  }
  .bag-sheet-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    border-top: 1px solid var(--color-divider);
    padding-top: var(--space-4);
  }
  .bag-sheet-specs li {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding-left: var(--space-4);
    position: relative;
    line-height: 1.5;
  }
  .bag-sheet-specs li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.5;
  }
  .bag-sheet-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
  }
}

/* ─── CAROUSEL ──────────────────────────────────────────── */
.bag-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide .photo-placeholder,
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  border: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text);
  font-size: 0.875rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition-interactive),
              background var(--transition-interactive);
}
.bag-photo:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--color-bg); }
.carousel-arrow--prev { left: var(--space-3); }
.carousel-arrow--next { right: var(--space-3); }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-text) 30%, transparent);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive);
}
.carousel-dot.active {
  background: var(--color-text);
  transform: scale(1.3);
}

/* Touch swipe hint on mobile */
@media (hover: none) {
  .carousel-arrow { opacity: 0.7; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
/* ───────────────────────────────────────────────
   TABLET (900px)
─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-inner {
    padding: var(--space-16) var(--space-8);
  }
  .hero-image .photo-placeholder--hero {
    min-height: 60vw;
  }
  .bags-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bags-grid .bag-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-4));
    margin: 0 auto;
  }
  .steps-list {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ───────────────────────────────────────────────
   MOBILE (640px) — designed from scratch
─────────────────────────────────────────────── */
@media (max-width: 640px) {

  /* ── HEADER ──────────────────────────────── */
  .site-header {
    padding: var(--space-3) var(--space-5);
  }
  /* Hide collection link, keep Request a Bag CTA */
  .header-nav a:not(.nav-cta) { display: none; }

  /* ── HERO ───────────────────────────────── */
  /* Photo first, text below — image-led on mobile */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero-image {
    order: 1;
    width: 100%;
  }
  .hero-image .photo-placeholder--hero {
    min-height: 72vw;
    max-height: 75vw;
  }
  .hero-inner {
    order: 2;
    padding: var(--space-8) var(--space-6) var(--space-10);
    gap: var(--space-4);
  }
  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }
  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.06;
  }
  .hero-body {
    font-size: var(--text-sm);
    max-width: 100%;
    line-height: 1.65;
  }
  /* Full-width CTA — large tap target */
  .hero-inner .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
  }

  /* ── STORY STRIP ────────────────────────── */
  .story-strip {
    padding: var(--space-10) var(--space-6);
  }
  .story-quote {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .story-body {
    font-size: 0.8rem;
  }

  /* ── SECTION HEADERS ─────────────────────── */
  .section-header {
    margin-bottom: var(--space-8);
    padding: 0 var(--space-2);
  }
  .section-title {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
  }
  .section-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  /* ── BAG CARDS ──────────────────────────── */
  /*
   * Design philosophy: treat each bag like a mini product page.
   * Full-width photo (square-ish) fills the screen edge to edge.
   * Name, price, short description, and CTA sit cleanly below.
   * No horizontal splits — mobile is vertical, lean into it.
   * Specs hidden to reduce scroll; description trimmed to 3 lines.
   */
  .bags-section {
    padding: var(--space-12) 0;
    max-width: 100%;
  }
  .bags-section .section-header {
    padding: 0 var(--space-6);
  }
  .bags-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    /* No side padding — cards go edge to edge */
    padding: 0;
  }

  /* Reset any odd-child centering from tablet, then reapply mobile card margins */
  .bags-grid .bag-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: calc(100% - var(--space-10));
    margin: 0 var(--space-5);
  }

  .bag-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    margin: 0 var(--space-5);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(42,34,24,0.08);
  }

  /* Photo: contained within card, 4:3 aspect */
  .bag-photo {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  /* Always show arrows on touch screens */
  .carousel-arrow {
    opacity: 1;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9rem;
  }
  .carousel-dots {
    bottom: var(--space-4);
    gap: var(--space-3);
  }
  .carousel-dot {
    width: 7px;
    height: 7px;
  }

  /* Info block: tight and clean — name, price, CTA only */
  .bag-info {
    padding: var(--space-4) var(--space-5) var(--space-4);
    gap: var(--space-2);
  }
  .bag-number {
    display: none;
  }
  .bag-name {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.1;
  }
  /* Hide description and specs — shown in bottom sheet instead */
  .bag-description,
  .bag-specs {
    display: none;
  }

  /* Footer: price left, button right — scannable */
  .bag-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    margin-top: 0;
    border-top: 1px solid var(--color-divider);
  }
  .bag-price {
    font-size: 1.3rem;
  }
  .bag-footer .btn-small {
    /* Large tap target — min 44px height */
    padding: var(--space-3) var(--space-5);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
  }

  /* ── HOW IT WORKS ───────────────────────── */
  .how-section {
    padding: var(--space-12) var(--space-6) var(--space-20);
  }
  .how-section .section-title {
    margin-bottom: var(--space-10);
  }
  .steps-list {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    max-width: 420px;
  }
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
  }
  .step-num {
    width: 2.5rem;
    height: 2.5rem;
    font-size: var(--text-lg);
  }
  .step h3 {
    font-size: 1.05rem;
  }
  .step p {
    font-size: var(--text-sm);
    line-height: 1.65;
    max-width: 32ch;
    margin: 0 auto;
  }

  /* ── REQUEST FORM ───────────────────────── */
  .form-section {
    /* Explicit padding so nothing bleeds to screen edge */
    padding: var(--space-12) var(--space-6);
  }
  .form-wrap {
    gap: var(--space-10);
    max-width: 100%;
    margin: 0;
  }
  .form-intro .section-title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }
  .form-intro p {
    font-size: var(--text-sm);
    line-height: 1.7;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  /* Inputs: 16px prevents iOS zoom; constrained by parent padding */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
    padding: var(--space-3) var(--space-4);
    width: 100%;
    box-sizing: border-box;
  }
  .form-label {
    font-size: 0.72rem;
  }
  /* Bag selector: single column, constrained by parent */
  .bag-options {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .bag-option-inner {
    padding: var(--space-4) var(--space-5);
  }
  .bag-option-name {
    font-size: 1rem;
  }
  .form-notice {
    font-size: 0.72rem;
    line-height: 1.6;
  }
  /* Submit: full width within the padded container */
  .btn-submit {
    padding: var(--space-5) var(--space-6);
    font-size: var(--text-sm);
    width: 100%;
  }

  /* ── ADD-ON SECTION ─────────────────────── */
  .addon-section {
    padding: var(--space-6) var(--space-6);
    margin: 0 var(--space-6);
    border-radius: var(--radius-md);
  }
  .addon-label {
    font-size: var(--text-sm);
  }

  /* ── FOOTER ───────────────────────────── */
  .site-footer {
    padding: var(--space-12) var(--space-6);
  }
  .footer-inner {
    gap: var(--space-3);
  }
  .footer-tagline {
    font-size: var(--text-sm);
  }
  .footer-contact,
  .footer-copy,
  .footer-designer {
    font-size: 0.72rem;
  }
}
