:root {
  --plum: #3A1530;
  --plum-soft: #52274A;
  --gold: #B08D57;
  --gold-text: #7E5F31;
  --gold-light: #C9A96E;
  --ivory: #F7F2EA;
  --paper: #FFFDF9;
  --line: #E4DACB;
  --ink: #241019;
  --muted: #5A4650;
  --danger: #8A1F2B;
  --ok: #2F5D3A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--plum); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--plum-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--plum); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin-bottom: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--plum); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand .word { font-size: 1.05rem; letter-spacing: .48em; font-weight: 400; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.nav a, .nav button.linklike { color: var(--plum); text-decoration: none; font-size: .95rem; letter-spacing: .04em; padding: 10px 0; background: none; border: 0; font-family: inherit; cursor: pointer; min-height: 44px; }
.nav a:hover, .nav button.linklike:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.nav form { margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--plum); color: var(--ivory); border: 1px solid var(--plum); font: 500 .9rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--plum-soft); color: #fff; }
.btn.ghost { background: transparent; color: var(--plum); }
.btn.ghost:hover { background: var(--plum); color: var(--ivory); }
.btn.gold { background: var(--gold-light); border-color: var(--gold-light); color: var(--plum); }
.btn.gold:hover { background: #d8bb84; color: var(--plum); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .78rem; }
.btn.danger { background: var(--danger); border-color: var(--danger); }

/* hero */
.hero { background: var(--plum); color: var(--ivory); padding: 88px 0 96px; text-align: center; }
.hero h1 { color: var(--ivory); font-weight: 300; max-width: 15ch; margin-left: auto; margin-right: auto; }
.hero .eyebrow { color: var(--gold-light); }
.hero p.lede { font-size: 1.15rem; max-width: 40rem; margin: 0 auto 2rem; color: #e9dfe4; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 22px auto; border: 0; }
section.block { padding: 72px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* grids */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cat { display: block; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cat:hover { border-color: var(--gold); }
.cat h3 { margin: 0 0 4px; }
.cat span { color: var(--muted); font-size: .92rem; }
.steps { counter-reset: s; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { list-style: none; position: relative; padding-top: 52px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font: italic 400 1.5rem var(--serif); color: var(--plum); }
.steps { padding: 0; margin: 0; }

/* cards */
.card { background: var(--paper); border: 1px solid var(--line); }
.vcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.vcard:hover { border-color: var(--gold); }
.vcard .ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--plum), var(--plum-soft)); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font: italic 400 4rem var(--serif); overflow: hidden; }
.vcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.vcard .body { padding: 18px 20px 22px; }
.vcard h3 { margin: 4px 0 6px; }
.tag { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }

/* forms */
.panel { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
form .row { margin-bottom: 20px; }
label, legend { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9ab98; background: #fff; font: inherit; color: var(--ink); border-radius: 0; }
textarea { min-height: 150px; resize: vertical; }
.hint { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 14px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; margin: 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--plum); flex: none; }
.two { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.alert { padding: 14px 18px; margin: 0 0 24px; border: 1px solid; }
.alert.err { border-color: var(--danger); background: #fbeeee; color: #5c1219; }
.alert.ok { border-color: var(--ok); background: #eef6ef; color: #1e4128; }
.alert.info { border-color: var(--gold); background: #faf3e5; color: #4d3a1b; }
.alert ul { margin: 0; padding-left: 20px; }

/* filters */
.filters { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: end; padding: 22px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 32px; }
.filters .row { margin: 0; }

/* vendor page */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 28px 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video { aspect-ratio: 16 / 9; width: 100%; border: 0; margin: 20px 0; background: #000; }
.detail { display: grid; gap: 40px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 800px) { .detail { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); padding: 4px 12px; font-size: .88rem; background: var(--paper); }

/* calendar */
.cal-months { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.month { background: var(--paper); border: 1px solid var(--line); padding: 14px; }
.month h4 { margin: 0 0 8px; font: 400 1.35rem var(--serif); color: var(--plum); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow { text-align: center; font-size: .7rem; letter-spacing: .08em; color: var(--muted); padding-bottom: 2px; }
.day { aspect-ratio: 1; min-height: 34px; border: 1px solid transparent; background: #f1ebe0; font: inherit; font-size: .88rem; color: var(--ink); cursor: pointer; padding: 0; }
.day:hover { border-color: var(--gold); }
.day[aria-pressed=true] { background: var(--plum); color: var(--ivory); text-decoration: line-through; }
.day.past { opacity: .35; cursor: default; pointer-events: none; }
.day.blank { visibility: hidden; }
.cal-static .day { cursor: default; pointer-events: none; }
.cal-pick .day:not(:disabled) { cursor: pointer; }
.cal-pick .day:not(:disabled):hover { border-color: var(--gold); background: #fff; }
.cal-pick .day.busy { background: var(--plum); color: var(--ivory); text-decoration: line-through; opacity: 1; }
.cal-pick .day.picked, .cal-pick .day.picked:hover { background: var(--gold-light); color: var(--plum); font-weight: 500; border-color: var(--plum); }
.pick-status { min-height: 28px; margin: 4px 0 14px; }
.day.locked { background: repeating-linear-gradient(135deg, var(--plum) 0 6px, var(--plum-soft) 6px 12px); color: var(--ivory); cursor: not-allowed; text-decoration: none; }
.feed-url { font: 0.85rem/1.4 ui-monospace, Menlo, monospace; word-break: break-all; background: #fff; border: 1px solid var(--line); padding: 10px 12px; }
details.howto { margin: 10px 0 18px; }
details.howto summary { cursor: pointer; font-weight: 500; color: var(--plum); min-height: 44px; display: flex; align-items: center; }
details.howto ol { margin: 6px 0 0; padding-left: 20px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; margin: 10px 0 18px; }
.legend i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--line); }

/* admin table */
table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
th { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.status { display: inline-block; padding: 2px 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); }
.status.approved { border-color: var(--ok); color: var(--ok); }
.status.pending { border-color: var(--gold); color: var(--gold-text); }
.status.rejected { border-color: var(--danger); color: var(--danger); }
.inline { display: inline; margin: 0; }

/* footer */
.site-footer { background: var(--plum); color: #d9ccd3; padding: 48px 0 40px; margin-top: 72px; }
.site-footer a { color: var(--ivory); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-footer .brand { color: var(--ivory); }
main { min-height: 50vh; }
.page { padding-top: 56px; }

/* reviews, stats, wedding page */
.stars { color: var(--gold, #B08D57); letter-spacing: 1px; }
.stars .off { color: #d9cfbf; }
.vstats { margin: -6px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.badge { display: inline-block; padding: 3px 10px; border: 1px solid var(--gold, #B08D57); border-radius: 999px; font-size: .85rem; }
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.review { margin: 0; padding: 20px; background: #fff; border: 1px solid #eadfcd; border-radius: 6px; }
.review blockquote { margin: 10px 0; font-style: italic; }
.review figcaption { font-size: .85rem; color: #7a6d63; }
.review .verified { color: #4f7a4f; }
fieldset.rating { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
fieldset.rating legend { font-weight: 500; margin-bottom: 6px; }
fieldset.rating label { color: var(--gold, #B08D57); cursor: pointer; }
.choices { display: grid; gap: 10px; }
.choices .btn { width: 100%; text-align: left; justify-content: flex-start; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 24px; }
.stat { background: #fff; border: 1px solid #eadfcd; border-radius: 6px; padding: 18px; }
.stat b { display: block; font-size: 1.8rem; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }
.stat span { font-size: .85rem; color: #7a6d63; }
.panel.soft { background: transparent; }
a.chip { text-decoration: none; }

/* wedding planner */
.progress { height: 6px; background: #eadfcd; border-radius: 999px; overflow: hidden; margin: 10px 0 18px; }
.progress span { display: block; height: 100%; background: var(--gold); }
fieldset.stage { border: 0; border-top: 1px solid var(--line, #eadfcd); padding: 14px 0 6px; margin: 0; }
fieldset.stage legend { padding: 0; }
.stage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 18px; margin-top: 6px; }
.plan-card { display: flex; flex-direction: column; }
.plan-card h3 a { color: inherit; text-decoration: none; }
.plan-card .ph { text-decoration: none; }
details.note { margin: 0 0 10px; font-size: .9rem; }
details.note summary { cursor: pointer; color: var(--gold-text, #7E5F31); }
details.note textarea { width: 100%; min-height: 80px; margin-top: 8px; }
.plan-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line, #eadfcd); }
.plan-summary { list-style: none; margin: 0; padding: 0; }
.plan-summary li { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line, #eadfcd); }
.plan-summary li:last-child { border-bottom: 0; }
.plan-summary .pcat { font-weight: 500; }
@media (max-width: 560px) { .plan-summary li { grid-template-columns: 1fr auto; } .plan-summary .what { grid-column: 1 / -1; grid-row: 2; } }
button.linklike { background: none; border: 0; padding: 8px 0; min-height: 44px; font: inherit; color: var(--plum); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer; }
button.linklike.small { font-size: .88rem; }
.crumbs { margin: 0 0 14px; color: var(--muted); }
.crumbs a { color: inherit; }
