/* ==========================================================================
   Stolen — main stylesheet
   1. Tokens          5. Cards               9.  Look detail
   2. Base            6. Home                10. Stylist profile
   3. Layout & type   7. Page head/filters   11. Submit a look (forms)
   4. Header/footer   8. Grids               12. Utilities, toast, dialog
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  --ink: #1f1e1c;            /* charcoal, like the black metal frames */
  --ink-soft: #3d3b37;
  --muted: #77736c;
  --paper: #ffffff;          /* page background: white */
  --ecru: #efeeea;           /* whitewashed brick: header, top of pages, feature panels */
  --stone: #f6f5f2;          /* softest plaster: image placeholders, quiet panels */
  --sand: #dedbd5;           /* concrete grey: hovers, dividers */
  --line: rgba(31, 30, 28, 0.12);
  --line-strong: rgba(31, 30, 28, 0.3);
  --white: #ffffff;
  --accent: #660033;          /* burgundy: words and small marks in the accent colour */
  --accent-bright: #e8c3bd;   /* blush (newspaper pink): every underline, line, border and outline */
  --accent-solid: #660033;    /* burgundy: every solid fill, always with white words on it */
  --wood: #8b6f58;            /* washed oak / leather: a warm neutral for small touches */
  --accent-soft: #f4e8ed;     /* pale blush tint for quiet panels */
  --danger: #9b2c2c;

  --serif: 'Archivo', system-ui, sans-serif;          /* headings: clean industrial grotesk */
  --mono: 'IBM Plex Mono', ui-monospace, monospace;     /* small labels, like stencilled tags */
  --editorial: 'Playfair Display', Georgia, serif;   /* only for the "Editorial" notes font */
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Archivo', var(--sans);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1560px;
  --header-h: 64px;
  --section: clamp(72px, 10vw, 144px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
}

/* 2. BASE ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

/* Anything marked hidden stays hidden, whatever display a class gives it */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

::selection { background: var(--ink); color: var(--paper); }

svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
}
.skip-link:focus { top: 12px; }

/* 3. LAYOUT & TYPE ========================================================= */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main { display: block; }

/* Every page except home sits below the fixed header */
body:not([data-header='overlay']) main { padding-top: var(--header-h); }

.kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.h2 { font-size: clamp(1.9rem, 3.6vw, 3.25rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

.lede {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 38rem;
}

.italic { font-style: italic; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 1em; }
.link-arrow svg { font-size: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { font-size: 1rem; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--ink-soft); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--ghost { border-color: transparent; padding-inline: 0.5rem; }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--danger { color: var(--danger); border-color: currentColor; }
.btn--danger:hover { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn--sm { min-height: 40px; padding: 0 1.25rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* Chips (tags) */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
a.chip:hover, button.chip:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Avatars */
.avatar {
  --size: 40px;
  display: inline-grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--initials, .avatar-fallback {
  font-family: var(--serif);
  font-size: calc(var(--size) * 0.38);
  color: var(--ink-soft);
}
.avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: clamp(2rem, 6vw, 4rem);
  background: var(--sand);
}

/* 4. HEADER & FOOTER ======================================================= */
.wordmark {
  font-family: var(--brand);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ink);
  background: rgba(239, 238, 234, 0.96);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-nav { display: none; }

.site-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-header__cta { display: none; }

.menu-toggle {
  min-height: 40px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Transparent variant over the home hero */
.site-header.is-overlay:not(.menu-open) {
  color: var(--white);
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.is-overlay:not(.menu-open) .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, 0.8); }
.site-header.is-overlay:not(.menu-open) .btn--outline:hover { background: var(--white); color: var(--ink); }
.site-header.is-overlay:not(.menu-open) :focus-visible { outline-color: var(--white); }

/* Six links plus the account: the full menu needs 1100px; narrower screens use the Menu button */
@media (min-width: 1100px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(1.25rem, 2.2vw, 3rem);
  }
  .site-nav a {
    position: relative;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.5rem 0;
  }
  .site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0.2rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current]::after { transform: scaleX(1); }
  .site-header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .wordmark { font-size: 1.85rem; }
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  color: var(--ink);
  padding: 2rem var(--gutter);
  overflow-y: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a[aria-current] { font-style: italic; }
.mobile-menu__cta { margin-top: 1.5rem; border-bottom: 0 !important; font-style: italic; }

.site-footer {
  margin-top: var(--section);
  padding: clamp(48px, 6vw, 80px) 0 2rem;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: grid;
  gap: 2.5rem;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-footer__brand p { margin-top: 1rem; max-width: 22rem; color: var(--muted); font-size: 0.9rem; }
.site-footer__col { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.site-footer__col .kicker { margin-bottom: 0.4rem; }
.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-inline: var(--gutter);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
}
/* The currency switcher: a quiet text-like select, like the big shops' footers */
.currency-switch select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 0.35rem 1.6rem 0.35rem 0.6rem; border: 1px solid var(--line); border-radius: 0; background: transparent;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-soft);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 8px) 55%; background-size: 4px 4px; background-repeat: no-repeat;
}
.currency-switch select:hover, .currency-switch select:focus { border-color: var(--ink); color: var(--ink); outline: none; }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* 5. CARDS ================================================================= */
.look-card { position: relative; min-width: 0; }

.look-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--stone);
}
.look-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
@media (hover: hover) {
  .look-card__link:hover .look-card__media img { transform: scale(1.035); }
}

.look-card__count {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 2px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.92);
}

.look-card__body { padding: 0.85rem 2.5rem 0 0; }
.look-card__title { font-size: 1.05rem; line-height: 1.25; }
.look-card__meta {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.save-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.1rem;
  transition: background-color 0.2s;
}
.save-btn:hover { background: var(--paper); }
.save-btn[aria-pressed='true'] svg { fill: currentColor; }
.save-btn--label {
  position: static;
  display: inline-flex;
  gap: 0.6rem;
  width: auto;
  height: 48px;
  padding: 0 1.5rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.save-btn--label[aria-pressed='true'] { background: var(--ink); color: var(--paper); }

.stylist-card { display: flex; flex-direction: column; min-width: 0; }
.stylist-card__portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
}
.stylist-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 0.9s var(--ease), filter 0.5s;
}
@media (hover: hover) {
  .stylist-card:hover .stylist-card__portrait img { transform: scale(1.03); filter: grayscale(0); }
}
.stylist-card__body { padding-top: 1.1rem; }
.stylist-card__name { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-top: 0.35rem; }
.stylist-card__specialty { margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.95rem; }
.stylist-card__count { margin-top: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.stylist-card__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 1rem;
}
.stylist-card__strip span { aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.stylist-card__strip img { width: 100%; height: 100%; object-fit: cover; }

/* 6. HOME ================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Deliberately shorter than the viewport so the next section peeks in */
  height: calc(100svh - 3cm);
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(40px, 7vh, 80px);
}
.hero__kicker { color: var(--ecru); margin-bottom: 1.25rem; }
.hero__title {
  max-width: 23ch;
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
}
.hero__actions .link-arrow { color: var(--white); }

/* Zara-style editorial Q&A */
.editorial__block {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
}
.editorial__block:nth-child(even) { background: var(--ecru); }

.editorial__media {
  position: relative;
  height: 78svh;
  min-height: 420px;
  overflow: hidden;
  background: var(--sand);
}
.editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 9vw, 120px) var(--gutter);
}
.editorial__index {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.editorial__index::after { content: ''; width: 48px; height: 1px; background: var(--line-strong); }
.editorial__text h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.05;
}
.editorial__text p {
  max-width: 30rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--ink-soft);
}
.editorial__text .link-arrow { margin-top: 2.25rem; align-self: flex-start; }

@media (min-width: 900px) {
  .editorial__block { grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .editorial__block.is-reversed .editorial__media { order: 2; }
  .editorial__media { height: auto; min-height: 100%; }
  .editorial__text { padding: 8vw clamp(48px, 7vw, 128px); }
}

/* Home rails */
.rail { padding-top: var(--section); }
.rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.rail__head .kicker { margin-bottom: 0.75rem; }

.cta-band {
  margin-top: var(--section);
  padding: clamp(72px, 11vw, 160px) 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta-band .kicker { color: var(--ecru); opacity: 0.85; }
.cta-band h2 {
  max-width: 18ch;
  margin: 1.25rem auto 0;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
}
.cta-band p { max-width: 34rem; margin: 1.5rem auto 2.25rem; color: rgba(255, 255, 255, 0.8); }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; border-top: 0; }

/* 7. PAGE HEAD & FILTERS =================================================== */
.page-head {
  padding-top: clamp(40px, 7vw, 104px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.page-head .kicker { margin-bottom: 1rem; }
.page-head .lede { margin-top: 1.25rem; }

.filterbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
}
.filterbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 64px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 12px;
}
.filterbar__inner::-webkit-scrollbar { display: none; }

.search {
  position: relative;
  flex: 0 0 auto;
  width: min(15rem, 60vw);
}
.search input {
  width: 100%;
  height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  font-size: 0.85rem;
}
.search input:focus { outline: none; border-color: var(--ink); }

.select {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 2.25rem 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 14px;
  font-size: 0.8rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select:focus-visible { outline-offset: 2px; }
.select.is-active {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf8f4' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color: var(--paper);
}

.toggle {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.8rem;
  cursor: pointer;
  user-select: none;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toggle:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.filterbar__spacer { flex: 1 0 1rem; }

.density {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 0.25rem;
}
.density button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--muted);
}
.density button[aria-pressed='true'] { color: var(--ink); }
.density svg { font-size: 1.15rem; stroke-width: 1.2; }

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: 56px;
  padding-block: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.results-bar .chip { gap: 0.4rem; color: var(--ink); }
.results-bar .chip svg { font-size: 0.8rem; }
.results-bar__clear { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-size: 0.8rem; }

/* 8. GRIDS ================================================================= */
.look-grid {
  --cols: 2;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 3rem) clamp(8px, 1.2vw, 16px);
}
@media (min-width: 700px) { .look-grid { --cols: 3; } }
@media (min-width: 1100px) { .look-grid { --cols: 4; } }

.look-grid[data-density='compact'] { --cols: 3; }
.look-grid[data-density='compact'] .look-card__body { display: none; }
@media (min-width: 700px) { .look-grid[data-density='compact'] { --cols: 4; } }
@media (min-width: 1100px) { .look-grid[data-density='compact'] { --cols: 6; } }

.stylist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 4.5rem) clamp(16px, 2vw, 32px);
}
@media (min-width: 560px) { .stylist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stylist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.empty {
  grid-column: 1 / -1;
  padding: clamp(48px, 8vw, 96px) 0;
  text-align: center;
}
.empty__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); }
.empty__body { margin: 0.75rem auto 1.75rem; max-width: 30rem; color: var(--muted); }

/* 9. LOOK DETAIL =========================================================== */
.look-back { padding-block: 1.25rem; }
.look-back a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.look-back a:hover { color: var(--ink); }
.look-back svg { transform: rotate(180deg); }

.look-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.look-gallery {
  display: flex;
  gap: 6px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.look-gallery::-webkit-scrollbar { display: none; }
.look-gallery figure {
  flex: 0 0 86%;
  margin: 0;
  scroll-snap-align: center;
  background: var(--stone);
}
.look-gallery figure:only-child { flex-basis: 100%; }
.look-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.look-info__stylist {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.look-info__stylist strong { font-weight: 500; }
.look-info__stylist:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.look-info h1 {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.02;
}
.look-info__notes {
  margin-top: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.look-info__section { margin-top: 2.25rem; }
.look-info__section > .kicker { margin-bottom: 0.9rem; }
.look-info__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.pieces { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.pieces li { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--line); }
.pieces__main {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
}
.pieces__name { font-family: var(--serif); font-size: 1.1rem; }
.pieces__meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.pieces__main:hover .pieces__name { font-style: italic; }

.look-published {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .look-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 112px);
    align-items: start;
  }
  .look-gallery {
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .look-gallery figure { flex: none; }
  .look-gallery img { aspect-ratio: auto; }
  .look-info {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    padding-bottom: 2rem;
  }
}

/* 10. STYLIST PROFILE ====================================================== */
.profile-hero {
  display: grid;
  gap: 2rem;
  padding-top: clamp(24px, 5vw, 72px);
}
.profile-hero__portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stone);
  max-width: 520px;
}
.profile-hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero__info { align-self: start; }
.profile-hero__info > :first-child { margin-top: 0; line-height: 1; }
.profile-hero__info .display { margin-top: 1rem; }
.profile-hero__specialty {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--ink-soft);
}
.profile-hero__bio { margin-top: 1.5rem; max-width: 36rem; color: var(--ink-soft); white-space: pre-line; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.stats dt { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0.25rem 0 0; font-family: var(--serif); font-size: 1.4rem; }
.stats a:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.profile-looks { padding-top: var(--section); }
.profile-looks__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.chip[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

@media (min-width: 900px) {
  .profile-hero { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); }
  .profile-hero__portrait { max-width: none; }
  .profile-hero__info { padding-bottom: 1rem; }
}

/* 11. SUBMIT A LOOK / FORMS ================================================ */
.steps {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.steps [aria-current] { color: var(--ink); }
.steps span::before { content: attr(data-n) ' '; font-family: var(--serif); letter-spacing: 0; font-size: 0.9rem; }

.submit-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .submit-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(48px, 7vw, 120px); align-items: start; }
}

.form-section {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.form-section:first-child,
.poster-as + .form-section { border-top: 0; padding-top: 0; }
.form-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.25rem;
  align-items: baseline;
  margin-bottom: 1.75rem;
}
.form-section__n { font-family: var(--serif); font-size: 1rem; color: var(--muted); }
.form-section__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-section__head p { grid-column: 2; margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field + .field, .field-row + .field, .field + .field-row { margin-top: 1.5rem; }
.field-row { display: grid; gap: 1.5rem; }
.field-row > .field { margin-top: 0; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label .optional { color: var(--muted); letter-spacing: 0.05em; text-transform: none; font-weight: 400; }
.hint { font-size: 0.8rem; color: var(--muted); }

.input, .textarea, .field select {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.textarea {
  min-height: 150px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  resize: vertical;
  line-height: 1.6;
}
.input:focus, .textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: #a6a199; }
.input[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--danger); }
.field__error { font-size: 0.8rem; color: var(--danger); }

/* Choice chips (checkbox groups) */
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset + fieldset { margin-top: 1.75rem; }
legend { padding: 0; margin-bottom: 0.8rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.85rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice:hover span { border-color: var(--ink); }

/* Dropzone */
.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 2rem;
  border: 1px dashed var(--line-strong);
  text-align: center;
  background: var(--stone);
  transition: background-color 0.2s, border-color 0.2s;
}
.dropzone.is-dragging { background: var(--sand); border-color: var(--ink); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.dropzone__title { font-family: var(--serif); font-size: 1.4rem; }
.dropzone__title u { text-underline-offset: 4px; }
.dropzone__hint { margin-top: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.dropzone.is-compact { min-height: 96px; }
.dropzone.is-compact .dropzone__title { font-size: 1.05rem; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 1rem;
}
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 3 / 4; background: var(--stone); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__badge {
  position: absolute;
  left: 6px; top: 6px;
  padding: 2px 7px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
}
.thumb__actions {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}
.thumb__actions button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.15s var(--ease);
}
.thumb__actions button:hover, .thumb__actions button:focus-visible { background: rgba(255, 255, 255, 0.22); }
.thumb__actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Pieces repeater */
.piece-rows { display: grid; gap: 1rem; }
.piece-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem 1rem;
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.piece-row .field:first-child { grid-column: 1 / -1; }
.piece-row .field + .field { margin-top: 0; }
.piece-row__remove {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--muted);
  font-size: 1.1rem;
}
.piece-row__remove:hover { color: var(--danger); }
@media (min-width: 720px) {
  .piece-row { grid-template-columns: 2fr 1.2fr 1.2fr auto; border-bottom: 0; padding-bottom: 0; }
  .piece-row .field:first-child { grid-column: auto; }
}
.add-piece { margin-top: 1.25rem; }

.poster-as {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  background: var(--stone);
  font-size: 0.9rem;
}
.poster-as a { margin-left: auto; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.form-error {
  width: 100%;
  font-size: 0.9rem;
  color: var(--danger);
}
.form-error:empty { display: none; }

.preview-aside { display: none; }
@media (min-width: 1000px) {
  .preview-aside { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  .preview-aside .kicker { margin-bottom: 1rem; }
  .preview-aside .look-card__media:empty::after {
    content: 'Your cover image';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    color: var(--muted);
  }
  .preview-aside .hint { margin-top: 1.25rem; }
}

.portrait-field { display: flex; align-items: center; gap: 1.25rem; }
.portrait-field .avatar { --size: 72px; }
.portrait-field label.btn { position: relative; overflow: hidden; }
.portrait-field input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* 12. UTILITIES, TOAST, DIALOG ============================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 0.85rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.dialog::backdrop { background: rgba(17, 17, 17, 0.55); }
.dialog__inner { padding: clamp(24px, 5vw, 48px); }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.dialog__close { display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.2rem; }

.not-found { padding-block: clamp(80px, 14vw, 180px); text-align: center; }
.not-found .lede { margin: 1.25rem auto 2rem; }

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

/* 13. ACCOUNTS & SIGN IN =================================================== */
.site-header__account {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0;
}
.site-header__account:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1100px) {
  .site-header__end { gap: 1.75rem; }
  .site-header__account { display: inline-block; white-space: nowrap; }
}
.mobile-menu__account { margin-top: 1rem; }
.mobile-menu__account .site-header__account {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Avoid a flash of empty content while data loads */
html.is-loading body:not([data-page="home"]) main { opacity: 0; }
main { transition: opacity 0.25s var(--ease); }

.auth-layout {
  display: grid;
  min-height: calc(100svh - var(--header-h));
}
.auth-layout__media { display: none; background: var(--stone); }
.auth-layout__media img { width: 100%; height: 100%; object-fit: cover; }
.auth-layout__panel {
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 96px) var(--gutter);
}
.auth-card { width: 100%; max-width: 26rem; }
.auth-card__title { margin-top: 0.9rem; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.05; }
.auth-card__lede { margin-top: 1rem; color: var(--ink-soft); }
.auth-card__lede code { font-size: 0.85em; background: var(--stone); padding: 0.1em 0.35em; }
.auth-card form { margin-top: 2rem; }
.auth-card > .btn { margin-top: 2rem; }
.auth-card__or + .btn { margin-top: 0; }
.auth-card form .btn { margin-top: 1.75rem; }
.auth-card .form-error { margin-top: 1rem; }
.auth-card__label-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-card__peek, .auth-card__link {
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink-soft);
}
.auth-card__peek:hover, .auth-card__link:hover { color: var(--ink); }
.auth-card__row { display: flex; justify-content: flex-end; margin-top: 0.75rem; }
.auth-card__or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-card__or::before, .auth-card__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-card__switch { margin-top: 2rem; font-size: 0.9rem; color: var(--muted); }
body[data-page='signin'] .site-footer { margin-top: 0; }

/* Sign-up (welcome.html): a long form, so it starts at the top and the photo stays put while you scroll */
.auth-layout--long .auth-layout__panel { place-items: start center; padding-top: clamp(24px, 4vw, 56px); }
.welcome-panel { width: 100%; max-width: 40rem; }
.welcome-head { padding-inline: 0; padding-top: 0; }
.auth-layout--long .welcome-title { font-size: clamp(2.1rem, 3.4vw, 3.2rem); line-height: 1.05; }
body[data-page='welcome'] .site-footer { margin-top: 0; }
/* Keep the scrollbar's space from the start, so the photo doesn't narrow when the form makes the page scroll */
html:has(body[data-page='signin']), html:has(body[data-page='welcome']) { scrollbar-gutter: stable; }

@media (min-width: 900px) {
  .auth-layout { grid-template-columns: 1fr 1fr; }
  /* Exactly one screen tall and pinned: the photo never resizes ("zooms") when the form below loads or grows */
  .auth-layout__media { display: block; position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); align-self: start; }
}

/* 14. STYLISTS' OWN TAGS =================================================== */
.custom-tags { margin-top: 1.75rem; }
.custom-tags .hint { max-width: 36rem; }
.tag-box { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.tag-list:empty { display: none; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0 0.4rem 0 0.95rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
}
.tag-chip::before { content: '#'; opacity: 0.55; margin-right: -0.2rem; }
.tag-chip button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: inherit;
  font-size: 0.75rem;
}
.tag-chip button:hover { background: rgba(255, 255, 255, 0.18); }
.tag-box__entry { display: flex; align-items: flex-end; gap: 0.75rem; }
.tag-box__entry .input { flex: 1; min-width: 0; }
.tag-box__entry .input:disabled { opacity: 0.5; }

/* 15. FORMATTED STYLING NOTES ============================================== */
/* Four fonts a stylist can choose from. Used by the editor and the look page. */
.notes--font-minimal     { font-family: var(--sans); }
.notes--font-editorial   { font-family: var(--editorial); font-size: 1.12em; line-height: 1.65; }
.notes--font-typewriter  { font-family: 'Courier Prime', 'Courier New', monospace; letter-spacing: -0.01em; }
.notes--font-underground { font-family: 'Special Elite', 'Courier New', monospace; letter-spacing: 0.01em; }

.look-info__notes p + p { margin-top: 1em; }
.look-info__notes strong { font-weight: 700; color: var(--ink); }

.notes-editor {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: border-color 0.2s;
}
.notes-editor:focus-within { border-color: var(--ink); }

.notes-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}
.notes-toolbar__group { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.notes-tool {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: background-color 0.15s, color 0.15s;
}
.notes-tool strong { font-weight: 700; }
.notes-tool em { font-family: var(--editorial); font-size: 1.15rem; }
.notes-tool svg { font-size: 1.25rem; }
.notes-tool:hover { background: var(--sand); color: var(--ink); }
.notes-tool[aria-pressed='true'], .notes-tool[aria-expanded='true'] { background: var(--ink); color: var(--paper); }

.notes-font {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  height: 38px;
  padding: 0 0.75rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: background-color 0.15s, border-color 0.15s;
  line-height: 38px;
}
.notes-font:hover { border-color: var(--line-strong); }
.notes-font[aria-checked='true'] { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.notes-font__sample { font-size: 1.05rem; }
/* Each option previews its own typeface */
.notes-font--minimal     { font-family: var(--sans); }
.notes-font--editorial   { font-family: var(--editorial); }
.notes-font--typewriter  { font-family: 'Courier Prime', monospace; }
.notes-font--underground { font-family: 'Special Elite', monospace; }

.emoji-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 2px;
  padding: 0.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.emoji-panel[hidden] { display: none; }
.emoji-panel button {
  height: 40px;
  border-radius: 2px;
  font-size: 1.3rem;
  line-height: 1;
}
.emoji-panel button:hover { background: var(--stone); }

.notes-area {
  position: relative;
  min-height: 180px;
  max-height: 480px;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  outline: none;
  overflow-wrap: anywhere;
}
.notes-area.is-empty::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 1rem 1.1rem auto;
  color: #a6a199;
  pointer-events: none;
}
.notes-area b, .notes-area strong { font-weight: 700; color: var(--ink); }
/* Character counters: black, and red only once the limit is reached */
.char-count { color: var(--ink); font-variant-numeric: tabular-nums; }
.char-count.is-over { color: var(--danger); font-weight: 500; }

@media (max-width: 640px) {
  .notes-toolbar { flex-direction: column; align-items: stretch; }
  /* contain: the scrolling font row mustn't make the whole form wider than the phone */
  .notes-fonts { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; contain: inline-size; }
  .notes-font { flex: none; }
}

/* 16. PRODUCT LINKS ======================================================== */
.pieces__shop {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
.pieces__shop svg { font-size: 0.9rem; }
.pieces__shop:hover { background: var(--ink); color: var(--paper); }

/* Submit form: the link field sits on its own line under each piece */
.piece-row__link { grid-column: 1 / -1; }
.piece-row__link .hint:empty,
.piece-row__brand-hint:empty { display: none; }
.piece-row__brand-hint.is-new { color: var(--ink-soft); font-style: italic; }
.piece-row__link-hint.is-error { color: var(--danger); }
.piece-row__link .input { font-size: 0.9rem; }
.piece-row .input[aria-invalid='true'] { border-color: var(--danger); }
@media (min-width: 720px) {
  .piece-row { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
  .piece-row__remove { align-self: start; margin-top: 1.4rem; }
}
/* Line up the labels in each piece row; hints below a field can't push others around */
.piece-row { align-items: start; }
.piece-row__remove { align-self: start; margin-top: 1.4rem; }
.piece-row .input, .piece-row select { height: 48px; }

/* 17. EDITING LOOKS ======================================================== */
.look-card__edit {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 1rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
.look-card__edit:hover { background: var(--ink); color: var(--paper); }
/* Edit mode: just a small "Edit look" label above the form */
.page-head--compact { padding-bottom: 1.5rem; }
.page-head--compact .kicker { margin-bottom: 0; }

/* 18. TEMPLATES & AI MODELS ================================================ */
.ai-note {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: 2px;
  background: var(--stone);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.mode-switch {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  background: var(--stone);
}
.mode-switch button {
  min-height: 40px;
  padding: 0 1.25rem;
  border-radius: 2px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  transition: background-color 0.2s, color 0.2s;
}
.mode-switch button[aria-selected='true'] { background: var(--ink); color: var(--paper); }
.dropzone.is-tab-hidden { display: none; }

.builder {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}
.builder fieldset + fieldset { margin-top: 0; }
.label--sub { font-size: 0.62rem; color: var(--muted); }
.choices--sm .choice span { min-height: 34px; padding: 0 0.85rem; font-size: 0.8rem; }
.choice input:disabled + span { opacity: 0.4; cursor: not-allowed; }

.layout-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.layout-card { position: relative; display: flex; flex-direction: column; gap: 0.2rem; cursor: pointer; }
.layout-card input { position: absolute; opacity: 0; }
.layout-card__art {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line-strong);
  background: var(--stone);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.layout-card input:checked + .layout-card__art { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.layout-card input:focus-visible + .layout-card__art { outline: 2px solid var(--ink); outline-offset: 3px; }
.layout-card__art i { position: absolute; background: var(--sand); }
/* Tiny diagrams of each layout: dark block = model, light blocks = pieces */
.layout-card__art--side i:nth-child(1) { inset: 0 34% 0 0; background: #cfc8bd; }
.layout-card__art--side i:nth-child(2) { left: 72%; right: 6%; top: 8%; height: 22%; }
.layout-card__art--side i:nth-child(3) { left: 72%; right: 6%; top: 39%; height: 22%; }
.layout-card__art--side i:nth-child(4) { left: 72%; right: 6%; top: 70%; height: 22%; }
.layout-card__art--editorial i:nth-child(1) { inset: 0 0 30% 0; background: #cfc8bd; }
.layout-card__art--editorial i:nth-child(2) { left: 6%; width: 26%; top: 75%; height: 18%; }
.layout-card__art--editorial i:nth-child(3) { left: 37%; width: 26%; top: 75%; height: 18%; }
.layout-card__art--editorial i:nth-child(4) { left: 68%; width: 26%; top: 75%; height: 18%; }
.layout-card__art--flatlay i:nth-child(1) { left: 25%; right: 25%; top: 7%; height: 4%; background: #cfc8bd; }
.layout-card__art--flatlay i:nth-child(2) { left: 10%; width: 36%; top: 20%; height: 32%; }
.layout-card__art--flatlay i:nth-child(3) { right: 10%; width: 36%; top: 20%; height: 32%; }
.layout-card__art--flatlay i:nth-child(4) { left: 10%; width: 36%; top: 60%; height: 32%; }
.layout-card__name { font-family: var(--serif); font-size: 1.05rem; }
.layout-card__hint { font-size: 0.75rem; color: var(--muted); }

.swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 0.95rem 0 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.85rem;
  cursor: pointer;
}
.swatch input { position: absolute; opacity: 0; }
.swatch span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--sw-bg) 60%, var(--sw-panel) 60%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.builder__traits { display: grid; gap: 1rem; margin-top: 1.25rem; }
.builder__traits fieldset + fieldset { margin-top: 0; }
.builder__traits legend { margin-bottom: 0.5rem; }
.builder__own { margin-top: 1.25rem; }
.builder__model .hint { margin-top: 0.75rem; }
.own-photo { display: flex; align-items: center; gap: 1rem; }
.own-photo__thumb { width: 64px; aspect-ratio: 2 / 3; background: var(--stone); overflow: hidden; }
.own-photo__thumb img { width: 100%; height: 100%; object-fit: cover; }
.own-photo label.btn { position: relative; overflow: hidden; }
.own-photo input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.link-button { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-size: inherit; }
.builder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.builder__status { font-size: 0.85rem; color: var(--ink-soft); }
.builder__status.is-error { color: var(--danger); }
.builder__result { display: grid; gap: 1rem; }
.builder__result img { width: 100%; max-width: 420px; border: 1px solid var(--line); }
.builder__result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.builder__also { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-soft); }

/* Piece rows: photo tile, link and price on their own line */
.piece-row__extra {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
}
.piece-row__extra .field + .field { margin-top: 0; }
.piece-row__price { grid-column: 2; }
.piece-row__link { grid-column: auto; }
@media (min-width: 720px) {
  .piece-row__extra { grid-template-columns: 64px minmax(0, 1fr) 150px; }
  .piece-row__price { grid-column: auto; }
}
.piece-photo { display: flex; flex-direction: column; gap: 0.45rem; }
.piece-photo__tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--line-strong);
  background: var(--stone);
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
}
.piece-photo__tile:hover { border-color: var(--ink); color: var(--ink); }
.piece-photo__tile.has-photo { border-style: solid; background: #fff; }
.piece-photo__tile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.piece-photo__tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.piece-photo__img { position: absolute; inset: 0; pointer-events: none; }
.piece-photo__img img { width: 100%; height: 100%; object-fit: contain; }
.piece-photo__tile.has-photo .piece-photo__add { display: none; }
.piece-photo__add svg { font-size: 1.2rem; }
.piece-photo__clear { font-size: 0.7rem; color: var(--muted); text-decoration: underline; text-align: left; }
.layout-cards { max-width: 460px; }

/* 19. MEMBERS: JOIN, WELCOME, ACCOUNT, PRIVACY ============================= */
.container--narrow { max-width: 860px; }
.mf-block { margin-top: 1.75rem; }
.member-form .form-section:first-child { padding-top: 0; }

.role-cards { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .role-cards { grid-template-columns: 1fr 1fr; } }
.role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.role-card input { position: absolute; opacity: 0; }
.role-card__title { font-family: var(--serif); font-size: 1.25rem; }
.role-card__hint { font-size: 0.85rem; color: var(--muted); }
.role-card:hover { border-color: var(--ink); }
.role-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--stone); }
.role-card:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.mf-self { margin-top: 0.75rem; max-width: 22rem; }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent:first-of-type { border-top: 0; padding-top: 0; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent strong { color: var(--ink); font-weight: 500; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.auth-card__perks { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.auth-card__perks li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; color: var(--ink-soft); }
.auth-card__perks li::before { content: '✦'; position: absolute; left: 0; top: 0.05em; font-size: 0.75rem; color: var(--ink); }
.auth-card__small { margin-top: 1rem; }

.account-section { border-top: 1px solid var(--line); }
.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.account-actions:first-of-type { border-top: 0; }
.account-actions > div { flex: 1 1 18rem; }
.account-actions__title { font-family: var(--serif); font-size: 1.15rem; }
.account-actions--danger .account-actions__title { color: var(--danger); }

.prose { padding-bottom: 2rem; }
.prose h2 { margin: 2.5rem 0 0.75rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; }
.prose p + p { margin-top: 0.9rem; }
.prose ul { margin: 0.5rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 500; }
/* Draft legal pages: blanks still to fill in */
mark.blank { background: var(--accent-soft); color: var(--accent-solid); padding: 0 0.2em; }
.draft-note {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.4rem 0.8rem;
  background: var(--accent-soft);
  color: var(--accent-solid);
  font-size: 0.8rem;
}

/* 20. PALETTE: white body, ecru beige, ink, and an oxblood accent ========== */
/* The top of every inner page sits on a full-width band of ecru */
main > .page-head {
  background: var(--ecru);
  box-shadow: 0 0 0 100vmax var(--ecru);
  clip-path: inset(0 -100vmax);
  margin-bottom: clamp(24px, 3vw, 40px);
}
main > .page-head + .filterbar { margin-top: calc(clamp(24px, 3vw, 40px) * -1); }

/* Oxblood, sparingly: italic highlights, small labels, hovers */
.display em, .h2 em, .page-head .display em, .rail .h2 em { color: var(--accent); }
.rail__head .kicker, .editorial__index { color: var(--accent); }
.link-arrow:hover { color: var(--accent); }
.site-nav a[aria-current]::after { background: var(--accent-bright); }
.pieces__main:hover .pieces__name, .look-card__link:hover .look-card__title { color: var(--accent); }
.ai-note { background: var(--accent-soft); }

/* The closing band: oxblood with ecru text */
.cta-band { background: var(--accent); color: var(--white); }
.cta-band h2 em { color: var(--ecru); }
.cta-band .btn--light { background: var(--ecru); border-color: var(--ecru); color: var(--accent); }
.cta-band .btn--light:hover { background: transparent; color: var(--ecru); }

/* Beige footer to close the page */
.site-footer { background: var(--ecru); border-top: 0; }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; }

/* Quiet panels that used to be grey-beige are now soft ecru */
.poster-as, .notes-toolbar, .mode-switch { background: var(--ecru); }
.filterbar { border-top: 0; }

/* 21. JOIN (homepage) ======================================================= */
.btn--ecru { background: var(--ecru); border-color: var(--ecru); color: var(--ink); }
.btn--ecru:hover { background: transparent; color: var(--ecru); }
.hero__actions { align-items: center; }
.link-inline { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.link-inline:hover { color: var(--accent); }

.join { padding-top: var(--section); }
.join__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.join__intro .kicker { color: var(--accent); }
.join__title {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.join__title em { color: var(--accent); }
.join__lede { margin-top: 1.25rem; max-width: 34rem; font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--ink-soft); }
.join__paths { display: grid; gap: 1rem; }
.join-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ecru);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.join-path__kicker { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.join-path__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.1; }
.join-path__text { color: var(--ink-soft); max-width: 30rem; }
.join-path__go {
  align-self: flex-start;
  margin-top: 0.75rem;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.join-path:hover { background: var(--accent); color: var(--white); }
.join-path:hover .join-path__kicker, .join-path:hover .join-path__text { color: rgba(255, 255, 255, 0.82); }
.join__signin { font-size: 0.9rem; color: var(--muted); }
.join__signin a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
@media (min-width: 900px) {
  .join__inner { grid-template-columns: 5fr 7fr; align-items: end; }
  .join__paths { grid-template-columns: 1fr 1fr; }
  .join__signin { grid-column: 2; }
}

/* 22. FROSTED HEADER, HOMEPAGE LAYOUT, MOTION ============================== */
/* Header: clear at the top, frosted glass as soon as the page scrolls */
.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom-color: var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled, .site-header.menu-open { background: rgba(255, 255, 255, 0.97); }
}

/* Pages that open with a beige page-head: the beige runs up under the header */
main:has(> .page-head:first-child),
main:has(> .home-hero:first-child) { padding-top: 0 !important; }
main > .page-head:first-child { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 88px)); }

/* Hero: beige, text left, the film in a rounded frame */
.home-hero {
  background: var(--ecru);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(56px, 8vw, 112px);
}
.home-hero__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.home-hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.home-hero__title em { display: block; color: var(--accent); }
.home-hero__lede { margin-top: 1.6rem; max-width: 33rem; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--ink-soft); }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.1rem; }
.home-hero__note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); }
.home-hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: min(78svh, 720px);
  width: 100%;
  justify-self: center;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(20, 20, 20, 0.35);
}
.home-hero__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.08); }
@media (min-width: 900px) {
  .home-hero__inner { grid-template-columns: 1.1fr 0.9fr; }
  .home-hero__media { max-width: 520px; justify-self: end; }
}

/* Moving strip of brand names */
.marquee {
  overflow: hidden;
  padding: 2.25rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.marquee__label { margin-bottom: 1.3rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.marquee__track {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  animation: marquee 48s linear infinite;
}
.marquee__row { display: flex; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); }
.marquee span { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.65rem); color: #a3a09a; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections: small label, big heading, one paragraph, then content */
.section-block { padding-top: var(--section); }
.section-intro { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-intro .kicker { color: var(--accent); margin-bottom: 0.9rem; }
.section-intro .lede { margin-top: 1.25rem; }
.section-intro--center { margin-inline: auto; text-align: center; }
.h2 em { color: var(--accent); }

/* Feature cards */
.feature-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .feature-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: 2px;
  background: var(--stone);
  transition: background-color 0.3s var(--ease), translate 0.3s var(--ease);
}
.feature-card:hover { background: var(--ecru); translate: 0 -4px; }
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-size: 1.2rem;
}
.feature-card h3 { font-size: 1.35rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }
.feature-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.6rem; }
.feature-card__tags span {
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  background: var(--white);
  font-size: 0.72rem;
  color: var(--muted);
}

/* Alternating feature rows (the original Q&A) */
.feature-row { display: grid; gap: clamp(1.75rem, 4vw, 4.5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3.5rem, 8vw, 7rem); }
.feature-row__media {
  aspect-ratio: 4 / 5;
  max-height: 680px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--stone);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.feature-row__text .kicker { color: var(--accent); margin-bottom: 0.9rem; }
.feature-row__text p:not(.kicker) { margin-top: 1.25rem; max-width: 30rem; font-size: clamp(1rem, 1.15vw, 1.1rem); color: var(--ink-soft); }
.feature-row__text .link-arrow { margin-top: 2rem; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row--flip .feature-row__media { order: 2; }
  .feature-row__text { padding-inline: clamp(0rem, 3vw, 3rem); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 1.4rem; font-weight: 300; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; max-width: 40rem; color: var(--ink-soft); }
.faq details a { text-decoration: underline; text-underline-offset: 3px; }

.cta-band__note { margin: 1rem auto 0 !important; font-size: 0.8rem; opacity: 0.7; }
.join.section-block { padding-top: var(--section); }

/* Reveal on scroll: only opacity and position change, never the layout */
.has-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease) var(--reveal-delay, 0ms), transform 0.9s var(--ease) var(--reveal-delay, 0ms);
}
.has-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__row + .marquee__row { display: none; }
  .feature-row__media img { transform: none; }
}

/* 23. CONTINUE WITH GOOGLE / APPLE / GITHUB ================================= */
.social { display: grid; gap: 0.7rem; }
.social__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.social__btn:hover { border-color: var(--ink); background: var(--stone); }
.social__btn:disabled { opacity: 0.55; cursor: progress; }
.social__btn.is-busy { opacity: 1; border-color: var(--ink); }
.social__icon { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.social__icon svg { width: 20px; height: 20px; }
.social__or { margin: 1.5rem 0 1.25rem; }
.social__error:empty { display: none; }
.auth-card__social { margin-top: 1.75rem; }
.auth-card__social + form { margin-top: 0; }
.mf-social { max-width: 520px; margin-bottom: 0.25rem; }

/* The hero film is framed tighter: zoomed in and anchored low, so the
   model's face sits above the frame and the outfit leads */
.home-hero__media video {
  transform: scale(1.45);
  transform-origin: 50% 100%;
}
.feature-row__media img[data-still] { transform: none; }

/* Short value points under a feature-row paragraph */
.value-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; max-width: 30rem; }
.value-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.value-list li::before { content: '✦'; position: absolute; left: 0; top: 0.1em; font-size: 0.75rem; color: var(--accent); }
.value-list strong { font-weight: 500; color: var(--ink); }

/* 24. VISIBILITY & PRIVATE LOOKS =========================================== */
.visibility { margin-top: 2rem; }
.visibility__options { display: grid; gap: 0.6rem; }
@media (min-width: 720px) { .visibility__options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.visibility__option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.visibility__option input { position: absolute; opacity: 0; }
.visibility__title { font-family: var(--serif); font-size: 1.1rem; }
.visibility__hint { font-size: 0.8rem; color: var(--muted); }
.visibility__option:hover { border-color: var(--ink); }
.visibility__option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--stone); }
.visibility__option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.visibility__option.is-soon { cursor: not-allowed; opacity: 0.55; }
.visibility__option.is-soon:hover { border-color: var(--line-strong); }
.soon {
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
}
.visibility__note { margin-top: 0.9rem; }

.look-card__private {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.look-card__count + .look-card__private { left: auto; right: 10px; }
.private-note {
  margin-top: 1.25rem;
  padding: 0.65rem 0.95rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
}

/* 25. THE ⋯ MENU ON A LOOK ================================================= */
.look-gallery-wrap { position: relative; min-width: 0; }
.more-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.more-btn svg { fill: currentColor; stroke: none; }
.more-btn:hover { background: var(--white); transform: scale(1.05); }

.sheet {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
}
.sheet::backdrop { background: rgba(17, 17, 17, 0.5); }
.sheet[open] { animation: sheet-in 0.22s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: scale(0.97); } }
.sheet__list { display: flex; flex-direction: column; }
.sheet__item {
  min-height: 56px;
  padding: 0 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink);
  text-align: center;
  transition: background-color 0.15s;
}
.sheet__item:first-child { border-top: 0; }
.sheet__item:hover, .sheet__item:focus-visible { background: var(--stone); outline: none; }
.sheet__item--danger { color: var(--accent); font-weight: 500; }
.sheet__item:disabled { opacity: 0.5; }
.sheet__panel { padding: 1.75rem 1.5rem 1.25rem; }
.sheet__panel + .sheet__list .sheet__item:first-child { border-top: 1px solid var(--line); }
.sheet__title { font-size: 1.5rem; text-align: center; }
.sheet__text { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); text-align: center; }
.sheet__report fieldset { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.sheet__reason {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.sheet__reason input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.sheet__reason strong { display: block; font-weight: 500; font-size: 0.95rem; }
.sheet__reason small { display: block; margin-top: 0.15rem; font-size: 0.8rem; color: var(--muted); }
.sheet__reason:hover { background: var(--stone); }
.sheet__details-label { display: block; margin-top: 1.25rem; }
.sheet__details { margin-top: 0.5rem; min-height: 90px; }
.sheet__actions { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.sheet .form-error { margin-top: 0.75rem; text-align: center; }

/* Phones: slide up from the bottom, like a native sheet */
@media (max-width: 640px) {
  .sheet {
    width: 100vw;
    max-width: 100vw;
    margin: auto 0 0;
    border-radius: 2px 2px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sheet[open] { animation: sheet-up 0.26s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
}

/* Country list + "Other" answers on the welcome questions */
.select-field {
  width: 100%;
  max-width: 22rem;
  height: 48px;
  padding: 0 2.25rem 0 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.25rem center / 16px;
  font-size: 1rem;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-field:focus { outline: none; border-color: var(--ink); }
.mf-other { margin-top: 0.75rem; max-width: 28rem; }
/* Keep the dropdown arrow (a general form rule otherwise removes it) */
.field .select-field {
  padding-right: 2.25rem;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.25rem center / 16px;
}

/* "Your account" when already signed in */
.mf-signed-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 2rem; padding: 1rem 1.25rem; border-radius: 2px; background: var(--stone); }
.mf-signed-in__email { margin-top: 0.35rem; font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.mf-signed-in .link-inline { font-size: inherit; }
.social__btn span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) { .social__btn { font-size: 0.9rem; padding: 0 0.9rem; } }
.welcome-title em { display: block; }

/* Account page: email with a quiet sign-out link */
.account-signed-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; text-transform: none; letter-spacing: 0.02em; font-size: 0.85rem; }
.account-signout { font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); letter-spacing: 0.02em; }
.account-signout:hover { color: var(--accent); }

/* ==========================================================================
   26. Member profile board (account.html)
   ========================================================================== */
.dash-hero .display em { font-style: italic; }
.dash-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 2rem 0 0; }
.dash-stats div { display: flex; flex-direction: column-reverse; gap: .25rem; }
.dash-stats dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.dash-stats dd { margin: 0; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.dash-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.dash { display: grid; gap: clamp(3rem, 7vw, 5.5rem); padding-bottom: 6rem; }
.dash-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.dash-section__head .kicker { margin-bottom: .35rem; }
.dash-section__note { margin: .5rem 0 0; opacity: .7; font-size: .9rem; }
.dash-empty { background: var(--ecru); border-radius: 2px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: .75rem; justify-items: start; }
.dash-empty__title { font-family: var(--serif); font-size: 1.35rem; margin: 0; }
.dash-empty__body { margin: 0; opacity: .75; max-width: 44ch; }
.stylist-chips { display: flex; flex-wrap: wrap; gap: 1rem; }
.stylist-chip { display: flex; align-items: center; gap: .85rem; padding: .6rem 1.25rem .6rem .6rem; border: 1px solid rgba(0,0,0,.1); border-radius: 2px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.stylist-chip:hover { border-color: currentColor; transform: translateY(-2px); }
.stylist-chip__text { display: flex; flex-direction: column; }
.stylist-chip__name { font-weight: 500; }
.stylist-chip__meta { font-size: .8rem; opacity: .65; }
.stylist-chips--ideas { margin-top: .5rem; }
.shop-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0,0,0,.1); }
.shop-list__item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.shop-list__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.shop-list__name { font-weight: 500; }
.shop-list__meta { font-size: .85rem; opacity: .7; }
.shop-list__from { font-size: .8rem; opacity: .6; color: inherit; }
.explore-chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.explore-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: 2px; background: var(--ink); color: #fff; text-decoration: none; font-size: .95rem; transition: background .2s; }
.explore-chip:hover { background: var(--accent); }
.explore-chip svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.explore-chip--quiet { background: var(--ecru); color: var(--ink); }
.explore-chip--quiet:hover { background: var(--sand); }
.save-stylist svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.save-stylist[aria-pressed="true"] svg { fill: currentColor; }
@media (max-width: 600px) { .dash-stats { gap: 1.5rem; } .dash-stats dd { font-size: 1.6rem; } }

/* ==========================================================================
   27. Account menu (hover on "Hello, Name")
   ========================================================================== */
.mobile-menu__account { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.account-menu { position: relative; display: none; }
@media (min-width: 1100px) { .account-menu { display: block; } }
.account-menu .site-header__hello::after {
  content: ''; display: inline-block; width: 0.35em; height: 0.35em; margin-left: 0.5em;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-0.2em) rotate(45deg); transition: transform 0.2s var(--ease);
}
.account-menu.is-open .site-header__hello::after { transform: translateY(0.05em) rotate(225deg); }
.account-menu__panel {
  position: absolute; top: calc(100% + 14px); right: -1rem; z-index: 60;
  width: min(520px, calc(100vw - 2rem));
  padding: 1.25rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.14);
  text-transform: none; letter-spacing: normal;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.account-menu__panel--wide { width: min(700px, calc(100vw - 2rem)); }
.account-menu__panel--admin { width: min(900px, calc(100vw - 2rem)); }
/* invisible bridge so the cursor can travel from the name to the panel */
.account-menu__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
/* little notch under the name */
.account-menu__panel::after {
  content: ''; position: absolute; top: -7px; right: 2.5rem; width: 12px; height: 12px;
  background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg);
}
.account-menu.is-open .account-menu__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.account-menu__who {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  padding: 1rem 1.1rem; background: var(--ecru); border-radius: 2px;
}
.account-menu__avatar {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
}
.account-menu__id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.account-menu__name { font-family: var(--serif); font-size: 1.1rem; }
.account-menu__email { font-size: 0.8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu__actions { display: flex; gap: 1rem; }
.account-menu__actions button { font-size: 0.85rem; color: var(--accent); padding: 0.25rem 0; }
.account-menu__actions button:hover { text-decoration: underline; text-underline-offset: 3px; }

.account-menu__cols { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 1.25rem 0.4rem 0.2rem; }
.account-menu__col { display: flex; flex-direction: column; gap: 0.15rem; padding-inline: 0.75rem; }
.account-menu__col + .account-menu__col { border-left: 1px solid var(--line); }
.account-menu__title { margin: 0 0 0.5rem; font-family: var(--serif); font-size: 1.05rem; }
.account-menu__col a, .account-menu__soon { font-size: 0.9rem; padding: 0.3rem 0; color: var(--ink-soft); }
.account-menu__col a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.account-menu__soon { color: var(--muted); }
.account-menu__soon small {
  margin-left: 0.3rem; padding: 0.05rem 0.4rem; border-radius: 2px;
  background: var(--stone); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-header__hello { white-space: nowrap; }

/* Password fields: show/hide eye */
.password-field { position: relative; display: block; }
.password-field .input { padding-right: 5.5rem; }
.password-field__eye {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.25rem;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.password-field__eye:hover { color: var(--ink); }
.password-field__eye svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   28. MINIMAL-INDUSTRIAL RESTYLE
   White walls, whitewashed brick and concrete greys, black metal lines,
   one yellow lamp. A clean grotesk for headings, a mono for small labels,
   square corners, and bigger pictures everywhere.
   ========================================================================== */

/* Type */
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }
.display, .home-hero__title, .h2 { font-weight: 300; letter-spacing: -0.035em; }
.h3 { letter-spacing: -0.015em; }
.kicker, .marquee__label, .pill, .btn, .site-nav a, .site-header__account, .menu-toggle, .chip,
.account-menu__soon small, .feature-card__tags span, .results-bar, .steps span {
  font-family: var(--mono);
}
.kicker { font-size: 0.7rem; letter-spacing: 0.14em; }
.btn, .site-nav a, .site-header__account, .menu-toggle { letter-spacing: 0.1em; }
.wordmark { font-family: var(--brand); font-weight: 700; font-stretch: 112%; letter-spacing: -0.045em; }
.wordmark span { color: var(--accent-bright); }

/* Emphasis in headings: no italics or colour, a blush bar underneath */
.display em, .h2 em, .home-hero__title em, .dash-hero .display em {
  font-style: normal;
  color: inherit;
  background: linear-gradient(transparent 78%, var(--accent-bright) 78%, var(--accent-bright) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.04em;
}
.section-intro .kicker, .feature-row__text .kicker { color: var(--muted); }
.section-intro .kicker::before, .feature-row__text .kicker::before {
  content: ''; display: inline-block; width: 1.6em; height: 1px; margin-right: 0.7em;
  vertical-align: middle; background: var(--ink);
}

/* Buttons: square, black frame; the solid one lights up burgundy (white words) */
.btn { border-radius: 0; min-height: 50px; }
.btn--solid:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.pill { background: transparent; border-color: var(--line-strong); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pill::before { content: ''; width: 7px; height: 7px; margin-right: 0.6rem; border-radius: 50%; background: var(--accent-bright); }
::selection { background: var(--accent-bright); color: var(--ink); }

/* Header: crisp white instead of beige */
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255, 255, 255, 0.86); }

/* HERO: the film is now big. Text on white on the left, film fills the right edge to edge */
.home-hero { background: var(--paper); padding: var(--header-h) 0 0; }
.home-hero__inner { display: grid; gap: 0; align-items: stretch; min-height: calc(100svh - var(--header-h)); }
.home-hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 7vw, 96px) var(--gutter);
}
.home-hero__title { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1; }
.home-hero__title em { display: inline; }
.home-hero__media {
  order: -1;
  aspect-ratio: auto;
  height: 78svh;
  max-height: none;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}
.home-hero__media video { transform: scale(1.45); transform-origin: 50% 100%; }
@media (min-width: 900px) {
  .home-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .home-hero__text { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .home-hero__media { order: 0; height: auto; min-height: calc(100svh - var(--header-h)); max-width: none; justify-self: stretch; }
  /* the wide frame already crops the top, so no zoom: show the outfit, not the face */
  .home-hero__media video { position: absolute; inset: 0; transform: none; object-position: 50% 80%; }
}

/* Bigger pictures: fewer, larger cards */
.look-grid { --cols: 1; gap: clamp(2.5rem, 4vw, 4rem) clamp(12px, 1.6vw, 24px); }
@media (min-width: 560px) { .look-grid { --cols: 2; } }
@media (min-width: 1100px) { .look-grid { --cols: 3; } }

.feature-row { gap: clamp(2rem, 5vw, 6rem); }
.feature-row__media { aspect-ratio: 4 / 5; max-height: 92svh; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-row--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 900px) {
  .look-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .profile-hero { grid-template-columns: 6fr 6fr; }
}

/* Cards and panels: flat concrete, square, a hint of burgundy */
.feature-card { background: var(--stone); border: 1px solid transparent; }
.feature-card:hover { background: var(--paper); border-color: var(--ink); }
.feature-card__icon { border-radius: 0; background: var(--accent-bright); color: var(--ink); }
.feature-card__tags span { background: transparent; border: 1px solid var(--line); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; }
.faq summary::after { color: var(--ink); }
.explore-chip:hover { background: var(--accent-bright); color: var(--ink); }
.account-menu__actions button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.account-menu__col a:hover { color: var(--ink); text-decoration-color: var(--accent-bright); }
.account-menu__avatar { background: var(--accent-bright); color: var(--ink); }
.page-head .display em, .rail .h2 em, .join__title em, .welcome-title em { color: inherit; font-style: normal; }
.welcome-title em, .page-head .display em, .join__title em {
  width: fit-content;
  background: linear-gradient(transparent 78%, var(--accent-bright) 78%, var(--accent-bright) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Logo in plain black; closing strip in charcoal */
.wordmark span { color: inherit; }
.cta-band { background: var(--ink); color: var(--white); }
.cta-band .kicker { color: rgba(255, 255, 255, 0.7); }
.cta-band h2 em { color: var(--white); background: none; font-style: normal; }
.cta-band .btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.cta-band .btn--light:hover { background: transparent; color: var(--white); }
.wordmark { color: #000; }

/* ==========================================================================
   29. FOR BRANDS (partners.html) + homepage strip
   ========================================================================== */
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }

main:has(> .partners-hero:first-child) { padding-top: 0 !important; }
.partners-hero { display: grid; padding-top: var(--header-h); background: var(--paper); }
.partners-hero__text { display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: clamp(40px, 7vw, 96px) var(--gutter); }
.partners-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.6rem; }
.partners-hero__media { order: -1; height: 64svh; overflow: hidden; background: var(--stone); }
.partners-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .partners-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: 100svh; }
  .partners-hero__text { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .partners-hero__media { order: 0; height: auto; }
}

.ways { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.ways li { display: grid; gap: 0.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.ways__n { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.ways h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 300; }
.ways p { color: var(--ink-soft); max-width: 40rem; }
@media (min-width: 900px) {
  .ways { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .ways li { padding: 2rem 1.75rem 2.25rem 0; border-bottom: 0; }
  .ways li + li { padding-left: 1.75rem; border-left: 1px solid var(--line); }
}

.partner-steps { display: grid; gap: 1rem; }
.partner-steps > div { display: grid; gap: 0.6rem; padding: clamp(1.4rem, 2.5vw, 2rem); background: var(--stone); }
.partner-steps h3 { font-size: 1.4rem; font-weight: 300; }
.partner-steps p:not(.kicker) { color: var(--ink-soft); }
@media (min-width: 760px) { .partner-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.partner-promise { margin-top: 2rem; max-width: 46rem; font-size: 0.9rem; color: var(--muted); padding-left: 1rem; border-left: 2px solid var(--accent-bright); }

.partner-contact { margin-top: var(--section); }
.partner-contact__address { margin: 1.5rem auto 0 !important; }
.partner-contact__address a { font-family: var(--mono); font-size: 0.95rem; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.partner-contact__hint { margin: 1.25rem auto 0 !important; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6) !important; }

.partner-strip {
  display: grid; gap: 1rem; padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--ecru); border: 1px solid transparent; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.partner-strip:hover { background: var(--paper); border-color: var(--ink); }
.partner-strip__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; max-width: 34ch; }
@media (min-width: 900px) {
  .partner-strip { grid-template-columns: 1fr auto; align-items: end; }
  .partner-strip .kicker { grid-column: 1 / -1; }
}

/* ==========================================================================
   30. LOOK PAGE: picture + essentials side by side, pieces and details below
   (the side column stays short, so there's never a blank space under the picture)
   ========================================================================== */
.look-notes .look-info__notes { max-height: 13.6em; overflow: hidden; }
.look-notes.is-clamped .look-info__notes { -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.look-notes.is-open .look-info__notes { max-height: none; -webkit-mask-image: none; mask-image: none; }
.look-notes__more {
  margin-top: 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-bright);
}

.look-summary {
  display: grid; gap: 0.35rem; margin-top: 2rem; padding: 1.1rem 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.look-summary strong { font-weight: 500; }
.look-summary__list { font-size: 0.9rem; color: var(--muted); }
.look-summary .link-arrow { margin-top: 0.4rem; justify-self: start; }

/* The pieces: a full-width grid of cards that grows sideways, not down */
.look-pieces { margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.look-pieces__head { margin-bottom: 1.5rem; }
.look-pieces__head .kicker { margin-bottom: 0.6rem; }
.piece-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  border-top: 1px solid var(--ink); border-left: 1px solid var(--line);
}
.piece-card {
  display: flex; flex-direction: column; gap: 0.9rem; min-height: 190px;
  padding: 1.25rem 1.25rem 1.1rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.piece-card:hover { background: var(--stone); }
.piece-card__n { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.piece-card__main { display: grid; gap: 0.35rem; }
.piece-card__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 300; line-height: 1.15; letter-spacing: -0.015em; }
.piece-card__meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.piece-card__main:hover .piece-card__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-bright); }
.piece-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; }
.piece-card__price { font-size: 0.95rem; }
.piece-card .pieces__shop:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }

/* Season / mood / occasion / tags: one tidy row */
.look-details {
  display: grid; gap: 1.5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
}
.look-details .kicker { margin-bottom: 0.75rem; }
@media (max-width: 600px) { .piece-cards { grid-template-columns: 1fr 1fr; } .piece-card { min-height: 170px; padding: 1rem; } .piece-card__name { font-size: 1.05rem; } }

/* Piece cards are selectable: pointing at one (or tapping / tabbing to it) reveals the buy link */
.piece-cards > li { display: flex; }
.piece-card { position: relative; flex: 1; overflow: hidden; cursor: default; outline-offset: -3px; }
.piece-card--shop { cursor: pointer; }
.piece-card__price { margin-top: auto; font-size: 0.95rem; }
.piece-card__buy {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  transform: translateY(101%);
  transition: transform 0.28s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.piece-card__buy svg { flex: none; font-size: 0.95rem; }
.piece-card__buy--none { background: var(--sand); color: var(--muted); }
.piece-card:hover .piece-card__buy, .piece-card:focus-visible .piece-card__buy { transform: none; }
.piece-card--shop:hover { background: var(--stone); }
.piece-card--shop:hover .piece-card__buy { background: var(--accent-bright); color: var(--ink); }
.piece-card--shop:hover .piece-card__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-bright); }
/* Phones and tablets can't hover, so the buy link is always shown there */
@media (hover: none) {
  .piece-card { padding-bottom: 0; }
  .piece-card__buy { position: static; transform: none; margin: 0 -1.25rem; padding: 0.75rem 1.25rem; }
  .piece-card__buy--none { display: none; }
}
@media (hover: none) and (max-width: 600px) { .piece-card__buy { margin: 0 -1rem; padding: 0.7rem 1rem; font-size: 0.62rem; } }

/* Product photo being fetched from the shop link */
.piece-photo__tile.is-loading { border-style: solid; border-color: var(--accent-bright); animation: tile-pulse 1.1s ease-in-out infinite; }
.piece-photo__tile.is-loading .piece-photo__add { opacity: 0.3; }
@keyframes tile-pulse { 50% { background: var(--accent-soft); } }
@media (prefers-reduced-motion: reduce) { .piece-photo__tile.is-loading { animation: none; background: var(--accent-soft); } }
/* Piece cards on the look page show the product photo when there is one */
.piece-card__photo {
  display: grid; place-items: center; aspect-ratio: 1 / 1; margin: -1.25rem -1.25rem 0.25rem;
  background: var(--stone); overflow: hidden;
}
.piece-card__photo img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s var(--ease); }
.piece-card--shop:hover .piece-card__photo img { transform: scale(1.04); }
.piece-card__photo--none { padding: 1rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .piece-card__photo { margin: -1rem -1rem 0.25rem; } }
.piece-photo__tile.is-drop { border-style: solid; border-color: var(--ink); background: var(--accent-soft); }

/* ==========================================================================
   31. GUIDE: how to post a look (guide.html)
   Each step: a small drawing of the screen on the left, three lines on the right
   ========================================================================== */
.guide { padding-bottom: var(--section); }
.guide-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.guide-step { display: grid; gap: 1.5rem; padding: clamp(1.75rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 820px) { .guide-step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); } }
.guide-step__n { display: block; margin-bottom: 0.6rem; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.guide-step__text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -0.03em; }
.guide-step__text p { margin-top: 0.9rem; max-width: 34rem; color: var(--ink-soft); }
.guide-step__text strong { color: var(--ink); font-weight: 500; }
.guide-tip { padding-left: 0.9rem; border-left: 2px solid var(--accent-bright); font-size: 0.92rem; }
kbd { display: inline-block; padding: 0.05rem 0.4rem; border: 1px solid var(--line-strong); border-bottom-width: 2px; font-family: var(--mono); font-size: 0.78em; background: var(--paper); }

/* The little screen drawings */
.guide-step__art { display: grid; gap: 0.9rem; align-content: center; min-height: 250px; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--ecru); }
.g-field { display: grid; gap: 0.4rem; padding: 0.9rem 1rem; background: var(--paper); }
.g-label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.g-input { display: block; padding-bottom: 0.35rem; border-bottom: 1px solid var(--ink); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-input--title { font-family: var(--serif); font-size: 1.1rem; font-weight: 300; }
.g-caret { display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--ink); animation: g-blink 1s steps(1) infinite; }
@keyframes g-blink { 50% { opacity: 0; } }
.g-piece { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 0.9rem; padding: 0.75rem; background: var(--paper); border-left: 3px solid var(--accent-bright); }
.g-thumb { width: 64px; height: 64px; background: var(--stone); position: relative; }
.g-thumb--blazer::before { content: ''; position: absolute; inset: 10px 18px; background: var(--ink); clip-path: polygon(20% 0, 80% 0, 100% 18%, 100% 100%, 0 100%, 0 18%); }
.g-lines { display: grid; font-size: 0.85rem; }
.g-lines b { font-weight: 500; }
.g-lines small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--muted); }
.g-tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-bright); font-size: 0.8rem; }
.g-board { display: grid; grid-template-columns: 2fr 1fr; height: 190px; background: var(--paper); }
.g-board__model { overflow: hidden; }
.g-board__model img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.g-board__col { display: grid; gap: 8px; padding: 10px; background: var(--stone); }
.g-board__col i { background: var(--sand); }
.g-board__col i:nth-child(odd) { background: var(--ink); opacity: 0.85; }
.g-choice, .g-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.g-choice span, .g-chips span {
  padding: 0.4rem 0.75rem; border: 1px solid var(--line-strong); background: var(--paper);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.g-choice .is-on, .g-chips .is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.g-publish { display: grid; grid-template-columns: 120px 1fr; align-items: end; gap: 1.25rem; }
.g-card { display: grid; gap: 0.4rem; font-size: 0.75rem; }
.g-card img { width: 120px; height: 150px; object-fit: cover; }
.g-card b { font-weight: 400; }
.g-btn { justify-self: start; padding: 0.9rem 1.4rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 0 0 4px var(--accent-bright); }
@media (prefers-reduced-motion: reduce) { .g-caret { animation: none; } }

.guide-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--stone); }
.guide-end .h3 { font-weight: 300; }

/* The "2-minute guide" link on the post-a-look page */
.guide-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-bright); }

/* ==========================================================================
   32. SHOP TAGS: dots on the look photo, and the tool to place them
   ========================================================================== */
/* On the look page */
.look-gallery figure { position: relative; }
.look-gallery figure.has-tags img { aspect-ratio: auto; } /* the whole photo, so the dots sit where they were placed */
.shop-tag { position: absolute; z-index: 2; width: 0; height: 0; }
/* A small white circle (14px) with a dark centre; the button around it stays 32px so it's easy to tap */
.shop-tag__dot {
  position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%;
  background: transparent;
}
.shop-tag__dot::after {
  content: ''; position: absolute; left: 9px; top: 9px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 2.5px, rgba(255, 255, 255, 0.94) 3px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease);
}
.shop-tag__dot::before { /* a faint slow ring, so people notice the dots are there */
  content: ''; position: absolute; left: 9px; top: 9px; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: tag-ring 2.8s var(--ease) infinite;
}
@keyframes tag-ring { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(2); opacity: 0; } }
.shop-tag:hover .shop-tag__dot::after, .shop-tag.is-open .shop-tag__dot::after {
  transform: scale(1.25);
  background: radial-gradient(circle, var(--ink) 0 2.5px, var(--accent-bright) 3px);
}
.shop-tag.is-open .shop-tag__dot::before, .shop-tag:hover .shop-tag__dot::before { animation: none; opacity: 0; }

.shop-tag__card {
  position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center;
  width: max-content; max-width: min(270px, 62vw); padding: 0.6rem 0.85rem 0.6rem 0.6rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.shop-tag__card:not(:has(img)) { grid-template-columns: 1fr; padding-left: 0.85rem; }
.shop-tag--right .shop-tag__card { left: 16px; }
.shop-tag--left .shop-tag__card { right: 16px; }
.shop-tag--down .shop-tag__card { top: -16px; }
.shop-tag--up .shop-tag__card { bottom: -16px; }
.shop-tag.is-open .shop-tag__card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) {
  .shop-tag:hover .shop-tag__card, .shop-tag:focus-within .shop-tag__card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .shop-tag:hover { z-index: 3; }
}
.shop-tag.is-open { z-index: 3; }
.shop-tag__card img { width: 58px; height: 58px; object-fit: contain; background: var(--stone); mix-blend-mode: multiply; }
.shop-tag__text { display: grid; gap: 0.15rem; min-width: 0; }
.shop-tag__name { font-family: var(--serif); font-size: 0.98rem; line-height: 1.2; }
.shop-tag__meta { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.shop-tag__buy {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; justify-self: start;
  padding: 0.4rem 0.6rem; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.shop-tag__buy:hover { background: var(--accent-bright); color: var(--ink); }
.look-summary__hint { font-size: 0.85rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .shop-tag__dot::before { animation: none; opacity: 0; } }

/* In the look form (05) */
.tagger .hint { margin: 0; }
.tagger__images { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.tagger__images button { width: 58px; height: 72px; padding: 0; border: 1px solid var(--line); opacity: 0.6; }
.tagger__images button[aria-pressed="true"] { border-color: var(--ink); opacity: 1; box-shadow: 0 0 0 2px var(--accent-bright); }
.tagger__images img { width: 100%; height: 100%; object-fit: cover; }
.tagger__layout { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 760px) { .tagger__layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.tagger__stage { position: relative; justify-self: start; cursor: crosshair; touch-action: none; user-select: none; background: var(--stone); }
.tagger__stage img { display: block; max-width: 100%; max-height: 70vh; width: auto; pointer-events: none; }
.tagger__dot {
  position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); cursor: grab; touch-action: none;
}
.tagger__dot:active { cursor: grabbing; }
.tagger__dot.is-active { background: var(--accent-bright); box-shadow: 0 0 0 3px var(--paper), 0 2px 12px rgba(0, 0, 0, 0.35); }
.tagger__pieces .kicker { margin-bottom: 0.75rem; }
.tagger__pieces ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.tagger__piece {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 0.65rem; width: 100%;
  padding: 0.6rem 0.75rem; border: 1px solid var(--line); background: var(--paper); text-align: left;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.tagger__piece:hover { border-color: var(--ink); }
.tagger__piece.is-active { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--accent-bright); }
.tagger__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--stone); font-family: var(--mono); font-size: 0.7rem; }
.tagger__piece.is-active .tagger__n { background: var(--accent-bright); }
.tagger__name { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tagger__state { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tagger__state.is-done { color: var(--ink); }
.tagger__state.is-done::before { content: '✓ '; }
.tagger__remove { margin-top: 0.75rem; font-size: 0.85rem; }

/* ==========================================================================
   33. STYLE THIS PIECE (piece.html) + its entry points
   ========================================================================== */
.piece-examples { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.piece-examples a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.piece-examples a:hover { text-decoration-color: var(--accent-bright); }

.piece-results { padding-bottom: var(--section); }
.piece-status { margin: 1.5rem 0 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.piece-product {
  display: grid; grid-template-columns: 140px 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); background: var(--stone);
}
.piece-product__photo { display: grid; place-items: center; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.piece-product__photo img { width: 86%; height: 86%; object-fit: contain; }
.piece-product__photo span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0.5rem; }
.piece-product__text { display: grid; gap: 0.5rem; justify-items: start; }
.piece-product__text .h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.piece-product__meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.piece-product__count { color: var(--ink-soft); }
.piece-product__count strong { font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .piece-product { grid-template-columns: 96px 1fr; } }

.piece-block { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.piece-block__head { margin-bottom: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.piece-block__head .kicker { margin-bottom: 0.4rem; }
.piece-match { display: grid; gap: 0.5rem; align-content: start; }
.piece-match__with { font-size: 0.82rem; color: var(--ink-soft); padding-left: 0.6rem; border-left: 2px solid var(--accent-bright); }
.piece-match__with span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 0.3rem; }

/* Homepage hero: paste a link */
.hero-piece { margin-top: 2.25rem; max-width: 30rem; }
.hero-piece .kicker { display: block; margin-bottom: 0.6rem; }
.hero-piece__row { display: flex; border-bottom: 1px solid var(--ink); }
.hero-piece__row input { flex: 1; min-width: 0; padding: 0.7rem 0; border: 0; background: none; font-size: 0.98rem; }
.hero-piece__row input:focus { outline: none; }
.hero-piece__row:focus-within { border-bottom-color: var(--accent-bright); box-shadow: 0 1px 0 var(--accent-bright); }
.hero-piece__row button { padding: 0 0.3rem 0 1rem; font-size: 1.3rem; }
.hero-piece__row button:hover { color: var(--accent); }

/* Look page: "styled N more ways" under a piece, and in the shop-tag card */
.piece-cards__item { flex-direction: column; }
.piece-card__more {
  display: block; padding: 0.65rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--paper);
}
.piece-card__more:hover { background: var(--accent-soft); }
.piece-card__more--quiet { color: var(--muted); }
.shop-tag__more { margin-top: 0.3rem; font-size: 0.78rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }

/* Visitors on "Style this piece": the invitation after the 3-look preview */
.piece-join {
  display: grid; justify-items: center; gap: 0.9rem; margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); text-align: center;
  background: var(--ink); color: var(--paper);
}
.piece-join .kicker { color: rgba(255, 255, 255, 0.65); }
.piece-join .h2 em { background: none; }
.piece-join p:not(.kicker) { max-width: 32rem; color: rgba(255, 255, 255, 0.8); }
.piece-join .btn--solid { background: var(--paper); border-color: var(--paper); color: var(--ink); margin-top: 0.5rem; }
.piece-join .btn--solid:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.piece-join__signin { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   34. YOUR STATS (stats.html)
   ========================================================================== */
.stats-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.stats-controls { display: grid; gap: 0.6rem; justify-items: end; }
.period { display: flex; border: 1px solid var(--ink); background: var(--paper); }
.period button { padding: 0.55rem 0.9rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.period button + button { border-left: 1px solid var(--line); }
.period button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.period button.is-locked { color: var(--muted); }
.period button.is-locked::after { content: ' ·  Pro'; }
.stats-pro { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.55rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent-bright); color: var(--ink); }
.stats-pro svg { width: 0.9rem; height: 0.9rem; }
.stats-pro--free { background: var(--stone); color: var(--muted); }
.stats-page { padding-bottom: var(--section); }

.stats-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.stats-tile { padding: 1.25rem 1.25rem 1.1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-tile dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats-tile dd { margin: 0.5rem 0 0.35rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; }
.stats-tile p { font-size: 0.8rem; color: var(--muted); }

.stats-section { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.stats-section__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--ink); }
.stats-split { display: grid; gap: 0 clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) { .stats-split { grid-template-columns: 1fr 1fr; } }
.stats-empty { color: var(--muted); font-size: 0.92rem; padding: 1rem 0; }
.stats-muted { color: var(--muted); }
.stats-note { margin-top: 2.5rem; font-size: 0.82rem; color: var(--muted); }

/* Chart: one series in charcoal, a recessive grid, hover for the day's numbers */
.stats-chart { position: relative; }
.stats-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.stats-chart svg * { stroke: none; } /* the site's icon outline style doesn't belong on the chart */
.stats-bar { fill: var(--ink); }
.stats-chart .stats-grid { stroke: var(--line); stroke-width: 1; }
.stats-axis { font-family: var(--mono); font-size: 10px; fill: var(--muted); }
.stats-hit { fill: transparent; cursor: default; }
.stats-hit:hover { fill: rgba(226, 179, 58, 0.18); }
.stats-tip {
  position: absolute; top: -0.5rem; width: 150px; display: grid; gap: 0.1rem; padding: 0.55rem 0.7rem;
  background: var(--ink); color: var(--paper); font-size: 0.78rem; pointer-events: none; z-index: 2;
}
.stats-tip strong { font-weight: 500; }
.stats-table-toggle { margin-top: 0.75rem; }
.stats-table-toggle summary { cursor: pointer; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.stats-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.stats-sources li { display: grid; grid-template-columns: 9.5rem 1fr auto; align-items: center; gap: 0.9rem; font-size: 0.9rem; }
.stats-sources__bar { height: 10px; background: var(--stone); }
.stats-sources__bar i { display: block; height: 100%; background: var(--ink); border-radius: 0 2px 2px 0; }
.stats-sources__n { font-variant-numeric: tabular-nums; }
.stats-sources__n small { color: var(--muted); margin-left: 0.3rem; }

.stats-table-wrap { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.stats-table th { padding: 0.6rem 0.75rem 0.6rem 0; text-align: left; font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.stats-table td { padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.stats-table a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.stats-table a:hover { text-decoration-color: var(--accent-bright); }
.stats-look { display: flex; align-items: center; gap: 0.75rem; min-width: 14rem; }
.stats-look img, .stats-look span { width: 40px; height: 50px; object-fit: cover; background: var(--stone); flex: none; }

/* Pro sections on the free plan: a faded sketch of the chart, and the invitation */
.stats-locked { position: relative; display: grid; min-height: 190px; background: var(--stone); overflow: hidden; }
.stats-locked__ghost { position: absolute; inset: 1.5rem 1.5rem 0; display: flex; align-items: flex-end; gap: 6px; opacity: 0.12; }
.stats-locked__ghost i { flex: 1; background: var(--ink); }
.stats-locked__ghost i:nth-child(1) { height: 30%; } .stats-locked__ghost i:nth-child(2) { height: 55%; }
.stats-locked__ghost i:nth-child(3) { height: 40%; } .stats-locked__ghost i:nth-child(4) { height: 75%; }
.stats-locked__ghost i:nth-child(5) { height: 60%; } .stats-locked__ghost i:nth-child(6) { height: 90%; }
.stats-locked__ghost i:nth-child(7) { height: 50%; } .stats-locked__ghost i:nth-child(8) { height: 70%; }
.stats-locked__text { position: relative; display: grid; gap: 0.5rem; justify-items: start; align-content: center; padding: 1.5rem; max-width: 28rem; }
.stats-locked__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 300; }
.stats-locked__text p:not(.stats-locked__title) { font-size: 0.9rem; color: var(--ink-soft); }

/* ==========================================================================
   35. AFFILIATE EARNINGS: notice next to Buy links, stylist earnings, admin import
   ========================================================================== */
.affiliate-note { margin-top: 0.6rem; font-size: 0.78rem; color: var(--muted); }
.stats-earn-empty { display: grid; gap: 0.5rem; padding: 1.25rem 1.5rem; background: var(--stone); border-left: 2px solid var(--accent-bright); }
.stats-earn-empty strong { font-weight: 500; }
.stats-earn-share { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.stats-tiles--earn { margin-top: 0; margin-bottom: 1.25rem; }

.admin { padding-bottom: var(--section); display: grid; gap: clamp(2rem, 4vw, 3rem); }
.admin-step { display: grid; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.admin-step .h3 { font-weight: 300; }
.admin-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.admin-field { min-width: 12rem; margin: 0; }
.admin-file { cursor: pointer; }
.admin-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem 1.25rem; }
.admin-map .field { margin: 0; }
.admin-result { min-height: 1.4em; font-size: 0.92rem; }
.admin-result strong { font-weight: 500; }

/* Plan badge: only shown to the stylist themselves (own profile page, name menu) */
.plan-badge-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.plan-badge {
  display: inline-block; padding: 0.22rem 0.55rem; vertical-align: middle;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--stone); color: var(--muted);
}
.plan-badge--pro { background: var(--accent-bright); color: var(--ink); }
.account-menu__name .plan-badge { margin-left: 0.4rem; font-size: 0.55rem; }
.plan-badge__hint { font-size: 0.8rem; color: var(--muted); }
a.plan-badge__hint { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
a.plan-badge__hint:hover { color: var(--ink); }

/* ==========================================================================
   36. PRO EARNINGS CHARTS (stats.html)
   Confirmed & paid: solid charcoal line over a faint area. Including pending:
   dashed grey line (told apart by dash as well as shade). Hover: crosshair + tooltip.
   ========================================================================== */
.earn-charts__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.25rem; }
.period--small button { padding: 0.45rem 0.75rem; font-size: 0.62rem; }
.earn-filter { font-size: 0.88rem; color: var(--ink-soft); }
.earn-filter strong { font-weight: 500; color: var(--ink); }
.earn-block { padding: 1.25rem 1.25rem 1rem; border: 1px solid var(--line); background: var(--paper); }
.earn-block + .earn-split, .earn-split { margin-top: 1rem; }
.earn-split { display: grid; gap: 1rem; }
@media (min-width: 900px) { .earn-split { grid-template-columns: 1.2fr 1fr; } }
.earn-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.75rem; }
.earn-block__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 300; letter-spacing: -0.015em; }
.earn-hint { font-size: 0.78rem; }

.stats-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: 0.78rem; color: var(--ink-soft); }
.stats-legend__line { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--ink); margin-right: 0.4rem; vertical-align: middle; }
.stats-legend__line--muted { border-top: 2px dashed var(--muted); margin-left: 0.5rem; }

.stats-chart .stats-area { fill: rgba(31, 30, 28, 0.07); }
.stats-chart .stats-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.stats-chart .stats-line--muted { stroke: var(--muted); stroke-dasharray: 5 4; }
.stats-chart .stats-cross__line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.stats-chart .stats-cross__dot { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.stats-chart .stats-cross__dot--muted { fill: var(--muted); }
.stats-endlabel { font-family: var(--sans); font-size: 11px; fill: var(--ink-soft); }
.stats-endlabel--muted { fill: var(--muted); }
.stats-endlabel__v { font-size: 13px; font-weight: 500; fill: var(--ink); }
.stats-endlabel--muted .stats-endlabel__v { fill: var(--muted); }
.stats-tip--wide { width: auto; min-width: 190px; }
.stats-tip b { font-weight: 500; color: var(--accent-bright); }

/* By look: ranked bars that double as filters */
.earn-looks { display: grid; gap: 0.35rem; }
.earn-looks__all { justify-self: start; margin-bottom: 0.3rem; padding: 0.35rem 0.7rem; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.earn-looks__all[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.earn-look {
  display: grid; grid-template-columns: minmax(0, 8rem) 1fr auto; align-items: center; gap: 0.75rem;
  width: 100%; padding: 0.45rem 0.5rem; text-align: left; font-size: 0.85rem; border: 1px solid transparent;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.earn-look:hover { background: var(--stone); }
.earn-look[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-soft); }
.earn-look__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.earn-look__bar { height: 10px; background: var(--stone); }
.earn-look__bar i { display: block; height: 100%; background: var(--ink); border-radius: 0 2px 2px 0; }
.earn-look[aria-pressed="true"] .earn-look__bar i { background: var(--accent-bright); }
.earn-look__v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.earn-look__v small { color: var(--muted); margin-left: 0.3rem; }

/* ==========================================================================
   37. SHARE TO INSTAGRAM / TIKTOK (share-kit.js)
   ========================================================================== */
.sheet.share-kit { width: min(920px, calc(100vw - 32px)); }
.share-kit__panel { padding: 1.5rem; }
.share-kit__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.share-kit .sheet__title { text-align: left; font-weight: 300; margin-top: 0.3rem; }
.share-kit__close { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.1rem; }
.share-kit__close:hover { background: var(--stone); }
.share-kit__body { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .share-kit__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.share-kit__preview { display: grid; gap: 0.75rem; justify-items: start; }
.share-kit__frame { display: grid; place-items: center; width: 100%; background: var(--stone); overflow: hidden; }
.share-kit__frame--story { aspect-ratio: 9 / 16; width: auto; height: min(56svh, 560px); }
.share-kit__frame--post { aspect-ratio: 4 / 5; width: auto; height: min(52svh, 480px); }
.share-kit__frame img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.3); }
.share-kit__side { display: grid; gap: 1.1rem; }
.share-kit__step { display: grid; grid-template-columns: 30px 1fr; gap: 0.9rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.share-kit__step:last-child { border-bottom: 0; padding-bottom: 0; }
.share-kit__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-bright); font-family: var(--mono); font-size: 0.8rem; font-weight: 500; }
.share-kit__label { margin-bottom: 0.5rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 300; }
.share-kit__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share-kit__caption { width: 100%; margin-bottom: 0.5rem; font-size: 0.82rem; line-height: 1.5; resize: vertical; }
.share-kit .hint { margin: 0 0 0.6rem; }
#share-look svg { width: 1rem; height: 1rem; }
.look-published__share { color: inherit; margin-left: 0.25rem; text-decoration-color: var(--accent-bright); }

/* ==========================================================================
   38. MY WARDROBE (wardrobe.html) + "I own this"
   ========================================================================== */
.wardrobe-add {
  display: flex; flex-wrap: wrap; margin-top: 2rem; max-width: 860px;
  border: 1px solid var(--ink); background: var(--paper);
}
.wardrobe-add:focus-within { box-shadow: 0 0 0 3px var(--accent-bright); }
.wardrobe-add__input { flex: 1 1 280px; min-width: 0; min-height: 56px; padding: 0 1.1rem; border: 0; background: none; font-size: 1rem; }
.wardrobe-add__input:focus, .wardrobe-add__cat:focus { outline: none; }
.wardrobe-add__cat { min-height: 56px; padding: 0 0.9rem; border: 0; border-left: 1px solid var(--line); background: none; font-size: 0.9rem; color: var(--ink-soft); }
.wardrobe-add__photo { display: grid; place-items: center; padding: 0 1rem; min-height: 56px; border-left: 1px solid var(--line); cursor: pointer; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.wardrobe-add__photo:hover { background: var(--stone); color: var(--ink); }
.wardrobe-add .btn { min-height: 56px; border: 0; }
@media (max-width: 640px) {
  .wardrobe-add__cat, .wardrobe-add__photo { flex: 1; border-top: 1px solid var(--line); }
  .wardrobe-add__cat { border-left: 0; }
  .wardrobe-add .btn { flex: 1 1 100%; }
}
.wardrobe-add__status { min-height: 1.4em; margin-top: 0.75rem; font-size: 0.88rem; color: var(--ink-soft); }

.wardrobe { padding-bottom: var(--section); }
.wardrobe-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.wardrobe-start { display: grid; gap: 1rem; justify-items: start; margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--stone); }
.wardrobe-start .chip { cursor: pointer; }

.wardrobe-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.wardrobe-item { position: relative; }
.wardrobe-item__link { display: grid; gap: 0.3rem; padding-bottom: 0.4rem; }
.wardrobe-item__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; margin-bottom: 0.4rem; transition: background-color 0.2s var(--ease); }
.wardrobe-item__photo img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.wardrobe-item__photo span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0.5rem; }
.wardrobe-item__link:hover .wardrobe-item__photo { background: var(--ecru); }
.wardrobe-item__name { font-family: var(--serif); font-size: 1.02rem; line-height: 1.2; }
.wardrobe-item__meta { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.wardrobe-item__count { font-size: 0.82rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.wardrobe-item__count.is-zero { color: var(--muted); text-decoration: none; }
.wardrobe-item__remove {
  position: absolute; top: 0.5rem; right: 0.5rem; width: 30px; height: 30px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.9); font-size: 0.8rem; opacity: 0; transition: opacity 0.2s var(--ease);
}
.wardrobe-item:hover .wardrobe-item__remove, .wardrobe-item__remove:focus-visible { opacity: 1; }
@media (hover: none) { .wardrobe-item__remove { opacity: 1; } }

/* "I own this" under each piece on a look page, and on the piece page */
.piece-card__actions { display: flex; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.piece-card__actions .piece-card__more { flex: 1; border: 0; }
.piece-card__own {
  padding: 0.65rem 1rem; border-left: 1px solid var(--line); white-space: nowrap;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.piece-card__own:hover { background: var(--accent-soft); color: var(--ink); }
.piece-card__own[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.piece-product__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 600px) {
  .piece-card__actions { flex-direction: column; }
  .piece-card__own { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
}
.wardrobe-start--strip { gap: 0.6rem; padding: 1rem 1.25rem; }

/* ==========================================================================
   39. FIT: "Worn by", "On someone like me", the Your fit panel, the form fields
   ========================================================================== */
.look-fit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.5rem; margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.look-fit__label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.look-fit a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.look-fit a:hover { text-decoration-color: var(--accent-bright); color: var(--ink); }
.look-fit__like { padding: 0.15rem 0.5rem; background: var(--accent-soft); font-size: 0.78rem; color: var(--ink); }

.like-me {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0 0.9rem;
  border: 1px solid var(--line-strong); background: var(--paper);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.like-me svg { width: 1rem; height: 1rem; }
.like-me:hover { border-color: var(--ink); }
.like-me[aria-pressed="true"] { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }

.sheet.fit-sheet { width: min(560px, calc(100vw - 32px)); }
.fit-sheet .sheet__title, .fit-sheet .sheet__text { text-align: left; }
.fit-sheet .sheet__title { font-weight: 300; margin-top: 0.3rem; }
.fit-sheet__groups { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.fit-sheet__group .choices { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.fit-sheet .choice small { margin-left: 0.4rem; font-size: 0.7rem; color: var(--muted); }
.fit-sheet .choice input:checked + span small { color: rgba(255, 255, 255, 0.7); }
.fit-sheet .sheet__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

.fit-fields { margin-top: 1.5rem; }
.fit-fields .hint { margin: 0.3rem 0 0.75rem; }
.fit-fields__row { display: grid; gap: 0.75rem 1rem; }
@media (min-width: 640px) { .fit-fields__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fit-fields__row .field { margin: 0; }

/* ==========================================================================
   40. THE SAME LOOK AT THREE BUDGETS
   ========================================================================== */
.look-pieces__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.budget-switch { display: flex; border: 1px solid var(--ink); background: var(--paper); }
.budget-switch button { display: grid; justify-items: start; gap: 0.1rem; min-width: 7.5rem; padding: 0.6rem 0.9rem; text-align: left; transition: background-color 0.2s var(--ease); }
.budget-switch button + button { border-left: 1px solid var(--line); }
.budget-switch button:hover { background: var(--stone); }
.budget-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.budget-switch__sign { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; }
.budget-switch__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.budget-switch__total { font-family: var(--serif); font-size: 1.15rem; font-weight: 300; }
.budget-switch button[aria-pressed="true"] .budget-switch__sign { color: var(--accent-bright); }
@media (max-width: 600px) { .budget-switch { width: 100%; } .budget-switch button { flex: 1; min-width: 0; padding: 0.55rem 0.6rem; } }
.look-total { min-height: 1.4em; margin: 0.9rem 0 1rem; font-size: 0.92rem; color: var(--ink-soft); }
.look-total strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--ink); }
.look-total span { color: var(--muted); }

.piece-card__swap { justify-self: start; align-self: start; padding: 0.15rem 0.45rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.piece-card__swap--save { background: var(--accent-soft); color: var(--ink); }
.piece-card__swap--splurge { background: var(--ink); color: var(--paper); }
.piece-card__swap--same { background: var(--stone); color: var(--muted); }
.piece-card__instead { margin-top: -0.5rem; font-size: 0.75rem; color: var(--muted); }
.look-summary__budget { font-size: 0.88rem; color: var(--ink-soft); }
.look-summary__budget strong { font-weight: 500; color: var(--ink); }

/* In the form: the alternatives under each piece */
.piece-alts { grid-column: 1 / -1; margin-top: 0.5rem; }
.piece-alts summary { cursor: pointer; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 0.4rem 0; }
.piece-alts summary:hover { color: var(--ink); }
.piece-alts[open] summary { margin-bottom: 0.3rem; }
.piece-alts > .hint { margin: 0 0 0.75rem; }
.piece-alt { padding: 0.9rem 1rem; background: var(--stone); }
.piece-alt + .piece-alt { margin-top: 0.5rem; }
.piece-alt__tag { margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; }
.piece-alt__tag span { margin-left: 0.4rem; font-weight: 400; color: var(--muted); letter-spacing: 0; font-family: var(--sans); font-size: 0.8rem; }
.piece-alt__fields { display: grid; gap: 0.6rem 0.9rem; }
@media (min-width: 700px) { .piece-alt__fields { grid-template-columns: 1.4fr 1fr 1.6fr 0.8fr; } }
.piece-alt__fields .field { margin: 0; }
.piece-alt__fields .input { background: var(--paper); }
.piece-alt__hint { display: block; margin-top: 0.4rem; }

/* ==========================================================================
   41. SHOP THE WHOLE LOOK (checklist, grouped by shop)
   ========================================================================== */
.look-total-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0.9rem 0 1rem; }
.look-total-row .look-total { margin: 0; }
.sheet.shop-all { width: min(640px, calc(100vw - 32px)); }
.shop-all__panel { padding: 1.5rem; }
.shop-all__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.shop-all .sheet__title { text-align: left; font-weight: 300; margin-top: 0.3rem; }
.shop-all__sum { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.shop-all__sum strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--ink); }
.shop-all__tier { margin-right: 0.4rem; padding: 0.15rem 0.45rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.shop-all__tiers { margin-top: 1rem; width: fit-content; }
.shop-all__groups { display: grid; gap: 1rem; margin-top: 1.25rem; }
.shop-all__shop { display: flex; justify-content: space-between; padding-bottom: 0.4rem; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.shop-all__shop span { font-weight: 400; color: var(--muted); }
.shop-all__group ul { list-style: none; margin: 0; padding: 0; }
.shop-all__item { display: grid; grid-template-columns: 30px 48px 1fr auto; align-items: center; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.shop-all__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--stone); font-family: var(--mono); font-size: 0.66rem; color: var(--muted); }
.shop-all__item.is-done .shop-all__check { background: var(--accent-bright); color: var(--ink); font-size: 0.85rem; }
.shop-all__thumb { width: 48px; height: 56px; background: var(--stone); overflow: hidden; }
.shop-all__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shop-all__text { display: grid; gap: 0.1rem; min-width: 0; }
.shop-all__name { font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-all__item.is-done .shop-all__name { color: var(--muted); }
.shop-all__meta { font-size: 0.78rem; color: var(--muted); }
.shop-all__meta em { font-style: normal; color: var(--ink-soft); }
.shop-all__missing { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.shop-all__missing a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.shop-all__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.shop-all__next { flex: 1 1 auto; }
.shop-all__done { flex: 1 1 auto; padding: 0.8rem 1rem; background: var(--accent-soft); font-size: 0.92rem; }
.shop-all__hint { margin: 0.9rem 0 0; }
@media (max-width: 520px) {
  .shop-all__item { grid-template-columns: 28px 1fr auto; }
  .shop-all__thumb { display: none; }
}

/* ==========================================================================
   42. FOUNDING CREATORS (badge, founding.html, homepage spot, admin review)
   ========================================================================== */
/* The badge: stencilled label with a blush rule on the left */
.founding-badge {
  display: inline-block; padding: 0.2rem 0.5rem 0.2rem 0.45rem; vertical-align: middle; white-space: nowrap;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
  color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-left: 3px solid var(--accent-bright);
}
.stylist-card__name + .founding-badge { margin-top: 0.35rem; align-self: flex-start; }
.look-info__stylist .founding-badge { font-size: 0.52rem; margin-left: 0.3rem; }
.account-menu__name .founding-badge { font-size: 0.52rem; }
.founding-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); }
.founding-row .founding-badge { font-size: 0.66rem; }

/* Places counter */
.founding-meter { display: grid; gap: 0.5rem; max-width: 26rem; }
.founding-meter__bar { height: 4px; background: var(--sand); overflow: hidden; }
.founding-meter__bar span { display: block; height: 100%; width: 0; background: var(--accent-bright); transition: width 0.8s var(--ease); }
.founding-meter__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.founding-meter__label strong { font-weight: 500; color: var(--ink); }

/* Apply: the form, or where you stand */
.founding-apply .section-intro { margin-bottom: 2rem; }
.founding-form { display: grid; }
.founding-form .field input[name="link"] + input[name="link"] { margin-top: 0.25rem; }
.founding-form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.founding-form .field__error:not(:empty) { margin-top: 1rem; }
.founding-form > .hint { margin-top: 0.9rem; }
.founding-state { display: grid; justify-items: start; gap: 0.9rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--stone); border-top: 1px solid var(--ink); }
.founding-state h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 300; }
.founding-state p { color: var(--ink-soft); max-width: 36rem; }
.founding-state p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.founding-state--in { background: var(--accent-soft); }

/* Homepage: the invitation shown before there are any founding creators */
.founding-invite {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.5rem 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--ecru); border-top: 1px solid var(--ink);
  transition: background-color 0.25s;
}
.founding-invite:hover { background: var(--sand); }
.founding-invite__n { grid-row: span 2; font-family: var(--brand); font-size: clamp(3.5rem, 9vw, 6.5rem); font-weight: 200; line-height: 0.9; letter-spacing: -0.04em; }
.founding-invite__text { max-width: 40rem; color: var(--ink-soft); }
.founding-invite__text strong { display: block; font-family: var(--brand); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; color: var(--ink); margin-bottom: 0.3rem; }
.founding-invite__go { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid var(--accent-bright); justify-self: start; }
@media (min-width: 900px) {
  .founding-invite { grid-template-columns: auto 1fr auto; }
  .founding-invite__n { grid-row: auto; }
  .founding-invite__go { justify-self: end; }
}

/* Admin review */
.founding-apps { display: grid; gap: 1.25rem; }
.founding-app { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); }
.founding-app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.founding-app__head h3 { font-size: 1.35rem; font-weight: 400; }
.founding-app__status { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.22rem 0.55rem; background: var(--stone); color: var(--muted); white-space: nowrap; }
.founding-app__status--approved { background: var(--accent-bright); color: var(--ink); }
.founding-app__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem 1.5rem; margin: 0; }
.founding-app__facts dt { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.founding-app__facts dd { margin: 0.2rem 0 0; font-size: 0.92rem; overflow-wrap: anywhere; }
.founding-app__facts a, .founding-app__head a { text-decoration: underline; text-underline-offset: 3px; }
.founding-app__why { margin: 0; padding-left: 1rem; border-left: 3px solid var(--accent-bright); color: var(--ink-soft); white-space: pre-line; }
.founding-app__note { max-width: 32rem; }
.founding-app__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.founding-app__reply { margin-left: auto; }

/* ==========================================================================
   43. STYLING CHALLENGES (cards, challenges.html, challenge.html, entries, admin)
   ========================================================================== */
.challenges { padding-bottom: var(--section); display: grid; gap: clamp(3rem, 6vw, 5rem); }
.challenges__none { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.challenge-grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.challenge-grid--large { grid-template-columns: 1fr; }

/* Card: the piece photo with a stencilled status, then title and piece */
.challenge-card { display: grid; gap: 1rem; align-content: start; }
.challenge-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.challenge-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.challenge-card:hover .challenge-card__media img { transform: scale(1.03); }
.challenge-card__blank { display: grid; place-items: center; height: 100%; padding: 1.5rem; text-align: center; font-family: var(--brand); font-size: 1.4rem; font-weight: 300; color: var(--muted); }
.challenge-card__when, .challenge-card__won {
  position: absolute; left: 0.75rem; top: 0.75rem; padding: 0.3rem 0.6rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
}
.challenge-card--open .challenge-card__when { background: var(--accent-bright); }
.challenge-card--closed .challenge-card__when { background: var(--ink); color: var(--paper); }
.challenge-card__won { top: auto; bottom: 0.75rem; background: var(--accent-bright); }
.challenge-card__title { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 300; }
.challenge-card__piece { margin-top: 0.3rem; color: var(--ink-soft); }
.challenge-card__meta { margin-top: 0.3rem; font-size: 0.8rem; color: var(--muted); }
.challenge-card__brief { margin-top: 0.9rem; color: var(--ink-soft); max-width: 36rem; }
@media (min-width: 900px) {
  .challenge-card--large { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .challenge-card--large .challenge-card__title { font-size: clamp(2rem, 3.4vw, 3rem); }
  .challenge-card--large .challenge-card__piece { font-size: 1.1rem; }
}

/* One challenge: the piece big on the left, the brief on the right */
main:has(> #challenge-root) { padding-bottom: 0; }
.challenge-hero { display: grid; gap: clamp(1.5rem, 4vw, 4rem); padding-top: clamp(1rem, 3vw, 2.5rem); }
.challenge-hero__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.challenge-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.challenge-hero__info { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.challenge-hero__info .kicker a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.challenge-hero__piece { font-size: 1.1rem; color: var(--ink-soft); }
.challenge-hero__piece strong { font-weight: 500; color: var(--ink); }
.challenge-hero__piece a { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: 0.4rem; font-size: 0.85rem; border-bottom: 1px solid var(--accent-bright); }
.challenge-hero__piece a svg { width: 12px; height: 12px; }
.challenge-hero__brief { font-size: 1.05rem; line-height: 1.65; max-width: 34rem; }
.challenge-hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; margin: 0.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.challenge-hero__facts dt { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.challenge-hero__facts dd { margin: 0.25rem 0 0; font-family: var(--brand); font-size: 1.15rem; }
.challenge-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.challenge-hero__note { color: var(--ink-soft); max-width: 30rem; }
@media (min-width: 900px) { .challenge-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* Entries: a look card with a vote bar underneath */
.entry { position: relative; display: grid; align-content: start; }
.entry__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 2.5rem; margin-top: 0.6rem; }
.entry__vote {
  min-height: 36px; padding: 0 1rem; border: 1px solid var(--ink); background: var(--paper);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.entry__vote:hover { background: var(--ecru); }
.entry__vote.is-on { background: var(--ink); color: var(--paper); }
.entry__vote.is-on::before { content: '✓ '; }
.entry__votes { font-family: var(--brand); font-size: 1.05rem; }
.entry__mine { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.entry__badge {
  position: absolute; z-index: 2; left: 0.75rem; top: 0.75rem; padding: 0.3rem 0.6rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent-bright);
}
.entry--winner .look-card__media { outline: 3px solid var(--accent-bright); outline-offset: -3px; }
.challenge-more { margin-top: 2rem; color: var(--ink-soft); }
.challenge-more a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }

/* On a look: "Challenge entry · <title>" */
.look-challenge { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1rem 0 0; font-size: 0.9rem; }
.look-challenge a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.look-challenge__label { padding: 0.22rem 0.55rem; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: var(--stone); }
.look-challenge.is-winner .look-challenge__label { background: var(--accent-bright); }

/* Submit a look: "Entering a challenge" bar above the form */
.challenge-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 2rem; padding: 1rem 1.25rem; background: var(--accent-soft); border-left: 3px solid var(--accent-bright); }
.challenge-bar p { flex: 1 1 18rem; margin: 0; font-size: 0.92rem; }
.challenge-bar a { text-decoration: underline; text-underline-offset: 3px; }
.challenge-bar__kicker { flex-basis: 100%; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.visibility__option:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }

/* Admin */
.challenge-form { max-width: 48rem; }
.challenge-form__photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.challenge-form__photo-row .input { flex: 1 1 16rem; }
.challenge-form__thumb { width: 64px; aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; flex: none; }
.challenge-form__thumb img { width: 100%; height: 100%; object-fit: cover; }
.challenge-admin { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); }
.challenge-admin h3 a { text-decoration: underline; text-underline-offset: 3px; }
.challenge-admin .field { max-width: 36rem; }

/* ==========================================================================
   44. STOLEN PRO (pro.html): two plans side by side
   ========================================================================== */
.pro-plans { display: grid; gap: clamp(1rem, 2.5vw, 2rem); padding-bottom: var(--section); align-items: stretch; }
@media (min-width: 900px) { .pro-plans { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.pro-plan { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--stone); border-top: 1px solid var(--ink); }
.pro-plan--pro { background: var(--paper); border: 1px solid var(--ink); border-top: 4px solid var(--accent-bright); }
.pro-plan__name { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.pro-plan__price { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
.pro-plan__price span { font-family: var(--brand); font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; }
.pro-plan__price small { font-size: 0.95rem; color: var(--muted); }
.pro-plan__note { font-size: 0.85rem; color: var(--muted); margin-top: -0.4rem; }
.pro-plan__toggle { display: flex; gap: 0.5rem; }
.pro-plan__toggle em { font-style: normal; margin-left: 0.35rem; padding: 0.1rem 0.4rem; background: var(--accent-bright); color: var(--ink); font-size: 0.72rem; }
.pro-plan__toggle input:checked + span em { background: var(--accent-bright); color: var(--ink); }
.pro-plan__list { list-style: none; margin: 0.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.65rem; }
.pro-plan__list li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); }
.pro-plan__list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 2px; background: var(--ink); }
.pro-plan--pro .pro-plan__list li::before { background: var(--accent-bright); height: 3px; }
.pro-plan__list li:has(strong)::before { display: none; }
.pro-plan__list li:has(strong) { padding-left: 0; }
.pro-plan__list strong { font-weight: 500; color: var(--ink); }
.pro-plan__action { display: grid; justify-items: start; gap: 0.6rem; margin-top: auto; padding-top: 1.25rem; }
.pro-plan__buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pro-plan__on { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; }

/* ==========================================================================
   45. BRAND CAMPAIGNS (campaigns.html, the paid-partnership label, admin)
   ========================================================================== */
.campaigns { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-bottom: var(--section); }
.campaigns__group { display: grid; gap: 1.25rem; }
.campaign { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-top: 1px solid var(--ink); background: var(--paper); }
.campaign__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.campaign__brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.campaign__brand a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.campaign__logo { height: 28px; width: auto; max-width: 110px; object-fit: contain; }
.campaign__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 300; }
.campaign__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; margin: 0; }
.campaign__facts dt { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.campaign__facts dd { margin: 0.2rem 0 0; font-family: var(--brand); font-size: 1.15rem; }
.campaign__facts div:first-child dd { font-weight: 500; }
.campaign__brief { color: var(--ink-soft); max-width: 44rem; white-space: pre-line; }
.campaign__pieces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.campaign__pieces li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; }
.campaign__pieces a { text-decoration: underline; text-underline-offset: 3px; }
.campaign__piece-img { width: 44px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); flex: none; }
.campaign__piece-img img { width: 100%; height: 100%; object-fit: cover; }
.campaign__status { padding: 0.8rem 1rem; background: var(--stone); font-size: 0.92rem; }
.campaign__status strong { font-weight: 500; }
.campaign__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.campaign__actions:empty { display: none; }
.campaign__apply { display: grid; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.campaign__apply-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.campaign__apply-row .hint { flex: 1 1 18rem; }
.campaign__step { display: inline-block; padding: 0.22rem 0.55rem; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: var(--stone); color: var(--ink-soft); white-space: nowrap; }
.campaign__step--accepted, .campaign__step--approved { background: var(--accent-bright); color: var(--ink); }
.campaign__step--posted { background: var(--accent-soft); color: var(--ink); }
.campaign__step--paid { background: var(--ink); color: var(--paper); }
.campaign__step--declined, .campaign__step--withdrawn { color: var(--muted); }

/* The disclosure: on the look page, above the title, and on every card */
.paid-label { display: inline-block; margin: 0 0 0.9rem; padding: 0.3rem 0.65rem; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: var(--paper); }
.paid-label a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.look-card__paid {
  position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 2px;
  font-family: var(--mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(31, 30, 28, 0.82); color: var(--white);
}
.campaign-bar { border-left-color: var(--ink); }

/* Admin */
.campaign-form { max-width: 56rem; }
.campaign-form__piece { display: grid; grid-template-columns: 1fr; gap: 0.5rem; position: relative; padding: 0.75rem 2.5rem 0.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .campaign-form__piece { grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; } }
.campaign-form__piece .piece-row__remove { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
.campaign-form__logo { display: grid; place-items: center; width: 110px; height: 44px; background: var(--stone); overflow: hidden; }
.campaign-form__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.campaign-form__nums { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.campaign-admin__table td { vertical-align: top; }
.campaign-admin__pitch { max-width: 22rem; white-space: pre-line; font-size: 0.88rem; }
.campaign-admin__note { min-width: 12rem; font-size: 0.85rem; padding: 0.35rem 0; }
.campaign-admin__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.campaign-admin__owed { padding: 0.8rem 1rem; background: var(--accent-soft); }
.stats-table tfoot th { text-align: left; font-weight: 500; border-top: 1px solid var(--ink); }

/* ==========================================================================
   46. STYLIST BOOKINGS (profile section, book.html, bookings.html, setup, reviews)
   ========================================================================== */
/* On the stylist's page */
.profile-book { padding-top: clamp(2rem, 5vw, 4rem); }
.profile-book__rating { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.profile-book__services { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-top: 1.5rem; }
.profile-service { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.4rem; border: 1px solid var(--line); border-top: 1px solid var(--ink); background: var(--paper); transition: background-color 0.2s, border-color 0.2s; }
.profile-service:hover { background: var(--stone); border-color: var(--ink); }
.profile-service__title { font-family: var(--brand); font-size: 1.3rem; font-weight: 400; }
.profile-service__desc { font-size: 0.9rem; color: var(--ink-soft); }
.profile-service__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.8rem; }
.profile-service__foot strong { font-family: var(--brand); font-size: 1.25rem; font-weight: 500; }
.profile-book__promise { margin-top: 1rem; }
.profile-reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 2rem; }
.review { margin: 0; padding: 1.25rem; background: var(--stone); display: grid; gap: 0.6rem; }
.review blockquote { margin: 0; color: var(--ink-soft); }
.review figcaption { font-size: 0.78rem; color: var(--muted); }
.review__verified { color: var(--accent); font-weight: 500; }
.stars-show { color: var(--accent-bright); letter-spacing: 0.1em; }
.stars-show span { color: var(--sand); }

/* Booking: who and what on the left, when on the right */
.book { padding-bottom: var(--section); }
.book__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); margin-top: 1.5rem; }
@media (min-width: 960px) { .book__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.book__who { display: grid; gap: 0.75rem; align-content: start; }
.book__spec { color: var(--ink-soft); }
.book__rating { font-size: 0.92rem; }
.book__rating span { color: var(--accent-bright); }
.book__services { display: grid; gap: 0.6rem; margin-top: 1rem; }
.book-service { position: relative; display: grid; gap: 0.3rem; padding: 1rem 1.1rem; border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.book-service input { position: absolute; opacity: 0; }
.book-service.is-on, .book-service:has(input:checked) { border-color: var(--ink); background: var(--stone); box-shadow: inset 3px 0 0 var(--accent-bright); }
.book-service:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.book-service__top { display: flex; justify-content: space-between; gap: 1rem; }
.book-service__top strong { font-weight: 500; }
.book-service__desc { font-size: 0.86rem; color: var(--ink-soft); }
.book__when { display: grid; gap: 1rem; align-content: start; }
.book__days { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
.book-day { flex: none; display: grid; justify-items: center; gap: 0.1rem; width: 64px; padding: 0.6rem 0; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.book-day strong { font-family: var(--brand); font-size: 1.35rem; font-weight: 400; letter-spacing: 0; }
.book-day.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.book__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.5rem; }
.book-time { min-height: 44px; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; font-size: 0.92rem; }
.book-time:hover { border-color: var(--ink); }
.book-time.is-on { background: var(--accent-bright); border-color: var(--accent-bright); font-weight: 500; }
.book__none { padding: 1.25rem; background: var(--stone); }
.book__summary { display: grid; gap: 0.75rem; justify-items: start; padding: 1.5rem; border-top: 1px solid var(--ink); background: var(--stone); }
.book__price { font-family: var(--brand); font-size: 2rem; font-weight: 300; }
.book__promise { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.84rem; color: var(--ink-soft); }
.book__promise li::before { content: "✓ "; color: var(--accent); }

/* Your bookings */
.bookings { display: grid; gap: 2rem; padding-bottom: var(--section); }
.bookings__tabs { align-items: center; }
.bookings__tabs .link-arrow { margin-left: auto; }
.bookings__group { display: grid; gap: 0.75rem; }
.booking { display: grid; gap: 0.5rem 2rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-left: 3px solid var(--sand); background: var(--paper); }
@media (min-width: 760px) { .booking { grid-template-columns: 14rem 1fr; } }
.booking--confirmed, .booking--delivered { border-left-color: var(--accent-bright); }
.booking--issue { border-left-color: var(--danger); }
.booking--completed { border-left-color: var(--ink); }
.booking__when { font-family: var(--brand); font-size: 1.1rem; }
.booking__body { display: grid; gap: 0.4rem; }
.booking__title strong { font-weight: 500; }
.booking__title a { text-decoration: underline; text-underline-offset: 3px; }
.booking__status { font-weight: 500; color: var(--ink); }
.booking__notes { font-size: 0.9rem; color: var(--ink-soft); font-style: italic; }
.booking__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.4rem; }
.meeting-form { display: flex; gap: 0.5rem; flex: 1 1 22rem; }
.meeting-form .input { flex: 1; padding: 0.4rem 0; }
.review-form { display: grid; gap: 0.6rem; width: 100%; max-width: 32rem; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; gap: 0.15rem; }
.stars legend { width: 100%; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 1.7rem; line-height: 1; color: var(--sand); cursor: pointer; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--accent-bright); }
.stars input:focus-visible + label { outline: 2px solid var(--ink); }

/* Setup */
.booking-setup { display: grid; gap: 2.5rem; padding-bottom: var(--section); max-width: 60rem; }
.booking-setup__soon { padding: 0.9rem 1.1rem; background: var(--accent-soft); border-left: 3px solid var(--accent-bright); }
.booking-setup__step h2 span { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-right: 0.6rem; }
.booking-setup__ok { font-weight: 500; }
.booking-setup__switch { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.booking-setup__switch--big { align-items: flex-start; padding: 1rem 1.1rem; background: var(--stone); }
.booking-setup__switch--big span { display: grid; gap: 0.15rem; font-size: 0.9rem; color: var(--ink-soft); }
.booking-setup__switch--big strong { color: var(--ink); font-weight: 500; font-size: 1rem; }
.booking-setup input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ink); }
.hours { display: grid; border-top: 1px solid var(--line); }
.hours-day { display: grid; grid-template-columns: 9rem 1fr auto; align-items: center; gap: 0.5rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .hours-day { grid-template-columns: 1fr; } }
.hours-day__name { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; cursor: pointer; }
.hours-day__ranges { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.hours-range { display: inline-flex; align-items: center; gap: 0.4rem; }
.hours-range .input { width: 7.5rem; padding: 0.3rem 0; }
.hours-range .piece-row__remove { position: static; }
.service-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.service-row.is-off { opacity: 0.55; }
.service-row h3 { font-size: 1.15rem; font-weight: 400; }
.service-row__desc { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.3rem; max-width: 40rem; }
.service-row__actions { display: flex; gap: 0.4rem; align-items: flex-start; }
.service-form { display: grid; gap: 1.25rem; padding: 1.25rem; margin-top: 1rem; background: var(--stone); }
.service-form .field + .field, .service-form .field-row + .field, .service-form .field + .field-row { margin-top: 0; }
.service-form__nums { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.admin-bookings__totals { margin-bottom: 1.5rem; }

/* ==========================================================================
   47. YOUR ACCOUNT (settings.html): a grid of cards, then one section each
   ========================================================================== */
.settings { padding-bottom: var(--section); }
.settings__head { padding-inline: 0; }
.acct-group { margin-top: clamp(2rem, 4vw, 3rem); }
.acct-group__title { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.acct-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.acct-card {
  display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 1rem;
  padding: 1.25rem 1.3rem; border: 1px solid var(--line); background: var(--paper);
  transition: background-color 0.2s, border-color 0.2s, translate 0.25s var(--ease);
}
.acct-card:hover { background: var(--stone); border-color: var(--ink); translate: 0 -2px; }
.acct-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.acct-card__icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ecru); border-radius: 50%; }
.acct-card:hover .acct-card__icon { background: var(--accent-bright); }
.acct-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.acct-card__text { display: grid; gap: 0.25rem; }
.acct-card__text strong { font-family: var(--brand); font-size: 1.12rem; font-weight: 500; }
.acct-card__text span { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.acct-card--danger .acct-card__text strong { color: var(--danger); }
.acct-card--danger:hover .acct-card__icon { background: #f3dcdc; }

/* A section: breadcrumb, title, then rows */
.acct-crumb { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: clamp(1.5rem, 3vw, 2.5rem); font-size: 0.86rem; color: var(--muted); }
.acct-crumb a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.settings__section-head { display: grid; gap: 0.6rem; margin: 1rem 0 1.75rem; max-width: 44rem; }
.acct-section { display: grid; max-width: 48rem; border: 1px solid var(--line); background: var(--paper); }
.acct-section > .piece-status, .acct-section > .field__error { padding: 1.25rem; }
.acct-section > #member-form { padding: clamp(1rem, 3vw, 2rem); }
.acct-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.acct-row:last-child { border-bottom: 0; }
.acct-row__label { font-weight: 500; }
.acct-row__value { margin-top: 0.2rem; color: var(--ink-soft); }
.acct-row .btn { flex: none; }
@media (max-width: 560px) { .acct-row { flex-direction: column; align-items: flex-start; } }
.acct-form { display: grid; gap: 1rem; padding: 1.2rem 1.4rem; background: var(--stone); border-bottom: 1px solid var(--line); }
.acct-form .field + .field { margin-top: 0; }
.acct-form--open { background: var(--paper); }
.acct-form--open .mf-block + .mf-block { margin-top: 0.5rem; }
.acct-switch { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.acct-switch input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--ink); }
.acct-switch span { display: grid; gap: 0.25rem; font-size: 0.9rem; color: var(--ink-soft); }
.acct-switch strong { color: var(--ink); font-weight: 500; font-size: 1rem; }
.acct-switch--fixed { cursor: default; }
.acct-switch--fixed > span:first-child { color: var(--accent); font-weight: 500; }
.acct-danger { display: grid; gap: 1rem; padding: 1.4rem; }
.acct-danger ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; color: var(--ink-soft); }
.acct-danger a { text-decoration: underline; text-underline-offset: 3px; }
.acct-danger .acct-form { padding: 0; background: none; border: 0; }
.acct-blockers { padding: 1rem 1.1rem; background: var(--accent-soft); border-left: 3px solid var(--accent-bright); display: grid; gap: 0.5rem; }

/* ==========================================================================
   48. RATINGS, RANKING AND BUDGET (look page stars, stylist ratings, sort, refine)
   ========================================================================== */
/* On a look: its stars, and "Rate this look" */
.look-rating { display: grid; gap: 0.5rem; margin-top: 1.1rem; }
.look-rating__summary { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; color: var(--ink-soft); }
.look-rating__summary strong { font-weight: 500; color: var(--ink); }
.look-rating__summary--none { font-size: 0.8rem; color: var(--muted); }
.look-rating__rate { display: flex; align-items: center; flex-wrap: wrap; gap: 0.1rem; }
.look-rating__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 0.5rem; }
.look-rating__star { border: 0; background: none; padding: 0 0.12rem; font-size: 1.35rem; line-height: 1; color: var(--sand); cursor: pointer; transition: color 0.15s, transform 0.15s; }
.look-rating__star.is-on { color: var(--accent-bright); }
/* Hovering lights up that star and the ones before it */
.look-rating__star:hover { transform: scale(1.12); }
.look-rating__star:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.look-rating__clear { margin-left: 0.6rem; border: 0; background: none; font-size: 0.75rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Stylists: "★ 4.7 (120)" and the "Top rated" mark */
.rating-inline { color: var(--ink); }
.rating-inline span { color: var(--muted); }
.top-rated { display: inline-block; padding: 0.12rem 0.45rem; font-family: var(--mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent-bright); color: var(--ink); vertical-align: middle; }
.stats dd small { font-size: 0.7em; color: var(--muted); }
.profile-hero__rating-note { margin-top: 0.9rem; padding: 0.7rem 0.9rem; font-size: 0.84rem; color: var(--ink-soft); background: var(--stone); border-left: 3px solid var(--accent-bright); max-width: 34rem; }

/* Looks page: the Sort menu, and the budget note */
.sort-select { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sort-select select { border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: 0.35rem 0.2rem; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.sort-select select:focus { outline: none; border-bottom-color: var(--ink); }
.results-bar__note { flex-basis: 100%; font-size: 0.78rem; color: var(--muted); }

/* "Style this piece": refine the results in the moment */
.piece-refine { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 1.75rem 0 0.5rem; padding: 0.9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.piece-refine .kicker { margin-right: 0.25rem; }

/* ==========================================================================
   49. BOOSTS ("One less coffee. A lot more eyes.") and the "Promoted" label
   ========================================================================== */
.boost { display: grid; gap: 0.5rem; justify-items: start; margin-top: 1.5rem; padding: 1.1rem 1.2rem; background: var(--stone); border-left: 3px solid var(--accent-bright); }
.boost--on { background: var(--accent-soft); }
.boost__kicker { font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.boost__title { font-family: var(--brand); font-size: 1.15rem; font-weight: 400; color: var(--ink); }
.boost__text { font-size: 0.85rem; color: var(--ink-soft); max-width: 30rem; }
.boost .btn { margin-top: 0.3rem; }
.look-card__promoted { font-family: var(--mono); font-size: 0.85em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
/* Boost options: three tiles (Quick, Week, Spotlight) */
.boost__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem; width: 100%; margin-top: 0.4rem; }
.boost-option { display: grid; gap: 0.25rem; align-content: start; text-align: left; padding: 0.8rem 0.9rem; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, translate 0.2s; }
.boost-option:hover { border-color: var(--ink); translate: 0 -1px; }
.boost-option:disabled { opacity: 0.5; cursor: wait; }
.boost-option__name { font-family: var(--mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.boost-option__what { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; }
.boost-option__price { margin-top: 0.3rem; font-family: var(--brand); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.boost-option--spot { background: var(--ink); border-color: var(--ink); }
.boost-option--spot .boost-option__name, .boost-option--spot .boost-option__price { color: var(--accent-bright); }
.boost-option--spot .boost-option__what { color: rgba(255, 255, 255, 0.8); }
.boost-option--spot:hover { background: #000; }
.boost__status { font-size: 0.85rem; color: var(--ink); }
.boost__status strong { font-weight: 500; }
.boost__bar { display: block; height: 4px; margin-top: 0.35rem; background: var(--sand); max-width: 18rem; }
.boost__bar i { display: block; height: 100%; background: var(--accent-bright); }

/* Visitors admin (admin-visitors.html) */
.visitors-tiles { margin: 0; gap: 2rem 3rem; }
.visitors-tiles .hint { max-width: 14rem; margin: 0; }
.visitors-tiles div { flex-direction: column; }
.visitors-tiles dd { order: 0; }
.visitors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2rem 3rem; }
.visitors-list { display: grid; gap: 0.55rem; align-content: start; }
.visitors-list .h3 { font-weight: 300; margin-bottom: 0.4rem; }
.visitors-row { display: grid; grid-template-columns: minmax(0, 11rem) 1fr auto; align-items: center; gap: 0.9rem; font-size: 0.9rem; }
.visitors-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visitors-row strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.visitors-bar { height: 6px; background: var(--stone); }
.visitors-bar i { display: block; height: 100%; background: var(--ink); }
.visitors-days { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 0.5rem; border-bottom: 1px solid var(--line); }
.visitors-days span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.visitors-days i { display: block; width: 100%; background: var(--ink); }
.visitors-note { max-width: 46rem; line-height: 1.7; }

/* Page not found (404.html): empty hangers; on phones the photo sits on top */
.not-found__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
/* Phones: the photo fills all the space the text doesn't use, so the page ends exactly at the bottom of the screen */
@media (max-width: 899px) {
  .auth-layout--404 { display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h)); }
  .auth-layout--404 .auth-layout__media { display: block; flex: 1 1 auto; min-height: 52svh; }
  .auth-layout--404 .auth-layout__panel { padding-top: 32px; padding-bottom: 40px; }
}
/* No white strip between the photo and the footer */
body[data-page="not-found"] .site-footer { margin-top: 0; }
/* Laptops: the photo takes the larger share of the screen */
@media (min-width: 900px) {
  .auth-layout--404 { grid-template-columns: 3fr 2fr; }
}

/* Waitlist admin (admin-waitlist.html) */
.waitlist-preview { display: grid; gap: 0.75rem; }
.waitlist-preview iframe { width: 100%; max-width: 640px; height: 860px; border: 1px solid var(--line); background: #efeeea; }
.waitlist-table { display: grid; border-top: 1px solid var(--line); }
.waitlist-table__row { display: grid; grid-template-columns: minmax(0, 2fr) 6rem minmax(0, 1fr) 7rem 5rem; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; align-items: baseline; }
.waitlist-table__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) {
  .waitlist-table__row { grid-template-columns: minmax(0, 1fr) auto; }
  .waitlist-table__row span:nth-child(3), .waitlist-table__row span:nth-child(4) { display: none; }
}

/* ==========================================================================
   ACCENT: burgundy and blush. Lines and underlines are blush (--accent-bright);
   anything solid is burgundy (--accent-solid) with white words, never black.
   ========================================================================== */
:root :is(
  .btn--solid:hover, .piece-join .btn--solid:hover, .feature-card__icon, .explore-chip:hover, .account-menu__avatar,
  .piece-card .pieces__shop:hover, .piece-card--shop:hover .piece-card__buy, .g-tick, .shop-tag__buy:hover,
  .tagger__piece.is-active .tagger__n, .stats-pro, .share-kit__n, .like-me[aria-pressed="true"],
  .shop-all__item.is-done .shop-all__check, .founding-app__status--approved, .challenge-card--open .challenge-card__when,
  .challenge-card__won, .entry__badge, .look-challenge.is-winner .look-challenge__label, .pro-plan__toggle em,
  .pro-plan__toggle input:checked + span em, .campaign__step--accepted, .campaign__step--approved, .book-time.is-on,
  .acct-card:hover .acct-card__icon, .top-rated, .plan-badge--pro
) { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }
/* Fills with no words on them: solid too */
:root :is(.tagger__dot.is-active, .earn-look[aria-pressed="true"] .earn-look__bar i, .founding-meter__bar span, .boost__bar i) { background: var(--accent-solid); }
:root .pill::before, :root .pro-plan--pro .pro-plan__list li::before { background: var(--accent-solid); }
:root ::selection { background: var(--accent-solid); color: #fff; }
/* Burgundy is too dark to read on black: on dark panels the accent words turn a pale rose */
:root :is(.stats-tip b, .budget-switch button[aria-pressed="true"] .budget-switch__sign,
  .boost-option--spot .boost-option__name, .boost-option--spot .boost-option__price) { color: #f2c6d8; }
/* The open shopping dot on a photo: white centre on burgundy */
:root .shop-tag:hover .shop-tag__dot::after, :root .shop-tag.is-open .shop-tag__dot::after {
  background: radial-gradient(circle, #fff 0 2.5px, var(--accent-solid) 3px);
}
/* Star ratings are words, not lines: solid burgundy so they read clearly on white */
:root :is(.stars-show, .book__rating span, .stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label, .look-rating__star.is-on) { color: var(--accent-solid); }

/* ==========================================================================
   LOOKS (looks.html): a fashion diary. Search first, rings for new looks,
   every filter in one box, then the photos: two per row, all the same size.
   ========================================================================== */
.feed-head { padding-top: clamp(24px, 4vw, 56px); display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.feed-head__title { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; margin-top: -0.6rem; }
.feed-label { margin: 0 0 0.6rem; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }


/* Rings: stylists with something new this week (the ones you follow first) */
.feed-rings-wrap[hidden] { display: none; }
.feed-rings { display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.feed-rings::-webkit-scrollbar { display: none; }
.ring { flex: none; display: grid; justify-items: center; gap: 0.4rem; width: 72px; }
.ring__face { position: relative; display: block; width: 68px; height: 68px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--accent-solid); transition: transform 0.25s var(--ease); }
.ring--seen .ring__face { box-shadow: inset 0 0 0 2px var(--accent-bright); }
.ring.is-on .ring__face { box-shadow: inset 0 0 0 3px var(--accent-solid); }
.ring:hover .ring__face { transform: scale(1.05); }
.ring__face img, .ring__initials { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); }
.ring__initials { display: grid; place-items: center; background: var(--accent-solid); color: #fff; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; }
.ring__name { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ring.is-on .ring__name { color: var(--ink); font-weight: 500; }

/* The filter bar: one small box of dropdowns (tick several), plus two on/off buttons */
.feed-filters { position: relative; z-index: 15; padding: 0.6rem; background: var(--ecru); }
.fb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.fb-dd { position: relative; }
.fb-btn { display: inline-flex; align-items: center; gap: 0.45rem; height: 38px; padding: 0 0.75rem; border: 1px solid transparent; background: var(--paper); font-size: 0.84rem; color: var(--ink); white-space: nowrap; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.fb-btn svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--accent-solid); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fb-btn svg:last-child { width: 14px; height: 14px; stroke: currentColor; transition: transform 0.2s; }
.fb-toggle svg:last-child { width: 17px; height: 17px; stroke: var(--accent-solid); }
.fb-btn:hover, .fb-dd.is-open .fb-btn { border-color: var(--ink); }
.fb-dd.is-open .fb-btn svg:last-child { transform: rotate(180deg); }
.fb-btn.is-on { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }
.fb-btn.is-on svg { stroke: #fff; }
.fb-btn b { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--accent-solid); font-size: 0.68rem; font-weight: 500; }
.fb-short { display: none; }
@media (max-width: 700px) { .fb-short { display: inline; } }
.fb-sep { width: 1px; height: 24px; margin: 0 0.25rem; background: var(--line-strong); }

.fb-panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 15.5rem; padding: 0.6rem; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(31, 30, 28, 0.35); animation: fb-in 0.2s var(--ease) both; }
@keyframes fb-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fb-panel--wide { width: 22rem; }
.fb-panel--wide .fb-opts { grid-template-columns: 1fr 1fr; }
.fb-opts { display: grid; gap: 2px; max-height: 18rem; overflow: auto; }
.fb-opt { display: flex; align-items: center; gap: 0.6rem; min-height: 38px; padding: 0 0.55rem; text-align: left; font-size: 0.86rem; color: var(--ink); }
.fb-opt:hover { background: var(--stone); }
.fb-opt > svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--accent-solid); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fb-opt__box { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1px solid var(--line-strong); background: var(--paper); }
.fb-opt__box--round { border-radius: 50%; }
.fb-opt.is-on .fb-opt__box { background: var(--accent-solid); border-color: var(--accent-solid); }
.fb-opt__box svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.4; }
.fb-find { width: 100%; height: 38px; margin-bottom: 0.4rem; padding: 0 0.7rem; border: 1px solid var(--line-strong); font: inherit; font-size: 0.84rem; }
.fb-find:focus { outline: none; border-color: var(--ink); }
.fb-none, .fb-note { margin: 0.4rem 0.55rem; font-size: 0.76rem; color: var(--muted); }
.fb-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.fb-clear { font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.fb-clear:disabled { opacity: 0.35; cursor: default; }
.fb-done { height: 32px; padding: 0 0.9rem; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 700px) {
  .fb { gap: 0.3rem; }
  .fb-btn { height: 34px; padding: 0 0.5rem; gap: 0.35rem; font-size: 0.78rem; }
  .fb-btn svg { width: 15px; height: 15px; }
  .fb-full { display: none; }
  .fb-sep { display: none; }
  .fb-dd { position: static; }
  .fb-panel, .fb-panel--wide { left: 0.6rem; right: 0.6rem; width: auto; }
}

/* The photos: a showcase. Very large panels with soft rounded corners and even margins
   all around (like a gallery wall): each look gets a big screen of its own. */
.feed.container { max-width: none; padding-inline: clamp(10px, 1.4vw, 20px); }
.feed .results-bar { max-width: var(--max, 1280px); margin-inline: auto; padding-inline: calc(var(--gutter) - clamp(10px, 1.4vw, 20px)); }
.feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); padding-bottom: var(--section); }
.feed-grid > :not(.leaf) { grid-column: 1 / -1; }
.leaf { position: relative; min-width: 0; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 40px); width: 100%; overflow: hidden; border-radius: 12px; background: var(--stone); animation: leaf-in 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes leaf-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.leaf__link { position: absolute; inset: 0; display: block; }
.leaf__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.leaf:hover .leaf__link img { transform: scale(1.03); }
/* On hover: the title, large and white, bottom left; a rounded "View the look" button bottom right */
.leaf__cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 6rem clamp(1.1rem, 2.4vw, 2rem) clamp(1.1rem, 2.4vw, 2rem); background: linear-gradient(transparent, rgba(20, 18, 16, 0.45)); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.leaf__text { display: grid; gap: 0.35rem; }
.leaf__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.leaf__cap small { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f2c6d8; }
.leaf__go { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 1.2rem; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.leaf__link:hover .leaf__go { background: #fff; color: var(--ink); }
.leaf .save-btn { top: 16px; right: 16px; width: 44px; height: 44px; opacity: 0; transition: opacity 0.3s, background-color 0.2s; }
.leaf:hover .leaf__cap, .leaf:focus-within .leaf__cap { opacity: 1; transform: none; }
.leaf:hover .save-btn, .leaf:focus-within .save-btn, .leaf .save-btn[aria-pressed="true"] { opacity: 1; }
.leaf .save-btn[aria-pressed="true"] { background: var(--accent-solid); color: #fff; }
@media (hover: none) { .leaf .save-btn { opacity: 1; background: rgba(255, 255, 255, 0.82); } }
/* Phones: one look per row, the whole width */
@media (max-width: 700px) {
  .feed-grid { grid-template-columns: 1fr; }
  .leaf { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .leaf { animation: none; } }
/* The search and filter bar take the same soft corners as the photos */
.feed-filters { border-radius: 12px; }
.fb-btn { border-radius: 999px; }
.fb-panel { border-radius: 12px; }
.fb-opt { border-radius: 6px; }
.fb-done { border-radius: 999px; }

/* Search bars across the site: the homepage style (a small label, one line, an arrow) */
.line-search { margin-top: 0; max-width: 44rem; }
.line-search .hero-piece__row input { font-size: 1.05rem; padding: 0.8rem 0; }
#piece-search { margin-top: 2rem; }
/* Stylists: the search in the filter bar, as a line instead of a box */
.filterbar .search input { height: 40px; padding: 0 0.2rem; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-size: 0.9rem; }
.filterbar .search input:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--accent-bright); }
/* Rating a look: pointing at a star fills it and the ones before it in burgundy; the ones after stay grey */
:root .look-rating__rate.is-pointing .look-rating__star { color: var(--sand); }
:root .look-rating__rate.is-pointing .look-rating__star.is-hot { color: var(--accent-solid); }
:root .look-rating__star:hover { transform: scale(1.15); }

/* Cover position (migration 027): the stylist chooses which part of the photo shows in the frame.
   Without a choice, photos lean to the top, where faces and hats usually are. */
.leaf__link img, .look-card__media img { object-position: 50% 22%; }
img[data-cover] { object-position: var(--cx) var(--cy); transform: scale(var(--cz)); transform-origin: var(--cx) var(--cy); }
.leaf:hover .leaf__link img[data-cover] { transform: scale(calc(var(--cz) * 1.03)); }
.look-card__link:hover .look-card__media img[data-cover] { transform: scale(calc(var(--cz) * 1.035)); }

/* Submit a look: the cover editor (the same frame as the Looks page; drag to move, zoom to fill) */
.cover-edit { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 1.25rem 1.75rem; align-items: start; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.cover-edit[hidden] { display: none; }
.cover-edit__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--stone); cursor: grab; touch-action: none; user-select: none; }
.cover-edit__frame.is-dragging { cursor: grabbing; }
.cover-edit__frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cover-edit__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-family: var(--mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; pointer-events: none; transition: opacity 0.3s; }
.cover-edit__frame.is-dragging .cover-edit__hint { opacity: 0; }
.cover-edit__side { display: grid; gap: 0.8rem; justify-items: start; }
.cover-edit__side .kicker { margin: 0; }
.cover-edit__side .hint { margin: 0; max-width: 26rem; }
.cover-edit__zoom { display: flex; align-items: center; gap: 0.8rem; width: min(100%, 16rem); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cover-edit__zoom input { flex: 1; accent-color: var(--accent-solid); }
.cover-edit__keys { display: flex; gap: 0.3rem; }
.cover-edit__keys button { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); font-size: 0.95rem; }
.cover-edit__keys button:hover { border-color: var(--ink); }
.cover-edit__reset { font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
@media (max-width: 560px) { .cover-edit { grid-template-columns: 1fr; } .cover-edit__frame { width: min(100%, 300px); } }

/* The "Stolen." mark, bottom right of photos that don't carry it yet (uploads have it built into the file) */
.look-gallery figure { position: relative; }
.photo-mark { position: absolute; right: 3.5%; bottom: 3%; z-index: 1; font-family: var(--brand); font-weight: 700; font-stretch: 112%; font-size: clamp(0.8rem, 1.6vw, 1.15rem); letter-spacing: -0.045em; line-height: 1; color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 6px rgba(0, 0, 0, 0.35); pointer-events: none; }
.look-card__media .photo-mark { font-size: 0.8rem; }
.leaf .photo-mark { right: clamp(14px, 2vw, 22px); bottom: clamp(12px, 1.8vw, 20px); font-size: clamp(0.9rem, 1.4vw, 1.2rem); transition: opacity 0.3s; }
.leaf:hover .photo-mark { opacity: 0; }   /* the title and button take that corner on hover */

/* ==========================================================================
   AURA: the soft studio backdrop (pale blue-grey, a warm peach glow in the
   middle, mauve at the edges). Pure colour, no photo: sharp on every screen.
   Used on the top band of inner pages and the closing band of the homepage.
   ========================================================================== */
:root {
  --aura: radial-gradient(ellipse 38% 55% at 50% 42%, rgba(246, 214, 196, 0.95) 0%, rgba(240, 216, 206, 0.55) 38%, rgba(230, 220, 222, 0) 72%),
          radial-gradient(ellipse 130% 120% at 50% 45%, #d6dde4 0%, #c3ccd8 50%, #a9a6bf 82%, #8f86a3 100%);
}
main > .page-head { position: relative; isolation: isolate; background: none; box-shadow: none; clip-path: none; }
main > .page-head::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--aura); }
body { overflow-x: clip; }
.cta-band { background: var(--aura); color: var(--ink); }
.cta-band .kicker { color: var(--ink-soft); }
.cta-band h2 em { color: var(--ink); }
.cta-band p { color: var(--ink-soft); }
.cta-band .btn--light { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cta-band .btn--light:hover { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }

/* The two buttons under each piece share the card's width equally and never stick out of it */
.piece-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.piece-card__actions > :only-child { grid-column: 1 / -1; }
.piece-card__actions .piece-card__more, .piece-card__own { display: flex; align-items: center; justify-content: center; gap: 0.35rem; min-width: 0; min-height: 52px; padding: 0.6rem 0.75rem; text-align: center; white-space: normal; line-height: 1.35; }
@media (max-width: 600px) { .piece-card__actions { grid-template-columns: 1fr; } .piece-card__own { border-left: 0; border-top: 1px solid var(--line); } }

/* Looks: the same aura band as the other pages, running up under the header,
   behind the title, search, rings and filters */
main:has(> .feed-head:first-child) { padding-top: 0 !important; }
main > .feed-head { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(32px, 6vw, 88px)); padding-bottom: clamp(28px, 4vw, 48px); margin-bottom: clamp(20px, 3vw, 36px); }
main > .feed-head::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--aura); }
.feed-head__title { font-size: clamp(3rem, 7vw, 6rem); margin-top: -0.4rem; }
.feed-head__title em { font-style: normal; background: linear-gradient(transparent 78%, var(--accent-bright) 78%, var(--accent-bright) 94%, transparent 94%); padding: 0 0.04em; }
/* On the aura, the filter box turns a soft frosted white */
main > .feed-head .feed-filters { background: rgba(255, 255, 255, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
main > .feed-head { z-index: 20; }   /* open dropdowns float above the photos below */

/* Currency menu in the header, next to "Hello, Name" (laptops; on phones it's in the menu) */
.cur-menu { position: relative; display: none; }
@media (min-width: 1100px) { .cur-menu { display: block; } }
.cur-menu__btn { display: inline-flex; align-items: center; gap: 0.3rem; }
.cur-menu__btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s; }
.cur-menu.is-open .cur-menu__btn svg { transform: rotate(180deg); }
.cur-menu__panel { position: absolute; z-index: 60; top: calc(100% + 12px); right: -0.6rem; display: none; width: 16rem; max-height: min(70vh, 30rem); overflow: auto; padding: 0.5rem; background: var(--paper); border: 1px solid var(--ink); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(31, 30, 28, 0.35); }
.cur-menu.is-open .cur-menu__panel { display: grid; gap: 2px; }
.cur-menu__title { margin: 0.3rem 0.6rem 0.45rem; font-family: var(--mono); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cur-menu__opt { display: grid; grid-template-columns: 1.6rem 2.6rem minmax(0, 1fr); align-items: baseline; gap: 0.3rem; padding: 0.5rem 0.6rem; border-radius: 6px; text-align: left; font-size: 0.86rem; color: var(--ink); }
.cur-menu__opt span { color: var(--muted); }
.cur-menu__opt small { font-size: 0.76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cur-menu__opt:hover { background: var(--stone); }
.cur-menu__opt.is-on { background: var(--accent-solid); color: #fff; }
.cur-menu__opt.is-on span, .cur-menu__opt.is-on small { color: rgba(255, 255, 255, 0.8); }
.cur-menu__auto { margin-top: 0.3rem; padding: 0.6rem; border-top: 1px solid var(--line); text-align: left; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.mobile-menu__currency { display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.mobile-menu__currency .cur-menu__title { margin: 0; }

/* Submit a look: a piece's optional details (colour, material, pattern, heel height, length) */
.piece-details { grid-column: 1 / -1; margin-top: 0.5rem; }
.piece-details summary { cursor: pointer; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding: 0.4rem 0; }
.piece-details summary:hover { color: var(--ink); }
.piece-details summary .optional { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.piece-details__fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem 0.9rem; margin-top: 0.4rem; }
.piece-details__fields .field { margin: 0; }
.piece-details__fields .field[hidden] { display: none; }
.piece-details__fields select { width: 100%; }

/* Looks: under the glow, on white */
.feed-tools { position: relative; z-index: 20; display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-bottom: clamp(16px, 2.5vw, 28px); }
.fb-swatch { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1px solid rgba(31, 30, 28, 0.2); }

/* "Complete the look": you own 2 of 3, here's the missing piece */
.complete-look { margin: 0.6rem 0 0; padding: 0.7rem 0.9rem; border-left: 3px solid var(--accent-bright); background: var(--accent-soft); font-size: 0.86rem; line-height: 1.5; color: var(--ink); }
.complete-look span:first-child { display: block; margin-bottom: 0.15rem; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-solid); }
.complete-look a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-solid); }
.complete-look__more { margin-left: 0.3rem; font-size: 0.8rem; color: var(--ink-soft); }
.look-info .complete-look { margin: 1.1rem 0 0.2rem; }

/* "How it works" in three quiet steps (My wardrobe) */
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 60rem; margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(31, 30, 28, 0.25); }
.how-steps li { display: grid; align-content: start; gap: 0.3rem; padding: 1rem 1.25rem 0 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }
.how-steps li + li { padding-left: 1.25rem; border-left: 1px solid rgba(31, 30, 28, 0.15); }
.how-steps__n { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--accent-solid); }
.how-steps strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 700px) { .how-steps { grid-template-columns: 1fr; } .how-steps li, .how-steps li + li { padding: 0.9rem 0; border-left: 0; border-bottom: 1px solid rgba(31, 30, 28, 0.12); } }

/* "Complete the look", minimal: one quiet line under the card / above the buttons */
.own-line { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.own-line span { margin-right: 0.45rem; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-solid); }
.own-line a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
.look-info .own-line { margin: 1rem 0 0.25rem; }

/* Wardrobe pieces with no photo: a fine-line drawing of the kind of piece */
.wardrobe-item__sketch { width: 60%; height: auto; fill: none; stroke: var(--ink-soft); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; opacity: 0.75; }

/* A piece they own: the photo box takes their own photo (paste, drop or choose) */
.piece-product__photo--own { position: relative; cursor: pointer; outline: 1px dashed transparent; outline-offset: -8px; transition: outline-color 0.2s var(--ease); }
.piece-product__photo--own:hover, .piece-product__photo--own:focus-within { outline-color: var(--accent-bright); }
.piece-product__photo--own img { width: 100%; height: 100%; object-fit: cover; }
.piece-product__photo--own .piece-product__change { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.55rem; background: rgba(255, 255, 255, 0.86); color: var(--ink); opacity: 0; transition: opacity 0.2s var(--ease); }
.piece-product__photo--own:hover .piece-product__change { opacity: 1; }
@media (hover: none) { .piece-product__photo--own .piece-product__change { opacity: 1; } }
.piece-product__photo--own.is-busy { opacity: 0.5; pointer-events: none; }

/* Their photo, moved and zoomed in its frame (drag / two fingers; scroll / pinch) */
.piece-product__photo--own.is-framed { cursor: grab; touch-action: pan-x pan-y; user-select: none; }
.piece-product__photo--own.is-framed.is-dragging { cursor: grabbing; outline-color: var(--accent-bright); }
.piece-product__photo--own.is-framed img,
.wardrobe-item__photo img.is-framed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal;
  transform: translate(var(--px, 0%), var(--py, 0%)) scale(var(--pz, 1)); pointer-events: none; }
.wardrobe-item__photo:has(img.is-framed) { position: relative; }
.piece-product__photo--own .piece-product__change { cursor: pointer; z-index: 1; }

/* Profile form: headshot, and a background colour from Stolen's palette */
.headshot-field { display: flex; align-items: flex-start; gap: 1.5rem; }
.headshot-field__preview { position: relative; flex: none; display: grid; place-items: center; width: 120px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); transition: opacity 0.2s var(--ease); }
.headshot-field__preview img { width: 100%; height: 100%; object-fit: cover; }
.headshot-field__preview .avatar-fallback { font-size: 1.6rem; }
.headshot-field__preview.is-busy { opacity: 0.5; }
.headshot-field__side { display: grid; gap: 1rem; justify-items: start; padding-top: 0.25rem; }
.headshot-field__upload { position: relative; overflow: hidden; }
.headshot-field__upload input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.backdrops { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.backdrops.is-off { display: none; }
.backdrops__label { width: 100%; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.backdrop { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); background: var(--c); cursor: pointer; outline: 1px solid transparent; outline-offset: 3px; transition: outline-color 0.15s var(--ease); }
.backdrop:hover { outline-color: var(--accent-bright); }
.backdrop.is-on { outline-color: var(--ink); }
.backdrop--original { background: linear-gradient(135deg, #fff 45%, var(--muted) 45%, var(--muted) 55%, #fff 55%); }
.headshot-field .hint:empty { display: none; }
@media (max-width: 480px) { .headshot-field { gap: 1rem; } .headshot-field__preview { width: 96px; } }

/* Headshot studio: outline to show what to upload, textures, effect and filters */
.headshot-field__left { display: grid; gap: 0.5rem; justify-items: center; flex: none; width: 140px; }
.headshot-field__preview { width: 140px; }
.headshot-field__caption { font-size: 0.72rem; line-height: 1.3; color: var(--muted); text-align: center; }
.headshot-field__outline { width: 78%; height: auto; margin-top: 18%; fill: none; stroke: var(--ink-soft); stroke-width: 1.3; stroke-dasharray: 4 3; }
.headshot-field__preview:has(.headshot-field__outline) { align-items: end; place-items: end center; }
.headshot-tools { display: grid; gap: 0.9rem; }
.headshot-tools.is-off { display: none; }
.headshot-tools .backdrops { gap: 0.45rem; }
.headshot-tools .chip { padding: 0.3rem 0.7rem; font-size: 0.72rem; }
@media (max-width: 480px) { .headshot-field { flex-direction: column; } .headshot-field__left { justify-items: start; } }

/* ---------- A stylist's page: how their looks are laid out (they choose) ---------- */
@media (min-width: 560px) { .profile-grid--grid2 { --cols: 2; } }
@media (min-width: 1100px) { .profile-grid--grid2 { --cols: 2; } }
.profile-grid--feed { --cols: 1; max-width: 620px; margin-inline: auto; }
@media (min-width: 560px) { .profile-grid--feed { --cols: 1; } }
@media (min-width: 1100px) { .profile-grid--feed { --cols: 1; } }
.profile-grid--feed .look-card__media { aspect-ratio: 4 / 5; }
/* Board (Pinterest style): narrow columns, every photo at its own height, rounded corners, small title */
.profile-grid--collage { display: block; columns: 2; column-gap: 12px; }
@media (min-width: 700px) { .profile-grid--collage { columns: 3; column-gap: 16px; } }
@media (min-width: 1000px) { .profile-grid--collage { columns: 4; } }
@media (min-width: 1400px) { .profile-grid--collage { columns: 5; } }
.profile-grid--collage > * { break-inside: avoid; margin-bottom: 18px; }
.profile-grid--collage .look-card__media { aspect-ratio: auto; border-radius: 16px; }
.profile-grid--collage .look-card__media img { height: auto; aspect-ratio: auto; transform: none; object-position: center; }
.profile-grid--collage .look-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.16); opacity: 0; transition: opacity 0.2s var(--ease); pointer-events: none; }
.profile-grid--collage .look-card:hover .look-card__media::after { opacity: 1; }
.profile-grid--collage .look-card__count { display: none; }
.profile-grid--collage .look-card__body { padding: 0.5rem 0.25rem 0; }
.profile-grid--collage .look-card__title { font-size: 0.92rem; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-grid--collage .save-btn { opacity: 0; transition: opacity 0.2s var(--ease); }
.profile-grid--collage .look-card:hover .save-btn, .profile-grid--collage .save-btn[aria-pressed='true'], .profile-grid--collage .save-btn:focus-visible { opacity: 1; }
@media (hover: none) { .profile-grid--collage .save-btn { opacity: 1; } }
.profile-collections { flex-wrap: wrap; }

/* A look with a short video: a small play mark on its card, the video after the cover */
.look-card__video { position: absolute; left: 0.6rem; bottom: 0.6rem; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink); pointer-events: none; }
.look-card__video svg { width: 10px; height: 10px; fill: currentColor; margin-left: 2px; }
.look-gallery__video video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #000; }
@media (min-width: 900px) { .look-gallery__video video { aspect-ratio: auto; width: auto; max-width: 100%; height: auto; max-height: 92svh; margin-inline: auto; background: none; } }

/* Submit a look: the video field and collections */
.video-field { margin-top: 1.75rem; display: grid; gap: 0.6rem; }
.video-field__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.video-field__preview { width: 96px; aspect-ratio: 9 / 16; object-fit: cover; background: var(--stone); }
.video-field__pick { position: relative; overflow: hidden; }
.video-field__pick input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.collection-pick { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.collection-pick:empty { display: none; }


/* A stylist's own page: icons to choose how their looks show (only they see them) */
.profile-looks__title { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.layout-switch { display: flex; gap: 0.25rem; }
.layout-switch__opt { display: grid; place-items: center; width: 38px; height: 32px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; transition: color 0.15s var(--ease), border-color 0.15s var(--ease); }
.layout-switch__opt svg { width: 22px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.layout-switch__opt:hover { color: var(--ink); }
.layout-switch__opt[aria-checked='true'] { color: var(--ink); border-color: var(--ink); }

/* ---------- Soft edges: every picture on the site has rounded corners ---------- */
:root { --r-photo: 14px; --r-photo-sm: 8px; }
.look-card__media, .leaf, .stylist-card__portrait, .stylist-card__strip span, .editorial__media,
.look-gallery figure, .look-gallery__video video, .profile-hero__portrait, .thumb, .auth-layout__media,
.home-hero__media, .feature-row__media, .partners-hero__media, .challenge-card__media, .challenge-hero__media,
.piece-product__photo, .wardrobe-item__photo, .cover-edit__frame, .headshot-field__preview, .g-board__model,
.profile-grid--collage .look-card__media, .hero__video {
  border-radius: var(--r-photo);
  overflow: hidden;
}
.look-gallery img, .look-gallery__video video { border-radius: var(--r-photo); }
.own-photo__thumb, .tagger__images img, .stats-look img, .stats-look span, .g-card img, .challenge-form__thumb,
.campaign__piece-img, .video-field__preview, .piece-photo__tile, .piece-photo__img, .piece-card__photo, .shop-all__thumb {
  border-radius: var(--r-photo-sm);
  overflow: hidden;
}

/* ---------- Photo editor (Submit a look): text and pictures on a photo ---------- */
.pe { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
.pe::backdrop { background: rgba(0, 0, 0, 0.5); }
.pe[open] { display: flex; flex-direction: column; }
.pe__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem var(--gutter); border-bottom: 1px solid var(--line); }
.pe__title { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.pe__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pe__body { grid-template-columns: 1fr 360px; } }
.pe__stage-wrap { min-height: 0; display: grid; place-items: center; padding: 1rem; background: var(--stone); overflow: hidden; }
.pe__stage { position: relative; container-type: inline-size; width: min(100%, calc((100svh - 210px) * 0.75)); touch-action: none; user-select: none; border-radius: var(--r-photo); overflow: hidden; }
@media (max-width: 899px) { .pe__stage { width: min(100%, calc((52svh) * 0.75)); } }
.pe__base { display: block; width: 100%; height: auto; pointer-events: none; }
.pe__layer { position: absolute; cursor: grab; white-space: nowrap; line-height: 1.1; outline: 1px dashed transparent; outline-offset: 4px; }
.pe__layer:active { cursor: grabbing; }
.pe__layer.is-selected { outline-color: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
.pe__layer--picture img { display: block; width: 100%; height: auto; pointer-events: none; }
.pe__badge { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-solid); color: #fff; font-size: 0.7rem; }
.pe__side { min-height: 0; overflow-y: auto; padding: 1.25rem var(--gutter); display: grid; align-content: start; gap: 1rem; border-left: 1px solid var(--line); }
.pe__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.pe__tool { display: grid; justify-items: center; gap: 0.3rem; padding: 0.9rem 0.5rem; border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; border-radius: 10px; transition: border-color 0.15s var(--ease); }
.pe__tool:hover { border-color: var(--ink); }
.pe__tool-icon { font-family: var(--sans, "Archivo"), sans-serif; font-size: 1.3rem; letter-spacing: 0; text-transform: none; line-height: 1; }
.pe__hint { font-size: 0.85rem; color: var(--ink-soft); }
.pe__panel { display: grid; gap: 0.9rem; }
.pe__row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 0.75rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pe__row--text { grid-template-columns: 1fr; }
.pe__row input[type='range'] { accent-color: var(--accent-solid); width: 100%; }
.pe__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pe__font { padding: 0.4rem 0.7rem; border: 1px solid var(--line); background: var(--paper); font-size: 0.95rem !important; cursor: pointer; border-radius: 999px; }
.pe__font.is-on { border-color: var(--ink); background: var(--stone); }
.pe__colours { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pe__colour { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, 0.15); cursor: pointer; outline: 1px solid transparent; outline-offset: 3px; }
.pe__colour.is-on { outline-color: var(--ink); }
.pe__check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; }
.pe__check input { accent-color: var(--accent-solid); width: 16px; height: 16px; }
.pe__status { font-size: 0.8rem; color: var(--ink-soft); }
.pe__status:empty { display: none; }
.pe__linkbox { display: grid; gap: 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.pe__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pe__note { font-size: 0.75rem; color: var(--muted); }
.pe__actions { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; }
.pe__link { background: none; border: 0; padding: 0; font: inherit; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); cursor: pointer; color: var(--ink); }
.pe__link--danger { color: #9a1b1b; }
@media (max-width: 899px) { .pe__side { border-left: 0; border-top: 1px solid var(--line); } }
.cover-edit__photo { margin-top: 1rem; }
/* Photo editor: switch between the look's photos */
.pe__strip { display: flex; gap: 0.5rem; padding: 0.6rem var(--gutter); overflow-x: auto; border-bottom: 1px solid var(--line); }
.pe__thumb { flex: none; width: 48px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: var(--r-photo-sm); overflow: hidden; cursor: pointer; opacity: 0.55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.15s var(--ease); }
.pe__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe__thumb:hover { opacity: 0.85; }
.pe__thumb.is-on { opacity: 1; outline-color: var(--ink); }
/* Photo editor: stickers and highlight */
.pe__tools { grid-template-columns: repeat(3, 1fr); }
.pe__layer--sticker svg { display: block; width: 100%; height: auto; pointer-events: none; }
.pe__picker { display: grid; gap: 0.9rem; }
.pe__picker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
.pe__picker-grid--emoji { grid-template-columns: repeat(8, 1fr); }
.pe__sticker { display: grid; place-items: center; aspect-ratio: 1; padding: 0.35rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; transition: border-color 0.15s var(--ease), transform 0.15s var(--ease); }
.pe__sticker:hover { border-color: var(--ink); transform: scale(1.05); }
.pe__sticker svg { width: 100%; height: auto; }
.pe__sticker--emoji { padding: 0; border-color: transparent; font-size: 1.35rem; line-height: 1; }
.pe__colour--none { background: linear-gradient(135deg, #fff 45%, #c33 45%, #c33 55%, #fff 55%); }
/* Photo editor: the person cut out, on top of anything placed "behind" them */
.pe__person { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pe__stage:focus { outline: none; }
/* Photo editor: filters, with a small preview of each */
.pe__tools { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.pe__tool { padding: 0.8rem 0.3rem; font-size: 0.6rem; letter-spacing: 0.08em; }
.pe__filters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
@media (max-width: 899px) { .pe__filters { grid-template-columns: repeat(4, 1fr); } }
.pe__filter { display: grid; gap: 0.35rem; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.pe__filter-img { display: block; aspect-ratio: 3 / 4; border-radius: var(--r-photo-sm); background: var(--stone) center / cover no-repeat; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.15s var(--ease); }
.pe__filter:hover .pe__filter-img { outline-color: var(--line); }
.pe__filter.is-on { color: var(--ink); }
.pe__filter.is-on .pe__filter-img { outline-color: var(--ink); }
/* Photo editor: colour tone (and any colour with the picker) */
.pe__tone { display: grid; gap: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.pe__colour--pick { position: relative; overflow: hidden; background: conic-gradient(#c8102e, #f2c230, #4f7a4a, #2f6db5, #a993c9, #c8102e); }
.pe__colour--pick.is-on { background: var(--c); }
.pe__colour--pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* Look page: a photo full screen in HD (tap to zoom in, move to look around) */
.look-gallery figure img { cursor: zoom-in; }
.zoom-view { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(12, 12, 12, 0.94); overflow: hidden; touch-action: none; }
.zoom-view[hidden] { display: none; }
.zoom-view img { max-width: 100vw; max-height: 100svh; width: auto; height: auto; cursor: zoom-in; transition: transform 0.3s var(--ease); user-select: none; }
.zoom-view.is-zoomed img { transform: scale(2.6); cursor: zoom-out; transition: transform 0.3s var(--ease), transform-origin 0.08s linear; }
.zoom-view__close { position: absolute; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; }
.zoom-view__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Submit a look: drag the photos to change their order */
.thumb { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y; }
.thumb img { pointer-events: none; }
.thumb.is-dragging { z-index: 5; cursor: grabbing; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); transition: box-shadow 0.15s var(--ease); }
.thumbs.is-sorting .thumb:not(.is-dragging) { transition: transform 0.2s var(--ease); }

/* Photo editor: handles on the selected item (corner = resize, round top = rotate), right-click menu */
.pe__layer--sticker img { display: block; width: 100%; height: auto; pointer-events: none; }
.pe__h { position: absolute; width: 14px; height: 14px; background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); touch-action: none; }
.pe__h--size { right: -11px; bottom: -11px; border-radius: 3px; cursor: nwse-resize; }
.pe__h--rot { left: 50%; top: -30px; margin-left: -7px; border-radius: 50%; cursor: grab; }
.pe__h--rot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; margin-left: -0.5px; background: rgba(255, 255, 255, 0.9); }
@media (pointer: coarse) { .pe__h { width: 22px; height: 22px; } .pe__h--size { right: -15px; bottom: -15px; } .pe__h--rot { top: -40px; margin-left: -11px; } }
.pe__menu { position: fixed; z-index: 10; min-width: 200px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); display: grid; }
.pe__menu button { padding: 0.55rem 0.75rem; border: 0; background: none; text-align: left; font: inherit; font-size: 0.88rem; border-radius: 8px; cursor: pointer; color: var(--ink); }
.pe__menu button:hover:not(:disabled) { background: var(--stone); }
.pe__menu button:disabled { color: var(--muted); opacity: 0.5; cursor: default; }
.pe__menu button.is-danger { color: #9a1b1b; }
.pe__sticker--emoji img { width: 70%; height: auto; }

/* Submit a look: the photo you're working on (tags, edits), and the cover crop for photo 1 */
.workspace { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.workspace__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.workspace .tagger__stage img { border-radius: var(--r-photo); }
.thumb.is-active { outline: 2px solid var(--ink); outline-offset: 3px; }
.cover-crop { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.cover-crop summary { cursor: pointer; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); list-style: none; }
.cover-crop summary::-webkit-details-marker { display: none; }
.cover-crop summary::after { content: " +"; }
.cover-crop[open] summary::after { content: " \2212"; }
.cover-crop .cover-edit { margin-top: 1rem; }

/* Preview: every photo of the post, with small see-through arrows */
.pv-wrap { position: relative; }
.pv-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); color: rgba(20, 20, 20, 0.75); font-size: 1.2rem; line-height: 1; border: 0; cursor: pointer; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background-color 0.15s var(--ease); }
.pv-arrow:hover { background: rgba(255, 255, 255, 0.7); }
.pv-arrow--prev { left: 8px; }
.pv-arrow--next { right: 8px; }
.pv-arrow[hidden] { display: none; }
.pv-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.pv-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.pv-dots i.is-on { background: #fff; }

/* Shop tag pins: small, see-through and frosted, so they sit lightly on the photo */
.tagger__dot, :root .tagger__dot.is-active {
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  background: rgba(255, 255, 255, 0.22); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px) saturate(1.2); -webkit-backdrop-filter: blur(6px) saturate(1.2);
  font-size: 0.62rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}
html:root .tagger__stage .tagger__dot.is-active { background: rgba(255, 255, 255, 0.42); border-width: 1.5px; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 1px 6px rgba(0, 0, 0, 0.2); }
.shop-tag__dot::after {
  background: rgba(255, 255, 255, 0.28); border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.shop-tag:hover .shop-tag__dot::after, .shop-tag.is-open .shop-tag__dot::after { background: rgba(255, 255, 255, 0.55); }

/* Photo editor: stickers stay inside their grid squares */
.pe__side { overflow-x: hidden; }
.pe__tools, .pe__picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pe__picker-grid--emoji { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.pe__sticker { min-width: 0; overflow: hidden; }
.pe__sticker svg, .pe__sticker img { display: block; width: 100%; max-width: 100%; height: auto; }
.pe__sticker--emoji img { width: 72%; margin: auto; }
.share-kit__frame--pin { aspect-ratio: 2 / 3; width: auto; height: min(54svh, 520px); }
/* Submit a look: the preview shows each photo whole, as on the look page (with its watermark) */
.preview-aside .look-card__media { aspect-ratio: auto; }
.preview-aside .look-card__media img { height: auto; aspect-ratio: auto; object-fit: contain; transform: none !important; }

/* ---------- Shop tag pins: a tiny white dot with a ripple (like a map pin); hover to see the piece ---------- */
@keyframes pin-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.6); opacity: 0; } }
.drop-label {
  position: absolute; left: 50%; bottom: calc(100% - 2px); transform: translate(-50%, 4px);
  padding: 0.3rem 0.6rem; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.86); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
/* Submit a look (the editor): the button is a comfortable 24px to grab; only the 4px dot shows */
.tagger__dot, :root .tagger__dot.is-active, html:root .tagger__stage .tagger__dot.is-active {
  width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0;
  font-size: 0; color: transparent; text-shadow: none;
  background: transparent; border: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.tagger__dot::after { content: ""; position: absolute; left: 10px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.35); transition: transform 0.2s var(--ease); }
.tagger__dot::before { content: ""; position: absolute; left: 10px; top: 10px; width: 4px; height: 4px; border-radius: 50%; border: 1px solid #fff; box-sizing: border-box; animation: pin-pulse 2.4s ease-out infinite; pointer-events: none; }
.tagger__dot:hover::after, .tagger__dot:focus-visible::after, .tagger__dot.is-active::after { transform: scale(1.5); }
.tagger__dot:hover .drop-label, .tagger__dot:focus-visible .drop-label, .tagger__dot.is-active .drop-label { opacity: 1; transform: translate(-50%, 0) scale(0.85); }
/* The published look (32px tap area, the same tiny dot) */
.shop-tag__dot::after, .shop-tag:hover .shop-tag__dot::after, .shop-tag.is-open .shop-tag__dot::after {
  left: 14px; top: 14px; width: 4px; height: 4px; border: 0;
  background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.35);
}
.shop-tag__dot::before { left: 14px; top: 14px; width: 4px; height: 4px; box-sizing: border-box; border: 1px solid #fff; animation: pin-pulse 2.4s ease-out infinite; }
.shop-tag:hover .shop-tag__dot::after, .shop-tag.is-open .shop-tag__dot::after { transform: scale(1.5); }
.shop-tag:hover .shop-tag__dot::before, .shop-tag.is-open .shop-tag__dot::before { animation: none; opacity: 0; }
.shop-tag:hover .drop-label { opacity: 1; transform: translate(-50%, 0); }
.shop-tag.is-open .drop-label { opacity: 0; }
/* Pins: see-through rather than solid white (a glassy centre with a fine white edge) */
.tagger__dot::after, .shop-tag__dot::after, .shop-tag:hover .shop-tag__dot::after, .shop-tag.is-open .shop-tag__dot::after {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.95), 0 0 0 0.5px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px) brightness(1.2); -webkit-backdrop-filter: blur(2px) brightness(1.2);
}
.tagger__dot::before, .shop-tag__dot::before { border-color: rgba(255, 255, 255, 0.7); }
/* The photo being tagged: no square frame behind its rounded corners */
.tagger__stage { background: none; border-radius: var(--r-photo); }
.tagger__stage img { border-radius: var(--r-photo); }
/* Submit a look preview: a fixed frame (3:4), each photo fitted whole inside it, so the arrows never move */
.preview-aside .look-card__media { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--stone); }
.preview-aside .look-card__media img { width: 100%; height: 100%; object-fit: contain; }


/* ---------- Drop-downs: one fixed, thin chevron on every select and type-ahead list (like Brand) ---------- */
:root { --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6a64' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); }
.field select, select.select-field, .field input[list], input.input[list] {
  appearance: none; -webkit-appearance: none;
  background-image: var(--chevron) !important;
  background-repeat: no-repeat !important;
  background-position: right 0.1rem center !important;
  background-size: 16px !important;
  padding-right: 1.9rem !important;
  cursor: pointer;
}
.field input[list] { cursor: text; }
.field select:hover, .field input[list]:hover, select.select-field:hover { background-image: var(--chevron) !important; }
/* The browser's own arrow on type-ahead lists only shows on hover: hide it, keep the spot clickable */
input[list]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

/* ---------- Submit a look: collections as book spines on a shelf (pale linen, deep blue serif, like a J.Crew book) ---------- */
.collections-field { margin-top: 2rem; }
.shelf {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 5px;
  margin-top: 1rem; padding: 22px 14px 0;
  border-bottom: 3px solid #e7e2d9;
  box-shadow: 0 8px 10px -9px rgba(0, 0, 0, 0.18);
}
.book {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 50px; height: 216px; padding: 1rem 0 0.75rem; border: 0; cursor: pointer;
  color: #1f3a93;
  background-color: #ebe8e2;
  /* a faint linen weave */
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.008) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0.04) 85%, rgba(0, 0, 0, 0.08));
  border-radius: 2px 2px 1px 1px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.6), inset -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
/* Slightly different sizes, like real books */
.book:nth-child(5n+2) { width: 56px; height: 226px; }
.book:nth-child(5n+3) { width: 46px; height: 210px; }
.book:nth-child(5n+4) { width: 54px; height: 222px; }
.book__title {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1;
  max-height: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.book__mark { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.5rem; letter-spacing: -0.02em; opacity: 0.85; }
.book:hover { transform: translateY(-4px); }
/* Chosen: it rises out of the row */
.book.is-on { transform: translateY(-18px); box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.6), 0 12px 16px -6px rgba(0, 0, 0, 0.22); }
/* "+ New collection": an outlined spine at the end */
.book--new { background: transparent; color: var(--ink-soft); box-shadow: none; border: 1px dashed rgba(31, 30, 28, 0.35); justify-content: center; gap: 0.6rem; padding: 0.8rem 0; }
.book--new:hover { color: var(--ink); border-color: var(--ink); }
.book__plus { font-size: 1.2rem; line-height: 1; font-weight: 300; }
.book--new .book__title { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; }
/* Typing a new name: the spine opens out */
.book--new.is-editing {
  width: 150px; height: 216px; cursor: default; transform: none; border-style: solid; border-color: var(--ink);
  background: #ebe8e2; align-items: stretch; justify-content: flex-start; padding: 1rem;
}
.book__input { width: 100%; border: 0; border-bottom: 1px solid rgba(31, 58, 147, 0.4); background: transparent; color: #1f3a93; font-family: 'Playfair Display', Georgia, serif; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0; outline: none; }
.book__save { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 0; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); cursor: pointer; color: var(--ink); }
/* Collections, final look: all white, the title in the logo's font (black), all the same height;
   a book rises only under the cursor, and a chosen one carries a thin black ribbon bookmark */
.book, .book:nth-child(5n+2), .book:nth-child(5n+3), .book:nth-child(5n+4) { height: 216px; }
.book:nth-child(5n+2) { width: 54px; }
.book:nth-child(5n+3) { width: 48px; }
.book:nth-child(5n+4) { width: 52px; }
.book:not(.book--new) {
  color: #111;
  background-color: #fbfaf7;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0.02) 80%, rgba(0, 0, 0, 0.05));
}
.book:not(.book--new) .book__title { font-family: 'Archivo', Arial, sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.03em; text-transform: none; }
.book__mark { color: #111; }
.book.is-on { transform: none; box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.6), inset -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06); }
.book:hover, .book.is-on:hover { transform: translateY(-12px); box-shadow: 0 12px 16px -6px rgba(0, 0, 0, 0.2); }
.book.is-on::before {
  content: ""; position: absolute; top: -15px; left: 50%; width: 7px; height: 19px; margin-left: -3.5px; background: #111;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.book--new.is-editing .book__input { color: #111; font-family: 'Archivo', Arial, sans-serif; font-weight: 700; text-transform: none; letter-spacing: -0.02em; border-bottom-color: rgba(0, 0, 0, 0.3); }
.book--new.is-editing { background: #fbfaf7; }
/* Pins show just the dot; the piece name only appears under the cursor */
.tagger__dot.is-active:not(:hover):not(:focus-visible) .drop-label { opacity: 0; }
/* The preview shows the same dots on each photo */
.preview-aside .look-card__media { position: relative; }
.pv-pin { position: absolute; z-index: 2; width: 24px; height: 24px; margin: -12px 0 0 -12px; cursor: pointer; }
.pv-pin::after { content: ""; position: absolute; left: 10px; top: 10px; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.28); box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.95), 0 0 0 0.5px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px) brightness(1.2); -webkit-backdrop-filter: blur(2px) brightness(1.2); transition: transform 0.2s var(--ease); }
.pv-pin::before { content: ""; position: absolute; left: 10px; top: 10px; width: 4px; height: 4px; border-radius: 50%; box-sizing: border-box; border: 1px solid rgba(255, 255, 255, 0.7); animation: pin-pulse 2.4s ease-out infinite; pointer-events: none; }
.pv-pin:hover::after { transform: scale(1.5); }
.pv-pin:hover .drop-label { opacity: 1; transform: translate(-50%, 0) scale(0.85); }
/* Photo editor: Backdrop (studio paper behind the person) */
.pe__tools, .pe__picker-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pe__picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pe__tool { font-size: 0.55rem; letter-spacing: 0.06em; padding: 0.75rem 0.2rem; }
.pe__backdrops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.pe__backdrop { display: grid; gap: 0.35rem; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.pe__backdrop-swatch { display: block; aspect-ratio: 3 / 4; border-radius: var(--r-photo-sm); outline: 2px solid transparent; outline-offset: 2px;
  background: radial-gradient(ellipse at 50% 42%, color-mix(in srgb, var(--c, #ccc) 70%, #fff) 0%, var(--c, #ccc) 55%, color-mix(in srgb, var(--c, #ccc) 78%, #000) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.pe__backdrop[data-pe-backdrop=""] .pe__backdrop-swatch { background: repeating-linear-gradient(135deg, #f1efea 0 6px, #e6e2da 6px 12px); }
.pe__backdrop:hover .pe__backdrop-swatch { outline-color: var(--line); }
.pe__backdrop.is-on { color: var(--ink); }
.pe__backdrop.is-on .pe__backdrop-swatch { outline-color: var(--ink); }

/* Menu button: the usual three thin lines, turning into an X when the menu is open */
.menu-toggle { display: inline-grid; place-items: center; width: 40px; min-height: 40px; padding: 0; }
@media (min-width: 1100px) { .menu-toggle { display: none; } }
.burger { position: relative; display: block; width: 22px; height: 14px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6.25px; }
.burger i:nth-child(3) { top: 12.5px; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger i:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }
/* With the menu open, the header drops its glass effect so the menu panel can fill the screen
   (a blur or transform on the header would otherwise trap the panel inside the header's height) */
.site-header.menu-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; filter: none !important; background: var(--paper); }
.site-header.menu-open::before, .site-header.menu-open::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Photo editor right-click menu, like Canva: icon, action, shortcut */
.pe__menu { min-width: 280px; padding: 8px; border-radius: 16px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04); border: 0; }
.pe__menu button { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 0.8rem; padding: 0.55rem 0.6rem; border-radius: 10px; font-size: 0.92rem; }
.pe__menu-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pe__menu kbd { justify-self: end; padding: 0.2rem 0.5rem; border-radius: 6px; background: #f2f2f0; color: var(--ink); font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; }
.pe__menu button:disabled { opacity: 1; color: #a9a7a3; }
.pe__menu button:disabled kbd { color: #a9a7a3; }
.pe__menu button.is-danger { color: #9a1b1b; }
.pe__menu hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--line); }

/* Photo editor: undo / redo next to Done */
.pe__top-end { display: flex; align-items: center; gap: 0.35rem; }
.pe__icon-btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background 0.15s; }
.pe__icon-btn:hover:not(:disabled) { background: #f2f2f0; }
.pe__icon-btn:disabled { color: #c9c7c3; cursor: default; }
.pe__icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pe__top-end .btn { margin-left: 0.4rem; }

/* Photo editor: tool names always fit inside their boxes */
.pe__tool { min-width: 0; padding: 0.75rem 0.15rem; font-size: 0.54rem; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; }
.pe__hint { line-height: 1.5; }
.pe__hint strong { display: block; font-weight: 600; color: var(--ink); }
.pe__side { padding-left: 1.25rem; padding-right: 1.25rem; }
.pe__tools { gap: 0.4rem; }

/* Look page: the whole photo fits on the screen (no scrolling to see the outfit) */
@media (min-width: 900px) {
  .look-gallery figure { width: fit-content; max-width: 100%; margin-inline: auto; }
  .look-gallery figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 6rem); }
}

/* Boost: one quiet line under the buttons; the details open on tap */
.boost { display: block; margin-top: 1.25rem; padding: 0; background: none; border: 0; }
.boost--on { background: none; }
.boost__summary { display: inline-flex; align-items: center; gap: 0.45rem; list-style: none; cursor: pointer; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.boost__summary::-webkit-details-marker { display: none; }
.boost__summary::before { content: "\2726"; font-size: 0.7rem; letter-spacing: 0; color: var(--accent); }
.boost__summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate 0.2s; }
.boost[open] .boost__summary::after { rotate: 225deg; translate: 0 2px; }
.boost__summary:hover { color: var(--ink); }
.boost__body { display: grid; gap: 0.5rem; justify-items: start; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.boost__title { font-size: 1rem; }
.boost__text { font-size: 0.8rem; }

/* After a share: a small, dismissible suggestion at the bottom */
.boost-nudge { position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; display: flex; align-items: center; gap: 0.9rem; max-width: calc(100vw - 2rem); padding: 0.7rem 0.6rem 0.7rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.25); font-size: 0.82rem; color: var(--ink-soft); translate: -50% 16px; opacity: 0; transition: opacity 0.35s, translate 0.35s; }
.boost-nudge.is-visible { opacity: 1; translate: -50% 0; }
.boost-nudge__go { flex: none; padding: 0.4rem 0.9rem; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.boost-nudge__x { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: var(--ink-soft); cursor: pointer; }
.boost-nudge__x svg { width: 14px; height: 14px; }

/* Share image: the photo fills the frame; drag to move it, zoom with the slider */
.share-kit__frame { position: relative; }
.share-kit__canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.share-kit__canvas:active { cursor: grabbing; }
.share-kit__zoom { display: flex; align-items: center; gap: 0.6rem; width: 100%; max-width: 280px; font-size: 0.9rem; color: var(--ink-soft); }
.share-kit__zoom input { flex: 1; accent-color: var(--ink); }
.share-kit__frame { border-radius: var(--r-photo-sm); }

/* Share button: just the apps' logos, black and white */
.share-apps { display: inline-flex; align-items: center; gap: 0.85rem; }
.share-apps svg { width: 20px; height: 20px; }
.share-apps__ig, .share-apps__pin { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.share-apps__ig .dot { fill: currentColor; stroke: none; }
.share-apps__tt { fill: currentColor; stroke: none; width: 18px !important; height: 18px !important; }
#share-look { padding-inline: 1.4rem; }

/* Look photos on computers. One photo: a big billboard. Several: mosaic (Pinterest style) or one under the other, bigger */
.gallery-mode { display: none; }
@media (min-width: 900px) {
  .look-back { padding-block: 0.6rem; }
  .look-layout[data-gallery='single'], .look-layout[data-gallery='stack'] {
    grid-template-columns: auto minmax(320px, 460px);
    justify-content: center;
    gap: clamp(40px, 5vw, 96px);
  }
  .look-layout[data-gallery='single'] .look-gallery figure,
  .look-layout[data-gallery='stack'] .look-gallery figure { width: fit-content; margin: 0; }
  .look-layout[data-gallery='single'] .look-gallery figure img,
  .look-layout[data-gallery='stack'] .look-gallery figure img { max-width: 62vw; max-height: calc(100svh - var(--header-h) - 4rem); }
  .look-layout[data-gallery='stack'] .look-gallery { gap: 12px; }

  .look-layout[data-gallery='mosaic'] { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); }
  .look-layout[data-gallery='mosaic'] .look-gallery { display: block; columns: 2; column-gap: 10px; }
  .look-layout[data-gallery='mosaic'] .look-gallery > * { break-inside: avoid; margin: 0 0 10px; }
  .look-layout[data-gallery='mosaic'] .look-gallery figure { width: auto; }
  .look-layout[data-gallery='mosaic'] .look-gallery figure img { width: 100%; max-width: none; max-height: none; }

  .gallery-mode { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
  .gallery-mode button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer; }
  .gallery-mode button[aria-pressed='true'] { background: var(--ink); color: #fff; }
  .gallery-mode svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
}

/* Look photos, billboard / one under the other: every photo the same big frame, filling the space (computers) */
@media (min-width: 900px) {
  .look-layout[data-gallery='single'], .look-layout[data-gallery='stack'] {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
    justify-content: stretch;
    gap: clamp(32px, 4vw, 72px);
  }
  .look-layout[data-gallery='single'] .look-gallery figure,
  .look-layout[data-gallery='stack'] .look-gallery figure,
  .look-layout[data-gallery='stack'] .look-gallery__video video {
    width: auto; max-width: 100%;
    height: calc(100svh - var(--header-h) - 4rem); min-height: 520px;
    aspect-ratio: 9 / 10;
    margin: 0 0 0 auto;
  }
  .look-layout[data-gallery='single'] .look-gallery figure img,
  .look-layout[data-gallery='stack'] .look-gallery figure img {
    width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: cover; object-position: 50% 35%;
  }
  .look-layout[data-gallery='stack'] .look-gallery__video video { object-fit: cover; background: #000; }
  .look-layout[data-gallery='single'] .look-gallery-wrap,
  .look-layout[data-gallery='stack'] .look-gallery-wrap { width: fit-content; max-width: 100%; margin-left: auto; }
}

/* "More from" and "Similar looks" under a look: small, so the look itself gets the space */
[data-page='look'] .rail { padding-block: 2.5rem; }
[data-page='look'] .rail .h2 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
[data-page='look'] .rail .look-grid { --cols: 3; gap: 1.5rem 10px; }
@media (min-width: 700px) { [data-page='look'] .rail .look-grid { --cols: 4; } }
@media (min-width: 1100px) { [data-page='look'] .rail .look-grid { --cols: 6; } }
[data-page='look'] .rail .look-card__body { font-size: 0.8rem; }

/* Boost line: a touch bigger */
.boost__summary { font-size: 0.74rem; gap: 0.55rem; }
.boost__summary::before { font-size: 0.85rem; }
.boost__summary::after { width: 7px; height: 7px; }

/* Look page: the collection it belongs to, with a way into the rest */
.look-collection { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.7rem; margin-bottom: 0.9rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.look-collection__name { color: var(--ink); font-weight: 500; }
.look-collection__name::before { content: ""; display: inline-block; width: 1.2rem; height: 1px; margin-right: 0.7rem; vertical-align: middle; background: var(--accent-bright); }
.look-collection__go { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-bright); }
.look-collection__go::after { content: " \2192"; }
.look-collection:hover .look-collection__go { color: var(--ink); }

/* App logos (black and white) */
.app-logo { width: 20px; height: 20px; }
.app-logo--ig { fill: none; stroke: currentColor; stroke-width: 1.7; }
.app-logo--ig .dot { fill: currentColor; stroke: none; }
.app-logo--tt, .app-logo--pin { fill: currentColor; }
.app-logo--tt { width: 18px; height: 18px; }

/* Look page: one button per app */
.share-apps { display: inline-flex; gap: 0; border: 1px solid var(--line-strong); }
.share-apps__btn { display: grid; place-items: center; width: 52px; height: 48px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color 0.15s; }
.share-apps__btn + .share-apps__btn { border-left: 1px solid var(--line); }
.share-apps__btn:hover { background: #f2f2f0; }

/* Share window: app tabs, one clear action per app */
.share-kit__apps { display: flex; gap: 0.4rem; }
.share-kit__apps button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer; }
.share-kit__apps button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-kit__title { display: flex; align-items: center; gap: 0.6rem; font-family: var(--brand); font-size: 1.4rem; font-weight: 400; }
.share-kit__title .app-logo { width: 24px; height: 24px; }
.share-kit__side { align-content: start; gap: 1rem; }
.share-kit__side .share-kit__label { margin: 0; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.share-kit__note { min-height: 1.2em; font-size: 0.85rem; color: var(--accent); }
.share-kit__note:empty { display: none; }
.share-kit__desk { font-size: 0.78rem; }
.share-kit .toast { z-index: 10; }

/* Profile: collections as small round covers (like Instagram highlights) */
.collections-row { display: flex; gap: 1.1rem; overflow-x: auto; padding: 0.3rem 0.2rem 0.6rem; scrollbar-width: none; }
.collections-row::-webkit-scrollbar { display: none; }
.coll { flex: none; display: grid; justify-items: center; gap: 0.5rem; width: 76px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink-soft); }
.coll__ring { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line-strong); padding: 3px; transition: border-color 0.2s, transform 0.2s var(--ease); }
.coll__img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--stone); }
.coll__img--all { display: grid; place-items: center; }
.coll__img--all svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.coll__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; }
.coll:hover .coll__ring { border-color: var(--ink); transform: translateY(-2px); }
.coll[aria-pressed='true'] { color: var(--ink); }
.coll[aria-pressed='true'] .coll__ring { border: 2px solid var(--accent); padding: 2px; }

/* The open collection: its framed cover beside the name */
.coll-head { display: flex; align-items: flex-end; gap: 1.5rem; margin: 0.5rem 0 2rem; }
.coll-head__cover { width: clamp(120px, 18vw, 200px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-photo-sm); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.45); }
.coll-head__text { display: grid; gap: 0.35rem; justify-items: start; padding-bottom: 0.3rem; }
.coll-head__title { font-family: var(--brand); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 400; line-height: 1; }
.coll-head__count { font-size: 0.85rem; color: var(--ink-soft); }
.coll-head__edit { font-size: 0.85rem; }

/* Cover maker */
.sheet.cc { width: min(860px, calc(100vw - 32px)); }
.cc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.cc__title { font-family: var(--brand); font-size: 1.6rem; font-weight: 400; }
.cc__body { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .cc__body { grid-template-columns: auto minmax(0, 1fr); } }
.cc__preview { display: grid; gap: 0.5rem; justify-items: center; }
.cc__canvas { height: min(58svh, 520px); width: auto; aspect-ratio: 3 / 4; border-radius: var(--r-photo-sm); background: var(--stone); }
.cc__status { min-height: 1.2em; font-size: 0.8rem; color: var(--ink-soft); }
.cc__side { display: grid; align-content: start; gap: 0.7rem; }
.cc__label { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.cc__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cc__photo { aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; border-radius: var(--r-photo-sm); overflow: hidden; background: var(--stone); cursor: pointer; }
.cc__photo img { width: 100%; height: 100%; object-fit: cover; }
.cc__photo[aria-pressed='true'] { border-color: var(--ink); }
.cc__photo--add { display: grid; place-items: center; font-size: 1.4rem; color: var(--ink-soft); border: 1px dashed var(--line-strong); }
.cc__colours { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cc__colour { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px #fff; }
.cc__colour[aria-checked='true'] { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc__colour--own { position: relative; overflow: hidden; background: conic-gradient(#e8c3bd, #d9c25a, #9fb7d9, #660033, #e8c3bd); }
.cc__colour--own input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cc__actions { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.coll__ring { overflow: hidden; }
.coll__img { width: 100%; height: auto; aspect-ratio: 1; }
.profile-looks__head:has(.collections-row) { flex-wrap: wrap; }
.profile-looks__head .collections-row { flex-basis: 100%; order: 2; margin-top: 0.5rem; }

/* Home: "Our community", a wall of small outfit photos with an invitation in the middle */
.community { position: relative; overflow: hidden; padding-inline: 0; }
.community__mosaic {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 4px;
  max-height: 640px; overflow: hidden; padding-inline: 4px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 80%, transparent 100%);
}
@media (min-width: 700px) { .community__mosaic { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .community__mosaic { grid-template-columns: repeat(14, minmax(0, 1fr)); max-height: 720px; } }
.community__tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--stone); }
.community__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.3s; }
.community__tile:hover img { transform: scale(1.06); }
.community__tile--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.community__tile--promoted span { position: absolute; left: 6px; bottom: 6px; padding: 0.2rem 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.community__card {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  display: grid; justify-items: center; gap: 0.7rem; width: min(440px, calc(100% - 32px));
  padding: 2rem 1.75rem; text-align: center; background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 16px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.45);
}
.community__title { font-family: var(--brand); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1; }
.community__text { font-size: 0.95rem; color: var(--ink-soft); }
.community__card .btn { margin-top: 0.4rem; }

/* Challenges: clear voting */
.entry__foot { flex-wrap: wrap; }
.entry__vote { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; flex: 1 1 100%; min-height: 42px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.entry__vote svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.entry__vote:hover { background: #f2f2f0; }
.entry__vote.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.entry__vote.is-on::before { content: none; }
.entry__vote.is-on:hover { background: var(--accent); }
.entry .look-card { transition: box-shadow 0.2s; }
.entry:has(.entry__vote.is-on) .look-card__media { outline: 2px solid var(--accent); outline-offset: 3px; }
.vote-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 0.9rem; margin: 0 0 1.75rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: #fafaf8; font-size: 0.9rem; color: var(--ink-soft); }
.vote-bar strong { color: var(--ink); font-weight: 600; }
.vote-bar > span:not(.vote-bar__icon) { flex: 1 1 260px; }
.vote-bar__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.vote-bar__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vote-bar--done { border-color: var(--accent); background: #fbf6f8; }
.vote-bar--done .vote-bar__icon { background: var(--accent); }
.vote-bar .link-button { font-size: 0.82rem; }
.challenge-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.challenge-steps li { display: flex; gap: 0.6rem; align-items: flex-start; }
.challenge-steps span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--mono); font-size: 0.7rem; }
.challenge-steps p { font-size: 0.8rem; line-height: 1.4; color: var(--ink-soft); }
.challenge-steps strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.85rem; }
@media (max-width: 560px) { .challenge-steps { grid-template-columns: 1fr; } }

/* Brand challenges: "Presented by" + the legal "Paid partnership" label */
.challenge-sponsor { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 0.8rem; margin-bottom: 1rem; }
.challenge-sponsor__by { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.challenge-sponsor img { display: block; height: 26px; width: auto; max-width: 140px; object-fit: contain; }
.challenge-sponsor strong { font-family: var(--brand); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.02em; }
.challenge-sponsor__paid { padding: 0.25rem 0.55rem; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; }
.challenge-card__sponsor { margin-bottom: 0.35rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.challenge-card__sponsor strong { color: var(--ink); font-weight: 600; }
.challenge-form__sponsor { display: grid; gap: 0.8rem; margin: 0.5rem 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; }
.challenge-form__thumb--logo img { object-fit: contain; background: #fff; }
.challenge-hero__actions:empty { display: none; }

/* ==========================================================================
   Creator Studio
   ========================================================================== */
.studio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.studio-nav { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 0.4rem; overflow-x: auto; padding-block: 0.7rem; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.studio-nav a { flex: none; padding: 0.45rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.studio-nav a:hover { border-color: var(--ink); }
.studio-section { padding-block: clamp(2rem, 4vw, 3.25rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.studio-section:last-child { border-bottom: 0; }
.studio-section__head { margin-bottom: 1.4rem; }
.studio-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.studio-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.9rem; }
.studio-card .h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.studio-lock { display: grid; justify-items: start; gap: 0.5rem; padding: 1.5rem; border: 1px dashed var(--line-strong); border-radius: 14px; background: #fafaf8; }
.studio-lock__title { font-family: var(--brand); font-size: 1.35rem; }
.studio-lock .stats-pro svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.studio-teaser { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.studio-more { margin-top: 1.25rem; }

/* This week */
.studio-week { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .studio-week { grid-template-columns: 1fr 1fr; } }
.goals, .todos { display: grid; gap: 0.75rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.goal { display: grid; gap: 0.45rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.goal__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.goal__label { font-weight: 500; }
.goal__count { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--mono); font-size: 0.85rem; }
.goal__count strong { font-family: var(--brand); font-size: 1.3rem; font-weight: 500; }
.goal__target { width: 3.2rem; padding: 0.2rem 0.3rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; text-align: center; }
.goal__bar { height: 6px; border-radius: 99px; background: #eeece8; overflow: hidden; }
.goal__bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width 0.4s var(--ease); }
.goal--done .goal__bar i { background: var(--accent); }
.goal--done .goal__label::after { content: " \2713"; color: var(--accent); }
.goal__foot { display: flex; justify-content: space-between; align-items: center; }
.goal__step { display: inline-flex; gap: 0.3rem; }
.goal__step button { width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; background: none; cursor: pointer; font-size: 1rem; }
.inline-add { display: flex; gap: 0.5rem; }
.inline-add .input { flex: 1; min-width: 0; }
.inline-add .inline-add__n { flex: 0 0 4.2rem; }
.todo, .day__list li { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.todo label, .day__list label { display: flex; align-items: flex-start; gap: 0.55rem; cursor: pointer; font-size: 0.92rem; }
.todo input, .day__list input { margin-top: 0.2rem; accent-color: var(--accent); }
.is-done > label span { text-decoration: line-through; color: var(--muted); }
.todo__x { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; opacity: 0.6; }
.todo__x:hover { opacity: 1; color: var(--ink); }
.todo__x svg { width: 12px; height: 12px; }
.studio-ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.9rem; }
.studio-ideas .chip { font-size: 0.78rem; }
.agenda { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 0.5rem; overflow-x: auto; padding-bottom: 0.3rem; }
.day { display: grid; align-content: start; gap: 0.5rem; min-height: 170px; padding: 0.75rem; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfa; }
.day--today { border-color: var(--accent); background: #fbf6f8; }
.day__name { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.day__name span { font-family: var(--brand); font-size: 1.05rem; letter-spacing: 0; color: var(--ink); }
.day__list { display: grid; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.day__list label { font-size: 0.82rem; }
.day__add .input { padding: 0.35rem 0.5rem; font-size: 0.82rem; border-style: dashed; }

/* Your numbers */
.latest-look { display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; color: inherit; transition: border-color 0.2s; }
.latest-look:hover { border-color: var(--ink); }
.latest-look__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-photo-sm); }
.latest-look__body { display: grid; gap: 0.45rem; }
.latest-look__title { font-family: var(--brand); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; }
.latest-look__stats { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.88rem; color: var(--ink-soft); }
.latest-look__stats strong { font-family: var(--brand); font-size: 1.2rem; font-weight: 500; color: var(--ink); }
@media (min-width: 700px) { .latest-look { grid-template-columns: 170px 1fr; } }
.studio-tiles { margin-top: 1.25rem; }
.studio-table { margin-top: 1.25rem; }
.studio-where { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 800px) { .studio-where { grid-template-columns: 1fr 1fr; } }
.studio-bars { display: grid; gap: 0.55rem; list-style: none; margin: 0.5rem 0 0; padding: 0; }
.studio-bars li { display: grid; grid-template-columns: minmax(0, 9rem) 1fr 3rem; align-items: center; gap: 0.7rem; font-size: 0.86rem; }
.studio-bars__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-bars__bar { height: 8px; border-radius: 99px; background: #eeece8; overflow: hidden; }
.studio-bars__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.studio-bars__n { text-align: right; font-family: var(--mono); font-size: 0.78rem; }

/* Get seen */
.studio-seen { display: grid; gap: 1rem; }
@media (min-width: 900px) { .studio-seen { grid-template-columns: 1.3fr 0.8fr 1fr; } }
.studio-link { margin: 0.8rem 0; padding: 0.6rem 0.8rem; border-radius: 8px; background: #f4f3f0; font-family: var(--mono); font-size: 0.78rem; overflow-wrap: anywhere; }
.studio-seen .share-kit__row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.studio-qr { display: grid; align-content: start; justify-items: start; gap: 0.5rem; }
.studio-qr__code { width: 150px; height: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.studio-qr__code svg { display: block; width: 100%; height: 100%; }
.studio-seen .share-apps { margin-top: 0.6rem; }

/* Brand matches */
.studio-brands__intro { margin-bottom: 1rem; }
.brand-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.brand-grid--locked { margin-bottom: 1rem; filter: blur(3px); opacity: 0.55; pointer-events: none; user-select: none; }
.brand-card { display: grid; align-content: start; gap: 0.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.brand-card__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.brand-card__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.brand-card__name { font-family: var(--brand); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.01em; }
.brand-card__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.brand-card__tags:empty { display: none; }
.brand-tag { padding: 0.18rem 0.5rem; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-tag--paid { background: var(--accent); border-color: var(--accent); color: #fff; }
.brand-card__why { font-size: 0.82rem; color: var(--ink-soft); }
.brand-card__status { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.brand-card__form { display: grid; gap: 0.5rem; }
.brand-card .btn { justify-self: start; }
.studio-intros { margin-top: 1.25rem; }
.studio-intros ul { display: grid; gap: 0.4rem; list-style: none; margin: 0.4rem 0 0; padding: 0; }
.studio-intros li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.studio-intros li span { color: var(--ink-soft); }

/* For creators (pro.html): why creators join */
.pro-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.career-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.career-card { display: grid; align-content: start; gap: 0.6rem; padding: 1.5rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.career-card__n { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--accent); }
.career-card h3 { font-family: var(--brand); font-size: 1.35rem; font-weight: 400; line-height: 1.1; }
.career-card p { font-size: 0.92rem; color: var(--ink-soft); }
.pro-plans { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Home: three ways in (shoppers, creators, brands) */
.audiences { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.audience { display: grid; align-content: start; gap: 0.6rem; padding: 1.6rem 1.4rem; border: 1px solid var(--line); border-radius: 16px; color: inherit; background: var(--paper); transition: border-color 0.2s, transform 0.25s var(--ease); }
.audience:hover { border-color: var(--ink); transform: translateY(-2px); }
.audience__kicker { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.audience__title { font-family: var(--brand); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.05; }
.audience__text { font-size: 0.92rem; color: var(--ink-soft); }
.audience__go { margin-top: 0.4rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent-bright); }
.audience--creator { background: var(--accent); border-color: var(--accent); color: #fff; }
.audience--creator .audience__kicker, .audience--creator .audience__text { color: rgba(255, 255, 255, 0.85); }
.audience--creator .audience__go { text-decoration-color: rgba(255, 255, 255, 0.6); }

/* Studio: invite a creator */
.studio-invite { margin-top: 1rem; }

.studio-seen { grid-template-columns: 1fr; }
@media (min-width: 900px) { .studio-seen { grid-template-columns: 1fr 1fr; } }

/* Home: the first 100 creators (waitlist) */
.first100-band { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem); border: 1px solid var(--line); border-radius: 18px; background: #fbf6f8; }
@media (min-width: 900px) { .first100-band { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.first100-band .kicker { color: var(--accent); }
.first100-band p:not(.kicker) { margin-top: 0.6rem; color: var(--ink-soft); max-width: 34rem; }
.first100-form { display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .first100-form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.first100-form .input { background: #fff; }
.first100-form__msg { grid-column: 1 / -1; min-height: 1.2em; font-size: 0.85rem; color: #9a1b1b; }
.first100-form__msg:empty { display: none; }
.first100-form__done { grid-column: 1 / -1; font-size: 0.95rem; }
.first100-form__done strong { font-family: var(--brand); font-size: 1.2rem; font-weight: 500; display: block; margin-bottom: 0.25rem; color: var(--accent); }

/* Waitlist admin: the first 100 creators */
.f100-table td a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-bright); }
