/* DuBois Bridal Expo — styles
   Change the colors in :root to re-theme the whole site. */
:root {
  --ivory: #fbf7f2;
  --cream: #f4ece3;
  --blush: #efdcd6;
  --rose: #a8616b;        /* main accent */
  --rose-dark: #874650;
  --gold: #b8955a;
  --ink: #2f2a2b;
  --muted: #6f6566;
  --line: #e6dbd2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 35, 35, .08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", "Great Vibes", cursive;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-dark); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }
.eyebrow {
  font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.brand-script { font-family: var(--script); font-weight: 400; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--rose); color: #fff; text-decoration: none;
  font: 500 .85rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 1.05em 1.9em; border-radius: 999px; border: 1px solid var(--rose);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--rose-dark); }
.btn-ghost:hover { background: var(--rose); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-small { padding: .8em 1.3em; font-size: .75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
#site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.brand .brand-script { font-size: 2.1rem; color: var(--rose-dark); }
.brand-sub { font: 500 .62rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--ink); font-size: .9rem; letter-spacing: .06em;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-color: var(--gold); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; color: #fff; min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  background: #3b3436 center 60% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,22,.15) 0%, rgba(30,20,22,.25) 45%, rgba(30,20,22,.72) 100%);
}
.hero-inner { position: relative; padding: 120px 0 64px; }
.hero .eyebrow { color: #f1dcc0; }
.hero h1 { max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { font-family: var(--script); font-style: normal; font-weight: 400; color: #f6e2dc; font-size: 1.1em; }
.hero-meta { font-size: 1.1rem; margin-bottom: 1.8em; opacity: .95; }
.hero-meta strong { font-weight: 500; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }

.countdown { display: flex; gap: 10px; }
.cd-unit {
  min-width: 84px; padding: 12px 10px; text-align: center;
  border: 1px solid rgba(255,255,255,.45); border-radius: 12px; background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.cd-num { display: block; font: 500 2rem/1 var(--serif); }
.cd-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.countdown-done { font: 500 1.4rem var(--serif); margin: 0; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; padding: 110px 0 70px;
  background: #3b3436 center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(35,25,27,.55); }
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 0; }
.page-hero p { max-width: 60ch; margin: .6em 0 0; font-size: 1.1rem; opacity: .95; }
.page-hero.plain { background: var(--cream); color: var(--ink); padding: 72px 0 48px; }
.page-hero.plain::before { display: none; }
.page-hero.plain .eyebrow { color: var(--gold); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-blush { background: var(--blush); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }
.divider { width: 64px; height: 1px; background: var(--gold); margin: 18px auto 0; border: 0; }

/* Info strip */
.info-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-top: -44px; position: relative; z-index: 2;
}
.info-item { padding: 26px 24px; border-left: 1px solid var(--line); }
.info-item:first-child { border-left: 0; }
.info-item .eyebrow { margin-bottom: .5rem; }
.info-item p { margin: 0; font: 500 1.2rem/1.3 var(--serif); }
.info-item a { color: var(--ink); }
@media (max-width: 860px) {
  .info-strip { grid-template-columns: 1fr 1fr; }
  .info-item:nth-child(3) { border-left: 0; }
  .info-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .info-item { padding: 18px 16px; }
  .info-item p { font-size: 1.05rem; }
}

/* Welcome split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .img-offset { position: absolute; width: 46%; right: -28px; bottom: -40px; border: 8px solid var(--ivory); }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split.reverse .split-media { order: 0; }
  .split-media .img-offset { right: 0; }
}

/* Reasons */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.reason { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.reason:last-child { border-bottom: 0; }
.reason-num { font: 400 2.8rem/1 var(--serif); color: var(--gold); }
.reason h3 { margin: 0 0 .2em; font-size: 1.35rem; }
.reason p { margin: 0; color: var(--muted); }

/* Prizes */
.prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.prize {
  background: #fff; border-radius: var(--radius); padding: 36px 20px; text-align: center;
  border: 1px solid var(--line);
}
.prize-grand { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-10px); box-shadow: var(--shadow); }
.prize-amt { display: block; font: 500 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); color: var(--rose-dark); }
.prize-grand .prize-amt { color: #f1dcc0; }
.prize-label { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 640px) { .prizes { grid-template-columns: 1fr; } .prize-grand { transform: none; } }

/* Logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.logo-tile {
  display: flex; align-items: center; justify-content: center; height: 120px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-tile img { max-height: 80px; width: auto; object-fit: contain; }

/* CTA band */
.cta-band { position: relative; color: #fff; text-align: center; padding: 110px 0; background: #3b3436 center / cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(40,28,30,.6); }
.cta-band .wrap { position: relative; max-width: 720px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .eyebrow { color: #f1dcc0; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.card h2, .card h3 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } .card { padding: 26px 20px; } }

/* Tags / chips */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .chip {
  display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .45em 1em; font: 400 .88rem/1.2 var(--sans);
}
.chip { cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }

/* Directory */
.dir-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.search {
  width: 100%; max-width: 420px; padding: 14px 18px; font: inherit;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.search:focus { outline: 2px solid var(--rose); outline-offset: 2px; }
.dir-cat { margin-bottom: 48px; }
.dir-cat h2 { font-size: 1.9rem; padding-bottom: .4em; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.vendor-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.vendor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.vendor-card-logo { height: 130px; display: flex; align-items: center; justify-content: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.vendor-card-logo img { max-height: 90px; width: auto; object-fit: contain; }
.vendor-card-logo .brand-script { font-size: 1.8rem; color: var(--rose-dark); text-align: center; }
.vendor-card-body { padding: 16px 20px; }
.vendor-card-body h3 { font-size: 1.25rem; margin: 0 0 .15em; }
.vendor-card-body p { margin: 0; font-size: .9rem; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* Vendor detail */
.vendor-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.vendor-detail.no-ad { grid-template-columns: minmax(0, 720px); }
.vendor-logo { max-height: 110px; width: auto; margin-bottom: 28px; }
.vendor-dl { display: grid; grid-template-columns: 100px 1fr; gap: 12px 18px; margin: 28px 0; }
.vendor-dl dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.vendor-dl dd { margin: 0; overflow-wrap: anywhere; }
.small-head { font-size: 1.15rem; }
.vendor-ad { margin: 0; }
.vendor-ad img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .vendor-detail { grid-template-columns: 1fr; } .vendor-dl { grid-template-columns: 1fr; gap: 2px; } .vendor-dl dd { margin-bottom: 12px; } }

/* Embeds */
.embed {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.embed iframe { display: block; width: 100%; border: 0; }
.embed-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* Footer */
#site-footer { background: var(--ink); color: #e9e1dc; padding: 72px 0 0; margin-top: 0; }
#site-footer a { color: #f1dcc0; text-decoration: none; }
#site-footer a:hover { text-decoration: underline; }
#site-footer h4 { font: 500 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { font-size: 2.6rem; color: #f6e2dc; margin: 0 0 .2em; line-height: 1; }
#site-footer .muted { color: #b9aeaa; }
.footer-links a { display: block; padding: 3px 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; font-size: .85rem; color: #b9aeaa;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Small screens */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 100px 0 80px; }
  .hero::before { background: linear-gradient(180deg, rgba(30,20,22,.45) 0%, rgba(30,20,22,.35) 40%, rgba(30,20,22,.78) 100%); }
  .cd-unit { min-width: 72px; }
  .cd-num { font-size: 1.6rem; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}
