/* Art Déco: black lacquer, gold leaf, geometric glamour. */
.theme-deco {
  --bg: #0d0d0d;
  --surface: #161512;
  --ink: #f2e8d5;
  --muted: rgba(242, 232, 213, .68);
  --accent: #c9a45c;
  --accent-ink: #0d0d0d;
  --line: rgba(201, 164, 92, .35);
  --font-display: "Poiret One", system-ui, sans-serif;
  --font-script: "Poiret One", system-ui, sans-serif;
  --font-body: "Josefin Sans", system-ui, sans-serif;
  --radius: 0px;
  font-weight: 300;
}
.theme-deco .inv-cover { background: #0d0d0d; color: #f2e8d5; }
.dec-hall { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12vh; background: radial-gradient(60% 45% at 50% 45%, #2a2418, #0d0d0d 75%); }
.dec-plaque { text-align: center; padding: 0 24px; }
.dec-plaque__fan { width: 160px; display: block; margin: 0 auto 18px; }
.dec-plaque__eyebrow { margin: 0 0 12px; letter-spacing: .5em; text-transform: uppercase; font-size: 11px; color: #c9a45c; }
.dec-plaque__names { margin: 0; font-family: "Poiret One", sans-serif; font-size: clamp(38px, 10vw, 56px); line-height: 1.1; }
.dec-plaque__date { margin: 16px 0 0; letter-spacing: .45em; font-size: 12px; color: #c9a45c; }
.dec-door {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(201, 164, 92, .18) 22px 23px),
    linear-gradient(180deg, #1c1a17, #0d0d0d);
  border: 1px solid #c9a45c;
  outline: 6px solid #0d0d0d; outline-offset: -14px;
  box-shadow: inset 0 0 0 15px #0d0d0d, inset 0 0 0 16px #c9a45c;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  transition: transform 1.5s cubic-bezier(.7, 0, .2, 1) .35s;
}
.dec-door--l { left: 0; }
.dec-door--r { right: 0; }
.dec-door__fan { width: 70%; }
.dec-door__fan--low { transform: rotate(180deg); }
.dec-dial { position: absolute; top: 5vh; left: 50%; width: 70px; height: 36px; margin-left: -35px; z-index: 3; border: 1px solid #c9a45c; border-bottom: 0; border-radius: 70px 70px 0 0; background: #0d0d0d; }
.dec-dial span { position: absolute; left: 50%; bottom: 0; width: 1.5px; height: 28px; background: #c9a45c; transform-origin: 50% 100%; transform: rotate(-70deg); transition: transform .6s ease; }
.theme-deco .inv-cover__open { z-index: 4; color: #0d0d0d; background: #c9a45c; border-color: #c9a45c; border-radius: 0; font-weight: 400; }

body.is-open .dec-dial span { transform: rotate(70deg); }
body.is-open .dec-door--l { transform: translateX(-101%); }
body.is-open .dec-door--r { transform: translateX(101%); }
body.is-open .dec-dial, body.is-open .inv-cover__open { opacity: 0; transition: opacity .4s ease .4s; }
body.is-open .dec-plaque { transform: scale(1.1); opacity: 0; transition: transform 1.4s ease .7s, opacity .8s ease 1.2s; }
body.is-open .inv-cover { opacity: 0; transition: opacity .6s ease 1.6s; }

/* Invitation */
.dec-hero-fan { width: 180px; display: block; margin: 0 auto 26px; }
.theme-deco .inv-hero { padding-top: clamp(80px, 14vw, 130px); }
.theme-deco .inv-names { font-size: clamp(46px, 13vw, 90px); }
.theme-deco .inv-eyebrow, .theme-deco .inv-date { color: var(--accent); letter-spacing: .4em; }
.theme-deco .inv-title { text-transform: uppercase; letter-spacing: .14em; font-size: clamp(24px, 6vw, 34px); }
.theme-deco .inv-title::before, .theme-deco .inv-title::after { content: "◆"; font-size: 10px; color: var(--accent); vertical-align: middle; margin: 0 14px; }
.theme-deco .inv-section + .inv-section { border-top: 1px solid var(--line); }
.theme-deco .inv-card, .theme-deco .inv-countdown__grid div {
  border: 1px solid var(--accent);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  background: linear-gradient(180deg, #1c1a17, #121110);
}
.theme-deco .inv-btn { border-radius: 0; }
.theme-deco .inv-field input, .theme-deco .inv-field select, .theme-deco .inv-field textarea, .theme-deco .inv-choice label { border-radius: 0; background: #161512; color: var(--ink); }
.theme-deco .inv-closing { background: #c9a45c; color: #0d0d0d; }
.theme-deco .inv-closing__text { color: #0d0d0d; }
.theme-deco .inv-credit a { color: var(--muted); }
