/* Palette Girlies, style-page.css (V2, phase 9, nov 2026: /style/<season> and the hub /style, markup in tools/wardrobe_pages.py).
   Built on the tokens and components of site.css (.wrap .sec .label .rules .btn .link .dark .ln). No color data here: every swatch comes in as --c, in its exact color
   from src/data/palettes.json, looks.json and the extra's json, flat on plain paper. Breakpoints: 560, 720, 900, 1100.
   Sections: hero (.st-hero), 01 three outfits (.st-outfits), 02 combos (.st-combos), 03 one closet (.st-closet), 04 build your own (.st-build, the flat lay of site.css on
   plain paper), 05 eight basics (.st-basics-sec), close (.st-close, a dark band). Hub: .sh. */

/* ---------- shared ---------- */
.stp code, .st-close code { font: 500 13px/1.2 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .04em; }
.st-head { display: grid; gap: var(--s3); align-content: start; margin-bottom: var(--s5); min-width: 0; }
.st-head h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; max-width: 13ch; }
.st-head-line { max-width: 44ch; font-size: var(--fs-3); line-height: 1.55; color: var(--ink); }
.st-body { display: grid; gap: var(--s4); align-content: start; min-width: 0; }
.st-split { display: grid; }
.st-k { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.stp .is-light { box-shadow: inset 0 0 0 1px var(--line-2); }
@media (min-width: 900px) {
  .st-split { grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 96px); }
  .st-split > .st-head { position: sticky; top: calc(var(--hdr-h) + var(--s5)); align-self: start; margin-bottom: 0; }
}

/* a color chip: a flat block in the exact HEX, the name, the HEX and a small line */
.st-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3) var(--s2); }
.st-chip { display: grid; gap: 2px; align-content: start; min-width: 0; }
.st-sw { display: block; height: 56px; margin-bottom: var(--s2); border-radius: var(--r-sm); background: var(--c); }
.st-chip b { font: 600 14.5px/1.25 var(--sans); overflow-wrap: anywhere; }
.st-chip code { color: var(--ink-2); font-size: 12.5px; }
.st-chip span { font: 600 12.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }

/* ---------- hero: words left, the photograph of the three outfits right; on a phone the picture first ---------- */
.st-hero { padding: var(--s2) 0 var(--s6); }
.st-hero-grid { display: grid; gap: var(--s5); }
.st-hero-text { display: grid; gap: var(--s4); align-content: center; min-width: 0; }
.st-hero h1 { font-size: clamp(48px, 6.8vw, 104px); line-height: .98; }
.st-hero h1 .ln { padding-right: .12em; }
.st-lede { max-width: 32ch; font-size: var(--fs-4); line-height: 1.45; color: var(--ink); }
.st-does { max-width: 46ch; font-size: var(--fs-3); line-height: 1.6; color: var(--ink); }
.st-hero .season-nudge { margin: 0; font-size: var(--fs-2); }
.st-pic { order: -1; margin: 0; display: grid; gap: var(--s2); }
.st-pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: var(--r-sm); background: var(--paper-2); }
.st-cap { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
@media (min-width: 900px) {
  .st-hero { padding-top: var(--s4); }
  .st-hero-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 80px); align-items: center; }
  .st-pic { order: 0; }
  .st-pic img { aspect-ratio: 2 / 3; max-height: calc(100svh - var(--hdr-h) - 72px); }
}

/* ---------- 01, three outfits: hairline cards, each color leads once ---------- */
.st-outfits { padding-top: var(--s5); padding-bottom: var(--s7); }
.st-outfits .st-head { max-width: 760px; }
.st-outfit-list { list-style: none; margin: 0; padding: 0; display: grid; }
.st-outfit { display: grid; gap: var(--s3); align-content: start; padding: var(--s4) 0 var(--s5); border-top: 1px solid var(--line-2); min-width: 0; }
.st-no { font: 400 clamp(48px, 5vw, 72px)/.9 var(--serif); letter-spacing: -.03em; color: var(--ink); }
.st-outfit-name { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.015em; }
.st-bar { display: flex; gap: 2px; height: 10px; margin: 0; }
.st-bar i { display: block; border-radius: 2px; background: var(--c); box-shadow: inset 0 0 0 1px var(--line); }
.st-pieces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.st-pieces li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-2); line-height: 1.3; color: var(--ink); }
.st-pieces i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (min-width: 900px) {
  .st-outfit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
}

/* ---------- 02, combos: .rules rows, the name, the chips, the note ---------- */
.st-combos { padding-bottom: var(--s7); }
.st-rules > li { padding: var(--s4) 0; }
.st-rules > li > .st-chips { margin-top: var(--s3); max-width: 520px; }
.st-rules .st-combo-note { max-width: 46ch; font-size: var(--fs-3); line-height: 1.5; color: var(--ink); }

/* ---------- 03, one closet: the basics as a hairline list ---------- */
.st-closet { padding-bottom: var(--s7); }
.st-basics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.st-basic { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.st-basic .st-sw { height: 72px; margin: 0; }
.st-basic--word { grid-template-columns: minmax(0, 1fr); }
.st-basic-t { display: grid; gap: var(--s1); min-width: 0; }
.st-basic-t b { font: 400 clamp(24px, 2.4vw, 32px)/1.1 var(--serif); letter-spacing: -.015em; overflow-wrap: anywhere; }
.st-basic-t code { color: var(--ink-2); }
.st-basic--word .st-basic-t b { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
.st-note { max-width: 58ch; font-size: var(--fs-3); line-height: 1.6; color: var(--ink); }
.stp .seal { margin-left: 4px; }
@media (min-width: 720px) { .st-basic { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s4); } .st-basic .st-sw { height: 96px; } }

/* ---------- 04, build your own: the flat lay of site.css, on plain paper, no frame, no tape, no tilt ---------- */
.st-build { padding-bottom: var(--s7); }
.st-build .st-head { max-width: 760px; }
.stp .flatlay-paper { border: 0; border-image: none; border-radius: var(--r-md); padding: clamp(8px, 2vw, 24px); background: var(--paper-2); transform: none; }
.stp .flatlay-paper::before { content: none; }
.stp .flatlay-shuffle { min-height: 44px; }

/* ---------- 05, eight basics: the disclosure line, then a hairline grid of cards ---------- */
.st-basics-sec { padding-bottom: var(--s6); }
.st-basics-sec .st-head { max-width: 760px; }
.st-basics-sec .trust-line { margin: 0 0 var(--s4); }
.st-basics-sec .trust-line .note-small { max-width: 72ch; font-size: var(--fs-2); line-height: 1.5; color: var(--ink-2); }
.stp .st-picks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.stp .st-picks .pick { width: auto; max-width: none; padding: var(--s3) 0 var(--s4); border: 0; border-top: 1px solid var(--line-2); border-radius: 0; background: none; box-shadow: none; transform: none; }
.stp .pick-ph { border-radius: var(--r-sm); background: transparent; }
.stp .pick-ph img { -webkit-mask: none; mask: none; mix-blend-mode: normal; border-radius: var(--r-sm); }
.stp .pick-ph-label { box-shadow: none; }
.stp .pick-sw { border-color: var(--line); border-radius: var(--r-sm); }
.stp .pick-actions { border-top: 1px solid var(--line); }
.stp .start-flag { position: static; display: inline-block; padding: 4px 10px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .12em; color: var(--paper); background: var(--berry); border-radius: var(--r-pill); transform: none; box-shadow: none; }
.st-basics-sec .ed-fold { margin-top: var(--s4); }
.st-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--s4); }
@media (min-width: 560px) { .stp .st-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); } }
@media (min-width: 1100px) { .stp .st-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } .st-plan { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- close: a dark band, one pill, the other pages of the season ---------- */
.st-close-grid { display: grid; gap: var(--s5); align-items: center; }
.st-close h2 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; max-width: 14ch; }
.st-close-line { max-width: 40ch; margin-top: var(--s4); font-size: var(--fs-4); line-height: 1.5; }
.st-cta { margin-top: var(--s5); }
.st-close-links { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.st-close-links .link { min-height: 44px; }
.st-other { margin-top: var(--s4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 640px; }
.st-other > summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; min-height: 52px; list-style: none; cursor: pointer; font: 600 15px/1.3 var(--sans); }
.st-other > summary::-webkit-details-marker { display: none; }
.st-other > summary::after { content: "+"; justify-self: end; font: 400 24px/1 var(--sans); color: var(--graphite); transition: transform .3s var(--ease); }
.st-other[open] > summary::after { transform: rotate(45deg); }
.st-other .season-switch { margin: 0 0 var(--s3); }
.st-other .season-switch ul { width: auto; flex-wrap: wrap; }
.st-other .season-switch a { background: transparent; border-color: var(--line-2); color: var(--paper); }
.st-other .season-switch a[aria-current="page"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.st-close-pic { margin: 0; }
.st-close-pic img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
@media (min-width: 900px) { .st-close-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 80px); } }
.st-list { padding-top: 0; }
.st-list .mylist { margin-top: 0; }
.st-list:empty { display: none; }
.st-page main:has(> .st-close) + .site-footer .ftr { margin-top: 0; border-top: 1px solid var(--line); }

/* ---------- the hub /style: the twelve seasons by family, six chips each ---------- */
.sh-hero { padding: var(--s2) 0 var(--s6); }
.sh-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center; }
.sh-text { display: grid; gap: var(--s4); }
.sh-hero h1 { font-size: clamp(46px, 6.2vw, 96px); line-height: .98; max-width: 11ch; }
.sh-lead { max-width: 34ch; font-size: var(--fs-4); line-height: 1.45; color: var(--ink); }
.sh-pic { margin: 0; width: clamp(110px, 26vw, 360px); }
.sh-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.sh .hub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.sh-group { display: grid; gap: var(--s3); padding: var(--s4) 0 var(--s5); border-top: 1px solid var(--line-2); }
.sh-fam { font-size: var(--fs-5); line-height: 1.05; letter-spacing: -.015em; }
.sh-row { list-style: none; margin: 0; padding: 0; display: grid; }
.sh-row > li { border-top: 1px solid var(--line); }
.sh-row > li:first-child { border-top: 0; }
.sh .hub a.hub-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "chips name" "chips line"; align-content: center; gap: var(--s1) var(--s3); padding: var(--s3) 0; background: none; box-shadow: none; border-radius: 0; transform: none; color: var(--ink); text-decoration: none; }
.sh .hub a.hub-card:hover { transform: none; color: var(--ink); }
.sh .hub a.hub-card::before { content: none; }
.sh-chips { grid-area: chips; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 3px; height: 64px; }
.sh-chips i { border-radius: 2px; background: var(--c); }
.sh .hub .hub-name { grid-area: name; align-self: end; font: 400 clamp(24px, 2.2vw, 30px)/1.05 var(--serif); letter-spacing: -.015em; transition: color .3s var(--ease); }
.sh .hub .hub-line { grid-area: line; align-self: start; font-size: var(--fs-2); line-height: 1.45; color: var(--ink); }
.sh .hub a.hub-card:hover .hub-name, .sh .hub a.hub-card:focus-visible .hub-name { color: var(--berry); }
.sh .hub .hub-group--yours { display: grid; gap: var(--s2); padding-bottom: var(--s4); }
.sh .hub .hub-group--yours .hub-fam { margin: 0; font: 600 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.sh .hub .hub-group--yours .hub-cards { grid-template-columns: minmax(0, 520px); }
.sh-build { margin-top: var(--s6); padding: var(--s5) 0 0; border-top: 1px solid var(--line-2); }
.sh-next { display: grid; gap: var(--s3); margin-top: var(--s6); }
.sh-next .link { min-height: 44px; }
.sh-sec { padding-bottom: var(--s6); }
@media (min-width: 720px) {
  .sh-row { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s4); }
  .sh-row > li { border-top: 0; }
  .sh .hub a.hub-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chips" "name" "line"; gap: var(--s2); padding: var(--s2) 0; }
  .sh-chips { height: 112px; margin-bottom: var(--s2); }
}
@media (min-width: 900px) {
  .sh-hero { padding-top: var(--s4); }
  .sh-group { grid-template-columns: 3fr 9fr; column-gap: clamp(32px, 4vw, 64px); padding: var(--s5) 0; }
  .sh-fam { padding-top: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  .st-other > summary::after, .sh .hub .hub-name { transition: none; }
}
