/* ==========================================================================
   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: #8a6412;          /* ochre: the lamp colour, dark enough for text */
  --accent-bright: #e2b33a;   /* the yellow lamp: the one bright colour, for fills and details */
  --wood: #8b6f58;            /* washed oak / leather: a warm neutral for small touches */
  --accent-soft: #f8efd6;     /* pale yellow tint for quiet highlights */
  --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);
}
@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: end; }
.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: space-between;
  padding: 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}
.thumb__actions button {
  padding: 4px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.thumb__actions button:hover { text-decoration: underline; }

/* 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; }

@media (min-width: 900px) {
  .auth-layout { grid-template-columns: 1fr 1fr; }
  .auth-layout__media { display: block; }
}

/* 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; }
  .notes-fonts { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .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-note {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.4rem 0.8rem;
  background: #fff3cd;
  color: #6b5100;
  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); }
.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)); }
/* 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 yellow bar underneath (the lamp) */
.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 yellow */
.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 yellow */
.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-search { display: flex; gap: 0; margin-top: 2rem; max-width: 720px; border: 1px solid var(--ink); background: var(--paper); }
.piece-search input { flex: 1; min-width: 0; padding: 0 1.1rem; border: 0; background: none; font-size: 1rem; min-height: 56px; }
.piece-search input:focus { outline: none; }
.piece-search:focus-within { box-shadow: 0 0 0 3px var(--accent-bright); }
.piece-search .btn { min-height: 56px; border: 0; }
.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 the yellow lamp as a 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: clamp(2rem, 5vw, 4rem) var(--gutter) 0; max-width: var(--max); margin-inline: auto; }
.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; }
