.visualizer-shell {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.visualizer-shell .visualizer-panel:last-child {
  display: none;
}

.visualizer-shell.has-result {
  max-width: 1200px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.visualizer-shell.has-result .visualizer-panel:last-child {
  display: block;
}

.visualizer-hero {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.visualizer-hero h1 {
  font-size: var(--text-2xl);
  margin-bottom: 0.75rem;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 760px) {
  .visualizer-hero {
    padding: 3rem 0 2rem;
  }

  .visualizer-hero h1 {
    font-size: var(--text-3xl);
  }
}

.visualizer-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.upload-dropzone {
  align-items: center;
  background: linear-gradient(135deg, #fff, var(--paper));
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-height: 240px;
  padding: 1.25rem;
  text-align: center;
  transition: background var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragging,
.upload-dropzone:focus-visible {
  background: #fff;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(168, 91, 49, 0.14);
  outline: none;
}

.upload-dropzone img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-height: 320px;
  object-fit: contain;
  width: 100%;
}

.upload-placeholder {
  display: grid;
  gap: 0.5rem;
}

.upload-placeholder strong {
  font-size: var(--text-lg);
}

.upload-copy-mobile {
  display: none;
}

.visualizer-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.visualizer-legend {
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.eyebrow,
.visualizer-legend,
.privacy-note {
  color: var(--bronze, #7a431f);
}

.field-help {
  color: var(--ink-soft, #2b2620);
}

.visualizer-choice-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visualizer-choice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 0.5rem;
  min-height: 100%;
  padding: 0.8rem;
  text-align: left;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out);
}

.visualizer-choice:hover,
.visualizer-choice.is-active {
  border-color: var(--copper);
  box-shadow: 0 10px 24px rgba(23, 20, 17, 0.08);
  transform: translateY(-1px);
}

.visualizer-choice.is-active {
  background: linear-gradient(135deg, #fff, rgba(168, 91, 49, 0.08));
}

.visualizer-choice:focus-visible,
.quantity-choice:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.visualizer-choice img {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border-radius: 4px;
  object-fit: contain;
  padding: 0.4rem;
  width: 100%;
}

.visualizer-choice strong {
  display: block;
}

.visualizer-choice span,
.visualizer-choice small {
  color: var(--muted);
  display: block;
}

.quantity-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quantity-choice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  min-height: 3.25rem;
  padding: 0.7rem;
  text-transform: uppercase;
}

.quantity-choice.is-active,
.quantity-choice:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.visualizer-preview-stage {
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
  min-height: clamp(380px, 45vh, 540px);
  overflow: hidden;
  position: relative;
}

.visualizer-placeholder {
  align-content: center;
  background: linear-gradient(135deg, rgba(23, 20, 17, 0.92), rgba(75, 41, 24, 0.82)), url("hero-twilight-barn.png") center/cover;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 2rem;
  position: absolute;
  text-align: center;
}

.visualizer-inspiration {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  justify-content: center;
  padding: 1rem;
}

.inspiration-slides {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
}

.inspiration-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--motion-base) ease;
}

.inspiration-slide.is-active {
  opacity: 1;
}

.inspiration-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspiration-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 2rem 1rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

.inspiration-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.inspiration-nav button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.inspiration-nav button:hover {
  border-color: var(--copper);
  background: var(--paper);
}

.inspiration-cta {
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  margin: 0;
}

.visualizer-result {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  min-height: clamp(380px, 45vh, 540px);
}

.before-after-container {
  background: #111;
  min-height: clamp(380px, 45vh, 540px);
  overflow: hidden;
  position: relative;
}

.before-after-before,
.before-after-after {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.before-after-before {
  z-index: 1;
}

.before-after-after {
  clip-path: inset(0 0 0 50%);
  z-index: 2;
}

.before-after-before img,
.before-after-after img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.before-after-label {
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: 1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.7rem;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}

.before-after-before .before-after-label {
  left: 1rem;
}

.before-after-after .before-after-label {
  right: 1rem;
}

.before-after-slider {
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  height: 100%;
  inset: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.before-after-slider:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.before-after-slider::-webkit-slider-thumb {
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  height: 48px;
  width: 48px;
}

.before-after-slider::-moz-range-thumb {
  background: transparent;
  border: 0;
  cursor: ew-resize;
  height: 48px;
  width: 48px;
}

.before-after-handle {
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(168, 91, 49, 0.3);
  height: 56px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  z-index: 11;
}

.before-after-handle::before {
  background: #fff;
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
}

.before-after-handle::after {
  color: var(--copper);
  content: "↔";
  font-size: 18px;
  font-weight: 900;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes handle-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(168, 91, 49, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(199, 158, 79, 0.5);
  }
}

.before-after-container:not(.has-interacted) .before-after-handle {
  animation: handle-pulse 2s ease-in-out 3;
}

@media (prefers-reduced-motion: reduce) {
  .before-after-container:not(.has-interacted) .before-after-handle {
    animation: none;
  }
}

.before-after-hint {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  color: #fff;
  font-size: var(--text-sm);
  left: 50%;
  opacity: 1;
  padding: 0.35rem 0.5rem;
  pointer-events: none;
  position: absolute;
  top: -2.5rem;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.before-after-container.has-interacted .before-after-hint {
  opacity: 0;
}

.visualizer-result[hidden],
.visualizer-placeholder[hidden] {
  display: none;
}

.progress-milestone {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  height: 0.75rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.72);
  transition: background 0.25s ease, transform 0.25s ease;
  width: 0.75rem;
  z-index: 2;
}

.progress-milestone[data-progress-milestone="33"] {
  left: 33%;
}

.progress-milestone[data-progress-milestone="66"] {
  left: 66%;
}

.progress-milestone.is-complete {
  background: #fff;
  transform: translate(-50%, -50%) scale(1);
}

.visualizer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.btn[data-visualizer-submit].is-processing {
  background: var(--muted);
  border-color: var(--muted);
  cursor: wait;
  animation: btn-pulse 1.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .btn[data-visualizer-submit].is-processing {
    animation: none;
    opacity: 0.7;
  }
}

.visualizer-notify-field {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.visualizer-notify-field label {
  color: var(--ink);
  font-weight: 700;
}

.visualizer-notify-field label span {
  color: var(--muted);
  font-weight: 500;
}

.visualizer-notify-field input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
}

.visualizer-error {
  background: #fff0ed;
  border-left: 5px solid #b83f2d;
  color: #6f2017;
  margin-top: 1rem;
  padding: 1rem;
}

.visualizer-error p {
  margin: 0;
}

.visualizer-error .btn {
  margin-top: 0.75rem;
}

.visualizer-guidance {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  margin: 1rem 0;
  padding: 1rem;
}

.visualizer-guidance strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

.visualizer-guidance ul {
  margin: 0;
  padding-left: 1.1rem;
}

.visualizer-guidance[hidden] {
  display: none;
}

.visualizer-note-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@keyframes visualizer-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes visualizer-radar {
  0% { opacity: 0.68; transform: scale(0.75); }
  100% { opacity: 0; transform: scale(1.35); }
}

.visualizer-cinema {
  align-items: stretch;
  background: rgba(0, 0, 0, 0.96);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  height: 100dvh;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  transition: opacity 400ms ease, visibility 400ms ease;
  visibility: hidden;
  width: 100vw;
  z-index: 100000;
}

.visualizer-cinema[hidden] {
  display: none;
}

.visualizer-cinema.is-active {
  opacity: 1;
  visibility: visible;
}

.visualizer-cinema.has-pitch-panel {
  grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 400px);
}

.cinema-backdrop {
  background: radial-gradient(circle at 40% 40%, rgba(168, 91, 49, 0.12), transparent 50%), radial-gradient(circle at 70% 60%, rgba(199, 158, 79, 0.08), transparent 40%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.cinema-stage {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  min-height: 0;
  padding: 2rem;
  position: relative;
}

.cinema-stage > * {
  flex: 0 0 auto;
}

.cinema-partial {
  filter: blur(var(--cinema-blur, 28px)) saturate(0.7) brightness(0.75);
  height: 100%;
  inset: 0;
  object-fit: contain;
  opacity: 0.85;
  position: absolute;
  transform: scale(1.02);
  transition: filter 1.2s ease, opacity 0.6s ease, transform 1.2s ease;
  width: 100%;
  z-index: 1;
}

.cinema-partial.is-revealing {
  animation: cinema-image-reveal 1.8s ease forwards;
}

.cinema-result {
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  max-height: 80vh;
  max-width: 90%;
  object-fit: contain;
  opacity: 0;
  position: relative;
  transform: scale(1.02);
  z-index: 2;
}

.cinema-result.is-visible {
  animation: cinema-result-pop 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cinema-result-pop {
  0% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.cinema-loader {
  background: rgba(251, 247, 239, 0.96);
  border: 1px solid rgba(199, 158, 79, 0.54);
  border-radius: 50%;
  display: grid;
  height: 6rem;
  place-items: center;
  position: relative;
  width: 6rem;
  z-index: 10;
}

.cinema-loader.is-active {
  animation: cinema-loader-breathe 2s ease-in-out infinite;
  will-change: box-shadow;
}

@keyframes cinema-loader-breathe {
  0%, 100% { box-shadow: 0 0 20px var(--copper), 0 0 40px rgba(199, 158, 79, 0.48); }
  50% { box-shadow: 0 0 36px var(--gold), 0 0 72px rgba(199, 158, 79, 0.64); }
}

.cinema-loader.is-complete {
  animation: cinema-loader-exit 500ms ease forwards;
}

@keyframes cinema-loader-exit {
  to {
    opacity: 0;
    transform: scale(0.85);
  }
}

.cinema-status.is-complete {
  animation: cinema-status-exit 400ms 100ms ease forwards;
}

@keyframes cinema-status-exit {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.cinema-loader-logo {
  animation: visualizer-pulse 1.8s ease-in-out infinite;
  height: 4rem;
  object-fit: contain;
  width: 4rem;
}

.cinema-loader-ring {
  animation: visualizer-radar 2.4s ease-out infinite;
  border: 1px solid rgba(199, 158, 79, 0.42);
  border-radius: 50%;
  inset: -0.75rem;
  position: absolute;
}

.cinema-loader-ring--delayed {
  animation-delay: 1.2s;
}

.cinema-status {
  color: #fff;
  display: grid;
  justify-items: center;
  left: 50%;
  max-width: min(90vw, 420px);
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -38%);
  width: 100%;
  z-index: 10;
}

.cinema-progress {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 0;
  height: 4px;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 100001;
}

.cinema-status-text {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cinema-status-percent {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-bottom: 1rem;
}

.cinema-fact {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-style: italic;
  margin: 1.5rem auto 0;
  max-width: 300px;
  text-align: center;
  transition: opacity 0.2s ease;
}

/* .cinema-progress is now fixed at viewport top - see above */

.cinema-progress-bar {
  background: linear-gradient(90deg, var(--copper), var(--gold));
  border-radius: 999px;
  height: 100%;
  position: relative;
  transition: width 0.4s ease;
  width: 0%;
}

.cinema-progress-bar::after {
  animation: cinema-shimmer 1.5s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  content: "";
  inset: 0;
  position: absolute;
}

@keyframes cinema-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes cinema-image-reveal {
  0% { filter: blur(28px) saturate(0.6) brightness(0.7); opacity: 0.5; transform: scale(1.04); }
  60% { filter: blur(8px) saturate(0.85) brightness(0.85); opacity: 0.85; }
  100% { filter: blur(0) saturate(1) brightness(1); opacity: 1; transform: scale(1); }
}

.cinema-pitch-panel {
  background: linear-gradient(135deg, var(--paper), #fff);
  border-left: 3px solid var(--copper);
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  gap: 1rem;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  min-height: 0;
  opacity: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(0.33, 1, 0.68, 1), opacity 400ms ease;
  width: 100%;
}

.visualizer-cinema.has-pitch-panel .cinema-pitch-panel {
  display: flex;
}

.cinema-pitch-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.cinema-pitch-panel.is-loading [data-pitch-text]::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--copper, #b87333);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: pitch-cursor-blink 1s step-end infinite;
}

@keyframes pitch-cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.cinema-pitch-panel > * {
  opacity: 0;
  transform: translateY(12px);
}

.cinema-pitch-panel.is-visible > *:nth-child(1) {
  animation: cinema-content-fade 400ms 100ms ease forwards;
}

.cinema-pitch-panel.is-visible > *:nth-child(2) {
  animation: cinema-content-fade 400ms 200ms ease forwards;
}

.cinema-pitch-panel.is-visible > *:nth-child(3) {
  animation: cinema-content-fade 400ms 300ms ease forwards;
}

.cinema-pitch-panel.is-visible > *:nth-child(4) {
  animation: cinema-content-fade 400ms 400ms ease forwards;
}

.cinema-pitch-panel.is-visible > *:nth-child(5) {
  animation: cinema-content-fade 400ms 500ms ease forwards;
}

@keyframes cinema-content-fade {
  to { opacity: 1; transform: translateY(0); }
}

.cinema-pitch-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cinema-pitch-skeleton-line {
  background: var(--line);
  border-radius: 4px;
  height: 1rem;
  overflow: hidden;
  position: relative;
}

.cinema-pitch-skeleton-line::after {
  animation: pitch-shimmer 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(168, 91, 49, 0.3), transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.cinema-pitch-skeleton-line:nth-child(1) { width: 85%; }
.cinema-pitch-skeleton-line:nth-child(2) { width: 92%; }
.cinema-pitch-skeleton-line:nth-child(3) { width: 78%; }
.cinema-pitch-skeleton-line:nth-child(4) { height: 0.75rem; width: 88%; }
.cinema-pitch-skeleton-line:nth-child(5) { height: 0.75rem; width: 45%; }

@keyframes pitch-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cinema-pitch-panel.has-pitch .cinema-pitch-skeleton {
  display: none;
}

.cinema-pitch-panel .cinema-pitch-actions {
  opacity: 1;
  pointer-events: auto;
}

.cinema-pitch-text {
  transition: filter 600ms cubic-bezier(0.33, 1, 0.68, 1), opacity 400ms ease, transform 400ms cubic-bezier(0.33, 1, 0.68, 1);
}

.cinema-pitch-text.is-revealing {
  animation: pitch-text-reveal 600ms cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes pitch-text-reveal {
  0% {
    filter: blur(8px);
    opacity: 0.3;
    transform: translateY(4px);
  }
  40% {
    filter: blur(4px);
    opacity: 0.7;
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

.cinema-pitch-panel.has-pitch .cinema-pitch-actions {
  animation: pitch-cta-rise 400ms 100ms cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes pitch-cta-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cinema-pitch-headline {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.cinema-pitch-text {
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.cinema-pitch-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cinema-pitch-actions .btn {
  text-align: center;
}

.cinema-email-capture {
  margin-top: 1.5rem;
  text-align: center;
}

.cinema-cancel {
  margin-top: 1.5rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.cinema-cancel:hover {
  opacity: 1;
}

.cinema-email-capture p {
  margin: 0.35rem 0;
}

.email-capture-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.75rem 0;
}

.email-capture-form input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  color: #fff;
  padding: 0.5rem 1rem;
  width: 200px;
}

.email-capture-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-capture-alt {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

.email-capture-alt a {
  color: var(--gold);
}

.cinema-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  height: 3rem;
  place-items: center;
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  width: 3rem;
}

.cinema-close:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.cinema-pitch-panel .cinema-close {
  opacity: 1;
  transform: none;
}

.upload-dropzone.is-uploading {
  animation: upload-lift 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 158, 79, 0.18), 0 24px 48px rgba(23, 20, 17, 0.16);
}

@keyframes upload-lift {
  to { border-color: var(--copper); transform: translateY(-4px) scale(1.01); }
}

@media (max-width: 900px) {
  .visualizer-shell,
  .visualizer-result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .visualizer-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .visualizer-cinema,
  .visualizer-cinema.has-pitch-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .cinema-stage {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
  }

  .cinema-status {
    transform: translate(-50%, -38%);
  }

  .cinema-pitch-panel {
    border-left: none;
    border-top: 3px solid var(--copper);
    grid-column: 1;
    grid-row: 2;
    max-height: 40dvh;
    overflow-y: auto;
    transform: translateY(100%);
    width: 100%;
  }

  .cinema-pitch-panel.is-visible {
    transform: translateY(0);
  }

  .cinema-pitch-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (orientation: portrait) and (max-width: 760px) {
  .upload-dropzone::after {
    content: "Tip: Turn your phone sideways when photographing for best results.";
    display: block;
    font-size: var(--text-xs);
    color: var(--muted);
    margin-top: 0.75rem;
    font-style: italic;
  }
}

.visualizer-seo-grid {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visualizer-seo-grid ul {
  color: var(--muted);
  line-height: 1.8;
}

.visualizer-faq-disclosure {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1rem;
}

.visualizer-faq-disclosure summary {
  color: var(--ink);
  cursor: pointer;
  font-size: var(--text-lg);
  font-weight: 600;
  list-style: none;
  padding: 0.75rem 0;
}

.visualizer-faq-disclosure summary::-webkit-details-marker {
  display: none;
}

.visualizer-faq-disclosure summary::before {
  color: var(--copper);
  content: "+";
  font-weight: 700;
  margin-right: 0.5rem;
}

.visualizer-faq-disclosure[open] summary::before {
  content: "−";
}

.visualizer-faq-disclosure .visualizer-seo-grid {
  padding-top: 1rem;
}

@media (max-width: 760px) {
  .visualizer-shell.has-result {
    grid-template-columns: 1fr;
  }

  .visualizer-choice-grid,
  .quantity-grid,
  .email-capture-form {
    grid-template-columns: 1fr;
  }

  .email-capture-form {
    display: grid;
  }

  .visualizer-preview-stage,
  .visualizer-result,
  .before-after-container {
    min-height: 360px;
  }

  .visualizer-seo-grid {
    grid-template-columns: 1fr;
  }

  .upload-copy-desktop {
    display: none;
  }

  .upload-copy-mobile {
    display: inline;
  }
}

@media (max-width: 480px) {
  .quantity-choice {
    min-height: 3.5rem;
    padding: 0.85rem;
  }

  .visualizer-choice {
    padding: 1rem;
  }

  .cinema-loader {
    width: 5rem;
    height: 5rem;
  }

  .cinema-loader-logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .before-after-handle {
    width: 60px;
    height: 60px;
  }

  .email-capture-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .email-capture-form input {
    width: 100%;
  }

  .cinema-pitch-panel {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }

  .cinema-pitch-actions {
    flex-direction: column;
  }

  .cinema-pitch-actions .btn {
    width: 100%;
  }
}

.visualizer-confetti {
  animation: confetti-fall 900ms ease-out forwards;
  pointer-events: none;
  position: fixed;
  z-index: 100001;
}

@keyframes confetti-fall {
  0% { opacity: 1; transform: translateY(-12px) rotate(0deg); }
  100% { opacity: 0; transform: translateY(90px) rotate(220deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-loader-logo,
  .cinema-loader-ring,
  .cinema-progress-bar::after,
  .upload-dropzone.is-uploading,
  .visualizer-confetti {
    animation: none !important;
  }

  .cinema-partial,
  .cinema-result,
  .cinema-pitch-panel,
  .cinema-pitch-panel > * {
    animation: none !important;
    transition: none !important;
  }

  .cinema-result.is-visible {
    opacity: 1;
    transform: none;
  }

  .cinema-pitch-panel.is-visible,
  .cinema-pitch-panel.is-visible > * {
    opacity: 1;
    transform: none;
  }

  .cinema-pitch-skeleton-line::after {
    animation: none !important;
  }

  .cinema-pitch-text.is-revealing {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cinema-pitch-panel.has-pitch .cinema-pitch-actions {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cinema-loader.is-complete,
  .cinema-status.is-complete {
    animation: none !important;
    opacity: 0 !important;
  }
}

.privacy-note {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-top: 0.5rem;
}

.privacy-icon {
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--bronze);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  text-align: center;
}

.trust-badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
}

.trust-badge a {
  color: var(--copper);
}

.email-honeypot {
  left: -9999px;
  position: absolute;
}

.visualizer-context-banner {
  background: linear-gradient(135deg, var(--paper), #fff);
  border: 1px solid var(--line);
  border-left: 5px solid var(--copper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
  padding: 1rem;
}


