/* Prom Collection: made-to-order lookbook + full body measurement order form. Builds on styles.css; phone first. */
.pc-hero { padding-top: clamp(120px, 18vh, 190px); padding-bottom: clamp(56px, 9vh, 110px); overflow: hidden; }
.pc-hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pc-hero-txt { display: grid; gap: 22px; }
.pc-hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
@media (min-width: 901px) { .pc-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.pc-hero h1 em { color: #d6d6d6; }
.pc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
/* 2026-11-06 (Moe: "i don't like these half cut pics"): two whole photos at their own 4:5, staggered, never cropped */
.pc-hero-art { position: relative; display: grid; grid-template-columns: 8fr 4fr; gap: clamp(12px, 1.6vw, 22px); align-items: end; }
.pc-hero-art figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.pc-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.pc-hero-art figcaption { font-family: var(--caps); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone); }
.pc-ha-side { margin-bottom: 22%; }

.pc-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(40px, 6vh, 64px); }
.pc-steps li { border-top: 1px solid var(--ox-line); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.pc-steps .n { font-family: var(--display); font-size: 1.1rem; color: var(--ox); }
.pc-steps h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.pc-steps p { color: #3c3c3c; font-size: .95rem; }
.pc-lead-note { margin-top: clamp(32px, 5vh, 48px); padding: 18px 22px; border-left: 2px solid var(--ox); background: rgba(94, 24, 36, .06); color: #2a2a2a; max-width: 70ch; }

.pc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(32px, 5vh, 48px) 0 8px; }
.pc-filter button, .pf-units button { font-family: var(--caps); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; padding: 12px 18px; min-height: 44px; background: transparent; color: var(--bone); border: 1px solid var(--line); cursor: pointer; }
.pc-filter button[aria-pressed="true"] { border-color: var(--ox-line); background: var(--ox); color: var(--ivory); }
.pc-chapter { margin-top: clamp(36px, 6vh, 64px); }
.pc-chapter[hidden] { display: none; }
.pc-ch { font-size: clamp(1.5rem, 2.4vw, 2rem); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(18px, 3vh, 28px); }
.pc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.pc-card { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 12px; align-content: start; }
.pc-card:focus-visible { outline: 1px solid var(--brass); outline-offset: 6px; }
.pc-ph { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #c9c9c9; }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease); }
.pc-card:hover .pc-ph img { transform: scale(1.04); }
.pc-meta { display: grid; gap: 4px; }
.pc-no { font-family: var(--caps); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
.pc-name { font-family: var(--display); font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.2; }
.pc-desc { font-size: .86rem; color: var(--bone); line-height: 1.5; }
.pc-price { font-family: var(--caps); font-size: .78rem; letter-spacing: .18em; color: var(--ivory); font-variant-numeric: tabular-nums; }  /* Moe 2026-11-06 prices */
.pc-count { font-family: var(--caps); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-top: 2px; }
.pc-vary { margin-top: clamp(36px, 5vh, 56px); font-size: .86rem; color: var(--taupe); max-width: 64ch; }

/* Dialog */
.pc-dlg { border: 0; padding: 0; margin: auto; width: min(1100px, 100vw); max-width: 100vw; max-height: 100dvh; background: var(--ink); color: var(--ivory); overflow: auto; overscroll-behavior: contain; }
.pc-dlg::backdrop { background: rgba(5, 5, 5, .86); }
.pc-dlg-in { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; }
.pc-x { position: absolute; top: 8px; right: 8px; z-index: 3; width: 48px; height: 48px; font-size: 2rem; line-height: 1; background: rgba(10,10,10,.6); color: var(--ivory); border: 1px solid var(--line); cursor: pointer; }
.pc-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #c9c9c9; grid-row: span 2; }
.pc-slides::-webkit-scrollbar { display: none; }
.pc-slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; scroll-snap-align: center; background: #c9c9c9; }
.pc-dots { display: flex; justify-content: center; gap: 4px; padding: 10px 0 0; grid-column: 1; }
.pc-dots button { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.pc-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--taupe); }
.pc-dots button[aria-current="true"]::before { background: var(--ivory); border-color: var(--ivory); }
.pc-dlg-txt { padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; align-content: center; }
.pc-dlg-txt h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.pc-dlg-d { color: var(--bone); }
.pc-dlg-n { font-size: .86rem; color: var(--taupe); border-top: 1px solid var(--line); padding-top: 14px; }
.pc-dlg-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
html.pc-lock, html.pc-lock body { overflow: hidden; }

/* Order form */
.pc-sub { margin-top: 22px; max-width: 62ch; }
.pf { margin-top: clamp(36px, 6vh, 56px); display: grid; gap: clamp(28px, 5vh, 44px); max-width: 1100px; }
.pf fieldset { border: 0; border-top: 1px solid rgba(17,17,17,.18); padding-top: 22px; display: grid; gap: 18px; min-width: 0; }
.pf legend { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.pf legend span { color: var(--ox); margin-right: 10px; font-size: .8em; }
.pf legend + * { clear: both; }
.pf-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.pf-wide { grid-column: 1 / -1; }
.pf-f, .pf-m { display: grid; gap: 6px; align-content: start; min-width: 0; }
.pf label, .pf-m > label { font-family: var(--caps); font-weight: 600; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #333; }
.pf .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: #777; font-size: .8rem; }
.pf input:not([type=radio]):not([type=checkbox]), .pf select, .pf textarea { width: 100%; font: 16px/1.4 var(--body); color: #111; background: #fff; border: 1px solid rgba(17,17,17,.25); border-radius: 0; padding: 12px 14px; min-height: 48px; }
.pf input:focus-visible, .pf select:focus-visible, .pf textarea:focus-visible { outline: 2px solid var(--ox); outline-offset: 1px; }
.pf input[aria-invalid="true"], .pf select[aria-invalid="true"] { border-color: #a1162b; background: #fff6f6; }
.pf input[type=file] { padding: 10px; }
.pf-hint { font-size: .8rem; color: #5c5c5c; line-height: 1.45; }
.pf-warn { color: #8a1424; font-weight: 600; }
.pf-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-choice label { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid rgba(17,17,17,.2); background: #fff; cursor: pointer; text-transform: none; letter-spacing: 0; font: 400 .92rem/1.45 var(--body); color: #333; }
.pf-choice label:has(input:checked) { border-color: var(--ox); box-shadow: inset 0 0 0 1px var(--ox); }
.pf-choice input { accent-color: var(--ox); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.pf-choice b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.1rem; color: #111; margin-bottom: 2px; }
.pf-measure { display: grid; gap: 18px; }
.pf-measure[hidden], .pf-ship[hidden], .pf-store[hidden], .pf-instore[hidden] { display: none; }
.pf-tips { padding: 20px 22px; background: #fff; border: 1px solid rgba(17,17,17,.12); display: grid; gap: 10px; }
.pf-tips h3, .pf-h { font-size: 1.25rem; }
.pf-h { margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(17,17,17,.12); }
.pf-tips ul { list-style: none; display: grid; gap: 6px; }
.pf-tips li { padding-left: 18px; position: relative; font-size: .92rem; color: #333; }
.pf-tips li::before { content: ""; position: absolute; left: 0; top: .75em; width: 9px; height: 1px; background: var(--ox); }
.pf-units { display: flex; gap: 0; margin-top: 4px; }
.pf-units button { color: #333; border-color: rgba(17,17,17,.25); }
.pf-units button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.pf-unit { position: relative; }
.pf-unit input { padding-right: 46px !important; }
.pf-unit .u { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .78rem; color: #777; pointer-events: none; }
.pf-hgt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-instore { padding: 16px 20px; background: #fff; border-left: 2px solid var(--ox); color: #333; }
.pf-end { display: grid; gap: 16px; }
.pf-amt { display: block; font-variant-numeric: tabular-nums; }
.pf-pay + .pf-hint { margin-top: 12px; }
.pf-choice:has(input[aria-invalid]) label { border-color: var(--ox); }
.pf-agree { display: flex; gap: 12px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font: 400 .95rem/1.5 var(--body) !important; color: #222 !important; cursor: pointer; }
.pf-agree input { accent-color: var(--ox); width: 22px; height: 22px; flex: none; margin-top: 1px; }
.pf-err { color: #8a1424; font-weight: 600; font-size: .92rem; }
.pf-err:empty { display: none; }
.pf-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ivory .pf .btn:not(.fill), .ivory .pf-done .btn { border-color: #111; color: #111; }
.ivory .pf .btn:not(.fill):hover, .ivory .pf-done .btn:hover { background: #111; color: #fff; }
.pf-small { font-size: .82rem; color: #5c5c5c; max-width: 64ch; }
.pf-done[hidden] { display: none; }
/* 2026-11-07 live form: the bot check box (only shows when Cloudflare asks for a tap) and the order number */
.pf[hidden] { display: none; }
.pf-ts:empty { display: none; }
.pf-code { max-width: 340px; }
.pf-ts { margin-top: 6px; }
.pf-ref { font-weight: 600; }
.pf-ref:empty { display: none; }
.pc-order { color-scheme: light; }
.pf-done { margin-top: 40px; padding: 28px; background: #fff; border-top: 2px solid var(--ox); display: grid; gap: 14px; max-width: 720px; }
.pf-done h3 { font-size: 2rem; }

@media (max-width: 1100px) { .pc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .pc-hero-in { grid-template-columns: 1fr; }
  .pc-hero-art { order: -1; }
  .pc-steps { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .pc-dlg-in { grid-template-columns: 1fr; }
  .pc-slides { grid-row: auto; }
  .pc-dlg-txt { padding: 20px var(--gutter) 32px; }
}
@media (max-width: 760px) {
  .pc-hero { padding-top: 96px; }
  .pc-hero-art { grid-template-columns: 1fr; }
  .pc-hero-art .pc-ha-side { display: none; }
  .pc-hero-cta .btn, .pf-btns .btn, .pc-dlg-btns .btn { flex: 1 1 100%; justify-content: center; }
  .pc-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .pc-desc { font-size: .8rem; }
  .pc-steps { grid-template-columns: 1fr; }
  .pf-row, .pf-choice { grid-template-columns: 1fr; }
  .pc-dlg { width: 100vw; height: 100dvh; max-height: 100dvh; }
  .pc-slides img { aspect-ratio: auto; height: min(70dvh, 125vw); }
}
@media (max-width: 380px) { .pf-grid { grid-template-columns: 1fr; } }

@media print {
  @page { margin: 12mm; }
  html, body { background: #fff !important; color: #111 !important; }
  body > *:not(main), main > *:not(.pc-order), .pc-dlg, .pc-order .label, .pc-order .h2, .pc-sub, .pf-btns, .pf-small, .pf-tips, .pf-photos, .pf-done, .pf-err, .pf-hint:not(.pf-warn), .pf-choice label:not(:has(input:checked)) { display: none !important; }
  .pc-order { padding: 0 !important; background: #fff !important; }
  .pf::before { content: "MR SUITS  \00B7  Prom Collection  \00B7  Measurements"; display: block; font: 600 9pt/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
  .pf-measure[hidden] { display: grid !important; }
  .pf[hidden] { display: grid !important; }
  .pf-ts { display: none !important; }
  .pf-instore { display: none !important; }
  .pf { gap: 10px; margin-top: 0; }
  .pf fieldset { break-inside: avoid; padding-top: 8px; gap: 6px; }
  .pf legend { font-size: 13pt; margin-bottom: 2px; }
  .pf-h { font-size: 11pt; margin-top: 4px; padding-bottom: 2px; }
  .pf-row, .pf-choice { grid-template-columns: repeat(4, 1fr); gap: 6px 12px; }
  .pf-grid { grid-template-columns: repeat(5, 1fr); gap: 6px 12px; }
  .pf-choice label { padding: 6px 8px; box-shadow: none; }
  .pf-choice b { font-size: 10pt; }
  .pf label, .pf-m > label { font-size: 6.5pt; }
  .pf input:not([type=radio]):not([type=checkbox]), .pf select, .pf textarea { min-height: 26px; height: 26px; padding: 2px 6px; font-size: 10pt; border-color: #888; }
  .pf textarea { height: 44px; }
  .pf-unit input { padding-right: 26px !important; }
  .pf-unit .u { right: 6px; font-size: 7pt; }
}
.pc-back { text-decoration: none; }
.pc-back:hover { color: var(--ivory); }
