/* One fixed candidate: no generated assets. Typography is the carrier; photos are evidence. */
:root {
  color-scheme: light;
  --zinc: #e5e8e6;
  --iron: #272823;
  --white: #ffffff;
  --dresser: #9d442e;
  --light: #f1eee4;
  --wood: #e0ad86;
  font-family: 'Public Sans', Arial, sans-serif;
  color: var(--iron);
  background: var(--white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, select { font: inherit; }
button, select, summary, a { -webkit-tap-highlight-color: transparent; }
button, select { color: var(--iron); background: var(--white); border: 1px solid #9ea39e; border-radius: 0; }
button { min-height: 44px; padding: 8px 12px; cursor: pointer; }
button:disabled, select:disabled { color: #636a63; background: #f1f3f1; cursor: default; }
button:not(:disabled):hover { background: var(--zinc); }
button:not(:disabled):active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--dresser); outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 4; background: var(--white); padding: 12px; }
.skip-link:focus { top: 12px; }
.review-header { max-width: 1240px; margin: auto; padding: 24px 32px; display: flex; align-items: baseline; gap: 24px; font-size: 12px; line-height: 1.5; }
.review-header > span:nth-child(2) { margin-left: auto; font-weight: 700; }
.review-header > span:last-child { color: #5c645c; }
.review-layout { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 740px); gap: 48px; align-items: start; max-width: 1240px; padding: 16px 32px 64px; margin: auto; }
.review-controls { padding: 20px 0; font-size: 12px; line-height: 1.6; }
.review-title { font-size: 20px; font-weight: 600; letter-spacing: -.04em; line-height: 1.3; margin: 0 0 16px; }
#program-summary { margin: 0 0 24px; color: #565e56; }
.select-control label { display: block; margin-bottom: 8px; font-weight: 700; }
select { display: block; min-height: 44px; width: 100%; max-width: 100%; padding: 8px 28px 8px 8px; text-overflow: ellipsis; }
.email-navigation { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: 12px; }
.email-navigation button { padding: 8px; font-size: 12px; }
#email-count { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.metadata { margin: 24px 0; }
.metadata > div { margin: 0 0 12px; }
.metadata dt { color: #5c645c; font-size: 11px; }
.metadata dd { margin: 2px 0 0; overflow-wrap: anywhere; line-height: 1.45; }
.metadata > div:nth-last-child(2) dd { font-weight: 600; }
.review-conditions { border-top: 1px solid #dce0dc; padding-top: 12px; }
.review-conditions summary { cursor: pointer; min-height: 44px; padding: 4px 0; }
.review-conditions p { overflow-wrap: anywhere; }
.review-disclaimer { color: #5c645c; font-size: 11px; margin-top: 24px; }
.link-note { color: var(--iron); border-left: 3px solid var(--dresser); background: var(--zinc); padding: 12px; overflow-wrap: anywhere; }
.preview { min-width: 0; }
.email { --dresser: var(--wood); background: var(--iron); color: var(--light); width: 100%; overflow-wrap: break-word; }
.salon-line { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 24px 28px 20px; font-size: 12px; line-height: 1.4; }
.salon-line span:first-child { font-weight: 700; }
.salon-line span:last-child { font-size: 11px; }
.poster { padding: 12px 28px 32px; }
.big-thought { font-family: 'Bricolage Grotesque', Arial, sans-serif; font-size: clamp(44px, 5.8vw, 76px); font-weight: 800; letter-spacing: -.065em; line-height: .99; margin: 0 0 28px -3px; max-width: 100%; text-wrap: balance; }
.evidence-band { display: flex; align-items: stretch; gap: 12px; width: 100%; margin: 0 0 28px; }
.evidence { margin: 0; min-width: 0; flex: 1; height: 152px; overflow: hidden; }
.evidence img { display: block; width: 100%; height: 100%; object-fit: cover; }
.evidence-person { max-width: 220px; height: 200px; }
.opening, .supporting-copy { max-width: 62ch; }
.opening { margin: 0 0 20px; }
.greeting { font-size: 13px; line-height: 1.5; margin: 0 0 12px; }
.hook { font-size: 23px; font-weight: 500; letter-spacing: -.04em; line-height: 1.34; margin: 0 0 12px; text-wrap: pretty; }
.supporting-copy { font-size: 16px; line-height: 1.62; letter-spacing: -.018em; }
.supporting-copy p { margin: 0 0 16px; text-wrap: pretty; }
.supporting-copy .useful-act { font-weight: 600; }
.offer { font-size: 15px; font-weight: 600; line-height: 1.55; border-top: 2px solid var(--light); padding-top: 16px; margin: 24px 0 0; text-wrap: pretty; }
.closing { margin-top: 28px; }
.email-cta { display: inline-block; max-width: 100%; color: var(--iron); background: var(--wood); padding: 14px 20px; font-size: 15px; line-height: 1.45; font-weight: 600; text-decoration: none; }
a.email-cta:hover { background: var(--light); }
.signoff { margin: 20px 0 0; font-size: 13px; line-height: 1.5; white-space: pre-line; }
.email-footer { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 20px 28px 24px; border-top: 1px solid rgb(241 238 228 / .28); font-size: 11px; line-height: 1.6; }
.email-footer p { margin: 0; }
.email-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
/* Comparison is one evidence strip, never a before/after device. */
.mode-comparison .big-thought { max-width: 11ch; }
.mode-comparison .evidence { height: 192px; }
.mode-comparison .evidence-band { gap: 20px; }
.mode-comparison .hook { max-width: 40ch; }
/* Process starts with a shallow close view before the thought. */
.mode-process .evidence-band { width: 76%; margin: 0 0 24px auto; }
.mode-process .evidence { height: 124px; }
.mode-process .big-thought { color: var(--dresser); }
.mode-process .supporting-copy { margin-left: 40px; }
/* Details occupy an off-center slit, leaving the type's field untouched. */
.mode-detail .evidence-band { width: 72%; margin-left: auto; }
.mode-detail .evidence { height: 136px; }
.mode-detail .big-thought { max-width: 12ch; }
/* A compact human photograph has its own space, no quote or invented attribution. */
.mode-portrait .big-thought { font-size: clamp(42px, 5vw, 64px); max-width: 13ch; }
.mode-portrait .evidence-band { justify-content: flex-end; margin-top: -8px; }
.mode-portrait .evidence { flex: 0 1 220px; height: 208px; }
.mode-portrait .opening { margin-top: -8px; }
/* Product isolates the working surface of the object, not a retail collage. */
.mode-product .evidence-band { width: 58%; margin-left: auto; }
.mode-product .evidence { height: 176px; }
.mode-product .big-thought { max-width: 12ch; }
.mode-product .useful-act { color: var(--dresser); }
/* Care is a conversational poster: the question carries the scale. */
.mode-care .big-thought { color: var(--dresser); font-size: clamp(40px, 5vw, 64px); max-width: 13ch; }
.mode-care .evidence-band { width: 42%; margin: 20px 0 24px auto; }
.mode-care .evidence { height: 92px; }
.mode-care .hook { font-size: 21px; }
/* Invitations are short, open, and direct. No full-room welcoming photograph. */
.mode-invitation .poster { padding-top: 28px; }
.mode-invitation .big-thought { font-size: clamp(42px, 5.4vw, 68px); max-width: 12ch; margin-bottom: 36px; }
.mode-invitation .evidence-band { width: 56%; margin: 24px 0; }
.mode-invitation .evidence { height: 96px; }
.mode-invitation .hook { font-size: 21px; }
.mode-invitation .closing { margin-top: 32px; }
.preview-state { background: var(--iron); color: var(--light); padding: 56px 32px; min-height: 340px; }
.preview-state h1 { font-family: 'Bricolage Grotesque', Arial, sans-serif; font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.06em; max-width: 12ch; margin: 0 0 24px; }
.preview-state p { max-width: 48ch; line-height: 1.6; }
.preview-state button { margin-top: 12px; }
.state-detail { font-size: 12px; overflow-wrap: anywhere; }
.image-unavailable { font: 12px/1.5 'Public Sans', Arial, sans-serif; padding: 12px; margin: 0; border: 1px solid #919991; flex: 1; }
.no-script { padding: 24px; }
[hidden] { display: none !important; }
@media (min-width: 1100px) {
  .review-controls { position: sticky; top: 20px; }
}
@media (max-width: 900px) {
  .review-header { padding: 20px 24px; }
  .review-layout { grid-template-columns: minmax(0, 740px); justify-content: center; gap: 24px; padding: 0 24px 48px; }
  .review-controls { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; padding: 8px 0 0; }
  .review-title { grid-column: 1; margin-bottom: 12px; font-size: 17px; }
  #program-summary { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .select-control, .email-navigation, .metadata, .review-conditions, .review-disclaimer, .link-note { grid-column: 1 / -1; }
  .metadata { display: grid; grid-template-columns: 1fr 2fr; column-gap: 20px; margin: 16px 0 4px; }
  .metadata > div:nth-last-child(-n+2) { grid-column: 1 / -1; }
  .metadata > div { margin-bottom: 8px; }
  .metadata > div:nth-child(3) { grid-column: 1 / -1; }
  .review-disclaimer { margin: 12px 0 0; }
  .big-thought { font-size: clamp(44px, 9.5vw, 76px); }
}
@media (max-width: 520px) {
  .review-header { padding: 16px; gap: 8px; flex-wrap: wrap; font-size: 11px; }
  .review-header > span:last-child { flex-basis: 100%; }
  .review-layout { display: block; padding: 0 0 32px; }
  .review-controls { display: block; padding: 8px 16px 24px; }
  .review-title { display: none; }
  #program-summary { font-size: 12px; margin-bottom: 16px; }
  .metadata { display: grid; }
  .metadata dd { font-size: 12px; }
  .salon-line { padding: 20px 20px 16px; font-size: 11px; gap: 12px; }
  .salon-line span:last-child { font-size: 10px; }
  .poster { padding: 12px 20px 28px; }
  .big-thought { font-size: clamp(40px, 11.5vw, 60px); letter-spacing: -.07em; margin: 0 0 24px -2px; }
  .evidence-band { gap: 8px; margin-bottom: 24px; }
  .evidence { height: 112px; }
  .hook { font-size: 21px; }
  .supporting-copy { font-size: 16px; line-height: 1.6; }
  .mode-comparison .evidence { height: 140px; }
  .mode-comparison .evidence-band { gap: 12px; }
  .mode-process .evidence-band { width: 88%; }
  .mode-process .evidence { height: 100px; }
  .mode-process .supporting-copy { margin-left: 0; }
  .mode-detail .evidence-band { width: 82%; }
  .mode-detail .evidence { height: 108px; }
  .mode-portrait .big-thought, .mode-care .big-thought, .mode-invitation .big-thought { font-size: clamp(38px, 10.6vw, 52px); }
  .mode-portrait .evidence { flex-basis: 176px; height: 168px; }
  .mode-product .evidence-band { width: 66%; }
  .mode-product .evidence { height: 136px; }
  .mode-care .evidence-band { width: 54%; }
  .mode-care .evidence { height: 76px; }
  .mode-invitation .poster { padding-top: 20px; }
  .mode-invitation .big-thought { margin-bottom: 28px; }
  .mode-invitation .evidence-band { width: 66%; }
  .mode-invitation .evidence { height: 80px; }
  .email-footer { padding: 20px; gap: 16px; font-size: 10px; }
  .email-cta { padding: 14px 16px; font-size: 14px; }
  .preview-state { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  button:not(:disabled):active { transform: none; }
}

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