:root {
  --paper: #f3eee4;
  --paper-deep: #e7dfd0;
  --card: #fbf7f0;
  --ink: #1c1814;
  --ink-soft: #4e463f;
  --muted: #6f655c;
  --line: rgba(28, 24, 20, 0.14);
  --line-strong: rgba(28, 24, 20, 0.28);
  --green: #1f3b31;
  --green-mid: #2c5244;
  --clay: #8d382e;
  --clay-dark: #722e26;
  --brass: #6d4c2a;
  --warn: #7a4e12;
  --shadow: 0 24px 60px rgba(48, 32, 18, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(138, 104, 64, 0.12), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(31, 59, 49, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0 0 0.8rem; }
::selection { background: #e4d0bc; }

.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0;
}

.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; min-width: 0; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
}
.brand__place { display: block; color: var(--brass); letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; font-weight: 600;
}
.btn--primary { background: var(--clay); color: #fffaf5; }
.btn--primary:hover { background: var(--clay-dark); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--block, .btn--pay { width: 100%; }
.btn--pay { min-height: 56px; font-size: 1.05rem; }
.header__top .btn { min-height: 42px; padding: 0 14px; flex: none; }
@media (max-width: 480px) {
  .brand__name { font-size: 0.68rem; letter-spacing: 0.06em; }
  .header__top .btn { padding: 0 12px; font-size: 0.92rem; }
}

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 238, 228, 0.96); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }
body.chat-open .mobile-cta { visibility: hidden; }

.hero { padding: 28px 0 8px; }
.eyebrow {
  margin: 0 0 8px; color: var(--brass); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hero h1, .page-intro h1 { font-size: clamp(2.35rem, 8vw, 4.5rem); margin: 0 0 14px; }
.hero h1 { max-width: 12em; }
.page-intro h1 { max-width: 14ch; }
.lede { font-size: 1.12rem; max-width: 38rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin: 18px 0 8px; }
.hero__setup { position: relative; margin: 22px 0 4px; border-radius: 18px; overflow: hidden; }
.hero__setup img { width: 100%; height: 280px; object-fit: cover; object-position: center 40%; display: block; }
.hero__giftcard {
  position: absolute; left: 7%; bottom: 9%; width: min(230px, 74%); margin: 0;
  padding: 12px 14px; background: #fbf7f0; color: var(--ink);
  border-radius: 3px 12px 10px 4px;
  box-shadow: 0 12px 28px rgba(28, 24, 20, 0.28);
  transform: rotate(-7deg);
}
.hero__giftcard p {
  margin: 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.35;
}

.phone-placeholder { display: inline-flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; color: var(--ink-soft); }
.phone-placeholder__number { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.phone-placeholder__tag, .tag {
  display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 1px 8px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass);
}

.section { padding: 28px 0; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.section .intro { color: var(--ink-soft); max-width: 38rem; }

.packages { display: grid; gap: 14px; margin-top: 16px; }
.package {
  text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 0 0 16px; min-height: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); cursor: pointer; width: 100%;
}
.package__photo { width: 100%; height: 150px; object-fit: cover; background: var(--paper-deep); }
.package__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 0; flex: 1; }
.package__cardline { font-size: 0.95rem; }
.package__hint { color: var(--muted); font-size: 0.85rem; }
.card-point { margin: 0 0 14px; font-weight: 600; }
.sample-note { margin: 12px 0 0; }
.card-live {
  margin: 10px 16px 0; padding: 10px 12px; background: #fffdf9;
  border: 1px solid var(--line); border-radius: 14px;
}
.card-live[hidden] { display: none; }
.card-live__kicker {
  margin: 0 0 4px; color: var(--brass); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
}
.card-live__text {
  margin: 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35;
  max-height: 4.8em; overflow: auto;
}
.card-live--inline { margin: 0 0 12px; }
.package__kicker { color: var(--brass); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.package__name { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; }
.package__price { font-family: var(--serif); font-size: 2.7rem; letter-spacing: -0.04em; margin-top: auto; }
.package__summary { color: var(--ink-soft); }
.package__fine { color: var(--muted); font-size: 0.92rem; }
.package__cta { color: var(--clay); font-weight: 700; margin-top: 6px; }
.packages--lead .package:first-child { background: var(--green); color: var(--paper); border-color: var(--green); }
.packages--lead .package:first-child .package__summary,
.packages--lead .package:first-child .package__fine,
.packages--lead .package:first-child .package__hint,
.packages--lead .package:first-child .package__cardline,
.packages--lead .package:first-child .package__kicker { color: rgba(251, 247, 241, 0.82); }
.packages--lead .package:first-child .package__cta { color: #f3d7b0; }

.steps { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; align-items: start; }
.steps li { background: rgba(255, 252, 247, 0.55); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.facts { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }

.sample-band {
  background: var(--green); color: #f6f1e8; border-radius: 22px; padding: 22px 20px;
}
.sample-band .eyebrow { color: #e2c7a1; }
.sample-band__package { margin: 0 0 8px; color: #e2c7a1; font-size: 0.92rem; font-weight: 700; }
.sample-band__card {
  margin: 10px 0 14px; background: #fbf7f0; color: var(--ink);
  border-radius: 14px; padding: 18px 16px;
}
.sample-band__card p {
  margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.4;
}
.sample-band__note { margin: 0 0 16px; color: rgba(246, 241, 232, 0.88); max-width: 38rem; }
.sample-band .btn--ghost { border-color: rgba(246, 241, 232, 0.55); color: #f6f1e8; }

.paths { display: grid; gap: 10px; }
.path {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.path span { color: var(--brass); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.path strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }

.page-intro { padding: 28px 0 8px; }
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.7rem; margin: 1.4rem 0 0.4rem; }

.placeholder-callout {
  border: 1px dashed var(--brass); border-radius: 18px; padding: 16px; background: rgba(255, 252, 247, 0.7); margin: 16px 0;
}
.placeholder-callout__number { font-family: var(--serif); font-size: 2rem; margin: 4px 0 8px; }

.banner, .pay-note, .chat-error, .date-warn {
  background: #f8ead4; border: 1px solid #e2c89a; color: var(--warn); border-radius: 12px; padding: 12px 14px;
}
.banner { margin: 12px auto; }
.chat-error[hidden], .pay-note[hidden], .banner[hidden] { display: none; }
.date-warn { background: transparent; border: 0; padding: 0; display: grid; gap: 6px; }
.date-warn:empty { display: none; }
.date-warn .is-error { color: var(--clay); }

.also p { max-width: 40rem; }
.also__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.also__links a { font-weight: 700; text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 28px; margin-top: 8px; }
.footer__reach { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.footer__links a { text-decoration: none; }
.footer__reach p { margin: 0; }
.site-footer a { color: inherit; }
.fine { color: var(--muted); font-size: 0.92rem; }

.chat[hidden] { display: none; }
.chat { position: fixed; inset: 0; z-index: 60; }
.chat__backdrop { position: absolute; inset: 0; background: rgba(28, 24, 20, 0.46); }
.chat__panel {
  position: absolute; inset: 0; background: var(--paper); display: flex; flex-direction: column;
  min-height: 0; height: 100dvh; overflow: hidden;
}
.chat__bar {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  padding: 14px 16px 10px; border-bottom: 1px solid var(--line);
}
.chat__bar h2 { margin: 0; font-size: 1.35rem; }
.chat__sub { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.icon-btn {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px;
  min-height: 42px; padding: 0 14px; cursor: pointer;
}
.chat__log { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__dock { margin: 0; flex: 0 0 auto; max-height: 52vh; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); overflow: auto; background: var(--paper); }
.chat__dock textarea { min-height: 72px; }
.chat--summary .chat__log { display: none; }
.chat--summary .chat__dock { flex: 1 1 auto; max-height: none; border-top: 0; }

.bubble { max-width: min(85%, 34rem); padding: 10px 12px; border-radius: 16px; white-space: pre-wrap; }
.bubble--matt { align-self: flex-start; background: #e5efe9; border-bottom-left-radius: 4px; }
.bubble--you { align-self: flex-end; background: var(--ink); color: #f6f1e8; border-bottom-right-radius: 4px; }

.field { display: grid; gap: 6px; margin: 10px 0; }
.field span { font-size: 0.85rem; color: var(--ink-soft); }
.field input, .field textarea, .field select, .chips + .field input {
  width: 100%; border: 1px solid var(--line-strong); background: #fffdf9; border-radius: 12px;
  padding: 12px; font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px;
  padding: 10px 14px; cursor: pointer;
}
.chip { min-height: 48px; }
.chip[aria-pressed="true"] { background: var(--green); color: #f6f1e8; border-color: var(--green); }
.progress { display: flex; gap: 6px; list-style: none; padding: 0; margin: 8px 0 0; }
.progress li { flex: 1; min-height: 28px; border-radius: 999px; background: rgba(28, 24, 20, 0.08); color: transparent; font-size: 0; }
.progress li.is-done, .progress li.is-current { background: var(--clay); }
.pick { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 8px 0; width: 100%; cursor: pointer; display: grid; gap: 4px; min-height: 48px; }
.pick[aria-pressed="true"] { border-color: var(--clay); box-shadow: inset 0 0 0 1px var(--clay); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.date-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.plan-form .field { margin-top: 10px; }
.card-choices { display: grid; gap: 8px; }
.choice-label { margin: 12px 0 6px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.chat-actions { display: flex; gap: 8px; margin-top: 12px; position: sticky; bottom: 0; background: var(--paper); padding-top: 8px; z-index: 1; }
.chat--summary .chat-actions { position: static; }
.summary-block .confirm-line { font-size: 1.2rem; margin-bottom: 4px; }
.summary div, .summary__price { padding: 8px 0; }
.change-package { margin-top: 8px; }
.change-package summary { cursor: pointer; color: var(--ink-soft); }
.chat-actions .btn--primary { flex: 1; }
.text-btn { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

.confirm-line { font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; margin: 0 0 12px; }
.summary { margin: 8px 0 12px; }
.summary div, .summary__price { display: grid; gap: 3px; padding: 11px 0; border-top: 1px solid var(--line); }
.summary dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; white-space: pre-wrap; }
.summary__price dd { font-size: 1.8rem; }
.summary-lead { color: var(--ink-soft); }
.pay-note { margin: 10px 0; }

.thanks { padding: 28px 0 40px; }
.thanks h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); max-width: 14ch; }

@media (hover: hover) {
  .package:hover, .path:hover { transform: translateY(-2px); border-color: #c9bba6; }
}
@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .packages, .steps, .paths { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
  .package__photo { height: 190px; }
  .hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; padding-top: 48px; }
  .hero__setup { margin: 0; }
  .hero__setup img { height: 460px; object-position: center 35%; }
  .hero__giftcard { left: 8%; bottom: 11%; width: min(250px, 78%); }
  .chat__backdrop { display: block; }
  .chat__panel {
    inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(640px, calc(100% - 48px)); height: min(820px, calc(100% - 48px));
    border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .package, .path { transition: none; }
}
