/* ==========================================================================
   Aspect "Snap Your Setup" — single stylesheet
   Brand: raspberry pink #EE2650 + bronze #B08A57, warm cream ground,
   near-black ink, Oswald headings, Inter body — matched to the 2026 site
   ========================================================================== */

/* Palette sampled from the redesigned aspectrental.com (2026):
   warm cream page, stone dividers, bronze secondary accent, sharp corners. */
:root {
  --pink: #EE2650;
  --pink-dark: #C91C46;
  --bronze: #B08A57;
  --ink: #111315;
  --ink-soft: #3a3d40;
  --grey: #6f6b64;
  --line: #D8D4CD;
  --paper: #ffffff;
  --wash: #F5F3EE;
  --stone: #D8D4CD;
  --ok: #1d7a3e;
  --radius: 0px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* keep the hidden attribute winning over display:flex rules below */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--wash);
  line-height: 1.55;
  font-size: 16px;
}

/* ---------- header ---------- */

.site-header {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo { display: block; height: 44px; width: auto; }

.header-tag {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9ccce;
}

@media (max-width: 560px) {
  .header-tag { display: none; }
}

/* ---------- layout ---------- */

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* ---------- intro ---------- */

.intro { margin-bottom: 28px; }

.intro h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.intro h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  background: var(--pink);
  margin-top: 12px;
}

.intro-copy {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 54ch;
}

/* ---------- cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 18px;
}

.card h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}

/* ---------- dropzone with viewfinder corners ---------- */

.dropzone {
  position: relative;
  border-radius: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) top    left  / 26px 3px,
    linear-gradient(var(--ink), var(--ink)) top    left  / 3px 26px,
    linear-gradient(var(--ink), var(--ink)) top    right / 26px 3px,
    linear-gradient(var(--ink), var(--ink)) top    right / 3px 26px,
    linear-gradient(var(--ink), var(--ink)) bottom left  / 26px 3px,
    linear-gradient(var(--ink), var(--ink)) bottom left  / 3px 26px,
    linear-gradient(var(--ink), var(--ink)) bottom right / 26px 3px,
    linear-gradient(var(--ink), var(--ink)) bottom right / 3px 26px;
  background-repeat: no-repeat;
  background-color: var(--wash);
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.dropzone:hover, .dropzone:focus-visible, .dropzone.drag-over {
  background-color: #fdeef2;
  outline: none;
}

.dropzone.drag-over { background-color: #fbdce5; }

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  padding: 16px;
  gap: 8px;
}

.dz-icon { width: 44px; height: 44px; color: var(--pink); }

.dz-hint { font-size: 13px; color: var(--grey); }

#preview-img {
  max-width: 100%;
  max-height: 320px;
  border-radius: 0;
  display: block;
}

.btn-text {
  background: none;
  border: none;
  color: var(--pink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}

/* ---------- review mode (after submitting) ---------- */

/* The photo card pins to the top of the screen so the visitor can compare
   the kit list with their photo while scrolling. */
#photo-card.locked {
  position: sticky;
  top: 10px;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(17, 19, 21, 0.16);
  padding: 10px 12px;
}

#photo-card.locked h2 { display: none; }

#photo-card.locked .dropzone {
  pointer-events: none;
  padding: 8px;
}

#photo-card.locked .dropzone-inner {
  min-height: 0;
  padding: 2px;
  gap: 0;
}

#photo-card.locked #preview-img { max-height: 24vh; }

#photo-card.locked .btn-text { display: none; }

#photo-card.locked .photo-kind-row { display: none; }

.photo-kind-row { margin-top: 14px; }

.likes-label { margin-top: 12px; }

#likes-field textarea { margin-top: 2px; }

/* Contact details collapsed to one line */
#details-summary {
  font-size: 14px;
  color: var(--grey);
}

#details-summary::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 700;
}

/* Leave room for the pinned photo when jumping to the results */
.results { scroll-margin-top: calc(24vh + 72px); }

/* ---------- form fields ---------- */

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
}

.field-wide { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.req { color: var(--pink); }
.opt { color: var(--grey); font-weight: 400; font-size: 12px; }

.field input, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  background: var(--paper);
  color: var(--ink);
}

.field input:focus, textarea:focus {
  outline: 2px solid var(--pink);
  outline-offset: 0;
  border-color: var(--pink);
}

/* email (or other) field flagged with an error — red even while focused */
.field input.input-error,
.field input.input-error:focus {
  border-color: #b3123d;
  outline: 2px solid #b3123d;
  background: #fdeef2;
}

/* Marketing opt-in. Deliberately quiet — it must not compete with the
   submit button, and it must never look pre-selected. */
.optin {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.optin input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--pink); }

/* "paste one" is meaningless on a touch device — only offer it where there
   is a pointer and therefore, in practice, a keyboard. */
.dz-paste { display: none; }
@media (hover: hover) and (pointer: fine) { .dz-paste { display: inline; } }

.turnstile-wrap { margin-top: 18px; }

/* ---------- errors ---------- */

.field-error, .form-error {
  color: #b3123d;
  font-size: 14px;
  margin-top: 8px;
}

.form-error {
  background: #fdeef2;
  border: 1px solid #f5c2d0;
  border-radius: 0;
  padding: 12px 14px;
  margin-top: 4px;
}

/* ---------- buttons ---------- */

.submit-row { text-align: center; margin-top: 4px; }

/* Primary CTA — filled ink with a square edge, matching the new site's
   high-contrast, sharp-cornered buttons. Pink on hover. */
.btn-primary {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 15px 44px;
  cursor: pointer;
  width: 100%;
  max-width: 380px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--pink);
  border-color: var(--pink);
}

.btn-primary:disabled {
  background: var(--stone);
  border-color: var(--stone);
  color: #8a857c;
  cursor: not-allowed;
}

.submit-hint { font-size: 13px; color: var(--grey); margin-top: 8px; }

/* Secondary — outlined on cream, exactly like the site's "Get A Quote". */
.btn-secondary {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  background: var(--wash);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 22px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover:not(:disabled) { background: var(--ink); color: #fff; }
.btn-secondary:disabled {
  background: var(--stone);
  border-color: var(--stone);
  color: #8a857c;
  cursor: not-allowed;
}

/* ---------- loading ---------- */

.loading { text-align: center; padding: 48px 0; }

.loading-sub { color: var(--grey); font-size: 14px; margin-top: 4px; }

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--pink);
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- results ---------- */

.results-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.results-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--pink);
  margin-top: 8px;
}

.category-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.category-group h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.item-list { list-style: none; }

.item-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
}

.item-list li:first-child { border-top: none; }

.item-qty {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  background: var(--wash);
  border-radius: 0;
  padding: 1px 8px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.item-desc strong { font-weight: 600; }

.item-evidence {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
}

.quality-note {
  font-size: 14px;
  color: var(--grey);
  margin: 12px 4px;
}

/* ---------- quick questions (chips) ---------- */

.qq { margin-bottom: 16px; }

.qq:last-child { margin-bottom: 0; }

.qq-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.chip:hover { border-color: var(--pink); }

.chip.selected {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  font-weight: 600;
}

.qq-other {
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}

/* questions appear one by one; small entrance */
.qq:not([hidden]) { animation: qq-in 0.25s ease; }

@keyframes qq-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- notes card ---------- */

.notes-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-attach {
  margin-top: 0;
  background: var(--wash);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-attach:hover:not(:disabled) { background: #E8E4DC; }

.notes-file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  word-break: break-all;
}

#notes-card .dz-hint { margin-top: 8px; }

/* ---------- order sheet ---------- */

.tech-summary {
  border-left: 4px solid var(--pink);
  margin-top: 18px;
}

.ts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tech-summary h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tech-summary > p { font-size: 14.5px; color: var(--ink-soft); }

.tech-summary h4 {
  font-size: 12.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 16px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* "Select all" toggle sitting in a section heading */
.select-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--grey);
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.select-all input {
  width: 15px;
  height: 15px;
  accent-color: var(--pink);
  cursor: pointer;
}

/* Kit they asked for, or that their shoot can't do without — needs to
   read as more important than the optional extras below it. */
.essential-block {
  border-left: 3px solid var(--pink);
  background: #fdeef2;
  padding: 2px 14px 10px;
  margin-top: 16px;
}

.essential-block h4 { color: var(--pink); }

.tech-summary ul { list-style: none; font-size: 14.5px; }

/* checklist rows: item text left, "add to quote" toggle right */
.sheet-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.sheet-list li:first-child { border-top: none; }

.sheet-item { flex: 1; }

.quote-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--grey);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.quote-toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--pink);
  cursor: pointer;
}

/* quantity stepper on order-sheet rows */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.qty-btn:hover { border-color: var(--pink); color: var(--pink); }

.qty-val {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
}

/* answerable confirm-questions (chips + free-text alternative) */
.confirm-q {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}

.confirm-q:first-child { border-top: none; }

.confirm-q .qq-label { font-weight: 500; }

.confirm-q .chip { font-size: 13px; padding: 6px 12px; }

.confirm-q .qq-other { max-width: 340px; }

/* action buttons */
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-action {
  width: auto;
  max-width: none;
  font-size: 16px;
  padding: 11px 24px;
}

.action-row .btn-secondary { margin-top: 0; }

.callback-row { margin-top: 14px; }

.callback-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.callback-fields { display: flex; gap: 8px; }

.callback-fields input {
  flex: 1;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}

.callback-fields .btn-secondary { margin-top: 0; }

.action-feedback {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
}

.action-feedback.ok { color: var(--ok); }
.action-feedback.err { color: #b3123d; }

/* ---------- correction + sent note ---------- */

.correction-card { margin-top: 22px; }

.correction-card h3 { font-size: 16px; margin-bottom: 10px; }

.correction-thanks { color: var(--ok); font-weight: 600; margin-top: 10px; }

.sent-note {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 18px;
}

.sent-note h3 {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 8px;
}

.sent-note p { color: #d6d8da; font-size: 15px; }

.sent-note a { color: #fff; font-weight: 600; }

.contact-details { margin-top: 10px; }

/* ---------- equipment thumbnails + lightbox ---------- */

.item-thumb {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
  flex-shrink: 0;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-thumb:hover { border-color: var(--pink); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 21, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.lightbox-inner {
  position: relative;
  background: var(--paper);
  border-radius: 0;
  padding: 20px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 55vh;
  border-radius: 0;
}

#lightbox-name {
  font-weight: 600;
  margin-top: 12px;
}

#lightbox-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--pink);
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--grey);
  cursor: pointer;
  padding: 4px;
}

.lightbox-close:hover { color: var(--ink); }

/* ---------- footer ---------- */

.site-footer {
  text-align: center;
  padding: 24px 20px 40px;
  color: var(--grey);
  font-size: 13px;
}

.built-by {
  margin-top: 6px;
  font-size: 12px;
}

.built-by a {
  color: var(--grey);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--pink);
}

.built-by a:hover { color: var(--pink); }
