/* ============================================================
   Atelier Limité, Storefront · updates & mobile
   Loaded last. Header/ticker refresh · collection gallery ·
   wall-to-wardrobe leveling · journal fix · full mobile pass.
   ============================================================ */

/* ─────────── HEADER, bigger, cleaner, more visible ─────────── */
.site-header { height: 74px; padding: 0 44px; background: var(--ink); }
.site-logo { font-size: 20px; letter-spacing: 0.22em; color: var(--ivory); }
.site-logo em { color: var(--bronze); }
.site-nav { gap: 30px; }
.site-nav button {
  font-size: 10.5px; font-weight: 300; letter-spacing: 0.18em;
  color: rgba(246,243,237,0.6); position: relative; padding: 6px 0;
}
.site-nav button:hover, .site-nav button[data-current="true"] { color: var(--ivory); }
.site-nav button[data-current="true"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--bronze);
}
.nav-actions { gap: 22px; }
.nav-action-btn { font-size: 10px; letter-spacing: 0.16em; color: rgba(246,243,237,0.55); }
.nav-bag { font-size: 10px; letter-spacing: 0.16em; color: rgba(246,243,237,0.78); }

/* burger + mobile nav (hidden on desktop) */
.nav-burger { display: none; flex-direction: column; gap: 4px; width: 26px; height: 18px;
  justify-content: center; background: none; border: none; cursor: pointer; padding: 0; }
.nav-burger span { display: block; height: 1.5px; width: 100%; background: var(--ivory); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-header[data-menu-open="true"] .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-menu-open="true"] .nav-burger span:nth-child(2) { opacity: 0; }
.site-header[data-menu-open="true"] .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.site-nav-mobile { display: none; }

/* ─────────── TICKER, bigger, cleaner ─────────── */
.ticker-wrap { background: var(--surface-2); padding: 13px 0; }
.ticker-item { font-size: 10px; font-weight: 300; letter-spacing: 0.24em; color: rgba(246,243,237,0.5); padding: 0 30px; }
.ticker-sep { font-size: 10px; color: var(--bronze); opacity: 0.7; }

/* ─────────── COLLECTION (home), two-up, taps to wear ─────────── */
.section-note { font-family: var(--serif); font-size: 16px; font-weight: 300; font-style: italic; color: var(--dust); margin-top: 10px; max-width: 56ch; line-height: 1.5; }
.coll-grid { grid-template-columns: repeat(2, 1fr); max-width: 980px; gap: 44px; }
.wl-stage { border: none; cursor: pointer; font-family: inherit; width: 100%; }
.wl-card.is-worn .wl-art { opacity: 0; transform: scale(1.04); }
.wl-card.is-worn .wl-tee { opacity: 1; transform: scale(1); }
.wl-card.is-worn .wl-flip .dot { transform: scale(1.6); }
.wl-l-view { font-size: 8.5px; font-weight: 300; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze); background: none; border: none; border-bottom: 0.5px solid var(--bronze-dim);
  cursor: pointer; padding: 0 0 2px; transition: letter-spacing .3s var(--ease); }
.wl-l-view:hover { letter-spacing: 0.28em; }

/* ─────────── WALL TO WARDROBE, caption + leveled images ─────────── */
.w2w-cap { text-align: center; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--bronze); margin-top: 10px; letter-spacing: 0.02em; }
.w2w-track { align-items: center; }
.w2w-stage { height: 300px; aspect-ratio: auto; padding: 0; }
.w2w-stage .framed-art { width: 196px; }
.w2w-stage .tee-mockup { width: 250px; }
.w2w-print { width: 250px; height: 250px; aspect-ratio: auto; }

/* ─────────── THE COLLECTION (gallery page) ─────────── */
.cg-wall { background: var(--ivory-mid); padding: 64px 56px 84px; }
.cg-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.cg-card { background: var(--ivory); border: 0.5px solid var(--rule); box-shadow: 0 22px 46px -28px rgba(0,0,0,0.42); }
.cg-frame { position: relative; width: 100%; border: none; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; padding: 34px 32px 30px;
  background: radial-gradient(120% 100% at 50% 0%, #232220 0%, #181714 100%); }
.cg-frame::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-42deg, transparent, transparent 46px, rgba(181,162,142,0.022) 46px, rgba(181,162,142,0.022) 47px); }
.cg-tag { position: absolute; top: 14px; left: 18px; font-size: 8px; font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); z-index: 2; }
.cg-hint { position: absolute; bottom: 12px; right: 18px; font-size: 8px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,243,237,0.42); z-index: 2; }
.cg-art-layer { width: 68%; position: relative; z-index: 1; }
/* the artwork sits inside its frame; empty mat shows when it flicks out */
.cg-card .framed-art-window { background: var(--ivory); }
.cg-card .framed-art-window > svg { transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .45s ease; transform-origin: 50% 100%; }
.cg-card.is-open .framed-art-window > svg { transform: translateY(118%) rotateX(82deg) scale(0.72); opacity: 0; }
.cg-card .framed-art-window::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 2px 10px rgba(0,0,0,0.14); pointer-events: none; }

.cg-plate { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-top: 0.5px solid var(--rule); }
.cg-plate-title { font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.1; }
.cg-plate-sub { font-size: 8.5px; font-weight: 300; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dust); margin-top: 5px; }
.cg-chevron { font-family: var(--serif); font-weight: 300; font-size: 26px; color: var(--bronze); line-height: 1; flex-shrink: 0; }

.cg-drop { overflow: hidden; max-height: 0; transition: max-height .6s cubic-bezier(.16,1,.3,1); background: var(--ivory); }
.cg-drop[data-open="true"] { max-height: 700px; }
.cg-drop-inner { padding: 6px 22px 26px; }
.cg-drop-label { font-size: 8.5px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); text-align: center; margin-bottom: 16px; }
.cg-garments { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cg-garment-stage { aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: radial-gradient(120% 100% at 50% 0%, #232220 0%, #181714 100%); box-shadow: 0 18px 34px -22px rgba(0,0,0,0.5); }
.cg-garment-stage .tee-mockup { width: 88%; opacity: 0; transform: translateY(18px) scale(0.95); transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.cg-card.is-open .cg-garment-stage .tee-mockup { opacity: 1; transform: none; transition-delay: .2s; }
.cg-garment-name { display: block; text-align: center; font-size: 8.5px; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dust); margin-top: 12px; }
.cg-view { display: block; margin: 24px auto 0; font-size: 8.5px; font-weight: 300; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze); background: none; border: none; border-bottom: 0.5px solid var(--bronze-dim); cursor: pointer; padding: 0 0 3px; transition: letter-spacing .3s var(--ease); }
.cg-view:hover { letter-spacing: 0.3em; }

/* ─────────── JOURNAL, fill cells (no grey blank) ─────────── */
.journal-grid > * { display: flex; min-width: 0; }
.journal-grid > * > .journal-card { width: 100%; }
.journal-card { min-height: 0; }

/* ════════════ MOBILE ════════════ */
@media (max-width: 1150px) {
  .site-nav { display: none; }
  .nav-burger { display: flex; }
  .nav-action-btn { display: none; }
  .site-nav-mobile {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); border-top: 0.5px solid var(--rule-inv); border-bottom: 0.5px solid var(--rule-inv);
    padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; z-index: 49;
    max-height: 80vh; overflow-y: auto;
  }
  .site-nav-mobile[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear 0s; }
  .site-nav-mobile button {
    font-family: var(--sans); font-size: 14px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(246,243,237,0.7); background: none; border: none; text-align: left; cursor: pointer; padding: 15px 44px;
  }
  .site-nav-mobile button:hover, .site-nav-mobile button[data-current="true"] { color: var(--ivory); background: rgba(246,243,237,0.04); }
  .site-nav-mobile .snm-extra { color: var(--bronze); border-top: 0.5px solid var(--rule-inv); margin-top: 6px; }
}

@media (max-width: 920px) {
  .cg-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .site-header { height: 62px; padding: 0 20px; }
  .site-logo { font-size: 17px; letter-spacing: 0.18em; }
  .nav-actions { gap: 16px; }

  /* generic section padding squeeze */
  .hero-gallery { padding: 56px 22px 60px; min-height: 0; }
  .hg-copy { max-width: 100%; }
  .hg-stage { height: 380px; }
  .hg-actions { flex-wrap: wrap; gap: 18px; }
  .hg-meta { flex-wrap: wrap; gap: 16px; }

  .w2w { padding: 60px 22px; }
  .w2w-track { grid-template-columns: 1fr; gap: 36px; }
  .w2w-arrow { display: none; }
  .w2w-stage { height: 270px; }

  .collection-2 .section-header { flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 22px 24px; }
  .coll-grid { grid-template-columns: 1fr; gap: 36px; padding: 40px 22px; max-width: 460px; }

  .artist-feature { grid-template-columns: 1fr; }
  .af-image { min-height: 320px; padding: 32px !important; }
  .af-content { padding: 48px 24px; }

  .how-section { padding: 56px 22px 60px; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .how-step { padding: 0 0 0 0 !important; border-right: none !important; }
  .how-step:not(:first-child) { padding-left: 0; }

  .pvl-section { padding: 64px 22px; }

  .page-hero { padding: 64px 22px 48px; }
  .page-hero-bigchar { font-size: 200px; right: -6%; }

  .cg-wall { padding: 44px 20px 60px; }
  .cg-grid { grid-template-columns: 1fr; gap: 30px; max-width: 440px; }
  .cg-art-layer { width: 60%; }

  .work-criteria, .work-promises { padding: 56px 22px; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .work-crit { padding: 0; border-left: none; }
  .work-steps { padding: 56px 22px; }
  .work-steps-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .work-step { padding: 0; border-left: none; }
  .work-promises { grid-template-columns: 1fr; gap: 28px; }
  .work-cta { padding: 64px 22px; }

  .about-principles { grid-template-columns: 1fr; padding: 56px 22px; }
  .vocab-strip { padding: 56px 22px; }
  .vocab-grid { grid-template-columns: 1fr; }
  .faq-page { padding: 56px 22px 72px; }

  .pv-hero { padding: 80px 22px 64px; }
  .pv-promises { grid-template-columns: 1fr; }
  .pv-promise { border-right: none; border-bottom: 0.5px solid rgba(246,243,237,0.08); }

  .ad-hero { grid-template-columns: 1fr; }
  .ad-portrait { min-height: 360px; }
  .ad-intro { padding: 48px 24px; border-left: none; }
  .ad-statement { padding: 64px 22px; }

  .journal-grid-wrap { padding: 40px 22px 72px; }
  .journal-feature { grid-template-columns: 1fr; gap: 28px; }

  .pdp-top { grid-template-columns: 1fr !important; }
  .pdp { padding: 0 !important; }

  .site-footer { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 48px 22px 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 22px; }
}

@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
  .work-grid, .work-steps-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .hg-title { font-size: clamp(38px, 11vw, 54px); }
}

/* ═══════════ READABILITY PASS ═══════════
   Loaded last. Increases contrast and size
   across all sections that were too faint.
   ═══════════════════════════════════════ */

/* Header nav — was 0.32–0.6, now clearly legible */
.site-nav button { color: rgba(246,243,237,0.68); font-size: 10.5px; }
.site-nav button:hover,
.site-nav button[data-current="true"] { color: var(--ivory); }

/* Ticker — was 0.28, barely visible */
.ticker-item { color: rgba(246,243,237,0.58); font-size: 10px; font-weight: 300; }
.ticker-sep { opacity: 0.85; }

/* Buttons — both primary and ghost made more visible */
.btn-primary { font-size: 11px; font-weight: 400; padding: 15px 32px; letter-spacing: 0.2em; }
.btn-ghost {
  color: rgba(246,243,237,0.78); font-weight: 300;
  border-bottom-color: rgba(246,243,237,0.28);
}
.btn-ghost:hover { color: var(--ivory); }

/* Hero — subtitle and meta labels were too faint */
.hg-sub { color: rgba(246,243,237,0.76); }
.hg-meta-l { color: rgba(246,243,237,0.58); font-size: 8px; }

/* Artist feature — remove CSS-injected quote mark, improve body text */
.af-content::before { content: none; }
.af-quote { color: rgba(246,243,237,0.72); font-size: 18px; line-height: 1.75; }
.af-name { font-size: 36px; }
.af-link { font-size: 10px; font-weight: 300; border-bottom-color: rgba(181,162,142,0.45); }

/* How it works — body text was 11.5px weight 200, hard to read */
.how-num { opacity: 0.55; }
.how-title { font-size: 17px; }
.how-body { font-size: 13px; font-weight: 300; color: var(--j-ink); }

/* Wall to wardrobe — descriptions were 11.5px and faint */
.w2w-label { font-size: 22px; }
.w2w-desc { font-size: 13px; font-weight: 300; color: var(--j-ink); }
.w2w-cap { font-size: 17px; color: var(--dust); }

/* Collection wall-label cards */
.wl-l-artist { font-size: 17px; }
.wl-l-title { font-size: 21px; }
.wl-l-k { font-size: 9px; color: var(--dust); opacity: 1; }
.wl-l-v { font-size: 14px; }
.section-note { font-size: 15px; color: var(--dust); }

/* Private view sign-up section — was barely visible */
.pvl-sub { color: rgba(246,243,237,0.62); font-size: 14px; font-weight: 300; max-width: 400px; }
.pvl-note { color: rgba(246,243,237,0.38); font-size: 9.5px; }

