/* Jackie’s Wig Shop — shop-window boutique (jws-) */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --ink: #1c1218;
  --paper: #faf6f2;
  --blush: #e8a0b0;
  --berry: #8b2e4a;
  --espresso: #3a2428;
  --muted: #6e5a60;
  --glass: rgba(255, 252, 249, 0.72);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.jws-body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  background:
    radial-gradient(ellipse 820px 380px at 88% -6%, rgba(232, 160, 176, 0.28), transparent 68%),
    radial-gradient(ellipse 640px 420px at 8% 12%, rgba(139, 46, 74, 0.08), transparent 70%),
    linear-gradient(180deg, #fffbf8 0%, var(--paper) 42%, #f3ebe6 100%);
}

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

a {
  color: var(--berry);
}

.jws-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jws-skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

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

/* Utility show-week ribbon (not a sticky left rail) */
.jws-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(90deg, var(--espresso), #5a2a38 55%, var(--berry));
  color: #f8eef1;
  font-size: 0.86rem;
}

.jws-ribbon a {
  color: #ffe8ef;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Header — boutique bar + WP classic menu-item fingerprint */
.jws-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 46, 74, 0.14);
}

.jws-wordmark {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.jws-wordmark span {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.jws-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.jws-nav .menu-item {
  list-style: none;
  display: inline;
}

.jws-nav a {
  color: var(--espresso);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.jws-nav a:hover {
  color: var(--berry);
}

.jws-look-form {
  display: flex;
  gap: 0.35rem;
  align-items: stretch;
}

.jws-look-form input {
  border: 1px solid rgba(58, 36, 40, 0.22);
  background: #fff;
  padding: 0.45rem 0.7rem;
  min-width: 9rem;
  font: inherit;
  border-radius: 2px;
}

.jws-look-form button {
  border: 0;
  background: var(--berry);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  border-radius: 2px;
}

/* Shop-window hero — archetype #25: brand + one line + one CTA + full-bleed glass */
.jws-window {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.jws-window__glass {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 28%;
}

.jws-window__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 18, 24, 0.15) 0%, rgba(28, 18, 24, 0.55) 70%, rgba(28, 18, 24, 0.78) 100%),
    linear-gradient(90deg, rgba(250, 246, 242, 0.08), transparent 40%);
  pointer-events: none;
}

.jws-window__pane {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.5rem);
  max-width: 38rem;
  color: #fffaf7;
}

.jws-window__pane h1 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.jws-window__pane p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  max-width: 28rem;
  color: rgba(255, 250, 247, 0.9);
}

.jws-btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: var(--blush);
  color: var(--espresso);
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.jws-btn--berry {
  background: var(--berry);
  color: #fff;
}

.jws-btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

/* Featured window pieces — 1–2 only, not a card grid */
.jws-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 3vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.jws-featured figure {
  margin: 0;
}

.jws-featured img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.jws-featured figcaption {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.jws-featured h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

@media (max-width: 820px) {
  .jws-featured {
    grid-template-columns: 1fr;
  }
}

.jws-section {
  padding: 1.75rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.jws-section h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0 0 0.75rem;
}

.jws-lede {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 1.25rem;
}

/* F3 feed — compact daily nine */
.jws-column-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.jws-column-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(58, 36, 40, 0.12);
}

.jws-column-list time {
  font-size: 0.82rem;
  color: var(--muted);
}

.jws-column-list a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.jws-column-list a:hover {
  color: var(--berry);
}

.jws-around-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 0.75rem;
}

.jws-around-band a {
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 46, 74, 0.35);
  padding-bottom: 0.1rem;
  font-weight: 600;
}

/* Inner shell — show-week sill strip (unique vs left rails / ledgers) */
.jws-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem;
}

.jws-sill {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #f7ecef 100%);
  border-left: 4px solid var(--blush);
}

.jws-sill__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--berry);
}

.jws-sill p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.jws-mast h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.12;
}

.jws-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--berry);
  font-weight: 700;
}

.jws-deck {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.entry-content,
.jws-prose {
  max-width: 68ch;
}

.entry-content p,
.jws-prose p {
  margin: 0 0 1rem;
}

.wp-block-group {
  margin: 1.25rem 0;
}

.jws-pull {
  margin: 1.25rem 0 1.5rem;
}

.jws-pull img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.jws-pull figcaption {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Lookbook search — tag shelf, not kitchen codes */
.jws-lookbook {
  max-width: 920px;
}

.jws-lookbook__field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.jws-lookbook__field input {
  flex: 1 1 14rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(58, 36, 40, 0.22);
  font: inherit;
}

.jws-tag-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1.25rem;
}

.jws-tag-shelf a {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: #fff;
  border: 1px solid rgba(139, 46, 74, 0.25);
  text-decoration: none;
  color: var(--espresso);
  font-size: 0.88rem;
  font-weight: 600;
}

.jws-shelf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jws-shelf-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(58, 36, 40, 0.1);
}

.jws-shelf-hit {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.75rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.jws-shelf-hit__tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--berry);
}

.jws-form label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}

.jws-form input,
.jws-form textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(58, 36, 40, 0.22);
  font: inherit;
  background: #fff;
}

.jws-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.jws-form-ok {
  display: none;
  padding: 0.85rem 1rem;
  background: #eef6ef;
  border-left: 4px solid #3d7a4a;
  margin: 1rem 0;
}

.jws-form.is-ok .jws-form-ok {
  display: block;
}

.jws-form.is-ok .jws-form-fields {
  display: none;
}

/* Footer — window-sill mannequin tags (unique) */
.jws-footer {
  margin-top: 2rem;
  background: var(--espresso);
  color: #f3e6ea;
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.5rem;
}

.jws-sill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.jws-sill-tags a {
  color: #ffe6ee;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(232, 160, 176, 0.45);
  padding: 0.28rem 0.6rem;
}

.jws-sill-tags span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blush);
  align-self: center;
  margin-right: 0.35rem;
}

.jws-foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem;
}

.jws-foot-grid h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.1rem;
  color: #fff;
}

.jws-foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jws-foot-grid a {
  color: #f0d6de;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.85;
}

.jws-foot-meta {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(243, 230, 234, 0.72);
}

@media (max-width: 720px) {
  .jws-column-list li,
  .jws-shelf-hit {
    grid-template-columns: 1fr;
  }

  .jws-header {
    position: static;
  }
}

/* BATCH5_HERO_JWS */
.jws-ledge {
  position: relative;
  min-height: min(92vh, 840px);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #1c1218;
}
.jws-ledge__glass {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  min-height: 58vh;
  animation: jws-glass-soft 12s ease-in-out infinite alternate;
}
.jws-ledge__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28, 18, 24, 0.35) 78%, rgba(28, 18, 24, 0.55) 100%);
  pointer-events: none;
}
.jws-ledge__sill {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1.1rem, 4vw, 3rem) clamp(1.8rem, 4vw, 2.6rem);
  background:
    linear-gradient(180deg, #f7efe8 0%, #efe2d6 100%);
  color: #2a1820;
  border-top: 4px solid #7a2a4a;
  box-shadow: 0 -18px 40px rgba(20, 10, 14, 0.28);
  animation: jws-sill-up 0.9s cubic-bezier(.2,.8,.2,1) both;
}
.jws-ledge__sill h1 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #7a2a4a;
}
.jws-ledge__sill p {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4a3038;
}
@keyframes jws-sill-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes jws-glass-soft {
  from { background-position: center 28%; }
  to { background-position: center 34%; }
}
/* /BATCH5_HERO_JWS */
