/* GoVoloom sketch / finished concept comparison. All rules are component-scoped. */
.hc-section {
  --hc-accent: var(--v-primary, #b63f27);
  --hc-ink: var(--v-ink, #171a17);
  --hc-muted: #626760;
  --hc-paper: #fff;
  --hc-line: rgba(23, 26, 23, .15);
  --hc-position: 50%;
  --hc-image-ratio: 1 / 1;
  padding: clamp(56px, 7vw, 100px) 0;
  color: var(--hc-ink);
  background: #fff;
  font-family: var(--font-body, 'DM Sans', Arial, sans-serif);
  line-height: 1.6;
}
.hc-section *, .hc-section *::before, .hc-section *::after { box-sizing: border-box; }
.hc-section [hidden] { display: none !important; }
.hc-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.hc-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: end; margin-bottom: 38px; }
.hc-section .hc-eyebrow { margin: 0 0 17px; color: var(--hc-accent); font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hc-section .hc-heading h2 { margin: 0; max-width: 22ch; font-family: var(--font-display, 'Newsreader', Georgia, serif); font-size: clamp(2.15rem, 4.2vw, 3.65rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.hc-section .hc-intro { max-width: 390px; margin: 0 0 3px; color: var(--hc-muted); font-size: .9rem; line-height: 1.8; }
.hc-canvas { position: relative; container-type: inline-size; background: var(--hc-paper); border: 1px solid rgba(23, 26, 23, .07); border-radius: 8px; overflow: hidden; }
.hc-stage { position: relative; }
.hc-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hc-line); }
.hc-image { min-width: 0; margin: 0; background: var(--hc-paper); }
.hc-image-surface { position: relative; aspect-ratio: var(--hc-image-ratio); }
.hc-image img { display: block; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: contain; object-position: center; user-select: none; -webkit-user-drag: none; }
.hc-image figcaption { display: grid; gap: 4px; padding: 16px 22px 21px; border-top: 1px solid var(--hc-line); font-size: .76rem; }
.hc-image figcaption strong { font-weight: 600; }
.hc-image figcaption span { color: var(--hc-muted); }
.hc-image-error { display: flex; position: absolute; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 26px; text-align: center; }
.hc-image-error strong { font-family: var(--font-display, Georgia, serif); font-size: 1.65rem; font-weight: 500; line-height: 1.2; }
.hc-image-error p { max-width: 270px; margin: 0; color: var(--hc-muted); font-size: .82rem; }
.hc-details { padding: 26px; border-top: 1px solid var(--hc-line); }
.hc-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.hc-note { display: flex; align-items: start; gap: 10px; min-width: 0; }
.hc-note-number { flex: none; color: var(--hc-accent); font-size: .59rem; font-weight: 700; line-height: 1.9; letter-spacing: .05em; }
.hc-section .hc-note h3 { margin: 0 0 7px; color: var(--hc-ink); font-family: var(--font-body, 'DM Sans', Arial, sans-serif); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.hc-section .hc-note p { margin: 0; color: var(--hc-muted); font-size: 12px; line-height: 1.7; }
.hc-leader { display: none; }
.hc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 17px; border-bottom: 1px solid var(--hc-line); }
.hc-section .hc-drag-hint { display: inline-flex; align-items: center; gap: 11px; margin: 0; color: var(--hc-muted); font-size: .76rem; }
.hc-drag-hint svg { color: var(--hc-accent); }
.hc-views { display: flex; align-items: center; gap: 12px; }
.hc-views span { color: #b8b9b0; font-size: .78rem; }
.hc-section .hc-views button { min-height: 44px; padding: 6px 1px; border: 0; background: transparent; color: var(--hc-ink); font: inherit; font-size: .72rem; cursor: pointer; }
.hc-views button:hover { color: var(--hc-accent); }
.hc-section .hc-views button:focus-visible, .hc-section .hc-detail-chip:focus-visible { outline: 2px solid var(--hc-accent); outline-offset: 3px; }
.hc-section .hc-disclosure { display: flex; align-items: baseline; gap: 7px; margin: 16px 0 0; color: var(--hc-muted); font-size: .67rem; line-height: 1.6; }
.hc-disclosure-mark { color: var(--hc-accent); font-size: .95rem; }
.hc-section .hc-no-script { margin: 12px 0 0; color: var(--hc-muted); font-size: .78rem; }
.hc-section .hc-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Enhance only after both source images load. Each layer keeps the complete canvas width. */
.hc-section.is-enhanced .hc-stage { aspect-ratio: 3 / 2; overflow: hidden; isolation: isolate; }
.hc-section.is-enhanced .hc-images { position: absolute; inset: 0; display: block; background: var(--hc-paper); }
.hc-section.is-enhanced .hc-image, .hc-section.is-enhanced .hc-image-surface { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.hc-section.is-enhanced .hc-image--finish { z-index: 1; }
.hc-section.is-enhanced .hc-image--sketch { z-index: 2; clip-path: inset(0 calc(100% - var(--hc-position)) 0 0); }
.hc-section.is-enhanced .hc-image figcaption { display: none; }
.hc-controls, .hc-slider-label { position: absolute; inset: 0; }
.hc-controls { z-index: 4; pointer-events: none; }
.hc-slider-label { display: block; cursor: ew-resize; }
.hc-section .hc-range {
  -webkit-appearance: none; appearance: none;
  position: absolute; z-index: 5; top: 0; left: -28px;
  display: block; width: calc(100% + 56px); max-width: none; height: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: transparent; opacity: 0;
  cursor: ew-resize; pointer-events: auto; touch-action: pan-y;
}
.hc-range::-webkit-slider-runnable-track { width: 100%; height: 100%; background: transparent; border: 0; }
.hc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100%; margin: 0; border: 0; background: transparent; cursor: ew-resize; }
.hc-range::-moz-range-track { width: 100%; height: 100%; background: transparent; border: 0; }
.hc-range::-moz-range-thumb { width: 56px; height: 100%; border: 0; border-radius: 0; background: transparent; cursor: ew-resize; }
.hc-divider { position: absolute; top: 0; bottom: 0; left: var(--hc-position); width: 1px; transform: translateX(-.5px); background: rgba(88, 82, 75, .42); box-shadow: 1px 0 0 rgba(255, 255, 255, .55); }
.hc-handle { position: absolute; top: 50%; left: clamp(29px, var(--hc-position), calc(100% - 29px)); display: grid; width: 56px; height: 56px; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .96); border-radius: 50%; background: rgba(255, 255, 255, .68); box-shadow: 0 4px 18px rgba(49, 38, 26, .13), inset 0 0 0 1px rgba(68, 56, 44, .04); color: var(--hc-accent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hc-range:focus-visible ~ .hc-handle { outline: 2px solid var(--hc-accent); outline-offset: 4px; background: rgba(255, 255, 255, .9); }
.hc-range:focus-visible ~ .hc-divider { background: var(--hc-accent); }
.hc-corner-label { position: absolute; top: 24px; display: flex; align-items: center; gap: 9px; color: #4f554f; font-size: .66rem; font-weight: 600; letter-spacing: .01em; }
.hc-corner-label span { color: #8b8c82; font-size: .58rem; font-weight: 400; }
.hc-corner-label--sketch { left: 26px; }
.hc-corner-label--finish { right: 26px; }
.hc-section.is-enhanced .hc-details { position: absolute; z-index: 3; inset: 0; padding: 0; border: 0; pointer-events: none; }
.hc-section.is-enhanced .hc-notes { display: block; }
.hc-section.is-enhanced .hc-note { position: absolute; display: block; width: 17%; max-width: none; }
.hc-section.is-enhanced .hc-note-number { display: block; margin-bottom: 8px; font-size: .62rem; }
.hc-section.is-enhanced .hc-note--fabric { top: 29%; left: 3.3%; }
.hc-section.is-enhanced .hc-note--artwork { top: 29%; right: 3.3%; }
.hc-section.is-enhanced .hc-note--rib { top: auto; right: 3.3%; bottom: 3%; }
/* cqw resolves against the full canvas, so leader geometry is independent of text width.
   In the 3:2 canvas the shoulder/chest/hem endpoints are (33.3%,40%),
   (53.3%,38%) and (62.7%,87%). Each fine rule makes one quiet right-angle turn. */
.hc-section.is-enhanced .hc-leader { position: absolute; display: block; border: 0 solid rgba(103, 102, 91, .4); background: none; }
.hc-section.is-enhanced .hc-note--fabric .hc-leader { top: 4cqw; left: 16.7cqw; width: 13.3cqw; height: 3.333333cqw; border-top-width: 1px; border-right-width: 1px; }
.hc-section.is-enhanced .hc-note--artwork .hc-leader { top: 3.333333cqw; left: -26.4cqw; width: 24.4cqw; height: 2.666667cqw; border-top-width: 1px; border-left-width: 1px; }
.hc-section.is-enhanced .hc-note--rib .hc-leader { top: auto; bottom: 6.666667cqw; left: -17cqw; width: 15cqw; height: 2cqw; border-top-width: 1px; border-left-width: 1px; }
.hc-leader::after { position: absolute; bottom: -2.5px; right: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--hc-accent); box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); content: ''; }
.hc-note--artwork .hc-leader::after, .hc-note--rib .hc-leader::after { right: auto; left: -3px; }
.hc-detail-switcher { display: none; }

@media (max-width: 960px) {
  .hc-heading { gap: 32px; }
}
@media (max-width: 960px) {
  .hc-container { padding: 0 20px; }
  .hc-heading { grid-template-columns: 1fr; gap: 19px; margin-bottom: 28px; }
  .hc-section .hc-heading h2 { font-size: clamp(2.15rem, 7.7vw, 3.1rem); }
  .hc-section .hc-intro { max-width: 520px; font-size: .84rem; line-height: 1.75; }
  .hc-images { grid-template-columns: 1fr; }
  .hc-image figcaption { padding: 15px 18px 20px; }
  .hc-details { padding: 20px; }
  .hc-notes { grid-template-columns: 1fr; gap: 20px; }
  .hc-section .hc-note h3 { font-size: 14px; }
  .hc-section .hc-note p { font-size: 12px; line-height: 1.7; }
  .hc-section.is-enhanced .hc-stage { aspect-ratio: var(--hc-image-ratio); }
  .hc-section.is-enhanced .hc-details { position: static; padding: 17px 18px 19px; border-top: 1px solid var(--hc-line); pointer-events: auto; background: #faf9f5; }
  .hc-section.is-enhanced .hc-detail-switcher { display: flex; gap: 8px; margin: 0 0 17px; }
  .hc-section .hc-detail-chip { display: inline-flex; flex: 1; min-width: 0; min-height: 44px; align-items: center; justify-content: center; gap: 5px; padding: 8px 10px; border: 1px solid var(--hc-line); border-radius: 999px; background: transparent; color: var(--hc-muted); font: inherit; font-size: .66rem; font-weight: 500; white-space: nowrap; cursor: pointer; }
  .hc-detail-chip span { font-size: .52rem; opacity: .8; }
  .hc-section .hc-detail-chip[aria-pressed="true"] { border-color: var(--hc-accent); background: var(--hc-accent); color: #fff; }
  .hc-section.is-enhanced .hc-note { position: static; display: none; width: auto; max-width: none; min-height: 76px; gap: 12px; }
  .hc-section.is-enhanced .hc-note.is-selected { display: flex; }
  .hc-section.is-enhanced .hc-note-number { margin: 2px 0 0; }
  .hc-section.is-enhanced .hc-note p br { display: none; }
  .hc-section.is-enhanced .hc-note p br::after { content: ' '; }
  .hc-section.is-enhanced .hc-leader { display: none; }
  .hc-corner-label { top: 17px; gap: 6px; font-size: .6rem; }
  .hc-corner-label--sketch { left: 16px; }
  .hc-corner-label--finish { right: 16px; }
  .hc-corner-label span { display: none; }
  .hc-toolbar { align-items: flex-start; gap: 3px; flex-direction: column; padding: 17px 0 9px; }
  .hc-views { gap: 12px; }
  .hc-section .hc-drag-hint { font-size: .71rem; }
  .hc-section .hc-disclosure { max-width: 330px; margin-top: 13px; font-size: .64rem; }
}
@media (max-width: 360px) {
  .hc-container { padding: 0 14px; }
  .hc-section.is-enhanced .hc-details { padding-right: 12px; padding-left: 12px; }
  .hc-section .hc-detail-chip { padding: 8px 7px; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-section *, .hc-section *::before, .hc-section *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .hc-handle { border: 1px solid ButtonText; background: Canvas; color: ButtonText; }
  .hc-divider { background: CanvasText; }
  .hc-section .hc-detail-chip[aria-pressed="true"] { border: 2px solid Highlight; color: Highlight; }
}
@media print {
  .hc-section { padding: 20px 0; break-inside: avoid; }
  .hc-section.is-enhanced .hc-stage { aspect-ratio: auto; overflow: visible; }
  .hc-section.is-enhanced .hc-images { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .hc-section.is-enhanced .hc-image, .hc-section.is-enhanced .hc-image-surface { position: relative; inset: auto; height: auto; aspect-ratio: var(--hc-image-ratio); clip-path: none; }
  .hc-section.is-enhanced .hc-image figcaption { display: block; }
  .hc-controls, .hc-section .hc-toolbar, .hc-section.is-enhanced .hc-detail-switcher { display: none !important; }
  .hc-section.is-enhanced .hc-details { position: static; padding: 20px; }
  .hc-section.is-enhanced .hc-notes { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hc-section.is-enhanced .hc-note { position: static; display: block; width: auto; max-width: none; }
  .hc-section.is-enhanced .hc-leader { display: none; }
}
