/* DBGA event concierge. Evening look: near-black and ivory with champagne gold, a serif for headings.
   Gold text on ivory uses --gold-deep (AA); bright --gold is for dark backgrounds and buttons only. */
:root {
  --ink: #15100e; --night: #201916; --ivory: #f6f0e7; --paper: #fffcf7; --line: #e5d9c8; --line-dark: #3a2f29;
  --text: #241b17; --muted: #6a5d54; --on-dark: #efe6d8; --on-dark-muted: #b8a996;
  --gold: #cfa962; --gold-deep: #84621f; --champagne: #f1e4c8;
  --ok: #2c6a45; --warn: #9a4a12;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 4px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ivory); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; }   /* width/height attributes only reserve the shape; CSS sizes the photo */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }
.eyebrow { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin: 0; font-weight: 500; }

/* top */
.preview-bar { background: var(--ink); color: var(--on-dark-muted); font-size: .74rem; letter-spacing: .03em; text-align: center; padding: 6px 16px; margin: 0; border-bottom: 1px solid var(--line-dark); }
.top { background: var(--ink); color: var(--on-dark); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brandline { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); text-decoration: none; margin: 0; font-weight: 500; }
.brandline span { color: var(--on-dark-muted); }
.topnav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.topnav a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.topnav a:not(.btn):hover, .topnav a:not(.btn)[aria-current] { color: var(--gold); }
/* phones: a short header that scrolls away; packages and weddings stay one tap away on the page itself */
@media (max-width: 640px) {
  .top { position: static; }
  .top .wrap { padding-block: 12px; gap: 10px; }
  .brandline { font-size: .7rem; letter-spacing: .2em; width: 100%; }
  .topnav { width: 100%; justify-content: space-between; gap: 14px; }
  .topnav a[href="/#packages"], .topnav a[href="#packages"], .topnav a[href="/plan/?group=wedding"] { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem;
  border: 1px solid var(--ink); background: var(--ink); color: var(--gold); padding: 14px 26px; border-radius: var(--radius); cursor: pointer; min-height: 48px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--night); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #dcbb7a; border-color: #dcbb7a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--ivory); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .7rem; }
.btn:disabled { opacity: .6; cursor: progress; }
.textlink { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; font-size: .95rem; }
.textlink:hover { color: var(--gold-deep); }

/* home: hero */
.hero { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: 72px 88px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); margin-top: 18px; letter-spacing: -.01em; color: #fbf6ee; }
.hero h1 em { font-style: italic; color: var(--gold); white-space: nowrap; }
.lede { font-size: 1.12rem; color: var(--on-dark-muted); max-width: 34ch; margin: 22px 0 0; }
.hero-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.hero-cta .textlink { color: var(--on-dark); }
.hero-art { position: relative; min-height: 460px; }
.art-main { position: absolute; right: 0; top: 0; width: 82%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.art-main + .art-small { position: absolute; left: 0; bottom: -28px; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid var(--ink); border-radius: 2px; }
.hero-art::before { content: ""; position: absolute; right: -14px; top: 14px; width: 82%; aspect-ratio: 1 / 1; border: 1px solid var(--gold); opacity: .55; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 48px 64px; }
  .hero-art { min-height: 0; aspect-ratio: 1 / .8; }
  .art-main, .hero-art::before { width: 78%; }
  .hero-art::before { right: 0; top: 10px; }
  .art-main { right: 12px; }
}

/* home: sections */
.sec { padding-block: 80px; }
.sec-paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sec-head .sub { margin: 0; color: var(--muted); max-width: 56ch; }
.center { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 640px) { .sec { padding-block: 56px; } }

.occ-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.occ { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; color: #fbf6ee; text-decoration: none; background: var(--ink); }
@media (max-width: 520px) {   /* scoped to the grid so these win over the base card rules below */
  .occ-grid .occ-body { left: 14px; right: 14px; bottom: 14px; }
  .occ-grid .occ-body strong { font-size: 1.35rem; }
  .occ-grid .occ-body span { display: none; }
  .occ-grid .occ-body::after { font-size: .62rem; letter-spacing: .14em; }
}
.occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .9; }
.occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,16,14,0) 30%, rgba(21,16,14,.92) 100%); }
.occ:hover img { transform: scale(1.04); opacity: 1; }
.occ-body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: grid; gap: 6px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.occ-body strong { font-family: var(--serif); font-weight: 500; font-size: 1.85rem; line-height: 1.05; }
.occ-body span { font-size: .9rem; color: #e6dccb; }
.occ-body::after { content: "Start planning \2192"; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .pk-grid { grid-template-columns: minmax(0, 1fr); } }
.pk { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); min-width: 0; }
.pk-where { margin: 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.pk h3 { font-size: 1.85rem; }
.pk-desc { margin: 0; color: var(--muted); font-size: .94rem; }
.price { margin: 6px 0 0; font-weight: 600; font-size: .92rem; }
.price.todo { color: var(--muted); font-weight: 500; }
.pk .textlink { justify-self: start; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.venue-head { font-size: 1.6rem; margin: 40px 0 16px; }

.venues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .venues { grid-template-columns: minmax(0, 1fr); } }
.venue { margin: 0; display: grid; gap: 14px; }
.venue img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.venue figcaption { display: grid; gap: 4px; }
.venue strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.venue span { color: var(--muted); font-size: .92rem; }

.foot { background: var(--ink); color: var(--on-dark-muted); font-size: .85rem; padding-block: 36px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot p { margin: 0; }

/* planner */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; margin-block: 36px 64px; align-items: start; }
@media (max-width: 880px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; min-width: 0; }
@media (max-width: 520px) { .card { padding: 22px; } }
.summary { position: sticky; top: 90px; background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
@media (max-width: 880px) { .summary { position: static; } }
.summary h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 500; }
.summary dl, .review { margin: 0; display: grid; gap: 10px; }
.summary dt, .review dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.summary dt { color: var(--on-dark-muted); }
.summary dd, .review dd { margin: 0; overflow-wrap: anywhere; }
.summary dd { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.summary .muted { color: var(--on-dark-muted); }
.items { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; }
.summary .items { border-color: var(--line-dark); }
.items li { display: grid; gap: 2px; }
.items .ip { color: var(--muted); font-size: .84rem; }
.summary .items .ip { color: var(--on-dark-muted); }
.floorline { margin: 16px 0 0; padding: 12px 14px; background: var(--champagne); color: var(--text); border-radius: 2px; font-size: .88rem; }
.summary .floorline { background: transparent; color: var(--gold); border: 1px solid var(--line-dark); }

.progress { height: 2px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); transition: width .4s; }
.step-count { margin: 14px 0 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
h2#step-title { font-size: clamp(2rem, 4vw, 2.7rem); margin: 6px 0 24px; }
h2#step-title:focus { outline: none; }
form { display: grid; gap: 22px; }
.lead { margin: 0; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .85rem; margin: 0; }

.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 500; font-size: .9rem; padding: 0; }
.field em, legend em { font-style: normal; font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid #b9ab9b; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 3px rgba(207,169,98,.3); }
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.choices { display: grid; gap: 10px; }
.choices-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .choices-2 { grid-template-columns: 1fr; } }
.choice { position: relative; display: grid; gap: 2px; padding: 15px 16px 15px 48px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff; min-width: 0; transition: border-color .15s; }
.choice:hover { border-color: #b9ab9b; }
.choice input, .vcard input, .pill input, .pcard input, .ocard input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border: 1px solid var(--muted); border-radius: 50%; }
.choice:has(input[type=checkbox])::before { border-radius: 2px; }
.choice.is-on { border-color: var(--gold-deep); background: #fbf4e6; }
.choice.is-on::before { border-color: var(--gold-deep); background: var(--gold-deep); box-shadow: inset 0 0 0 3px #fbf4e6; }
.choice:focus-within, .vcard:focus-within, .pill:focus-within, .pcard:focus-within, .ocard:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice-label { font-weight: 500; }
.choice-desc { color: var(--muted); font-size: .88rem; }
.choice-price { font-size: .86rem; color: var(--gold-deep); font-weight: 600; }
.choice-link { font-size: .84rem; color: var(--muted); }
.group-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); margin: 8px 0 -4px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .92rem; background: #fff; transition: border-color .15s; }
.pill:hover { border-color: #b9ab9b; }
.pill.is-on { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* the four occasion cards in the planner */
.ocards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) {   /* scoped to the grid so these win over the base card rules below */
  .ocards { gap: 10px; }
  .ocards .ocard { aspect-ratio: 1 / 1; }
  .ocards .ocard-body { left: 12px; right: 12px; bottom: 12px; }
  .ocards .ocard-name { font-size: 1.25rem; }
  .ocards .ocard-desc { display: none; }
}
.ocard { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; cursor: pointer; background: var(--ink); color: #fbf6ee; }
.ocard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s, opacity .3s; }
.ocard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,16,14,.05) 15%, rgba(21,16,14,.92) 100%); }
.ocard:hover img { transform: scale(1.03); opacity: 1; }
.ocard-body { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.ocard-name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.ocard-desc { font-size: .84rem; color: #e6dccb; }
.ocard.is-on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--gold); }
.ocard.is-on .ocard-name::after { content: "  \2713"; color: var(--gold); }
.sub-choice { padding-top: 4px; }

.checks { display: grid; gap: 10px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold-deep); }

.vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.vcard { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #fff; }
.vcard img { width: 100%; height: 120px; object-fit: cover; display: block; }
.vcard .vb { display: grid; gap: 3px; padding: 12px 14px; align-content: start; }
.vcard .vn { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.vcard .vd { font-size: .85rem; color: var(--muted); }
.vcard .vcap { font-size: .84rem; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.vcard.is-on { border-color: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep); }
.vcard.is-dim { opacity: .55; }
.vcard .noimg { height: 120px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 1.2rem; padding: 8px; text-align: center; }
.tag { justify-self: start; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-top: 4px; border: 1px solid currentColor; }
.tag-ok { color: var(--ok); } .tag-warn { color: var(--warn); }

.pcards { display: grid; gap: 10px; }
.pcard { position: relative; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; background: #fff; }
.pcard.is-on { background: #fbf4e6; border-color: var(--gold-deep); }
.pcard .pn { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.pcard .pi { color: var(--muted); font-size: .88rem; }
.pcard .pp { font-size: .86rem; font-weight: 600; color: var(--gold-deep); }

.event-row { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.event-row.is-off { opacity: .75; }
.event-row .row2 { align-items: end; }

.hint { margin: 0; padding: 12px 14px; border-left: 2px solid var(--gold); background: #fbf4e6; font-size: .92rem; }
.hint.warn { border-color: var(--warn); }
.error { margin: 0; color: var(--warn); font-weight: 600; }
.error:focus { outline: none; }
.preview-note { margin: 0; padding: 12px 14px; border: 1px dashed #b9ab9b; font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.thanks { display: grid; gap: 16px; }
.thanks p { margin: 0; }
.share { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.share input { flex: 1 1 240px; font-size: .9rem; }
.chip { font: inherit; font-size: .88rem; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 7px 14px; cursor: pointer; min-height: 38px; }
.chip:hover { border-color: var(--gold-deep); }
.pk-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* chat */
.chat-wrap { max-width: 780px; margin: 36px auto 64px; display: grid; gap: 16px; }
.chat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; min-height: 360px; align-content: start; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: .96rem; display: grid; gap: 8px; }
.msg p { margin: 0; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 2px; justify-self: start; }
.msg.me { background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 2px; justify-self: end; }
.msg .pcard { cursor: default; }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; }
.composer { display: flex; gap: 10px; align-items: stretch; }
.composer textarea { min-height: 54px; flex: 1; }
.facts { display: flex; gap: 6px; flex-wrap: wrap; font-size: .8rem; }
.facts span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }

/* shareable plan */
.proposal { max-width: 780px; margin: 40px auto 64px; display: grid; gap: 16px; }
.proposal .card { display: grid; gap: 16px; }
.proposal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.status { justify-self: start; display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px; border: 1px solid var(--gold-deep); color: var(--gold-deep); border-radius: 999px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .occ:hover img, .ocard:hover img { transform: none; } }
@media print { .preview-bar, .top, .pk-actions, .foot { display: none; } body { background: #fff; } .card { border: 0; } }
