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

:root {
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --olive: #3D4A35;
  --olive-tint: #EEF3EB;
  --champagne: #C9A96E;
  --champagne-light: #E4D5B7;
  --charcoal: #1E1E1E;
  --warm-gray: #6B6560;
  --white: #FFFFFF;
  --error: #9B2C2C;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --col: 560px;
}

[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===== TOP BAR ===== */
.bk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.bk-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  text-decoration: none;
}
.bk-count {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.bk-progress {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  height: 3px;
  background: var(--cream-dark);
}
.bk-progress-bar {
  height: 100%;
  width: 0;
  background: var(--champagne);
  transition: width 0.3s ease;
}

/* ===== STEP ===== */
.bk-main {
  flex: 1;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 2rem 1.25rem 8rem;
}
.bk-main h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  outline: none;
}
.bk-help {
  color: var(--warm-gray);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.bk-error {
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 1rem;
  min-height: 1.4em;
}

/* ===== OPTION CARDS ===== */
.bk-options {
  border: 0;
  display: grid;
  gap: 0.75rem;
}
.bk-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.bk-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bk-option:has(input:checked) { border-color: var(--olive); background: var(--olive-tint); }
.bk-option:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 2px; }
.bk-option-body { display: flex; flex-direction: column; flex: 1; }
.bk-option-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}
.bk-option-price {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--olive);
}
.bk-option-text { font-size: 0.85rem; color: var(--warm-gray); }

.bk-length svg { flex: 0 0 auto; width: 48px; height: 120px; }

.bk-tier { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.bk-tier-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.bk-tier-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bk-tier .bk-option-body { padding: 0.9rem 1.1rem 1rem; }
.bk-tier-none .bk-tier-photos img { aspect-ratio: 16 / 9; }

/* ===== CHECKBOXES ===== */
.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  cursor: pointer;
}
.bk-check input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--olive);
}
.bk-check small { display: block; color: var(--warm-gray); font-size: 0.85rem; }

/* ===== PHOTOS ===== */
.bk-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.bk-thumbs:not(:empty) { margin-bottom: 0.75rem; }
.bk-thumb { position: relative; }
.bk-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.bk-thumb button {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 0;
  background: rgba(30, 30, 30, 0.75);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.bk-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1.5px dashed rgba(0, 0, 0, 0.2);
  background: var(--white);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.bk-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bk-upload:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 2px; }
.bk-upload:has(input:disabled) { opacity: 0.5; cursor: wait; }
.bk-photo-count { margin-top: 0.5rem; font-size: 0.85rem; color: var(--warm-gray); }

/* ===== ESTIMATE ===== */
.bk-estimate { background: var(--white); padding: 0.5rem 1.25rem; }
.bk-est-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.bk-est-row:last-child { border-bottom: 0; }
.bk-est-row span { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--warm-gray); }
.bk-est-row strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1.2; }
.bk-summary { list-style: none; margin: 1.25rem 0 0.75rem; }
.bk-summary li { padding: 0.25rem 0; }
.bk-summary li::before { content: '·'; color: var(--champagne); margin-right: 0.5rem; }

/* ===== POLICIES ===== */
.bk-policies { background: var(--white); padding: 0.5rem 1.25rem; }
.bk-policy { padding: 1rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.bk-policy:last-child { border-bottom: 0; }
.bk-policy h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.bk-policy p { font-size: 0.9rem; color: var(--warm-gray); }

/* ===== TEXT FIELDS ===== */
.bk-field { display: block; margin-bottom: 1.25rem; }
.bk-field span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bk-field input, .bk-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
}
.bk-field textarea { min-height: 9rem; resize: vertical; }
.bk-field input:focus, .bk-field textarea:focus { outline: none; border-color: var(--olive); }
.bk-chars { display: block; text-align: right; font-size: 0.8rem; color: var(--warm-gray); margin-top: 0.25rem; }

.bk-turnstile { margin-top: 0.5rem; }

/* ===== DONE ===== */
.bk-home {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===== BOTTOM NAV ===== */
.bk-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.9rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom));
}
.bk-nav-inner { max-width: calc(var(--col) - 2.5rem); margin: 0 auto; display: flex; gap: 0.75rem; }
.bk-back, .bk-next {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  cursor: pointer;
}
.bk-back { background: none; border: 1.5px solid rgba(0, 0, 0, 0.15); color: var(--charcoal); }
.bk-next { flex: 1; background: var(--charcoal); border: 1.5px solid var(--charcoal); color: var(--white); }
.bk-next:disabled { opacity: 0.6; cursor: wait; }
