/* wf-5: the guided quiz. Photo-led hero with big photo answers; each section below has its own layout. */
.quiz-hero { position: relative; isolation: isolate; color: #fff; padding-block: clamp(40px, 7vw, 88px) var(--sec); overflow: hidden; }
.qh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quiz-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(21, 16, 2, .66), rgba(21, 16, 2, .66)); }
@media (min-width: 960px) { .quiz-hero::after { background: linear-gradient(to left, rgba(21, 16, 2, .72) 0%, rgba(21, 16, 2, .55) 38%, rgba(21, 16, 2, .12) 70%); } }
.quiz-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .quiz-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.quiz-intro h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 900; line-height: 1.2; }
.quiz-intro { padding-top: 8px; text-shadow: 0 1px 16px rgba(21, 16, 2, .5); }
.quiz-intro p { margin: 16px 0 14px; font-size: 1.2rem; max-width: 36ch; color: #fff; }
.quiz-intro .more { color: #fff; }

.quiz-card { background: var(--color-surface); color: var(--color-text); border-radius: var(--r-l); padding: clamp(18px, 3.6vw, 36px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); min-width: 0; }
.q-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.q-step { font-weight: 700; white-space: nowrap; color: var(--color-text-muted); font-size: 1rem; }
.q-prog { flex: 1; height: 8px; border-radius: 4px; background: var(--color-neutral-200); overflow: hidden; }
.q-fill { display: block; height: 100%; width: 100%; background: var(--color-brand); border-radius: 4px; transform: scaleX(.3333); transform-origin: right; }
.q-body h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 20px; }
.q-opts { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .q-opts.c3 { grid-template-columns: repeat(3, 1fr); } .q-opts.c4 { grid-template-columns: repeat(4, 1fr); } }
.q-opts.c4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .q-opts.c4 { grid-template-columns: repeat(4, 1fr); } }

.q-opt { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; text-align: start; padding: 14px 18px; min-height: 88px; border-radius: var(--r-m); border: 2px solid var(--color-border); background: var(--color-bg); transition: border-color .2s, transform .2s; overflow: hidden; isolation: isolate; }
.q-opt b { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.4; }
.q-opt span { display: block; font-size: 1rem; color: var(--color-text-muted); line-height: 1.5; }
.q-opt[aria-pressed="true"] { border-color: var(--color-brand); background: var(--color-primary-50); box-shadow: inset 0 0 0 2px var(--color-brand); }
.q-opts.c4 .q-opt { align-items: center; text-align: center; min-height: 96px; }
.q-opts.c4 b { font-size: 1.7rem; font-family: system-ui, sans-serif; }
/* photo answers */
.q-opt--photo { color: #fff; border-color: transparent; background: var(--color-secondary-800); min-height: 132px; justify-content: flex-end; padding: 16px 18px; }
.q-opt--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; transition: transform .5s; }
.q-opt--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 16, 2, .78), rgba(21, 16, 2, .1) 75%); }
.q-opt--photo span { color: rgba(255, 255, 255, .9); }
.q-opt--photo[aria-pressed="true"] { background: var(--color-secondary-800); box-shadow: 0 0 0 4px var(--color-brand); border-color: #fff; }
@media (min-width: 640px) { .q-opt--photo { aspect-ratio: 4 / 5; min-height: 0; } }
@media (hover: hover) and (pointer: fine) { .q-opt:hover { border-color: var(--color-brand); transform: translateY(-3px); } .q-opt--photo:hover img { transform: scale(1.06); } }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; min-height: 44px; }
.back { background: none; border: 0; font-weight: 700; color: var(--color-text-muted); min-height: 44px; padding: 0 4px; text-decoration: underline; text-underline-offset: 6px; }
.q-nav .more { margin-inline-start: auto; }
.results[hidden] { display: none; }
.results { background: var(--color-surface); }

/* categories: one wide tile, two below */
.cmos { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cmos .cat { min-height: 220px; }
@media (min-width: 640px) { .cmos { grid-template-columns: 1fr 1fr; gap: 18px; } .cmos .cat { min-height: 280px; } .cmos .cat--wide { grid-column: 1 / -1; min-height: 340px; } }
.cmos .cat img { object-position: center 30%; }
.hint { color: var(--color-text-muted); font-size: .95rem; }

/* arrivals: one card width; clothing gets quick sizes */
.qsize { display: flex; gap: 8px; flex-wrap: wrap; }
.qsize button { min-width: 48px; min-height: 48px; border-radius: 12px; border: 2px solid var(--color-border); background: var(--color-surface); font-weight: 500; }
.qsize button[aria-pressed="true"] { border-color: var(--color-brand); background: var(--color-primary-50); font-weight: 800; color: var(--color-primary-800); }

/* quality triptych, full bleed */
.tri { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tri { grid-template-columns: repeat(3, 1fr); } }
.tri figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; isolation: isolate; }
@media (min-width: 760px) { .tri figure { aspect-ratio: 3 / 4; } }
.tri img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tri figure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 16, 2, .88), rgba(21, 16, 2, 0) 66%); }
.tri figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 24px; }
.tri h3 { font-size: 1.7rem; }
.tri p { color: #fff; font-size: 1.1rem; }

/* size finder */
.mini { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.mini li { padding-inline-start: 26px; position: relative; color: var(--color-text-muted); }
.mini li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--color-primary-700); font-weight: 900; }
.chip { min-width: 48px; min-height: 48px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--color-border); background: var(--color-surface); font-weight: 500; }
.chip[aria-pressed="true"] { border-color: var(--color-brand); background: var(--color-primary-50); color: var(--color-primary-800); font-weight: 800; }
.sizes tr.hl th, .sizes tr.hl td { background: var(--color-primary-100); font-weight: 800; }

/* boutique: photo with an info card overlapping it, card edge on the grid */
.bw { display: grid; }
.bw > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.bw-card { position: relative; background: var(--color-surface); border-radius: var(--r-l); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); margin: -48px 16px 0; }
@media (min-width: 900px) {
  .bw { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .bw > img { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 16 / 10; }
  .bw-card { grid-column: 7 / 13; grid-row: 1; margin: 0; z-index: 2; }
}
.bw-card h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 12px; }
.bw-card dl { margin: 18px 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.bw-card dt { font-weight: 700; }
.bw-card dd { margin: 0; color: var(--color-text-muted); }

/* look-book rail */
.rail2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 900px) { .rail2 { gap: 16px; } }
.rail2 a { aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--color-secondary-100); }
.rail2 img { width: 100%; height: 100%; object-fit: cover; }

/* journal: rows with a thumbnail */
.jl { display: grid; }
.jl a { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--color-border); text-decoration: none; }
@media (min-width: 760px) { .jl a { grid-template-columns: 140px 1fr; gap: 28px; } }
.jt { aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--color-secondary-100); }
.jt img { width: 100%; height: 100%; object-fit: cover; }
.jl small { color: var(--color-primary-700); font-weight: 700; }
.jl h3 { font-size: clamp(1.1rem, 2.6vw, 1.5rem); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .jl a:hover h3 { text-decoration: underline; text-underline-offset: 6px; } }

/* ---------- inner pages: photo-led page heads; values as a list; featured post over its photo ---------- */
.pghead { position: relative; isolation: isolate; color: #fff; background: var(--color-primary-900); padding-block: clamp(36px, 6vw, 64px) clamp(28px, 4vw, 44px); min-height: 280px; display: flex; align-items: flex-end; overflow: hidden; }
.pghead > .wrap { width: 100%; }
.pghead .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pghead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(21, 16, 2, .3); }
.pghead .wrap { display: grid; gap: 12px; justify-items: start; }
.pghead h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 900; line-height: 1.25; text-shadow: 0 2px 18px rgba(21, 16, 2, .7), 0 0 2px rgba(21, 16, 2, .4); }
.pghead .lead, .pghead .crumbs { text-shadow: 0 1px 14px rgba(21, 16, 2, .85), 0 0 3px rgba(21, 16, 2, .5); }
.pghead .lead { font-weight: 500; }
.pghead .lead { color: #fff; }
.pghead .crumbs, .pghead .crumbs a, .pghead .crumbs [aria-current] { color: rgba(255, 255, 255, .92); }
.pghead .crumbs li + li::before { color: rgba(255, 255, 255, .6); }
.pghead--s { padding-block: clamp(22px, 4vw, 40px); min-height: 0; display: block; }
.pghead--s::after { display: none; }
.pghead--s h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pghead--post h1 { max-width: 26ch; }
.pghead .pmeta { color: #fff; }
.pghead .pcat { background: #fff; color: var(--color-primary-800); }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; }
@media (min-width: 760px) { .vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vlist li { display: grid; gap: 8px; padding-block: 26px; border-top: 3px solid var(--color-primary-800); align-content: start; }
.vlist h3 { font-size: 1.5rem; color: var(--color-primary-800); }
.vlist p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 46ch; }
.feat { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1fr); min-height: 460px; align-items: end; color: #fff; background: var(--color-primary-900); }
.feat-img { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; min-height: 0; }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21, 16, 2, .74) 0%, rgba(21, 16, 2, .55) 34%, rgba(21, 16, 2, 0) 66%); }
.feat-txt { max-width: 680px; justify-items: start; padding-top: 90px; text-shadow: 0 1px 14px rgba(21, 16, 2, .7); }
.feat-txt p, .feat .pmeta { color: rgba(255, 255, 255, .94); }
.feat .pcat { background: #fff; color: var(--color-primary-800); }
.feat .btn { background: #fff; border-color: #fff; color: var(--color-primary-800); }
@media (min-width: 860px) { .feat { min-height: 520px; grid-template-columns: minmax(0, 1fr); } }
