/* ============================================================
   girlgone.ai · editorial AI atelier
   Light-first ivory canvas · Fraunces display · Geist body
   ============================================================ */

:root {
  /* brand palette · Girl Gone AI */
  --ink:    #1A161C;
  --ink-2:  #2c272f;
  --ink-soft:#5b5660;
  --ivory:  #FAF7F2;     /* CREAM */
  --ivory-2:#F4EFE6;
  --stone:  #ECE5DA;
  --stone-2:#DAD3C7;
  --line:   #E6DFD3;
  --line-2: #EFE9DE;
  --lilac:   #EDE6FA;    /* LILAC */
  --lilac-d: #D6C9F0;
  --violet:  #8B7CFF;    /* LAVENDER */
  --violet-d:#6B5CE6;
  --rose:    #E1A7C2;    /* ROSE */
  --rose-d:  #B97493;
  --mint:    #A9DCC6;    /* MINT */
  --peach:   #FFC9B6;    /* PEACH */
  --glow:    #FFC9B6;    /* alias */

  /* type */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  /* sizing */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* shadows */
  --sh-1: 0 1px 0 rgba(23,21,28,.04), 0 8px 28px rgba(23,21,28,.05);
  --sh-2: 0 2px 0 rgba(23,21,28,.04), 0 24px 60px rgba(23,21,28,.10);
  --sh-card: 0 1px 0 rgba(23,21,28,.04), 0 14px 38px rgba(23,21,28,.06);
}

/* ===== reset / base ===== */
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 600px at 80% -10%, rgba(237,230,250,.7), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255,201,182,.4), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select { font: inherit; color: inherit; }

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

::selection { background: var(--violet); color: var(--ivory); }

/* ===== utilities ===== */
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--rose { background: var(--rose); box-shadow: 0 0 0 4px rgba(225,167,194,.28); }
.dot--mint { background: var(--mint); box-shadow: 0 0 0 4px rgba(169,220,198,.32); }
.dot--violet { background: var(--violet); box-shadow: 0 0 0 4px rgba(139,124,255,.22); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--primary { background: var(--ink); color: var(--ivory); }
.btn--primary:hover { background: var(--violet); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(139,124,255,.32); }
.btn--primary:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); transform: translateY(-1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { gap: 14px; color: var(--violet); }

/* filled CTA pill · used in featured cards */
.link-arrow--cta {
  background: var(--violet);
  color: var(--ivory);
  border-bottom: 0;
  padding: 9px 16px 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: -0.003em;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(139,124,255,.28);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease, gap .25s ease;
}
.link-arrow--cta:hover {
  background: var(--violet-d);
  color: var(--ivory);
  gap: 12px;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(139,124,255,.36);
}

.chip {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ivory-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.chip--lilac     { background: var(--lilac);                        color: var(--violet-d); border-color: transparent; }
.chip--rose      { background: rgba(225,167,194,.28);               color: var(--rose-d);   border-color: transparent; }
.chip--mint      { background: rgba(169,220,198,.4);                color: #2c5443;         border-color: transparent; }
.chip--peach     { background: rgba(255,210,194,.55);               color: #b96b50;         border-color: transparent; }
.chip--sky       { background: rgba(195,213,242,.55);               color: #5872a8;         border-color: transparent; }
.chip--sage      { background: rgba(170,195,180,.5);                color: #3a6555;         border-color: transparent; }
.chip--rose-dust { background: rgba(225,180,200,.42);               color: var(--rose-d);   border-color: transparent; }
.chip--stone     { background: rgba(220,210,192,.7);                color: #6b5f48;         border-color: transparent; }
.chip--apricot   { background: rgba(255,195,155,.55);               color: #b86b3f;         border-color: transparent; }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  z-index: 2;
}
.badge--rose   { background: var(--rose-d); }
.badge--mint   { background: var(--mint); color: #1f4a37; }
.badge--violet { background: var(--violet-d); }

.price { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.price.free { color: var(--violet); }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announce {
  display: block;
  background: rgba(237, 230, 250, 0.65);
  color: var(--ink);
  text-decoration: none;
  transition: background .25s ease;
}
.announce:hover {
  background: rgba(220, 210, 243, 0.85);
}
.announce__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 16px; justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
}
.announce__pill {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--rose-d);
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ivory);
}
.announce__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #C9DDF2;
  box-shadow: 0 0 0 4px rgba(201,221,242,.45);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,221,242,.65); }
  50%     { box-shadow: 0 0 0 8px rgba(201,221,242,0); }
}
.announce__msg { color: var(--ink-2); }
.announce__link { color: var(--ink); border-bottom: 1px solid rgba(23,21,28,.45); padding-bottom: 1px; }
.announce__link:hover { border-color: var(--violet); color: var(--violet); }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gutter);
  background: rgba(250,247,242,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { width: 138px; height: auto; display: block; }

.nav__links {
  display: flex; gap: 32px; justify-content: center;
  font-size: 14px;
}
.nav__links a {
  position: relative;
  color: var(--ink-2);
  padding: 4px 0;
  transition: color .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--rose-d);
  transition: color .18s ease, transform .25s ease;
}
.nav__links a:hover .nav__icon {
  color: var(--violet);
  transform: scale(1.08) rotate(-3deg);
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -4px;
  width: 0; height: 1.5px; background: var(--violet);
  transition: width .25s ease, left .25s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; left: 0; }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { font-size: 14px; color: var(--ink-2); }
.nav__login:hover { color: var(--violet); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ink);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { bottom: 15px; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__login { display: none; }
  .nav__toggle { display: block; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: clamp(16px, 2vw, 32px) var(--gutter) 0;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: 80vh;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--ivory-2);
  border: 1px solid var(--line);
}

.hero__headline {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__headline em {
  font-style: normal;
  font-weight: 360;
  color: var(--rose-d);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  position: relative;
  padding: 0 .04em;
}
.hero__headline em::after {
  content: "";
  position: absolute; left: 6%; right: 6%; bottom: 6%;
  height: .14em;
  background: var(--lilac);
  z-index: -1;
  border-radius: 4px;
  opacity: .55;
}

.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 0 36px;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__meta li { display: flex; flex-direction: column; gap: 4px; }
.hero__meta strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.hero__meta span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ===== hero visual ===== */
.hero__visual {
  position: relative;
  height: 780px;
  perspective: 1200px;
}

.hero__photo-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__photo-wrap::before {
  content: "";
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--lilac) 0%, rgba(237,230,250,0) 70%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 40px rgba(26,22,28,.18));
  transition: transform .8s ease;
}
.hero__photo-wrap:hover .hero__photo { transform: translateY(-4px); }

/* floating cards · soft pink-white glass */
.float {
  position: absolute;
  background: rgba(253, 244, 248, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  box-shadow:
    0 12px 28px rgba(185, 116, 147, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 14px 16px;
  z-index: 4;
  animation: hover 6s ease-in-out infinite;
  color: var(--ink);
}
@keyframes hover {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.float__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.float__body {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.float__foot {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px;
}
.float__pill {
  font-family: var(--mono);
  font-size: 10px;
  background: var(--mint);
  color: #1f4a37;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .08em;
  font-weight: 500;
}

.float--prompt {
  width: 280px;
  top: 58%; right: -4%;
  transform: rotate(-3deg);
  animation-delay: -1s;
}

.float--dash {
  width: 220px;
  bottom: 14%; left: -8%;
  transform: rotate(2deg);
  animation-delay: -3s;
}
.float__bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 56px;
  margin-bottom: 8px;
}
.float__bars span {
  flex: 1;
  height: var(--h);
  background: var(--violet);
  border-radius: 3px;
}
.float__num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.float--dash .float__foot {
  align-items: flex-end;
  justify-content: space-between;
}
.float__caption {
  line-height: 1.05;
  text-align: right;
}

.float--bubble {
  display: flex; align-items: flex-start; gap: 10px;
  width: 240px;
  bottom: -2%; right: 8%;
  transform: rotate(-2deg);
  animation-delay: -2s;
  font-size: 13px;
  line-height: 1.4;
}
.float__avatar {
  width: 30px; height: 30px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  padding-right: 1px;
  flex-shrink: 0;
}

.float--cal {
  width: 180px;
  top: 38%; right: -6%;
  transform: rotate(3deg);
  animation-delay: -4s;
}
.float__cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.float__cal > span:nth-child(-n+7) {
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
  color: var(--ink-soft);
  padding-bottom: 4px;
}
.float__cal > span:nth-child(n+8) {
  height: 14px;
  background: var(--ivory-2);
  border-radius: 3px;
}
.float__cal > span.on        { background: var(--lilac); }
.float__cal > span.on.rose   { background: var(--rose); }
.float__cal > span.on.violet { background: var(--violet); }
.float__cal > span.on.mint   { background: var(--mint); }

/* ===== marquee ===== */
.marquee {
  margin-top: clamp(56px, 8vw, 96px);
  padding: 18px 0;
  border-top: 1px solid var(--lilac-d);
  border-bottom: 1px solid var(--lilac-d);
  background: rgba(237, 230, 250, 0.6);
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}
.marquee__track {
  display: flex; align-items: center; gap: 24px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(16px, 1.7vw, 22px);
  letter-spacing: -0.012em;
  color: var(--ink);
}
.marquee__track i {
  font-style: normal;
  color: var(--rose-d);
  font-size: 0.7em;
}
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { height: 480px; margin-top: 24px; }
}
@media (max-width: 600px) {
  .hero__visual { height: 420px; }
  .hero__photo-wrap { width: 78%; }
  /* on phones the floating cards cover the photo, kill them */
  .float { display: none !important; }
}

/* ============================================================
   SECTIONS · shared
============================================================ */
section { padding: clamp(80px, 10vw, 140px) var(--gutter); max-width: var(--max); margin: 0 auto; }

.section__head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 900px; }
.section__head--row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  max-width: none;
}
.section__num { display: inline-block; margin-bottom: 14px; }
.section__title {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.section__title em {
  font-style: normal;
  font-weight: 360;
  color: var(--violet);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.18em;
  padding: 0 .05em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ============================================================
   ABOUT · mission + founder magazine spread
============================================================ */
.about {
  position: relative;
  isolation: isolate;
}
.about__bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  z-index: -1;
  pointer-events: none;
  display: block;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.about__copy .section__num { display: inline-block; margin-bottom: 14px; }
.about__title {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.0;
  margin: 0 0 clamp(28px, 3vw, 44px);
}

/* polaroid photo */
.about__polaroid {
  position: relative;
  margin: 28px auto 0;
  width: 92%;
  max-width: 460px;
  background: #fdfaf3;
  padding: 16px 16px 56px;
  border-radius: 4px;
  box-shadow:
    0 1px 1px rgba(0,0,0,.04),
    0 28px 60px -18px rgba(26,22,28,.28),
    inset 0 0 0 1px rgba(0,0,0,.025);
  transform: rotate(-3deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.about__polaroid:hover {
  transform: rotate(-1.5deg) translateY(-4px);
}
.about__polaroid-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--stone);
  position: relative;
}
.about__polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.02);
}
.about__polaroid-cap {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Caveat", "Bradley Hand", cursive;
  font-size: 22px;
  color: var(--ink-2);
  letter-spacing: .01em;
  line-height: 1;
}
.about__tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 80px;
  height: 22px;
  background: rgba(220, 210, 243, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(26,22,28,.08);
}

/* right column */
.about__copy {
  display: flex;
  flex-direction: column;
}

.about__quote {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.024em;
  margin: 14px 0 32px;
  padding: 0 0 0 32px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  border-left: 2px solid var(--rose-d);
  position: relative;
}
.about__quote::before {
  content: "“";
  position: absolute;
  top: -38px;
  left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 110px;
  color: var(--rose-d);
  line-height: 1;
  opacity: .35;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  pointer-events: none;
}
.about__quote em {
  color: var(--rose-d);
  font-style: normal;
}

.about__lead {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}

.about__body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

.about__sig {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: auto;
  padding-top: 32px;
  text-align: left;
  align-self: flex-start;
}
.about__sig-img {
  width: 160px;
  height: auto;
  display: block;
  opacity: .9;
}
.about__sig-role { font-size: 11px; color: var(--ink-soft); }

/* pillars strip · runs full width below the spread */
.about__pillars {
  list-style: none;
  padding: 0;
  margin: clamp(36px, 3.5vw, 56px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.about__pillars .pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .35s ease;
  overflow: hidden;
}
.about__pillars .pillar:hover {
  transform: translateY(-4px);
  border-color: var(--pillar-border, var(--ink));
  box-shadow: var(--sh-card);
}
.about__pillars .pillar::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--pillar-glow, transparent);
  opacity: .28;
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}
.about__pillars .pillar > * { position: relative; z-index: 1; }

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--pillar-bg, var(--ivory-2));
  color: var(--pillar-fg, var(--ink));
  margin-bottom: 6px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.about__pillars .pillar:hover .pillar__icon {
  transform: rotate(-6deg) scale(1.06);
}
.pillar__icon svg { width: 26px; height: 26px; }

.pillar__no {
  color: var(--pillar-fg, var(--ink-soft));
  font-size: 10.5px;
  letter-spacing: .14em;
  font-weight: 500;
}

.about__pillars h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 26px);
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin: 0 0 2px;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.about__pillars p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* color variants */
.pillar--mint  { --pillar-bg: rgba(169,220,198,.5);  --pillar-fg: #2c5443;          --pillar-glow: var(--mint);    --pillar-border: var(--mint); }
.pillar--rose  { --pillar-bg: rgba(225,167,194,.5);  --pillar-fg: var(--rose-d);    --pillar-glow: var(--rose);    --pillar-border: var(--rose); }
.pillar--lilac { --pillar-bg: var(--lilac);          --pillar-fg: var(--violet-d);  --pillar-glow: var(--lilac-d); --pillar-border: var(--violet); }

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__pillars { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   FEATURED · editorial magazine spread
============================================================ */
.featured {
  padding-bottom: clamp(32px, 3vw, 48px);
}
.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  margin-top: 24px;
  padding-bottom: 64px; /* breathing room for 60px staggered offset */
}

.cats {
  padding-top: clamp(32px, 3vw, 48px);
  padding-bottom: clamp(32px, 3vw, 48px);
}
.about {
  padding-top: clamp(64px, 6vw, 96px);
}

.feature {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

/* staggered vertical rhythm */
.featured__grid > .feature:nth-child(1) { transform: translateY(0); }
.featured__grid > .feature:nth-child(2) { transform: translateY(60px); }
.featured__grid > .feature:nth-child(3) { transform: translateY(24px); }

.feature:hover { transform: translateY(-6px); }
.featured__grid > .feature:nth-child(2):hover { transform: translateY(54px); }
.featured__grid > .feature:nth-child(3):hover { transform: translateY(18px); }

.feature__media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ivory-2);
  overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: 22px;
  box-shadow:
    0 1px 0 rgba(26,22,28,.04),
    0 30px 50px -10px rgba(26,22,28,.10);
  transition: box-shadow .5s ease;
}
.feature:hover .feature__media {
  box-shadow:
    0 1px 0 rgba(26,22,28,.04),
    0 40px 70px -10px rgba(26,22,28,.16);
}
.feature__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.feature:hover .feature__media img { transform: scale(1.045); }

/* clickable thumbnail + title links */
.feature__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.feature__title-link {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: color .25s ease;
}
.feature__title-link h3 { transition: color .25s ease; }
.feature__title-link:hover h3 { color: var(--violet); }

/* magazine "№ 01" floating label */
.feature__no {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(250,247,242,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink);
  z-index: 3;
  border: 1px solid rgba(255,255,255,.55);
}

/* badges live at the bottom of the image */
.featured__grid .badge {
  top: auto;
  bottom: 14px;
  left: 14px;
}

.feature__body {
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature .cat { color: var(--ink-soft); }
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 2px 0 0;
  font-variation-settings: "opsz" 144;
  transition: color .25s ease;
}
.feature:hover h3 { color: var(--violet); }
.feature p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}
.feature__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.feature__foot .price { font-size: 22px; }

@media (max-width: 980px) {
  .featured__grid {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 32px;
  }
  .featured__grid > .feature:nth-child(n) { transform: translateY(0); }
  .featured__grid > .feature:nth-child(n):hover { transform: translateY(-4px); }
}
@media (max-width: 600px) {
  .featured__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   CATEGORY CARDS · compact horizontal cards w/ accent icons
============================================================ */
.cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cat-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px 14px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--cat-fg, var(--ink));
  box-shadow: var(--sh-1);
}

.cat-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--cat-bg, var(--ivory-2));
  color: var(--cat-fg, var(--ink));
  display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s ease;
}
.cat-card:hover .cat-card__icon { transform: rotate(-6deg) scale(1.05); }
.cat-card__icon svg { width: 24px; height: 24px; }

/* color variants · match thumbnail palettes */
.cat-card--lavender { --cat-bg: var(--lilac);            --cat-fg: var(--violet-d); }
.cat-card--peach    { --cat-bg: rgba(255,210,194,.6);    --cat-fg: #b96b50; }
.cat-card--sky      { --cat-bg: rgba(195,213,242,.6);    --cat-fg: #5872a8; }
.cat-card--sage     { --cat-bg: rgba(170,195,180,.5);    --cat-fg: #3a6555; }
.cat-card--rose     { --cat-bg: rgba(225,167,194,.45);   --cat-fg: var(--rose-d); }
.cat-card--stone    { --cat-bg: rgba(220,210,192,.7);    --cat-fg: #6b5f48; }
.cat-card--mint     { --cat-bg: rgba(169,220,198,.55);   --cat-fg: #2c5443; }
.cat-card--apricot  { --cat-bg: rgba(255,195,155,.55);   --cat-fg: #b86b3f; }

.cat-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cat-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "opsz" 144;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-card__cnt {
  font-size: 10.5px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s ease, gap .2s ease;
}
.cat-card:hover .cat-card__cnt {
  color: var(--cat-fg, var(--violet));
  gap: 8px;
}

@media (max-width: 880px) {
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cats__grid { gap: 10px; }
  .cat-card {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 10px 12px 10px 10px;
  }
  .cat-card__icon { width: 40px; height: 40px; border-radius: 10px; }
  .cat-card__icon svg { width: 18px; height: 18px; }
  .cat-card h3 { font-size: 16px; }
  .cat-card__cnt { font-size: 9.5px; }
}

/* ============================================================
   COLLECTIONS
============================================================ */
.collection { margin-bottom: 80px; }
.collection:last-child { margin-bottom: 0; }
.collection__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.collection__head-text {
  display: flex; align-items: center; gap: 18px;
}
.collection__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--coll-bg, var(--ivory-2));
  color: var(--coll-fg, var(--ink));
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.collection:hover .collection__icon {
  transform: rotate(-6deg) scale(1.05);
}
.collection__icon svg { width: 26px; height: 26px; }
.collection__head h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 6px 0 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 50ch;
}
.collection__head .cat { color: var(--coll-fg, var(--ink-soft)); }
.collection__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* collection variants */
.collection--beauty    { --coll-bg: rgba(255,210,194,.55); --coll-fg: #b96b50; }
.collection--creator   { --coll-bg: rgba(195,213,242,.55); --coll-fg: #5872a8; }
.collection--business  { --coll-bg: rgba(170,195,180,.5);  --coll-fg: #3a6555; }
.collection--organized { --coll-bg: rgba(225,180,200,.42); --coll-fg: var(--rose-d); }

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

/* ============================================================
   PRODUCT CARD
============================================================ */
.pcard {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card);
  border-color: var(--ink);
}
.pcard__media {
  aspect-ratio: 4/3;
  background: var(--stone);
  overflow: hidden;
  position: relative;
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.pcard:hover .pcard__media img { transform: scale(1.04); }
/* second gallery image cross-fades in on hover (desktop) */
.pcard__alt {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .35s ease, transform .6s ease;
}
.pcard:hover .pcard__alt { opacity: 1; }
/* small photo-count pill so buyers know there's more to see */
.pcard__shots {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  background: rgba(31,27,22,.55);
  color: #fff;
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.pcard__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pcard__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pcard h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 2px 0 0;
  font-variation-settings: "opsz" 144;
}
.pcard p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.pcard__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.pcard__foot .price { font-size: 18px; }
.pcard__foot .link-arrow { font-size: 13px; }

/* ============================================================
   WHY · editorial manifesto rows on dark
============================================================ */
.why {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--ivory);
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.why__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.why__spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  will-change: transform;
}
.why__spot--rose {
  top: 8%; left: -4%;
  width: 360px; height: 360px;
  background: var(--rose);
  animation: driftA 22s ease-in-out infinite;
}
.why__spot--violet {
  top: 35%; right: -6%;
  width: 420px; height: 420px;
  background: var(--violet);
  animation: driftB 28s ease-in-out infinite;
  animation-delay: -6s;
}
.why__spot--mint {
  bottom: -8%; left: 38%;
  width: 320px; height: 320px;
  background: var(--mint);
  animation: driftC 24s ease-in-out infinite;
  animation-delay: -12s;
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(70px, -40px) scale(1.12); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 50px) scale(1.08); }
}
@keyframes driftC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -30px) scale(0.94); }
}

.why > *:not(.why__bg) {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
  box-sizing: border-box;
}

.why__head {
  margin-bottom: clamp(32px, 3.5vw, 48px);
}
.why__head .section__num {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(250,247,242,.55);
}
.why__head .section__title {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  color: var(--ivory);
  max-width: 880px;
}
.why__head .section__title em {
  color: var(--rose);
}

.why__list {
  list-style: none;
  padding: 0;
}

.why__item {
  display: grid;
  grid-template-columns: clamp(140px, 18%, 200px) 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-top: 1px solid rgba(250,247,242,.14);
  position: relative;
  transition: padding-left .4s cubic-bezier(.2,.8,.2,1);
  align-items: center;
}
.why__item:last-child { border-bottom: 1px solid rgba(250,247,242,.14); }
.why__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--why-color);
  transition: width .4s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 0 24px var(--why-color);
}
.why__item:hover { padding-left: 24px; }
.why__item:hover::before { width: 4px; }

.why__no {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: center;
}
.why__no-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.9;
  color: var(--why-color);
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.why__no-label {
  color: var(--why-color);
  opacity: .9;
}

.why__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 56ch;
}
.why__copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "opsz" 144;
  color: var(--ivory);
}
.why__copy p {
  color: rgba(250,247,242,.7);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* pastel accents pop on dark */
.why__item--rose   { --why-color: var(--rose);   }
.why__item--violet { --why-color: var(--violet); }
.why__item--mint   { --why-color: var(--mint);   }

@media (max-width: 720px) {
  .why__item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .why__no {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
    padding-top: 0;
  }
  .why__no-num {
    font-size: clamp(56px, 14vw, 80px);
  }
}

/* ============================================================
   SHOP / FILTERS
============================================================ */
.shop__sort { display: flex; align-items: center; gap: 12px; }
.shop__sort label { color: var(--ink-soft); }
.shop__sort select {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 36px 10px 16px;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%2317151C' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.shop__bar {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
}

.shop__search {
  display: flex; align-items: center; gap: 12px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--ink-soft);
  transition: border-color .2s ease;
}
.shop__search:focus-within { border-color: var(--ink); }
.shop__search input {
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}
.shop__search input::placeholder { color: var(--ink-soft); }

.shop__filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: flex-end;
}
.filter {
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink-2);
  transition: all .18s ease;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

@media (max-width: 880px) {
  .shop__bar { grid-template-columns: 1fr; }
  .shop__filters { justify-content: flex-start; }
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .shop__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .shop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .shop__grid { grid-template-columns: 1fr; } }

.shop__empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-soft);
}
.shop__empty p:first-child { color: var(--rose-d); margin-bottom: 8px; }

.shop__more {
  display: flex; justify-content: center;
  margin-top: 40px;
}

/* ============================================================
   STORY
============================================================ */
.story {
  background: var(--ivory-2);
  max-width: none;
  margin: 0;
  padding-left: 0; padding-right: 0;
}
.story__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.story__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--sh-2);
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__cap {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(23,21,28,.55);
  color: var(--ivory);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: .15em;
  backdrop-filter: blur(8px);
}
.story__copy .section__title { font-size: clamp(34px, 4.6vw, 60px); }
.story__lead {
  font-family: var(--serif);
  font-weight: 380;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin: 28px 0 22px;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.story__copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 52ch;
}
.story__sig {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.story__sig-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.story__sig-role { font-size: 11px; }

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

/* ============================================================
   VAULT
============================================================ */
.vault__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.vault__card {
  position: relative;
  background: var(--ivory);
  border: 1px dashed var(--ink);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background .25s ease, color .25s ease;
}
.vault__card .badge { position: static; align-self: flex-start; margin-bottom: 4px; }
.vault__card h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vault__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.vault__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.vault__card:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.vault__card:hover p,
.vault__card:hover .mono { color: rgba(250,247,242,.65); }
.vault__card:hover .vault__foot { border-color: rgba(250,247,242,.18); }

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

/* ============================================================
   FINAL CTA
============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(
    125deg,
    var(--lilac-d) 0%,
    var(--lilac) 22%,
    var(--ivory-2) 50%,
    rgba(255,210,194,.75) 78%,
    var(--peach) 100%
  );
  background-size: 260% 260%;
  background-position: 0% 50%;
  animation: ctaBgFlow 22s ease-in-out infinite;
}
@keyframes ctaBgFlow {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* floating brand-color orbs for depth */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.cta::before {
  width: 420px; height: 420px;
  top: -160px; left: -120px;
  background: var(--rose);
  opacity: .18;
  animation: ctaOrb1 26s ease-in-out infinite;
}
.cta::after {
  width: 360px; height: 360px;
  bottom: -140px; right: -100px;
  background: var(--violet);
  opacity: .14;
  animation: ctaOrb2 30s ease-in-out infinite -8s;
}
@keyframes ctaOrb1 {
  0%, 100% { transform: translate(0, 0)    scale(1); }
  50%      { transform: translate(90px, 70px) scale(1.1); }
}
@keyframes ctaOrb2 {
  0%, 100% { transform: translate(0, 0)      scale(1); }
  50%      { transform: translate(-70px, -50px) scale(1.05); }
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.cta__lead p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0;
  max-width: 44ch;
}
.cta__form {
  background: var(--ivory);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  display: flex; align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-card);
}
.cta__form input {
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  font-size: 15px;
  padding: 12px 0;
  color: var(--ink);
  min-width: 0;
}
.cta__form input::placeholder { color: var(--ink-soft); }
.cta__form button { flex-shrink: 0; }

@media (max-width: 880px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__form { flex-direction: column; padding: 14px; border-radius: var(--r-md); align-items: stretch; }
  .cta__form input { padding: 12px 14px; }
}

/* ============================================================
   FOOTER
============================================================ */
.foot {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(60px, 8vw, 96px) var(--gutter) 32px;
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,247,242,.12);
}
.foot__brand .foot__logo { width: 200px; height: auto; display: block; }
.foot__wordmark {
  font-family: var(--serif);
  font-weight: 360;
  font-size: 44px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ivory);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.foot__dot {
  display: inline-block;
  color: var(--rose);
  transform: translateY(-2px);
}

.foot__email {
  display: inline-block;
  margin-top: 22px;
  color: var(--ivory);
  font-size: 14px;
  border-bottom: 1px solid rgba(250,247,242,.32);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.foot__email:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.foot__social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.foot__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250,247,242,.06);
  border: 1px solid rgba(250,247,242,.14);
  display: grid;
  place-items: center;
  color: rgba(250,247,242,.78);
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.foot__social a:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
  transform: translateY(-2px);
}
.foot__social svg { width: 16px; height: 16px; }
.foot__tag {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(250,247,242,.55);
  letter-spacing: .12em;
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot__cols > div { display: flex; flex-direction: column; gap: 12px; }
.foot__h {
  font-size: 11px;
  color: var(--mint);
  letter-spacing: .14em;
  margin-bottom: 6px;
}
.foot__cols a {
  font-size: 14px;
  color: rgba(250,247,242,.78);
  transition: color .18s ease;
}
.foot__cols a:hover { color: var(--ivory); }

.foot__bot {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px;
  color: rgba(250,247,242,.5);
}
.foot__bot a { color: rgba(250,247,242,.7); }
.foot__bot a:hover { color: var(--ivory); }
.foot__sep { margin: 0 8px; opacity: .4; }

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

/* ============================================================
   SHOP PAGE · atelier showroom
============================================================ */
.page-shop { background: var(--ivory); }

.shop-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(28px, 3vw, 40px);
}
.shop-hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
}
.shop-hero__copy { min-width: 0; }
@media (max-width: 880px) {
  .shop-hero__inner { grid-template-columns: 1fr; }
}
.shop-hero__crumb {
  color: var(--ink-soft);
  display: inline-block;
  margin-bottom: 18px;
}
.shop-hero__crumb a { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.shop-hero__crumb a:hover { color: var(--violet); border-color: var(--violet); }
.shop-hero__title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.shop-hero__title em {
  color: var(--rose-d);
  font-style: normal;
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.shop-hero__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}

.shop-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 3.5vw, 56px);
  row-gap: 22px;
  align-items: start;
}
.shop-page__bar {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* ===== SIDEBAR ===== */
.shop-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.shop-aside > * { flex-shrink: 0; }

/* AI guide CTA card · editorial polish + flow */
.ai-cta {
  position: relative;
  display: block;
  width: 100%;
  padding: 22px 22px 20px;
  text-align: left;
  background:
    linear-gradient(
      125deg,
      #EDE6FA 0%,
      #DAD2F5 22%,
      #E8DAF4 44%,
      #FFE0CD 70%,
      #FBC9B6 100%
    );
  background-size: 220% 220%;
  background-position: 0% 50%;
  border: 1px solid rgba(139,124,255,.30);
  border-radius: var(--r-md);
  cursor: pointer;
  overflow: hidden;
  animation: ctaFlow 16s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
@keyframes ctaFlow {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
.ai-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(150px 110px at 90% -10%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(180px 120px at 10% 110%, rgba(139,124,255,.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ctaGlow 10s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0%   { opacity: .75; }
  100% { opacity: 1;   }
}
.ai-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(91,78,200,.32);
  border-color: var(--violet);
}

/* floating sparkles · bigger, drifting independently */
.ai-cta__sparkles {
  position: absolute;
  top: 12px; right: 14px;
  width: 80px; height: 80px;
  pointer-events: none;
  z-index: 1;
}
.ai-cta__sparkles svg {
  position: absolute;
  color: var(--violet);
  filter: drop-shadow(0 2px 6px rgba(139,124,255,.35));
}
.ai-cta__sparkles svg:nth-child(1) {
  top: 2px;  right: 28px;
  width: 26px; height: 26px;
  opacity: .9;
  animation: float1 5s ease-in-out infinite;
}
.ai-cta__sparkles svg:nth-child(2) {
  top: 30px; right: 2px;
  width: 18px; height: 18px;
  opacity: .75;
  animation: float2 6.5s ease-in-out infinite -1.5s;
}
.ai-cta__sparkles svg:nth-child(3) {
  top: 50px; right: 36px;
  width: 14px; height: 14px;
  opacity: .65;
  animation: float3 4.8s ease-in-out infinite -2.4s;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: .9; }
  50%      { transform: translate(-7px, 6px) rotate(18deg) scale(1.12); opacity: 1; }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: .65; }
  50%      { transform: translate(5px, -7px) rotate(-15deg) scale(1.18); opacity: 1; }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: .55; }
  50%      { transform: translate(-4px, -5px) rotate(22deg) scale(1.25); opacity: .95; }
}

.ai-cta__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  position: relative; z-index: 2;
}
.ai-cta__icon {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ai-cta__icon svg { width: 18px; height: 18px; }
.ai-cta__eyebrow { color: var(--violet-d); font-size: 10.5px; }

.ai-cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 8px;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  position: relative; z-index: 2;
  max-width: 18ch;
}
.ai-cta__sub {
  font-size: 12.5px;
  color: var(--ink-2);
  margin: 0 0 14px;
  line-height: 1.45;
  position: relative; z-index: 2;
}
.ai-cta__start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-d);
  font-weight: 500;
  position: relative; z-index: 2;
  border-bottom: 1px solid var(--violet-d);
  padding-bottom: 3px;
  transition: gap .25s ease;
}
.ai-cta:hover .ai-cta__start { gap: 12px; }

.shop-aside__group {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.shop-aside__group--first {
  border-top: 0;
  padding-top: 0;
}
.shop-aside__h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
  font-weight: 500;
}
.shop-aside__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 2px;
}

.filter-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: 8px;
  text-align: left;
  transition: background .18s ease, color .18s ease;
}
.filter-btn:hover { background: var(--ivory-2); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  color: var(--ivory);
}
.filter-btn.is-active .filter-btn__cnt { color: rgba(250,247,242,.65); }
.filter-btn.is-active .filter-btn__icon { color: var(--ivory); }
.filter-btn.is-active .filter-btn__dot { background: var(--ivory); }

.filter-btn__icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--ico, var(--ink-soft));
  transition: color .2s ease, transform .2s ease;
}
.filter-btn__icon svg { width: 16px; height: 16px; }
.filter-btn:hover .filter-btn__icon { transform: rotate(-4deg); }

.filter-btn__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--ink-soft));
  justify-self: center;
}
.filter-btn__cnt {
  font-size: 10.5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: .04em;
}

/* tag pills · horizontal */
#tagList {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
}
#tagList li { display: contents; }
#tagList .filter-btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  gap: 0;
}
#tagList .filter-btn:hover {
  background: var(--ivory-2);
  border-color: var(--ink);
}
#tagList .filter-btn.is-active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* ===== MAIN ===== */
.shop-main {
  min-width: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

.shop-main__bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.shop-main__count { color: var(--ink-soft); flex-shrink: 0; }
.shop-main__count strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--mono);
}
.shop-main__tools {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; justify-content: flex-end;
}
.shop-main__search {
  display: flex; align-items: center; gap: 10px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink-soft);
  width: 280px;
  max-width: 100%;
  transition: border-color .2s ease, width .25s ease;
}
.shop-main__search:focus-within {
  border-color: var(--ink);
  width: 320px;
}
.shop-main__search input {
  flex: 1;
  border: 0; outline: 0;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}
.shop-main__search input::placeholder { color: var(--ink-soft); }
.shop-main__sort { display: flex; align-items: center; gap: 8px; }
.shop-main__sort label { color: var(--ink-soft); font-size: 10.5px; }
.shop-main__sort select {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 30px 8px 14px;
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%231A161C' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
@media (max-width: 600px) {
  .shop-main__search { width: 100%; }
  .shop-main__tools { width: 100%; }
}

.shop-main__chips {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.active-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.active-chip:hover { border-color: var(--rose-d); background: rgba(225,167,194,.18); }

.shop-main__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1280px) { .shop-main__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .shop-main__grid { grid-template-columns: 1fr; } }

.shop-main__empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-soft);
}
.shop-main__empty p:first-child { color: var(--rose-d); margin-bottom: 8px; }
.shop-main__empty .btn { margin-top: 18px; }

.shop-main__more {
  display: flex; justify-content: center;
  margin-top: 36px;
}

@media (max-width: 980px) {
  .shop-page {
    grid-template-columns: 1fr;
  }
  .shop-aside {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* ============================================================
   AI ASSISTANT PANEL
============================================================ */
.assistant {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.assistant__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,22,28,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s ease;
}
.assistant__panel {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 100%;
  max-width: 520px;
  background: var(--ivory);
  box-shadow: -30px 0 80px -10px rgba(26,22,28,.25);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.assistant.is-open .assistant__backdrop { opacity: 1; }
.assistant.is-open .assistant__panel { transform: translateX(0); }

.assistant__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 28px 32px 16px;
  border-bottom: 1px solid var(--line);
}
.assistant__crumb {
  color: var(--violet-d);
  display: block;
  margin-bottom: 6px;
}
.assistant__title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.assistant__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  flex-shrink: 0;
}
.assistant__close:hover { background: var(--ink); color: var(--ivory); transform: rotate(90deg); }

.assistant__progress {
  display: flex;
  gap: 6px;
  padding: 18px 32px 0;
}
.assistant__step-dot {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  transition: background .25s ease;
}
.assistant__step-dot.is-active { background: var(--violet); }

.assistant__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 32px;
}

.assistant__step { display: none; }
.assistant__step.is-active {
  display: block;
  animation: stepIn .35s ease both;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.assistant__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.assistant__step h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.024em;
  margin: 0 0 24px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}

.assistant__options {
  display: flex; flex-direction: column;
  gap: 10px;
}
.assistant__options button {
  text-align: left;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ivory);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
}
.assistant__options button::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  color: var(--violet);
  transition: opacity .2s ease, transform .25s ease;
}
.assistant__options button:hover {
  border-color: var(--ink);
  transform: translateX(2px);
}
.assistant__options button:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}
.assistant__options button.is-selected {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.assistant__options button.is-selected::after { opacity: 1; color: var(--mint); }

.assistant__results-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 20px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.assistant__results {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.rec {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ivory);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.rec:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--sh-1);
}
.rec__match {
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: "Caveat", cursive;
  font-size: 18px;
  color: var(--rose-d);
  background: var(--ivory);
  padding: 0 8px;
  transform: rotate(-3deg);
  z-index: 2;
}
.rec__media {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stone);
}
.rec__media img { width: 100%; height: 100%; object-fit: cover; }
.rec__body {
  display: flex; flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rec__body .chip { align-self: flex-start; }
.rec__body h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.rec__body p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
}
.rec__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.rec__foot .price { font-size: 16px; }
.rec__foot .link-arrow--cta {
  padding: 6px 12px;
  font-size: 12px;
}

.assistant__noresults {
  color: var(--ink-soft);
  text-align: center;
  padding: 40px 0;
}

.assistant__foot {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.assistant__foot .btn { flex: 1; justify-content: center; }

@media (max-width: 600px) {
  .assistant__panel { max-width: 100%; }
  .assistant__head, .assistant__progress, .assistant__body { padding-left: 22px; padding-right: 22px; }
}

/* ============================================================
   PRODUCT DETAIL PAGE · editorial atelier showcase
============================================================ */
.page-product { background: var(--ivory); }
.product {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
}

.product-empty {
  text-align: center;
  padding: 120px 24px;
}
.product-empty .mono { color: var(--rose-d); display: block; margin-bottom: 14px; }
.product-empty h1 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 10px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.product-empty p { color: var(--ink-soft); margin: 0 0 24px; }

/* breadcrumb */
.product__crumb {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  padding: clamp(28px, 3vw, 44px) 0 clamp(20px, 2vw, 28px);
  color: var(--ink-soft);
}
.product__crumb a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .2s ease, color .2s ease;
}
.product__crumb a:hover { color: var(--violet); border-color: var(--violet); }
.product__crumb-current { color: var(--ink-soft); }

/* hero */
.product__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding-bottom: clamp(64px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}

/* photo block */
.product__media {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}
.product__media-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lilac) 0%, rgba(255,201,182,.55) 100%);
  border-radius: var(--r-lg);
  transform: translate(20px, 20px) rotate(-2deg);
  z-index: 0;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.product__media:hover .product__media-shape {
  transform: translate(28px, 28px) rotate(-2deg);
}
.product__thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--stone);
  filter: drop-shadow(0 25px 22px rgba(26,22,28,.16));
  clip-path: inset(2px 0 2px 0 round var(--r-lg));
}
.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product__icon {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  z-index: 3;
  color: var(--cat-color, var(--ink));
  border: 1px solid rgba(255,255,255,.6);
}
.product__icon svg { width: 26px; height: 26px; }

/* gallery strip · overlays the bottom of the hero image, scrolls horizontally.
   Only rendered when a product has more than one image. */
.product__gallery {
  position: absolute;
  z-index: 2;
  left: 14px; right: 84px; bottom: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.product__gallery::-webkit-scrollbar { display: none; }
.product__gallery-thumb {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(250,247,242,.75);
  background: var(--stone);
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s ease, border-color .2s ease;
}
.product__gallery-thumb:hover { opacity: 1; }
.product__gallery-thumb.is-active { border-color: var(--violet); opacity: 1; }
.product__gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* info column */
.product__info { min-width: 0; }
.product__cat {
  display: inline-block;
  margin-bottom: 18px;
}
.product__title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 18px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.product__lead {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}
.product__intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 50ch;
}

/* buy block */
.product__buy {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.product__buy-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.product__price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 3.8vw, 48px);
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  line-height: 1;
}
.product__price--free {
  color: var(--violet);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
}

.btn--buy {
  background: var(--violet);
  color: var(--ivory);
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: -0.005em;
  box-shadow: 0 12px 24px -6px rgba(139,124,255,.4);
  transition: background .25s ease, transform .25s ease, box-shadow .3s ease, gap .25s ease;
}
.btn--buy:hover {
  background: var(--violet-d);
  color: var(--ivory);
  transform: translateY(-2px);
  gap: 14px;
  box-shadow: 0 18px 32px -6px rgba(91,78,200,.45);
}
.btn--buy-lg { padding: 20px 32px; font-size: 17px; }

.product__buy-meta {
  margin: 0 0 20px;
}
.caveat {
  font-family: "Caveat", cursive;
  font-size: 18px;
  color: var(--rose-d);
  font-weight: 500;
}

.product__guarantees {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 13px;
  color: var(--ink-soft);
}
.product__guarantees li {
  display: inline-flex; align-items: center; gap: 8px;
}
.product__guarantees .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}

@media (max-width: 880px) {
  .product__hero { grid-template-columns: 1fr; }
  .product__media { max-width: 420px; }
}

/* shared section heading */
.product__h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

/* features */
.product__features {
  padding: clamp(56px, 6vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.product__features-grid {
  list-style: none; padding: 0;
  margin: clamp(36px, 4vw, 56px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.feature-item {
  position: relative;
  padding-top: 56px;
}
.feature-item__no {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 0.85;
  color: var(--rose-d);
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  opacity: .6;
}
.feature-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.feature-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .product__features-grid { grid-template-columns: 1fr; }
}

/* audience pull-quote */
.product__audience {
  padding: clamp(56px, 6vw, 88px) 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.product__audience-inner { max-width: 880px; margin: 0 auto; }
.product__quote {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 18px 0 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  position: relative;
  padding: 14px 24px 0;
}
.product__quote::before,
.product__quote::after {
  content: "“";
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose-d);
  opacity: .35;
  font-size: 80px;
  line-height: 1;
  position: absolute;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.product__quote::before { top: -22px; left: -8px; }
.product__quote::after  { content: "”"; bottom: -52px; right: -8px; }

/* founder note */
.product__founder { padding: clamp(56px, 6vw, 88px) 0; border-bottom: 1px solid var(--line); }
.product__founder-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.product__founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--stone);
  box-shadow: 0 24px 50px -12px rgba(26,22,28,.18);
}
.product__founder-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter .5s ease;
}
.product__founder-photo:hover img {
  filter: grayscale(0) contrast(1);
}
.product__founder-text p {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  margin: 14px 0 22px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.product__founder-sig {
  width: 130px;
  height: auto;
  display: block;
  margin-bottom: 6px;
  opacity: .9;
}
.product__founder-role { color: var(--ink-soft); font-size: 11px; }

@media (max-width: 720px) {
  .product__founder-inner { grid-template-columns: 1fr; }
}

/* secondary CTA */
.product__cta {
  text-align: center;
  padding: clamp(64px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.product__cta .btn--buy { margin-top: 22px; }
.product__cta-meta { margin: 14px 0 0; }

/* related */
.product__related { padding: clamp(56px, 6vw, 88px) 0 0; }
.product__related-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
}
.product__related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .product__related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product__related-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FREEBIES PAGE
============================================================ */
.page-freebies { background: var(--ivory); }

.free-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(56px, 6vw, 88px);
}
.free-hero__bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  z-index: -1;
  pointer-events: none;
  display: block;
}
.free-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.free-hero__crumb {
  color: var(--ink-soft);
  display: inline-block;
  margin-bottom: 24px;
}
.free-hero__crumb a { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.free-hero__crumb a:hover { color: var(--violet); border-color: var(--violet); }

.free-hero__handnote {
  display: inline-block;
  font-size: 26px;
  color: var(--rose-d);
  transform: rotate(-3deg);
  margin-bottom: 6px;
}
.free-hero__title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(64px, 10vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.free-hero__lead {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 36px;
  max-width: 48ch;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}

.free-hero__stats {
  list-style: none;
  padding: 28px 0 0;
  margin: 0;
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.free-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.free-hero__stats strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.free-hero__stats span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* gift artwork (PNG icon + floating AI sparkles) */
.free-hero__art {
  position: relative;
  height: 380px;
  display: grid;
  place-items: center;
}
.free-gift {
  position: relative;
  width: 300px;
  height: 300px;
  animation: giftFloat 6s ease-in-out infinite;
}
@keyframes giftFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(0deg); }
}
.free-gift__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 32px rgba(200, 155, 120, .22));
}

.free-gift__sparkle {
  position: absolute;
  color: var(--violet);
  filter: drop-shadow(0 2px 6px rgba(139,124,255,.45));
  pointer-events: none;
}
.free-gift__sparkle svg { width: 100%; height: 100%; display: block; }

.free-gift__sparkle--1 {
  top: -8px;  right: -10px;
  width: 34px; height: 34px;
  animation: sparkleFloat 4s ease-in-out infinite;
}
.free-gift__sparkle--2 {
  top: 60px;  left: -40px;
  width: 24px; height: 24px;
  color: var(--rose-d);
  animation: sparkleFloat 5s ease-in-out infinite -1.5s;
}
.free-gift__sparkle--3 {
  bottom: -10px; right: 30px;
  width: 20px; height: 20px;
  color: #2c5443;
  animation: sparkleFloat 4.5s ease-in-out infinite -2.5s;
}
.free-gift__sparkle--4 {
  top: 30%; right: -36px;
  width: 16px; height: 16px;
  color: var(--rose);
  animation: sparkleFloat 3.8s ease-in-out infinite -0.8s;
}
.free-gift__sparkle--5 {
  bottom: 30%; left: 12px;
  width: 18px; height: 18px;
  color: var(--violet-d);
  animation: sparkleFloat 5.2s ease-in-out infinite -3s;
}
@keyframes sparkleFloat {
  0%, 100% { transform: scale(1) rotate(0deg)   translate(0, 0);    opacity: .75; }
  50%      { transform: scale(1.3) rotate(22deg) translate(-4px, -4px); opacity: 1; }
}

@media (max-width: 880px) {
  .free-hero__inner { grid-template-columns: 1fr; }
  .free-hero__art   { height: 280px; }
  .free-gift        { width: 220px; height: 220px; }
}

/* HOW IT WORKS strip */
.free-how {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.free-how__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.free-how__list li { display: flex; flex-direction: column; gap: 10px; }
.free-how__no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 0.85;
  color: var(--rose-d);
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  opacity: .6;
}
.free-how__list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.free-how__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .free-how__list { grid-template-columns: 1fr; gap: 24px; }
}

/* GRID */
.free-grid-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(60px, 7vw, 96px);
}
.free-grid-head {
  margin-bottom: clamp(28px, 3vw, 40px);
}
.free-grid-head .section__num { display: inline-block; margin-bottom: 12px; }
.free-grid-head .section__title { font-size: clamp(34px, 4.4vw, 56px); }

.free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .free-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .free-grid { grid-template-columns: 1fr; } }

.pcard--free .price.free {
  color: var(--violet);
}

.free-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-soft);
}
.free-empty p:first-child { color: var(--rose-d); margin-bottom: 8px; }

/* ============================================================
   LEGAL MODAL · Terms + Privacy popup
============================================================ */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
}
.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,22,28,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}
.legal-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(.96);
  width: 92%;
  max-width: 720px;
  max-height: 86vh;
  background: var(--ivory);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(26,22,28,.30),
    0 0 0 1px rgba(26,22,28,.06);
  opacity: 0;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.legal-modal.is-open .legal-modal__backdrop { opacity: 1; }
.legal-modal.is-open .legal-modal__panel    {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.legal-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 32px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.legal-modal__crumb {
  display: block;
  margin-bottom: 6px;
  color: var(--violet-d);
}
.legal-modal__title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.legal-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.legal-modal__close:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: rotate(90deg);
}

.legal-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px 32px;
  scrollbar-width: thin;
}
.legal-modal__body::-webkit-scrollbar       { width: 6px; }
.legal-modal__body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* legal document typography */
.legal-doc__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.legal-doc h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 26px 0 8px;
  font-variation-settings: "opsz" 144;
}
.legal-doc h3:first-of-type { margin-top: 0; }
.legal-doc p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-doc li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.legal-doc a {
  color: var(--violet-d);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .2s ease;
}
.legal-doc a:hover { color: var(--rose-d); }
.legal-doc strong { color: var(--ink); font-weight: 500; }

@media (max-width: 600px) {
  .legal-modal__head { padding: 22px 22px 16px; }
  .legal-modal__body { padding: 20px 22px 28px; }
  .legal-modal__panel { max-height: 92vh; width: 96%; }
}

/* ============================================================
   TOAST · subtle bottom-right notification
============================================================ */
.gg-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.gg-toast {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: var(--ivory);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(26,22,28,.04),
    0 18px 40px -8px rgba(26,22,28,.22);
  min-width: 240px;
  max-width: 360px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .28s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}
.gg-toast::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--rose-d) 0%, var(--violet) 100%);
}
.gg-toast.is-shown {
  opacity: 1;
  transform: translateX(0);
}
.gg-toast__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mint);
  color: #1f4a37;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.gg-toast__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gg-toast__label {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.gg-toast__msg {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .gg-toast-wrap { left: 16px; right: 16px; bottom: 16px; }
  .gg-toast { max-width: none; }
}

/* ============================================================
   AUTH-AWARE NAV · show Account when signed in
============================================================ */
.nav__account { display: none; }
.nav__signout { display: none; }
.is-signed-in [data-auth-open] { display: none; }
.is-signed-in .nav__account    { display: inline-flex; align-items: center; }
.is-signed-in .nav__signout    {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.is-signed-in .nav__signout:hover {
  color: var(--rose-d);
  border-color: var(--rose-d);
}

/* ============================================================
   ACCOUNT PAGE · editorial concierge dashboard
============================================================ */
.page-account { background: var(--ivory); }

.acc-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(28px, 3vw, 40px);
}
.acc-hero__inner { max-width: 700px; }
.acc-hero__handnote {
  font-family: "Caveat", cursive;
  font-size: 24px;
  color: var(--rose-d);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 6px;
  font-weight: 500;
}
.acc-hero__title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.acc-hero__lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  max-width: 50ch;
}

/* layout */
.acc-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
}

/* ===== sidebar ===== */
.acc-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-aside__avatar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--ivory-2);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.acc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--peach) 100%);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  box-shadow: 0 6px 14px -4px rgba(185,116,147,.32);
}
.acc-aside__user { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-aside__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-aside__email {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-aside__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.acc-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 10px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.acc-tab svg {
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  transition: color .18s ease;
}
.acc-tab:hover { background: var(--ivory-2); color: var(--ink); }
.acc-tab:hover svg { color: var(--ink); }
.acc-tab.is-active {
  background: var(--ink);
  color: var(--ivory);
}
.acc-tab.is-active svg { color: var(--mint); }
.acc-tab__cnt {
  font-size: 10.5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: .04em;
}
.acc-tab.is-active .acc-tab__cnt { color: rgba(250,247,242,.7); }

.acc-aside__divider {
  height: 1px;
  background: var(--line);
  margin: 8px 14px;
}

.acc-aside__signout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.acc-aside__signout svg { width: 18px; height: 18px; }
.acc-aside__signout:hover { color: var(--ink); background: var(--ivory-2); }

.acc-tab--danger {
  color: var(--rose-d);
}
.acc-tab--danger svg { color: var(--rose-d); }
.acc-tab--danger:hover { background: rgba(225,167,194,.18); color: var(--rose-d); }
.acc-tab--danger.is-active { background: var(--rose-d); color: var(--ivory); }
.acc-tab--danger.is-active svg { color: var(--ivory); }

/* ===== main panel ===== */
.acc-main {
  min-width: 0;
  padding: 0;
  max-width: none;
  margin: 0;
}

.acc-panel { display: none; }
.acc-panel.is-active {
  display: block;
  animation: accPanelIn .35s ease both;
}
@keyframes accPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.acc-panel__head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.acc-panel__head .section__num { display: inline-block; margin-bottom: 12px; }
.acc-panel__title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.024em;
  margin: 0 0 8px;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.acc-panel__sub {
  color: var(--ink-soft);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
}

/* LIBRARY rows */
.acc-library {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acc-lib__row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
  padding: 16px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.acc-lib__row:hover {
  border-color: var(--ink);
  box-shadow: var(--sh-1);
  transform: translateY(-1px);
}
.acc-lib__thumb {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--stone);
  display: block;
}
.acc-lib__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.acc-lib__row:hover .acc-lib__thumb img { transform: scale(1.04); }

.acc-lib__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.acc-lib__meta { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.acc-lib__date { color: var(--ink-soft); font-size: 10.5px; }
.acc-lib__body h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 2px 0 0;
  font-variation-settings: "opsz" 144;
}
.acc-lib__body h4 a { color: inherit; transition: color .2s ease; }
.acc-lib__body h4 a:hover { color: var(--violet); }
.acc-lib__body p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 0;
  line-height: 1.5;
}

.acc-lib__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.acc-lib__price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.acc-lib__price.free {
  color: var(--violet);
  font-style: italic;
  font-weight: 400;
}
.acc-lib__btns {
  display: flex; gap: 6px; flex-wrap: wrap;
  justify-content: flex-end;
}
.acc-lib__btn {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.acc-lib__btn:hover { background: var(--violet); border-color: var(--violet); }
.acc-lib__btn--ghost {
  background: transparent;
  color: var(--ink);
}
.acc-lib__btn--ghost:hover { background: var(--ivory-2); color: var(--ink); }

@media (max-width: 720px) {
  .acc-lib__row { grid-template-columns: 1fr; }
  .acc-lib__thumb { width: 100%; aspect-ratio: 4/3; }
  .acc-lib__actions { align-items: flex-start; }
  .acc-lib__btns { justify-content: flex-start; }
}

/* empty state */
.acc-empty {
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--ivory-2);
}
.acc-empty__note {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--rose-d);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 8px;
  font-weight: 500;
}
.acc-empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.acc-empty p { color: var(--ink-soft); margin: 0 0 22px; max-width: 40ch; margin-left: auto; margin-right: auto; }
.acc-empty__ctas { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* PROFILE form */
.acc-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc-field { display: flex; flex-direction: column; gap: 6px; }
.acc-field span {
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: .14em;
}
.acc-field input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease;
}
.acc-field input:focus {
  outline: 0;
  border-color: var(--ink);
  background: var(--ivory-2);
}
.acc-form__meta {
  font-size: 12px;
  color: var(--ink-soft);
  padding-top: 4px;
}
.acc-form__meta strong { color: var(--ink); font-weight: 500; }
.acc-form__actions { margin-top: 6px; }

/* PREFERENCES */
.acc-prefs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.acc-prefs li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.acc-prefs li:last-child { border-bottom: 1px solid var(--line); }
.acc-prefs h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.acc-prefs p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 56ch;
}

/* toggle switch */
.switch {
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__track {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--line);
  transition: background .25s ease;
  position: relative;
}
.switch__dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 1px 3px rgba(26,22,28,.18);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.switch input:checked + .switch__track {
  background: var(--violet);
}
.switch input:checked + .switch__track .switch__dot {
  transform: translateX(20px);
}
.switch input:focus-visible + .switch__track {
  box-shadow: 0 0 0 3px rgba(139,124,255,.3);
}

/* DANGER */
.acc-danger {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acc-danger__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ivory);
}
.acc-danger__item h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.acc-danger__item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 56ch;
}
.acc-danger__item--hard {
  border-color: rgba(185,116,147,.4);
  background: rgba(225,167,194,.08);
}
.acc-danger__btn {
  background: var(--rose-d);
  color: var(--ivory);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.acc-danger__btn:hover { background: #9c5d7a; transform: translateY(-1px); }

@media (max-width: 720px) {
  .acc-danger__item { grid-template-columns: 1fr; }
  .acc-prefs li     { grid-template-columns: 1fr auto; }
}

@media (max-width: 880px) {
  .acc-page { grid-template-columns: 1fr; }
  .acc-aside { position: static; }
}

/* ============================================================
   AUTH MODAL · sign in / sign up gate
============================================================ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,22,28,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}
.auth-modal__panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(.96);
  width: 92%;
  max-width: 440px;
  max-height: 92vh;
  background: var(--ivory);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(26,22,28,.32),
    0 0 0 1px rgba(26,22,28,.06);
  opacity: 0;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.auth-modal.is-open .auth-modal__backdrop { opacity: 1; }
.auth-modal.is-open .auth-modal__panel    {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* decorative top strip */
.auth-modal__strip {
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--lilac) 0%, var(--rose) 50%, var(--peach) 100%);
}

.auth-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ivory-2);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.auth-modal__close:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: rotate(90deg);
}

.auth-modal__head {
  padding: 28px 32px 18px;
  text-align: left;
}
.auth-modal__handnote {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--rose-d);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 6px;
  font-weight: 500;
}
.auth-modal__title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 4px 0 8px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ink);
}
.auth-modal__sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 36ch;
}

/* tabs */
.auth-modal__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 4px 32px 0;
  border-bottom: 1px solid var(--line);
}
.auth-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 0;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .2s ease;
  position: relative;
  z-index: 1;
}
.auth-tab:hover { color: var(--ink); }
.auth-tab.is-active { color: var(--ink); }
.auth-modal__tab-bar {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--violet);
  transform: translateX(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

/* social OAuth icon buttons */
.auth-modal__social {
  display: flex; flex-direction: row; justify-content: center; gap: 12px;
  padding: 14px 32px 4px;
}
.auth-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  flex-shrink: 0;
}
.auth-social-btn:hover:not(:disabled) {
  border-color: var(--ink-2); box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.auth-social-btn:disabled { opacity: .65; cursor: not-allowed; }
.auth-social-btn--apple { background: #000; border-color: #000; color: #fff; }
.auth-social-btn--apple:hover:not(:disabled) { background: #1a1a1a; border-color: #1a1a1a; }

/* inline error banner inside auth modal */
.auth-modal__error {
  margin: 0 32px 12px;
  padding: 10px 14px;
  background: rgba(232, 102, 122, .08);
  border: 1px solid rgba(232, 102, 122, .35);
  border-radius: 10px;
  color: var(--rose-d, #b8455a);
  font-size: 13px;
  line-height: 1.4;
}

.auth-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 32px 28px;
}

/* form panels */
.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.is-active {
  display: flex;
  animation: authFormIn .3s ease both;
}
@keyframes authFormIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field span {
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: .14em;
}
.auth-field input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease;
}
.auth-field input::placeholder { color: var(--ink-soft); opacity: .6; }
.auth-field input:focus {
  outline: 0;
  border-color: var(--ink);
  background: var(--ivory-2);
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
  margin-top: 2px;
}
.auth-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 1px;
  accent-color: var(--violet);
  cursor: pointer;
  flex-shrink: 0;
}
.auth-check a {
  color: var(--violet-d);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.auth-check a:hover { color: var(--rose-d); }

.auth-forgot {
  font-size: 12px;
  color: var(--ink-soft);
  align-self: flex-end;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin-top: -4px;
}
.auth-forgot:hover { color: var(--violet); }

.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  margin-top: 4px;
  font-size: 14px;
}

/* divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 22px 0 18px;
}
.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  position: relative;
  background: var(--ivory);
  padding: 0 14px;
  color: var(--ink-soft);
  font-size: 10.5px;
  letter-spacing: .14em;
}

.auth-switch {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 18px 0 0;
}
.auth-switch a {
  color: var(--violet-d);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  font-weight: 500;
}
.auth-switch a:hover { color: var(--rose-d); }

@media (max-width: 480px) {
  .auth-modal__head { padding: 22px 22px 14px; }
  .auth-modal__tabs { margin: 0 22px; }
  .auth-modal__body { padding: 18px 22px 24px; }
  .auth-modal__social { padding: 12px 22px 4px; }
}

/* ============================================================
   PAGE TRANSITION · soft fade-in on every load
============================================================ */
@keyframes pageIntro {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageIntro .28s ease-out both;
}

/* native cross-fade between pages where supported (Chromium 126+) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
  animation-timing-function: cubic-bezier(.2,.8,.2,1);
}

/* ============================================================
   MOBILE NAV DRAWER · slide-in panel from the right
   triggered by .nav__toggle hamburger on every page
============================================================ */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 28, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-drawer__panel {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: min(86vw, 380px);
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 28px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -30px 0 80px -10px rgba(26, 22, 28, .25);
  overflow-y: auto;
}
.nav-drawer.is-open .nav-drawer__backdrop { opacity: 1; }
.nav-drawer.is-open .nav-drawer__panel { transform: translateX(0); }

.nav-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
}
.nav-drawer__hand {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--rose-d);
  transform: rotate(-3deg);
  display: inline-block;
}
.nav-drawer__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.nav-drawer__close:hover { background: var(--lilac); transform: rotate(90deg); }

.nav-drawer__links {
  display: flex; flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.nav-drawer__links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 6px;
  font-family: var(--serif);
  font-weight: 360;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  transition: color .2s ease, padding-left .25s ease;
  font-variation-settings: "opsz" 144;
}
.nav-drawer__links a:hover { color: var(--violet); padding-left: 14px; }
.nav-drawer__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-drawer__cta {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.nav-drawer__cta .btn { width: 100%; justify-content: center; }
.nav-drawer__signin,
.nav-drawer__signout {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease;
}
.nav-drawer__signin:hover,
.nav-drawer__signout:hover { color: var(--rose-d); }

/* signed-in / signed-out toggle inside drawer */
.nav-drawer__account,
.nav-drawer__signout { display: none; }
.is-signed-in .nav-drawer__signup,
.is-signed-in .nav-drawer__signin { display: none; }
.is-signed-in .nav-drawer__account,
.is-signed-in .nav-drawer__signout { display: block; }

.nav-drawer__foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex; flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-2);
}
.nav-drawer__foot a { color: var(--ink); }
.nav-drawer__foot a:hover { color: var(--violet); }

/* ============================================================
   MOBILE POLISH · 600px and below
   final-pass refinements after the per-section breakpoints above
============================================================ */
@media (max-width: 600px) {

  /* ----- announce bar : compact single tap target ----- */
  .announce__inner {
    padding: 8px 14px;
    gap: 8px;
    font-size: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: hidden;
  }
  .announce__pill {
    font-size: 9.5px;
    letter-spacing: .12em;
    padding: 3px 7px;
    flex-shrink: 0;
  }
  .announce__msg {
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
  }
  .announce__link {
    flex-shrink: 0;
    font-size: 12px;
  }

  /* ----- nav : tighten so the row fits on a 375px viewport ----- */
  .nav {
    padding: 14px var(--gutter);
    gap: 12px;
    grid-template-columns: 1fr auto;
  }
  .nav__logo { width: 112px; }
  .nav__actions { gap: 10px; }

  /* on mobile: only the hamburger lives in the header. Every other
     CTA (Sign up, Log in, Account, Sign out) is inside the drawer */
  .nav__login,
  .nav__actions .btn,
  .nav__signout { display: none; }
  .is-signed-in .nav__login,
  .is-signed-in .nav__actions .btn,
  .is-signed-in .nav__signout { display: none; }

  /* ----- hero : tighter type, stacked CTAs ----- */
  .hero { padding-top: 8px; }
  .hero__grid { min-height: auto; gap: 32px; }
  .hero__headline {
    font-size: clamp(48px, 13vw, 64px);
    letter-spacing: -0.03em;
  }
  .hero__lead { font-size: 17px; margin-bottom: 28px; }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 40px;
  }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .hero__meta { gap: 24px; padding-top: 22px; }
  .hero__meta strong { font-size: 26px; }

  /* ----- shop page : flatten sidebar, horizontal scroll filters ----- */
  .shop-page {
    padding-bottom: clamp(60px, 8vw, 100px);
    row-gap: 14px;
    min-width: 0;
  }
  .shop-page > * { min-width: 0; }
  .shop-aside { gap: 14px; min-width: 0; max-width: 100%; }
  .shop-aside__group { min-width: 0; max-width: 100%; }

  /* compact AI guide card */
  .ai-cta {
    padding: 16px 16px 14px;
    border-radius: var(--r-md);
  }
  .ai-cta__title { font-size: 18px; line-height: 1.2; }
  .ai-cta__sub { font-size: 13px; line-height: 1.45; }

  /* filters: each group becomes a horizontal scrollable chip row */
  .shop-aside__group { padding-top: 14px; }
  .shop-aside__h { margin-bottom: 8px; font-size: 10px; }
  .shop-aside__list {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .shop-aside__list::-webkit-scrollbar { display: none; }
  .shop-aside__list li { flex-shrink: 0; }
  .shop-aside__list .filter-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 999px;
    background: var(--ivory);
    border: 1px solid var(--line);
    grid-template-columns: none;
  }
  .shop-aside__list .filter-btn__icon {
    width: 16px; height: 16px;
  }
  .shop-aside__list .filter-btn__icon svg {
    width: 14px; height: 14px;
  }
  .shop-aside__list .filter-btn__cnt {
    font-size: 10px;
    opacity: .7;
  }
  .shop-aside__list .filter-btn__dot {
    width: 6px; height: 6px;
  }
  .shop-aside__list .filter-btn.is-active {
    background: var(--ink);
    color: var(--ivory);
    border-color: var(--ink);
  }

  /* shop main bar: count on its own line, search full-width */
  .shop-main__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .shop-main__count { text-align: left; }
  .shop-main__tools {
    justify-content: space-between;
    width: 100%;
  }
  .shop-main__search { width: 100%; }
  .shop-main__sort { width: 100%; justify-content: space-between; }
  .shop-main__sort select { flex: 1; }

  /* ----- product page : tighten gallery & header ----- */
  .product__gallery { padding: 16px; }
  .product__header { padding: 8px 0 24px; }

  /* ----- account page : drop sticky sidebar, tighten avatar card ----- */
  .acc-page {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 60px;
  }
  .acc-aside {
    position: static;
    gap: 10px;
  }
  .acc-aside__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .acc-tab {
    padding: 10px 12px;
    font-size: 13px;
  }
  .acc-tab__cnt { font-size: 10px; }

  /* library row collapses thumbnail + actions to a stacked card */
  .acc-lib__row {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 14px;
  }
  .acc-lib__thumb { width: 64px; }
  .acc-lib__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 4px;
  }

  /* ----- generic vertical rhythm trim on long pages ----- */
  .section,
  section.about,
  section.collections,
  section.featured,
  section.cta-final {
    padding-top: clamp(48px, 8vw, 72px);
    padding-bottom: clamp(48px, 8vw, 72px);
  }

  /* ----- about : flatten the wavy background, tighten quote ----- */
  .about__bg { display: none; }
  .about {
    background: linear-gradient(180deg,
      rgba(252, 223, 208, 0) 0%,
      rgba(252, 223, 208, 0.32) 12%,
      rgba(252, 223, 208, 0.32) 88%,
      rgba(252, 223, 208, 0) 100%);
  }
  .about__title {
    font-size: 36px;
    line-height: 1.05;
    margin-bottom: 24px;
  }
  .about__title br { display: none; }
  .about__quote {
    font-size: 22px;
    line-height: 1.25;
    padding-left: 18px;
    margin: 22px 0 24px;
    text-wrap: balance;
  }
  .about__quote br { display: none; }
  .about__quote::before {
    font-size: 56px;
    top: -18px;
    left: 6px;
  }
  .about__lead { font-size: 16.5px; }
  .about__body { font-size: 14.5px; line-height: 1.6; }
  .about__polaroid { margin-top: 8px; max-width: 280px; }
  .about__pillars { gap: 16px; margin-top: 32px; }
  .about__pillars .pillar { padding: 22px 22px 24px; }

  /* ----- featured (My picks) : tighten card spacing ----- */
  .featured__grid { gap: 32px; padding-bottom: 0; }
}

/* ----- 480px and below : extra-tight phones ----- */
@media (max-width: 480px) {
  .announce__msg {
    font-size: 11.5px;
  }
  .hero__headline { font-size: clamp(44px, 12vw, 56px); }
  .hero__meta {
    flex-wrap: wrap;
    gap: 18px 24px;
  }
  .acc-aside__list {
    grid-template-columns: 1fr;
  }
  .nav__logo { width: 100px; }
}

/* ============================================================
   PRINT · reset for safety
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.gg-consent {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: 680px; width: calc(100% - 40px);
  padding: 14px 18px;
  background: var(--ink); color: var(--ivory);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
  font-size: 13px;
}
.gg-consent--in  { opacity: 1; transform: translateX(-50%) translateY(0); }
.gg-consent--out { opacity: 0; transform: translateX(-50%) translateY(16px); pointer-events: none; }
.gg-consent__text { flex: 1; line-height: 1.5; margin: 0; }
.gg-consent__link { color: var(--violet-l, #b8b0ff); text-decoration: underline; }
.gg-consent__btns { display: flex; gap: 8px; flex-shrink: 0; }
.gg-consent__btn {
  padding: 7px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer; border: none;
  transition: opacity .15s;
}
.gg-consent__btn:hover { opacity: .85; }
.gg-consent__btn--accept { background: var(--violet); color: #fff; }
.gg-consent__btn--decline { background: rgba(255,255,255,.12); color: var(--ivory); }

/* ==================== MY STORY PAGE ==================== */
.story { padding: 140px 20px 90px; }
.story__wrap { max-width: 680px; margin: 0 auto; }
.story__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.story__title {
  font-family: "Fraunces", serif; font-weight: 560;
  font-size: clamp(40px, 7vw, 64px); line-height: 1.05; margin-bottom: 34px;
}
.story__title em { font-style: normal; color: var(--rose-d); }
.story__body p { margin-bottom: 20px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.story__open { font-family: "Fraunces", serif; font-size: 22px !important; }
.story__body p em { font-style: italic; color: var(--rose-d); }
.story__close { font-family: "Caveat", cursive; font-size: 30px !important; color: var(--rose-d); margin-top: 28px; }
.story__cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.story .about__sig { margin-top: 26px; }

/* ==================== TESTIMONIALS (hidden until real quotes arrive) ==================== */
.testimonials[hidden] { display: none; }
.testimonials { padding: 70px 20px; }
.testimonials__wrap { max-width: 1080px; margin: 0 auto; text-align: center; }
.testimonials__title { font-family: "Fraunces", serif; font-weight: 560; font-size: clamp(26px, 4vw, 38px); margin-bottom: 36px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; text-align: left; }
.tcard { background: #fff; border: 1px solid rgba(31,27,22,.1); border-radius: 16px; padding: 22px; }
.tcard__quote { font-size: 15.5px; line-height: 1.65; margin-bottom: 14px; }
.tcard__name { font-family: "Caveat", cursive; font-size: 20px; color: var(--rose-d); }

/* ==================== 404 PAGE ==================== */
.notfound { padding: 170px 20px 120px; }
.notfound__wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.notfound__code { color: var(--rose-d); letter-spacing: .22em; }
.notfound__title {
  font-family: "Fraunces", serif; font-weight: 560;
  font-size: clamp(42px, 8vw, 72px); line-height: 1.04; margin: 18px 0 20px;
}
.notfound__title em { font-style: normal; color: var(--rose-d); }
.notfound__sub { color: var(--ink-soft, #6b6258); max-width: 46ch; margin: 0 auto 32px; line-height: 1.65; }
.notfound__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
