/* Welcome pop-up — Dave's Daily Dive. Brand tokens match the live site. */
.ddd-welcome-root {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-sizing: border-box;
}
.ddd-welcome-root[hidden] { display: none !important; }
.ddd-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 30, 39, 0.62);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ddd-welcome-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fbf7f0;
  color: #1f2a36;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(22, 30, 39, 0.35);
  border: 1px solid #e2d6c1;
  padding: 40px 32px 32px;
  text-align: center;
  box-sizing: border-box;
}
.ddd-welcome-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4a5560;
  cursor: pointer;
  display: grid;
  place-items: center;
  font: inherit;
}
.ddd-welcome-close:hover,
.ddd-welcome-close:focus-visible {
  background: #f1e8d9;
  color: #1f2a36;
}
.ddd-welcome-close:focus-visible {
  outline: 3px solid #c8641e;
  outline-offset: 2px;
}
.ddd-welcome-close svg {
  width: 18px;
  height: 18px;
  display: block;
}
.ddd-welcome-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px #e2d6c1;
}
.ddd-welcome-kicker {
  margin: 0 0 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #c8641e;
}
.ddd-welcome-title {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.8vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: #1f2a36;
  margin: 0 0 14px;
}
.ddd-welcome-body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #4a5560;
  margin: 0 0 24px;
}
.ddd-welcome-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.ddd-welcome-primary {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  line-height: 1.2;
  padding: 15px 36px;
  min-height: 48px;
  border-radius: 10px;
  border: 0;
  background: #c8641e;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}
.ddd-welcome-primary:hover { background: #a34f14; }
.ddd-welcome-primary:focus-visible,
.ddd-welcome-secondary:focus-visible {
  outline: 3px solid #c8641e;
  outline-offset: 3px;
}
.ddd-welcome-secondary {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 12px 16px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4a5560;
  cursor: pointer;
  text-decoration: none;
}
.ddd-welcome-secondary:hover,
.ddd-welcome-secondary:focus-visible {
  color: #1f2a36;
  background: #f1e8d9;
}
.ddd-welcome-sign {
  display: block;
  margin: 22px 0 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #1f2a36;
}
@media (max-width: 480px) {
  .ddd-welcome-dialog { padding: 36px 20px 24px; border-radius: 14px; }
  .ddd-welcome-title { font-size: 1.4rem; }
  .ddd-welcome-body { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ddd-welcome-root, .ddd-welcome-dialog { transition: none; }
}

.ddd-welcome-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  margin: 0 auto 18px;
  min-height: 44px;
  padding: 8px 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #c8641e;
  text-decoration: none;
  border-radius: 10px;
}
.ddd-welcome-video[hidden] { display: none !important; }
.ddd-welcome-video:hover { color: #a34f14; text-decoration: underline; }
.ddd-welcome-video:focus-visible {
  outline: 3px solid #c8641e;
  outline-offset: 3px;
}

/* Homepage welcome-video section — hidden until WELCOME_VIDEO_URL is set. */
.welcome-video {
  background: #fbf7f0;
  padding: 64px 0 24px;
  text-align: center;
}
.welcome-video[hidden] { display: none !important; }
.welcome-video .eyebrow {
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #c8641e;
  margin: 0 0 1rem;
}
.welcome-video h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin: 0 0 1.4rem;
  color: #1f2a36;
}
.welcome-video-frame {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #1f2a36;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 42, 54, .16);
}
.welcome-video-frame iframe,
.welcome-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #1f2a36;
}

.ddd-welcome-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  margin: 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #c8641e;
  text-decoration: none;
  border-radius: 10px;
  background: transparent;
}
.ddd-welcome-shop:hover { color: #a34f14; text-decoration: underline; }
.ddd-welcome-shop:focus-visible {
  outline: 3px solid #c8641e;
  outline-offset: 3px;
}

.ddd-welcome-dialog.is-playing {
  width: min(720px, 100%);
  padding: 36px 20px 24px;
}
.ddd-welcome-card[hidden],
.ddd-welcome-player[hidden] { display: none !important; }
.ddd-welcome-player-label {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1f2a36;
  margin: 0 0 14px;
}
.ddd-welcome-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1f2a36;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 14px;
  box-shadow: 0 8px 24px rgba(31, 42, 54, .16);
}
.ddd-welcome-player-frame iframe,
.ddd-welcome-player-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #1f2a36;
}
.ddd-welcome-player-back {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 12px 16px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4a5560;
  cursor: pointer;
}
.ddd-welcome-player-back:hover,
.ddd-welcome-player-back:focus-visible {
  color: #1f2a36;
  background: #f1e8d9;
}
.ddd-welcome-player-back:focus-visible {
  outline: 3px solid #c8641e;
  outline-offset: 3px;
}
