:root{
  --bdc-black:#0d0d0d;
  --bdc-black-soft:#171717;
  --bdc-gold:#c3a56e;
  --bdc-gold-light:#dbc89f;
  --bdc-white:#ffffff;
  --bdc-cream:#f8f5f0;
  --bdc-muted:rgba(248,245,240,.70);
  --bdc-line:rgba(255,255,255,.14);
  --bdc-ease:cubic-bezier(.25,.46,.45,.94);
  --bdc-shadow:0 28px 90px rgba(0,0,0,.44);
}

.bdc[hidden],
.bdc [hidden]{display:none!important}

.bdc,
.bdc *{box-sizing:border-box}

.bdc{
  position:relative;
  z-index:2147483000;
  font-family:"DM Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--bdc-cream);
  -webkit-font-smoothing:antialiased;
}

.bdc button,
.bdc a{font:inherit}

.bdc__banner{
  position:fixed;
  left:clamp(12px,2.4vw,38px);
  right:clamp(12px,2.4vw,38px);
  bottom:clamp(12px,2.2vw,32px);
  display:grid;
  grid-template-columns:minmax(240px,.72fr) minmax(360px,1.25fr) auto;
  align-items:center;
  gap:clamp(20px,3vw,52px);
  min-height:154px;
  padding:clamp(24px,2.5vw,38px);
  overflow:hidden;
  border:1px solid rgba(195,165,110,.34);
  border-radius:4px;
  background:
    radial-gradient(circle at 12% -20%,rgba(195,165,110,.16),transparent 34%),
    linear-gradient(118deg,rgba(13,13,13,.985),rgba(22,22,22,.975));
  box-shadow:var(--bdc-shadow);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transform:translateY(calc(100% + 50px));
  opacity:0;
  transition:transform .7s var(--bdc-ease),opacity .55s ease,min-height .55s var(--bdc-ease),padding .55s var(--bdc-ease);
}

.bdc--visible .bdc__banner{
  transform:translateY(0);
  opacity:1;
}

.bdc__accent{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--bdc-gold) 16%,var(--bdc-gold-light) 50%,var(--bdc-gold) 84%,transparent);
}

.bdc__banner:after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-110px;
  bottom:-190px;
  border:1px solid rgba(195,165,110,.17);
  border-radius:50%;
  pointer-events:none;
}

.bdc__brand{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.bdc__logo-wrap{
  flex:0 0 auto;
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border:1px solid rgba(195,165,110,.5);
  border-radius:50%;
  background:#090909;
  box-shadow:inset 0 0 0 5px rgba(195,165,110,.05);
}

.bdc__logo{
  width:64px;
  height:64px;
  object-fit:contain;
}

.bdc__brand-copy{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.bdc__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--bdc-gold-light);
  font-size:11px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.17em;
  text-transform:uppercase;
}

.bdc__eyebrow:before{
  content:"";
  width:25px;
  height:1px;
  background:var(--bdc-gold);
}

.bdc__brand-line{
  color:rgba(255,255,255,.62);
  font-size:12px;
  letter-spacing:.035em;
}

.bdc__content{position:relative;z-index:1;max-width:720px}

.bdc__title,
.bdc__modal h2{
  margin:0;
  color:var(--bdc-white);
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-size:clamp(28px,2.2vw,38px);
  font-weight:400;
  line-height:1.04;
  letter-spacing:-.018em;
}

.bdc__description{
  margin:11px 0 0;
  max-width:72ch;
  color:var(--bdc-muted);
  font-size:14px;
  line-height:1.65;
}

.bdc__legal{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:12px;
}

.bdc__legal a{
  position:relative;
  color:var(--bdc-gold-light);
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-decoration:none;
  text-transform:uppercase;
}

.bdc__legal a:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-3px;
  height:1px;
  background:currentColor;
  transform:scaleX(.35);
  transform-origin:left;
  opacity:.55;
  transition:transform .3s ease;
}

.bdc__legal a:hover:after,
.bdc__legal a:focus-visible:after{transform:scaleX(1)}

.bdc__actions,
.bdc__compact-actions{
  position:relative;
  z-index:1;
  display:grid;
  min-width:188px;
  gap:9px;
}

.bdc__button{
  min-height:46px;
  padding:12px 19px;
  border:1px solid transparent;
  border-radius:999px;
  cursor:pointer;
  font-size:11px;
  font-weight:700;
  line-height:1;
  letter-spacing:.105em;
  text-transform:uppercase;
  transition:transform .28s var(--bdc-ease),background .28s ease,border-color .28s ease,color .28s ease,box-shadow .28s ease;
}

.bdc__button:hover{transform:translateY(-2px)}
.bdc__button:active{transform:translateY(0)}
.bdc__button:focus-visible,
.bdc__close:focus-visible,
.bdc__switch input:focus-visible + span,
.bdc-open-settings:focus-visible{
  outline:2px solid var(--bdc-gold-light);
  outline-offset:3px;
}

.bdc__button--primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--bdc-black);
  background:linear-gradient(135deg,var(--bdc-gold-light),var(--bdc-gold));
  box-shadow:0 10px 30px rgba(195,165,110,.16);
}

.bdc__button--primary:hover{
  background:linear-gradient(135deg,#eadbbd,var(--bdc-gold-light));
  box-shadow:0 13px 34px rgba(195,165,110,.26);
}

.bdc__button--primary svg{
  width:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.bdc__button--secondary{
  color:var(--bdc-white);
  border-color:rgba(255,255,255,.25);
  background:rgba(255,255,255,.025);
}

.bdc__button--secondary:hover{border-color:var(--bdc-gold);color:var(--bdc-gold-light)}

.bdc__button--text{
  min-height:auto;
  padding:8px 12px;
  color:rgba(255,255,255,.63);
  background:transparent;
}

.bdc__button--text:hover{color:var(--bdc-white);transform:none}

.bdc__status{
  margin:0 0 5px;
  color:var(--bdc-gold-light);
  font-size:11px;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
}

/* Rejected state: the banner stays visible as a refined compact strip. */
.bdc--rejected .bdc__banner{
  grid-template-columns:auto 1fr auto;
  min-height:86px;
  padding:16px 22px;
}

.bdc--rejected .bdc__brand-copy,
.bdc--rejected .bdc__description,
.bdc--rejected .bdc__legal,
.bdc--rejected .bdc__actions{display:none}

.bdc--rejected .bdc__brand{gap:0}
.bdc--rejected .bdc__logo-wrap{width:54px;height:54px}
.bdc--rejected .bdc__logo{width:46px;height:46px}
.bdc--rejected .bdc__title{font-size:24px}
.bdc--rejected .bdc__status{display:block!important}
.bdc--rejected .bdc__compact-actions{display:flex!important;align-items:center;min-width:auto}
.bdc__button--small{min-height:40px;padding:10px 17px}

.bdc__overlay{
  position:fixed;
  inset:0;
  z-index:2;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  opacity:0;
  transition:opacity .35s ease;
}

.bdc__overlay.is-open{opacity:1}

.bdc__modal{
  position:fixed;
  top:50%;
  left:50%;
  z-index:3;
  width:min(720px,calc(100vw - 28px));
  max-height:min(780px,calc(100vh - 28px));
  padding:clamp(24px,4vw,44px);
  overflow:auto;
  border:1px solid rgba(195,165,110,.38);
  border-radius:5px;
  background:
    radial-gradient(circle at 100% 0,rgba(195,165,110,.13),transparent 36%),
    var(--bdc-black-soft);
  box-shadow:0 34px 120px rgba(0,0,0,.62);
  transform:translate(-50%,-46%) scale(.97);
  opacity:0;
  transition:transform .38s var(--bdc-ease),opacity .32s ease;
}

.bdc__modal.is-open{transform:translate(-50%,-50%) scale(1);opacity:1}

.bdc__modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
}

.bdc__modal-head .bdc__eyebrow{margin-bottom:12px}

.bdc__close{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid var(--bdc-line);
  border-radius:50%;
  color:var(--bdc-white);
  background:rgba(255,255,255,.025);
  cursor:pointer;
  transition:border-color .25s ease,transform .3s ease,color .25s ease;
}

.bdc__close:hover{border-color:var(--bdc-gold);color:var(--bdc-gold-light);transform:rotate(90deg)}
.bdc__close svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}

.bdc__modal-intro{
  margin:22px 0 30px;
  max-width:65ch;
  color:var(--bdc-muted);
  font-size:14px;
  line-height:1.7;
}

.bdc__categories{border-top:1px solid var(--bdc-line)}

.bdc__category{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:28px;
  padding:22px 0;
  border-bottom:1px solid var(--bdc-line);
}

.bdc__category-title{display:flex;align-items:center;gap:13px}
.bdc__category-title h3{margin:0;color:var(--bdc-white);font-family:Georgia,serif;font-size:20px;font-weight:400}
.bdc__index{color:var(--bdc-gold);font-size:10px;font-weight:700;letter-spacing:.12em}
.bdc__category p{margin:7px 0 0;color:rgba(248,245,240,.58);font-size:13px;line-height:1.55}

.bdc__always{
  color:var(--bdc-gold-light);
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
}

.bdc__switch{position:relative;display:inline-flex;cursor:pointer}
.bdc__switch input{position:absolute;width:1px;height:1px;opacity:0}
.bdc__switch > span:first-of-type{
  position:relative;
  width:50px;
  height:27px;
  display:block;
  border:1px solid rgba(255,255,255,.23);
  border-radius:999px;
  background:#232323;
  transition:background .3s ease,border-color .3s ease;
}
.bdc__switch > span:first-of-type:after{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:rgba(255,255,255,.75);
  box-shadow:0 2px 7px rgba(0,0,0,.35);
  transition:transform .3s var(--bdc-ease),background .3s ease;
}
.bdc__switch input:checked + span{border-color:var(--bdc-gold);background:rgba(195,165,110,.19)}
.bdc__switch input:checked + span:after{transform:translateX(23px);background:var(--bdc-gold-light)}

.bdc__modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:28px;
}

.bdc-open-settings{
  padding:0;
  border:0;
  color:inherit;
  background:transparent;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}

body.bdc-modal-open{overflow:hidden}

@media (max-width:1080px){
  .bdc__banner{grid-template-columns:auto 1fr;gap:20px 28px}
  .bdc__actions{grid-column:1/-1;grid-template-columns:1.2fr 1fr .8fr;min-width:0}
}

@media (max-width:720px){
  .bdc__banner{
    left:10px;
    right:10px;
    bottom:10px;
    grid-template-columns:1fr;
    gap:17px;
    max-height:calc(100vh - 20px);
    min-height:0;
    padding:22px;
    overflow:auto;
    border-radius:3px;
  }
  .bdc__brand{display:none}
  .bdc__title{font-size:30px}
  .bdc__description{font-size:13px;line-height:1.58}
  .bdc__actions{grid-column:auto;grid-template-columns:1fr 1fr}
  .bdc__actions .bdc__button--primary{grid-column:1/-1}
  .bdc__actions .bdc__button--text{grid-column:1/-1}
  .bdc--rejected .bdc__banner{grid-template-columns:1fr;gap:12px;padding:17px 18px;min-height:0}
  .bdc--rejected .bdc__brand{display:none}
  .bdc--rejected .bdc__title{font-size:21px}
  .bdc--rejected .bdc__compact-actions{justify-content:flex-start;flex-wrap:wrap}
  .bdc__modal{width:calc(100vw - 18px);max-height:calc(100vh - 18px);padding:24px 20px}
  .bdc__modal h2{font-size:30px}
  .bdc__category{gap:16px;padding:19px 0}
  .bdc__always{white-space:normal;text-align:right;max-width:74px}
  .bdc__modal-actions{display:grid;grid-template-columns:1fr}
  .bdc__modal-actions .bdc__button--primary{order:-1}
}

@media (prefers-reduced-motion:reduce){
  .bdc *,
  .bdc *:before,
  .bdc *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
