/* ==========================================================================
   Duke hero — Blue Monster Graphics homepage
   Everything is prefixed .dk- so it cannot collide with style.css / bmg-polish.css
   ========================================================================== */

.dk-hero {
  --dk-navy: #1F365C;
  --dk-navy-deep: #0E1C34;
  --dk-gold: #D6B89A;
  --dk-gold-soft: #E9D5C0;
  --dk-mist: #C9D4E6;
  --dk-white: #FFFFFF;
  position: relative;
  overflow: hidden;
  background: var(--dk-navy);
  color: var(--dk-white);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}
.dk-hero *, .dk-hero *::before, .dk-hero *::after { box-sizing: border-box; }

/* office backdrop + navy vignette */
.dk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/duke/duke-office-bg.webp") 40% 30% / cover no-repeat;
  opacity: .3;
}
.dk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 75% at 50% 45%, rgba(31,54,92,.15), rgba(31,54,92,.82) 62%, #1F365C 100%),
    linear-gradient(to bottom, transparent 75%, #1F365C);
}

.dk-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

/* ---- left: headline + "what do you need" ---- */
.dk-pitch {
  flex: 1 1 320px;
  min-width: 0;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}
.dk-hero .dk-eyebrow {
  margin: 0;
  font: 600 13px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dk-gold);
}
.dk-hero h1 {
  margin: 0;
  font: 900 clamp(28px, 3vw, 38px)/1.12 Montserrat, "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  color: var(--dk-white);
  text-wrap: balance;
}
.dk-hero .dk-script {
  display: block;
  font: 700 clamp(38px, 4vw, 50px)/1.05 "Dancing Script", "Brush Script MT", cursive;
  color: var(--dk-gold);
}
.dk-hero .dk-ask {
  margin: 10px 0 0;
  font: 800 20px/1.3 Montserrat, Arial, sans-serif;
  color: var(--dk-gold);
}
.dk-tabs { display: flex; flex-direction: column; gap: 10px; }
.dk-hero .dk-tab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 20px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.45);
  background: rgba(14,28,52,.92);
  color: var(--dk-white);
  font: 700 17px/1.2 Montserrat, Arial, sans-serif;
  letter-spacing: .3px;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .16s, color .16s, border-color .16s;
}
.dk-hero .dk-tab:hover { border-color: var(--dk-gold); }
.dk-hero .dk-tab[aria-selected="true"] { background: var(--dk-gold); border-color: var(--dk-gold); color: var(--dk-navy); }
.dk-hero .dk-tab:focus-visible { outline: 3px solid var(--dk-gold-soft); outline-offset: 3px; }
.dk-tab .dk-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--dk-navy); opacity: .35; }

/* ---- centre: Duke ---- */
.dk-stage {
  flex: 0 1 540px;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 640px;
  position: relative;
  z-index: 1;
}
.dk-duke {
  flex: none;
  display: block;
  width: 760px;
  max-width: calc(100% + 200px);
  margin: 0 -100px;
  aspect-ratio: 1040 / 1120;
  height: auto;
  object-fit: cover;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 56% 60% at 50% 42%, #000 68%, transparent 100%);
          mask-image: radial-gradient(ellipse 56% 60% at 50% 42%, #000 68%, transparent 100%);
}

/* ---- right: the answer ---- */
.dk-answer {
  flex: 1 1 340px;
  min-width: 0;
  padding: 56px 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.dk-panel {
  width: 100%;
  padding: 28px;
  border-radius: 8px;
  background: rgba(14,28,52,.86);
  border: 1px solid rgba(214,184,154,.4);
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity .18s, transform .18s;
}
.dk-panel.dk-swap { opacity: 0; transform: translateY(10px); }
.dk-hero .dk-tag {
  margin: 0;
  font: 600 12px/1 Montserrat, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dk-gold);
}
.dk-hero .dk-quote {
  margin: 0;
  font: 700 22px/1.35 Montserrat, Arial, sans-serif;
  color: var(--dk-white);
  text-wrap: balance;
}
.dk-hero .dk-sub {
  margin: 0;
  font: 700 13px/1 Montserrat, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dk-mist);
}
.dk-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  font-size: 14px;
  color: var(--dk-white);
}
.dk-includes li { display: flex; align-items: center; gap: 8px; margin: 0; }
.dk-includes li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6B89A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dk-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 6px;
  border: 1px solid rgba(214,184,154,.35);
}
.dk-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dk-hero .dk-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--dk-gold);
  color: var(--dk-navy);
  font: 700 14px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .15s, background-color .15s;
}
.dk-hero .dk-cta:hover { transform: translateY(-2px); background: var(--dk-gold-soft); color: var(--dk-navy); }
.dk-hero .dk-cta:focus-visible { outline: 3px solid var(--dk-gold-soft); outline-offset: 3px; }
.dk-hero .dk-call { font-size: 14px; color: var(--dk-mist); }
.dk-hero .dk-call a { color: var(--dk-white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- phones ---- */
@media (max-width: 760px) {
  .dk-inner { padding: 0 16px; gap: 8px; }
  .dk-pitch { padding: 36px 0 8px; }
  .dk-stage { min-height: 0; order: 2; }
  .dk-answer { order: 3; padding: 0 0 40px; }
  .dk-duke { width: 100%; max-width: 100%; margin: 0; }
  .dk-panel { padding: 22px; }
  .dk-hero .dk-quote { font-size: 19px; }
  .dk-includes { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .dk-panel, .dk-hero .dk-tab, .dk-hero .dk-cta { transition: none; }
}
