/* =========================================================
   ANGEOLOGY — lookbook.css (loads after style.css)
   The lookbook reads like a printed magazine issue.
   ========================================================= */

/* ---------- cover ---------- */
.lb-cover { max-width: 1320px; margin: 0 auto; padding: 110px var(--gutter) 80px; }
.lb-masthead { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--espresso); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.lb-masthead span:first-child { font-family: var(--logo); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--rose-ink); line-height: .6; }
.lb-title { margin: 10px 0 0; text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(90px, 18vw, 320px); line-height: 1.1; letter-spacing: -.04em; }
.lb-title .hl-in { display: inline-block; }
.lb-title .script { font-size: 1.02em; color: var(--rose); padding: 0 .1em 0 .02em; letter-spacing: 0; }
.lb-cover-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: clamp(20px, 5vw, 80px); }
.cover-lines { list-style: none; margin: 0; padding: 0; }
.cover-lines li { padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.cover-lines li:last-child { border-bottom: 1px solid var(--line); }
.cover-lines b { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); }
.cl-right { text-align: right; }
.cover-arch { position: relative; margin: 30px 0 0; }
.cover-arch .slot { border-radius: 999px 999px 18px 18px; box-shadow: 0 0 0 1px var(--espresso), 0 0 0 10px var(--paper), 0 0 0 11px var(--rose), 0 40px 70px -30px rgba(64, 46, 42, .5); }
.cover-bow { position: absolute; top: -46px; left: 50%; width: 150px; margin-left: -75px; z-index: 3; animation: bowSway 4.5s ease-in-out infinite; }
.cover-seal { right: -34px; bottom: 60px; top: auto; width: 130px; }

/* ---------- the looks ---------- */
.lb-looks { padding: 110px var(--gutter) 130px; }
.lb-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 56px; }
.lb-filter button { padding: 10px 22px; border: 1px solid var(--espresso); border-radius: 999px; background: none; cursor: pointer; font-family: var(--serif); font-style: italic; font-size: 20px; transition: background .3s, color .3s; }
.lb-filter button:hover { background: var(--petal); }
.lb-filter button.on { background: var(--rose-ink); border-color: var(--rose-ink); color: #fff; }
.lb-filter sup { margin-left: 3px; font-family: var(--sans); font-style: normal; font-size: 10px; }

.lb-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 44px 24px; max-width: 1320px; margin: 0 auto; align-items: start; }
.lb-look { margin: 0; }
.size-xl { grid-column: span 6; --ratio: 4 / 5; }
.size-l { grid-column: span 5; --ratio: 4 / 5; }
.size-m { grid-column: span 4; --ratio: 3 / 4; }
.size-s { grid-column: span 3; --ratio: 3 / 4; margin-top: 90px; }
.lb-look .slot { aspect-ratio: var(--ratio); }
.lb-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(64, 46, 42, .5); }
.lb-look:nth-child(3n + 1) .lb-open { border-radius: 999px 999px 22px 22px; }
.lb-open img { transition: transform .8s var(--ease); }
.lb-open:hover img, .lb-open:focus-visible img { transform: scale(1.05); }
.lb-shop { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border-radius: 999px; background: var(--paper); color: var(--espresso); font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: 0; translate: 0 12px; transition: opacity .4s, translate .5s var(--ease); }
.lb-open:hover .lb-shop, .lb-open:focus-visible .lb-shop { opacity: 1; translate: 0 0; }
.lb-look figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.lb-n { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--graphite); }
.lb-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.lb-col { margin-left: auto; font-family: var(--script); font-size: 22px; line-height: 1.2; color: var(--rose-ink); white-space: nowrap; }

/* ---------- contact sheet ---------- */
.contact { padding: 120px var(--gutter); background: var(--noir); color: var(--paper); }
.sheet { position: relative; max-width: 1180px; margin: 0 auto; padding: 50px 34px; background: #121011; border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.sheet::before, .sheet::after { content: ""; position: absolute; left: 20px; right: 20px; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 247, 236, .8) 12px 24px, transparent 24px 36px); border-radius: 3px; }
.sheet::before { top: 16px; }
.sheet::after { bottom: 16px; }
.sheet-frames { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 12px; }
.frame { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.frame .slot { aspect-ratio: 3 / 4; }
.frame .slot img { filter: grayscale(1) contrast(1.1); transition: filter .5s; }
.frame:hover .slot img, .frame:focus-visible .slot img { filter: none; }
.frame-n { display: block; margin-top: 6px; font-size: 10px; font-weight: 500; letter-spacing: .2em; color: #d7c9c5; }
.sheet-marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mark { fill: none; stroke: #f26d9c; stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 1px rgba(242, 109, 156, .6)); }
.mark-note { font-family: var(--script); font-size: 34px; fill: #f58fb4; }

/* ---------- credits ---------- */
.credits { padding: 120px var(--gutter); }
.credits-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.credits .sec-title { margin-bottom: 40px; }
.credit-list { display: grid; grid-template-columns: 1fr 1.5fr; margin: 0 0 40px; text-align: left; }
.credit-list dt, .credit-list dd { padding: 14px 0; border-top: 1px solid var(--line); }
.credit-list dt { padding-right: 24px; text-align: right; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); line-height: 30px; }
.credit-list dd { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 30px; }
.credits-note { margin: 0 0 24px; font-family: var(--serif); font-size: 22px; }
.credits-note .script { color: var(--rose-ink); font-size: 1.2em; }

/* ---------- shop the look ---------- */
body.stl-open { overflow: hidden; }
.stl { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(64, 46, 42, .4); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.stl.open { opacity: 1; visibility: visible; }
.stl-panel { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; width: min(1080px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); border-radius: 28px; box-shadow: 0 50px 90px -40px rgba(64, 46, 42, .6); translate: 0 40px; scale: .96; transition: translate .6s var(--ease), scale .6s var(--ease); }
.stl.open .stl-panel { translate: 0 0; scale: 1; }
.stl-close { position: absolute; top: 18px; right: 20px; z-index: 3; padding: 8px 16px; border: 1px solid var(--espresso); border-radius: 999px; background: var(--paper); cursor: pointer; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.stl-media { margin: 0; min-height: 100%; }
.stl-media .slot { height: 100%; min-height: 420px; aspect-ratio: auto; }
.stl-body { padding: 56px 44px 36px; }
.stl-fig { margin: 0; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--graphite); }
.stl-name { margin: 10px 0 10px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(42px, 4.4vw, 62px); line-height: 1.1; }
.stl-note { margin: 0 0 24px; font-size: 15px; }
.stl-kicker { margin: 0 0 6px; font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); }
.stl-list { list-style: none; margin: 0 0 24px; padding: 0; }
.st-item { display: grid; grid-template-columns: 68px 1fr 40px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.st-item:last-child { border-bottom: 1px solid var(--line); }
.st-thumb { display: block; width: 68px; overflow: hidden; border-radius: 14px; --pbg: var(--petal); }
.st-thumb.p-eyes { --pbg: var(--lilac); }
.st-thumb.p-lips { --pbg: var(--blush); }
.st-thumb.p-tools { --pbg: var(--almond); }
.st-thumb .slot, .st-palette { background: radial-gradient(circle, rgba(255, 255, 255, .85) 1.8px, transparent 2.2px) 0 0 / 12px 12px, var(--pbg); }
.st-thumb .slot-label { font-size: 7px; }
.st-palette { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: 1; padding: 10px; --pbg: var(--lilac); }
.st-palette span { border-radius: 3px; background-size: cover; }
.st-name { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.15; text-decoration: none; }
.st-name:hover { font-style: italic; color: var(--rose-ink); }
.st-meta { display: block; font-size: 12px; color: var(--graphite); }
.st-add { width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; background: var(--espresso); color: var(--paper); font-size: 19px; transition: background .3s; }
.st-add:hover, .st-add.done { background: var(--rose-ink); }
.stl-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.stl-nav { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .2em; }
.stl-nav button { width: 42px; height: 42px; border: 1px solid var(--espresso); border-radius: 50%; background: none; cursor: pointer; font-size: 18px; transition: background .3s; }
.stl-nav button:hover { background: var(--petal); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 95; max-width: calc(100vw - 32px); padding: 14px 24px; border-radius: 999px; background: var(--espresso); color: var(--paper); font-size: 13px; translate: -50% 180%; transition: translate .5s var(--ease); box-shadow: 0 20px 40px -20px rgba(64, 46, 42, .6); }
.toast.show { translate: -50% 0; }
.toast b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; }
.toast a { margin-left: 8px; color: var(--blush); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .lb-cover-grid { grid-template-columns: 1fr 1fr; }
  .cover-arch { grid-column: 1 / -1; order: -1; width: min(80%, 440px); margin: 50px auto 20px; }
  .lb-grid { grid-template-columns: repeat(6, 1fr); }
  .size-xl, .size-l { grid-column: span 6; }
  .size-m, .size-s { grid-column: span 3; margin-top: 0; }
  .sheet-frames { grid-template-columns: repeat(4, 1fr); }
  .stl-panel { grid-template-columns: 1fr; }
  .stl-media .slot { min-height: 0; aspect-ratio: 4 / 3; }
  .stl-body { padding: 30px 24px; }
}
@media (hover: none) {
  .lb-shop { opacity: 1; translate: 0 0; }
}
@media (max-width: 560px) {
  .lb-masthead { font-size: 9px; letter-spacing: .14em; }
  .lb-masthead span:nth-child(4) { display: none; }
  .lb-title { font-size: 25vw; }
  .lb-cover-grid { grid-template-columns: 1fr; }
  .cl-right { text-align: left; }
  .cover-seal { width: 96px; right: -14px; }
  .lb-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .size-xl, .size-l { grid-column: span 2; }
  .size-m, .size-s { grid-column: span 1; }
  .lb-look figcaption { flex-wrap: wrap; gap: 2px 10px; }
  .lb-name { font-size: 20px; }
  .lb-col { margin-left: 0; font-size: 18px; }
  .lb-shop { left: 10px; bottom: 10px; padding: 8px 12px; font-size: 8px; }
  .sheet { padding: 40px 14px; }
  .sheet-frames { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
  .mark-note { font-size: 24px; }
  .credit-list { grid-template-columns: 1fr; }
  .credit-list dt { text-align: left; padding-bottom: 0; }
  .credit-list dd { border-top: 0; padding-top: 2px; }
}
