/* The Part: every relationship meets on an unequal, edge-anchored seam. */
:root {
  color-scheme: light;
  --ink: #252d31;
  --silver: #e4e9eb;
  --copper: #b76646;
  --white: #ffffff;
  --display: 'Archivo Black', sans-serif;
  --body: 'DM Sans', sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: #f5f6f6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, select { font: inherit; color: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 32px;
  border-bottom: 1px solid #252d311f;
  font-size: 12px;
}
.review-header > span:last-child { text-align: right; }
.review-layout {
  width: min(1176px, 100%);
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 760px);
  align-items: start;
  gap: 56px;
}
.review-tools { min-width: 0; font-size: 13px; line-height: 1.5; }
.review-tools h1 { font-size: 16px; font-weight: 600; margin: 0 0 10px; }
.concept-note { margin: 0 0 28px; font-size: 20px; line-height: 1.3; }
#program-summary { margin: 0 0 24px; }
.review-tools label { display: block; font-weight: 600; margin: 0 0 8px; }
.review-tools select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #252d3152;
  border-radius: 0;
  padding: 8px;
  background: var(--white);
  text-overflow: ellipsis;
}
.pagination { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin: 12px 0 28px; }
.pagination button { border: 0; background: transparent; padding: 10px 0; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
#position { font-size: 11px; font-variant-numeric: tabular-nums; }
#email-meta { margin: 0 0 24px; }
#email-meta dt { font-size: 11px; margin-top: 16px; color: #505e65; }
#email-meta dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.review-details { padding-top: 16px; border-top: 1px solid #252d3126; font-size: 12px; }
.review-details summary { cursor: pointer; min-height: 44px; }
.review-details p { margin: 8px 0 16px; }
.email-stage { min-width: 0; }
.state-panel { border-left: 14px solid var(--copper); background: var(--silver); padding: 40px 28px; line-height: 1.5; }
.state-panel h2 { font-family: var(--display); font-size: 30px; letter-spacing: -.04em; line-height: 1.1; margin: 0 0 20px; }
.state-panel button, dialog button { min-height: 44px; border: 0; background: var(--ink); color: white; padding: 12px 20px; }
.guest-email {
  --major: 62%;
  --minor: 38%;
  width: 100%;
  background: var(--silver);
  font: 16px/1.5 var(--body);
  overflow-wrap: break-word;
}
.part-row { display: grid; grid-template-columns: minmax(0, var(--major)) minmax(0, var(--minor)); }
.field { min-width: 0; }
.field:first-child { border-right: 1px solid #252d313b; }
.copy { padding: 26px 28px; }
.copy p { margin: 0 0 16px; }
.copy p:last-child { margin-bottom: 0; }
.email-masthead { border-top: 8px solid var(--ink); }
.email-masthead .field { padding: 24px 28px; }
.salon-name { font-size: 23px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.edition { display: flex; align-items: flex-end; font-size: 12px; line-height: 1.35; }
.title-row { border-top: 1px solid #252d313b; }
.headline { background: var(--copper); padding-top: 32px; padding-bottom: 36px; }
.headline h2 {
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 51px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
  margin: 0;
}
.greeting-field { background: var(--ink); color: var(--silver); display: flex; align-items: flex-end; padding-bottom: 36px; font-size: 14px; }
.greeting { overflow-wrap: anywhere; }
.photo-pair { display: grid; grid-template-columns: minmax(0, 62%) minmax(0, 38%); gap: 0; min-width: 0; }
.photo { min-width: 0; margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--crop-position); transform-origin: var(--crop-position); }
.photo-major { border-right: 1px solid var(--silver); }
.look-comparison .photo { height: 330px; }
.look-comparison .photo img { transform: scale(1.16); }
.look-comparison .photo-minor img { transform: scale(1.27); }
.single-photo { grid-template-columns: minmax(0, 1fr); }
.single-photo .photo { border-right: 0; }
.evidence { align-self: stretch; overflow: hidden; }
.evidence .photo-pair { height: 100%; }
.evidence .photo { min-height: 280px; }
.evidence .photo img { position: absolute; inset: 0; transform: scale(1.16); }
.evidence-row .hook { background: var(--ink); color: var(--silver); font-size: 18px; line-height: 1.45; display: flex; flex-direction: column; justify-content: flex-end; }
.reading-row { border-bottom: 1px solid #252d313b; }
.hook { font-weight: 500; }
.reading-row > .hook { font-size: 20px; line-height: 1.4; }
.observation, .bridge { background: var(--silver); }
.useful { background: white; }
.closing-row { border-bottom: 1px solid #252d313b; }
.closing-row > .field:first-child { background: var(--silver); }
.action { background: white; padding-top: 28px; padding-bottom: 28px; }
.email-cta { display: inline-block; font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration-thickness: 2px; padding: 8px 0 12px; }
.signoff { font-size: 13px; line-height: 1.45; white-space: pre-line; padding-top: 16px; }
.detail-row { --major: 58%; --minor: 42%; }
.detail-row .hook { display: flex; flex-direction: column; justify-content: center; font-size: 24px; line-height: 1.32; background: var(--ink); color: var(--silver); }
.detail-crop .photo img { transform: scale(1.4); }
.portrait-row { --major: 58%; --minor: 42%; }
.portrait-copy { background: white; }
.portrait-crop .photo { min-height: 380px; }
.portrait-crop .photo img { transform: scale(1.06); }
.product-row { --major: 42%; --minor: 58%; }
.product-copy { background: white; }
.product-crop .photo img { transform: scale(1.12); }
.care-intro { border-bottom: 1px solid #252d313b; }
.care-intro .hook { font-size: 20px; }
.care-pair { --major: 55%; --minor: 45%; }
.care-do { background: var(--ink); color: var(--silver); }
.care-notice { background: white; }
.care-pair h3 { font: 400 30px/1.1 var(--display); letter-spacing: -.04em; margin: 0 0 24px; }
.care-crop .photo, .return-crop .photo { height: 180px; }
.care-crop img, .return-crop img { transform: scale(1.2); }
.composition-invitation { --major: 38%; --minor: 62%; }
.composition-invitation .headline { grid-column: 2; grid-row: 1; background: var(--silver); }
.composition-invitation .greeting-field { grid-column: 1; grid-row: 1; background: var(--ink); color: var(--silver); align-items: flex-start; }
.composition-invitation .headline h2 { font-size: 40px; }
.composition-invitation .salon-name { font-size: 20px; }
.composition-invitation .edition { font-size: 12px; }
.record { background: var(--ink); color: var(--silver); font-size: 18px; }
.return-copy { background: white; }
.composition-invitation .closing-row > .field:first-child { background: var(--ink); color: var(--silver); }
.offer-row { font-size: 14px; border-bottom: 1px solid #252d313b; }
.offer-label { font-weight: 600; }
.offer-copy { background: white; }
.email-footer { font-size: 11px; line-height: 1.5; }
.email-footer .field { padding: 24px 28px; }
.email-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-top: 4px; }
.image-error, .photo-unavailable { padding: 20px; color: var(--silver); background: var(--ink); font-size: 13px; }
.failed-photo { display: flex; align-items: center; }
dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 0; border-left: 8px solid var(--copper); color: var(--ink); background: var(--silver); overflow-wrap: anywhere; }
dialog::backdrop { background: #252d3199; }
dialog h2 { font: 400 27px/1.1 var(--display); letter-spacing: -.04em; margin: 0 0 20px; }
dialog p { line-height: 1.5; }
@media (min-width: 1100px) { .review-tools { position: sticky; top: 24px; } }
@media (max-width: 900px) {
  .review-layout { grid-template-columns: minmax(0, 1fr); max-width: 824px; gap: 28px; padding-top: 24px; }
  .review-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
  .review-tools h1 { margin-bottom: 4px; }
  .concept-note { grid-column: 1; font-size: 16px; margin-bottom: 16px; }
  #program-summary { grid-column: 2; grid-row: 1 / 3; margin-bottom: 16px; font-size: 12px; }
  .review-tools label, .review-tools select, .pagination, #email-meta, .review-details { grid-column: 1 / -1; }
  .pagination { margin-bottom: 4px; }
  #email-meta { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 4px 12px; font-size: 12px; margin-bottom: 20px; }
  #email-meta dt, #email-meta dd { margin: 0; }
  .review-details { font-size: 11px; }
  .headline h2 { font-size: 48px; }
}
@media (max-width: 540px) {
  .review-header { padding: 14px 16px; gap: 12px; font-size: 10px; }
  .review-header > span:nth-child(2) { display: none; }
  .review-layout { padding: 20px 0 36px; gap: 20px; }
  .review-tools { padding: 0 16px; gap: 0 16px; }
  .concept-note { font-size: 15px; }
  #program-summary { font-size: 11px; }
  .guest-email { font-size: 15px; line-height: 1.47; }
  .copy { padding: 20px 16px; }
  .field + .copy { padding-left: 13px; padding-right: 13px; }
  .email-masthead .field { padding: 18px 16px; }
  .salon-name { font-size: 21px; }
  .edition { font-size: 10px; }
  .headline { padding-top: 24px; padding-bottom: 28px; }
  .headline h2 { font-size: clamp(27px, 7.7vw, 40px); letter-spacing: -.055em; line-height: 1.05; }
  .greeting-field { font-size: 12px; padding-bottom: 28px; }
  .look-comparison .photo { height: 236px; }
  .reading-row { --major: 55%; --minor: 45%; }
  .reading-row > .hook { font-size: 17px; }
  .evidence-row { --major: 55%; --minor: 45%; }
  .evidence .photo { min-height: 245px; }
  .evidence-row .hook { font-size: 15px; }
  .detail-row { --major: 55%; --minor: 45%; }
  .detail-row .hook { font-size: 18px; }
  .portrait-row { --major: 58%; --minor: 42%; }
  .portrait-copy { font-size: 15px; }
  .portrait-crop .photo { min-height: 325px; }
  .product-row { --major: 34%; --minor: 66%; }
  .product-copy { font-size: 15px; }
  .care-intro { --major: 55%; --minor: 45%; }
  .care-intro .hook { font-size: 17px; }
  .care-pair h3 { font-size: 26px; margin-bottom: 20px; }
  .closing-row { --major: 45%; --minor: 55%; }
  .closing-row .bridge { font-size: 14px; }
  .email-cta { font-size: 15px; }
  .signoff { font-size: 12px; }
  .composition-invitation { --major: 35%; --minor: 65%; }
  .composition-invitation .salon-name { font-size: 17px; }
  .composition-invitation .headline h2 { font-size: 30px; }
  .composition-invitation .record { font-size: 15px; }
  .composition-invitation .closing-row { --major: 35%; --minor: 65%; }
  .offer-row { --major: 35%; --minor: 65%; font-size: 13px; }
  .email-footer { --major: 62%; --minor: 38%; font-size: 10px; }
  .email-footer .field { padding: 22px 16px; }
  .state-panel { margin: 0 16px; padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* The gallery embeds this same renderer without review controls. */
html[data-specimen]{overflow:hidden;}
html[data-specimen] .review-header,html[data-specimen] .review-tools{display:none;}
html[data-specimen] .review-layout{display:block;width:100%;max-width:none;margin:0;padding:0;}
