/* ============================================================
   Mrs. Porgy — Hi-fi design system
   ============================================================ */

:root {
  --cream: #FDFAF4;
  --paper: #F7F1E6;
  --blush: #F4DDD0;
  --blush-deep: #E8C4B0;
  --sage: #D8E0C8;
  --butter: #F3E5C0;
  --dusty: #E0CFC0;

  --ink: #1A1310;
  --ink-2: #4A3F38;
  --muted: #8C7E6E;
  --line: #E5D9C5;
  --line-soft: #EFE6D4;

  --pink: #C8136B;
  --pink-2: #A50F58;
  --pink-soft: #E83E8C;
  --gold: #B8861A;
  --gold-2: #9C6F12;

  --r-sm: 4px;
  --r: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --maxw: 1320px;

  --serif: 'Cormorant Garamond', 'Cormorant', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --script: 'Caveat', cursive;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--pink); color: var(--cream); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 500;
}
.eyebrow--ink { color: var(--ink-2); }
.eyebrow--pink { color: var(--pink); }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.script { font-family: var(--script); font-weight: 600; }
.mono { font-family: var(--mono); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.05; letter-spacing: -.015em; }
h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: clamp(24px, 2.5vw, 34px); }
h4 { font-size: 20px; }

p { margin: 0; }

.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 980px; }

.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.wrap { flex-wrap: wrap; }

.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-5 { gap: 20px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; } .gap-10 { gap: 40px; }
.gap-12 { gap: 48px; } .gap-16 { gap: 64px; }

.ml-auto { margin-left: auto; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--cream); }

.btn--primary { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.btn--primary:hover { background: var(--pink-2); border-color: var(--pink-2); color: var(--cream); }

.btn--gold { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--cream); }

.btn--ghost { border: 1.5px solid var(--line); background: var(--cream); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--lg { padding: 18px 32px; font-size: 15px; }

.link {
  font-family: var(--sans); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link--pink { color: var(--pink); }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header__top {
  background: var(--ink); color: var(--cream);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  text-align: center; padding: 8px 16px;
}
.site-header__top span { opacity: .85; }
.site-header__top .sep { margin: 0 16px; opacity: .4; }

.site-header__main {
  padding: 22px 32px;
  max-width: 1480px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px; letter-spacing: .04em;
  color: var(--ink-2);
  position: relative; padding: 6px 0;
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 18px; height: 6px;
  transform: translateX(-50%);
  border-bottom: 1.5px solid var(--pink);
  border-radius: 50%;
}

.brand {
  display: flex; justify-content: center;
  padding: 4px 0;
  overflow: visible;
}
.brand img {
  height: 72px;
  width: auto;
  transform: scale(var(--logo-scale, 1.45));
  transform-origin: center center;
  transition: transform .2s ease;
}

.site-header__icons {
  display: flex; gap: 16px; justify-content: flex-end; align-items: center;
}
.icon-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream);
  font-size: 14px;
  transition: all .15s ease;
}
.icon-btn:hover { border-color: var(--ink); }
.bag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bag .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 96px 0 32px;
  margin-top: 64px;
}
.site-footer .container { padding: 0 32px; }
.site-footer h3 { color: var(--cream); }
.site-footer .grid-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer .ft-col { display: flex; flex-direction: column; gap: 12px; }
.site-footer h4 {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 6px;
}
.site-footer a {
  font-size: 14px; color: rgba(253,250,244,.75);
  transition: color .15s ease;
}
.site-footer a:hover { color: var(--cream); }
.site-footer .ft-signup input {
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.3);
  padding: 8px 0; color: var(--cream); font-family: var(--sans); font-size: 14px;
  outline: none; width: 100%;
}
.site-footer .ft-signup input::placeholder { color: rgba(253,250,244,.4); }
.site-footer .ft-signup-row {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px;
}
.site-footer .ft-signup-row input { border: none; padding: 8px 0; }
.site-footer .ft-signup-row button {
  background: transparent; border: none; color: var(--cream); font-size: 18px; padding: 0; cursor: pointer;
}
.site-footer .ft-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(253,250,244,.5);
}
.site-footer .ft-bottom-links { display: flex; gap: 24px; }

/* ---------- Photo placeholders ---------- */
.photo {
  position: relative; overflow: hidden;
  background: var(--blush);
  border-radius: var(--r-md);
}
.photo::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 70%, rgba(0,0,0,.08) 0%, transparent 70%);
  pointer-events: none;
}
.photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 25%),
    radial-gradient(circle at 70% 65%, rgba(0,0,0,.06), transparent 30%);
  mix-blend-mode: overlay; pointer-events: none;
}
.photo > .ph-cap {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--mono); font-size: 9px;
  background: rgba(26,19,16,.7); color: var(--cream);
  padding: 3px 7px; border-radius: 2px;
  letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
}
.photo > .ph-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 10px;
  background: var(--cream); color: var(--ink);
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .14em; text-transform: uppercase;
  z-index: 2;
}
.photo > .ph-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  border: none; z-index: 2;
  transition: all .15s ease;
}
.photo > .ph-fav:hover { background: var(--pink); color: var(--cream); }

/* photo subject (visual hint of a product/subject inside) */
.photo .subject {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

/* tonal variants */
.photo--blush { background: linear-gradient(135deg, #F4DDD0 0%, #E8C4B0 100%); }
.photo--peach { background: linear-gradient(135deg, #F8D4B8 0%, #E8B095 100%); }
.photo--sage { background: linear-gradient(135deg, #D8E0C8 0%, #B8C8A5 100%); }
.photo--butter { background: linear-gradient(135deg, #F3E5C0 0%, #DEC990 100%); }
.photo--cream { background: linear-gradient(135deg, #F0E8D8 0%, #DCC8A8 100%); }
.photo--dusty { background: linear-gradient(135deg, #E0CFC0 0%, #C8B0A0 100%); }
.photo--pink { background: linear-gradient(135deg, #F0BFD3 0%, #D88AAE 100%); }
.photo--rose { background: linear-gradient(135deg, #ECC4C8 0%, #C88894 100%); }
.photo--mauve { background: linear-gradient(135deg, #DDC4D0 0%, #B898A8 100%); }
.photo--moss { background: linear-gradient(135deg, #C8D0B0 0%, #98A578 100%); }

/* subject orbs — to suggest a centered product */
.subj-charm {
  width: 38%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.5), transparent 50%),
              radial-gradient(circle at 60% 70%, rgba(0,0,0,.15), transparent 60%);
  filter: blur(6px);
}
.subj-vert {
  width: 24%; aspect-ratio: 1/3;
  border-radius: 50%;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,255,255,.5), transparent 60%),
              radial-gradient(ellipse 60% 60% at 50% 75%, rgba(0,0,0,.15), transparent 70%);
  filter: blur(8px);
}
.subj-flat {
  width: 60%; aspect-ratio: 3/2;
  background:
    radial-gradient(ellipse 30% 50% at 30% 50%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(ellipse 30% 50% at 70% 50%, rgba(255,255,255,.3), transparent 60%);
  filter: blur(10px);
}

/* tape strip decoration */
.tape {
  position: absolute;
  width: 90px; height: 22px;
  background: rgba(200,19,107,.18);
  border-left: 1px dashed rgba(200,19,107,.5);
  border-right: 1px dashed rgba(200,19,107,.5);
  transform: rotate(-3deg);
  z-index: 3;
}
.tape--gold { background: rgba(184,134,26,.22); border-color: rgba(184,134,26,.5); }

/* ---------- Cards & tags ---------- */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.tag--pink { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.tag--gold { background: var(--gold); color: var(--cream); border-color: var(--gold); }
.tag--ghost { background: transparent; }

.product-card { display: flex; flex-direction: column; gap: 10px; }
.product-card .photo { aspect-ratio: 4/5; }
.product-card .pc-title {
  font-family: var(--serif); font-size: 17px; line-height: 1.15;
}
.product-card .pc-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.product-card .pc-price { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.product-card .pc-sub { color: var(--muted); font-size: 12px; }

/* ---------- Hero squiggle ---------- */
.squig {
  display: inline-block; height: 14px; width: 80px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'><path d='M0 6 Q 10 0 20 6 T 40 6 T 60 6 T 80 6 T 100 6 T 120 6' fill='none' stroke='%23C8136B' stroke-width='1.5' /></svg>");
  background-repeat: repeat-x; background-size: 60px 12px;
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.divider--dash { background: none; border-top: 1px dashed var(--line); }

.surface-paper { background: var(--paper); }
.surface-blush { background: var(--blush); }
.surface-sage { background: var(--sage); }

.rounded { border-radius: var(--r-md); }
.rounded-lg { border-radius: var(--r-lg); }
.rounded-xl { border-radius: var(--r-xl); }

/* ---------- Subtle reveal on scroll (handled by tiny JS in each page) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page intros ---------- */
.page-intro { padding: 80px 0 48px; }
.page-intro .crumbs {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.page-intro .crumbs span { color: var(--ink-2); }


/* ===== Page styles from index.html ===== */

  /* HERO — background video w/ text overlay */
  .hero {
    position: relative;
    min-height: 760px;
    height: 86vh;
    max-height: 920px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    isolation: isolate;
  }
  .hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  .hero__video video,
  .hero__video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
  }
  /* Animated placeholder behind video, in case file is not loaded */
  .hero__video-fallback {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 25% 35%, rgba(232,196,176,.95) 0%, transparent 65%),
      radial-gradient(ellipse 50% 40% at 75% 70%, rgba(200,19,107,.45) 0%, transparent 60%),
      radial-gradient(ellipse 40% 60% at 50% 50%, rgba(184,134,26,.4) 0%, transparent 65%),
      linear-gradient(135deg, #F8E5D6 0%, #EDC8B3 45%, #D8A0A8 100%);
    animation: heroDrift 22s ease-in-out infinite alternate;
    z-index: 1;
  }
  @keyframes heroDrift {
    0%   { transform: scale(1.08) translate(-1.5%, -1%); filter: hue-rotate(0deg); }
    50%  { transform: scale(1.14) translate(2%, 1.5%);  filter: hue-rotate(-8deg); }
    100% { transform: scale(1.10) translate(-0.5%, 2%); filter: hue-rotate(4deg); }
  }
  /* Overlay gradient for text contrast (cream wash on the left) */
  .hero__overlay {
    position: absolute; inset: 0; z-index: 3;
    background:
      linear-gradient(100deg,
        rgba(253,250,244,.92) 0%,
        rgba(253,250,244,.78) 28%,
        rgba(253,250,244,.45) 52%,
        rgba(253,250,244,.15) 70%,
        rgba(253,250,244,0)    88%);
  }
  /* Subtle film grain on top */
  .hero__overlay::after {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 12% 18%, rgba(0,0,0,.04) 0 1px, transparent 1.5px),
      radial-gradient(circle at 82% 64%, rgba(0,0,0,.03) 0 1px, transparent 1.5px),
      radial-gradient(circle at 44% 90%, rgba(0,0,0,.04) 0 1px, transparent 1.5px);
    background-size: 7px 9px, 11px 13px, 9px 11px;
    mix-blend-mode: multiply;
    opacity: .5;
    pointer-events: none;
  }

  .hero__inner {
    position: relative; z-index: 4;
    height: 100%;
    display: flex; align-items: center;
    padding: 64px 0;
  }
  .hero__text { max-width: 640px; }
  .hero h1 {
    font-size: clamp(56px, 6.8vw, 108px);
    line-height: .92;
    margin: 20px 0 24px;
  }
  .hero h1 .pink { color: var(--pink); }
  .hero p.lead {
    font-size: 19px; line-height: 1.45; color: var(--ink-2);
    max-width: 520px;
  }
  .hero__actions { display: flex; gap: 14px; margin-top: 28px; align-items: center; flex-wrap: wrap; }
  .hero__meta {
    display: flex; gap: 36px; align-items: center;
    margin-top: 44px; padding-top: 24px;
    border-top: 1px solid rgba(26,19,16,.18);
    max-width: 560px;
  }
  .hero__meta .meta-item { display: flex; flex-direction: column; gap: 2px; }
  .hero__meta .meta-item b { font-family: var(--serif); font-size: 28px; font-style: italic; font-weight: 500; }
  .hero__meta .meta-item span { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

  .hero__script {
    position: absolute;
    right: 6%; bottom: 12%;
    z-index: 5;
    font-family: var(--script);
    font-size: 44px;
    color: var(--cream);
    text-shadow: 0 2px 12px rgba(26,19,16,.35);
    transform: rotate(-4deg);
  }
  .hero__videotag {
    position: absolute;
    right: 24px; top: 24px;
    z-index: 5;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(26,19,16,.55);
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex; align-items: center; gap: 6px;
    backdrop-filter: blur(6px);
  }
  .hero__videotag .live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 3px rgba(200,19,107,.25);
    animation: pulse 1.8s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200,19,107,.25); }
    50%      { box-shadow: 0 0 0 6px rgba(200,19,107,.08); }
  }

  /* Category strip */
  .cats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 0;
    padding: 80px 0;
  }
  .cat-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px;
    display: flex; align-items: center; gap: 16px;
    transition: all .2s ease;
    cursor: pointer;
  }
  .cat-card:hover { border-color: var(--ink); transform: translateY(-3px); }
  .cat-card .ph-mini { width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; position: relative; overflow: hidden; }
  .cat-card .col { flex: 1; }
  .cat-card .name { font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1; }
  .cat-card .ct { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
  .cat-card .arrow { font-size: 20px; color: var(--ink-2); transition: color .15s ease; }
  .cat-card:hover .arrow { color: var(--pink); }

  /* Favorites */
  .favorites { padding: 96px 0 96px; }
  .fav-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 24px; }
  .fav-head h2 .pink { color: var(--pink); }
  .fav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

  /* Maker strip */
  .maker {
    background: var(--paper);
    padding: 96px 0;
  }
  .maker__inner {
    display: grid; grid-template-columns: .9fr 1.1fr;
    gap: 64px; align-items: center;
  }
  .maker__inner .photo { aspect-ratio: 4/5; }
  .maker__quote {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15; letter-spacing: -.01em;
    color: var(--ink);
  }
  .maker__quote .pink { color: var(--pink); }
  .maker__signoff {
    font-family: var(--script); font-size: 30px; color: var(--pink);
    margin-top: 24px;
  }

  /* Reviews + commission */
  .twin {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px;
    padding: 96px 0;
  }
  .reviews {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px;
    background: var(--cream);
  }
  .reviews__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
  .reviews__head .stars { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .18em; }
  .reviews__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .review {
    padding: 20px;
    background: var(--paper);
    border-radius: var(--r);
    border: 1px solid transparent;
    display: flex; flex-direction: column; gap: 10px;
  }
  .review .rs { color: var(--gold); font-family: var(--mono); font-size: 13px; letter-spacing: .15em; }
  .review .rq { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.3; }
  .review .rn { font-family: var(--script); font-size: 22px; color: var(--ink-2); }

  .commission {
    background: var(--pink);
    color: var(--cream);
    border-radius: var(--r-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex; flex-direction: column; gap: 16px;
  }
  .commission .eyebrow { color: rgba(255,255,255,.7); }
  .commission h2 { color: var(--cream); font-size: 44px; }
  .commission p { opacity: .9; font-size: 15px; line-height: 1.5; max-width: 320px; }
  .commission .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); align-self: flex-start; margin-top: auto; }
  .commission .btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .commission .heart {
    position: absolute; right: -20px; bottom: -60px;
    font-size: 240px; opacity: .12; line-height: 1;
    transform: rotate(-8deg);
  }

  /* IG / community strip */
  .ig {
    padding: 80px 0;
    text-align: center;
  }
  .ig__head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; }
  .ig__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .ig__grid .photo { aspect-ratio: 1; border-radius: var(--r); }

  @media (max-width: 980px) {
    .hero__inner { padding: 48px 0; }
    .hero { min-height: 600px; height: 80vh; }
    .maker__inner, .twin { grid-template-columns: 1fr; }
    .cats, .fav-grid { grid-template-columns: 1fr 1fr; }
    .reviews__grid { grid-template-columns: 1fr; }
    .ig__grid { grid-template-columns: repeat(3, 1fr); }
    .hero__overlay {
      background: linear-gradient(180deg, rgba(253,250,244,.92) 0%, rgba(253,250,244,.7) 60%, rgba(253,250,244,.3) 100%);
    }
    .hero__script { font-size: 32px; bottom: 24px; right: 5%; }
  }

  /* ---------- Logo scaling (Tweak) ----------
     Image keeps its 72px layout slot; transform scales it
     visually so the header height never changes. */
  .brand { overflow: visible; }
  .brand img {
    transform: scale(var(--logo-scale, 1));
    transform-origin: center center;
    transition: transform .2s ease;
  }

  /* ---------- Tweaks panel ---------- */
  .mp-tweaks {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 2147483646;
    width: 280px;
    background: var(--cream);
    border: 1px solid var(--ink);
    border-radius: 14px;
    box-shadow: 0 24px 60px -20px rgba(26,19,16,.35), 0 4px 12px -4px rgba(26,19,16,.2);
    font-family: var(--sans);
    color: var(--ink);
    display: none;
    flex-direction: column;
    overflow: hidden;
  }
  .mp-tweaks.open { display: flex; }
  .mp-tweaks__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: var(--ink); color: var(--cream);
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .2em; text-transform: uppercase;
    cursor: grab;
    user-select: none;
  }
  .mp-tweaks__head:active { cursor: grabbing; }
  .mp-tweaks__close {
    background: none; border: none; color: var(--cream);
    font-size: 16px; line-height: 1; cursor: pointer; padding: 0;
    opacity: .7;
  }
  .mp-tweaks__close:hover { opacity: 1; }
  .mp-tweaks__body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 16px; }
  .mp-tweaks__row {
    display: flex; flex-direction: column; gap: 8px;
  }
  .mp-tweaks__row label {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 13px; font-weight: 500;
  }
  .mp-tweaks__row label .val {
    font-family: var(--mono); font-size: 11px;
    color: var(--pink); letter-spacing: .04em;
  }
  .mp-tweaks input[type="range"] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px;
    background: var(--line);
    border-radius: 2px; outline: none;
    cursor: pointer;
  }
  .mp-tweaks input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px;
    background: var(--cream);
    border: 2px solid var(--pink);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .15s ease;
  }
  .mp-tweaks input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
  .mp-tweaks input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px;
    background: var(--cream);
    border: 2px solid var(--pink);
    border-radius: 50%;
    cursor: pointer;
  }
  .mp-tweaks__hint {
    font-family: var(--mono); font-size: 10px;
    color: var(--muted);
    letter-spacing: .12em; text-transform: uppercase;
    line-height: 1.4;
  }
  .mp-tweaks__reset {
    align-self: flex-start;
    background: transparent; border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11px;
    color: var(--ink-2);
    cursor: pointer;
    margin-top: 4px;
  }
  .mp-tweaks__reset:hover { border-color: var(--ink); color: var(--ink); }


/* ===== Page styles from shop.html ===== */

  /* Shop-specific */
  .shop-intro {
    padding: 56px 0 32px;
  }
  .shop-intro .between { align-items: flex-end; gap: 32px; }
  .shop-intro h1 {
    font-size: clamp(48px, 5.5vw, 76px);
    margin-top: 8px;
  }
  .shop-intro h1 em { color: var(--pink); }
  .shop-intro .sub {
    font-family: var(--serif); font-style: italic;
    font-size: 22px; color: var(--ink-2); margin-top: 8px;
  }
  .shop-tools {
    display: flex; align-items: center; gap: 16px;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    letter-spacing: .14em; text-transform: uppercase;
  }
  .sort-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans); font-size: 13px;
    text-transform: none; letter-spacing: 0;
  }

  /* Layout */
  .shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    padding: 24px 0 96px;
  }

  /* Sidebar */
  .sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 140px; height: max-content; }
  .filter-block { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .filter-block:last-child { border-bottom: none; }
  .filter-block h4 {
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink-2); margin: 0 0 14px;
  }
  .filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .filter-list li { display: flex; align-items: center; justify-content: space-between; font-size: 14px; cursor: pointer; }
  .filter-list li:hover { color: var(--pink); }
  .filter-list li.active { color: var(--pink); font-weight: 500; }
  .filter-list li .ct { font-family: var(--mono); font-size: 11px; color: var(--muted); }

  .price-slider { padding: 12px 0; }
  .price-track { position: relative; height: 4px; background: var(--line); border-radius: 2px; }
  .price-fill { position: absolute; left: 20%; right: 30%; top: 0; bottom: 0; background: var(--pink); border-radius: 2px; }
  .price-handle { position: absolute; top: 50%; width: 16px; height: 16px; background: var(--cream); border: 2px solid var(--pink); border-radius: 50%; transform: translate(-50%, -50%); }
  .price-handle.h1 { left: 20%; }
  .price-handle.h2 { left: 70%; }
  .price-labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 16px; letter-spacing: .1em; }

  .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
  .swatch {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    background: var(--cream);
    cursor: pointer;
    transition: all .15s ease;
  }
  .swatch:hover, .swatch.active { border-color: var(--ink); background: var(--ink); color: var(--cream); }

  .check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
  .check-box { width: 16px; height: 16px; border: 1px solid var(--line); border-radius: 3px; flex-shrink: 0; background: var(--cream); }
  .check-row.checked .check-box { background: var(--ink); border-color: var(--ink); position: relative; }
  .check-row.checked .check-box::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--cream); font-size: 11px; }

  .commission-block {
    background: var(--blush);
    border-radius: var(--r-md);
    padding: 20px;
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 8px;
  }
  .commission-block .script { font-size: 28px; color: var(--pink); line-height: 1; }
  .commission-block p { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
  .commission-block a { font-size: 12px; color: var(--pink); border-bottom: 1px solid var(--pink); padding-bottom: 2px; align-self: flex-start; text-transform: uppercase; letter-spacing: .14em; }

  /* main grid */
  .applied {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 13px; color: var(--muted);
  }
  .chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 8px 4px 10px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
    font-size: 12px; color: var(--ink);
  }
  .chip button { background: none; border: none; color: var(--muted); font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }
  .applied .clear { margin-left: auto; color: var(--ink-2); cursor: pointer; }
  .applied .clear:hover { color: var(--pink); }

  .grid-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }

  /* Lookbook break (in-grid) */
  .lookbook-break {
    grid-column: 1 / -1;
    background: var(--paper);
    border-radius: var(--r-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 32px; align-items: center;
    margin: 16px 0;
  }
  .lookbook-break .lb-photo {
    aspect-ratio: 4/3;
    border-radius: var(--r);
    position: relative;
  }
  .lookbook-break h3 { font-size: 28px; }
  .lookbook-break p { color: var(--ink-2); font-size: 14px; margin-top: 8px; max-width: 340px; }

  .pagination {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 48px 0 0;
  }
  .page-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--cream);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 12px; cursor: pointer;
  }
  .page-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .page-btn:hover:not(.active) { border-color: var(--ink); }

  @media (max-width: 980px) {
    .shop-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .grid-products { grid-template-columns: 1fr 1fr; }
    .lookbook-break { grid-template-columns: 1fr; }
  }


/* ===== Page styles from gallery.html ===== */

  /* Gallery (chapter scroll) */
  .cover {
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--line);
  }
  .cover__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  .cover h1 {
    font-size: clamp(64px, 8vw, 120px);
    line-height: .9;
    margin-top: 14px;
  }
  .cover h1 em { color: var(--pink); }
  .cover .sub {
    font-family: var(--serif); font-style: italic;
    font-size: 24px; color: var(--ink-2);
    line-height: 1.4; max-width: 460px; margin-top: 20px;
  }
  .cover .meta-row {
    display: flex; gap: 24px; align-items: center;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    letter-spacing: .14em; text-transform: uppercase;
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .cover .meta-row .printed {
    margin-left: auto;
    color: var(--pink);
    border-bottom: 1px solid var(--pink); padding-bottom: 2px;
  }
  .cover__photo {
    position: relative;
    aspect-ratio: 4/5;
    box-shadow: 0 32px 60px -32px rgba(26,19,16,.3);
  }
  .cover__sticker {
    position: absolute;
    left: -32px; top: 48px;
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 14px 22px;
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .2em; line-height: 1.5;
    transform: rotate(-3deg);
    box-shadow: 0 8px 24px -12px rgba(26,19,16,.2);
  }
  .cover__sticker .issue { font-family: var(--serif); font-style: italic; font-size: 22px; text-transform: none; letter-spacing: 0; display: block; }
  .cover__sticker .name { color: var(--muted); text-transform: none; letter-spacing: .14em; font-size: 10px; display: block; }

  /* TOC */
  .toc {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
  }
  .toc__title {
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .24em; text-transform: uppercase;
    color: var(--ink-2); margin-bottom: 24px;
    display: flex; align-items: center; gap: 16px;
  }
  .toc__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
  .toc__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 32px;
  }
  .toc-item {
    display: flex; align-items: baseline; gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dotted var(--line);
    cursor: pointer;
    transition: color .15s ease;
  }
  .toc-item:hover { color: var(--pink); }
  .toc-item.active { color: var(--pink); }
  .toc-item .no { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 24px; letter-spacing: .1em; }
  .toc-item .title { font-family: var(--serif); font-style: italic; font-size: 19px; flex: 1; }
  .toc-item .pg { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .15em; }

  /* Chapters */
  .chapter {
    padding: 80px 0;
    border-bottom: 1px dashed var(--line);
  }
  .chapter__head {
    display: grid;
    grid-template-columns: 140px 1fr 280px;
    gap: 32px;
    align-items: flex-end;
    margin-bottom: 32px;
  }
  .chapter__no {
    font-family: var(--serif); font-style: italic;
    font-size: 96px; line-height: .85;
    color: var(--pink); letter-spacing: -.02em;
  }
  .chapter__title h2 {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1;
  }
  .chapter__title .sub {
    font-family: var(--serif); font-style: italic;
    color: var(--ink-2); font-size: 20px; margin-top: 8px;
  }
  .chapter__blurb {
    color: var(--ink-2); font-size: 14px;
    font-style: italic; line-height: 1.5;
    padding-left: 24px;
    border-left: 2px solid var(--line);
  }

  /* Layout: wide (hero + 2 stack) */
  .layout-wide {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    aspect-ratio: 16/9;
    margin-bottom: 28px;
  }
  .layout-wide .photo:first-child { grid-row: 1 / -1; }
  .layout-wide .col-stack { display: flex; flex-direction: column; gap: 16px; }
  .layout-wide .col-stack .photo { flex: 1; }

  /* Layout: split */
  .layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 21/10;
    margin-bottom: 28px;
  }

  /* Layout: trio */
  .layout-trio {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 16px;
    aspect-ratio: 21/8;
    margin-bottom: 28px;
  }

  /* From-this-look rail */
  .from-look {
    display: flex; align-items: center; gap: 20px; padding-top: 8px;
  }
  .from-look .label {
    font-family: var(--script); font-size: 26px;
    color: var(--ink); flex-shrink: 0;
  }
  .from-look .rail {
    display: flex; gap: 8px; flex: 1; overflow: hidden;
  }
  .look-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .15s ease;
  }
  .look-chip:hover { border-color: var(--ink); }
  .look-chip .lc-photo {
    width: 36px; height: 36px; border-radius: 50%;
    flex-shrink: 0; position: relative; overflow: hidden;
  }
  .look-chip .lc-name { font-family: var(--serif); font-size: 14px; line-height: 1; }
  .look-chip .lc-price { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
  .look-chip .lc-add { margin-left: 4px; color: var(--pink); font-size: 16px; }

  /* End matter */
  .end-matter {
    padding: 96px 0;
    text-align: center;
  }
  .end-matter h2 {
    font-family: var(--script);
    font-size: 56px; color: var(--ink); margin: 16px 0;
  }
  .end-matter .arrows {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 64px;
    border-top: 1px solid var(--line);
    margin-top: 64px;
    font-family: var(--serif); font-style: italic; font-size: 20px;
    color: var(--ink-2);
  }
  .end-matter .arrows a:hover { color: var(--pink); }

  @media (max-width: 980px) {
    .cover__inner, .chapter__head, .layout-wide, .layout-split, .layout-trio { grid-template-columns: 1fr; aspect-ratio: auto; }
    .toc__grid { grid-template-columns: 1fr 1fr; }
  }


/* ===== Page styles from journal.html ===== */

  /* Journal-specific */
  .journal-intro {
    text-align: center;
    padding: 96px 0 64px;
  }
  .journal-intro h1 {
    font-size: clamp(64px, 8.5vw, 128px);
    line-height: .92;
    margin: 16px auto 18px;
    max-width: 1100px;
  }
  .journal-intro h1 em { color: var(--pink); }
  .journal-intro .sub {
    font-family: var(--script);
    font-size: 32px; color: var(--ink-2);
    margin-top: 8px;
  }
  .journal-intro .filters {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
    margin-top: 40px;
  }
  .filter-pill {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    font-size: 13px;
    cursor: pointer;
    transition: all .15s ease;
  }
  .filter-pill:hover { border-color: var(--ink); }
  .filter-pill.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

  /* Timeline */
  .timeline {
    position: relative;
    padding: 32px 0 64px;
    max-width: 1180px;
    margin: 0 auto;
  }
  .timeline__spine {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, var(--line) 5%, var(--line) 95%, transparent 100%);
    transform: translateX(-.5px);
  }

  .entry {
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    gap: 32px;
    margin-bottom: 72px;
    align-items: flex-start;
  }
  .entry__card {
    display: flex; flex-direction: column; gap: 14px;
  }
  .entry__card .photo { aspect-ratio: 16/10; }
  .entry__card .meta {
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted);
  }
  .entry__card .meta .cat { color: var(--ink-2); }
  .entry__card h2 {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 32px; line-height: 1.1;
  }
  .entry__card .excerpt {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.5;
  }
  .entry__card .read-link {
    align-self: flex-start;
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--pink);
    border-bottom: 1px solid var(--pink);
    padding-bottom: 2px;
  }

  .entry__date {
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 8px;
    position: relative;
  }
  .date-tab {
    background: var(--cream);
    border: 1px solid var(--ink);
    padding: 12px 14px;
    font-family: var(--mono);
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    min-width: 78px;
  }
  .date-tab .month { display: block; font-weight: 500; }
  .date-tab .year { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
  .date-tab.featured {
    background: var(--pink);
    color: var(--cream);
    border-color: var(--pink);
  }
  .date-tab.featured .year { color: rgba(255,255,255,.7); }
  /* tiny tick from spine to card */
  .entry__date::before, .entry__date::after {
    content: ''; position: absolute; top: 22px;
    height: 1px; background: var(--line);
    width: 16px;
  }
  .entry--left .entry__date::before { right: calc(50% + 38px); }
  .entry--right .entry__date::after { left: calc(50% + 38px); }

  /* alignment */
  .entry--left .entry__card { grid-column: 1; }
  .entry--right .entry__card { grid-column: 3; }
  .entry__empty { /* keeps grid cells filled */ }

  /* featured first entry — wider, both sides */
  .featured-entry {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .featured-entry .entry__card { max-width: 720px; margin: 0 auto; text-align: left; }
  .featured-entry .entry__date { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); }
  .featured-entry { position: relative; padding-top: 48px; }
  .featured-entry .entry__card .meta { text-align: center; }
  .featured-entry .entry__card h2 { font-size: 44px; text-align: center; }
  .featured-entry .entry__card h2 em { color: var(--pink); }
  .featured-entry .entry__card .excerpt { text-align: center; font-size: 17px; max-width: 560px; margin: 0 auto; }
  .featured-entry .entry__card .read-link { align-self: center; }

  .timeline__end {
    display: flex; justify-content: center;
    margin-top: 16px;
    position: relative;
    z-index: 2;
  }
  .timeline__end .end-btn {
    background: var(--cream);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 14px 28px;
    font-family: var(--script); font-size: 22px;
    color: var(--pink);
    cursor: pointer;
  }
  .timeline__end .end-btn:hover { background: var(--pink); color: var(--cream); }

  /* Subscribe block */
  .subscribe-card {
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--r-lg);
    padding: 48px;
    margin: 32px 0 96px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px; align-items: center;
  }
  .subscribe-card .heart {
    font-size: 80px; color: var(--pink); line-height: 1;
    font-family: serif;
  }
  .subscribe-card h2 {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 32px; line-height: 1.1;
  }
  .subscribe-card .note { color: var(--ink-2); margin-top: 6px; font-size: 14px; }
  .subscribe-card .input-row {
    display: flex; align-items: center; gap: 12px;
  }
  .subscribe-card input {
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    min-width: 240px;
    outline: none;
  }
  .subscribe-card input:focus { border-color: var(--ink); }

  /* topics cloud at bottom */
  .topics-cloud {
    padding: 64px 0;
    text-align: center;
    border-top: 1px solid var(--line);
  }
  .topics-cloud .tags-grid {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    max-width: 720px; margin: 24px auto 0;
  }
  .topic-tag {
    padding: 6px 16px;
    border: 1px solid var(--line); border-radius: 999px;
    font-size: 13px;
    background: var(--cream);
    cursor: pointer;
  }
  .topic-tag:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

  @media (max-width: 980px) {
    .entry { grid-template-columns: 56px 1fr; }
    .entry__date { grid-column: 1; }
    .entry--left .entry__card, .entry--right .entry__card { grid-column: 2; }
    .timeline__spine { left: 28px; }
    .entry--left .entry__date::before, .entry--right .entry__date::after { display: none; }
    .subscribe-card { grid-template-columns: 1fr; text-align: center; }
  }

/* ============================================================
   Responsive — mobile-first layer added by the WP theme.
   Breakpoints: 1200 / 980 / 720 / 480.
   ============================================================ */

/* ---------- Mobile nav toggle (hidden on desktop) ---------- */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}
.nav-toggle__bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-toggle--open .nav-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle--open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle--open .nav-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

body.nav-locked { overflow: hidden; }

/* ---------- Container padding scales down ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .site-header__main { padding: 18px 24px; gap: 16px; }
  .site-footer .container { padding: 0 24px; }
  .site-footer .grid-footer { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
  .site-footer .grid-footer .ft-col:nth-child(4) { display: none; }
  .nav { gap: 20px; }
}

/* ---------- Tablet portrait ---------- */
@media (max-width: 980px) {
  .container { padding: 0 20px; }

  /* HEADER: toggle | brand | icons; nav becomes a drawer. */
  .site-header__main {
    grid-template-columns: auto 1fr auto;
    padding: 14px 20px;
    gap: 12px;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 28px 32px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 55;
    overflow-y: auto;
  }
  .nav.nav--open { transform: translateX(0); }
  .nav a {
    font-family: var(--serif);
    font-size: 28px;
    font-style: italic;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav a.active::after { display: none; }
  .nav a.active { color: var(--pink); }
  .brand { justify-self: center; }
  .brand img { height: 56px; transform: scale(var(--logo-scale, 1.2)); }
  .site-header__icons { gap: 8px; }
  .site-header__icons .icon-btn { width: 36px; height: 36px; font-size: 13px; }
  .site-header__icons .bag { padding: 6px 12px; font-size: 10px; }
  .site-header__top { font-size: 9px; padding: 7px 12px; letter-spacing: .18em; }
  .site-header__top .sep { margin: 0 10px; }
  .site-header__top span:nth-of-type(n+3) { display: none; }

  /* HERO */
  .hero { min-height: 580px; height: auto; }
  .hero__inner { padding: 40px 0 60px; }
  .hero__text { max-width: 100%; }
  .hero h1 { font-size: clamp(44px, 9vw, 72px); }
  .hero p.lead { font-size: 17px; max-width: 100%; }
  .hero__meta { flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; padding-top: 20px; }
  .hero__meta .meta-item b { font-size: 22px; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(253,250,244,.95) 0%, rgba(253,250,244,.78) 55%, rgba(253,250,244,.35) 100%);
  }
  .hero__script { font-size: 30px; bottom: 18px; right: 5%; }
  .hero__videotag { right: 16px; top: 16px; font-size: 9px; padding: 5px 9px; }

  /* CATEGORIES: 2-up, kill the fixed-height parent */
  section:has(> .container > .cats) { height: auto !important; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 32px 0 12px !important; }

  /* FAVORITES: 2-up */
  .favorites { padding: 12px 0 64px !important; }
  .fav-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fav-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }

  /* MAKER */
  .maker { padding: 72px 0; }
  .maker__inner { grid-template-columns: 1fr; gap: 32px; }
  .maker__inner .photo { aspect-ratio: 4/3; }

  /* TWIN */
  .twin { grid-template-columns: 1fr; gap: 20px; padding: 64px 0; }
  .reviews { padding: 28px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .commission { padding: 32px; }
  .commission h2 { font-size: 36px; }
  .commission .heart { font-size: 200px; right: -30px; bottom: -80px; }

  /* IG */
  .ig { padding: 64px 0; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  /* FOOTER */
  .site-footer { padding: 64px 0 24px; margin-top: 48px; }
  .site-footer .grid-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 36px;
  }
  .site-footer .grid-footer .ft-col:nth-child(4) { display: flex; }
  .site-footer .grid-footer .ft-col:first-child { grid-column: 1 / -1; }
  .site-footer .grid-footer .ft-signup { grid-column: 1 / -1; }
  .site-footer .ft-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

  /* SHOP */
  .shop-layout { grid-template-columns: 1fr; gap: 32px; padding: 16px 0 64px; }
  .sidebar { position: static; height: auto; }
  .shop-intro { padding: 32px 0 16px; }
  .shop-intro .between { flex-direction: column; align-items: flex-start; gap: 16px; }
  .shop-intro h1 { font-size: clamp(40px, 7vw, 56px); }
  .shop-tools { flex-wrap: wrap; gap: 10px; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .lookbook-break { grid-template-columns: 1fr; gap: 20px; padding: 24px; }

  /* JOURNAL timeline */
  .timeline__spine { left: 22px; }
  .entry {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }
  .entry--left .entry__card,
  .entry--right .entry__card { grid-column: 2; }
  .entry__date {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
    justify-content: flex-start;
  }
  .entry--left  .entry__date::before,
  .entry--right .entry__date::after { display: none; }
  .date-tab { min-width: 0; padding: 8px 6px; font-size: 9px; }
  .entry__empty { display: none; }
  .featured-entry { padding-top: 16px; }
  .featured-entry .entry__date { position: static; transform: none; }
  .featured-entry .entry__card { max-width: 100%; text-align: left; }
  .featured-entry .entry__card h2 { font-size: 32px; text-align: left; }
  .featured-entry .entry__card .meta,
  .featured-entry .entry__card .excerpt { text-align: left; margin: 0; }
  .featured-entry .entry__card .read-link { align-self: flex-start; }
  .journal-intro { padding: 64px 0 32px; }
  .journal-intro h1 { font-size: clamp(48px, 11vw, 80px); }
  .journal-intro .sub { font-size: 26px; }
  .timeline { padding: 8px 0 32px; }

  /* GALLERY */
  .cover { padding: 56px 0 40px; }
  .cover__inner { grid-template-columns: 1fr; gap: 32px; }
  .cover h1 { font-size: clamp(48px, 11vw, 80px); }
  .cover .sub { font-size: 19px; }
  .cover__photo { aspect-ratio: 4/5; max-width: 480px; margin: 0 auto; }
  .cover__sticker { left: -16px; top: 24px; padding: 10px 16px; }
  .toc__grid { grid-template-columns: 1fr 1fr; gap: 4px 24px; }
  .chapter { padding: 48px 0; }
  .chapter__head { grid-template-columns: 1fr; gap: 16px; }
  .chapter__no { font-size: 64px; }
  .chapter__blurb { padding-left: 16px; }
  .layout-wide, .layout-split, .layout-trio {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 12px;
  }
  .layout-wide .photo,
  .layout-split .photo,
  .layout-trio .photo { aspect-ratio: 4/3; }
  .layout-wide .col-stack { flex-direction: row; }
  .end-matter { padding: 72px 0; }
  .end-matter h2 { font-size: 42px; }
  .end-matter .arrows { flex-direction: column; gap: 14px; padding-top: 40px; margin-top: 40px; }

  /* PAGE-INTRO */
  .page-intro { padding: 56px 0 32px; }

  /* SUBSCRIBE card */
  .subscribe-card { grid-template-columns: 1fr; gap: 20px; padding: 32px; text-align: center; }
  .subscribe-card .input-row { justify-content: center; }
  .subscribe-card input { width: 100%; min-width: 0; }
}

/* ---------- Large mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 15px; }

  .hero { min-height: 520px; }
  .hero h1 { font-size: clamp(40px, 10vw, 60px); margin: 14px 0 18px; }
  .hero p.lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__meta { gap: 16px 24px; }
  .hero__meta .meta-item b { font-size: 20px; }
  .hero__meta .meta-item span { font-size: 9px; }
  .hero__script { font-size: 24px; right: 18px; bottom: 14px; }

  .cats { grid-template-columns: 1fr; }
  .cat-card { padding: 14px; }
  .cat-card .ph-mini { width: 50px; height: 50px; }
  .cat-card .name { font-size: 20px; }

  .grid-products { grid-template-columns: 1fr; gap: 28px; }
  .product-card .photo { aspect-ratio: 4/3; }

  .ig__grid { grid-template-columns: 1fr 1fr; }

  .commission h2 { font-size: 30px; }
  .commission { padding: 28px; }

  .site-footer .grid-footer { grid-template-columns: 1fr; }
  .site-footer h4 { margin-top: 4px; }

  h1 { font-size: clamp(38px, 9vw, 56px); }
  h2 { font-size: clamp(28px, 7vw, 42px); }
  h3 { font-size: clamp(22px, 5vw, 28px); }

  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr td::before { font-weight: 600; }
}

/* ---------- Small mobile ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-header__main { padding: 12px 16px; gap: 8px; }
  .site-header__top { padding: 6px 8px; font-size: 8.5px; letter-spacing: .14em; }
  .brand img { height: 48px; }
  .site-header__icons { gap: 6px; }
  .site-header__icons .icon-btn { width: 32px; height: 32px; font-size: 12px; }
  .site-header__icons .bag { padding: 5px 10px; font-size: 9px; }
  .site-header__icons .bag .dot { width: 14px; height: 14px; font-size: 9px; }

  .hero { min-height: 480px; }
  .hero__inner { padding: 28px 0 44px; }
  .hero h1 { font-size: clamp(36px, 11vw, 50px); }
  .hero__actions { gap: 10px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .btn--lg { padding: 14px 22px; font-size: 14px; }

  .favorites { padding: 8px 0 48px !important; }
  .fav-grid { grid-template-columns: 1fr; }
  .product-card .photo { aspect-ratio: 4/5; }

  .reviews { padding: 22px; }
  .commission { padding: 24px; }

  .ig__grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .site-footer { padding: 48px 0 20px; }
  .site-footer .grid-footer { padding-bottom: 28px; gap: 24px; }

  .pagination { gap: 4px; flex-wrap: wrap; }
  .page-btn { width: 32px; height: 32px; }

  .timeline__spine { left: 16px; }
  .entry { grid-template-columns: 44px 1fr; gap: 12px; }
  .date-tab { padding: 6px 4px; font-size: 8.5px; }
  .entry__card h2 { font-size: 24px; }
  .entry__card .photo { aspect-ratio: 4/3; }
}

/* ---------- Image safety: never overflow horizontally ---------- */
img, video { max-width: 100%; height: auto; }
.hero__video video, .hero__video img { height: 100%; }

html, body { overflow-x: hidden; }
