:root {
  --dm-black: #080808;
  --dm-black-soft: #11100f;
  --dm-gold: #efc77b;
  --dm-gold-bright: #ffd86f;
  --dm-gold-deep: #b88327;
  --dm-red: #cf191f;
  --dm-red-dark: #5d070a;
  --dm-white: #fff9ef;
  --dm-muted: #d6d0c7;
  --dm-border: rgba(239, 199, 123, .82);
}

html { scroll-behavior: smooth; }
body.dm-phase1 {
  margin: 0;
  background: var(--dm-black);
  color: var(--dm-white);
  font-family: Avenir, "Avenir Next", Montserrat, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.dm-phase1 * { box-sizing: border-box; }
body.dm-phase1 a { color: inherit; text-decoration: none; }
body.dm-phase1 img { max-width: 100%; height: auto; display: block; }
body.dm-phase1 button, body.dm-phase1 a { -webkit-tap-highlight-color: transparent; }
body.dm-phase1 .dm-skip-link {
  position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 10001;
  background: #fff; color: #111; padding: 10px 14px; border-radius: 4px;
}
body.dm-phase1 .dm-skip-link:focus { transform: translateY(0); }

.dm-header {
  height: 58px;
  background: rgba(4,4,4,.97);
  border-bottom: 1px solid rgba(239,199,123,.52);
  position: relative;
  z-index: 100;
}
.dm-header__inner {
  width: min(1180px, calc(100% - 32px));
  height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative;
}
.dm-nav { display: flex; gap: 42px; height: 100%; align-items: center; }
.dm-nav__link {
  height: 100%; display: flex; align-items: center; padding: 0 3px; position: relative;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
.dm-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px;
  background: var(--dm-gold-bright); transform: scaleX(0); transition: transform .2s ease;
}
.dm-nav__link:hover::after, .dm-nav__link:focus-visible::after, .dm-nav__link.is-active::after { transform: scaleX(1); }
.dm-nav__link.is-active { color: var(--dm-gold-bright); }
.dm-header__cta { position: absolute; right: 0; top: 9px; }

.dm-button {
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 23px; border-radius: 5px; border: 1px solid rgba(255,255,255,.58);
  font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: .2s ease;
}
.dm-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.dm-button--red { background: linear-gradient(180deg, #e92b31 0%, #af0c11 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 18px rgba(151,0,0,.22); }
.dm-button--red:hover, .dm-button--red:focus-visible { transform: translateY(-1px); background: linear-gradient(180deg, #f33b41 0%, #c20d13 100%); }
.dm-button--gold { color: #17100a; background: linear-gradient(180deg, #ffe19a, #dda841); border-color: #ffe4a5; }
.dm-button--full { width: 100%; margin-top: 10px; }

.dm-hero {
  position: relative;
  min-height: 585px;
  isolation: isolate;
  background-image: var(--dm-hero-image);
  background-size: cover;
  background-position: center 50%;
  border-bottom: 1px solid var(--dm-gold-deep);
  overflow: hidden;
}
.dm-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.26) 25%, rgba(0,0,0,.64) 49%, rgba(0,0,0,.30) 74%, rgba(0,0,0,.34)),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.11) 42%, rgba(0,0,0,.64) 100%);
}
.dm-hero__content { width: min(940px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 25px; text-align: center; }
.dm-hero__logo { width: min(250px, 46vw); margin: 0 auto 3px; filter: drop-shadow(0 5px 13px rgba(0,0,0,.65)); }
.dm-opening {
  margin: 0;
  font-size: clamp(50px, 6.1vw, 84px);
  line-height: .93;
  font-weight: 1000;
  letter-spacing: -.025em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff0a9 0%, #ffd061 36%, #c58b26 70%, #f1c557 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(89,48,0,.72)) drop-shadow(0 7px 12px rgba(0,0,0,.55));
}
.dm-kicker { margin: 10px auto 17px; display: flex; justify-content: center; align-items: center; gap: 16px; font-size: clamp(15px, 1.6vw, 22px); letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.dm-kicker i { width: 6px; height: 6px; background: var(--dm-gold-bright); border-radius: 50%; }

.dm-hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(780px, 100%); margin: 0 auto; }
.dm-info-card {
  min-height: 210px; padding: 14px 16px 15px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: linear-gradient(145deg, rgba(8,8,8,.93), rgba(15,15,15,.82));
  border: 2px solid rgba(232,192,79,.90); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.30);
  backdrop-filter: blur(3px);
}
.dm-info-card__icon { width: 50px; height: 50px; color: var(--dm-gold-bright); margin-bottom: 2px; }
.dm-info-card__icon svg, .dm-membership-strip__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.dm-info-card h2 { margin: 0; color: #f2d67d; font-size: 24px; text-transform: uppercase; line-height: 1.05; font-weight: 900; letter-spacing: .01em; }
.dm-info-card p { margin: 5px 0 0; font-size: 17px; line-height: 1.2; color: #fff; }
.dm-info-card p strong { font-weight: 500; }
.dm-info-card__rule { width: 88%; height: 1px; margin: 9px auto 4px; background: linear-gradient(90deg, transparent, var(--dm-gold), transparent); }
.dm-info-card .dm-info-card__small { font-size: 15px; margin-top: 3px; }
.dm-info-card--slots p { margin-top: 11px; font-size: 19px; }
.dm-247 { color: var(--dm-gold-bright); font-size: 40px; line-height: 1; margin-top: 4px; }
.dm-info-card--join p { margin-top: 8px; }
.dm-info-card--join .dm-button { margin-top: auto; }

.dm-membership-strip {
  width: 100%; min-height: 116px; padding: 14px max(24px, calc((100vw - 1130px)/2));
  display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 22px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 82% 50%, rgba(255,166,55,.26), transparent 23%),
    linear-gradient(90deg, #330305 0%, #8d0710 28%, #b90e16 52%, #600408 100%);
  border-top: 2px solid #e2ad43; border-bottom: 2px solid #e2ad43;
  box-shadow: inset 0 0 40px rgba(0,0,0,.45);
}
.dm-membership-strip::before {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.26;
  background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.10) 6px 7px);
  mix-blend-mode: overlay;
}
.dm-membership-strip::after {
  content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:linear-gradient(90deg, transparent, rgba(255,216,111,.75), transparent); opacity:.45;
}
.dm-membership-strip > * { position: relative; z-index: 1; }
.dm-membership-strip__icon { width: 68px; height: 68px; padding: 10px; color: var(--dm-gold-bright); border: 2px solid var(--dm-gold); border-radius: 12px; background: rgba(0,0,0,.55); box-shadow: 0 0 17px rgba(255,189,71,.35); }
.dm-membership-strip__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dm-membership-strip__copy strong { font-size: clamp(21px, 2.1vw, 31px); text-transform: uppercase; letter-spacing: .025em; color: #ffe08a; line-height: 1.04; }
.dm-membership-strip__copy span { font-size: 16px; color: #fff; }
.dm-membership-strip__button { min-width: 220px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 20px; border: 2px solid #f4d073; border-radius: 9px; background: linear-gradient(180deg, #5e3f0b, #2d1d05); color: #ffe093; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .035em; box-shadow: 0 0 16px rgba(255,204,90,.23); }
.dm-membership-strip__button svg { width: 17px; height: 17px; fill:none; stroke:currentColor; stroke-width:2; }
.dm-membership-strip:hover .dm-membership-strip__button, .dm-membership-strip:focus-visible .dm-membership-strip__button { background: linear-gradient(180deg, #7d5615, #3c2606); transform: translateX(2px); }

.dm-whats-on { background: radial-gradient(circle at 50% -20%, #23180c 0%, #090909 42%, #050505 100%); padding: 30px 0 26px; border-bottom: 1px solid rgba(239,199,123,.45); }
.dm-section-shell { width: min(1250px, calc(100% - 44px)); margin: 0 auto; }
.dm-whats-on h2 { margin: 0 0 20px; text-align: center; text-transform: uppercase; color: #f0c35a; font-size: clamp(25px, 2.8vw, 38px); letter-spacing: .01em; font-weight: 1000; }
.dm-carousel { position: relative; padding: 0 42px 26px; }
.dm-carousel__viewport { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 4px; }
.dm-carousel__viewport::-webkit-scrollbar { display: none; }
.dm-carousel__viewport:focus-visible { outline: 2px solid var(--dm-gold-bright); outline-offset: 6px; }
.dm-carousel__track { display: flex; gap: 19px; align-items: stretch; }
.dm-promo-card { flex: 0 0 calc((100% - 57px) / 4); margin: 0; aspect-ratio: 9 / 16; scroll-snap-align: start; overflow: hidden; border: 1px solid rgba(255,205,105,.58); border-radius: 5px; background: #111; box-shadow: 0 10px 22px rgba(0,0,0,.40); }
.dm-promo-card picture, .dm-promo-card img { width:100%; height:100%; }
.dm-promo-card img { object-fit: contain; background: #000; }
.dm-carousel__arrow { position: absolute; top: calc(50% - 26px); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.72); background: rgba(5,5,5,.85); color: #fff; font-size: 33px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.dm-carousel__arrow:hover:not(:disabled), .dm-carousel__arrow:focus-visible:not(:disabled) { border-color: var(--dm-gold-bright); color: var(--dm-gold-bright); }
.dm-carousel__arrow:disabled { opacity: .26; cursor: default; }
.dm-carousel__arrow--prev { left: -12px; }
.dm-carousel__arrow--next { right: -12px; }
.dm-carousel__dots { position: absolute; left: 0; right: 0; bottom: 1px; display: flex; justify-content: center; gap: 8px; }
.dm-carousel__dot { width: 10px; height: 10px; padding:0; border-radius:50%; border:0; background:#737373; cursor:pointer; }
.dm-carousel__dot.is-active { background: var(--dm-gold-bright); }

.dm-footer { background: #060606; color: #e8e1d8; padding: 21px max(22px, calc((100vw - 1160px)/2)) 15px; }
.dm-footer__inner { display: grid; grid-template-columns: 210px 1fr 210px; gap: 30px; align-items: center; }
.dm-footer__brand img { width: 160px; }
.dm-footer__responsible { display: flex; justify-content: center; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; }
.dm-18 { width: 39px; height: 39px; border: 2px solid var(--dm-gold); border-radius: 50%; display: inline-grid; place-items: center; color: #fff; }
.dm-footer__separator { width: 1px; height: 42px; background: rgba(239,199,123,.6); }
.dm-footer__social { text-align: center; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.dm-footer__social-links { margin-top: 8px; display: flex; justify-content: center; gap: 12px; }
.dm-footer__social-links a { width: 35px; height: 35px; border: 2px solid var(--dm-gold); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 19px; }
.dm-footer__legal { border-top: 1px solid rgba(239,199,123,.30); margin-top: 15px; padding-top: 12px; display:flex; justify-content:space-between; gap:20px; font-size: 10px; }
.dm-footer__legal div { display:flex; gap: 20px; }
.dm-footer__legal a:hover { color: var(--dm-gold-bright); }

.dm-membership-placeholder { min-height: 660px; display: grid; place-items: center; position: relative; isolation: isolate; padding: 50px 20px; background-image: var(--dm-hero-image); background-size: cover; background-position: center; }
.dm-membership-placeholder__shade { position:absolute; inset:0; z-index:-1; background: rgba(0,0,0,.70); }
.dm-membership-placeholder__card { width:min(650px,100%); padding:40px 38px; text-align:center; border:1px solid var(--dm-border); border-radius:14px; background:linear-gradient(145deg, rgba(10,10,10,.97), rgba(32,8,8,.94)); box-shadow:0 25px 70px rgba(0,0,0,.55); }
.dm-membership-placeholder__card img { width:min(290px,75%); margin:0 auto 14px; }
.dm-eyebrow { display:block; color:var(--dm-gold); text-transform:uppercase; letter-spacing:.18em; font-size:13px; font-weight:800; margin-bottom:9px; }
.dm-membership-placeholder__card h1 { margin:0; color:#ffe091; font-size:clamp(34px,5vw,54px); line-height:1; text-transform:uppercase; }
.dm-membership-placeholder__card p { max-width:520px; margin:18px auto 25px; color:#f2eee8; font-size:18px; line-height:1.5; }

@media (max-width: 980px) {
  .dm-hero { min-height: 570px; }
  .dm-hero__content { width: min(820px, calc(100% - 28px)); }
  .dm-info-card { min-height: 205px; }
  .dm-membership-strip { grid-template-columns: 66px 1fr auto; gap: 16px; }
  .dm-membership-strip__icon { width: 60px; height: 60px; }
  .dm-membership-strip__copy span { font-size: 14px; }
  .dm-membership-strip__button { min-width: 180px; }
  .dm-promo-card { flex-basis: calc((100% - 38px) / 3); }
  .dm-footer__inner { grid-template-columns: 170px 1fr 150px; }
  .dm-footer__responsible { gap: 10px; font-size: 11px; }
}

@media (max-width: 760px) {
  .dm-header { height: 56px; }
  .dm-header__inner { justify-content: flex-start; width: calc(100% - 24px); }
  .dm-nav { gap: 24px; }
  .dm-nav__link { font-size: 11px; }
  .dm-header__cta { right:0; padding:8px 12px; min-height:36px; font-size:11px; top:10px; }
  .dm-hero { min-height: auto; background-position: center; }
  .dm-hero__content { padding: 20px 0 23px; width: calc(100% - 26px); }
  .dm-hero__logo { width: min(230px, 63vw); }
  .dm-opening { font-size: clamp(46px, 14vw, 68px); }
  .dm-kicker { gap: 9px; letter-spacing: .11em; font-size: 13px; margin-top: 8px; }
  .dm-kicker i { width:4px; height:4px; }
  .dm-hero-cards { grid-template-columns: 1fr; width: min(420px, 100%); gap: 10px; }
  .dm-info-card { min-height: 0; padding: 13px 18px; display:grid; grid-template-columns:58px 1fr; column-gap:12px; text-align:left; align-items:center; }
  .dm-info-card__icon { grid-row: 1 / span 4; margin:0; }
  .dm-info-card h2 { font-size:22px; align-self:end; }
  .dm-info-card p { margin:2px 0 0; font-size:15px; }
  .dm-info-card__rule { display:none; }
  .dm-info-card .dm-info-card__small { font-size:13px; margin-top:4px; }
  .dm-info-card--slots { grid-template-columns:58px 1fr auto; }
  .dm-info-card--slots .dm-info-card__icon { grid-row:1 / span 2; }
  .dm-info-card--slots h2 { grid-column:2; }
  .dm-info-card--slots p { grid-column:2; }
  .dm-247 { grid-column:3; grid-row:1 / span 2; margin:0; font-size:34px; }
  .dm-info-card--join { grid-template-columns:58px 1fr; }
  .dm-info-card--join .dm-button { grid-column:2; margin-top:8px; width:max-content; min-width:160px; }

  .dm-membership-strip { min-height:0; padding:17px 18px; grid-template-columns:58px 1fr; gap:14px; }
  .dm-membership-strip__icon { width:54px; height:54px; }
  .dm-membership-strip__copy strong { font-size:20px; }
  .dm-membership-strip__copy span { font-size:13px; line-height:1.3; }
  .dm-membership-strip__button { grid-column:1 / -1; width:100%; min-width:0; padding:12px 18px; }

  .dm-whats-on { padding-top:24px; }
  .dm-section-shell { width:calc(100% - 20px); }
  .dm-whats-on h2 { font-size:27px; margin-bottom:16px; }
  .dm-carousel { padding:0 28px 25px; }
  .dm-promo-card { flex-basis: calc((100% - 18px) / 2); }
  .dm-carousel__arrow { width:38px; height:38px; font-size:29px; }
  .dm-carousel__arrow--prev { left:-2px; }
  .dm-carousel__arrow--next { right:-2px; }

  .dm-footer { padding-left:18px; padding-right:18px; }
  .dm-footer__inner { grid-template-columns:1fr; text-align:center; gap:19px; }
  .dm-footer__brand img { margin:0 auto; width:150px; }
  .dm-footer__responsible { flex-wrap:wrap; }
  .dm-footer__separator { display:none; }
  .dm-footer__legal { flex-direction:column; text-align:center; }
  .dm-footer__legal div { justify-content:center; flex-wrap:wrap; gap:12px 18px; }
}

@media (max-width: 480px) {
  .dm-nav { gap:17px; }
  .dm-nav__link { font-size:10px; }
  .dm-header__cta { font-size:10px; padding:7px 10px; }
  .dm-opening { font-size: 48px; }
  .dm-kicker { font-size:11px; gap:7px; }
  .dm-info-card--join .dm-button { min-width:145px; }
  .dm-whats-on h2 { font-size:23px; }
  .dm-carousel { padding-left:24px; padding-right:24px; }
  .dm-promo-card { flex-basis: 86%; }
}

/* Divi host wrappers: keep the custom full-width Deluxe modules edge-to-edge. */
body.dm-phase1 .dm-divi-host-section,
body.dm-phase1 .dm-divi-host-row,
body.dm-phase1 .dm-divi-host-row > .et_pb_column,
body.dm-phase1 .et_pb_deluxe_margate_home,
body.dm-phase1 .et_pb_deluxe_margate_membership,
body.dm-phase1 .et_pb_deluxe_margate_find_us {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.dm-phase1 .dm-divi-host-section { background: transparent !important; }
body.dm-phase1 .dm-page-shell { width: 100%; overflow: clip; }

/* Find Us */
.dm-find-hero {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background-image: var(--dm-hero-image);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(239,199,123,.5);
}
.dm-find-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.56), rgba(0,0,0,.78)), radial-gradient(circle at 50% 20%, rgba(140,17,23,.22), transparent 48%);
}
.dm-find-hero__inner { width: min(760px, 100%); text-align: center; }
.dm-find-hero__logo { width: min(300px, 70vw); margin: 0 auto 18px; filter: drop-shadow(0 7px 16px rgba(0,0,0,.58)); }
.dm-find-hero h1 { margin: 0; color: #ffe091; font-size: clamp(48px, 7vw, 78px); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; }
.dm-find-hero p { margin: 16px auto 0; max-width: 650px; color: #fff; font-size: clamp(17px, 2vw, 22px); line-height: 1.45; }

.dm-find-main { background: radial-gradient(circle at 50% 0%, #23170c 0%, #0a0908 38%, #050505 100%); padding: 48px 22px 58px; }
.dm-find-main__grid { width: min(1120px, 100%); margin: 0 auto 28px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 22px; }
.dm-find-address-card,
.dm-find-map-card,
.dm-find-travel-card { border: 1px solid var(--dm-border); border-radius: 12px; background: linear-gradient(145deg, rgba(14,14,14,.98), rgba(35,7,8,.93)); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.dm-find-address-card { padding: 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.dm-find-address-card h2 { margin: 0 0 24px; color: #fff; font-size: clamp(27px, 3vw, 39px); line-height: 1.18; }
.dm-find-map-card { min-height: 310px; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; }
.dm-find-map-card::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(239,199,123,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(239,199,123,.18) 1px, transparent 1px); background-size: 28px 28px; transform: rotate(-8deg) scale(1.2); }
.dm-find-map-card > * { position: relative; z-index: 1; }
.dm-find-map-card__pin { width: 62px; height: 62px; border: 2px solid var(--dm-gold); border-radius: 50%; display: grid; place-items: center; color: var(--dm-gold-bright); font-size: 34px; margin-bottom: 15px; background: rgba(0,0,0,.6); }
.dm-find-map-card strong { color: #ffe091; font-size: 27px; }
.dm-find-map-card span { margin-top: 6px; color: #fff; font-size: 18px; }
.dm-find-map-card a { margin-top: 20px; color: var(--dm-gold-bright); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .08em; border-bottom: 1px solid rgba(255,216,111,.55); padding-bottom: 3px; }
.dm-find-travel-grid { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dm-find-travel-card { padding: 24px; min-height: 175px; }
.dm-find-travel-card h2 { margin: 0 0 10px; color: #f0c35a; font-size: 20px; text-transform: uppercase; }
.dm-find-travel-card p { margin: 0; color: #eee7df; font-size: 15px; line-height: 1.5; }

@media (max-width: 900px) {
  .dm-find-main__grid { grid-template-columns: 1fr; }
  .dm-find-travel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .dm-find-hero { min-height: 320px; padding: 36px 18px; }
  .dm-find-main { padding: 30px 14px 40px; }
  .dm-find-address-card, .dm-find-map-card { padding: 25px 22px; }
  .dm-find-map-card { min-height: 250px; }
  .dm-find-travel-grid { grid-template-columns: 1fr; }
  .dm-find-travel-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .dm-carousel__viewport { scroll-behavior: auto; }
}

/* v1.2.2: the Phase 1 templates now use Divi's normal theme lifecycle so the
   Visual Builder can initialise correctly. Hide Divi's stock chrome because
   the Deluxe page renderer supplies its own branded header/footer. */
body.dm-phase1 #main-header,
body.dm-phase1 #top-header,
body.dm-phase1 #main-footer,
body.dm-phase1 .et-l--header,
body.dm-phase1 .et-l--footer {
  display: none !important;
}
body.dm-phase1 #page-container,
body.dm-phase1.et_fixed_nav #page-container,
body.dm-phase1.et_non_fixed_nav #page-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.dm-phase1 #main-content.dm-phase1-main { background: var(--dm-black); }

/* WordPress-native Deluxe Primary menu. */
.dm-nav__list,
.dm-nav__fallback {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 42px;
  height: 100%;
  align-items: center;
}
.dm-nav__list > li { height: 100%; margin: 0; padding: 0; }
.dm-nav__list > li > a,
.dm-nav__fallback > a {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 3px;
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.dm-nav__list > li > a::after,
.dm-nav__fallback > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background: var(--dm-gold-bright);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.dm-nav__list > li > a:hover::after,
.dm-nav__list > li > a:focus-visible::after,
.dm-nav__list > li.current-menu-item > a::after,
.dm-nav__list > li.current_page_item > a::after,
.dm-nav__fallback > a:hover::after,
.dm-nav__fallback > a:focus-visible::after,
.dm-nav__fallback > a.is-active::after { transform: scaleX(1); }
.dm-nav__list > li.current-menu-item > a,
.dm-nav__list > li.current_page_item > a,
.dm-nav__fallback > a.is-active { color: var(--dm-gold-bright); }

@media (max-width: 760px) {
  .dm-nav__list,
  .dm-nav__fallback { gap: 24px; }
  .dm-nav__list > li > a,
  .dm-nav__fallback > a { font-size: 11px; }
}
@media (max-width: 480px) {
  .dm-nav__list,
  .dm-nav__fallback { gap: 14px; }
  .dm-nav__list > li > a,
  .dm-nav__fallback > a { font-size: 9px; }
}
