/* ================= fashionista ai ================= */
:root {
  --bg: #faf7f1;            /* light dirty white */
  --bg-soft: #f2ede2;
  --ink: #17130e;
  --muted: #75705f;
  --accent: #8B0024;        /* burgundy */
  --line: rgba(23, 19, 14, 0.14);
  --script: "Dancing Script", "Brush Script MT", cursive;
  --serif: "Archivo", "Assistant", Arial, sans-serif;  /* single brand font everywhere; Assistant covers Hebrew */
  --sans: "Archivo", "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 460px;
  --item-w: 128px;
  --item-h: 192px; /* 2:3 */
  --scroll-loops: 4;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
}

img { -webkit-user-drag: none; user-select: none; }

/* ---------------- Watermark ----------------
   Every image container carries .wm - the signature renders
   automatically on all images, including future uploads. */
.wm { position: relative; }
/* the signature is now burned into the image files themselves;
   the old CSS overlay stays off so it does not appear twice */
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------------- Header ---------------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 36px;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* the owner's handwritten logo, pinned top-left in both languages */
header { direction: ltr; }
.brand { line-height: 0; cursor: pointer; }
.brand-logo { height: 44px; display: block; }

nav.tabs {
  display: flex;
  gap: 6px;
  margin-inline-start: auto;
  flex-wrap: wrap;
}
nav.tabs a {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity .2s, background .2s;
}
nav.tabs a:hover { opacity: 1; background: rgba(23,19,14,.06); }
nav.tabs a.active { opacity: 1; background: var(--ink); color: var(--bg); }

.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.lang-btn:hover { background: rgba(23,19,14,.06); }

main { min-height: 100vh; }
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 36px 90px;
}

.page-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.page-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
  margin-bottom: 44px;
}

/* ---------------- Home hero (3D carousel) ---------------- */
.scroll-track { position: relative; height: calc(var(--scroll-loops) * 100vh + 100vh); width: 100%; }

.sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh; /* stays fully visible above mobile browser bars */
  overflow: clip;
}

.scene {
  position: absolute;
  inset: 0;
  perspective: 1500px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  /* vertical swipes scroll the page, horizontal swipes spin the ring */
  touch-action: pan-y;
}
@media (pointer: fine)   { .scene  { cursor: none; } }
@media (pointer: coarse) { .cursor { display: none; } }

.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  /* needle tip sits at the pointer position (tip = bottom-left of the SVG) */
  transform: translate(-2px, -32px);
  transform-origin: 2px 32px;
  opacity: 0;
  z-index: 200;
  transition: opacity 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(40, 25, 10, 0.35));
}
.cursor.visible { opacity: 1; }
.cursor.dragging { transform: translate(-2px, -32px) scale(1.2); }

.floor {
  position: absolute;
  left: 0; right: 0;
  top: 92vh; /* matches the bottom of the center figure (.center spans 8vh-92vh) */
  top: 92svh;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(40, 25, 10, 0.07), rgba(40, 25, 10, 0.02) 70%);
  border-top: 1px solid rgba(40, 25, 10, 0.12);
}

.stage {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.item {
  position: absolute;
  width: var(--item-w);
  height: var(--item-h);
  top: calc(var(--item-h) / -2);
  left: calc(var(--item-w) / -2);
  transform-style: preserve-3d;
  backface-visibility: visible;
}

.item .float {
  position: relative;
  width: 100%; height: 100%;
}

.item .main {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(40, 25, 10, 0.28), 0 0 0 1px rgba(23,19,14,0.05) inset;
  display: block;
  background: var(--bg-soft);
}

.item .mirror {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scaleY(-1);
  opacity: 0.30;
  filter: brightness(1.12) saturate(0.7) contrast(0.85);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
          mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
  pointer-events: none;
  border-radius: 0 0 4px 4px;
}

.center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  pointer-events: none;
  height: 84vh;
  height: 84svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.center::before {
  content: "";
  position: absolute;
  top: 5%; left: 50%;
  width: 90%; height: 85%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 182, 203, 0.5) 0%,
    rgba(240, 150, 180, 0.28) 35%,
    rgba(200, 110, 150, 0.12) 58%,
    transparent 75%
  );
  filter: blur(55px);
  z-index: -1;
  animation: halo-breathe 6s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.8; }
  50%      { transform: translateX(-50%) scale(1.1);  opacity: 1;   }
}

.center::after {
  content: "";
  position: absolute;
  bottom: -1%; left: 50%;
  width: 55%; height: 4%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(40,25,10,0.4) 0%, rgba(40,25,10,0.2) 40%, transparent 75%);
  filter: blur(8px);
  z-index: -1;
}

.center img {
  height: 100%;
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  filter:
    contrast(1.05) saturate(1.05)
    drop-shadow(0 2px 3px rgba(40, 25, 10, 0.35))
    drop-shadow(0 30px 50px rgba(40, 25, 10, 0.3));
}

.overlay { position: absolute; inset: 0; z-index: 20; pointer-events: none; }

.ui { position: absolute; color: var(--ink); font-size: 13px; letter-spacing: 0.04em; opacity: 0.7; }
.ui.count { top: 50%; inset-inline-start: 32px; transform: translateY(-50%); }
.ui.label {
  top: 50%;
  inset-inline-end: 32px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
}
.ui.hint {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  opacity: 0.55;
  text-align: center;
  width: 90%;
}

.scrollbar {
  position: absolute;
  top: 14%; inset-inline-end: 18px; bottom: 14%;
  width: 1px;
  background: rgba(23,19,14, 0.18);
}
.scrollbar .dot {
  position: absolute;
  inset-inline-start: -1px;
  width: 3px; height: 25%;
  background: var(--ink);
  top: 0;
  will-change: transform;
}

/* ---------------- Marquee ---------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.marquee .track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 14px 0;
  animation: marquee-scroll var(--marquee-dur, 40s) linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee img {
  height: 180px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.marquee img:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(40,25,10,.22); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .marquee .track { animation-name: marquee-scroll-rtl; }
@keyframes marquee-scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* ---------------- Collections grid ---------------- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 56px 48px;
  margin-top: 48px;
}

.collection-card { position: relative; cursor: pointer; }
.collection-card .cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: var(--bg-soft);
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 10px 30px rgba(40,25,10,.12);
}
.collection-card:hover .cover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(40,25,10,.22); }
.collection-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  margin-top: 14px;
}
.collection-card .meta { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

.add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 3 / 4;
  border: 1.5px dashed var(--line);
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  transition: border-color .2s, color .2s;
  background: transparent;
}
.add-card:hover { border-color: var(--accent); color: var(--accent); }
.add-card .plus { font-size: 42px; font-weight: 300; line-height: 1; }

/* ---------------- Collection detail ---------------- */
.collection-hero {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(320px, 7fr);
  gap: 56px;
  align-items: start;
  margin-top: 12px;
}
@media (max-width: 860px) { .collection-hero { grid-template-columns: 1fr; } }

.collection-about h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  margin-bottom: 22px;
}
.collection-about .kicker {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.collection-about p {
  font-size: 16.5px;
  line-height: 1.75;
  color: #3d3830;
  white-space: pre-wrap;
}

/* Slideshow 2:3 */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 2 / 3;
  margin-inline-start: auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(40,25,10,.22);
  background: var(--bg-soft);
}
[dir="rtl"] .slideshow { margin-inline-start: auto; }
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.slideshow img.on { opacity: 1; }
@media (max-width: 860px) { .slideshow { margin-inline: auto; } }

.banner-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin: 64px 0 16px;
}

/* thumbnails with delete button in edit mode */
.thumb-wrap { position: relative; display: inline-block; }
.thumb-del {
  position: absolute;
  top: 6px; inset-inline-end: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(23,19,14,.75);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: none;
  z-index: 5;
}
body.editing .thumb-del { display: block; }

/* ---------------- Posts (blog / podcast / guides) ---------------- */
.posts {
  display: grid;
  gap: 44px;
  margin-top: 8px;
}
.post {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (max-width: 720px) { .post { grid-template-columns: 1fr; } }
.post img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-soft);
}
.post h2 { font-family: var(--serif); font-weight: 700; font-size: 32px; margin-bottom: 6px; }
.date { color: var(--muted); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.post .body { font-size: 16px; line-height: 1.75; color: #3d3830; white-space: pre-wrap; }

/* ---------------- About ---------------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 6fr) minmax(280px, 5fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; } }
.about-layout .body { font-size: 17px; line-height: 1.85; color: #3d3830; }
.about-layout .body p { white-space: pre-wrap; margin-bottom: 30px; }
.about-section-title { font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.about-layout img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(40,25,10,.2);
}

/* ---------------- Lightbox ---------------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 15, 10, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox-frame { display: inline-flex; }
/* thick WHITE acrylic (perspex) frame around the enlarged image only */
.lightbox-frame.perspex {
  padding: 24px;
  border-radius: 0;
  background: linear-gradient(135deg, #ffffff, #f4f2ee 42%, #ffffff 70%, #ece9e3);
  border-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 3px rgba(120,90,40,.14);
}
.lightbox-frame.perspex::before { border-radius: 0; }
.lightbox img {
  max-width: 84vw;
  max-height: 82vh;
  border-radius: 0;
  box-shadow: 0 12px 34px rgba(0,0,0,.5);
}
@media (max-width: 760px) {
  .lightbox-frame.perspex { padding: 14px; }
  .lightbox img { max-width: 86vw; max-height: 80vh; }
}
.lightbox-close {
  position: absolute;
  top: 20px; inset-inline-end: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-nav[hidden] { display: none; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
@media (max-width: 760px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 27px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

/* ---------------- Edit mode ---------------- */
.edit-toggle {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 250;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(23,19,14,.3);
  transition: transform .2s;
}
.edit-toggle:hover { transform: translateY(-2px); }
body.editing .edit-toggle { background: var(--accent); color: #fff; }

body.editing [contenteditable="true"] {
  outline: 1.5px dashed rgba(139, 0, 36, .55);
  outline-offset: 4px;
  border-radius: 2px;
  min-width: 30px;
}
body.editing [contenteditable="true"]:focus {
  outline-style: solid;
  background: rgba(139, 0, 36, .045);
}

.edit-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s;
}
.edit-btn:hover { border-color: var(--ink); }
.edit-btn.danger { color: var(--accent); border-color: rgba(139,0,36,.35); }
.edit-btn.danger:hover { background: rgba(139,0,36,.07); }
.edit-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.card-del {
  position: absolute;
  top: 10px; inset-inline-end: 10px;
  z-index: 6;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(23,19,14,.8);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: none;
}
body.editing .card-del { display: block; }

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
footer .brand-footer { font-size: 17px; color: var(--ink); font-family: var(--script); font-weight: 700; }
footer .copyright a { color: inherit; text-decoration: none; }
footer .copyright a:hover { text-decoration: underline; }
footer .copyright { width: 100%; text-align: center; font-size: 12px; color: var(--muted); padding-top: 6px; border-top: 1px solid var(--line); }

/* ---------------- Mobile ---------------- */
@media (max-width: 760px) {
  :root {
    --header-h: 104px;      /* two rows: brand + scrollable tabs */
    --item-w: 90px;
    --item-h: 135px;        /* 2:3 */
  }
  header {
    flex-wrap: wrap;
    align-content: center;
    padding: 10px 16px;
    gap: 6px 12px;
  }
  .brand { font-size: 26px; }
  .lang-btn { margin-inline-start: auto; padding: 6px 13px; }
  nav.tabs {
    order: 3;
    width: 100%;
    margin-inline-start: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  nav.tabs::-webkit-scrollbar { display: none; }
  nav.tabs a { font-size: 12px; padding: 6px 11px; white-space: nowrap; }

  .page { padding: calc(var(--header-h) + 28px) 20px 60px; }
  .page-sub { margin-bottom: 30px; }
  .collection-hero, .about-layout { gap: 32px; }
  .collections-grid { grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 30px 22px; margin-top: 30px; }
  .collection-card h3 { font-size: 20px; }
  .marquee img { height: 140px; }
  .banner-title { margin-top: 44px; }
  .ui.hint { font-size: 11px; }
  .scrollbar { inset-inline-end: 10px; }
  .edit-toggle { bottom: 16px; inset-inline-end: 16px; padding: 11px 18px; }
  footer { padding: 30px 20px; }
}

/* ---------------- Artwork protection ---------------- */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  /* blocks the long-press save sheet on iPhone; Android is handled by the
     contextmenu block in app.js */
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

/* ---------------- WhatsApp share (golden, glowing) ---------------- */
.wa-share {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  color: #3d2b00;
  background: linear-gradient(110deg, #b98a1e, #f6d873, #d4a733, #f9e9a8, #c39a2a);
  background-size: 250% 100%;
  box-shadow: 0 6px 18px rgba(185, 138, 30, .35);
  animation: wa-glow 2.4s ease-in-out infinite;
  transition: transform .2s ease;
}
.wa-share:hover { transform: translateY(-2px) scale(1.03); }
.wa-share::before { content: '💬 '; }
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 6px 14px rgba(185, 138, 30, .28); background-position: 0% 0; }
  50%      { box-shadow: 0 8px 30px rgba(220, 175, 60, .75); background-position: 100% 0; }
}

/* screen-reader-only text (SEO h1 on home, zero visual change) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- Social buttons (footer + podcast invite) ---------------- */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.social-btn:hover { transform: translateY(-2px); }
/* Instagram: the brand gradient with the real glyph */
.social-btn.ig {
  color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  box-shadow: 0 6px 16px rgba(204, 35, 102, .35);
}
.social-btn.ig:hover { box-shadow: 0 10px 24px rgba(204, 35, 102, .5); }
/* Podcast: gold, with the Spotify glyph */
.social-btn.sp {
  color: #3d2b00;
  background: linear-gradient(110deg, #b98a1e, #f6d873, #d4a733, #f9e9a8, #c39a2a);
  background-size: 250% 100%;
  box-shadow: 0 6px 16px rgba(185, 138, 30, .35);
  animation: wa-glow 2.4s ease-in-out infinite;
}
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.podcast-invite { margin-bottom: 36px; }
.podcast-invite .social-btn { font-size: 15px; padding: 13px 28px; }
/* end-of-article call to action */
/* ---------------- FAQ accordion (article + guide end) ---------------- */
.faq { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.faq-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(22px, 3vw, 28px); margin: 0 0 18px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item .faq-q {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 2px; font-family: var(--serif); font-weight: 600;
  font-size: 18px; line-height: 1.4; color: var(--ink);
}
.faq-item .faq-q::-webkit-details-marker { display: none; }
.faq-item .faq-q::after {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px; margin-top: 6px;
  border-right: 2px solid #b98a1e; border-bottom: 2px solid #b98a1e;
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq-item[open] .faq-q::after { transform: rotate(-135deg); }
.faq-item .faq-q:hover { color: #8a6a1e; }
.faq-a { padding: 0 2px 20px; }
.faq-a p { font-size: 16px; line-height: 1.75; color: var(--ink); opacity: .9; margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }

.post-cta {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.post-cta .cta-line { font-family: var(--serif); font-weight: 700; font-size: 21px; margin-bottom: 18px; }
.post-cta .cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------- Long-form articles ---------------- */
.read-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: #8a6a1e;
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 138, 30, .5);
}
.read-more:hover { color: var(--ink); border-color: var(--ink); }
.post .body { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.article-body p { white-space: normal; }
.article-body .about-section-title { margin-top: 34px; }
body.editing .post .body { display: block; overflow: visible; }

/* ---------------- Perspex cover frames (collections page) ---------------- */
.perspex {
  position: relative;
  padding: 12px;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.18) 38%, rgba(255,255,255,.08) 60%, rgba(255,255,255,.5));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow:
    0 14px 34px rgba(40,25,10,.16),
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 2px rgba(120,90,40,.18);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.perspex .cover { border-radius: 0; box-shadow: 0 4px 14px rgba(40,25,10,.22); }
/* glass shine sweeping across the slab */
.perspex::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 45%, transparent 60%);
  pointer-events: none;
}
/* the signature lives inside the image files themselves, so the frame stays clean */
.collection-card:hover .perspex .cover { transform: none; }
.post .perspex { align-self: start; }
.post .perspex img { border-radius: 0; box-shadow: 0 4px 14px rgba(40,25,10,.22); }
@media (max-width: 760px) {
  .perspex { padding: 8px; }
}
/* About page closing: handwritten welcome + signature + social buttons */
.about-close { margin-top: 36px; text-align: center; }
.about-welcome { font-family: var(--script); font-weight: 700; font-size: clamp(30px, 5vw, 46px); color: var(--ink); line-height: 1.2; margin: 0; }
.about-sign { font-family: var(--script); font-weight: 700; font-size: 24px; opacity: .72; margin: 6px 0 0; }
.about-close .footer-social { justify-content: center; margin-top: 22px; }

/* ============================================================
   Featured guide: Create a Viral Fashion Video (.vg-)
   ============================================================ */
.vg-page { max-width: 920px; }
.vg-back { display: inline-block; margin-bottom: 20px; }

/* hero: keyed collage floats on the page cream, muted loop */
.vg-hero { text-align: center; margin: 6px 0 22px; }
.vg-hero-vid {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: inline-block;
  background: transparent;
}

.vg-kicker {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 8px;
}
.vg-title { text-align: center; margin: 0 auto 10px; }
.vg-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 10px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}

.vg-body { max-width: 720px; margin: 34px auto 0; }
.vg-step { margin: 34px 0; }
.vg-h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--ink);
}
.vg-h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; margin: 18px 0 8px; }
.vg-body p { font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0 0 12px; }
.vg-list, .vg-rank { margin: 8px 0 0; padding-inline-start: 22px; }
.vg-list li, .vg-rank li { font-size: 16px; line-height: 1.7; margin: 0 0 8px; }
.vg-win { font-weight: 700; }
.vg-win::marker { color: var(--accent); }

/* gold exit buttons (real shiny gold) */
.vg-golds { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.vg-gold {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  color: #3d2b00;
  background: linear-gradient(110deg, #b98a1e, #f6d873, #d4a733, #f9e9a8, #c39a2a);
  background-size: 250% 100%;
  box-shadow: 0 6px 18px rgba(185, 138, 30, .35);
  animation: wa-glow 2.4s ease-in-out infinite;
  transition: transform .2s ease;
  border: none;
  cursor: pointer;
}
.vg-gold:hover { transform: translateY(-2px) scale(1.03); }
.vg-gold-cta { font-size: 17px; padding: 15px 34px; }

/* copyable prompt blocks */
.vg-prompt-label { font-weight: 700; font-size: 15px; margin: 16px 0 8px; }
.vg-prompt { position: relative; }
.vg-prompt pre {
  direction: ltr;
  text-align: left;
  margin: 0;
  padding: 18px 18px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  cursor: copy;
}
.vg-copy {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: #3d2b00;
  background: linear-gradient(110deg, #b98a1e, #f6d873, #d4a733, #f9e9a8, #c39a2a);
  background-size: 250% 100%;
  box-shadow: 0 4px 12px rgba(185, 138, 30, .35);
  transition: transform .15s ease;
}
.vg-copy:hover { transform: translateY(-1px); }
.vg-copy.done { background: #2f7d43; color: #fff; }

/* gate call to action + locked content */
.vg-gatecta {
  text-align: center;
  margin: 40px auto;
  padding: 34px 26px;
  max-width: 620px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.vg-gatecta p { color: var(--muted); font-size: 17px; }
.vg-gatecta .vg-gold-cta { margin-top: 12px; }
.vg-gated { display: none; }
.vg-gated.open { display: block; }

/* overlays (entry popup + email gate) */
.vg-overlay {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(20, 15, 10, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.vg-x {
  position: absolute; top: 10px; inset-inline-end: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--muted);
}
.vg-x:hover { color: var(--ink); }

/* entry popup: site-color window, thin luxury gold glow, 2:3 video */
.vg-entry-card {
  position: relative;
  width: min(90vw, 360px);
  background: var(--bg);
  border: 1.5px solid #e6c65a;
  border-radius: 22px;
  padding: 16px 16px 22px;
  box-shadow: 0 0 0 1px rgba(230, 198, 90, .5), 0 0 34px rgba(230, 198, 90, .55), 0 24px 60px rgba(0, 0, 0, .5);
  text-align: center;
}
.vg-entry-vid {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #000;
}
.vg-entry-txt { margin-top: 14px; }
.vg-entry-txt p { color: var(--muted); font-size: 15px; margin: 6px 0 14px; line-height: 1.55; }
.vg-entry-go { font-size: 15px; }

/* email gate: cream card, thin gold border */
.vg-gate-card {
  position: relative;
  width: min(92vw, 440px);
  background: #fbf8f1;
  border: 1.5px solid #d9b64e;
  border-radius: 20px;
  padding: 30px 28px 26px;
  box-shadow: 0 0 24px rgba(217, 182, 78, .3), 0 24px 60px rgba(0, 0, 0, .45);
  text-align: center;
}
.vg-gate-card .vg-h2 { font-size: 24px; margin-bottom: 6px; }
.vg-gate-sub { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 18px; }
.vg-form { display: flex; flex-direction: column; gap: 12px; text-align: start; }
.vg-form label { font-weight: 700; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.vg-form input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.vg-form input:focus { outline: none; border-color: #d9b64e; box-shadow: 0 0 0 3px rgba(217, 182, 78, .25); }
.vg-form .vg-gold-cta { margin-top: 6px; }
.vg-err { color: var(--accent); font-size: 14px; font-weight: 700; }
.vg-gate-note { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 4px; }

@media (max-width: 760px) {
  .vg-title { font-size: 30px; }
  .vg-sub { font-size: 17px; }
  .vg-h2 { font-size: 22px; }
  .vg-body p { font-size: 16px; }
  .vg-prompt pre { font-size: 12.5px; }
}

/* guide gate: consent checkbox row */
.vg-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 9px !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}
.vg-consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: #d4a733; }

/* guide popups: language toggle */
.vg-langtoggle {
  position: absolute; top: 12px; inset-inline-start: 14px;
  display: inline-flex; gap: 4px; z-index: 3;
  background: rgba(23,19,14,.06); border-radius: 999px; padding: 3px;
}
.vg-langtoggle button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--serif); font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; color: var(--muted);
}
.vg-langtoggle button.on { background: var(--ink); color: var(--bg); }

/* guide Instagram outro */
.vg-outro { text-align: center; margin-top: 46px; }
.vg-outro-line { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.vg-ig {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  box-shadow: 0 6px 16px rgba(204, 35, 102, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.vg-ig:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(204, 35, 102, .5); }
.vg-sign { font-family: var(--script); font-weight: 700; font-size: 30px; margin-top: 16px; opacity: .8; }

/* guide v2: popup-first flow (video + form in one gate, guide locked behind) */
.vg-locked-cover { text-align: center; margin: 26px 0 70px; }
.vg-full { margin-top: 8px; }
.vg-gate-card { padding-top: 46px; max-height: 92vh; overflow-y: auto; }
.vg-gate-vid {
  display: block; margin: 0 auto 16px;
  height: 34vh; width: auto; aspect-ratio: 2 / 3; max-width: 100%;
  object-fit: cover; border-radius: 14px; background: #000;
}

/* guide v2 mobile */
@media (max-width: 760px) {
  .vg-gate-card { padding: 40px 18px 22px; width: min(94vw, 440px); }
  .vg-gate-vid { height: 26vh; }
  .vg-gate-sub { font-size: 14.5px; }
  .vg-consent { font-size: 12.5px !important; }
  .vg-outro-line { font-size: 17px; }
  .vg-hero-vid { max-width: 100%; }
  .vg-langtoggle { top: 10px; }
}

/* guide hero: animated floating collage (replaces the keyed video) */
.vg-collage {
  position: relative; width: 100%; max-width: 900px; margin: 0 auto;
  aspect-ratio: 1.7917; perspective: 1300px;
}
.vg-el {
  position: absolute; display: block; height: auto;
  will-change: transform; transform-style: preserve-3d;
  filter: drop-shadow(0 14px 20px rgba(40, 25, 10, .16));
}
.vg-el0 { animation: vgF0 6s ease-in-out infinite; }
.vg-el1 { animation: vgF1 7.2s ease-in-out infinite; }
.vg-el2 { animation: vgF2 5.6s ease-in-out infinite; }
.vg-el3 { animation: vgF3 6.6s ease-in-out infinite; }
@keyframes vgF0 { 0%,100% { transform: translateY(0) rotateY(-5deg); } 50% { transform: translateY(-10px) rotateY(5deg); } }
@keyframes vgF1 { 0%,100% { transform: translateY(-6px) rotate(-1.5deg) rotateY(7deg); } 50% { transform: translateY(9px) rotate(1.5deg) rotateY(-7deg); } }
@keyframes vgF2 { 0%,100% { transform: translateY(5px) rotateY(4deg); } 50% { transform: translateY(-9px) rotateY(-4deg); } }
@keyframes vgF3 { 0%,100% { transform: translateY(0) rotate(2deg) rotateY(-6deg); } 50% { transform: translateY(-10px) rotate(-2deg) rotateY(6deg); } }
@media (prefers-reduced-motion: reduce) { .vg-el { animation: none !important; } }

/* guide hero: 360 spinning 3D ring (landing page style) */
:root { --vg-iw: 150px; --vg-ih: 226px; }
.vg-ring-scene {
  position: relative; width: 100%; height: 360px;
  perspective: 1300px; overflow: hidden; margin: 0 auto 6px;
}
.vg-ring-stage {
  position: absolute; top: 52%; left: 50%; width: 0; height: 0;
  transform-style: preserve-3d; will-change: transform;
  animation: vgSpin 30s linear infinite;
}
.vg-ring-item {
  position: absolute; width: var(--vg-iw); height: var(--vg-ih);
  top: calc(var(--vg-ih) / -2); left: calc(var(--vg-iw) / -2);
}
.vg-ring-item img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 14px 20px rgba(40, 25, 10, .2));
}
@keyframes vgSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@media (max-width: 760px) {
  :root { --vg-iw: 108px; --vg-ih: 164px; }
  .vg-ring-scene { height: 270px; }
}
@media (prefers-reduced-motion: reduce) { .vg-ring-stage { animation-duration: 140s; } }

/* guide hero v3: figure centered, objects orbit around her in 3D with depth */
:root { --vg-iw: 120px; --vg-ih: 150px; }
.vg-ring-scene { height: 400px; perspective: 1250px; }
.vg-ring-stage { animation: vgSpin 22s linear infinite; }
.vg-ring-girl {
  position: absolute; top: 0; left: 0; height: 340px; width: auto;
  transform: translate(-50%, -50%) rotateY(0deg);
  animation: vgGirl 22s linear infinite;
  filter: drop-shadow(0 22px 26px rgba(40, 25, 10, .28));
}
.vg-ring-item img { filter: drop-shadow(0 14px 20px rgba(40, 25, 10, .3)); }
@keyframes vgGirl {
  from { transform: translate(-50%, -50%) rotateY(0deg); }
  to   { transform: translate(-50%, -50%) rotateY(-360deg); }
}
@media (max-width: 760px) {
  :root { --vg-iw: 88px; --vg-ih: 110px; }
  .vg-ring-scene { height: 300px; }
  .vg-ring-girl { height: 250px; }
}

/* guide hero v4: figure centered, 4 objects orbit with depth (JS driven) */
.vg-ring-scene { position: relative; width: 100%; height: 400px; overflow: hidden; margin: 0 auto; perspective: none; }
.vg-ring-girl {
  position: absolute; top: 50%; left: 50%; height: 86%; width: auto;
  transform: translate(-50%, -50%); z-index: 5;
  filter: drop-shadow(0 22px 28px rgba(40, 25, 10, .3));
  animation: none;
}
.vg-orb { position: absolute; top: 0; left: 0; will-change: transform, opacity; }
.vg-orb img { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 22px rgba(40, 25, 10, .34)); }
@media (max-width: 760px) { .vg-ring-scene { height: 320px; } }

/* ===== Paparazzi guide (route #/guide/paparazzi-photoshoot) ===== */
.pap-hero { text-align: center; margin: 6px 0 18px; }
.pap-herovid {
  width: 100%; max-width: 760px; height: auto; display: inline-block;
  border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.vg-hook { font-size: 19px; line-height: 1.7; font-weight: 500; color: var(--ink); }
.vg-note { font-size: 15px; color: var(--muted); margin-top: 12px; line-height: 1.65; }
.vg-shine {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  color: var(--accent); margin-top: 16px;
}
.vg-prompt-cmd pre { font-size: 18px; font-weight: 700; letter-spacing: .04em; }

/* running paparazzi slider at the bottom */
.vg-gallery { margin-top: 42px; }
.vg-slider {
  position: relative; overflow: hidden; border-radius: 14px;
  background: transparent; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
/* JS drives the transform (see guide-paparazzi.js) for a seamless, gapless loop */
.vg-track { display: flex; width: max-content; will-change: transform; }
/* each image sits inside a thin, moving gold frame */
.vg-slide {
  flex: 0 0 auto; margin-inline-end: 16px; padding: 3px; border-radius: 13px;
  background: linear-gradient(110deg, #b98a1e, #f6d873, #d4a733, #f9e9a8, #c39a2a);
  background-size: 250% 100%;
  animation: wa-glow 2.6s ease-in-out infinite;
}
.vg-slide:nth-child(2n) { animation-delay: .6s; }
.vg-slide:nth-child(3n) { animation-delay: 1.2s; }
.vg-slide img { height: 300px; width: auto; display: block; border-radius: 10px; }

/* paparazzi camera flash, confined to the slider band */
.vg-flash {
  position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .05s ease;
  background: radial-gradient(circle at 28% 38%, rgba(255,255,255,.97), rgba(255,255,255,0) 52%),
              radial-gradient(circle at 74% 62%, rgba(255,255,255,.92), rgba(255,255,255,0) 48%);
}
.vg-flash.fire { opacity: 1; }

/* looping background music button */
.vg-yt-host { position: fixed; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vg-music {
  position: fixed; z-index: 60; bottom: 34px; inset-inline-end: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: none; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 14px; color: #3d2b00;
  background: linear-gradient(110deg, #b98a1e, #f6d873, #d4a733, #f9e9a8, #c39a2a);
  background-size: 250% 100%; box-shadow: 0 6px 18px rgba(185,138,30,.4);
}
.vg-music.on { color: #fff; background: #14141a; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.vg-music-ic { font-size: 16px; line-height: 1; }
.vg-credit-run {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  overflow: hidden; white-space: nowrap; pointer-events: none;
  background: rgba(20,20,26,.55); padding: 4px 0;
}
.vg-credit-track {
  display: inline-block; white-space: nowrap; will-change: transform;
  font-size: 11px; letter-spacing: .5px; color: rgba(255,255,255,.82);
  animation: vg-credit-scroll 32s linear infinite;
}
@keyframes vg-credit-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .vg-slide img { height: 200px; }
  .vg-shine { font-size: 19px; }
  .vg-hook { font-size: 17px; }
  .vg-music { bottom: 30px; inset-inline-end: 14px; padding: 9px 13px; font-size: 13px; }
  .vg-credit-track { animation-duration: 22s; }
}

/* Readers: the Google sign-in gate on articles and guides, and the reading list */
.reader-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 14px; color: var(--muted, #75705f); margin: 0 0 18px; }
.reader-bar:empty { display: none; }
.reader-bar a { text-decoration: underline; color: inherit; }
.reader-gate { margin: 34px auto 0; max-width: 520px; padding: 34px 26px; background: #fff; text-align: center; box-shadow: 0 10px 40px rgba(23,19,14,.08); }
.reader-gate .cta-line { font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.reader-gate p { margin: 0 0 20px; }
.reader-google { display: flex; justify-content: center; min-height: 44px; }
.reader-msg { min-height: 22px; margin: 14px 0 0 !important; font-size: 14px; }
.reader-consent { display: flex; gap: 10px; align-items: flex-start; text-align: start; font-size: 14px; line-height: 1.5; margin: 0 0 18px; cursor: pointer; }
.reader-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #d4a733; }
.reader-hold { position: relative; opacity: .4; transition: opacity .25s ease; }
.reader-hold.open { opacity: 1; }
.reader-cover { position: absolute; inset: 0; cursor: not-allowed; }
.reader-hold.open .reader-cover { display: none; }
.reader-admin { font-weight: 700; color: #8B0024 !important; }
.reader-h { font-family: var(--serif); font-weight: 700; font-size: 24px; margin: 34px 0 16px; }
.reader-none a { text-decoration: underline; color: inherit; }
.reader-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.reader-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.reader-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.reader-kind { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8B0024; margin-top: 6px; }
.reader-title { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.reader-strip { margin-top: 6px; }
.reader-col { display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.reader-col-name { font-family: var(--serif); font-size: 15px; max-width: 130px; text-align: center; line-height: 1.25; }
@media (max-width: 640px) { .reader-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } .reader-title { font-size: 16px; } .reader-col-name { font-size: 13px; max-width: 100px; } }
.own-hero { display: block; width: 100%; max-width: 760px; max-height: 70vh; margin: 0 auto 26px; object-fit: contain; }
.own-popup { display: block; width: 100%; max-width: 260px; aspect-ratio: 2 / 3; object-fit: cover; margin: 0 auto 20px; }
/* in an article the copy button sits above the prompt, never over its first words (the prompt is always left to right) */
.article-body .vg-prompt { margin: 14px 0 20px; }
.article-body .vg-prompt pre { padding-top: 54px; }
.article-body .vg-golds { margin: 10px 0 18px; }
.post-media { display: block; max-width: 100%; margin: 18px 0; }
.post-media img, video.post-media { display: block; width: 100%; max-width: 560px; height: auto; }
/* the artwork stays on the screen: a printed page or a page saved as a PDF comes out without the images */
@media print { img, video, canvas { visibility: hidden !important; } }

/* ===== Ceiling fan guide (route #/guide/ceiling-fan-loop) ===== */
.fan-hero { text-align: center; margin: 6px 0 18px; }
.fan-herovid {
  width: min(340px, 100%, calc(72vh * 9 / 16)); aspect-ratio: 9 / 16; height: auto; display: inline-block;
  object-fit: cover; border-radius: 14px; background: #000; box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.fan-cap { font-size: 15px; color: var(--muted); margin: 16px 0 10px; }
.fan-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fan-frames { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fan-shots img, .fan-frames img { width: 100%; height: auto; display: block; border-radius: 8px; }
@media (max-width: 760px) {
  .fan-shots { grid-template-columns: 1fr; }
  .fan-frames { grid-template-columns: repeat(3, 1fr); }
}
