:root {
  --bg: #0d1016;
  --bg-2: #151922;
  --paper: rgba(16, 20, 28, 0.84);
  --panel: rgba(22, 27, 37, 0.92);
  --text: #f5efe6;
  --muted: #b3ac9f;
  --accent: #b89a72;
  --accent-soft: rgba(184, 154, 114, 0.14);
  --line: rgba(245, 239, 230, 0.09);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(184, 154, 114, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

.background-orb {
  position: fixed;
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.background-orb-left {
  top: -10vw;
  left: -8vw;
  background: rgba(184, 154, 114, 0.12);
}

.background-orb-right {
  right: -10vw;
  bottom: -12vw;
  background: rgba(91, 102, 128, 0.18);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 24px;
}

.top-link-wrap,
.page-footer {
  display: flex;
}

.top-link-wrap {
  margin-bottom: 10px;
}

.page-footer {
  justify-content: center;
  margin-top: 18px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.home-link::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.home-link:hover,
.home-link:focus-visible {
  color: var(--text);
}

.hero {
  max-width: 640px;
  margin: 0 0 12px;
  text-align: left;
}

.eyebrow,
.step {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.intro-card h2,
.section-block h3,
.summary-card h3 {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.96;
}

.hero-copy,
.intro-card p,
.section-copy,
.selection-recap,
.micro-note {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.hero-copy {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.layout {
  display: grid;
  grid-template-columns: 0.88fr 1.34fr 0.78fr;
  grid-template-areas:
    "intro intro intro"
    "filming edit summary";
  gap: 18px;
  align-items: start;
}

.intro-card,
.summary-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.intro-card,
.summary-card {
  padding: 24px;
}

.intro-card {
  grid-area: intro;
}

.summary-card {
  grid-area: summary;
}

.builder-form {
  display: contents;
}

.intro-card h2,
.section-block h3,
.summary-card h3 {
  font-size: 1.8rem;
}

.key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.fact {
  padding: 0;
  border-bottom: 0;
}

.fact-value {
  display: block;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  line-height: 0.95;
  color: var(--text);
}

.fact-label {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.95rem;
}

.micro-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.intro-card h2 {
  font-size: 1.3rem;
}

.intro-card p {
  margin: 8px 0 0;
}

.section-block {
  min-height: 100%;
  padding: 22px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-filming {
  grid-area: filming;
}

.section-edit {
  grid-area: edit;
}

.hours-picker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.hours-picker > span {
  font-size: 0.98rem;
  font-weight: 600;
}

.hours-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper,
#hours {
  font: inherit;
}

.stepper {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.stepper:hover,
.stepper:focus-visible {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

#hours {
  width: 72px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.option-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.option-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.option-row:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.035);
}

.option-row input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.option-copy {
  display: grid;
  gap: 1px;
}

.option-title {
  font-size: 1rem;
  font-weight: 700;
}

.option-price {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

.option-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.quantity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.quantity-button:hover,
.quantity-button:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
}

.quantity-value {
  min-width: 10px;
  text-align: center;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
}

.option-row:has(input:checked) {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(184, 154, 114, 0.08), rgba(184, 154, 114, 0.03));
  box-shadow: inset 0 0 0 1px rgba(184, 154, 114, 0.32);
}

.option-row-secondary {
  border-style: dashed;
}

.summary-total {
  margin: 12px 0 14px;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  line-height: 0.95;
  color: var(--accent);
}

.summary-lines {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-line span:last-child {
  font-weight: 700;
}

.selection-recap {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .page-shell {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hero {
    margin-bottom: 20px;
  }

  .layout {
    grid-template-areas:
      "intro"
      "filming"
      "edit"
      "summary";
    grid-template-columns: 1fr;
  }

  .key-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 24px;
  }

  .intro-card,
  .summary-card,
  .section-block {
    padding: 22px;
  }

  .hours-picker,
  .option-row {
    grid-template-columns: 1fr;
  }

  .option-actions {
    justify-items: start;
  }

  .hours-picker {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-filming {
    padding-bottom: 12px;
  }
}
